/* ============================================================
   DRS India — Design System
   Art direction: architectural / terracotta / editorial
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@800,700,500&f[]=satoshi@400,500,700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Colour — derived from the DRS logo */
  --clay: oklch(0.42 0.15 27);          /* brand terracotta red */
  --clay-deep: oklch(0.32 0.12 27);
  --clay-soft: oklch(0.62 0.13 33);
  --navy: oklch(0.28 0.09 268);
  --ink: oklch(0.23 0.008 60);
  --ink-2: oklch(0.42 0.01 60);
  --ink-3: oklch(0.58 0.01 60);
  --bone: oklch(0.972 0.006 75);
  --bone-2: oklch(0.94 0.01 75);
  --paper: oklch(0.995 0.002 90);
  --slate: oklch(0.17 0.012 60);

  --line: color-mix(in oklch, var(--ink) 12%, transparent);
  --line-soft: color-mix(in oklch, var(--ink) 7%, transparent);

  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px oklch(0.23 0.008 60 / 0.06), 0 2px 8px oklch(0.23 0.008 60 / 0.04);
  --shadow-md: 0 4px 12px oklch(0.23 0.008 60 / 0.07), 0 16px 40px oklch(0.23 0.008 60 / 0.07);
  --shadow-lg: 0 10px 30px oklch(0.23 0.008 60 / 0.10), 0 30px 80px oklch(0.23 0.008 60 / 0.12);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shell: 1280px;
  --shell-narrow: 900px;
  --nav-h: 76px;
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

ul, ol { list-style: none; padding: 0; }

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: var(--text-base); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; line-height: 1.35; }

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--clay);
  flex: none;
}
.eyebrow--light { color: color-mix(in oklch, var(--bone) 82%, var(--clay-soft)); }
.eyebrow--light::before { background: var(--clay-soft); }
.eyebrow--plain::before { display: none; }

.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
  font-weight: 500;
}

.muted { color: var(--ink-2); }
.small { font-size: var(--text-sm); }

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 4vw, var(--space-10));
}
.shell--narrow { max-width: var(--shell-narrow); }

.section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 5vw, var(--space-20)); }
.section--bone { background: var(--bone); }
.section--dark { background: var(--slate); color: var(--bone); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--paper); }
.section--dark .lede, .section--dark .muted { color: color-mix(in oklch, var(--bone) 72%, transparent); }

.stack > * + * { margin-top: var(--space-4); }
.section-head { max-width: 62ch; margin-bottom: clamp(var(--space-8), 4vw, var(--space-16)); }
.section-head .eyebrow { margin-bottom: var(--space-5); }
.shell > .section-head:last-child { margin-bottom: 0; }
.section-head h2 + p { margin-top: var(--space-5); }

.grid { display: grid; gap: clamp(var(--space-5), 2.2vw, var(--space-8)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split--wide-right { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.split--top { align-items: start; }
/* When the text column is much taller than the image, pin the image instead of
   leaving a void above and below it. */
@media (min-width: 981px) {
  .split > figure.frame,
  .split > .frame-stack { align-self: start; position: sticky; top: 7rem; }
}

@media (max-width: 1000px) {
  .grid--4, .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .split, .split--wide-left, .split--wide-right,
  .grid--2, .grid--3, .grid--4, .grid--6 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--clay);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 0.95rem var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), color 0.3s var(--ease-out);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--clay-deep);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover::after { transform: translateY(0); }
.btn svg { flex: none; transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { --btn-fg: var(--paper); color: var(--paper); }

.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--bone) 38%, transparent);
}
.btn--light::after { background: var(--paper); }
.btn--light:hover { --btn-fg: var(--ink); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clay);
}
.link-arrow svg { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s;
}
.site-header__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: nowrap;
}
.site-header__inner > .brand,
.site-header__inner > .header-cta { flex: 0 0 auto; }
.site-header__inner > nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
/* The header row needs more breathing room than the 1280px content shell
   allows — without this, the nav overflows its flex box on ordinary desktop
   widths and renders on top of the logo/wordmark instead of wrapping into
   the hamburger menu. Decoupling it from --shell fixes the overlap while
   leaving page content at its normal reading width. */
.site-header__inner { max-width: 1640px; }
.site-header.is-solid {
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line-soft), var(--shadow-sm);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transform: translateY(0); transition: transform 0.5s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }

