/* ============================================================
   KIPLO FARM LIMITED — Design System
   Dark-dominant · cinematic · video-first
   Accent: honey-amber. Deliberately distinct from the light
   cream/green register used on Sirona & other client sites.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Dark base */
  --ink:        #0C100E;
  --ink-2:      #14211A;
  --ink-3:      #1E2E24;
  --ink-4:      #2A3D31;

  /* Light base — warm bone, clay-shifted */
  --bone:       #F4EFE5;
  --bone-2:     #E9E1D2;
  --bone-3:     #DCD2BF;

  /* Accent + support */
  --amber:      #E9A227;
  --amber-2:    #F5B841;
  --amber-dim:  #C9871A;
  --avocado:    #3A6B47;
  --terracotta: #B4552D;

  /* Text */
  --on-dark:      #FFFFFF;
  --on-dark-2:    rgba(255, 255, 255, 0.74);
  --on-dark-3:    rgba(255, 255, 255, 0.52);
  --on-light:     #0C100E;
  --on-light-2:   rgba(12, 16, 14, 0.70);
  --on-light-3:   rgba(12, 16, 14, 0.50);

  /* Lines */
  --line-dark:    rgba(255, 255, 255, 0.13);
  --line-dark-2:  rgba(255, 255, 255, 0.22);
  --line-light:   rgba(12, 16, 14, 0.13);

  /* Type */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:    'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radii */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   36px;
  --r-pill: 999px;

  /* Layout */
  --pad:    clamp(1.25rem, 5vw, 4.5rem);
  --maxw:   1360px;
  --sect:   clamp(4.5rem, 10vw, 9rem);

  /* Motion */
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--on-light);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Type primitives ---------- */
.display {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
}

.h-hero  { font-size: clamp(2.75rem, 1.2rem + 6.6vw, 6.75rem); }
.h-sect  { font-size: clamp(2.1rem, 1.2rem + 3.9vw, 4.4rem); }
.h-sub   { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.35rem); }

.lede {
  font-size: clamp(1.06rem, 1rem + 0.42vw, 1.3rem);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

.amber { color: var(--amber); }
.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;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--sect); position: relative; }
.section--dark  { background: var(--ink);  color: var(--on-dark); }
.section--dark2 { background: var(--ink-2); color: var(--on-dark); }
.section--light { background: var(--bone); color: var(--on-light); }

/* Film-grain texture on dark sections — cinematic, self-contained */
.grain::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 1;
  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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-2); }

.btn--ghost {
  border: 1px solid var(--line-dark-2);
  color: var(--on-dark);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.06);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255,255,255,0.4); }

.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--ink-3); }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }

/* Chip / pill label */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--line-dark-2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: var(--on-dark);
}
.chip--light {
  border-color: var(--line-light);
  background: rgba(12, 16, 14, 0.04);
  color: var(--on-light-2);
  backdrop-filter: none;
}
.chip__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  flex: none;
}

/* ============================================================
   TOP BAR + NAV
   ============================================================ */
