/* ==========================================================================
   Equinox Springs Trading — "Fresh Green"
   Light system: green-cast paper grounds, white surfaces, deep-green inverted
   panels (footer, CTA, contact), ghosted logo watermarks in ink, 3D parallax.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* ground — paper whites carrying a green cast */
  --ink-950: #e4f0e2;
  --ink-900: #f6faf4;
  --ink-850: #eef6ec;
  --ink-800: #e4f0e1;
  --ink-750: #d7ead3;
  --ink-700: #c9e2c5;

  /* deep greens for the inverted panels (footer, CTA band, contact card) */
  --deep-900: #14301d;
  --deep-800: #1d4527;
  --deep-700: #275733;
  --on-deep: #eef7ec;
  --on-deep-muted: #b1cdb7;

  /* brand greens — 400 is the readable one, 600 the bright decorative one */
  --sage-400: #2e7d43;
  --sage-500: #3f9a58;
  --sage-600: #62c47c;
  --sage-100: #dcf0de;

  --tan-300: #b98455;
  --tan-400: #8b5e3c;
  --tan-500: #6f4a2f;

  /* on paper a pale gold vanishes, so the "300" step is brown ink instead */
  --gold-300: #8b5e3c;
  --gold-400: #8a6414;
  --gold-500: #c9a227;

  --text: #16241a;
  --text-soft: #3d5143;
  --text-muted: #5f7264;
  --text-faint: #5c6f62;

  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .92);
  --edge: rgba(24, 66, 34, .13);
  --edge-strong: rgba(24, 66, 34, .22);
  --hairline: rgba(46, 125, 67, .3);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-deep: 0 26px 60px rgba(24, 66, 34, .13);
  --shadow-lift: 0 14px 34px rgba(24, 66, 34, .10);
  --glow-sage: 0 0 40px rgba(98, 196, 124, .34);
  --glow-gold: 0 0 34px rgba(201, 162, 39, .24);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 78px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--ink-950);
  /* clip, not hidden: decorative art that bleeds past the edge must never
     widen the document or turn into a horizontal scrollbar */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(.98rem, .95rem + .16vw, 1.05rem);
  line-height: 1.72;
  color: var(--text-soft);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* the ambient field that sits under every page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(72% 58% at 80% 4%, rgba(98, 196, 124, .30), transparent 64%),
    radial-gradient(62% 52% at 2% 94%, rgba(185, 132, 85, .16), transparent 62%),
    radial-gradient(90% 80% at 50% 46%, rgba(255, 255, 255, .85), transparent 70%),
    var(--ink-900);
  pointer-events: none;
}

/* fine grain so the large flat tints never band */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .26;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -.028em;
  margin: 0 0 .6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 1.5rem + 3.5vw, 4.35rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.15rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.32rem); letter-spacing: -.015em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.15rem; }

a {
  color: var(--sage-400);
  text-decoration: none;
  transition: color .25s var(--ease);
}
a:hover { color: var(--gold-300); }

ul { margin: 0; padding: 0; }

strong { color: var(--text); font-weight: 600; }

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

::selection { background: var(--sage-400); color: #fff; }

/* ---------------------------------------------------------------- layout */
.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.wrap--narrow { width: min(840px, 100% - var(--gutter) * 2); }

.section {
  position: relative;
  padding-block: var(--section-y);
  isolation: isolate;
}

/* hairline rule between sections */
.section + .section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline) 22%,
      var(--hairline) 78%, transparent);
}

/* giant ghosted emblem bleeding off the edge — the signature of this design */
.section--wm::after,
.section--sand::after,
.section--tint::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14%;
  top: 50%;
  translate: 0 -50%;
  width: min(940px, 78vw);
  aspect-ratio: 1.35 / 1;
  background: url("../img/logo-watermark-ink.webp") center / contain no-repeat;
  opacity: .05;
  pointer-events: none;
}

.section--tint::after { right: auto; left: -18%; opacity: .04; }

.section--sand {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .75), transparent 48%),
    var(--ink-850);
}

