/* ==========================================================================
   AMBER CACTUS PARADE — desert editing-bay design system
   Direction: a warm umber edit suite at dusk. Timeline motifs instead of film
   slates: track labels (V1 / A1), clip-bar micro-labels, a playhead running
   through the hero, and a vertical "sequence" rail for the step list.
   Palette: amber, terracotta and saguaro sage on dark umber; sand bands for
   the header and footer so the wordmark reads without a chip behind it.
   Fonts: Syne (display) / Nunito Sans (body) / system mono (timecode)
   ========================================================================== */

:root {
  /* ground — dark umber */
  --umber:      #1F1209;   /* page ground */
  --umber-2:    #2A190D;   /* raised panel */
  --umber-3:    #352112;   /* card face */
  --umber-4:    #140B05;   /* deep well */
  /* accents */
  --amber:      #E08A2E;   /* readable accent on umber (8.6:1) */
  --amber-hi:   #F2B26A;   /* hover / focus tint */
  --terra:      #7A1420;   /* fills, bands, buttons (sand type 4.9:1) */
  --terra-deep: #4A1A10;   /* hairlines and outlines */
  --terra-ink:  #7A1420;   /* terracotta text on the sand bands (6.3:1) */
  --sage:       #E6B866;   /* cactus green, readable on umber (8.2:1) */
  --sage-deep:  #6B3A10;   /* sage fills */
  /* sand — display type, body type and light bands */
  --sand:       #F3E6CF;
  --sand-2:     #E5D5B9;   /* body copy on umber (12.4:1) */
  --sand-3:     #C2AE90;   /* muted copy on umber (8.3:1) */
  --on-sand:    #2A1D14;   /* type on the sand bands */
  --on-sand-2:  #5C4836;   /* muted type on the sand bands (7.0:1) */

  --line:       rgba(243, 230, 207, .12);
  --line-2:     rgba(243, 230, 207, .23);

  --display: "Syne", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --body:    "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1180px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --radius: 10px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--umber);
  color: var(--sand-2);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--sand);
  line-height: 1.1;
  letter-spacing: -.015em;
  font-weight: 700;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.28rem); letter-spacing: -.005em; }
p  { margin: 0 0 1.15em; }

a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--amber-hi); }

:focus-visible {
  outline: 2px solid var(--amber-hi);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--terra); color: var(--sand); padding: .7rem 1.1rem;
  font-family: var(--mono); font-size: .8rem;
}
.skip:focus { left: 0; }

/* ---------- shared micro-typography ---------- */

/* track label: a little run of clip bars before the text */
.slug {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1rem;
}
.slug::before {
  content: "";
  width: 34px; height: 8px; flex: none;
  border-radius: 2px;
  background:
    linear-gradient(90deg, var(--amber) 0 40%, transparent 40% 48%, var(--sage) 48% 72%, transparent 72% 80%, var(--terra) 80% 100%);
}
.slug--sage { color: var(--sage); }

/* timecode caption */
.tc {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--sand-3);
}
.tc b { color: var(--amber); font-weight: 500; }

/* icon defaults */
.ic {
  width: 1.25em; height: 1.25em; flex: none;
  stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.wm {
  position: absolute; pointer-events: none;
  stroke: var(--amber); fill: none; stroke-width: 1.1;
  opacity: .07;
  width: 190px; height: 190px;
}
.wm--sage { stroke: var(--sage); opacity: .10; }

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--umber-4);
  border-bottom: 1px solid var(--line);
  color: var(--sand-3);
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: .35rem 1.4rem;
  align-items: center; justify-content: space-between;
  min-height: 40px; padding-block: .45rem;
}
.topbar p { margin: 0; }
.topbar-l {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
}
.topbar-l .ic { color: var(--sage); }
.topbar-r { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--sand-3); }
.play-dot {
  display: inline-block; width: 0; height: 0; margin-right: .5rem; vertical-align: middle;
  border-left: 7px solid var(--amber); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}