.topbar {
  background: var(--ink);
  color: var(--on-dark-3);
  font-size: 0.78rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar a { transition: color 0.25s; display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar a:hover { color: var(--amber); }
.topbar svg { width: 13px; height: 13px; opacity: 0.7; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(12, 16, 14, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 74px;
}

/* Logo lockup */
.logo { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--on-dark); }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.logo__sub {
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 3px;
  font-weight: 500;
}

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative;
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--on-dark-2);
  padding-block: 0.4rem;
  transition: color 0.25s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover { color: var(--on-dark); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 0.9rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark-2);
  color: var(--on-dark);
}
.nav__toggle svg { width: 20px; height: 20px; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.drawer__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark-2);
  color: var(--on-dark);
}
.drawer__close svg { width: 20px; height: 20px; }
.drawer__link {
  font-family: var(--display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  color: var(--on-dark);
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.drawer__link:last-of-type { border-bottom: 0; }
.drawer__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.9rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  margin-top: -74px;
  padding-top: 74px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__media video { position: absolute; inset: 0; }

/* Layered scrims — keeps huge white type legible over moving footage */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, var(--ink) 0%, rgba(12,16,14,0.72) 28%, rgba(12,16,14,0.18) 62%, rgba(12,16,14,0.42) 100%),
    linear-gradient(to right, rgba(12,16,14,0.62) 0%, rgba(12,16,14,0.1) 55%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.hero__title {
  color: var(--on-dark);
  margin-block: 1.4rem 1.25rem;
  max-width: 15ch;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  color: var(--amber);
}
.hero__sub {
  color: var(--on-dark-2);
  max-width: 46ch;
  margin-bottom: 2.1rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Glass mission card — lifted from the reference template */
.hero__card {
  background: rgba(20, 33, 26, 0.55);
  backdrop-filter: blur(22px) saturate(130%);
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  color: var(--on-dark);
}
.hero__card .eyebrow { color: var(--on-dark-2); margin-bottom: 0.9rem; }
.hero__card p { font-size: 0.94rem; color: var(--on-dark-2); margin-bottom: 1.1rem; }
.hero__cardlink {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 600; color: var(--amber);
}
.hero__cardlink svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.hero__cardlink:hover svg { transform: translateX(4px); }

/* ============================================================
   TICKER — moving enterprise marquee
   ============================================================ */
.ticker {
  background: var(--ink-2);
  color: var(--on-dark);
  padding-block: 0.85rem;
  overflow: hidden;
  border-block: 1px solid var(--ink-4);
}
.ticker__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ticker__item::after {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber);
  opacity: 0.6;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT — pill tabs
   ============================================================ */
.about__tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.tab {
  padding: 0.6rem 1.35rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-light);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-light-2);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.tab:hover { border-color: var(--on-light-3); color: var(--on-light); }
.tab[aria-selected='true'] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.about__panel[hidden] { display: none; }
.about__statement {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.022em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.about__body { color: var(--on-light-2); max-width: 62ch; margin-bottom: 1.75rem; }
.about__more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.93rem;
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--amber);
}
.about__more svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.about__more:hover svg { transform: translateX(4px); }

/* ============================================================
   STATS + REAL PHOTO MOSAIC
   ============================================================ */
.stats { margin-top: clamp(3rem, 6vw, 5rem); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.tile {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
}
.tile--photo img { width: 100%; height: 100%; object-fit: cover; }
.tile__tag {
  position: absolute;
  left: 0.9rem; bottom: 0.9rem;
  z-index: 2;
}
.tile--stat {
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem;
  background: var(--bone-2);
}
.tile--stat.is-amber { background: var(--amber); }
.tile--stat.is-dark  { background: var(--ink); color: var(--on-dark); }
.tile__num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 1.5rem + 3.2vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.tile__label { font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.tile__desc { font-size: 0.86rem; line-height: 1.5; opacity: 0.72; }
.tile__arrow {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.35;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.tile__arrow svg { width: 14px; height: 14px; }
.tile:hover .tile__arrow { opacity: 1; transform: rotate(45deg); }

/* ============================================================
   SIX ENTERPRISES — dark grid
   ============================================================ */
.lines__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.lines__title { color: var(--on-dark); max-width: 20ch; text-wrap: balance; }
.lines__intro { color: var(--on-dark-2); }

.lines__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.line {
  background: var(--ink);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background-color 0.4s var(--ease);
  position: relative;
}
.line:hover { background: var(--ink-3); }
.line__icon {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: rgba(233, 162, 39, 0.13);
  border: 1px solid rgba(233, 162, 39, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  margin-bottom: 0.35rem;
  transition: background-color 0.4s, transform 0.5s var(--ease);
}
.line:hover .line__icon { background: var(--amber); color: var(--ink); transform: translateY(-3px); }
.line__icon svg { width: 24px; height: 24px; }
.line__name {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: -0.015em;
}
.line__desc { font-size: 0.9rem; color: var(--on-dark-3); line-height: 1.58; }

/* ============================================================
   ENTERPRISES FAN — hover/tap-to-expand showcase
   ============================================================ */
.fan {
  display: flex;
  gap: 3px;
  height: clamp(420px, 44vw, 560px);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.fan__panel {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1rem;
  transition: flex-grow 0.65s var(--ease), height 0.55s var(--ease);
}
.fan__panel.is-active,
.fan__panel:hover,
.fan__panel:focus-visible {
  flex-grow: 6;
  align-items: flex-start;
  text-align: left;
}

.fan__media { position: absolute; inset: 0; z-index: 0; }
.fan__media img, .fan__media video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.3;
  transition: opacity 0.7s var(--ease);
}
.fan__panel.is-active .fan__media img, .fan__panel.is-active .fan__media video,
.fan__panel:hover .fan__media img, .fan__panel:hover .fan__media video,
.fan__panel:focus-visible .fan__media img, .fan__panel:focus-visible .fan__media video { opacity: 0.6; }

.fan__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(12,16,14,0.95) 0%, rgba(12,16,14,0.5) 48%, rgba(12,16,14,0.3) 100%);
}

.fan__icon {
  position: relative; z-index: 2;
  width: 46px; height: 46px; flex: none;
  border-radius: var(--r-sm);
  background: rgba(233, 162, 39, 0.16);
  border: 1px solid rgba(233, 162, 39, 0.32);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  margin-bottom: 1rem;
  transition: background-color 0.4s, color 0.4s;
}
.fan__icon svg { width: 23px; height: 23px; }
.fan__panel.is-active .fan__icon, .fan__panel:hover .fan__icon, .fan__panel:focus-visible .fan__icon { background: var(--amber); color: var(--ink); }

.fan__name {
  position: relative; z-index: 2;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: -0.01em;
  line-height: 1.25;
  transition: font-size 0.5s var(--ease);
}
.fan__panel.is-active .fan__name, .fan__panel:hover .fan__name, .fan__panel:focus-visible .fan__name { font-size: 1.3rem; }

.fan__body {
  position: relative; z-index: 2;
  max-height: 0;
  width: 100%;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease), opacity 0.4s, margin-top 0.5s;
}
.fan__panel.is-active .fan__body, .fan__panel:hover .fan__body, .fan__panel:focus-visible .fan__body {
  max-height: 220px; opacity: 1; margin-top: 0.7rem;
}
.fan__desc { font-size: 0.9rem; color: var(--on-dark-2); line-height: 1.55; max-width: 40ch; }
.fan__more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--amber);
  white-space: nowrap;
}
.fan__more svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.fan__more:hover svg { transform: translateX(3px); }