.section--deep { background: var(--ink-950); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--sage-400);
  color: #fff;
  font-weight: 600;
  padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 250, 244, .72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}

.site-header.is-stuck {
  background: rgba(246, 250, 244, .93);
  border-bottom-color: var(--edge);
  box-shadow: 0 14px 36px rgba(24, 66, 34, .09);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(24, 66, 34, .16));
  transition: transform .55s var(--ease-out);
}
.brand:hover img { transform: scale(1.06) rotate(-2deg); }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.01em;
  color: var(--text);
}
.brand-name em { font-style: normal; color: var(--gold-400); }

.brand-sub {
  font-size: .58rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: .3rem;
}

.nav { margin-left: auto; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(.3rem, 1.2vw, .9rem);
}

.nav-list a {
  position: relative;
  display: block;
  padding: .5rem .7rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color .3s var(--ease), background .3s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .1rem;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--sage-500), var(--gold-400));
  translate: -50% 0;
  transition: width .38s var(--ease-out);
}

.nav-list a:hover { color: var(--text); background: var(--glass); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { width: 58%; }
.nav-list a[aria-current="page"] { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid var(--edge);
  background: var(--glass);
  transition: transform .3s var(--ease), background .3s var(--ease),
    color .3s var(--ease), border-color .3s var(--ease);
}
.icon-link:hover {
  transform: translateY(-2px);
  background: var(--sage-400);
  border-color: var(--sage-400);
  color: #fff;
}
.icon-link svg { width: 17px; height: 17px; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--edge);
  border-radius: 11px;
  background: var(--glass);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .34s var(--ease-out), opacity .2s linear;
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  border: 0;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .005em;
  color: #fff;
  background: linear-gradient(135deg, #3a8f51, #24663a);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 12px 26px rgba(36, 102, 58, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .34s var(--ease-out), box-shadow .34s var(--ease-out);
}

/* sheen sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 50%,
      transparent 70%);
  translate: -120% 0;
  transition: translate .7s var(--ease-out);
}

.btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(36, 102, 58, .34), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn:hover::after { translate: 120% 0; }
.btn:active { transform: translateY(-1px); }

.btn svg { width: 17px; height: 17px; position: relative; z-index: 2; }
.btn > * { position: relative; z-index: 2; }

.btn--ghost {
  color: var(--sage-400);
  background: #fff;
  border: 1px solid var(--edge-strong);
  box-shadow: var(--shadow-lift);
  backdrop-filter: none;
}
.btn--ghost:hover {
  color: var(--tan-400);
  background: #fff;
  border-color: var(--hairline);
  box-shadow: 0 16px 32px rgba(24, 66, 34, .14);
}

.btn--gold {
  color: #2a1d05;
  background: linear-gradient(135deg, #e8c05c, var(--gold-500));
  box-shadow: 0 14px 34px rgba(201, 162, 39, .32), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn--gold:hover { color: #2a1d05; box-shadow: 0 22px 46px rgba(201, 162, 39, .42); }

.btn--light {
  color: #05100a;
  background: linear-gradient(135deg, #fff, #dfe8e0);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}
.btn--light:hover { color: #05100a; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.1rem;
}

/* ---------------------------------------------------------------- eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.eyebrow--light { color: var(--sage-600); }

.section-head { max-width: 760px; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lead {
  font-size: clamp(1.04rem, 1rem + .38vw, 1.24rem);
  color: var(--text-soft);
  line-height: 1.68;
}

.muted { color: var(--text-muted); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7.5rem) clamp(4rem, 9vw, 8rem);
}

/* the emblem, enormous, bleeding off the right edge */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -22%;
  top: 44%;
  translate: 0 -50%;
  width: min(1250px, 108vw);
  aspect-ratio: 1.35 / 1;
  background: url("../img/logo-watermark-ink.webp") center / contain no-repeat;
  opacity: .06;
  pointer-events: none;
  animation: drift 26s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { translate: 0 -50%; }
  50% { translate: -2.4% -53%; }
}

