/* ============================================================
   GROUNDHOLD.ORG — site.css
   Marketing site styles, built on the Groundhold tokens
   (assets/colors_and_type.css). Mobile-first.
   Direction: "The Long Hold — Amber & Ink".
   Anton UPPERCASE display · Archivo body · sharp corners ·
   heavy 3px rules · held-line motif · NO GREEN ·
   amber = emphasis only · WCAG 2.2 AA.
   ============================================================ */

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
html,body{ margin:0; }
body{
  background:var(--color-surface);
  color:var(--color-text-default);
  font-family:var(--font-body);
  font-size:var(--fs-body);
  line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }

/* ---------- skip link ---------- */
.gh-skip{
  position:absolute; left:var(--space-3); top:-200px;
  background:var(--color-amber-500); color:var(--color-on-action);
  font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  padding:12px 18px; z-index:100; text-decoration:none;
  transition:top var(--duration-base) var(--easing-standard);
}
.gh-skip:focus{ top:var(--space-3); outline:none; box-shadow:var(--focus-ring); }

/* ---------- texture ---------- */
.gh-riso{ background-image:repeating-linear-gradient(0deg, rgba(0,0,0,.045) 0 1px, transparent 1px 4px); }
.gh-riso.on-dark{ background-image:repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 4px); }

/* ---------- layout ---------- */
.gh-wrap{ max-width:var(--maxw-marketing); margin:0 auto; padding:0 var(--space-4); width:100%; }
.gh-narrow{ max-width:var(--maxw-longform); }
@media (min-width:600px){ .gh-wrap{ padding:0 var(--space-6); } }

/* ---------- type helpers ---------- */
.gh-display{
  font-family:var(--font-display); font-weight:400; text-transform:uppercase;
  letter-spacing:var(--tracking-display); line-height:var(--lh-display); margin:0;
  text-wrap:balance;
}
.hot{ color:var(--color-amber-500); }
.gh-kicker{
  font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  font-weight:700; color:var(--color-amber-700);
}
.gh-eyebrow{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.05em;
  color:var(--color-amber-500); font-size:var(--fs-h5); line-height:1; margin:0 0 var(--space-3);
}

/* ============================================================
   HELD-LINE — signature divider (amber -> slate -> ink, descending)
   ============================================================ */
.gh-heldline{ display:block; max-width:420px; }
.gh-heldline i{ display:block; height:var(--border-rule); margin-bottom:6px; }
.gh-heldline.heavy i{ height:12px; margin-bottom:6px; }
.gh-heldline i:nth-child(1){ background:var(--color-amber-500); width:100%; }
.gh-heldline i:nth-child(2){ background:var(--color-slate-700); width:74%; }
.gh-heldline i:nth-child(3){ background:var(--color-neutral-900); width:48%; }
.gh-heldline.on-dark i:nth-child(3){ background:var(--color-neutral-50); }

/* ============================================================
   BUTTONS
   ============================================================ */
.gh-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:700; font-size:.95rem;
  border:0; border-radius:0; padding:13px 26px; min-height:44px; cursor:pointer;
  text-transform:uppercase; letter-spacing:.05em; text-decoration:none;
  transition:background var(--duration-base) var(--easing-standard),
             color var(--duration-base) var(--easing-standard);
}
.gh-btn--primary{ background:var(--color-amber-500); color:var(--color-on-action); }
.gh-btn--primary:hover{ background:var(--color-neutral-900); color:var(--color-text-on-inverse); }
.gh-btn--primary:active{ background:var(--color-amber-700); color:var(--color-text-on-inverse); }
.gh-btn--ghost-inv{ background:transparent; color:var(--color-text-on-inverse); border:2px solid var(--color-neutral-50); }
.gh-btn--ghost-inv:hover{ background:var(--color-neutral-50); color:var(--color-neutral-900); }
.gh-btn:focus-visible{ outline:none; box-shadow:var(--focus-ring); }
.gh-btn[disabled]{ background:var(--color-neutral-300); color:var(--color-neutral-700); cursor:not-allowed; opacity:.7; }