@media (max-width: 860px) {
  .fan { flex-direction: column; height: auto; }
  .fan__panel { flex: none; width: 100%; height: 94px; padding: 1.1rem 1.3rem; }
  .fan__panel.is-active, .fan__panel:hover, .fan__panel:focus-visible { height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  .fan__panel, .fan__media img, .fan__media video, .fan__icon, .fan__name, .fan__body { transition: none; }
}

/* ============================================================
   SHOWCASE — video switcher (the centerpiece)
   ============================================================ */
.showcase { background: var(--ink-2); }
.showcase__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: clamp(460px, 68vh, 680px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  isolation: isolate;
}
.showcase__media { position: absolute; inset: 0; z-index: 0; }
.showcase__media img,
.showcase__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.showcase__media img.is-active,
.showcase__media video.is-active { opacity: 1; }

.showcase__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(12,16,14,0.94) 0%, rgba(12,16,14,0.62) 40%, rgba(12,16,14,0.12) 78%),
    linear-gradient(to right, rgba(12,16,14,0.72) 0%, transparent 60%);
}
.showcase__body {
  position: relative; z-index: 2;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}
.showcase__copy { max-width: 46ch; }
.showcase__name {
  font-family: var(--display);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--on-dark);
  margin-block: 0.9rem 0.7rem;
}
.showcase__desc { color: var(--on-dark-2); font-size: 0.98rem; }

.showcase__thumbs { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.thumb {
  width: 86px; height: 62px;
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.35s, border-color 0.35s, transform 0.4s var(--ease);
  flex: none;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 0.85; transform: translateY(-3px); }
.thumb[aria-selected='true'] { opacity: 1; border-color: var(--amber); }

.showcase__counter {
  position: absolute;
  top: clamp(1.5rem, 4vw, 3rem); right: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  font-size: 0.8rem;
  color: var(--on-dark-3);
  letter-spacing: 0.1em;
}
.showcase__counter b { color: var(--amber); font-weight: 600; }

/* Authenticity flag — real footage vs representative stock */
.srcflag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-dark-3);
}
.srcflag::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; flex: none;
}

/* ============================================================
   SUSTAINABILITY
   ============================================================ */
.sustain__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.sustain__sticky { position: sticky; top: 110px; }
.sustain__title { margin-block: 1.2rem 1.1rem; text-wrap: balance; }
.sustain__intro { color: var(--on-light-2); margin-bottom: 1.75rem; }
.sustain__img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-3);
}
.sustain__img img,
.sustain__img video { width: 100%; height: 100%; object-fit: cover; }

