@import url("fonts.css");

/* ==========================================================================
   Gratierne — palette lifted from logo/gratierne.svg so the site and the mark
   stay one system: deep green, sage, gold, cream.
   ========================================================================== */
:root {
  --green-900: #1F3A2B;
  --green:     #2F4F3E;
  --sage:      #6E8C72;
  --sage-dim:  #8AA48D;
  --gold:      #C9A24B;
  --gold-dim:  #E0C489;
  --cream:     #F7F4EC;
  --paper:     #FFFDF8;
  --ink:       #1D231F;
  --ink-soft:  #4A544C;
  --line:      #E2DDD0;
  --shadow:    0 1px 2px rgba(31,58,43,.06), 0 8px 24px -12px rgba(31,58,43,.18);
  --shadow-lg: 0 2px 4px rgba(31,58,43,.05), 0 24px 60px -24px rgba(31,58,43,.28);

  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --r: 14px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green-900: #E8EFE8;
    --green:     #DCE8DD;
    --sage:      #9DBBA1;
    --sage-dim:  #7F9A83;
    --gold:      #D9B564;
    --gold-dim:  #8A6F2E;
    --cream:     #1A211C;
    --paper:     #131916;
    --ink:       #ECF0EA;
    --ink-soft:  #A9B6AB;
    --line:      #2C3830;
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 24px 60px -24px rgba(0,0,0,.7);
  }
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12;
  font-variant-numeric: lining-nums;
  letter-spacing: -.01em; color: var(--green-900); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.1vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: var(--green); text-decoration-color: var(--sage-dim); text-underline-offset: .18em; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 68ch; }
.eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage); margin: 0 0 1.2rem; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--ink-soft);
  max-width: 62ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--green); color: var(--cream);
  padding: .7rem 1.1rem; border-radius: 8px; }

section { padding-block: clamp(3.5rem, 8vw, 7rem); }
section + section { padding-top: 0; }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* --- buttons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; gap: .55em; font-family: var(--sans);
  font-size: 1rem; font-weight: 500; letter-spacing: .01em; padding: .85em 1.6em; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn-primary:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sage); background: var(--cream); color: var(--green); }
.btn-lg { font-size: 1.05rem; padding: 1em 1.9em; }
.arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* --- header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand svg { height: 34px; width: auto; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: .14em;
  color: var(--green-900); }
.brand-name span { display: block; font-family: var(--sans); font-size: .52rem; font-weight: 400;
  letter-spacing: .3em; color: var(--sage); margin-top: -.15em; }

.nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.nav a { font-size: .95rem; text-decoration: none; color: var(--ink-soft); padding: .35rem 0;
  border-bottom: 1.5px solid transparent; }
.nav a:hover { color: var(--green); border-bottom-color: var(--sage); }
.nav a[aria-current="page"] { color: var(--green-900); border-bottom-color: var(--gold); }
.nav .btn { color: var(--cream); }
/* --- language switcher -------------------------------------------------- */
/* All three languages are shown; the current one is the marked button, so the
   reader can see what they are reading as well as where else they can go. */
.langs { display: flex; align-items: baseline; gap: .5rem; flex: none; white-space: nowrap; }
.langs i { font-style: normal; font-size: .7rem; color: var(--line); }
/* .nav a sets padding and a transparent bottom border and would otherwise win
   on specificity, so the switcher states are written against .nav .lang. */
.nav .lang, .lang { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: .35rem 0; color: var(--sage);
  border-bottom: 1.5px solid transparent; flex: none; }
.nav .lang:hover { color: var(--green); border-bottom-color: var(--sage); }
.nav .lang[aria-current="true"] { color: var(--green-900); border-bottom-color: var(--gold); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: .5rem .6rem; cursor: pointer; color: var(--green); }
.burger svg { display: block; }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gut) 1.5rem;
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: none; }
  .nav .langs { margin-top: 1rem; align-self: flex-start; gap: .6rem; }
  .nav .lang { padding: .35rem 0; font-size: .95rem; border-bottom: 1.5px solid transparent; }
}

/* --- hero --------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem .9rem;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #F7F4EC;
  background: linear-gradient(to top, rgba(31,58,43,.78), transparent); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16/10; order: -1; }
}

/* --- price promise ------------------------------------------------------ */
.promise { background: var(--green); color: var(--cream); border-radius: var(--r);
  padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; }
.promise .pct { font-family: var(--serif); font-variant-numeric: lining-nums; font-size: clamp(4rem, 3rem + 6vw, 8rem); line-height: .85;
  color: var(--gold-dim); font-weight: 700; }