/* ==========================================================================
   HEADER — sand band; the wordmark sits on it directly
   ========================================================================== */
.site-header {
  position: static;
  background: var(--sand);
  border-bottom: 4px solid var(--terra);
  box-shadow: inset 0 -8px 0 -4px var(--sage-deep);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .8rem;
}
.logo { display: inline-flex; line-height: 0; }
.logo img { height: 74px; width: auto; }
.header-tag {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--on-sand-2); text-align: right; margin: 0;
}
.header-tag b { display: block; color: var(--on-sand); letter-spacing: .12em; font-weight: 600; }
@media (max-width: 560px) { .header-tag { display: none; } }

/* ==========================================================================
   HERO — copy beside a framed photo, with a decorative timeline beneath
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(224, 138, 46, .16) 0%, rgba(224, 138, 46, 0) 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(230, 184, 102, .10) 0%, rgba(230, 184, 102, 0) 60%),
    var(--umber-4);
  padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(2rem, 4vw, 3rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero h1 { margin-bottom: .6rem; }
.hero h1 .accent { color: var(--amber); }
.hero-kicker {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--sand-2);
  max-width: 34rem;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.3rem;
  margin: 1.4rem 0 0; padding-top: 1.05rem;
  border-top: 1px solid var(--line-2);
  max-width: 34rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sand-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .ic { color: var(--sage); width: 1rem; height: 1rem; }

.hero-media {
  position: relative; margin: 0; min-width: 0;
  border-radius: var(--radius);
  padding: .55rem;
  background: var(--umber-3);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 10px 10px 0 -2px var(--terra-deep);
  transform: rotate(.6deg);
}
.hero-media img { width: 100%; border-radius: calc(var(--radius) - 4px); aspect-ratio: 2 / 1; object-fit: cover; }
.hero-chip {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sand); background: rgba(20, 11, 5, .82);
  border: 1px solid var(--line-2); border-radius: 4px; padding: .3rem .55rem;
}

/* decorative timeline strip */
.hero-timeline {
  position: relative;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--umber-2);
  padding: .7rem .8rem .8rem;
}
.tl-ruler {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; color: var(--sand-3);
  padding: 0 0 .45rem 2.6rem; border-bottom: 1px dashed var(--line-2); margin-bottom: .5rem;
}
.tl-row { display: grid; grid-template-columns: 2.2rem 1fr; gap: .4rem; align-items: center; margin-top: .32rem; }
.tl-label { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; color: var(--sand-3); }
.tl-lane { display: flex; gap: 3px; height: 14px; }
.tl-lane i { display: block; height: 100%; border-radius: 3px; }
.tl-v i { background: var(--amber); opacity: .85; }
.tl-v i:nth-child(even) { background: var(--terra); opacity: 1; }
.tl-a i {
  background: repeating-linear-gradient(90deg, var(--sage) 0 2px, var(--sage-deep) 2px 4px);
}
.tl-gap { background: transparent !important; }
.tl-playhead {
  position: absolute; top: .35rem; bottom: .35rem; left: 62%;
  width: 2px; background: var(--sand);
  box-shadow: 0 0 10px rgba(243, 230, 207, .5);
  animation: playhead 14s linear infinite;
}
.tl-playhead::before {
  content: ""; position: absolute; top: -2px; left: -5px;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--sand);
}
@keyframes playhead { from { left: 16%; } to { left: 96%; } }
.tl-readout {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem;
  margin: .6rem 0 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; color: var(--sand-3);
}
.tl-readout b { color: var(--amber); font-weight: 500; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { transform: none; }
}
@media (max-width: 560px) {
  .tl-ruler span:nth-child(even) { display: none; }
}

/* ==========================================================================
   EDITORIAL NOTE
   ========================================================================== */