/* gold horizon line */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline) 30%,
      rgba(216, 178, 90, .5) 50%, var(--hairline) 70%, transparent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.3rem; }

.hero h1 .accent {
  background: linear-gradient(100deg, #3f9a58 0%, #2e7d43 52%, #8b5e3c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead { max-width: 35rem; color: var(--text-soft); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.3rem;
  list-style: none;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-soft);
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 100px;
  backdrop-filter: blur(10px);
}

.hero-badges svg { width: 14px; height: 14px; color: var(--sage-400); }

/* ---------------------------------------------------------------- 3D stage */
.stage {
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  min-height: clamp(360px, 44vw, 560px);
  display: grid;
  place-items: center;
}

.stage-inner {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease-out);
  will-change: transform;
}

.stage-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(46, 125, 67, .26);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orbit--1 { inset: 2%; transform: rotateX(74deg) translateZ(-30px); }
.orbit--2 {
  inset: 15%;
  border-color: rgba(176, 134, 42, .34);
  border-style: dashed;
  transform: rotateX(70deg) rotateZ(28deg) translateZ(-6px);
}
.orbit--3 {
  inset: -8%;
  border-color: rgba(46, 125, 67, .14);
  transform: rotateX(78deg) rotateZ(-18deg) translateZ(-58px);
}

.orbit-spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: spin-z 32s linear infinite;
}
.orbit-spin--slow { animation-duration: 52s; animation-direction: reverse; }
@keyframes spin-z { to { transform: rotateZ(1turn); } }

/* luminous bloom behind the emblem */
.glow {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(98, 196, 124, .48),
      rgba(46, 125, 67, .14) 48%, transparent 70%);
  filter: blur(34px);
  transform: translateZ(-110px);
  animation: pulse 9s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: .8; scale: 1; }
  50% { opacity: 1; scale: 1.07; }
}

.stage-logo {
  position: relative;
  width: 84%;
  /* the <picture> wrapper stretches to the grid area, so a percentage-width
     image inside it would otherwise sit flush left rather than centred */
  margin-inline: auto;
  transform: translateZ(78px);
  filter: drop-shadow(0 26px 40px rgba(24, 66, 34, .22));
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateZ(78px) translateY(0); }
  50% { transform: translateZ(78px) translateY(-16px); }
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .95rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--edge);
  box-shadow: 0 14px 30px rgba(24, 66, 34, .14);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--text);
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.chip svg { width: 15px; height: 15px; color: var(--sage-400); }

.chip--sea { top: 11%; left: -8%; transform: translateZ(130px); animation: bob 7s ease-in-out infinite; }
.chip--air { top: 2%; right: -6%; transform: translateZ(160px); animation: bob 8s ease-in-out infinite .6s; }
.chip--road { bottom: 15%; right: -10%; transform: translateZ(140px); animation: bob 8.6s ease-in-out infinite 1.2s; }
.chip--hub { bottom: 4%; left: 0%; transform: translateZ(110px); animation: bob 7.6s ease-in-out infinite .3s; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  --card-pad: clamp(1.5rem, 2.6vw, 2.15rem);
  position: relative;
  padding: var(--card-pad);
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out),
    border-color .5s var(--ease), background .5s var(--ease);
}

/* light rake across the top edge */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--edge-strong) 40%,
      var(--hairline) 60%, transparent);
}