.promise h2 { color: var(--cream); margin-bottom: .4em; }
.promise p { color: color-mix(in srgb, var(--cream) 82%, transparent); margin-bottom: 1.2em; max-width: 54ch; }
.promise .eyebrow { color: var(--gold-dim); }
.promise a { color: var(--cream); font-weight: 500; }
.promise a:hover { color: var(--gold-dim); }
@media (max-width: 700px) { .promise { grid-template-columns: 1fr; } }

/* --- features ----------------------------------------------------------- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.feature::before { content: ""; display: block; width: 34px; height: 2px; background: var(--gold);
  margin-bottom: 1.1rem; }

/* --- product cards ------------------------------------------------------ */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sage-dim); color: inherit; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .3em; }
.card p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 1.1em; }
.card .more { margin-top: auto; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage); }
.card:hover .more { color: var(--gold); }

/* --- steps -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0;
  border-top: 1px solid var(--line); }
.step { padding: 1.75rem 1.5rem 1.75rem 0; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--serif); font-size: 1rem; color: var(--gold); display: block; margin-bottom: .7rem;
  letter-spacing: .1em; }
.step h3 { font-size: 1.15rem; margin-bottom: .3em; }
.step p { font-size: .92rem; color: var(--ink-soft); margin: 0; padding-right: 1rem; }
@media (max-width: 720px) {
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .step:last-child { border-bottom: 0; }
}

/* --- pull quote --------------------------------------------------------- */
.pull { text-align: center; max-width: 34ch; margin-inline: auto; }
.pull blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.75rem);
  line-height: 1.25; color: var(--green-900); margin: 0 0 1rem; }
.pull cite { font-style: normal; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage); }

/* --- split -------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* --- prose / sections --------------------------------------------------- */
.kicker { font-family: var(--serif); font-size: 2.5rem; color: var(--gold-dim); line-height: 1;
  display: block; margin-bottom: .6rem; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); margin-top: 2.5rem; }
.cols-2 h3 { margin-bottom: .45em; }
.cols-2 p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; } }

.deflist { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.deflist > div { display: grid; grid-template-columns: minmax(180px, 22%) 1fr; gap: 1.5rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.deflist dt { font-weight: 500; color: var(--green-900); }
.deflist dd { margin: 0; color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 680px) { .deflist > div { grid-template-columns: 1fr; gap: .3rem; } }

/* --- gallery ------------------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.tile { border-radius: 10px; overflow: hidden; background: var(--cream); border: 1px solid var(--line); }
.tile img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .35s ease; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption { padding: .6rem .7rem .7rem; font-size: .78rem; letter-spacing: .04em;
  color: var(--ink-soft); }

/* --- spec table --------------------------------------------------------- */
.table-scroll { overflow-x: auto; margin-top: 2.5rem; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .95rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--sans); font-weight: 500; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sage); border-bottom: 1.5px solid var(--sage-dim); }
tbody th { font-weight: 400; color: var(--ink-soft); }
td { font-variant-numeric: tabular-nums; color: var(--green-900); }
.footnote { font-size: .85rem; color: var(--ink-soft); margin-top: 1.25rem; }

/* --- facts -------------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fact { background: var(--paper); padding: 1.5rem 1.5rem 1.65rem; }
.fact dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage);
  margin-bottom: .5rem; }
.fact dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--green-900); }

/* --- Trees4Trees -------------------------------------------------------- */
.t4t { background: var(--cream); border-radius: var(--r); padding: clamp(2rem, 5vw, 4rem); }
.t4t-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem); margin: 2.5rem 0; padding: 2rem 0; border-block: 1px solid var(--line); }
.t4t-stat b { display: block; font-family: var(--serif); font-variant-numeric: lining-nums; font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 600; color: var(--green); line-height: 1; margin-bottom: .35rem; }
.t4t-stat span { font-size: .88rem; color: var(--ink-soft); }
.t4t-body { column-gap: 3rem; }
@media (min-width: 900px) { .t4t-body { column-count: 2; } .t4t-body p { break-inside: avoid; } }
.source { font-size: .82rem; color: var(--ink-soft); margin-top: 1.5rem; }
.source a { color: var(--green); }