/* ============================================================
   HEADER / NAV  (mobile-first: drawer)
   ============================================================ */
.gh-header{
  position:sticky; top:0; z-index:40;
  background:var(--color-neutral-900); color:var(--color-text-on-inverse);
  border-bottom:var(--border-rule) solid var(--color-amber-500);
}
.gh-header__in{ display:flex; align-items:center; justify-content:space-between; min-height:64px; gap:var(--space-4); }
.gh-brand{ display:flex; flex-direction:column; text-decoration:none; padding:8px 0; line-height:1; }
.gh-brand:focus-visible{ outline:none; box-shadow:var(--focus-ring); }
.gh-brand__mark{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.01em;
  font-size:26px; line-height:.9; color:var(--color-text-on-inverse);
}
.gh-brand__tag{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.05em;
  font-size:12px; line-height:1; color:var(--color-amber-500); margin-top:3px;
}

.gh-burger{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; background:none; border:2px solid var(--color-neutral-700);
  color:var(--color-text-on-inverse); cursor:pointer; font-size:22px; line-height:1;
}
.gh-burger:focus-visible{ outline:none; box-shadow:var(--focus-ring-inverse); }

.gh-nav{ display:flex; align-items:center; }
.gh-nav__list{
  list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0;
}
.gh-nav a:not(.gh-btn), .gh-nav__list > li > a:not(.gh-btn){
  display:flex; align-items:center; min-height:48px;
  color:var(--color-neutral-200); text-decoration:none;
  font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; font-weight:700;
}
.gh-nav a:not(.gh-btn):hover{ color:var(--color-text-on-inverse); }
.gh-nav a:not(.gh-btn)[aria-current="page"]{ color:var(--color-amber-300); }
.gh-nav a:not(.gh-btn):focus-visible{ outline:none; box-shadow:var(--focus-ring-inverse); }