.practices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--r-md); overflow: hidden; }
.practice {
  background: var(--bone);
  padding: 1.75rem 1.4rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  overflow: hidden;
  transition: background-color 0.4s var(--ease);
}
.practice:hover { background: #FFFFFF; }
.practice__n {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
  padding-top: 0.15rem;
  flex: none;
}
.practice__t {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  min-width: 0;
  overflow-wrap: break-word;
}

/* ============================================================
   EXPORT
   ============================================================ */
.export { position: relative; overflow: hidden; background: var(--ink); }
.export__media { position: absolute; inset: 0; z-index: 0; }
.export__media img, .export__media video {
  width: 100%; height: 100%; object-fit: cover;
}
.export__media video { position: absolute; inset: 0; }
.export__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(12,16,14,0.95) 0%, rgba(12,16,14,0.86) 42%, rgba(12,16,14,0.55) 100%);
}
.export__inner { position: relative; z-index: 2; }
.export__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.export__title { color: var(--on-dark); margin-block: 1.2rem 1.1rem; max-width: 16ch; text-wrap: balance; }
.export__body { color: var(--on-dark-2); margin-bottom: 1.75rem; }

.buyers { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }

.export__panel {
  background: rgba(20, 33, 26, 0.6);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.export__panel h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}
.crops { display: grid; gap: 0.15rem; }
.crop {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark-2);
  font-size: 0.95rem;
}
.crop:last-child { border-bottom: 0; }
.crop b { color: var(--on-dark); font-weight: 500; }
.crop span { font-size: 0.8rem; color: var(--amber); letter-spacing: 0.04em; }

/* ============================================================
   GALLERY — built for 2.23:1 panoramas
   ============================================================ */
.gallery__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.gallery__grid { display: grid; gap: 1rem; }
.gallery__row { display: grid; gap: 1rem; }
.gallery__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.shot {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-3);
}
.shot img,
.shot video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.shot:hover img,
.shot:hover video { transform: scale(1.045); }
.shot--wide  { aspect-ratio: 2.23 / 1; }
.shot--panel { aspect-ratio: 16 / 10; }
.shot--feature:hover video { transform: none; }
.shot--feature .shot__cap {
  inset: 0 0 auto 0;
  background: linear-gradient(to bottom, rgba(12,16,14,0.85), transparent);
}
.shot__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 1.4rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(12,16,14,0.85), transparent);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  color: var(--on-dark);
  font-size: 0.86rem;
}

/* ============================================================
   CREED — vision/mission pull quote
   ============================================================ */
.creed { text-align: center; }
.creed__quote {
  font-family: var(--display);
  font-size: clamp(1.6rem, 0.9rem + 2.9vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--on-dark);
  max-width: 20ch;
  margin: 1.5rem auto 2rem;
  text-wrap: balance;
}
.creed__quote em {
  font-style: italic;
  color: var(--amber);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}
.creed__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.creed__cell { background: var(--ink); padding: clamp(1.6rem, 3vw, 2.6rem); }
.creed__cell h3 {
  font-family: var(--display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--on-dark);
  margin-block: 0.9rem 0.8rem;
}
.creed__cell p { color: var(--on-dark-2); font-size: 0.97rem; }

/* ============================================================
   CAREERS
   ============================================================ */
.careers__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.roles { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.5rem; }

