/* ORRIS · Shaanxi — site stylesheet
   Plain CSS, no build step. Edit the variables below to re-skin the whole site. */

:root {
  --ink: #23261f;
  --ink-2: #3c4136;
  --muted: #6c6c60;
  --olive: #4b5a3c;
  --olive-d: #38452c;
  --olive-l: #7c8a68;
  --gold: #a9853c;
  --clay: #c9ad82;
  --bg: #fbfaf5;
  --paper: #ffffff;
  --tint: #f4f1e6;
  --line: #e2ded0;
  --line-2: #cfc9b7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  --wrap: 1120px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--olive); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-n { max-width: 840px; margin: 0 auto; padding: 0 28px; }

section { padding: 64px 0; }
section.tint { background: var(--tint); }
section.tight { padding: 40px 0; }
.sec-head { margin-bottom: 28px; }
.sec-head .kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }

.lead { font-size: 1.06rem; color: var(--ink-2); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 245, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .mark {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  letter-spacing: 0.16em; color: var(--olive-d);
}
.brand .sub {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: 14px; color: var(--ink-2); padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--olive); text-decoration: none; }
.nav a.on { color: var(--olive-d); border-bottom-color: var(--gold); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 14px;
  padding: 11px 20px; border-radius: var(--radius); border: 1px solid var(--olive);
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-solid { background: var(--olive); color: #fff; }
.btn-solid:hover { background: var(--olive-d); }
.btn-ghost { background: transparent; color: var(--olive-d); }
.btn-ghost:hover { background: var(--tint); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 40px; border-bottom: 1px solid var(--line); }
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  max-width: 20ch; margin-bottom: 20px;
}
.hero .sub { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.hero .harvest {
  margin-top: 18px; font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.04em; color: var(--olive-d);
  background: var(--tint); border-left: 3px solid var(--gold);
  padding: 10px 14px; display: inline-block;
}

.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.chips li {
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.chips li::before {
  content: ""; width: 5px; height: 5px; background: var(--gold);
  border-radius: 50%; flex: none;
}

/* ---------- value cards ---------- */
.grid { display: grid; gap: 26px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g-form { grid-template-columns: 1.6fr 1fr; align-items: start; }
/* the CTA lives outside the nav on desktop; inside the menu on mobile */
.nav .btn { display: none; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 2px solid var(--olive-l);
  padding: 26px 24px; border-radius: var(--radius);
}
.card .num {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-2); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
table.spec th {
  text-align: left; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-d);
  background: var(--tint); padding: 12px 16px; border-bottom: 1px solid var(--line-2);
  font-weight: 600; white-space: nowrap;
}
table.spec td {
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  vertical-align: top; color: var(--ink-2);
}
table.spec tr:last-child td { border-bottom: 0; }
table.spec td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
table.spec td.basis { color: var(--muted); font-size: 13.5px; }
.t-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- token to fill ---------- */
.tk {
  background: #fdf3d8; border: 1px dashed var(--gold); color: #7a5c14;
  font-family: var(--mono); font-size: 0.92em; padding: 1px 6px;
  border-radius: 2px; white-space: nowrap;
}

/* ---------- photo placeholder ---------- */
.ph {
  position: relative; margin: 26px 0; background: #f2efe4;
  border: 1.5px dashed var(--line-2); border-radius: var(--radius);
  overflow: hidden;
}
.ph .ph-hint {
  padding: 18px 20px; font-family: var(--sans); color: var(--muted); font-size: 12.5px;
  line-height: 1.55;
}
.ph .ph-tag {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 6px;
}
.ph .ph-hint b { color: var(--ink-2); font-weight: 600; }
.ph .ph-alt { font-style: italic; color: #7b7a6d; display: block; margin-top: 4px; }
.ph-21x9 { aspect-ratio: 21 / 9; }
.ph-3x2 { aspect-ratio: 3 / 2; }
.ph-1x1 { aspect-ratio: 1 / 1; }
.ph-4x5 { aspect-ratio: 4 / 5; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.has-img { border-style: solid; border-color: transparent; background: none; }
.ph.has-img .ph-hint { display: none; }
figure { margin: 0; }
figcaption {
  font-size: 13px; color: var(--muted); margin-top: 10px;
  border-left: 2px solid var(--clay); padding-left: 12px;
}

/* ---------- download / form ---------- */
.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--olive); padding: 30px 28px; border-radius: var(--radius);
}
.panel h3 { font-size: 1.28rem; margin-bottom: 8px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(75, 90, 60, .35); outline-offset: 0; border-color: var(--olive); }
label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
label .opt { font-weight: 400; color: var(--muted); }
.field { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-msg { display: none; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; }
.form-msg.ok { display: block; background: #eef3e8; border: 1px solid var(--olive-l); color: var(--olive-d); }
.form-msg.err { display: block; background: #fbeceb; border: 1px solid #d8a9a5; color: #8a3b34; }

/* ---------- pull quote / claims ---------- */
.claim {
  background: var(--tint); border: 1px solid var(--line);
  padding: 26px 28px; border-radius: var(--radius);
}
.claim h3 { font-size: 1.2rem; margin-bottom: 8px; }
.claim p { color: var(--ink-2); font-size: 15.5px; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.facts li { border-top: 2px solid var(--olive-l); padding-top: 12px; }
.facts .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); display: block; }
.facts .v { font-family: var(--serif); font-size: 1.3rem; display: block; margin-top: 4px; }

/* ---------- cta bar ---------- */
.cta-bar { background: var(--olive-d); color: #f3f1e8; }
.cta-bar h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 10px; }
.cta-bar p { color: #d9d8c9; max-width: 62ch; }
.cta-bar .btn-solid { background: var(--gold); border-color: var(--gold); }
.cta-bar .btn-solid:hover { background: #96712f; }
.cta-bar .btn-ghost { color: #f3f1e8; border-color: rgba(255,255,255,.5); }
.cta-bar .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- footer ---------- */
.site-foot { background: #22251d; color: #b9b8a9; padding: 48px 0 34px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-foot h4 {
  color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 12px; font-weight: 600;
}
.site-foot a { color: #d8d7c7; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 6px; }
.foot-bottom {
  border-top: 1px solid #3a3d32; margin-top: 34px; padding-top: 18px;
  font-size: 12.5px; color: #8b8b7d; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .g3, .g2, .g-form, .facts { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .head-in { height: 58px; }
  .nav {
    position: fixed; inset: 58px 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px 28px 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a.on { border-bottom-color: var(--line); color: var(--olive); }
  .nav .btn { display: block; margin-top: 14px; text-align: center; }
  .nav-toggle {
    display: block; margin-left: auto; background: none; border: 1px solid var(--line-2);
    border-radius: var(--radius); padding: 7px 12px; font-size: 13px; color: var(--ink-2); cursor: pointer;
  }
  .nav-wrap .btn-sm { display: none; }
  section { padding: 44px 0; }
  .hero { padding: 46px 0 30px; }
  .wrap, .wrap-n { padding: 0 20px; }
}
