/* ============================================================
   Terra Productiva — Design System
   Palette: deep páramo green + warm cream + mustard/ochre accent.
   Type: system serif (headlines) + system sans (body), no webfonts.
   ============================================================ */

:root{
  /* ---- Color tokens ---- */
  --ink-900:#0f1813;        /* deepest green-black, hero overlays */
  --ink-800:#16221c;        /* primary ink / dark sections / nav */
  --ink-700:#223229;        /* secondary dark surface */
  --ink-600:#3a4b40;        /* muted dark text on light */
  --green-500:#2f4a37;      /* mid pine, used sparingly for bands */

  --cream-100:#faf7f0;      /* page background, warm off-white */
  --cream-200:#f3ede1;      /* card / alt-section background */
  --cream-300:#e9e0cd;      /* hairlines, borders on cream */
  --stone-500:#8b8372;      /* muted text on cream */

  --gold-500:#a9781c;       /* primary accent: buttons, large UI (3:1 min) */
  --gold-400:#c39433;       /* accent hover / lighter accent on dark */
  --gold-100:#f1e6cc;       /* faint gold wash, chips */
  --gold-text:#7d5815;      /* AA-safe gold for body-size text links on cream (6.0:1) */

  --white:#ffffff;

  /* ---- Semantic aliases ---- */
  --color-bg:var(--cream-100);
  --color-surface:var(--white);
  --color-surface-alt:var(--cream-200);
  --color-text:var(--ink-800);
  --color-text-muted:#665f50;   /* AA-safe muted text on cream/white (5.9:1), darker than --stone-500 */
  --color-border:var(--cream-300);
  --color-accent:var(--gold-500);
  --color-accent-hover:var(--gold-400);
  --color-dark-bg:var(--ink-800);
  --color-dark-text:#e9ece2;
  --color-dark-text-muted:#b9c2b5;

  /* ---- Type families (system stacks, no network requests) ---- */
  --font-serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  --font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;

  /* ---- Type scale (fluid, clamp-based, ~1.25 ratio) ---- */
  --fs-xs:clamp(.76rem,.73rem + .13vw,.84rem);
  --fs-sm:clamp(.86rem,.83rem + .14vw,.95rem);
  --fs-base:clamp(1rem,.97rem + .15vw,1.1rem);
  --fs-md:clamp(1.2rem,1.12rem + .35vw,1.4rem);
  --fs-lg:clamp(1.5rem,1.3rem + .9vw,1.95rem);
  --fs-xl:clamp(1.9rem,1.5rem + 1.8vw,2.7rem);
  --fs-2xl:clamp(2.4rem,1.8rem + 2.8vw,3.6rem);
  --fs-3xl:clamp(2.6rem,1.9rem + 3.3vw,4.2rem);

  --lh-tight:1.12;
  --lh-snug:1.3;
  --lh-body:1.65;

  /* ---- Space scale (4px base) ---- */
  --sp-1:.25rem;   /* 4  */
  --sp-2:.5rem;    /* 8  */
  --sp-3:.75rem;   /* 12 */
  --sp-4:1rem;     /* 16 */
  --sp-5:1.5rem;   /* 24 */
  --sp-6:2rem;     /* 32 */
  --sp-7:3rem;     /* 48 */
  --sp-8:4rem;     /* 64 */
  --sp-9:6rem;     /* 96 */
  --sp-10:8rem;    /* 128 */

  /* ---- Radius / shadow ---- */
  --radius-sm:4px;
  --radius-md:8px;
  --radius-lg:14px;
  --radius-pill:999px;
  --shadow-sm:0 1px 2px rgba(15,24,19,.06), 0 1px 1px rgba(15,24,19,.04);
  --shadow-md:0 8px 24px rgba(15,24,19,.10), 0 2px 6px rgba(15,24,19,.06);
  --shadow-lg:0 20px 48px rgba(15,24,19,.18), 0 6px 16px rgba(15,24,19,.10);

  /* ---- Layout ---- */
  --content-w:1180px;
  --measure:66ch;
}

/* ============================================================
   Reset & base
   ============================================================ */
*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