/* mobile drawer */
@media (max-width:899px){
  .gh-nav{
    position:absolute; left:0; right:0; top:100%;
    background:var(--color-neutral-900);
    border-bottom:var(--border-rule) solid var(--color-amber-500);
    padding:var(--space-3) var(--space-4) var(--space-6);
    display:none;
  }
  .gh-nav.open{ display:block; }
  .gh-nav__list{ gap:var(--space-1); }
  .gh-nav__list > li{ border-top:1px solid var(--color-neutral-800); }
  .gh-nav .gh-btn{ margin-top:var(--space-4); width:100%; }
}
@media (min-width:900px){
  .gh-burger{ display:none; }
  .gh-nav{ display:block !important; position:static; padding:0; border:0; }
  .gh-nav__list{ flex-direction:row; align-items:center; gap:var(--space-6); }
  .gh-nav__list > li{ border:0; }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section{ padding:var(--space-12) 0; }
@media (min-width:600px){ section{ padding:var(--space-16) 0; } }

.gh-sechead{
  display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap;
  gap:var(--space-3); border-bottom:var(--border-rule) solid var(--color-neutral-900);
  padding-bottom:var(--space-3); margin-bottom:var(--space-8);
}
.gh-sechead h2{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.01em;
  font-size:var(--fs-h3); line-height:1; margin:0;
}

/* ============================================================
   HERO (dark)
   ============================================================ */
.gh-hero{ background:var(--color-neutral-900); color:var(--color-text-on-inverse); overflow:hidden; }
.gh-hero__grid{
  display:grid; grid-template-columns:1fr; gap:var(--space-8);
  padding-top:var(--space-12); padding-bottom:var(--space-12); align-items:center;
}
.gh-hero h1{
  font-family:var(--font-display); text-transform:uppercase; line-height:.9; letter-spacing:.01em;
  font-size:clamp(3rem,11vw,5.4rem); margin:0 0 var(--space-4); text-wrap:balance;
}
.gh-hero p.lead{ color:var(--color-neutral-200); font-size:var(--fs-body-lg); line-height:1.45; max-width:46ch; margin:0 0 var(--space-6); }
.gh-hero__kicker{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.02em;
  line-height:1.02; color:var(--color-text-on-inverse);
  font-size:clamp(1.2rem,2.4vw,1.7rem); margin:0 0 var(--space-4); max-width:22ch;
}
.gh-hero__kicker .hot{ color:var(--color-amber-500); }
.gh-hero__art{ margin:0; width:100%; aspect-ratio:4/5; display:block; background:var(--color-neutral-900); border:1px solid var(--color-neutral-800); }
.gh-hero__art svg{ display:block; width:100%; height:100%; }
.gh-hero__cta{ display:flex; flex-wrap:wrap; gap:var(--space-3); }
@media (min-width:900px){
  .gh-hero__grid{ grid-template-columns:1.3fr .7fr; gap:var(--space-12);
    padding-top:var(--space-16); padding-bottom:var(--space-16); }
}

/* ============================================================
   IMAGE PLACEHOLDER (labeled — real documentary photo goes here)
   ============================================================ */
.gh-photo{
  position:relative; background:var(--color-slate-700); color:var(--color-neutral-50);
  border:0; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end;
  padding:var(--space-4); min-height:260px;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 12px);
}
.gh-photo--tall{ aspect-ratio:4/5; min-height:0; }
.gh-photo__tag{
  position:absolute; top:var(--space-3); left:var(--space-3);
  background:var(--color-neutral-900); color:var(--color-amber-300);
  font-size:.62rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  padding:5px 9px;
}
.gh-photo__cap{ font-size:.8rem; line-height:1.35; color:var(--color-neutral-50); max-width:34ch; }
.gh-photo__cap em{ color:var(--color-neutral-100); }

/* ============================================================
   VALUES — "What we stand for" (cards)
   ============================================================ */
.gh-values{ display:grid; grid-template-columns:1fr; gap:var(--space-4); }
@media (min-width:600px){ .gh-values{ grid-template-columns:1fr 1fr; gap:var(--space-6); } }
@media (min-width:1000px){ .gh-values{ grid-template-columns:repeat(4,1fr); } }
.gh-value{
  background:var(--color-surface-2); border:1px solid var(--color-border);
  padding:0; display:flex; flex-direction:column;
}
.gh-value__bars{ display:block; }
.gh-value__bars i{ display:block; height:6px; }
.gh-value__bars i:nth-child(1){ background:var(--color-amber-500); }
.gh-value__bars i:nth-child(2){ background:var(--color-slate-700); }
.gh-value__bars i:nth-child(3){ background:var(--color-neutral-900); }
.gh-value__body{ padding:var(--space-6); }
.gh-value h3{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.01em;
  font-size:var(--fs-h5); line-height:.98; margin:0 0 var(--space-3);
}
.gh-value p{ font-size:.95rem; color:var(--color-text-muted); margin:0; max-width:40ch; }

/* ============================================================
   "What we do" — paragraph + numbered points
   ============================================================ */
.gh-do{ display:grid; grid-template-columns:1fr; gap:var(--space-8); align-items:start; }
@media (min-width:900px){ .gh-do{ grid-template-columns:.9fr 1.1fr; gap:var(--space-12); } }
.gh-do__lead p{ font-size:var(--fs-body-lg); line-height:1.5; margin:0 0 var(--space-4); max-width:46ch; }
.gh-steps{ list-style:none; margin:0; padding:0; }
.gh-step{
  display:grid; grid-template-columns:auto 1fr; gap:var(--space-4); align-items:start;
  padding:var(--space-6) 0; border-top:var(--border-rule) solid var(--color-neutral-900);
}
.gh-step:last-child{ border-bottom:var(--border-rule) solid var(--color-neutral-900); }
.gh-step__n{
  font-family:var(--font-display); font-size:var(--fs-h4); line-height:.8;
  color:var(--color-amber-700); min-width:1.6ch;
}
.gh-step h3{
  font-family:var(--font-body); font-weight:700; text-transform:none; letter-spacing:0;
  font-size:var(--fs-h6); line-height:1.15; margin:0 0 var(--space-2);
}
.gh-step p{ margin:0; color:var(--color-text-muted); font-size:.95rem; max-width:52ch; }