/* gold corner tick */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background:
    linear-gradient(225deg, rgba(216, 178, 90, .22) 0%, transparent 58%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.card:hover {
  transform: translateY(-7px);
  border-color: var(--edge-strong);
  background: #fff;
  box-shadow: var(--shadow-deep);
}
.card:hover::after { opacity: 1; }

.card h3 { margin-bottom: .55rem; }
.card p { color: var(--text-muted); }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.3rem;
  border-radius: 14px;
  color: var(--sage-400);
  background: linear-gradient(150deg, var(--sage-100), #fff);
  border: 1px solid var(--edge);
  box-shadow: none;
  transition: transform .55s var(--ease-out), color .4s var(--ease),
    background .4s var(--ease), box-shadow .4s var(--ease);
}

.card-icon svg { width: 24px; height: 24px; }

.card:hover .card-icon {
  transform: translateY(-3px) rotateY(16deg) rotateX(-8deg) scale(1.06);
  color: var(--gold-300);
  background: linear-gradient(150deg, #f7e9c4, #fff);
  box-shadow: var(--glow-gold);
}

/* full-bleed scene image at the head of a card; the mask fades its lower edge
   into the card surface so there is no hard seam above the heading */
.card-media {
  width: calc(100% + var(--card-pad) * 2);
  /* the global img rule caps width at the content box, which would undo the
     negative margins and leave the art inset on the right */
  max-width: none;
  height: clamp(132px, 15vw, 172px);
  margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 1.35rem;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  /* `scale` rather than `transform`, which .tilt > * already uses for depth */
  scale: 1;
  transition: scale .6s var(--ease-out), filter .6s var(--ease);
  filter: saturate(.95);
}

.card:hover .card-media {
  scale: 1.045;
  filter: saturate(1.1) brightness(1.06);
}

.card-num {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--gold-400);
  margin-bottom: .9rem;
}

.tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg))
    translateY(var(--tz, 0px));
}
.tilt > * { transform: translateZ(30px); }

.service-card { display: flex; flex-direction: column; }
.service-card ul { list-style: none; margin-top: 1.15rem; display: grid; gap: .5rem; }
.service-card li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(216, 178, 90, .14);
}

/* gold-ticked checklist, used inside cards */
.tick-list { list-style: none; display: grid; gap: .7rem; margin-top: 1.2rem; }

.tick-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .93rem;
  color: var(--text-muted);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 11px;
  height: 6px;
  border-left: 1.6px solid var(--gold-400);
  border-bottom: 1.6px solid var(--gold-400);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------- split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split-media { order: 2; }

.split-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-deep);
  background:
    radial-gradient(90% 80% at 30% 20%, rgba(63, 141, 85, .3), transparent 62%),
    linear-gradient(160deg, var(--ink-750), var(--ink-950));
  aspect-ratio: 4 / 3.4;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* the old cream plate is now a lit glass pedestal */
.plate {
  position: relative;
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-deep);
  display: grid;
  place-items: center;
}

.plate::after {
  content: "";
  position: absolute;
  inset: auto 12% -34px 12%;
  height: 60px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(143, 211, 160, .3), transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

.plate img { width: min(100%, 300px); }

/* ---------------------------------------------------------------- strip */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.strip > div {
  background: #fff;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  transition: background .4s var(--ease);
}
.strip > div:hover { background: var(--ink-850); }

.strip dt {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}
.strip dd { margin: 0; font-size: .88rem; color: var(--text-muted); }

/* ---------------------------------------------------------------- founder */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 350px) 1fr;
  gap: clamp(1.8rem, 4vw, 3.6rem);
  align-items: start;
}

.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--edge);
  background:
    radial-gradient(110% 70% at 32% 18%, rgba(63, 141, 85, .34), transparent 62%),
    linear-gradient(165deg, var(--ink-750), var(--ink-950));
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-muted);
  box-shadow: var(--shadow-deep);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.portrait:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep), var(--glow-sage); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.portrait-placeholder { padding: 2rem; }
.portrait-placeholder svg {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  color: rgba(143, 211, 160, .5);
}
.portrait-placeholder span {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.portrait-caption {
  margin-top: 1.1rem;
  font-size: .86rem;
  color: var(--text-muted);
  text-align: center;
}

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: .25rem;
}

.founder-role {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.pullquote {
  position: relative;
  margin: 2.2rem 0 0;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--edge);
  border-left: 2px solid var(--gold-400);
  background: linear-gradient(100deg, rgba(216, 178, 90, .08), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
}

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; display: grid; gap: .85rem; counter-reset: step; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.6rem 1.7rem;
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  transition: transform .45s var(--ease-out), border-color .45s var(--ease),
    background .45s var(--ease);
}