body{
  background:var(--color-bg);
  color:var(--color-text);
  font-family:var(--font-sans);
  font-size:var(--fs-base);
  line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img,picture{display:block;max-width:100%;height:auto}
img{font-style:italic;color:var(--color-text-muted)} /* alt text styling if image fails */

h1,h2,h3,h4{
  font-family:var(--font-serif);
  font-weight:600;
  line-height:var(--lh-tight);
  letter-spacing:-.01em;
  color:var(--ink-800);
  text-wrap:balance;
}
h1{font-size:var(--fs-3xl)}
h2{font-size:var(--fs-xl)}
h3{font-size:var(--fs-md)}
h4{font-size:var(--fs-base)}

p{margin:0 0 1em;max-width:var(--measure)}
p:last-child{margin-bottom:0}

a{color:inherit}
small{font-size:var(--fs-sm)}

ul,ol{padding-left:1.1em}

/* Visible, accessible focus ring everywhere */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid var(--gold-400);
  outline-offset:3px;
  border-radius:2px;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap{
  width:100%;
  max-width:var(--content-w);
  margin-inline:auto;
  padding-inline:clamp(1.25rem,4vw,2.5rem);
}

.measure{max-width:var(--measure)}

.grid{display:grid;gap:var(--sp-6)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-5{grid-template-columns:repeat(5,1fr)}

@media (max-width:980px){
  .grid-5{grid-template-columns:repeat(3,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .grid-2,.grid-3,.grid-5{grid-template-columns:1fr}
}

.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

.skip-link{
  position:absolute;left:var(--sp-4);top:-60px;z-index:100;
  background:var(--gold-500);color:var(--white);
  padding:var(--sp-3) var(--sp-5);border-radius:var(--radius-sm);
  font-size:var(--fs-sm);font-weight:600;text-decoration:none;
  transition:top .15s ease;
}
.skip-link:focus{top:var(--sp-4)}

/* ============================================================
   Eyebrow / section kicker
   ============================================================ */
.eyebrow{
  display:inline-block;
  font-size:var(--fs-xs);
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--gold-text);
  margin-bottom:var(--sp-3);
}
.dark .eyebrow{color:var(--gold-400)}

/* ============================================================
   Header / nav
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(250,247,240,.88);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--color-border);
}
.site-header .in{
  max-width:var(--content-w);
  margin-inline:auto;
  padding:var(--sp-3) clamp(1.25rem,4vw,2.5rem);
  display:flex;align-items:center;gap:var(--sp-6);
}
.brand{
  font-family:var(--font-serif);
  font-size:var(--fs-md);
  font-weight:700;
  color:var(--ink-800);
  text-decoration:none;
  letter-spacing:-.01em;
  margin-right:auto;
}
.brand:hover{color:var(--gold-500)}
.brand{display:inline-flex;align-items:center}
.brand-logo{display:block;height:44px;width:auto}
@media (max-width:640px){.brand-logo{height:34px}}

.main-nav{display:flex;align-items:center;gap:var(--sp-5)}
.main-nav a{
  font-size:var(--fs-sm);
  color:var(--ink-700);
  text-decoration:none;
  opacity:.82;
  padding:var(--sp-1) 0;
  border-bottom:2px solid transparent;
  transition:opacity .15s ease,border-color .15s ease;
}
.main-nav a:hover{opacity:1;border-color:var(--gold-400)}
.main-nav a.active{opacity:1;color:var(--gold-text);border-color:var(--gold-text)}

.lang-switch{
  border:1px solid var(--color-border);
  border-radius:var(--radius-pill);
  padding:4px 12px;
  font-size:var(--fs-xs);
  font-weight:600;
  text-decoration:none;
  color:var(--ink-700);
  transition:background .15s ease,border-color .15s ease;
}
.lang-switch:hover{background:var(--gold-100);border-color:var(--gold-400)}

.nav-toggle{
  display:none;
  background:none;border:1px solid var(--color-border);border-radius:var(--radius-sm);
  width:40px;height:40px;
  align-items:center;justify-content:center;
  cursor:pointer;
  flex-shrink:0;
}
.nav-toggle svg{width:20px;height:20px;stroke:var(--ink-800)}

@media (max-width:860px){
  .main-nav{
    position:fixed;inset:0 0 0 auto;
    top:var(--header-h,56px);
    width:min(78vw,320px);
    height:calc(100vh - var(--header-h,56px));
    background:var(--cream-100);
    border-left:1px solid var(--color-border);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:var(--sp-5) var(--sp-5);
    transform:translateX(100%);
    transition:transform .22s ease;
    overflow-y:auto;
    box-shadow:var(--shadow-lg);
  }
  .main-nav.is-open{transform:translateX(0)}
  .main-nav a{width:100%;padding:var(--sp-3) 0;border-bottom:1px solid var(--color-border);font-size:var(--fs-base)}
  .main-nav .lang-switch{margin-top:var(--sp-4);border-bottom:1px solid var(--color-border)}
  .nav-toggle{display:inline-flex}
  .nav-scrim{
    position:fixed;inset:0;background:rgba(15,24,19,.4);
    opacity:0;pointer-events:none;transition:opacity .22s ease;z-index:45;
  }
  .nav-scrim.is-open{opacity:1;pointer-events:auto}
}

/* ============================================================
   Buttons / links
   ============================================================ */
.btn{
  display:inline-flex;align-items:center;gap:.5em;
  background:var(--gold-500);
  color:var(--white);
  font-family:var(--font-sans);
  font-weight:600;
  font-size:var(--fs-sm);
  text-decoration:none;
  padding:.85em 1.6em;
  border-radius:var(--radius-pill);
  border:1px solid transparent;
  cursor:pointer;
  transition:background .15s ease,transform .15s ease,box-shadow .15s ease;
}
.btn:hover{background:var(--gold-400);box-shadow:var(--shadow-sm);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn:disabled,.btn[aria-disabled="true"]{
  background:var(--stone-500);color:var(--cream-200);cursor:not-allowed;transform:none;box-shadow:none;
}

.btn-ghost{
  background:transparent;
  border:1px solid rgba(233,236,228,.5);
  color:var(--dark-ghost-text,var(--cream-100));
}
.btn-ghost:hover{background:rgba(233,236,228,.12)}

.btn-outline{
  background:transparent;
  border:1px solid var(--ink-800);
  color:var(--ink-800);
}
.btn-outline:hover{background:var(--ink-800);color:var(--cream-100)}

.text-link{
  display:inline-flex;align-items:center;gap:.4em;
  color:var(--gold-text);
  text-decoration:underline;
  text-decoration-color:rgba(125,88,21,.4);
  text-underline-offset:.2em;
  font-size:var(--fs-sm);
  transition:text-decoration-color .15s ease,color .15s ease;
}
.text-link:hover{text-decoration-color:var(--gold-text);color:var(--gold-500)}
.dark .text-link,.hero .text-link{color:var(--gold-400)}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position:relative;
  overflow:hidden;
  color:var(--cream-100);
  padding:clamp(5.5rem,16vw,8.5rem) 0 clamp(4rem,10vw,6rem);
  min-height:min(92vh,760px);
  display:flex;
  align-items:flex-end;
}
.hero .bg{
  position:absolute;inset:0;
  background-position:center 42%;
  background-size:cover;
  background-repeat:no-repeat;
}
.hero::before{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(10,16,13,.35) 0%,rgba(10,16,13,.15) 32%,rgba(10,16,13,.55) 72%,rgba(10,16,13,.86) 100%);
}
.hero::after{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(100deg,rgba(9,14,11,.55) 0%,rgba(9,14,11,.08) 55%,transparent 100%);
}
.hero .wrap{position:relative;z-index:2;width:100%}
.hero-content{max-width:46rem}
.hero h1{
  color:var(--white);
  font-size:var(--fs-3xl);
  margin:0 0 .5em;
}
.hero .lede{
  font-size:var(--fs-md);
  color:#e3e8dd;
  max-width:36rem;
  line-height:var(--lh-snug);
}
.hero .lede p{color:inherit}
.hero .cap{
  margin-top:var(--sp-7);
  font-size:var(--fs-xs);
  color:#b9c2b5;
  letter-spacing:.04em;
}

/* ============================================================
   Sections
   ============================================================ */
section{padding:clamp(3.5rem,8vw,6rem) 0}
.section-head{max-width:40rem;margin-bottom:var(--sp-7)}
.section-head h2{margin-bottom:.4em}
.section-head .lede{color:var(--color-text-muted);font-size:var(--fs-md);max-width:38rem}

.dark{background:var(--ink-800);color:var(--dark-ghost-text,var(--cream-100))}
.dark h2,.dark h3,.dark h4{color:var(--white)}
.dark p{color:var(--color-dark-text-muted)}
.dark .section-head .lede{color:var(--color-dark-text-muted)}

.alt{background:var(--color-surface-alt)}

/* editorial two-column proof block: text + photo */
.proof{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(2rem,5vw,4.5rem);
  align-items:center;
}
.proof.reverse .proof-media{order:2}
.proof.reverse .proof-text{order:1}
.proof-media{position:relative}
.proof-media img{
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-md);
  aspect-ratio:4/3;
  object-fit:cover;
  width:100%;
}
.proof-media figcaption{
  margin-top:var(--sp-3);
  font-size:var(--fs-xs);
  color:var(--color-text-muted);
  letter-spacing:.01em;
}
.proof-text .eyebrow{margin-bottom:var(--sp-2)}
.proof-text h2{margin-bottom:var(--sp-4)}
.proof-text .meta{
  display:flex;flex-wrap:wrap;gap:var(--sp-5);
  margin-top:var(--sp-5);
  padding-top:var(--sp-5);
  border-top:1px solid var(--color-border);
}
.proof-text .meta-item .n{
  font-family:var(--font-mono);
  font-size:var(--fs-base);
  color:var(--ink-800);
  font-weight:600;
}
.proof-text .meta-item .l{
  font-size:var(--fs-xs);
  color:var(--color-text-muted);
  margin-top:2px;
}

@media (max-width:860px){
  .proof{grid-template-columns:1fr}
  .proof.reverse .proof-media,.proof.reverse .proof-text{order:initial}
  .proof-media{order:-1}
}

/* ============================================================
   Loop / process strip
   ============================================================ */
.loop{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--sp-5);
  margin-top:var(--sp-7);
}
.loop-item{
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  padding:var(--sp-5);
}
.loop-item .num{
  font-family:var(--font-mono);
  font-size:var(--fs-sm);
  color:var(--gold-text);
  font-weight:700;
}
.loop-item h3{margin:var(--sp-2) 0 var(--sp-2);font-size:var(--fs-md)}
.loop-item p{font-size:var(--fs-sm);color:var(--color-text-muted);margin:0}