.note {
  background: var(--umber-2);
  border-block: 1px solid var(--line);
}
.note .wrap { padding-block: 1.5rem; }
.note-inner {
  display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.15rem;
  align-items: start;
  border-left: 3px solid var(--sage);
  padding-left: 1.15rem;
}
.note-inner .ic { color: var(--sage); width: 1.5rem; height: 1.5rem; margin-top: .25rem; grid-row: span 2; }
.note h2 {
  font-size: .82rem; font-family: var(--mono); letter-spacing: .18em;
  text-transform: uppercase; color: var(--sage); margin-bottom: .4rem; font-weight: 500;
}
.note p { margin: 0; font-size: .96rem; color: var(--sand-2); max-width: 78ch; }

/* ==========================================================================
   ARTICLE — magazine grid with a varying column rhythm
   ========================================================================== */
.article { padding-block: clamp(3rem, 7vw, 5.2rem); }
.article-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.article-head p { font-size: 1.14rem; color: var(--sand); }

.band { margin-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.band > h2 {
  column-span: all; -webkit-column-span: all;
  position: relative; padding-top: 1.4rem;
}
/* heading rule drawn as three clips on a track */
.band > h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 84px; height: 5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) 0 46%, transparent 46% 52%, var(--terra) 52% 78%, transparent 78% 83%, var(--sage) 83% 100%);
}

.band--two   { columns: 2; column-gap: clamp(1.6rem, 3vw, 2.8rem); }
.band--three { columns: 3; column-gap: clamp(1.4rem, 2.4vw, 2.2rem); font-size: 1rem; }
.band--two p, .band--three p, .band--two ul, .band--three ul { break-inside: avoid-column; }
.band--single p, .band--single ul { max-width: 68ch; }
.band--rule { border-top: 1px solid var(--line); padding-top: clamp(1.4rem, 3vw, 2.2rem); }

.band--split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.5rem, 3.4vw, 3rem);
  align-items: start;
}
.band--split > h2 { grid-column: 1 / -1; }
.band--split .b-text, .band--split .b-fig { min-width: 0; }
.band--split.flip .b-text { order: 2; }
.band--split.flip .b-fig  { order: 1; }

figure { margin: 0; }
.frame {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--umber-2);
  padding: .5rem;
}
.frame img { width: 100%; border-radius: calc(var(--radius) - 4px); }
figcaption {
  margin-top: .7rem; font-family: var(--mono); font-size: .7rem;
  letter-spacing: .08em; color: var(--sand-3); line-height: 1.65;
}
figcaption b { color: var(--amber); font-weight: 500; }

.panel {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--umber-3) 0%, var(--umber-4) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.panel h3 { margin-bottom: .8rem; font-size: 1.08rem; }
.panel .wm { right: -46px; bottom: -46px; }
.panel > *:not(.wm) { position: relative; z-index: 1; }

.speclist { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.speclist li {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem;
  padding: .62rem 0; border-top: 1px solid var(--line); margin: 0;
}
.speclist li:first-child { border-top: 0; padding-top: 0; }
.speclist .ic { color: var(--sage); width: 1.1rem; height: 1.1rem; margin-top: .35rem; }
.speclist b { color: var(--sand); font-family: var(--display); font-weight: 700; }
.speclist span { display: block; color: var(--sand-3); font-size: .9rem; line-height: 1.55; }

/* track strip: a mini clip header for panels */
.track-strip {
  display: flex; align-items: center; gap: .9rem;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--umber-4);
  padding: .5rem .8rem;
  margin-bottom: 1.1rem;
}
.track-strip .bars {
  flex: none; width: 54px; height: 12px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--sage) 0 2px, transparent 2px 4px);
}
.track-strip span {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sand-3);
}

.pull {
  column-span: all; -webkit-column-span: all;
  margin: 1.5rem 0;
  border-left: 4px solid var(--amber);
  padding: .3rem 0 .3rem 1.3rem;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.4; color: var(--sand);
}