/* ============================================================
   "THE MOMENT" — slate band, one line
   ============================================================ */
.gh-moment{ background:var(--color-slate-700); color:var(--color-text-on-inverse); }
.gh-moment .gh-wrap{ display:flex; flex-direction:column; gap:var(--space-6); }
.gh-moment p{
  font-family:var(--font-display); text-transform:uppercase; line-height:.95; letter-spacing:.01em;
  font-size:clamp(1.8rem,4.5vw,3rem); margin:0; max-width:20ch; text-wrap:balance;
}
.gh-moment .hot{ color:var(--color-amber-300); }

/* ============================================================
   SIGN-UP — "Count yourself in." (bone section, amber only on submit)
   ============================================================ */
.gh-signup{ background:var(--color-neutral-900); color:var(--color-text-on-inverse); }
.gh-signup__grid{ display:grid; grid-template-columns:1fr; gap:var(--space-8); align-items:start; }
@media (min-width:900px){ .gh-signup__grid{ grid-template-columns:.85fr 1.15fr; gap:var(--space-12); } }
.gh-signup__intro h2{
  font-family:var(--font-display); text-transform:uppercase; line-height:.92; letter-spacing:.01em;
  font-size:clamp(2.4rem,6vw,3.6rem); margin:0 0 var(--space-4);
}
.gh-signup__intro p{ color:var(--color-neutral-200); font-size:var(--fs-body-lg); margin:0; max-width:42ch; }

.gh-formcard{ background:var(--color-surface-2); border:1px solid var(--color-border); padding:var(--space-6); color:var(--color-text-default); }
@media (min-width:600px){ .gh-formcard{ padding:var(--space-8); } }
.gh-fields{ display:grid; grid-template-columns:1fr; gap:var(--space-4); }
@media (min-width:560px){
  .gh-fields{ grid-template-columns:1fr 1fr; }
  .gh-field--full{ grid-column:1 / -1; }
}
.gh-field label{
  display:block; font-size:.78rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; margin-bottom:6px;
}
.gh-field .req{ color:var(--color-amber-700); }
.gh-field input{
  width:100%; font:inherit; font-size:1rem; padding:12px 14px;
  border:1px solid var(--color-neutral-500); border-radius:0;
  background:var(--color-surface); color:var(--color-text-default);
}
.gh-field input::placeholder{ color:var(--color-neutral-600); }
.gh-field input:focus-visible{ outline:none; border-color:var(--color-border-focus); box-shadow:var(--focus-ring); }
.gh-field input[aria-invalid="true"]{ border-color:var(--color-red-700); border-width:2px; }
.gh-err{
  color:var(--color-red-700); font-size:.8rem; font-weight:700; margin-top:6px;
  display:flex; gap:6px; align-items:flex-start;
}
.gh-err[hidden]{ display:none; }

.gh-consent{
  display:grid; grid-template-columns:auto 1fr; gap:var(--space-3); align-items:start;
  margin-top:var(--space-6); padding-top:var(--space-6);
  border-top:1px solid var(--color-border);
}
.gh-consent input[type="checkbox"]{
  width:24px; height:24px; margin:2px 0 0; flex:none; accent-color:var(--color-amber-700);
  border:1px solid var(--color-neutral-500);
}
.gh-consent input[type="checkbox"]:focus-visible{ outline:none; box-shadow:var(--focus-ring); }
.gh-consent label{ font-size:.82rem; line-height:1.5; color:var(--color-text-muted); }
.gh-consent a{ color:var(--color-text-link); text-decoration:underline; text-underline-offset:2px; font-weight:600; }
.gh-consent a:hover{ color:var(--color-text-default); }
.gh-consent a:focus-visible{ outline:none; box-shadow:var(--focus-ring); }