/* ============================================================
   CONTACT + FOOTER
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__title { color: var(--on-dark); margin-block: 1.2rem 1.1rem; max-width: 14ch; text-wrap: balance; }
.contact__body { color: var(--on-dark-2); margin-bottom: 2rem; }

.locs { display: grid; gap: 1rem; }
.loc {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.35s, background-color 0.35s;
}
.loc:hover { border-color: var(--line-dark-2); background: rgba(255, 255, 255, 0.045); }
.loc__k {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.6rem; display: block;
}
.loc__v { color: var(--on-dark); font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em; }
.loc__m { color: var(--on-dark-3); font-size: 0.88rem; margin-top: 0.3rem; }

.footer {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  color: var(--on-dark-3);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer__tag {
  font-family: var(--display);
  font-size: clamp(1.2rem, 0.9rem + 1.2vw, 1.7rem);
  line-height: 1.25;
  color: var(--on-dark);
  letter-spacing: -0.02em;
  margin-top: 1.4rem;
  max-width: 22ch;
}
.footer__h {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark); margin-bottom: 1.1rem;
}
.footer__list { display: grid; gap: 0.65rem; font-size: 0.93rem; }
.footer__list a { transition: color 0.25s; }
.footer__list a:hover { color: var(--amber); }
.footer__bottom {
  padding-top: 2rem;
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.83rem;
}
.footer__note {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line-dark-2);
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  color: var(--on-dark-3);
  line-height: 1.5;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Content is visible by default. JS adds .js-reveal to <html> to opt in,
   so a JS failure can never leave the page blank. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal--d1 { transition-delay: 0.08s; }
.js-reveal .reveal--d2 { transition-delay: 0.16s; }
.js-reveal .reveal--d3 { transition-delay: 0.24s; }
.js-reveal .reveal--d4 { transition-delay: 0.32s; }
.js-reveal .reveal--d5 { transition-delay: 0.40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .lines__grid   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top   { grid-template-columns: 1fr 1fr; }
  .hero__inner   { grid-template-columns: minmax(0, 1fr); }
  .hero__card    { max-width: 420px; }
  .sustain__sticky { position: static; }
  .sustain__grid { grid-template-columns: minmax(0, 1fr); }
  .about__grid   { grid-template-columns: minmax(0, 1fr); }
  .lines__head   { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .export__grid,
  .careers__inner,
  .contact__grid,
  .creed__split,
  .gallery__row--3,
  .gallery__row--2 { grid-template-columns: minmax(0, 1fr); }
  .showcase__body { grid-template-columns: minmax(0, 1fr); }
  .topbar__group--sec { display: none; }
}

@media (max-width: 620px) {
  .lines__grid  { grid-template-columns: minmax(0, 1fr); }
  .stats__grid  { grid-template-columns: minmax(0, 1fr); }
  .practices    { grid-template-columns: minmax(0, 1fr); }
  .footer__top  { grid-template-columns: minmax(0, 1fr); }
  .tile         { min-height: 240px; }
  .shot--wide   { aspect-ratio: 16 / 10; }
  .thumb        { width: 66px; height: 48px; }
}

/* ============================================================
   INTERIOR PAGE HERO — shorter, non-homepage hero band
   ============================================================ */
.pagehero { position: relative; overflow: hidden; background: var(--ink); padding-block: clamp(7.5rem, 15vw, 11.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.pagehero__media { position: absolute; inset: 0; z-index: 0; }
.pagehero__media img, .pagehero__media video { width: 100%; height: 100%; object-fit: cover; }
.pagehero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--ink) 0%, rgba(12,16,14,0.8) 45%, rgba(12,16,14,0.4) 100%);
}
.pagehero__inner { position: relative; z-index: 2; }
.pagehero__crumb { display: block; color: var(--on-dark-3); font-size: 0.85rem; margin-bottom: 1.1rem; }
.pagehero__crumb a { color: var(--on-dark-2); transition: color 0.25s; }
.pagehero__crumb a:hover { color: var(--amber); }
.pagehero__title { color: var(--on-dark); margin-block: 1.1rem 1.2rem; max-width: 20ch; text-wrap: balance; }
.pagehero__body { color: var(--on-dark-2); max-width: 58ch; }

/* Nav active-page state */
.nav__link.is-active, .drawer__link.is-active { color: var(--on-dark); }
.nav__link.is-active::after { transform: scaleX(1); }

/* ============================================================
   FORMS — inquiry / interest / contact
   ============================================================ */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.83rem; font-weight: 500; letter-spacing: 0.02em; color: var(--on-dark-2); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--on-dark); background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark); border-radius: var(--r-sm);
  padding: 0.85rem 1rem; width: 100%; transition: border-color 0.25s, background-color 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--on-dark-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: rgba(255,255,255,0.09);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9A227' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px; padding-right: 2.5rem; }
