/* ==========================================================================
   Taruveda Xtracts LLP — Design System
   Brand colours taken from logo: #B79044 (gold), #3C3D39 (ink)
   ========================================================================== */

:root {
  /* Brand */
  --gold:        #B79044;
  --gold-deep:   #96742F;
  --gold-light:  #D4B677;
  --ink:         #3C3D39;
  --ink-deep:    #24251F;

  /* Neutrals */
  --sand:        #F7F4EC;
  --sand-deep:   #EEE8DA;
  --paper:       #FFFFFF;
  --line:        #E2DCCC;
  --muted:       #6E6F68;

  /* Accent */
  --leaf:        #4A5B43;

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 48px);
  --radius: 4px;

  --shadow-sm: 0 1px 2px rgba(36,37,31,.06), 0 4px 12px rgba(36,37,31,.04);
  --shadow-md: 0 2px 6px rgba(36,37,31,.07), 0 12px 32px rgba(36,37,31,.07);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-deep);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .9rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--muted); line-height: 1.6; }
.measure { max-width: 68ch; }
.center { text-align: center; }
.center .measure { margin-inline: auto; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
section { padding: clamp(56px, 8vw, 104px) 0; }
.section--sand { background: var(--sand); }
.section--ink  { background: var(--ink-deep); color: #DCDCD5; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .eyebrow { color: var(--gold-light); }
.section--ink .lead { color: #B9BAB1; }
/* .muted is too dark to sit on the ink background */
.section--ink .muted { color: #B9BAB1; }
.section--ink .small.muted { color: #B9BAB1; }
/* tables keep a white surface inside dark sections, so reset the inherited text colour */
.section--ink .data-table,
.section--ink .data-table td,
.section--ink .data-table th { color: var(--ink); }
.section--ink .data-table caption { color: var(--muted); }
.section--ink .note-onink { color: #9FA098; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-size: .93rem; font-weight: 600;
  letter-spacing: .01em;
  padding: .85em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--gold-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--onink { border-color: rgba(255,255,255,.32); color: #fff; background: transparent; }
.btn--onink:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 74px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand svg, .brand img { height: 40px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .92rem; font-weight: 500; color: var(--ink);
  padding: .5em .8em; border-radius: var(--radius);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--gold-deep); background: var(--sand); text-decoration: none; }
.nav a.is-active { color: var(--gold-deep); font-weight: 600; }
.nav .btn { margin-left: 10px; padding: .68em 1.15em; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px var(--gut) 28px;
    gap: 2px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav[data-open="true"] { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8em .4em; border-bottom: 1px solid var(--sand-deep); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; justify-content: center; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 520px at 88% -12%, rgba(183,144,68,.14), transparent 62%),
    linear-gradient(180deg, var(--sand) 0%, #FBF9F4 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 9vw, 116px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 54ch; }

.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2px; margin-top: clamp(40px, 6vw, 64px);
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.hero-stats div { background: #FDFCF9; padding: 22px 24px; }
.hero-stats strong {
  display: block; font-family: var(--serif); font-size: 1.75rem;
  font-weight: 600; color: var(--ink-deep); line-height: 1.1;
}
.hero-stats span { font-size: .82rem; color: var(--muted); letter-spacing: .01em; }

.page-hero {
  background: linear-gradient(180deg, var(--sand) 0%, #FBF9F4 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }

.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card--hover:hover { border-color: var(--gold-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card--flat { background: var(--sand); border-color: transparent; }
.section--sand .card { background: var(--paper); }
.section--ink .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.13); }
.section--ink .card p { color: #B9BAB1; }

.card-icon {
  width: 40px; height: 40px; margin-bottom: 18px;
  color: var(--gold);
}
.card-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }

.numbered { counter-reset: step; }
.numbered .card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 1.5rem;
  color: var(--gold); margin-bottom: .4rem; line-height: 1;
}

/* ---------- Product cards ---------- */
.product-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-card:hover { border-color: var(--gold-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* whole-card link (homepage portfolio preview) */
a.product-card { color: inherit; text-decoration: none; }
a.product-card:hover,
a.product-card:hover h3 { text-decoration: none; }
a.product-card:hover h3 { color: var(--gold-deep); }
a.product-card:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183,144,68,.22);
}
.product-card__media {
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .product-card:hover .product-card__media img { transform: none; }
}

.product-card__top {
  padding: 22px 26px 18px;
  background: linear-gradient(135deg, var(--sand) 0%, #FBF8F1 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-card__top h3 { margin-bottom: .2em; font-size: 1.22rem; }
.product-card__latin { font-size: .82rem; font-style: italic; color: var(--muted); }
.product-card__body { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.product-card__body p { font-size: .93rem; color: var(--muted); margin: 0; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .85rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; color: var(--ink-deep); }

/* ---------- Certification badges ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.cert {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px;
  padding: 26px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.section--sand .cert { background: var(--paper); }
.cert:hover { border-color: var(--gold-light); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.cert__mark {
  display: grid; place-items: center;
  width: 62px; height: 62px; margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(183,144,68,.16) 0%, rgba(183,144,68,.07) 100%);
  border: 1px solid rgba(183,144,68,.30);
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-align: center; line-height: 1.05;
  flex: 0 0 auto; overflow: hidden;
}
.cert__mark img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }

.cert h3 { font-size: 1.02rem; font-family: var(--sans); font-weight: 600; margin: 0 0 2px; letter-spacing: 0; }
.cert__body { font-size: .86rem; color: var(--muted); margin: 0; }
.cert__no {
  margin: 8px 0 0; font-size: .78rem; font-weight: 600;
  color: var(--ink-deep); font-variant-numeric: tabular-nums;
}
.cert__note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 4px; }
.tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold-deep); background: rgba(183,144,68,.11);
  padding: .35em .7em; border-radius: 100px;
}
.tag--leaf { color: var(--leaf); background: rgba(74,91,67,.11); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { min-width: 640px; font-size: .92rem; background: var(--paper); }
.data-table caption { text-align: left; padding: 16px 20px; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.data-table th, .data-table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--sand-deep); vertical-align: top; }
.data-table thead th {
  background: var(--sand); font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #FDFCF8; }
.data-table td strong { color: var(--ink-deep); }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 30px; font-size: .96rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 15px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.section--ink .ticks li::before { border-color: var(--gold-light); }

.kv { list-style: none; padding: 0; margin: 0; }
.kv li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.kv li:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv strong { color: var(--ink-deep); text-align: right; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 26px 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
}
.timeline h4 { margin-bottom: .25em; }
.timeline p { font-size: .93rem; color: var(--muted); margin: 0; }
.timeline .when {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .3em;
}

/* ---------- Leadership (alternating portrait rows) ---------- */
.leader {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
}
.leader:first-of-type { border-top: 0; padding-top: 0; }
.leader:nth-of-type(even) .leader__media { order: 2; }

.leader__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand-deep);
}
.leader__media img { width: 100%; height: 100%; object-fit: cover; }
.leader__media::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(36,37,31,.09);
  border-radius: var(--radius); pointer-events: none;
}

.leader__role {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .7rem;
}
.leader h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .5rem; }
.leader__lede { font-size: 1.05rem; color: var(--ink); margin-bottom: 1rem; }
.leader p { font-size: .96rem; color: var(--muted); }

.leader__facts {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.leader__facts li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 4px 18px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem;
}
.leader__facts dt, .leader__facts .k {
  color: var(--muted); font-size: .78rem; letter-spacing: .07em;
  text-transform: uppercase; padding-top: .15em;
}
.leader__facts .v { color: var(--ink-deep); }

@media (max-width: 860px) {
  .leader { grid-template-columns: 1fr; gap: 24px; }
  .leader:nth-of-type(even) .leader__media { order: 0; }
  .leader__media { max-width: 320px; }
  .leader__facts li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Person ---------- */
.person { display: grid; grid-template-columns: 84px 1fr; gap: 22px; align-items: start; }
.person__avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.6rem; color: #fff; letter-spacing: .02em;
}
.person__role { font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5em; }
.person p { font-size: .94rem; color: var(--muted); }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink-deep);
  background-image: radial-gradient(760px 380px at 82% 0%, rgba(183,144,68,.20), transparent 60%);
  color: #DCDCD5;
  padding: clamp(52px, 7vw, 84px) 0;
}
.cta-band h2, .cta-band h3, .cta-band h4 { color: #fff; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: #B9BAB1; max-width: 56ch; }
.cta-band .muted { color: #B9BAB1; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

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

.field { display: flex; flex-direction: column; min-width: 0; }
/* child combinator only — must not catch the chip labels nested inside */
.field > label:not(.sr-only), .field > legend {
  display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px; padding: 0;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  line-height: 1.4;
  height: 46px;                       /* lock input and select to the same height */
  padding: 0 .9em;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
/* reset the native select so it matches the inputs beside it */
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%236E6F68' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 11px 7px;
  cursor: pointer;
}
.field textarea {
  height: auto; min-height: 104px; resize: vertical;
  padding: .72em .9em;
}
.field input::placeholder, .field textarea::placeholder { color: #A3A49C; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183,144,68,.16);
}
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }

fieldset.field { border: 0; margin: 0; }

/* show the select's empty state in placeholder grey to match the inputs */
.field select:has(option[value=""]:checked) { color: #A3A49C; }

/* interest chips — far more compact than a stacked checkbox list */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; margin: 0; }
.chip input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.chip span {
  display: inline-block;
  padding: .48em .95em;
  font-size: .86rem; line-height: 1.35; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 100px;
  cursor: pointer; user-select: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip span:hover { border-color: var(--gold-light); color: var(--gold-deep); }
.chip input:checked + span {
  background: rgba(183,144,68,.13);
  border-color: var(--gold);
  color: var(--gold-deep);
  font-weight: 600;
}
.chip input:focus-visible + span {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183,144,68,.18);
}

.form-note {
  font-size: .84rem; color: var(--muted);
  background: var(--sand); border-left: 3px solid var(--gold);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #A9AAA2; padding: clamp(48px, 6vw, 72px) 0 28px; font-size: .92rem; }
.site-footer a { color: #A9AAA2; }
.site-footer a:hover { color: var(--gold-light); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .brand svg { height: 38px; }
.site-footer p { font-size: .9rem; line-height: 1.6; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.11);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: .82rem; color: #9FA098;
}

/* ---------- Utility ---------- */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 2.8rem; }
.mb-0 { margin-bottom: 0; }
.small { font-size: .86rem; }
.muted { color: var(--muted); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