/* --- conditions --------------------------------------------------------- */
.conds { counter-reset: c; display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 2.5rem; }
.cond { background: var(--paper); padding: 1.6rem clamp(1.25rem, 3vw, 2rem); display: grid;
  grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.cond::before { counter-increment: c; content: counter(c, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.1rem; color: var(--gold); padding-top: .15rem; }
.cond h3 { font-size: 1.15rem; margin-bottom: .3em; }
.cond p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* --- form --------------------------------------------------------------- */
.form-wrap { background: var(--cream); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.5rem; }
.field { margin-bottom: 1.5rem; }
.field label, .fieldset-legend { display: block; font-size: .9rem; font-weight: 500;
  color: var(--green-900); margin-bottom: .5rem; }
.field .opt { font-weight: 400; color: var(--sage); font-size: .82rem; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 9px; padding: .8rem .95rem;
  transition: border-color .16s ease, box-shadow .16s ease; }
input:focus, textarea:focus { outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 22%, transparent); }
textarea { min-height: 150px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B4472F; }
.err { display: none; color: #B4472F; font-size: .85rem; margin-top: .4rem; }
input[aria-invalid="true"] ~ .err, textarea[aria-invalid="true"] ~ .err { display: block; }

fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.radios { display: grid; gap: .6rem; }
.radio { display: flex; gap: .75rem; align-items: flex-start; padding: .95rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 9px; background: var(--paper); cursor: pointer;
  transition: border-color .16s ease, background .16s ease; }
.radio:hover { border-color: var(--sage-dim); }
.radio:has(input:checked) { border-color: var(--sage); background: color-mix(in srgb, var(--sage) 8%, var(--paper)); }
.radio input { margin-top: .28rem; accent-color: var(--green); flex: none; }
.radio span { font-size: .97rem; }

.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .two-up { grid-template-columns: 1fr; gap: 0; } }

.drop { border: 1.5px dashed var(--sage-dim); border-radius: 9px; background: var(--paper);
  padding: 1.6rem 1.25rem; text-align: center; cursor: pointer; display: block;
  transition: border-color .16s ease, background .16s ease; }
.drop:hover, .drop[data-drag="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 7%, var(--paper)); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .dl { font-weight: 500; color: var(--green); display: block; margin-bottom: .3rem; }
.drop .dh { font-size: .84rem; color: var(--ink-soft); }
.filechip { display: none; align-items: center; gap: .7rem; margin-top: .8rem; padding: .7rem .9rem;
  background: var(--paper); border: 1.5px solid var(--sage); border-radius: 9px; font-size: .9rem; }
.filechip[data-has="true"] { display: flex; }
.filechip .fn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filechip button { background: none; border: 0; color: var(--ink-soft); cursor: pointer; font-size: 1.3rem;
  line-height: 1; padding: 0 .2rem; }
.filechip button:hover { color: #B4472F; }

.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.consent input { margin-top: .3rem; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; }

.form-status { display: none; border-radius: 9px; padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; }
.form-status[data-show="true"] { display: block; }
.form-status h3 { font-size: 1.2rem; margin-bottom: .3em; }
.form-status p { margin: 0; font-size: .95rem; }
.form-status.ok { background: color-mix(in srgb, var(--sage) 16%, var(--paper)); border: 1.5px solid var(--sage); }
.form-status.bad { background: #FBEEEA; border: 1.5px solid #D9A08E; }
.form-status.bad h3 { color: #8E3722; }
.privacy-note { font-size: .85rem; color: var(--ink-soft); margin-top: 1.25rem; }

/* --- contact card ------------------------------------------------------- */
.contact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem;
  margin-top: 1.5rem; }
.contact-list dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage);
  margin-bottom: .35rem; }
.contact-list dd { margin: 0; font-size: 1.05rem; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band { background: var(--green); color: var(--cream); border-radius: var(--r);
  padding: clamp(2.25rem, 5vw, 4rem); text-align: center; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: color-mix(in srgb, var(--cream) 80%, transparent); max-width: 52ch;
  margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn { background: var(--gold); border-color: var(--gold); color: #2B2410; }
.cta-band .btn:hover { background: var(--gold-dim); border-color: var(--gold-dim); color: #2B2410; }

/* --- footer ------------------------------------------------------------- */
.site-footer { background: var(--green-900); color: color-mix(in srgb, var(--cream) 78%, transparent);
  margin-top: clamp(3.5rem, 8vw, 7rem); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer h2 { color: var(--cream); font-size: 1.1rem; font-family: var(--sans); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.2rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer a { color: color-mix(in srgb, var(--cream) 78%, transparent); text-decoration: none; }
.site-footer a:hover { color: var(--gold-dim); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .95rem; }
.foot-brand svg { height: 42px; width: auto; margin-bottom: 1rem; }
.foot-brand p { font-size: .95rem; max-width: 34ch; }
.foot-bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--cream) 15%, transparent);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; }

/* dark-mode: keep the dark bands readable when tokens invert */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .promise,
  :root:not([data-theme="light"]) .cta-band { background: #21301F; }
  :root:not([data-theme="light"]) .promise h2,
  :root:not([data-theme="light"]) .cta-band h2 { color: #EFF3EC; }
  :root:not([data-theme="light"]) .site-footer { background: #101613; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .form-wrap, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Link back to the parent site at gratierne.com. */
.site-footer a.parent-site { white-space: nowrap; }
.site-footer a.parent-site::after { content: "\2009\2197"; }