/* dark-section variant: translucent surface instead of solid white card */
.dark .loop-item{
  background:rgba(233,236,228,.06);
  border-color:rgba(233,236,228,.16);
}
.dark .loop-item .num{color:var(--gold-400)}
.dark .loop-item h3{color:var(--white)}
.dark .loop-item p{color:var(--color-dark-text-muted)}

@media (max-width:760px){.loop{grid-template-columns:1fr}}

/* ============================================================
   Card grid — "ways to take part"
   ============================================================ */
.card-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:var(--sp-5);
  margin-top:var(--sp-7);
}
.card{
  display:flex;flex-direction:column;
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  overflow:hidden;
  text-decoration:none;
  color:var(--ink-800);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--gold-400)}
.card:focus-visible{outline:3px solid var(--gold-400);outline-offset:2px}
.card-media{
  aspect-ratio:4/3;
  overflow:hidden;
  background:var(--cream-200);
}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.card:hover .card-media img{transform:scale(1.04)}
.card-media.is-icon{
  display:flex;align-items:center;justify-content:center;
  background:var(--ink-800);
}
.card-media.is-icon svg{width:34px;height:34px;stroke:var(--gold-400)}
.card-body{padding:var(--sp-5);display:flex;flex-direction:column;gap:var(--sp-2);flex:1}
.card-body h3{font-size:var(--fs-base);margin:0}
.card-body p{font-size:var(--fs-sm);color:var(--color-text-muted);margin:0;flex:1}
.card-body .card-cta{
  font-size:var(--fs-xs);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--gold-text);
  margin-top:var(--sp-2);
}