.brand { display: inline-flex; align-items: center; gap: var(--space-3); }
.brand img { width: 46px; height: 46px; background: var(--paper); border-radius: 50%; padding: 2px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__sub {
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}

.nav { display: flex; align-items: center; gap: var(--space-1); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--ink); background: var(--bone-2); }
.nav__link[aria-current='page'] { color: var(--clay); font-weight: 700; }
.nav__link svg { transition: transform 0.3s var(--ease-out); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 268px;
  padding: var(--space-3);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.dropdown a:hover { background: var(--bone); color: var(--clay); }
.dropdown a[aria-current='page'] { color: var(--clay); font-weight: 700; }
.dropdown__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay-soft); flex: none; }

.header-cta { display: flex; align-items: center; gap: var(--space-3); }
.header-cta .btn { padding: 0.7rem var(--space-5); white-space: nowrap; }
.site-header__inner { flex-wrap: nowrap; }
.nav__link { white-space: nowrap; }
@media (max-width: 1520px) {
  .nav { gap: 0; }
  .nav__link { padding: var(--space-2) 0.62rem; }
  .header-cta { gap: var(--space-2); }
  .header-cta .btn { padding: 0.68rem var(--space-4); }
}
.btn--brochure { gap: 0.5rem; }
.btn--brochure svg { flex: none; }
/* Transparent header sits over dark hero art — invert the ghost button there. */
.site-header:not(.is-solid) .btn--brochure {
  --btn-fg: var(--paper);
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--paper) 42%, transparent);
}
.site-header:not(.is-solid) .btn--brochure::after { background: var(--paper); }
.site-header:not(.is-solid) .btn--brochure:hover { --btn-fg: var(--ink); color: var(--ink); }
@media (max-width: 1600px) { .header-cta .btn--brochure { display: none; } }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--bone-2);
}
.nav-toggle span {
  display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform 0.35s var(--ease-out), background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1400px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: var(--paper);
  padding: var(--space-6) 0 var(--space-16);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.55s var(--ease-out);
  pointer-events: none;
}
body.menu-open .drawer { clip-path: inset(0 0 0 0); pointer-events: auto; }
.drawer__list > li { border-bottom: 1px solid var(--line-soft); }
.drawer__list > li > a, .drawer__group > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: var(--space-5) 0;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg);
  letter-spacing: -0.02em;
}
.drawer__group > button svg { transition: transform 0.35s var(--ease-out); }
.drawer__group.is-open > button svg { transform: rotate(180deg); }
.drawer__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.drawer__group.is-open .drawer__sub { grid-template-rows: 1fr; }
.drawer__sub > div { overflow: hidden; }
.drawer__sub a {
  display: block; padding: var(--space-3) 0 var(--space-3) var(--space-5);
  font-size: var(--text-sm); color: var(--ink-2);
  border-left: 2px solid var(--line);
}
.drawer__sub a:hover { color: var(--clay); border-color: var(--clay); }
.drawer__foot { margin-top: var(--space-8); display: grid; gap: var(--space-3); }
@media (min-width: 1401px) { .drawer { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(96vh, 940px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + var(--space-16));
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-24));
  overflow: hidden;
  background: var(--slate);
  color: var(--bone);
}
.hero__media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, oklch(0.17 0.012 60 / 0.72) 0%, oklch(0.17 0.012 60 / 0.35) 38%, oklch(0.17 0.012 60 / 0.88) 100%),
    radial-gradient(120% 80% at 15% 100%, oklch(0.32 0.12 27 / 0.42), transparent 65%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: var(--text-3xl);
  color: var(--paper);
  max-width: 17ch;
  margin-top: var(--space-6);
}
.hero__sub {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: color-mix(in oklch, var(--bone) 82%, transparent);
  max-width: 46ch;
  font-weight: 500;
}
.hero__actions { margin-top: var(--space-10); }
.hero__meta {
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  padding-top: var(--space-8);
  border-top: 1px solid color-mix(in oklch, var(--bone) 22%, transparent);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--paper);
  letter-spacing: -0.02em;
}
.hero__meta span { font-size: var(--text-sm); color: color-mix(in oklch, var(--bone) 62%, transparent); }
@media (max-width: 720px) {
  .hero__meta { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
}

/* Header over a dark hero */
.site-header:not(.is-solid) .brand__name { color: var(--paper); }
.site-header:not(.is-solid) .brand__sub { color: color-mix(in oklch, var(--bone) 76%, var(--clay-soft)); }
.site-header:not(.is-solid) .nav__link { color: color-mix(in oklch, var(--bone) 84%, transparent); }
.site-header:not(.is-solid) .nav__link:hover,
.site-header:not(.is-solid) .nav__item:hover > .nav__link {
  color: var(--paper);
  background: color-mix(in oklch, var(--paper) 14%, transparent);
}
.site-header:not(.is-solid) .nav__link[aria-current='page'] { color: var(--paper); }
.site-header:not(.is-solid) .nav__link[aria-current='page']::after {
  content: ''; position: absolute; left: var(--space-4); right: var(--space-4); bottom: 2px; height: 2px;
  background: var(--clay-soft); border-radius: 2px;
}
.site-header:not(.is-solid) .nav__link { position: relative; }
.site-header:not(.is-solid) .nav-toggle { background: color-mix(in oklch, var(--paper) 16%, transparent); }
.site-header:not(.is-solid) .nav-toggle span,
.site-header:not(.is-solid) .nav-toggle span::before,
.site-header:not(.is-solid) .nav-toggle span::after { background: var(--paper); }
body.menu-open .site-header { background: var(--paper); backdrop-filter: none; }
body.menu-open .site-header .brand__name { color: var(--ink); }
body.menu-open .site-header .brand__sub { color: var(--clay); }
body.menu-open .site-header .nav-toggle { background: var(--bone-2); }
body.menu-open .site-header .nav-toggle span::before,
body.menu-open .site-header .nav-toggle span::after { background: var(--ink); }

/* Word-by-word hero reveal */
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.reveal-line > span { display: block; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(var(--space-16), 9vw, var(--space-32)));
  padding-bottom: clamp(var(--space-12), 7vw, var(--space-24));
  background: var(--slate);
  color: var(--bone);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: -6% 0 -6% 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, oklch(0.17 0.012 60 / 0.80), oklch(0.17 0.012 60 / 0.62) 55%, oklch(0.17 0.012 60 / 0.92)),
    radial-gradient(100% 90% at 0% 100%, oklch(0.32 0.12 27 / 0.40), transparent 70%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 56ch; }
