/* =========================================================
   Sierra Madre Technologies — Desert Sunset design system
   ========================================================= */

:root {
  /* warm paper + ink */
  --cream:      oklch(0.976 0.010 82);
  --cream-2:    oklch(0.955 0.016 78);
  --cream-3:    oklch(0.928 0.020 76);
  --sand:       oklch(0.885 0.024 74);
  --ink:        oklch(0.255 0.018 52);
  --ink-soft:   oklch(0.435 0.022 50);
  --ink-faint:  oklch(0.585 0.020 52);

  /* warm accents (share family) */
  --clay:       oklch(0.620 0.150 42);
  --clay-deep:  oklch(0.505 0.140 40);
  --amber:      oklch(0.760 0.130 72);
  --amber-soft: oklch(0.860 0.075 78);

  /* cool dusk — the "AI glow", used sparingly */
  --dusk:       oklch(0.470 0.105 290);
  --dusk-deep:  oklch(0.340 0.090 295);

  /* dark surfaces (hero, footer, agent panel) */
  --night:      oklch(0.255 0.035 55);
  --night-2:    oklch(0.205 0.032 52);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 11px;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --shadow-sm: 0 1px 2px oklch(0.4 0.03 50 / 0.06), 0 4px 14px oklch(0.4 0.03 50 / 0.07);
  --shadow-md: 0 8px 30px oklch(0.35 0.04 50 / 0.12), 0 2px 6px oklch(0.35 0.04 50 / 0.08);
  --shadow-lg: 0 24px 70px oklch(0.3 0.05 50 / 0.20);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--clay); color: var(--cream); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- shared layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--clay);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; }

.display {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h2 { font-size: clamp(34px, 4.6vw, 58px); }
.h3 { font-size: clamp(24px, 2.4vw, 31px); }

.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 56ch;
  text-wrap: pretty;
}

.section { padding-block: clamp(72px, 11vh, 140px); position: relative; }
.section--tint { background: var(--cream-2); }

.section-head { max-width: 720px; }
.section-head .lede { margin-top: 22px; }
.section-head h2 { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 22px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--clay); color: oklch(0.99 0.01 80); box-shadow: 0 6px 20px oklch(0.62 0.15 42 / 0.32); }
.btn--primary:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 12px 30px oklch(0.62 0.15 42 / 0.40); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--sand); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: oklch(0.98 0.012 80 / 0.1); color: var(--cream); border-color: oklch(0.98 0.01 80 / 0.25); backdrop-filter: blur(6px); }
.btn--light:hover { background: oklch(0.98 0.012 80 / 0.18); transform: translateY(-2px); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.976 0.01 82 / 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--sand);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 23px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__full { height: 34px; width: auto; display: block; transition: filter .3s; }
/* logo is the primary dark/color mark: natural on light, forced white on dark surfaces */
.nav:not(.scrolled) .brand__full { filter: brightness(0) invert(1); }
.foot .brand__full { height: 38px; filter: brightness(0) invert(1); }
.brand b { font-weight: 400; }
.brand span { color: var(--clay-deep); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: oklch(0.9 0.02 80); white-space: nowrap;
  padding: 8px 14px; border-radius: 100px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--cream); background: oklch(0.99 0.01 80 / 0.12); }

/* nav theme: light over hero, dark once scrolled onto cream */
.nav:not(.scrolled) .brand { color: oklch(0.97 0.012 82); }
.nav:not(.scrolled) .brand span { color: var(--amber-soft); }
.nav.scrolled .nav__links a { color: var(--ink-soft); }
.nav.scrolled .nav__links a:hover { color: var(--ink); background: var(--cream-3); }

.nav__right { display: flex; align-items: center; gap: 14px; }