.field select option { background: var(--ink-2); color: var(--on-dark); }
.field textarea { resize: vertical; min-height: 120px; }
.form--light .field label { color: var(--on-light-2); }
.form--light .field input, .form--light .field select, .form--light .field textarea {
  color: var(--on-light); background: var(--bone); border-color: var(--line-light);
}
.form--light .field input:focus, .form--light .field select:focus, .form--light .field textarea:focus { background: #fff; }
.form__note { font-size: 0.82rem; color: var(--on-dark-3); }
.form--light .form__note { color: var(--on-light-3); }
.form__status { font-size: 0.88rem; margin-top: 0.3rem; display: none; }
.form__status.is-visible { display: block; }

/* ============================================================
   ENTERPRISE DEEP-DIVE — alternating rows (Enterprises page)
   ============================================================ */
.deepdive { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.deepdive__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.deepdive__row--flip .deepdive__media { order: 2; }
.deepdive__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.deepdive__media img, .deepdive__media video { width: 100%; height: 100%; object-fit: cover; }
.deepdive__icon {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  background: rgba(233, 162, 39, 0.13); border: 1px solid rgba(233, 162, 39, 0.3);
  display: flex; align-items: center; justify-content: center; color: var(--amber); margin-bottom: 1.2rem;
}
.deepdive__icon svg { width: 27px; height: 27px; }
.deepdive__name { margin-bottom: 1rem; text-wrap: balance; }
.deepdive__desc { color: var(--on-dark-2); margin-bottom: 1.3rem; max-width: 52ch; }
.deepdive__list { display: grid; gap: 0.55rem; margin-bottom: 1.3rem; }
.deepdive__list li { font-size: 0.92rem; color: var(--on-dark-3); padding-left: 1.3rem; position: relative; }
.deepdive__list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ============================================================
   MAP EMBED
   ============================================================ */
.mapwrap { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line-dark); }
.mapwrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.25) contrast(1.05); }

@media (max-width: 860px) {
  .pagehero { padding-block: clamp(6rem, 18vw, 8.5rem) 3rem; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .deepdive__row, .deepdive__row--flip { grid-template-columns: minmax(0, 1fr); }
  .deepdive__row--flip .deepdive__media { order: 0; }
}

/* ============================================================
   ORGANIC SHAPES — curved dividers, blob/circle crops, collage
   ============================================================ */

/* Curved section dividers — replace hard rectangular seams between
   sections with an organic edge. Sits between two <section>s: its own
   background is the NEXT section's color, the path fill is the PREVIOUS
   section's color, so the curve reads as that section dipping down. */
.divider { width: 100%; height: clamp(46px, 7vw, 92px); line-height: 0; overflow: hidden; }
.divider svg { width: 100%; height: 100%; display: block; }
.divider--ink-bone   { background: var(--bone);  } .divider--ink-bone   path { fill: var(--ink); }
.divider--bone-ink   { background: var(--ink);   } .divider--bone-ink   path { fill: var(--bone); }
.divider--ink-ink2   { background: var(--ink-2); } .divider--ink-ink2   path { fill: var(--ink); }
.divider--ink2-ink   { background: var(--ink);   } .divider--ink2-ink   path { fill: var(--ink-2); }
.divider--bone-ink2  { background: var(--ink-2); } .divider--bone-ink2  path { fill: var(--bone); }
.divider--ink2-bone  { background: var(--bone);  } .divider--ink2-bone  path { fill: var(--ink-2); }

/* Organic blob crop — soft irregular mask, no two look quite alike once
   rotated/flipped per instance. */
.shot--blob { border-radius: 63% 37% 54% 46% / 45% 48% 52% 55%; }
.shot--blob2 { border-radius: 42% 58% 63% 37% / 51% 44% 56% 49%; }
.shot--circle { border-radius: 50%; aspect-ratio: 1; }

/* Asymmetric photo collage — hand-placed, overlapping, mixed shapes.
   Sized via inline style per instance (rotation/position genuinely
   varies, a generic grid can't fake that). */
.collage { position: relative; min-height: 420px; }
.collage__item {
  position: absolute; overflow: hidden; background: var(--ink-3);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.5);
  border: 6px solid var(--bone);
}
.collage__item img, .collage__item video { width: 100%; height: 100%; object-fit: cover; }
.section--dark .collage__item, .section--dark2 .collage__item { border-color: var(--ink-2); }
.collage__badge {
  position: absolute; z-index: 3;
  background: var(--amber); color: var(--ink);
  border-radius: 50%; aspect-ratio: 1; width: clamp(96px, 11vw, 128px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-weight: 600; font-size: 0.92rem; line-height: 1.15;
  box-shadow: 0 16px 40px -10px rgba(233,162,39,0.55);
  transform: rotate(-8deg);
}

/* Masonry-ish grid — unequal cell spans instead of a uniform 3-up */
.masonry { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 130px; gap: 1rem; }
.masonry > * { grid-row: span 2; }
.masonry > .m-tall  { grid-row: span 3; }
.masonry > .m-wide  { grid-column: span 2; }
.masonry > .m-big   { grid-column: span 2; grid-row: span 3; }

/* Icon container variety — break the uniform rounded-square */
.deepdive__icon--circle { border-radius: 50%; }
.deepdive__icon--blob { border-radius: 63% 37% 54% 46% / 45% 48% 52% 55%; }

/* Scattered chip cluster — slight alternating rotation instead of a flat row */
.roles--scatter .chip { transition: transform 0.3s var(--ease); }
.roles--scatter .chip:nth-child(3n+1)   { transform: rotate(-2.5deg); }
.roles--scatter .chip:nth-child(3n+2)   { transform: rotate(1.5deg); }
.roles--scatter .chip:nth-child(3n)     { transform: rotate(-1deg); }
.roles--scatter .chip:hover { transform: rotate(0deg) scale(1.06); }

@media (max-width: 860px) {
  .collage { min-height: 320px; }
  .masonry { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 150px; }
  .masonry > .m-wide, .masonry > .m-big { grid-column: span 2; }
}
@media (max-width: 620px) {
  .collage__item { position: static !important; width: 100% !important; height: 220px !important; transform: none !important; margin-bottom: 1rem; }
  .collage { min-height: 0; display: grid; }
  .collage__badge { position: static; margin-bottom: 1rem; }
}

/* ============================================================
   HONEY DRIP — gold card with a dripping bottom edge
   ============================================================ */
.honeydrip {
  color: var(--ink);
}
.honeydrip__content {
  position: relative;
  background: var(--amber);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.6rem) clamp(1rem, 2vw, 1.5rem);
}
.honeydrip__edge { display: flex; align-items: flex-start; width: 100%; }
.honeydrip__edge span { flex: 1; display: block; background: var(--amber); border-radius: 0 0 60% 60%; }
.honeydrip__edge span:first-child { border-bottom-left-radius: var(--r-lg); }
.honeydrip__edge span:last-child { border-bottom-right-radius: var(--r-lg); }
.honeydrip .eyebrow, .honeydrip .srcflag { color: rgba(12,16,14,0.6); }
.honeydrip .deepdive__desc { color: rgba(12,16,14,0.72); }
.honeydrip .deepdive__list li { color: rgba(12,16,14,0.68); }
.honeydrip .deepdive__list li::before { background: var(--ink); }
.honeydrip .deepdive__icon { background: rgba(12,16,14,0.1); border-color: rgba(12,16,14,0.25); color: var(--ink); }
.honeydrip a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Lighter gold callout — for a single list/card item, not a whole section */
.gold-touch {
  background: rgba(233,162,39,0.14);
  border: 1px solid rgba(233,162,39,0.4);
  border-radius: var(--r-sm);
}
.gold-touch .practice__n { color: var(--amber); }