.step:hover {
  transform: translateX(8px);
  border-color: var(--hairline);
  background: #fff;
  box-shadow: var(--shadow-lift);
}

.step-num {
  counter-increment: step;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 600;
  color: var(--sage-400);
  background: var(--sage-100);
  border: 1px solid var(--hairline);
}
.step-num::before { content: counter(step, decimal-leading-zero); }

.step h3 { margin-bottom: .35rem; font-size: 1.06rem; }
.step p { margin: 0; font-size: .92rem; color: var(--text-muted); }

/* ---------------------------------------------------------------- marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.4rem;
  border-block: 1px solid var(--edge);
  background: var(--ink-850);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.8rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2.8rem;
  transition: color .3s var(--ease);
}
.marquee-track span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-400);
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(70% 120% at 20% 50%, rgba(98, 196, 124, .20), transparent 60%),
    linear-gradient(120deg, var(--deep-800), var(--deep-900));
}

.cta-band::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -8%;
  top: 50%;
  translate: 0 -50%;
  width: min(720px, 62vw);
  aspect-ratio: 1.35 / 1;
  background: url("../img/logo-watermark.webp") center / contain no-repeat;
  opacity: .07;
  pointer-events: none;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-deep-muted); }

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2.5rem;
  align-items: center;
}

.cta-band .btn-row { margin-top: 0; }

/* ---------------------------------------------------------------- forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.form-card {
  padding: clamp(1.6rem, 3.4vw, 2.8rem);
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field label .req { color: var(--gold-400); }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  padding: .85rem 1rem;
  background: var(--ink-900);
  border: 1px solid var(--edge-strong);
  border-radius: var(--radius-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
    background .25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.field textarea { resize: vertical; min-height: 150px; }

.field select {
  appearance: none;
  color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7d43' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 17px;
  padding-right: 2.5rem;
}
.field select option { background: #fff; color: var(--text); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--sage-500);
  box-shadow: 0 0 0 3px rgba(63, 154, 88, .18);
}

.field .error { font-size: .76rem; color: #b23c1e; min-height: 1rem; }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #d2664a;
  box-shadow: 0 0 0 3px rgba(210, 102, 74, .14);
}

.form-note { margin-top: 1.3rem; font-size: .82rem; color: var(--text-faint); }

.form-status {
  margin-top: 1.1rem;
  padding: .95rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: .89rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok {
  background: var(--sage-100);
  color: #1f5c30;
  border: 1px solid rgba(63, 154, 88, .38);
}
.form-status--err {
  background: #fdeee9;
  color: #9c3317;
  border: 1px solid rgba(178, 60, 30, .3);
}

/* contact details panel */
.info-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(90% 70% at 90% 4%, rgba(201, 162, 39, .18), transparent 60%),
    linear-gradient(165deg, var(--deep-700), var(--deep-900));
  color: var(--on-deep);
  box-shadow: var(--shadow-deep);
}

.info-card h3 { color: #fff; }
.info-card > p { color: var(--on-deep-muted); }

.info-list { list-style: none; display: grid; gap: 1.4rem; margin-top: 1.7rem; }
.info-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }

.info-list .ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #edcf8f;
}
.info-list .ico svg { width: 18px; height: 18px; }

.info-list dt,
.info-list .label {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-deep-muted);
  margin-bottom: .2rem;
}

.info-list a,
.info-list .val {
  color: #fff;
  font-weight: 500;
  font-size: .96rem;
  line-height: 1.5;
}
.info-list a:hover { color: #edcf8f; }

.reg-note {
  margin-top: 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .17);
  font-size: .78rem;
  color: var(--on-deep-muted);
}

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: .7rem; }