/* language toggle */
.lang {
  display: inline-flex; align-items: center;
  background: var(--cream-3); border: 1px solid var(--sand);
  border-radius: 100px; padding: 3px; position: relative;
}
.lang button {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  border: 0; background: transparent; color: var(--ink-soft);
  padding: 6px 12px; border-radius: 100px; cursor: pointer; position: relative; z-index: 2;
  transition: color .25s;
}
.lang button.active { color: var(--cream); }
.lang__pill {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: 46px;
  background: var(--clay); border-radius: 100px; z-index: 1;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.lang[data-lang="es"] .lang__pill { transform: translateX(100%); }

.nav__menu-btn { display: none; }

/* ---------- mobile burger + menu ---------- */
.nav__burger {
  display: none; width: 44px; height: 44px; flex: none;
  border: 0; background: transparent; cursor: pointer; padding: 11px;
  flex-direction: column; justify-content: space-between; align-items: stretch;
}
.nav__burger span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--cream); transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s, background .3s;
}
.nav.scrolled .nav__burger span { background: var(--ink); }
.nav__burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav.scrolled .nav__burger.open span,
.nav__burger.open span { background: var(--ink); }
.nav:not(.scrolled) .nav__burger.open span { background: var(--cream); }

.navmenu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: oklch(0.976 0.01 82 / 0.96); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--sand);
  padding: 10px var(--gutter) 26px;
  transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility .28s;
}
.navmenu.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.navmenu__links { display: flex; flex-direction: column; }
.navmenu__links a {
  font-family: var(--serif); font-size: 27px; color: var(--ink);
  padding: 13px 2px; border-bottom: 1px solid var(--cream-3); transition: color .2s;
}
.navmenu__links a:hover { color: var(--clay); }
.navmenu__foot { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.navmenu__cta { flex: 1; justify-content: center; min-width: 160px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--night); color: var(--cream); overflow: hidden; }
.hero__sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 80% at 80% -10%, oklch(0.5 0.105 290 / 0.55), transparent 55%),
    radial-gradient(90% 70% at 10% 0%, oklch(0.34 0.09 295 / 0.5), transparent 60%),
    linear-gradient(180deg, var(--dusk-deep) 0%, oklch(0.36 0.09 60) 46%, oklch(0.56 0.15 52) 74%, oklch(0.72 0.14 66) 100%);
}
.hero__canvas { position: absolute; inset: 0; z-index: 1; opacity: 0.7; }
.hero__ridges { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; width: 100%; height: auto; display: block; }
.hero__glow {
  position: absolute; z-index: 1; left: 50%; bottom: -8%; transform: translateX(-50%);
  width: 60vw; height: 40vh; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.82 0.15 72 / 0.55), transparent 70%);
  filter: blur(20px);
}
.hero__inner { position: relative; z-index: 5; padding-block: clamp(130px, 20vh, 200px) clamp(80px, 14vh, 150px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.78fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero__copy { min-width: 0; }
.hero h1 { color: oklch(0.985 0.01 85); max-width: 640px; overflow-wrap: break-word; }
.hero h1 .accent { font-style: italic; color: var(--amber-soft); }
.hero .lede { color: oklch(0.92 0.02 80); margin-top: 26px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero__meta div { }
.hero__meta .n { font-family: var(--serif); font-size: 34px; color: var(--amber-soft); line-height: 1; }
.hero__meta .l { font-size: 13px; color: oklch(0.86 0.02 80); margin-top: 6px; max-width: 18ch; }

/* agent card in hero */
.agentcard {
  background: oklch(0.22 0.025 280 / 0.55);
  border: 1px solid oklch(0.85 0.03 80 / 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.agentcard__bar { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 1px solid oklch(0.85 0.03 80 / 0.12); }
.agentcard__dot { width: 9px; height: 9px; border-radius: 50%; background: oklch(0.7 0.13 66); }
.agentcard__dot:nth-child(2){ background: oklch(0.7 0.1 130);} .agentcard__dot:nth-child(3){ background: oklch(0.6 0.1 290);}
.agentcard__title { font-family: var(--mono); font-size: 11.5px; color: oklch(0.85 0.02 80); margin-left: 8px; letter-spacing: 0.05em; }
.agentcard__body { padding: 18px; display: flex; flex-direction: column; gap: 13px; min-height: 250px; }
.bubble {
  font-size: 14.5px; line-height: 1.5; padding: 11px 14px; border-radius: 13px; max-width: 85%;
  opacity: 0; transform: translateY(8px); animation: rise .5s forwards;
}
.bubble--user { align-self: flex-end; background: oklch(0.8 0.13 66 / 0.92); color: oklch(0.22 0.04 50); border-bottom-right-radius: 4px; }
.bubble--agent { align-self: flex-start; background: oklch(0.97 0.01 80 / 0.1); color: oklch(0.95 0.015 80); border: 1px solid oklch(0.85 0.03 80 / 0.14); border-bottom-left-radius: 4px; }
.bubble--agent .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-soft); display: block; margin-bottom: 5px; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.9 0.02 80 / 0.7); animation: blink 1.2s infinite; }
.typing i:nth-child(2){ animation-delay: .2s; } .typing i:nth-child(3){ animation-delay: .4s; }
@keyframes blink { 0%,60%,100%{ opacity:.25; transform: translateY(0);} 30%{ opacity:1; transform: translateY(-3px);} }
@keyframes rise { to { opacity: 1; transform: translateY(0);} }

/* ---------- trust strip ---------- */
.trust { background: var(--night-2); color: var(--cream); padding-block: 30px; }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust__lead { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(0.78 0.04 80); }
.trust__items { display: flex; gap: clamp(22px, 4vw, 56px); flex-wrap: wrap; }
.trust__items div { display: flex; flex-direction: column; }
.trust__items .n { font-family: var(--serif); font-size: 30px; color: var(--amber-soft); line-height: 1; }
.trust__items .l { font-size: 13px; color: oklch(0.84 0.02 80); margin-top: 4px; }

/* ---------- AI agents showcase ---------- */
.showcase { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); margin-top: 56px; align-items: start; }
.agentlist { display: flex; flex-direction: column; gap: 10px; }
.agentitem {
  text-align: left; width: 100%; cursor: pointer;
  background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius-sm);
  padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.agentitem:hover { transform: translateX(3px); border-color: var(--clay); }
.agentitem.active { border-color: var(--clay); background: var(--cream); box-shadow: var(--shadow-md); }
.agentitem.active::before { content: ""; }
.agentitem__ico {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  display: grid; place-items: center; background: oklch(0.62 0.15 42 / 0.12); color: var(--clay-deep);
  transition: background .25s, color .25s;
}
.agentitem.active .agentitem__ico { background: var(--clay); color: var(--cream); }
.agentitem h4 { font-family: var(--sans); font-weight: 700; font-size: 16.5px; letter-spacing: -0.005em; }
.agentitem p { font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; line-height: 1.45; }
.agentitem__num { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); margin-left: auto; padding-top: 3px; }