.article ul.plain { margin: 0 0 1.15em; padding-left: 1.15rem; }
.article ul.plain li { margin-bottom: .5rem; }
.article ul.plain li::marker { color: var(--amber); }
.article strong, .article b { color: var(--sand); font-weight: 700; }
.kbd {
  font-family: var(--mono); font-size: .85em; color: var(--sand);
  background: var(--umber-3); border: 1px solid var(--line-2); border-radius: 4px; padding: .05em .4em;
}
.path {
  display: block; font-family: var(--mono); font-size: .82rem; letter-spacing: .03em;
  color: var(--sage); background: var(--umber-4); border: 1px solid var(--line);
  border-radius: 6px; padding: .7rem .85rem; margin: 0 0 1.15em; line-height: 1.8;
}

@media (max-width: 880px) {
  .band--two, .band--three { columns: 1; }
  .band--split { grid-template-columns: 1fr; }
  .band--split.flip .b-text, .band--split.flip .b-fig { order: 0; }
}

/* ==========================================================================
   STEPS — vertical sequence rail (timeline layout)
   ========================================================================== */
.steps {
  background: var(--umber-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(3.2rem, 7vw, 5.4rem);
}
.sec-head { max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }
.sec-head p { color: var(--sand-3); margin-bottom: 0; }

.step-rail {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  max-width: 60rem;
}
.step-rail::before {
  content: ""; position: absolute; top: .4rem; bottom: .4rem; left: 1.55rem;
  width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--amber) 0%, var(--terra) 55%, var(--sage) 100%);
}
.step {
  position: relative;
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: clamp(.9rem, 2.4vw, 1.6rem);
  margin: 0 0 1.4rem;
}
.step:last-child { margin-bottom: 0; }
.step-num {
  position: relative; z-index: 1;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem;
  color: var(--on-sand); background: var(--sand);
  border: 4px solid var(--umber-2);
}
.step-body {
  position: relative; overflow: hidden;
  background: var(--umber-3);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem 1.25rem;
}
.step:nth-child(2) .step-body { border-left-color: var(--terra); }
.step:nth-child(3) .step-body { border-left-color: var(--sand-3); }
.step:nth-child(4) .step-body { border-left-color: var(--sage); }
.step:nth-child(5) .step-body { border-left-color: var(--amber); }
.step .wm { right: -36px; bottom: -44px; width: 150px; height: 150px; }
.step-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .45rem; position: relative; z-index: 1; }
.step-ic {
  width: 2.1rem; height: 2.1rem; flex: none; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--terra); color: var(--sand);
}
.step-ic .ic { width: 1.1rem; height: 1.1rem; }
.step h3 { margin: 0; position: relative; z-index: 1; }
.step p { margin: 0; font-size: .97rem; color: var(--sand-3); position: relative; z-index: 1; }
.step .tc { display: block; margin-bottom: .55rem; position: relative; z-index: 1; }

@media (min-width: 900px) {
  /* stagger the rail: later clips sit further along the sequence */
  .step:nth-child(2) .step-body { margin-left: 2rem; }
  .step:nth-child(3) .step-body { margin-left: 4rem; }
  .step:nth-child(4) .step-body { margin-left: 2rem; }
}

/* ==========================================================================
   FEATURES — bento grid
   ========================================================================== */
.features { padding-block: clamp(3.2rem, 7vw, 5.4rem); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}
.mcard {
  position: relative; overflow: hidden;
  background: var(--umber-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.45rem;
  min-width: 0;
}
.mcard--wide { grid-column: span 2; }
.mcard > *:not(.wm) { position: relative; z-index: 1; }
.mcard .wm { right: -54px; top: -34px; width: 168px; height: 168px; }
.mcard-ic {
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  border-radius: 8px; color: var(--sand);
  background: var(--terra); margin-bottom: 1rem;
}
.mcard-ic .ic { width: 1.25rem; height: 1.25rem; }
.mcard h3 { margin-bottom: .45rem; }
.mcard p { margin: 0; font-size: .95rem; color: var(--sand-3); }
.mcard--sage { border-top: 3px solid var(--sage); }
.mcard--sage .mcard-ic { color: var(--umber); background: var(--sage); }
.mcard--amber { border-top: 3px solid var(--amber); }
.mcard ul { margin: .8rem 0 0; padding-left: 1.05rem; font-size: .92rem; color: var(--sand-3); }
.mcard ul li { margin-bottom: .4rem; }
.mcard ul li::marker { color: var(--amber); }
.mcard .tc { display: block; margin-bottom: .8rem; }

@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .mcard--wide { grid-column: auto; }
}