.gh-form__actions{ margin-top:var(--space-6); }
.gh-form__actions .gh-btn{ width:100%; }
@media (min-width:560px){ .gh-form__actions .gh-btn{ width:auto; } }

/* confirmation */
.gh-confirm{ display:none; }
.gh-confirm.show{ display:block; }
.gh-confirm__bars{ margin-bottom:var(--space-6); }
.gh-confirm__bars i{ display:block; height:10px; margin-bottom:6px; }
.gh-confirm__bars i:nth-child(1){ background:var(--color-amber-500); width:100%; }
.gh-confirm__bars i:nth-child(2){ background:var(--color-slate-700); width:74%; }
.gh-confirm__bars i:nth-child(3){ background:var(--color-neutral-900); width:48%; }
.gh-confirm h3{
  font-family:var(--font-display); text-transform:uppercase; line-height:.9; letter-spacing:.01em;
  font-size:clamp(2.2rem,5vw,3.2rem); margin:0 0 var(--space-3);
}
.gh-confirm h3 .hot{ color:var(--color-amber-700); }
.gh-confirm p{ margin:0; color:var(--color-text-muted); font-size:var(--fs-body-lg); }

/* ============================================================
   LONGFORM (Privacy / SMS Terms)
   ============================================================ */
.gh-doc{ padding:var(--space-12) 0 var(--space-16); }
.gh-draft{
  display:flex; gap:var(--space-3); align-items:flex-start;
  background:var(--color-slate-700); color:var(--color-neutral-50);
  border-left:var(--border-rule) solid var(--color-amber-500);
  padding:var(--space-4) var(--space-6); margin-bottom:var(--space-8);
}
.gh-draft__tag{ font-weight:700; text-transform:uppercase; letter-spacing:.1em; font-size:.72rem; color:var(--color-amber-300); white-space:nowrap; }
.gh-draft p{ margin:0; font-size:.88rem; line-height:1.45; }
.gh-doc__title{
  font-family:var(--font-display); text-transform:uppercase; line-height:.92; letter-spacing:.01em;
  font-size:clamp(2.6rem,8vw,4rem); margin:0 0 var(--space-4);
}
.gh-doc__intro{ font-size:var(--fs-body-lg); line-height:1.5; max-width:64ch; color:var(--color-text-default); margin:0 0 var(--space-8); }
.gh-doc h2{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.01em;
  font-size:var(--fs-h4); line-height:1; margin:var(--space-12) 0 var(--space-4);
  padding-bottom:var(--space-3); border-bottom:var(--border-rule) solid var(--color-neutral-900);
}
.gh-doc h3{ font-family:var(--font-body); font-weight:700; font-size:var(--fs-h6); text-transform:none; letter-spacing:0; margin:var(--space-6) 0 var(--space-2); }
.gh-doc p, .gh-doc li{ font-size:1rem; line-height:1.6; max-width:68ch; color:var(--color-text-default); }
.gh-doc p{ margin:0 0 var(--space-4); }
.gh-doc ul{ margin:0 0 var(--space-4); padding-left:1.2em; }
.gh-doc li{ margin-bottom:var(--space-2); }
.gh-doc a{ color:var(--color-text-link); text-decoration:underline; text-underline-offset:2px; font-weight:600; }
.gh-doc a:hover{ color:var(--color-text-default); }
.gh-doc a:focus-visible{ outline:none; box-shadow:var(--focus-ring); }
.gh-doc__updated{ font-size:.8rem; color:var(--color-text-muted); letter-spacing:.04em; }