@media (max-width:980px){.card-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:620px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:420px){.card-grid{grid-template-columns:1fr}}

/* ============================================================
   Quote band
   ============================================================ */
.quote-band{
  background:var(--green-500);
  color:var(--white);
  padding:clamp(3rem,7vw,5rem) 0;
  text-align:center;
}
.quote-band blockquote{
  font-family:var(--font-serif);
  font-size:clamp(1.5rem,4vw,2.4rem);
  line-height:var(--lh-tight);
  max-width:22ch;
  margin-inline:auto;
}

/* ============================================================
   Quiet land link block
   ============================================================ */
.quiet-link{
  margin-top:var(--sp-7);
  padding-top:var(--sp-5);
  border-top:1px solid var(--color-border);
}
.quiet-link p{color:var(--color-text-muted);font-size:var(--fs-sm)}

/* ============================================================
   Gallery grid — simple captioned photo grid (finca / visit pages)
   ============================================================ */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--sp-5);
  margin-top:var(--sp-7);
}
.gallery figure{display:flex;flex-direction:column}
.gallery img{
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  aspect-ratio:4/3;
  object-fit:cover;
  width:100%;
}
.gallery figcaption{
  margin-top:var(--sp-2);
  font-size:var(--fs-xs);
  color:var(--color-text-muted);
}
.gallery.gallery-tall img{aspect-ratio:3/4}

@media (max-width:860px){.gallery{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.gallery{grid-template-columns:1fr}}

/* ============================================================
   Spec strip — key-figure facts (finca / visit pages)
   ============================================================ */
.spec-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--color-border);
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  overflow:hidden;
  margin-top:var(--sp-7);
}
.spec-item{
  background:var(--color-surface);
  padding:var(--sp-5) var(--sp-4);
  text-align:center;
}
.spec-item .k{
  font-family:var(--font-mono);
  font-size:var(--fs-md);
  color:var(--gold-text);
  letter-spacing:-.01em;
}
.spec-item .v{
  font-size:var(--fs-xs);
  color:var(--color-text-muted);
  margin-top:4px;
}
@media (max-width:640px){.spec-strip{grid-template-columns:repeat(2,1fr)}}