/* ==========================================================================
   FAQ — rows on hairline rules, plus icon per row
   ========================================================================== */
.faq {
  background: var(--umber-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(3.2rem, 7vw, 5.4rem);
}
.faq-list { max-width: 58rem; border-left: 2px solid var(--line-2); padding-left: clamp(.8rem, 2.4vw, 1.6rem); }
.faq-list details { border-top: 1px solid var(--line-2); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line-2); }
.faq-list details[open] { background: linear-gradient(90deg, rgba(224, 138, 46, .07), rgba(224, 138, 46, 0) 70%); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem;
  align-items: start;
  padding: 1.1rem .4rem;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--sand);
  line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--amber-hi); }
.faq-q {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .12em;
  color: var(--sage); padding-top: .34rem; font-weight: 400;
}
.faq-chev {
  width: 1.45rem; height: 1.45rem; flex: none;
  color: var(--amber);
  stroke: currentColor; fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .22s ease;
  margin-top: .12rem;
}
.faq-list details[open] .faq-chev { transform: rotate(45deg); }
.faq-a { padding: 0 .4rem 1.35rem 3.2rem; }
.faq-a p { margin: 0 0 .8em; color: var(--sand-2); font-size: .99rem; }
.faq-a p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .faq-a { padding-left: .4rem; }
}

/* ==========================================================================
   NEWSLETTER — framed panel
   ========================================================================== */
.news { padding-block: clamp(3.2rem, 7vw, 5rem); }
.news-frame {
  position: relative;
  border: 1px solid var(--terra);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(120% 140% at 82% 0%, rgba(224, 138, 46, .12) 0%, rgba(224, 138, 46, 0) 55%),
    var(--umber-2);
  padding: clamp(1.7rem, 4vw, 3rem);
  overflow: hidden;
}
.news-frame::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px dashed rgba(230, 184, 102, .3);
  border-radius: var(--radius);
  pointer-events: none;
}
.news-frame .wm { right: -40px; bottom: -54px; width: 210px; height: 210px; }
.news-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center;
}
.news-grid h2 { margin-bottom: .5rem; }
.news-grid > div > p { color: var(--sand-3); margin-bottom: 0; }
.news-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.news-form label {
  flex: 1 1 100%; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sand-3);
}
.news-form input[type="email"] {
  flex: 1 1 14rem; min-width: 0;
  background: var(--umber-4);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--sand);
  font-family: var(--body); font-size: 1rem;
  padding: .78rem .9rem;
}
.news-form input::placeholder { color: var(--sand-3); }
.news-form input:focus-visible { border-color: var(--amber); }
.news-note { flex: 1 1 100%; font-size: .86rem; color: var(--sand-3); margin: .2rem 0 0; }
.news-ok { flex: 1 1 100%; margin: .3rem 0 0; font-size: .92rem; color: var(--sand-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  padding: .78rem 1.35rem;
  border: 1px solid transparent; border-radius: 6px; cursor: pointer;
  background: var(--terra); color: var(--sand);
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--amber); color: var(--umber); }