.page-hero h1 { color: var(--paper); font-size: var(--text-2xl); margin-top: var(--space-5); }
.page-hero p { margin-top: var(--space-5); color: color-mix(in oklch, var(--bone) 80%, transparent); font-size: var(--text-base); max-width: 58ch; }
.crumbs {
  position: relative; z-index: 2;
  margin-top: clamp(var(--space-8), 4vw, var(--space-12));
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in oklch, var(--bone) 58%, transparent);
}
.crumbs a { color: color-mix(in oklch, var(--bone) 78%, transparent); }
.crumbs a:hover { color: var(--clay-soft); }
.crumbs span[aria-hidden] { opacity: 0.45; }
.crumbs strong { color: var(--paper); font-weight: 500; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line-soft);
  background: var(--bone);
  overflow: hidden;
  padding-block: var(--space-5);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track > span {
  display: inline-flex; align-items: center; gap: var(--space-10);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: color-mix(in oklch, var(--ink) 55%, transparent);
  white-space: nowrap;
}
.marquee__track i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card__body h3 { letter-spacing: -0.015em; }
.card__body p { font-size: var(--text-sm); color: var(--ink-2); }
.card__body .link-arrow { margin-top: auto; padding-top: var(--space-3); }
.card__tag {
  position: absolute; top: var(--space-4); left: var(--space-4); z-index: 2;
  padding: 0.35rem var(--space-3);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  color: var(--clay); border-radius: 999px;
}

/* Numbered feature cards */
.numbered {
  position: relative;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  overflow: hidden;
}
.numbered::before {
  content: '';
  position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--clay);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}
.numbered:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.numbered:hover::before { transform: scaleY(1); }
.numbered__n {
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg);
  color: var(--clay); letter-spacing: -0.02em; display: block; margin-bottom: var(--space-4);
}
.numbered h3 { margin-bottom: var(--space-2); }
.numbered p { font-size: var(--text-sm); color: var(--ink-2); }

/* Icon feature tiles */
.tile {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: var(--space-4);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.4s;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tile__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in oklch, var(--clay) 10%, transparent);
  color: var(--clay);
  flex: none;
}
.tile__icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: var(--text-base); }
.tile p { font-size: var(--text-sm); color: var(--ink-2); }