/* ---- privacy request form ---- */
.gh-note{
  background:var(--color-surface-2); border:1px solid var(--color-border);
  border-left:var(--border-rule) solid var(--color-amber-500);
  padding:var(--space-4) var(--space-6); margin:0 0 var(--space-8);
  font-size:.9rem; line-height:1.55; color:var(--color-text-muted); max-width:64ch;
}
.gh-form-stack{ display:grid; gap:var(--space-6); }
.gh-field textarea{
  width:100%; font:inherit; font-size:1rem; padding:12px 14px; min-height:130px; resize:vertical;
  border:1px solid var(--color-neutral-500); border-radius:0;
  background:var(--color-surface); color:var(--color-text-default);
}
.gh-field textarea:focus-visible{ outline:none; border-color:var(--color-border-focus); box-shadow:var(--focus-ring); }
.gh-field .hint{ display:block; font-weight:400; text-transform:none; letter-spacing:0; color:var(--color-text-muted); font-size:.8rem; margin-top:4px; }
.gh-fieldset{ border:0; padding:0; margin:0; }
.gh-fieldset legend{
  font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  margin-bottom:var(--space-2); padding:0; color:var(--color-text-default);
}
.gh-choices{ display:flex; flex-direction:column; border-top:1px solid var(--color-border); }
.gh-choice{
  display:grid; grid-template-columns:auto 1fr; gap:var(--space-3); align-items:start;
  padding:var(--space-3) 0; border-bottom:1px solid var(--color-border);
  font-size:.95rem; line-height:1.5; cursor:pointer; color:var(--color-text-default);
}
.gh-choice input{ margin-top:3px; width:22px; height:22px; accent-color:var(--color-amber-700); flex:none; cursor:pointer; }
.gh-choice input:focus-visible{ outline:none; box-shadow:var(--focus-ring); }
.gh-choice strong{ color:var(--color-text-default); font-weight:700; }

/* ============================================================
   FOOTER
   ============================================================ */
.gh-foot{
  background:var(--color-neutral-900); color:var(--color-neutral-200);
  border-top:var(--border-rule) solid var(--color-amber-500);
}
.gh-foot__grid{ display:grid; grid-template-columns:1fr; gap:var(--space-8); padding:var(--space-12) 0 var(--space-8); }
@media (min-width:700px){ .gh-foot__grid{ grid-template-columns:1.6fr 1fr 1fr; } }
.gh-foot__mark{ font-family:var(--font-display); text-transform:uppercase; font-size:34px; line-height:.9; color:var(--color-text-on-inverse); }
.gh-foot__tag{ font-family:var(--font-display); text-transform:uppercase; color:var(--color-amber-500); font-size:18px; letter-spacing:.05em; margin:4px 0 var(--space-4); }
.gh-foot__mission{ max-width:42ch; color:var(--color-neutral-200); font-size:.95rem; line-height:1.5; margin:0; }
.gh-foot h4{ font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--color-amber-300); margin:0 0 var(--space-3); font-weight:700; }
.gh-foot ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:var(--space-1); }
.gh-foot ul a{ color:var(--color-neutral-200); text-decoration:none; font-size:.92rem; display:inline-flex; min-height:36px; align-items:center; }
.gh-foot ul a:hover{ color:var(--color-text-on-inverse); text-decoration:underline; text-underline-offset:2px; }
.gh-foot ul a:focus-visible{ outline:none; box-shadow:var(--focus-ring-inverse); }
.gh-foot__legal{
  border-top:1px solid var(--color-neutral-800);
  padding:var(--space-6) 0 var(--space-12);
  display:flex; flex-direction:column; gap:var(--space-2);
  font-size:.78rem; color:var(--color-neutral-400); line-height:1.5;
}
.gh-foot__legal .gh-heldline{ margin-bottom:var(--space-4); max-width:200px; }
.gh-foot__legal strong{ color:var(--color-neutral-200); font-weight:700; }