/* ============================================================
   Placeholder note — clearly-marked TBD fields (never real figures)
   ============================================================ */
.placeholder-note{
  display:inline-block;
  font-size:var(--fs-xs);
  font-style:italic;
  color:var(--stone-500);
  background:var(--cream-200);
  border:1px dashed var(--color-border);
  border-radius:var(--radius-sm);
  padding:2px 8px;
}

/* ============================================================
   Team grid — portrait + name + role (team page)
   ============================================================ */
.team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:var(--sp-6);
  margin-top:var(--sp-7);
}
.team-card{text-align:center}
.team-photo{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  border-radius:50%;
  overflow:hidden;
  background:var(--ink-700);
  box-shadow:var(--shadow-sm);
  margin-bottom:var(--sp-4);
}
.team-photo img{width:100%;height:100%;object-fit:cover}
.team-photo .initials{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-serif);
  font-weight:600;
  font-size:var(--fs-lg);
  color:var(--gold-100);
  background:linear-gradient(145deg,var(--ink-700),var(--ink-900));
  letter-spacing:.02em;
}
.team-card h3{font-size:var(--fs-base);margin-bottom:2px}
.team-card .role{font-size:var(--fs-sm);color:var(--color-text-muted)}

@media (max-width:860px){.team-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.team-grid{grid-template-columns:1fr}}

/* ============================================================
   Contact blocks — simple contact cards + signup form
   ============================================================ */
.contact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--sp-5);
  margin-top:var(--sp-7);
}
.contact-card{
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  padding:var(--sp-6);
}
.contact-card h3{font-size:var(--fs-base);margin-bottom:var(--sp-3)}
.contact-card p{font-size:var(--fs-sm);color:var(--color-text-muted);margin-bottom:var(--sp-2)}
.contact-card .text-link{display:inline-flex;margin-top:var(--sp-2)}

@media (max-width:860px){.contact-grid{grid-template-columns:1fr}}

.form-field{margin-bottom:var(--sp-5)}
.form-field label{
  display:block;
  font-size:var(--fs-sm);
  font-weight:600;
  color:var(--ink-800);
  margin-bottom:var(--sp-2);
}
.dark .form-field label{color:var(--white)}
.form-field input[type="text"],
.form-field input[type="email"]{
  width:100%;
  max-width:28rem;
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius-sm);
  padding:.7em .9em;
  font-family:var(--font-sans);
  font-size:var(--fs-base);
  color:var(--color-text);
  transition:border-color .15s ease,box-shadow .15s ease;
}
.form-field input[type="text"]:focus-visible,
.form-field input[type="email"]:focus-visible{
  outline:3px solid var(--gold-400);
  outline-offset:2px;
  border-color:var(--gold-400);
}
.form-field .hint{font-size:var(--fs-xs);color:var(--color-text-muted);margin-top:var(--sp-2)}
.dark .form-field .hint{color:var(--color-dark-text-muted)}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{
  background:var(--ink-900);
  color:var(--color-dark-text-muted);
  padding:var(--sp-8) 0 var(--sp-6);
  font-size:var(--fs-sm);
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:var(--sp-6);
  padding-bottom:var(--sp-6);
  border-bottom:1px solid rgba(233,236,228,.12);
}
.footer-brand{font-family:var(--font-serif);font-size:var(--fs-md);color:var(--white);margin-bottom:var(--sp-2)}
.footer-grid h4{
  color:var(--cream-100);
  font-family:var(--font-sans);
  font-size:var(--fs-xs);
  text-transform:uppercase;
  letter-spacing:.14em;
  margin-bottom:var(--sp-3);
}
.footer-grid ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:var(--sp-2)}
.footer-grid a{color:var(--color-dark-text-muted);text-decoration:none;font-size:var(--fs-sm)}
.footer-grid a:hover{color:var(--gold-400)}
.footer-bottom{
  display:flex;flex-wrap:wrap;gap:var(--sp-4);
  align-items:center;justify-content:space-between;
  padding-top:var(--sp-5);
  font-size:var(--fs-xs);
}
.footer-bottom .lang-switch{color:var(--cream-100);border-color:rgba(233,236,228,.3)}
.footer-bottom .lang-switch:hover{background:rgba(233,236,228,.1)}

@media (max-width:860px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:var(--sp-5)}
}
@media (max-width:520px){
  .footer-grid{grid-template-columns:1fr}
}