/* ============================================================
   BOLD STAMP TEXT — oversized, angled, overlapping imagery
   ============================================================ */
.stamp {
  position: absolute; z-index: 4;
  font-family: var(--display); font-weight: 700; font-style: italic;
  color: var(--amber); text-transform: uppercase; letter-spacing: 0.01em;
  line-height: 0.88; text-wrap: balance; text-align: right;
  font-size: clamp(1.8rem, 1.1rem + 3vw, 3.4rem);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}
.stamp--bone { color: var(--bone); }
.stamp--ink { color: var(--ink); }

/* ============================================================
   COLOR-BLOCKED CARDS — pull the support palette (avocado green,
   terracotta) forward as decoration, not just tiny accents
   ============================================================ */
.card--avocado { background: var(--avocado); color: #fff; }
.card--avocado .line__name, .card--avocado h3 { color: #fff; }
.card--avocado .line__desc, .card--avocado p { color: rgba(255,255,255,0.82); }
.card--terracotta { background: var(--terracotta); color: #fff; }
.card--terracotta .line__name, .card--terracotta h3 { color: #fff; }
.card--terracotta .line__desc, .card--terracotta p { color: rgba(255,255,255,0.82); }

/* Small decorative accent mark near a headline */
.doodle { position: absolute; color: var(--amber); opacity: 0.85; pointer-events: none; }
.doodle svg { width: 100%; height: 100%; }

@media (max-width: 620px) {
  .stamp { position: static; text-align: left; margin-top: 1rem; filter: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

@media print {
  .nav, .ticker, .drawer { display: none !important; }
  body { background: #fff; color: #000; }
}