.stage {
  background: var(--night); color: var(--cream); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; position: sticky; top: 96px;
  border: 1px solid oklch(0.4 0.04 55);
}
.stage__bar { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid oklch(0.85 0.03 80 / 0.1); background: oklch(0.21 0.03 52); }
.stage__bar .agentcard__dot { width: 9px; height: 9px; }
.stage__name { font-family: var(--mono); font-size: 12px; color: oklch(0.86 0.02 80); margin-left: 8px; letter-spacing: 0.04em; }
.stage__live { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: oklch(0.78 0.1 145); display: inline-flex; align-items: center; gap: 7px; }
.stage__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: oklch(0.72 0.16 145); box-shadow: 0 0 0 0 oklch(0.72 0.16 145 / 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 oklch(0.72 0.16 145 / 0.55);} 70%{ box-shadow: 0 0 0 8px oklch(0.72 0.16 145 / 0);} 100%{ box-shadow: 0 0 0 0 oklch(0.72 0.16 145 / 0);} }
.stage__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 360px; }

/* ---------- generic feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.card {
  background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cream-3); }
.card__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: oklch(0.62 0.15 42 / 0.1); color: var(--clay-deep); margin-bottom: 20px; }
.card h3 { font-size: 24px; }
.card p { color: var(--ink-soft); margin-top: 11px; font-size: 15.5px; line-height: 1.55; }
.card .num { font-family: var(--mono); font-size: 12px; color: var(--clay); letter-spacing: 0.1em; }

/* ---------- software split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split__media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--sand); aspect-ratio: 4/3.4; position: relative;
}
.split__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.steplist { display: flex; flex-direction: column; gap: 4px; margin-top: 36px; }
.step { display: flex; gap: 20px; padding: 22px 4px; border-top: 1px solid var(--sand); }
.step:last-child { border-bottom: 1px solid var(--sand); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--clay); padding-top: 4px; min-width: 34px; }
.step h4 { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.step p { color: var(--ink-soft); margin-top: 7px; font-size: 15.5px; }

/* placeholder media */
.ph {
  width: 100%; height: 100%; position: relative;
  background:
    repeating-linear-gradient(135deg, var(--cream-2) 0 14px, var(--cream-3) 14px 28px);
  display: grid; place-items: center;
}
.ph span { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); background: var(--cream); padding: 7px 13px; border-radius: 100px; border: 1px solid var(--sand); letter-spacing: 0.04em; }