.faq details {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.faq details[open] { border-color: var(--hairline); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 3.2rem 1.2rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--gold-400);
  border-bottom: 1.5px solid var(--gold-400);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .35s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq .faq-body { padding: 0 1.6rem 1.5rem; color: var(--text-muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.4rem, 6vw, 6rem) clamp(2.8rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--edge);
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -14%;
  top: 50%;
  translate: 0 -50%;
  width: min(860px, 80vw);
  aspect-ratio: 1.35 / 1;
  background: url("../img/logo-watermark-ink.webp") center / contain no-repeat;
  opacity: .055;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 2.5rem;
  align-items: center;
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--text-faint);
  margin-bottom: 1.3rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb li::after { content: "/"; margin-left: .5rem; opacity: .45; }
.breadcrumb li:last-child::after { content: ""; }

.page-hero-art {
  justify-self: end;
  width: min(100%, 290px);
  filter: drop-shadow(0 20px 36px rgba(24, 66, 34, .20));
  animation: float-soft 9s ease-in-out infinite;
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(1.4deg); }
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  position: relative;
  color: var(--on-deep);
  background: linear-gradient(170deg, var(--deep-800), var(--deep-900));
  border-top: 1px solid var(--edge);
  padding-block: clamp(3.2rem, 6vw, 5rem) 0;
  overflow: hidden;
}

/* enormous emblem sunk into the footer floor */
.site-footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -34%;
  translate: -50% 0;
  width: min(1150px, 116vw);
  aspect-ratio: 1.35 / 1;
  background: url("../img/logo-watermark.webp") center / contain no-repeat;
  opacity: .04;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3rem);
}

.footer-brand .plate {
  padding: 1rem 1.3rem;
  width: fit-content;
  border-radius: var(--radius);
}
.footer-brand .plate::after { display: none; }
.footer-brand .plate img { width: 170px; }

.footer-tagline {
  margin-top: 1.4rem;
  color: var(--on-deep-muted);
  max-width: 31ch;
  font-size: .93rem;
}

/* scoped to beat `.footer-col ul { display: grid }` — the brand column carries
   both classes, so a single-class selector loses and the icons stack */