@media (max-width: 820px) { .news-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER — sand band
   ========================================================================== */
.site-footer {
  background: var(--sand);
  color: var(--on-sand-2);
  border-top: 4px solid var(--terra);
}
.site-footer .wrap { padding-block: clamp(2.2rem, 5vw, 3.2rem); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
}
.footer-brand img { height: 66px; width: auto; margin-bottom: .9rem; }
.footer-brand p { font-size: .93rem; color: var(--on-sand-2); max-width: 36ch; margin: 0; }
.site-footer h3 {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-sand-2); margin-bottom: .9rem; font-weight: 500;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: var(--on-sand); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--terra-ink); text-decoration: underline; }
.site-footer address { font-style: normal; font-size: .93rem; color: var(--on-sand-2); line-height: 1.6; }
.site-footer address b { color: var(--on-sand); display: block; margin-bottom: .25rem; }
.site-footer address span { display: block; margin-bottom: .2rem; }
.site-footer address a { color: var(--terra-ink); }
.footer-bottom {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(42, 29, 20, .18);
}
.footer-bottom p { font-size: .86rem; color: var(--on-sand-2); margin: 0 0 .5rem; max-width: 92ch; }
.footer-bottom .cprt { font-family: var(--mono); letter-spacing: .08em; color: var(--on-sand); }
.site-footer :focus-visible { outline-color: var(--terra-ink); }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero {
  position: relative;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(224, 138, 46, .13) 0%, rgba(224, 138, 46, 0) 60%),
    var(--umber-4);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero .wrap { padding-block: clamp(2.6rem, 6vw, 4.2rem); position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; }
.page-hero p { color: var(--sand-2); max-width: 60ch; margin: 0; font-size: 1.08rem; }
.page-hero .wm { right: -30px; top: -34px; width: 235px; height: 235px; }

.prose { padding-block: clamp(2.4rem, 6vw, 4rem); }
.prose h2, .prose h3, .prose p, .prose ul, .prose ol,
.prose .callout, .prose .table-scroll { max-width: 58rem; }
.prose h2 { margin-top: 2.4rem; position: relative; padding-top: 1.2rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 64px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) 0 55%, transparent 55% 62%, var(--sage) 62% 100%);
}
.prose h3 { margin-top: 1.7rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--amber); }
.prose b, .prose strong { color: var(--sand); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.2rem 0; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--umber-2); color: var(--sand); font-family: var(--display); }
.table-scroll { overflow-x: auto; }
.callout {
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--sage);
  border-radius: 6px;
  background: var(--umber-2);
  padding: 1.1rem 1.25rem;
  margin: 1.6rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout .tc { display: block; margin-bottom: .5rem; }

.contact-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 1.1rem; margin: 1.6rem 0 0; padding: 0; list-style: none;
}
.contact-cards li {
  position: relative; overflow: hidden;
  background: var(--umber-2); border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem; margin: 0;
}
.contact-cards li:nth-child(even) { border-top-color: var(--sage); }
.contact-cards li > *:not(.wm) { position: relative; z-index: 1; }
.contact-cards .wm { right: -46px; bottom: -50px; width: 150px; height: 150px; }
.contact-cards h3 { font-size: 1.02rem; margin-bottom: .35rem; margin-top: 0; }
.contact-cards p { margin: 0; font-size: .95rem; color: var(--sand-3); }
.contact-cards li::marker { content: none; }

/* ==========================================================================
   CONTACT FORM — contact.html. No back end: a valid submit composes the
   message in the visitor's own email app.
   ========================================================================== */
.cform {
  background: var(--umber-4);
  border-block: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.cform-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
}
.cform-intro h2 { position: relative; padding-top: 1.2rem; }
.cform-intro h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 64px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) 0 55%, transparent 55% 62%, var(--sage) 62% 100%);
}
.cform-intro > p { color: var(--sand-2); }
.cform-steps {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  border-top: 1px solid var(--line);
}
.cform-steps li {
  display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: .9rem;
  align-items: baseline;
  padding: .7rem 0; margin: 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem; line-height: 1.5; color: var(--sand-3);
}
.cform-step-txt b { color: var(--sand); font-weight: 700; }

.cform-form { position: relative; z-index: 1; color-scheme: dark; }
.cform-form > * { margin: 0; }
.cform-form > * + * { margin-top: 1.2rem; }
.cform-form > .cform-status:empty { margin-top: 0; }