/* ---------- bilingual band ---------- */
.bili { background: var(--clay); color: oklch(0.99 0.012 82); position: relative; overflow: hidden; }
.bili::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 90% 10%, oklch(0.82 0.14 72 / 0.4), transparent 55%);
  pointer-events: none;
}
.bili__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.bili h2 { color: oklch(0.99 0.012 82); }
.bili .eyebrow { color: oklch(0.95 0.05 82); }
.bili .eyebrow::before { background: oklch(0.95 0.05 82); }
.bili p { color: oklch(0.96 0.03 82); font-size: 18px; max-width: 46ch; margin-top: 18px; }
.bili__chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.chip { font-family: var(--mono); font-size: 13px; background: oklch(0.99 0.01 82 / 0.16); border: 1px solid oklch(0.99 0.01 82 / 0.3); padding: 9px 16px; border-radius: 100px; }

/* ---------- contact ---------- */
.contact { background: var(--night); color: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact h2 { color: oklch(0.99 0.012 85); }
.contact .eyebrow { color: var(--amber-soft); } .contact .eyebrow::before { background: var(--amber); }
.contact .lede { color: oklch(0.9 0.02 80); margin-top: 22px; }
.contact__lines { margin-top: 38px; display: flex; flex-direction: column; gap: 18px; }
.cline { display: flex; gap: 15px; align-items: center; }
.cline__ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: oklch(0.98 0.01 80 / 0.08); border: 1px solid oklch(0.85 0.03 80 / 0.16); color: var(--amber-soft); flex: none; }
.cline .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.78 0.03 80); }
.cline .v { font-size: 17px; color: var(--cream); white-space: nowrap; }

/* "Call Sierra" — AI voice-agent CTA in the contact section */
.sierracall {
  display: flex; align-items: center; gap: 16px;
  margin-top: 30px; padding: 18px 20px;
  background: oklch(0.76 0.13 72 / 0.1);
  border: 1px solid oklch(0.76 0.13 72 / 0.38);
  border-radius: var(--radius);
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.sierracall:hover { background: oklch(0.76 0.13 72 / 0.16); border-color: var(--amber); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sierracall__ico { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--amber); color: oklch(0.25 0.04 50); }
.sierracall__txt { display: flex; flex-direction: column; min-width: 0; }
.sierracall__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-soft); }
.sierracall__n { font-family: var(--serif); font-size: 26px; color: var(--cream); line-height: 1.1; margin-top: 2px; white-space: nowrap; }
.sierracall__sub { font-size: 13px; color: oklch(0.82 0.03 80); margin-top: 4px; }
.sierracall__arr { margin-left: auto; color: var(--amber-soft); font-size: 20px; transition: transform .25s; flex: none; }
.sierracall:hover .sierracall__arr { transform: translateX(3px); }
@media (max-width: 400px) { .sierracall__n { font-size: 22px; } }