.footer-col .footer-social {
  display: flex;
  gap: .55rem;
  margin-top: 1.6rem;
  list-style: none;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--on-deep);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  transition: transform .3s var(--ease), background .3s var(--ease),
    color .3s var(--ease), border-color .3s var(--ease);
}
.footer-social a:hover {
  transform: translateY(-3px);
  background: var(--sage-600);
  color: var(--deep-900);
  border-color: var(--sage-600);
}
.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.footer-col ul { list-style: none; display: grid; gap: .7rem; }
.footer-col a,
.footer-col .val { color: var(--on-deep-muted); font-size: .91rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.6rem, 5vw, 3.6rem);
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--on-deep-muted);
}
.footer-bottom a { color: var(--on-deep-muted); }
.footer-bottom a:hover { color: #fff; }

/* ---------------------------------------------------------------- reveal
   Scoped to .js so that with JavaScript unavailable the content is simply
   visible rather than stuck at opacity 0. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.js .reveal--left { transform: translateX(-32px); }
.js .reveal--right { transform: translateX(32px); }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { order: -1; min-height: 330px; }
  .stage-inner { width: min(100%, 390px); }
  /* pull the outermost ring inside the column — at narrow widths its negative
     inset is what pushes the document wider than the viewport */
  .orbit--3 { inset: 1%; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-art { display: none; }
}

@media (max-width: 860px) {
  .burger { display: grid; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    /* fully opaque: a translucent panel relying on backdrop-filter lets the
       hero art show through wherever that filter is unsupported or disabled */
    background: #fff;
    border-bottom: 1px solid var(--edge);
    box-shadow: 0 22px 50px rgba(24, 66, 34, .16);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease-out), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem var(--gutter) 1.5rem;
  }
  .nav-list li { border-bottom: 1px solid var(--edge); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a { padding: 1rem .2rem; font-size: 1rem; border-radius: 0; }
  .nav-list a::after { display: none; }

  .header-actions .btn { display: none; }

  .grid--3, .grid--2, .split, .contact-layout, .founder, .cta-inner {
    grid-template-columns: 1fr;
  }
  .split--reverse .split-media { order: 0; }
  .founder { max-width: 640px; }
  .portrait { max-width: 350px; }

  /* touch targets: inline links sit at ~18px tall, which is too small to hit
     reliably on a phone. Give the list links a proper 44px hit area. */
  .footer-col ul a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-bottom a,
  .breadcrumb a,
  .info-list a {
    display: inline-block;
    padding-block: .55rem;
  }

  /* The <picture> swaps in the wordmark-free emblem here, which is a wider,
     shorter image — so override the aspect ratio the img's width/height
     attributes imply, or the box reserves the tall lockup's shape. */
  .stage-logo {
    width: 88%;
    aspect-ratio: 460 / 341;
  }

  /* Keep the pills inside the gutter. The stage is only as wide as the content
     column here, and perspective magnifies anything pushed toward the viewer
     (1400/(1400-130) ≈ 1.10x), which threw the pills past the screen edge — so
     pull the Z depth back as well as insetting them. */
  .chip { font-size: .7rem; padding: .45rem .8rem; }
  .chip--sea { top: 4%; left: 4%; transform: translateZ(55px); }
  .chip--air { top: 0; right: 4%; transform: translateZ(65px); }
  .chip--road { top: auto; bottom: 4%; right: 4%; transform: translateZ(55px); }
  .chip--hub { display: none; }
}

@media (max-width: 620px) {
  .grid--4 { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta-band .btn { width: auto; }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .stage-inner { transform: none !important; }
  .stage-logo { animation: none; transform: translateZ(78px); }
}

@media print {
  .site-header, .site-footer, .cta-band, .burger { display: none; }
  body { background: #fff; color: #000; }
  body::before, body::after { display: none; }
  h1, h2, h3, h4, p { color: #000; }
}

/* ================================================================ install app
   "Install App" lives in the header and the footer. It stays hidden until
   main.js confirms the site is running in a browser tab rather than as the
   already-installed app, so no-JS visitors never see a button that cannot work.
   ============================================================== */
.btn-install {
  padding: .62rem 1.05rem;
  font-size: .82rem;
  gap: .45rem;
}
.btn-install svg { width: 15px; height: 15px; }
.btn-install[hidden] { display: none; }

/* footer variant: sits in the Explore list and reads as one of its links */
.footer-col ul .btn-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #edcf8f;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  transition: color .3s var(--ease);
}
.footer-col ul .btn-link:hover { color: #fff; }
.footer-col ul .btn-link svg { width: 15px; height: 15px; }
.footer-col ul .btn-link[hidden] { display: none; }

/* ---------------------------------------------------------------- install dialog
   Fallback for browsers with no beforeinstallprompt event — chiefly iOS
   Safari, where adding to the Home Screen is a manual Share-sheet action. */
.install-dialog {
  width: min(430px, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--edge-strong);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: 0 34px 70px rgba(24, 66, 34, .24);
}
.install-dialog::backdrop { background: rgba(20, 48, 29, .48); backdrop-filter: blur(3px); }

.install-dialog-inner { padding: 1.6rem 1.5rem 1.4rem; }

.install-dialog-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.1rem;
}
.install-dialog-head img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
}
.install-dialog h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}
.install-dialog-sub {
  margin: .15rem 0 0;
  font-size: .82rem;
  color: var(--text-muted);
}

.install-steps {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .7rem;
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.install-steps strong { color: var(--text); font-weight: 600; }
.install-steps::marker { color: var(--gold-400); }

.install-dialog-close {
  margin-top: 1.4rem;
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--edge-strong);
  border-radius: 100px;
  background: var(--glass);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.install-dialog-close:hover { background: var(--ink-850); color: var(--sage-400); }

/* The header hides its buttons on phones, but installing is a phone-first
   action — so the install pill is the one that stays, shrinking to its icon
   on the narrowest screens to leave the burger room to breathe. */
@media (max-width: 860px) {
  .header-actions .btn.btn-install { display: inline-flex; }
  .header-actions .icon-link { display: none; }
}

@media (max-width: 620px) {
  .btn.btn-install { width: auto; }
}

@media (max-width: 400px) {
  .btn-install { padding: .6rem .7rem; }
  .btn-install .btn-install-label { display: none; }
}

/* ---------------------------------------------------------- logo showcase
   Inside a split-media frame the plate read as a card within a card, and its
   padding left dead bands above and below the mark. The frame's own
   `img { height: 100%; object-fit: cover }` also applied to the logo, cropping
   it to fill a 4/3.4 box. Strip the inner chrome, let the frame do the work,
   and give the mark back its natural proportions. */
.split-media .plate {
  width: 100%;
  height: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}
.split-media .plate::after { display: none; }

.split-media .plate img {
  width: min(88%, 470px);
  height: auto;
  object-fit: contain;
}

/* a single pool of light instead of a second border */
.split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(56% 50% at 50% 44%, rgba(98, 196, 124, .18), transparent 72%);
  pointer-events: none;
}

/* soft contact shadow so the mark sits in the frame rather than floating */
.split-media::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: 54%;
  height: 34px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(24, 66, 34, .3), transparent 70%);
  filter: blur(11px);
  pointer-events: none;
}