.section--dark .tile, .section--dark .numbered, .section--dark .card {
  background: color-mix(in oklch, var(--paper) 6%, transparent);
  border-color: color-mix(in oklch, var(--bone) 14%, transparent);
}
.section--dark .tile p, .section--dark .numbered p, .section--dark .card__body p {
  color: color-mix(in oklch, var(--bone) 68%, transparent);
}
.section--dark .tile__icon { background: color-mix(in oklch, var(--clay-soft) 18%, transparent); color: var(--clay-soft); }
.section--dark .numbered__n { color: var(--clay-soft); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}
.stat { padding: var(--space-6) 0; border-top: 2px solid var(--clay); }
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-xl); letter-spacing: -0.03em; line-height: 1;
  display: flex; align-items: baseline; gap: 1px;
}
.stat__label { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--ink-2); }
.section--dark .stat__label { color: color-mix(in oklch, var(--bone) 66%, transparent); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Media frames ---------- */
.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bone-2);
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }
.frame--contain { background: var(--bone); }
.frame--contain img { object-fit: contain; padding: var(--space-5); }
.frame__badge {
  position: absolute; bottom: var(--space-5); left: var(--space-5); z-index: 2;
  background: color-mix(in oklch, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  padding: var(--space-3) var(--space-5);
  border-radius: 999px;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
}
.frame-stack { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.frame-stack .frame:first-child { grid-column: span 2; }

/* Parallax inner image */
/* Oversize parallax images so the translate never exposes a gap inside the frame */
.frame { position: relative; }
.frame .parallax-img { position: absolute; inset: -9% 0 auto 0; height: 118%; }
.parallax-img { will-change: transform; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: var(--space-3); }
.checklist li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-base); color: var(--ink-2);
}
.checklist svg { flex: none; margin-top: 5px; width: 18px; height: 18px; color: var(--clay); }
.section--dark .checklist li { color: color-mix(in oklch, var(--bone) 76%, transparent); }
.section--dark .checklist svg { color: var(--clay-soft); }

.pill-list { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.pill {
  padding: 0.5rem var(--space-4);
  border-radius: 999px;
  background: var(--bone);
  border: 1px solid var(--line-soft);
  font-size: var(--text-sm); font-weight: 500; color: var(--ink-2);
}
.section--dark .pill {
  background: color-mix(in oklch, var(--paper) 8%, transparent);
  border-color: color-mix(in oklch, var(--bone) 16%, transparent);
  color: color-mix(in oklch, var(--bone) 82%, transparent);
}

/* ---------- Applications strip ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.app {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end;
  color: var(--paper);
}
.app img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.app::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, oklch(0.17 0.012 60 / 0.85));
  transition: opacity 0.5s;
}
.app:hover img { transform: scale(1.07); }
.app__body { position: relative; z-index: 2; padding: var(--space-6); }
.app__body h3 { color: var(--paper); font-size: var(--text-base); }
.app__body p { font-size: var(--text-sm); color: color-mix(in oklch, var(--bone) 78%, transparent); margin-top: var(--space-2); }
@media (max-width: 1000px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .app-grid { grid-template-columns: minmax(0, 1fr); } .app { aspect-ratio: 16 / 10; } }

/* ---------- Process ---------- */
.process { display: grid; gap: 0; }
.process__row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(var(--space-5), 3vw, var(--space-12));
  padding-block: clamp(var(--space-8), 4vw, var(--space-12));
  border-top: 1px solid var(--line);
  align-items: start;
}
.process__row:last-child { border-bottom: 1px solid var(--line); }
.process__n {
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg);
  color: var(--clay); letter-spacing: -0.03em;
}
.process__row h3 { font-size: var(--text-lg); font-family: var(--font-display); font-weight: 700; }
.process__row p { color: var(--ink-2); font-size: var(--text-base); }
@media (max-width: 820px) {
  .process__row { grid-template-columns: 56px minmax(0, 1fr); }
  .process__row p { grid-column: 2; }
}

/* ---------- Colour swatch grid ---------- */
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4); }
.swatch {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--paper);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.swatch:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-md); }
.swatch img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.swatch span {
  display: block; padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.02em;
  text-align: center; color: var(--ink);
}
@media (max-width: 1000px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Parts grid (rain gutter accessories) ---------- */
.parts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); }
.part {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: var(--space-5) var(--space-4);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  text-align: center;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
.part:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--clay-soft); }
.part img { height: 62px; width: auto; object-fit: contain; }
.part span { font-size: var(--text-xs); font-weight: 700; color: var(--ink-2); }
@media (max-width: 1000px) { .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Gallery ---------- */
/* True masonry via CSS columns — no empty cells, no cropped odd ratios */
.gallery { columns: 3; column-gap: var(--space-4); }
.gallery__item {
  display: block; width: 100%; padding: 0; border: 0;
  margin: 0 0 var(--space-4); break-inside: avoid;
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--bone-2); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: auto; display: block; transition: transform 0.9s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, color-mix(in oklch, var(--ink) 42%, transparent), transparent 55%);
  opacity: 0; transition: opacity 0.4s var(--ease-out);
}
.gallery__item:hover::after { opacity: 1; }
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }

/* Lightbox */
body.lightbox-open .site-header,
body.lightbox-open .wa-float,
body.lightbox-open .scroll-progress { opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: oklch(0.15 0.01 60 / 0.94);
  display: grid; place-items: center;
  padding: var(--space-6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__close {
  position: absolute; top: var(--space-6); right: var(--space-6);
  width: 46px; height: 46px; border-radius: 999px;
  background: color-mix(in oklch, var(--paper) 14%, transparent);
  color: var(--paper); display: grid; place-items: center;
  transition: background 0.25s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: color-mix(in oklch, var(--paper) 26%, transparent); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 999px;
  background: color-mix(in oklch, var(--paper) 14%, transparent);
  color: var(--paper); display: grid; place-items: center;
  transition: background 0.25s;
}
.lightbox__nav--prev { left: var(--space-5); }
.lightbox__nav--next { right: var(--space-5); }
.lightbox__count {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: var(--space-5); margin: 0;
  font-family: var(--font-mono, inherit);
  font-size: 0.8rem; letter-spacing: 0.14em;
  color: color-mix(in oklch, var(--paper) 72%, transparent);
}
@media (max-width: 700px) {
  .lightbox { padding: var(--space-4); }
  .lightbox img { max-height: 72vh; }
  .lightbox__nav { width: 44px; height: 44px; top: auto; bottom: calc(var(--space-5) + 2.6rem); transform: none; }
  .lightbox__nav--prev { left: var(--space-4); }
  .lightbox__nav--next { right: var(--space-4); }
  .lightbox__close { top: var(--space-4); right: var(--space-4); }
}

/* ---------- Slider ---------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider__track { display: flex; transition: transform 0.7s var(--ease-out); }
.slider__slide { flex: 0 0 100%; }
.slider__slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.slider__nav { display: flex; gap: var(--space-3); margin-top: var(--space-5); align-items: center; }
.slider__btn {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.slider__btn:hover { background: var(--clay); color: #fff; border-color: var(--clay); }
.slider__dots { display: flex; gap: var(--space-2); margin-left: auto; }
.slider__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: background 0.3s, width 0.3s; }
.slider__dot.is-active { background: var(--clay); width: 24px; }
.section--dark .slider__btn { border-color: color-mix(in oklch, var(--bone) 22%, transparent); }
.section--dark .slider__dot { background: color-mix(in oklch, var(--bone) 22%, transparent); }
.section--dark .slider__dot.is-active { background: var(--clay-soft); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding: var(--space-6) 0; text-align: left;
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-base);
  transition: color 0.25s;
}
.accordion__trigger:hover { color: var(--clay); }
.accordion__icon {
  width: 34px; height: 34px; border-radius: 999px; flex: none;
  border: 1.5px solid var(--line); display: grid; place-items: center;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-out), border-color 0.3s;
}
.accordion__item.is-open .accordion__icon { background: var(--clay); border-color: var(--clay); color: #fff; transform: rotate(45deg); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding-bottom: var(--space-6); color: var(--ink-2); max-width: 66ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--clay-deep);
  color: var(--paper);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 100% 0%, oklch(0.52 0.16 30 / 0.65), transparent 60%),
    radial-gradient(70% 100% at 0% 100%, oklch(0.24 0.09 268 / 0.55), transparent 65%);
}
.cta-band__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center;
}
.cta-band h2 { color: var(--paper); font-size: var(--text-2xl); max-width: 24ch; }
.cta-band p { margin-top: var(--space-5); color: color-mix(in oklch, var(--bone) 84%, transparent); max-width: 48ch; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band .btn-row { justify-content: flex-start; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.contact-card {
  display: flex; gap: var(--space-5);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
}
.contact-card:first-child { border-top: 1px solid var(--line); }
.contact-card__icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: color-mix(in oklch, var(--clay) 10%, transparent);
  color: var(--clay); display: grid; place-items: center;
}
.contact-card h3 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 700; }
.contact-card p, .contact-card a { margin-top: var(--space-2); font-size: var(--text-base); font-weight: 500; color: var(--ink); display: block; word-break: break-word; }
.contact-card a:hover { color: var(--clay); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea, .field select {
  font: inherit; font-size: var(--text-sm);
  padding: 0.85rem var(--space-4);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--clay);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--clay) 12%, transparent);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-note { margin-top: var(--space-5); font-size: var(--text-xs); color: var(--ink-3); }
.form-status {
  margin-top: var(--space-5); padding: var(--space-4) var(--space-5);
  border-radius: var(--radius); font-size: var(--text-sm); font-weight: 500;
  background: color-mix(in oklch, var(--clay) 8%, transparent);
  color: var(--clay-deep);
  display: none;
}
.form-status.is-visible { display: block; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(0.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: color-mix(in oklch, var(--bone) 72%, transparent); padding-top: clamp(var(--space-16), 7vw, var(--space-24)); }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(var(--space-6), 2.4vw, var(--space-10));
}
.footer-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6); }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand .brand__name { color: var(--paper); font-size: 1.1rem; }
.footer-col h4 {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--clay-soft); margin-bottom: var(--space-5);
}
.footer-col li + li { margin-top: var(--space-3); }
.footer-col a { font-size: var(--text-sm); }
.footer-contact li { display: flex; gap: var(--space-3); font-size: var(--text-sm); margin-bottom: var(--space-4); align-items: flex-start; }
.footer-contact li > span, .footer-contact li > a { min-width: 0; overflow-wrap: break-word; }
.footer-contact a[href^="mailto"] { font-size: 0.94em; letter-spacing: -0.005em; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--clay-soft); width: 16px; height: 16px; }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid color-mix(in oklch, var(--bone) 18%, transparent);
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.footer-social a:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-3px); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: clamp(var(--space-12), 5vw, var(--space-20));
  padding-block: var(--space-6);
  border-top: 1px solid color-mix(in oklch, var(--bone) 12%, transparent);
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between;
  font-size: var(--text-xs);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: var(--space-6); right: var(--space-6); z-index: 90;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px oklch(0.6 0.16 150 / 0.4);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 12px 32px oklch(0.6 0.16 150 / 0.5); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101;
  background: var(--clay);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); }
  .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
  .reveal[data-delay='1'].is-in { transition-delay: 0.08s; }
  .reveal[data-delay='2'].is-in { transition-delay: 0.16s; }
  .reveal[data-delay='3'].is-in { transition-delay: 0.24s; }
  .reveal[data-delay='4'].is-in { transition-delay: 0.32s; }
  .reveal[data-delay='5'].is-in { transition-delay: 0.40s; }

  /* clip the inner content, not the observed element — a fully clipped element
     is not reported as intersecting by Chrome's IntersectionObserver */
  .reveal-mask > img,
  .reveal-mask > iframe,
  .reveal-mask > .slider__viewport { clip-path: inset(0 0 100% 0); }
  .reveal-mask.is-in > img,
  .reveal-mask.is-in > iframe,
  .reveal-mask.is-in > .slider__viewport { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-out); }
  .reveal-mask .slider__nav { opacity: 0; }
  .reveal-mask.is-in .slider__nav { opacity: 1; transition: opacity 0.6s var(--ease-out) 0.3s; }

  .hero .reveal-line > span { transform: translateY(110%); }
  .hero.is-ready .reveal-line > span { transform: translateY(0); transition: transform 1s var(--ease-out); }
  .hero.is-ready .reveal-line:nth-child(2) > span { transition-delay: 0.09s; }
  .hero.is-ready .reveal-line:nth-child(3) > span { transition-delay: 0.18s; }
}

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

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.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;
}
.skip-link {
  position: absolute; left: var(--space-4); top: var(--space-4); z-index: 300;
  transform: translateY(-200%);
  background: var(--clay); color: #fff; padding: var(--space-3) var(--space-5);
  border-radius: var(--radius); font-size: var(--text-sm); font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.rule { height: 1px; background: var(--line); border: 0; }
.pull-quote {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-lg); line-height: 1.35; letter-spacing: -0.02em;
  padding-left: var(--space-6); border-left: 3px solid var(--clay);
  color: var(--ink);
}
.section--dark .pull-quote { color: var(--paper); border-color: var(--clay-soft); }

.map-note { margin-top: var(--space-4); font-size: var(--text-sm); }
.map-note a { color: var(--clay); font-weight: 600; }