/* light-background variant (e.g. /ai Receptionist section) */
.sierracall--light { background: oklch(0.76 0.13 72 / 0.12); border-color: oklch(0.62 0.15 42 / 0.28); max-width: 640px; }
.sierracall--light:hover { background: oklch(0.76 0.13 72 / 0.2); border-color: var(--clay); }
.sierracall--light .sierracall__k { color: var(--clay-deep); }
.sierracall--light .sierracall__n { color: var(--ink); }
.sierracall--light .sierracall__sub { color: var(--ink-soft); }
.sierracall--light .sierracall__arr { color: var(--clay); }

.form { background: oklch(0.98 0.012 80 / 0.04); border: 1px solid oklch(0.85 0.03 80 / 0.14); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.8 0.03 80); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 15.5px; color: var(--cream);
  background: oklch(0.99 0.01 80 / 0.06); border: 1px solid oklch(0.85 0.03 80 / 0.18);
  border-radius: 11px; padding: 13px 15px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.7 0.02 80 / 0.7); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber); background: oklch(0.99 0.01 80 / 0.1); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn--primary { width: 100%; justify-content: center; background: var(--amber); color: oklch(0.25 0.04 50); box-shadow: 0 6px 20px oklch(0.76 0.13 72 / 0.3); margin-top: 6px; }
.form .btn--primary:hover { background: oklch(0.82 0.13 72); }
.form__note { font-size: 12.5px; color: oklch(0.72 0.02 80); margin-top: 14px; text-align: center; }
.form__error { display: none; font-size: 13px; color: oklch(0.78 0.15 32); margin-top: 12px; text-align: center; }
.form__error.show { display: block; }
.form__success { display: none; text-align: center; padding: 30px 10px; }
.form__success.show { display: block; animation: rise .5s; }
.form__success .ok { width: 58px; height: 58px; border-radius: 50%; background: oklch(0.7 0.13 145 / 0.18); color: oklch(0.78 0.14 150); display: grid; place-items: center; margin: 0 auto 18px; }
.form__success h3 { font-size: 28px; color: var(--cream); }
.form__success p { color: oklch(0.86 0.02 80); margin-top: 8px; }
.form.sent .form__inner { display: none; }

/* ---------- footer ---------- */
.foot { background: var(--night-2); color: oklch(0.85 0.02 80); padding-block: 56px 30px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid oklch(0.45 0.03 55); }
.foot .brand { color: var(--cream); }
.foot__col h5 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.7 0.03 80); margin-bottom: 16px; }
.foot__col a, .foot__col p { display: block; font-size: 14.5px; color: oklch(0.82 0.02 80); margin-bottom: 10px; transition: color .2s; }
.foot__col a:hover { color: var(--amber-soft); }
.foot__blurb { font-size: 14.5px; color: oklch(0.78 0.02 80); margin-top: 16px; max-width: 34ch; line-height: 1.6; }
.foot__bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; flex-wrap: wrap; font-size: 13px; color: oklch(0.68 0.02 80); }

/* ---------- reveal animations (gated on .js-reveal so content is never stuck hidden) ---------- */
.js-reveal .reveal { opacity: 0; }
.js-reveal .reveal.in { animation: revealIn .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes revealIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.js-reveal .reveal[data-d="1"]{ animation-delay: .08s; } .js-reveal .reveal[data-d="2"]{ animation-delay: .16s; }
.js-reveal .reveal[data-d="3"]{ animation-delay: .24s; } .js-reveal .reveal[data-d="4"]{ animation-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .agentcard { max-width: 460px; }
  .showcase { grid-template-columns: 1fr; }
  .stage { position: static; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .bili__inner { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__right { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .field--row { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .hero__meta { gap: 20px; }
  .trust__inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