.cform-pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.cform-field { display: grid; gap: .45rem; min-width: 0; align-content: start; }

.cform-field label {
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem;
  font-family: var(--mono); font-size: .7rem; line-height: 1.3;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sand-3);
  cursor: pointer;
}
.cform-field label::before {
  content: ""; width: 18px; height: 8px; flex: none; border-radius: 2px;
  background: var(--sand-3);
}
.cform-field:focus-within label { color: var(--sand); }
.cform-field:focus-within label::before { background: var(--amber); }
.cform-req { color: var(--amber); font-size: .62rem; letter-spacing: .14em; }

.cform-input {
  display: block; width: 100%; min-width: 0; margin: 0;
  -webkit-appearance: none; appearance: none;
  background: var(--umber-3);
  color: var(--sand);
  caret-color: var(--amber-hi);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-family: var(--body); font-size: 1rem; line-height: 1.5;
  padding: .72rem .9rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.cform-input::placeholder { color: var(--sand-3); opacity: 1; font-style: italic; }
.cform-input:hover { border-color: var(--sand-3); }
.cform-input:focus { border-color: var(--amber); }
.cform-input:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 2px; }
.cform-input[aria-invalid="true"] {
  border-color: var(--amber);
  box-shadow: inset 4px 0 0 var(--amber);
}
.cform-input:-webkit-autofill,
.cform-input:-webkit-autofill:hover,
.cform-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--sand);
  -webkit-box-shadow: inset 0 0 0 100px var(--umber-3);
  transition: background-color 600000s 0s;
}
textarea.cform-input { min-height: 10.5rem; resize: vertical; }

.cform-select { position: relative; }
.cform-select select { padding-right: 2.8rem; cursor: pointer; }
.cform-select::after {
  content: ""; position: absolute; top: 50%; right: 1.05rem;
  width: .5rem; height: .5rem; margin-top: -.38rem;
  border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(45deg); pointer-events: none;
}
.cform-select option { background: var(--umber-2); color: var(--sand); }

.cform-err {
  display: flex; align-items: flex-start; gap: .55rem;
  margin: 0; font-size: .92rem; line-height: 1.45; color: var(--amber-hi);
}
.cform-err::before {
  content: "!"; flex: none; width: 1.1rem; height: 1.1rem; margin-top: .15em;
  display: grid; place-items: center; border-radius: 50%;
  font-family: var(--mono); font-size: .7rem; font-weight: 700;
  background: var(--amber); color: var(--umber);
}
.cform-err[hidden] { display: none; }

.cform-under {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: .3rem 1rem;
}
.cform-under .cform-err { flex: 1 1 14rem; }
.cform-count { margin: 0 0 0 auto; white-space: nowrap; line-height: 1.45; padding-top: .1rem; }
.cform-count b { color: var(--sand-2); font-weight: 500; }
.cform-count.is-near b { color: var(--amber-hi); }

.cform-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .9rem 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line-2);
}
.cform-actions .btn { flex: none; }
.cform-note { flex: 1 1 15rem; margin: 0; font-size: .86rem; line-height: 1.55; color: var(--sand-3); }
.cform-note b { color: var(--sand-2); font-weight: 700; }

.cform-ok {
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--sage);
  border-radius: 6px;
  background: var(--umber-3);
  padding: 1rem 1.15rem;
  overflow-wrap: anywhere;
}
.cform-ok p { margin: 0; }
.cform-ok p + p { margin-top: .55rem; }
.cform-ok-lead {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  line-height: 1.4; color: var(--sand);
}
.cform-ok-alt { font-size: .95rem; line-height: 1.55; color: var(--sand-2); }
.cform-ok--fail { border-left-color: var(--amber); }

@media (max-width: 880px) { .cform-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .cform-pair { grid-template-columns: 1fr; }
  .cform-actions .btn { width: 100%; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .topbar, .news, .hero-timeline, .cform-frame { display: none; }
  body { background: #fff; color: #000; }
}