/* ================================================================= slider
   Commodity slideshow. The track is a native scroll-snap carousel, so it is
   swipeable and keyboard-scrollable with no JS at all; main.js only adds
   autoplay, arrows and dots on top. Nothing here depends on those existing.
   ============================================================== */
.slider {
  position: relative;
  margin-top: 2.6rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  background: #fff;
}

.slider-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 2px solid var(--gold-400); outline-offset: -3px; }

.slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 16 / 9;
  min-height: 260px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* the caption sits over the lower third, so the plate keeps text legible
   whatever the photograph happens to be doing behind it */
.slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  background: linear-gradient(0deg, rgba(4, 8, 6, .93) 8%, rgba(4, 8, 6, .72) 52%, transparent);
}

.slide-caption h3 {
  margin: 0 0 .3rem;
  font-size: clamp(1.15rem, .95rem + .8vw, 1.65rem);
  color: var(--text);
}
.slide-caption p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(.85rem, .8rem + .2vw, .96rem);
  max-width: 46ch;
}

.slider-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--edge-strong);
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .3s var(--ease), color .3s var(--ease),
    border-color .3s var(--ease), scale .3s var(--ease-out);
}
.slider-btn:hover {
  background: var(--sage-400);
  border-color: var(--sage-400);
  color: #fff;
  scale: 1.06;
}
.slider-btn:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.slider-btn[hidden] { display: none; }
.slider-btn svg { width: 19px; height: 19px; }
.slider-btn--prev { left: clamp(.6rem, 1.6vw, 1.1rem); }
.slider-btn--next { right: clamp(.6rem, 1.6vw, 1.1rem); }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(.7rem, 1.6vw, 1.1rem);
  translate: -50% 0;
  display: flex;
  gap: .42rem;
  padding: .42rem .6rem;
  border-radius: 100px;
  background: rgba(4, 8, 6, .5);
  backdrop-filter: blur(6px);
}
.slider-dots[hidden] { display: none; }

.slider-dot {
  width: 8px;
  height: 8px;
  padding: 8px;
  box-sizing: content-box;
  background-clip: content-box;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .34);
  cursor: pointer;
  transition: background .3s var(--ease), width .34s var(--ease-out);
}
.slider-dot:hover { background: rgba(255, 255, 255, .6); }
.slider-dot[aria-selected="true"] { width: 22px; background: var(--gold-400); }
.slider-dot:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 2px; }

@media (max-width: 620px) {
  .slide { aspect-ratio: 4 / 3; }
  .slider-btn { width: 38px; height: 38px; }
  .slider-btn svg { width: 16px; height: 16px; }
}

/* Autoplay is opt-out for reduced motion; the smooth scroll is the animation,
   so it has to be neutralised here as well as in the script. */
@media (prefers-reduced-motion: reduce) {
  .slider-track { scroll-behavior: auto; }
}
