/* ==========================================================================
   IBG Wellness Pvt. Ltd.
   Design tokens sampled from the company shield: navy field, silver border,
   cyan / magenta / lime letterforms, cream wordmark.
   ========================================================================== */

/* Metric-matched fallbacks ------------------------------------------------
   Measured in-browser: Fraunces sets to 86.1% the width of Georgia, and
   Public Sans to 104.5% of Arial. Without these the webfont swap re-wraps
   every heading on a cold load — a visible jump. size-adjust makes the
   fallback occupy the same space, so the swap lands invisibly. */

@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 86.1%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Public Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 104.5%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  /* Brand -------------------------------------------------------------- */
  --navy-900: #08163a;
  --navy-800: #0e2559;
  --navy-700: #16337a;
  --navy-600: #1e4499;
  --navy-500: #2a4fa8;
  --cyan:     #00aeef;
  --magenta:  #ec1c7d;
  --lime:     #a5ce3a;
  --teal:     #00b39b;
  --violet:   #8e3fa6;
  --silver:   #c3c9d4;
  --cream:    #fff6dc;

  /* Surface & ink ------------------------------------------------------ */
  --paper:    #f6f8fc;
  --card:     #ffffff;
  --ink:      #0f1a33;
  --ink-70:   #3c4867;
  --ink-50:   #6b7690;
  --rule:     #dde3ed;
  --rule-soft:#e9edf4;

  /* Type --------------------------------------------------------------- */
  --display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --body:    "Public Sans", "Public Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --t-hero:  clamp(2.5rem, 1.55rem + 3.1vw, 3.95rem);
  --t-h2:    clamp(2rem, 1.25rem + 2.6vw, 3.4rem);
  --t-h3:    clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  --t-lede:  clamp(1.1rem, 1.01rem + 0.44vw, 1.375rem);
  --t-body:  1.0625rem;
  --t-mono:  0.6875rem;

  /* Rhythm ------------------------------------------------------------- */
  --gap-sec: clamp(3.75rem, 2.5rem + 4.4vw, 6.75rem);
  --wrap:    1240px;
  --pad-x:   clamp(1.25rem, 4vw, 3rem);
  --r:       14px;

  --ease-out: cubic-bezier(0.22, 0.72, 0.2, 1);
  --spring:   cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy-700);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

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

/* Type primitives ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}
h3, h4 { font-variation-settings: "opsz" 40; line-height: 1.18; letter-spacing: -0.012em; }

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-50);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--cyan);
  flex: none;
}
.eyebrow.is-light { color: rgba(255, 255, 255, 0.62); }
.eyebrow.is-light::before { background: var(--cyan); }

.lede {
  font-size: var(--t-lede);
  line-height: 1.6;
  color: var(--ink-70);
}

.h-xl { font-size: var(--t-hero); }
.h-lg { font-size: var(--t-h2); }
.h-md { font-size: var(--t-h3); }

/* Layout --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.wrap.is-narrow { max-width: 940px; }

.sec { padding-block: var(--gap-sec); position: relative; }
.sec.is-tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.sec.is-top { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

.rule { height: 1px; background: var(--rule); border: 0; }

/* Header --------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.site-head__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }

/* The supplied logo is a full lock-up on white; this window crops to the shield. */
.brand__mark {
  width: 48px;
  height: 48px;
  position: relative;
  overflow: hidden;
  flex: none;
}
.brand__mark img {
  position: absolute;
  width: 84px;
  max-width: none;
  left: -18px;
  top: -4px;
}
.brand__txt { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--navy-700);
  font-variation-settings: "opsz" 40;
}
.brand__tag {
  font-family: var(--mono);
  font-size: 0.5938rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-top: 0.35rem;
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-70);
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--navy-700); background: #f2f5fa; }
.nav a[aria-current="page"] { color: var(--navy-700); }
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.22rem;
  height: 2px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--spring);
}
.nav a:not(.nav__cta):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav__cta {
  background: var(--navy-700);
  color: #fff;
  padding: 0.6rem 1.1rem;
  margin-left: 0.5rem;
  border-radius: 999px;
}
.nav .nav__cta:hover { background: var(--navy-600); color: #fff; }
/* Must outrank `.nav a[aria-current]`, or the label goes navy-on-navy. */
.nav a.nav__cta[aria-current="page"] { color: #fff; }
.nav .nav__cta[aria-current="page"]::after { display: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--navy-700);
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.burger span { top: 50%; margin-top: -0.75px; }
.burger span::before { left: 0; transform: none; top: -6px; }
.burger span::after { left: 0; transform: none; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons -------------------------------------------------------------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--spring),
              background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.4s var(--spring); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.985); }

/* A light sweeps across on hover — the one flourish the buttons get. */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.24) 47%, transparent 63%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--spring);
}
.btn:hover::after { transform: translateX(130%); }

.btn.is-primary {
  background: linear-gradient(180deg, var(--navy-600) 0%, var(--navy-700) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
              0 10px 24px -13px rgba(8, 22, 58, 0.75);
}
.btn.is-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24),
              0 20px 36px -16px rgba(8, 22, 58, 0.8);
}

.btn.is-ghost {
  border-color: var(--rule);
  color: var(--navy-700);
  background: #fff;
  box-shadow: 0 6px 18px -15px rgba(8, 22, 58, 0.6);
}
.btn.is-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--navy-500);
  box-shadow: 0 16px 30px -18px rgba(8, 22, 58, 0.6);
}
.btn.is-ghost::after { background: linear-gradient(105deg, transparent 32%, rgba(22, 51, 122, 0.07) 47%, transparent 63%); }

.btn.is-cream { background: var(--cream); color: var(--navy-900); }
.btn.is-cream:hover { transform: translateY(-2px); background: #fff; }
.btn.is-outline-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn.is-outline-light:hover { transform: translateY(-2px); border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero sequence ---------------------------------------------------------
   Three screens. On a large pointer device they are pinned and cross-fade
   as you scroll; on small screens they become three ordinary stacked
   sections, so nothing is trapped behind a scroll interaction. */

.hero-seq { position: relative; }
.hero-seq__pin { position: relative; display: grid; overflow: hidden; }
/* Backdrop: drifting brand auras over a fine measuring grid that fades out
   at the edges — clinical paper rather than a flat wash. */
.hero-seq__pin::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 52% at 84% 6%, rgba(0, 174, 239, 0.22), transparent 64%),
    radial-gradient(38% 46% at 4% 92%, rgba(236, 28, 125, 0.14), transparent 62%),
    radial-gradient(34% 40% at 96% 88%, rgba(165, 206, 58, 0.12), transparent 60%);
  animation: ibg-drift 22s ease-in-out infinite;
  will-change: transform;      /* rasterise once, then composite only */
}

/* Nothing keeps animating once the hero has scrolled away. */
.hero-seq.is-off .hero-seq__pin::before,
.hero-seq.is-off .hero__art,
.hero-seq.is-off .triptych figure { animation-play-state: paused; }
.hero-seq__pin::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 51, 122, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 51, 122, 0.06) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 42%, #000 10%, transparent 80%);
  mask-image: radial-gradient(72% 62% at 50% 42%, #000 10%, transparent 80%);
}

/* A soft halo sits behind the shield so it lifts off the page. */
.hero__art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  width: 132%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 22%, rgba(226, 236, 250, 0.55) 52%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.hp { position: relative; z-index: 1; }

/* Screen 2 — the brand line on a navy stage, with a staggered triptych. */
.hp--statement {
  position: relative;
  overflow: hidden;
  min-height: 78svh;
  display: grid;
  align-content: center;
  background: var(--navy-800);
  color: #fff;
}
.hp--statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 62% at 86% 4%, rgba(0, 174, 239, 0.3), transparent 62%),
    radial-gradient(42% 58% at 2% 98%, rgba(236, 28, 125, 0.22), transparent 60%);
}
.hp--statement::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--violet), var(--navy-500), var(--cyan), var(--teal), var(--lime));
}
.hp--statement > .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 6fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.6rem, 1.2vw, 1rem); }
.triptych .slot { margin: 0; }
.triptych .slot__frame,
.triptych .slot__img {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 0;
}
/* Stagger with margin, so the float animation keeps `transform` to itself. */
.triptych figure { animation: ibg-float 11s ease-in-out infinite; }
.triptych figure:nth-child(1) { margin-top: calc(-1 * clamp(1rem, 2.6vw, 2.25rem)); }
.triptych figure:nth-child(2) { margin-top: clamp(1rem, 2.4vw, 2rem); }
.triptych figure:nth-child(2) { animation-delay: -3.6s; }
.triptych figure:nth-child(3) { animation-delay: -7.2s; }
.hp__tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 1.05rem + 3.9vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.026em;
  color: var(--cream);
  max-width: 15ch;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.hp--statement .lede { color: rgba(255, 255, 255, 0.8); max-width: 46ch; }

/* Pinned mode — switched on by JS only where it makes sense. */
.hero-seq.is-pinned { height: 260vh; }
.hero-seq.is-pinned .hero-seq__pin {
  position: sticky;
  top: var(--head-h, 77px);
  height: calc(100svh - var(--head-h, 77px));
}
.hero-seq.is-pinned .hp {
  grid-area: 1 / 1;
  height: calc(100svh - var(--head-h, 77px));
  display: grid;
  align-content: center;
  padding: 0;
  will-change: opacity, transform;
}
.hero-seq.is-pinned .hero__in { padding-block: 0; }
.hero-seq.is-pinned .hp--intro .hero__art { max-width: 360px; margin-left: auto; }
.hero-seq.is-pinned .hp--statement { min-height: 0; }

/* Screen dots */
.seq-dots {
  position: absolute;
  right: clamp(1rem, 2.2vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: none;
  gap: 0.7rem;
  grid-auto-flow: row;
}
.hero-seq.is-pinned .seq-dots { display: grid; }
.seq-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--navy-500);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s var(--spring);
}
.seq-dots button[aria-current="true"] { background: var(--navy-600); transform: scale(1.45); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.hero-seq.is-pinned .hp--intro .scroll-cue { display: inline-flex; }
.scroll-cue svg { width: 14px; height: 14px; animation: ibg-nudge 1.9s ease-in-out infinite; }
@keyframes ibg-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Proof screen */
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.proof-grid .slot__img { max-height: 46svh; }

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; }
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem);
}
.hero__copy { max-width: 34rem; }
.hero h1 { margin-block: 1.4rem 1.6rem; }
.hero .lede { margin-bottom: 2.2rem; max-width: 42ch; }

/* Homepage headline: the three-part promise, stepped. */
.promise { display: grid; }
.promise span { display: block; }
.promise span:nth-child(2) { padding-left: 0.09em; }
.promise span:nth-child(3) { padding-left: 0.18em; }

.hero__art { position: relative; }
.hero__badge {
  position: absolute;
  left: -1rem;
  top: 58%;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  box-shadow: 0 14px 30px -20px rgba(8, 22, 58, 0.45);
  display: grid;
  gap: 0.1rem;
}
.hero__badge b {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1;
  color: var(--navy-700);
  font-variation-settings: "opsz" 20;
}
.hero__badge span {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* Credential rail ------------------------------------------------------ */
.rail {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #fff;
}
.rail__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.rail__item { padding: 1.6rem clamp(0.75rem, 2vw, 1.75rem); }
.rail__item + .rail__item { border-left: 1px solid var(--rule-soft); }
.rail__item b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem);
  font-weight: 600;
  line-height: 1;
  color: var(--navy-700);
  font-variation-settings: "opsz" 40;
}
.rail__item span {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* Split editorial block ------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
.split.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.is-even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.split__head { position: sticky; top: 108px; }
.split__head h2 { margin-top: 1.2rem; }

.stack { display: grid; gap: 1.15rem; }
.stack.is-loose { gap: 1.75rem; }

/* Colour key: four brand hues standing in for four commitments. */
.keyed { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.keyed__bars { display: grid; gap: 6px; }
.keyed__bars i { display: block; width: 6px; height: 100%; min-height: 26px; border-radius: 3px; }
.keyed p { font-size: var(--t-lede); line-height: 1.62; color: var(--ink-70); }

/* Monograph: two-column measure, as used in printed product literature. */
.monograph {
  column-count: 2;
  column-gap: clamp(1.75rem, 4vw, 3.5rem);
  column-rule: 1px solid var(--rule);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-70);
}

/* Conviction band ------------------------------------------------------ */
.band {
  background: var(--navy-800);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 82% at 82% 0%, rgba(0, 174, 239, 0.22), transparent 62%),
    radial-gradient(46% 70% at 4% 100%, rgba(236, 28, 125, 0.16), transparent 60%);
}
.band__in { position: relative; }
.band .lede { color: rgba(255, 255, 255, 0.74); }
.band__quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 1rem + 2.5vw, 3.05rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 20ch;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}
.band__quote.is-wide { max-width: 26ch; }
.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

/* Mission plate -------------------------------------------------------- */
.mission {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 28px 54px -40px rgba(8, 22, 58, 0.45);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  gap: 1.4rem;
  position: relative;
  overflow: hidden;
}
.mission::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--magenta), var(--violet), var(--navy-500), var(--cyan), var(--teal), var(--lime));
}
.mission p {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--navy-800);
  letter-spacing: -0.015em;
  max-width: 26ch;
  font-variation-settings: "opsz" 60;
}

/* Spectrum: the six segments as one continuous standard of care --------- */
.spectrum { display: grid; gap: 1.5rem; }
.spectrum__bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
}

/* A tinted highlight travels the bar on a slow loop. Transform only, so it
   composites without repainting; parked entirely when off-screen. */
.spectrum__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(100deg,
    transparent 34%,
    rgba(255, 255, 255, 0.3) 44%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(0, 174, 239, 0.28) 55%,
    rgba(255, 255, 255, 0.24) 60%,
    transparent 70%);
  transform: translateX(-100%);
  animation: ibg-sweep 5.5s linear 1.1s infinite;
  will-change: transform;
}
@keyframes ibg-sweep {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
.spectrum.is-off .spectrum__bar::after { animation-play-state: paused; }
.spectrum__bar i {
  display: block;
  background: var(--seg);
  transform: scaleX(0);
  transform-origin: left;
}
.spectrum__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.spectrum__list li { position: relative; padding-top: 0.85rem; }
.spectrum__list li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--seg);
  transform: scaleX(0);
  transform-origin: left;
}

/* The six segments fill left to right, one after the next. */
@keyframes ibg-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.spectrum__bar i:nth-child(1), .spectrum__list li:nth-child(1) { --n: 0; }
.spectrum__bar i:nth-child(2), .spectrum__list li:nth-child(2) { --n: 1; }
.spectrum__bar i:nth-child(3), .spectrum__list li:nth-child(3) { --n: 2; }
.spectrum__bar i:nth-child(4), .spectrum__list li:nth-child(4) { --n: 3; }
.spectrum__bar i:nth-child(5), .spectrum__list li:nth-child(5) { --n: 4; }
.spectrum__bar i:nth-child(6), .spectrum__list li:nth-child(6) { --n: 5; }

.spectrum.is-in .spectrum__bar i,
.spectrum.is-in .spectrum__list li::before {
  animation: ibg-fill 0.8s var(--spring) both;
  animation-delay: calc(var(--n, 0) * 95ms);
}
.spectrum.is-in .spectrum__list li::before { animation-delay: calc(var(--n, 0) * 95ms + 120ms); }

/* Without JS nothing adds .is-in, so show them filled. */
.no-js .spectrum__bar i,
.no-js .spectrum__list li::before { transform: none; }
.spectrum__list b {
  display: block;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 20;
}

/* Segment shelf: the six specialties as expanding spines ---------------- */
.shelf {
  display: flex;
  gap: 8px;
  height: 580px;
}
.shelf__item {
  --on: #fff;              /* ink that reads on this segment's hue */
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--seg);
  transition: flex-grow 0.6s var(--ease-out);
}
/* Cyan, teal and lime are too light to carry white text. */
.shelf__item.is-pale { --on: #08163a; }
.shelf__item.is-open { flex-grow: 4.6; }

.shelf__hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 100%;
}
.shelf__item.is-open .shelf__hit { cursor: default; }

.shelf__spine {
  position: absolute;
  right: 1.35rem;
  top: 1.6rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on);
  transition: opacity 0.3s;
}
.shelf__item.is-open .shelf__spine { opacity: 0; }

/* Prompt drawer: keeps swap instructions to hand without cluttering a section. */
.prompt-drawer {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: #fff;
  padding: 1.1rem 1.35rem;
}
.prompt-drawer > summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-600);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.prompt-drawer > summary::-webkit-details-marker { display: none; }
.prompt-drawer > summary::before { content: "+"; font-weight: 600; }
.prompt-drawer[open] > summary::before { content: "–"; }
.prompt-drawer__body { display: grid; gap: 1.25rem; margin-top: 1.35rem; }
.prompt-item { display: grid; gap: 0.5rem; padding-top: 1.1rem; border-top: 3px solid var(--seg, var(--rule)); }
.prompt-item h4 {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.prompt-item .slot__prompt { margin-top: 0; }
.prompt-item .slot__copy { justify-self: start; margin-top: 0; }

.shelf__panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s 0.1s, visibility 0.4s;
}
.shelf__item.is-open .shelf__panel { opacity: 1; visibility: visible; }
.shelf__media { position: relative; overflow: hidden; min-width: 380px; }
.shelf__body {
  padding: clamp(1.25rem, 2vw, 1.9rem);
  background: var(--seg);
  background: color-mix(in srgb, var(--seg) 84%, #08163a);
  color: var(--on);
  min-width: 380px;
  display: grid;
  gap: 0.6rem;
  align-content: end;
}
.shelf__item.is-pale .shelf__body { background: var(--seg); }
.shelf__body h3 { color: var(--on); font-size: clamp(1.25rem, 1rem + 0.7vw, 1.6rem); }
.shelf__body p { color: var(--on); opacity: 0.92; font-size: 1rem; line-height: 1.6; max-width: 46ch; }

/* Image placeholders --------------------------------------------------- */
.slot { display: grid; gap: 0.65rem; margin: 0; }
.slot__frame {
  position: relative;
  background:
    linear-gradient(135deg, #eef2f9 0%, #e4eaf5 100%);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.slot__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 51, 122, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 51, 122, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
}
.slot__glyph {
  position: relative;
  width: 34px;
  height: 34px;
  color: var(--navy-500);
  opacity: 0.55;
}
.slot__name {
  position: relative;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 20;
  line-height: 1.25;
}
.slot__meta {
  position: relative;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.slot__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.08em;
  color: var(--ink-50);
}
.slot__id { text-transform: uppercase; letter-spacing: 0.12em; }

.slot details { flex: 1 1 100%; }
.slot summary {
  cursor: pointer;
  color: var(--navy-600);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: max-content;
}
.slot summary::-webkit-details-marker { display: none; }
.slot summary::before { content: "+"; font-weight: 600; }
.slot details[open] summary::before { content: "–"; }
.slot__prompt {
  margin-top: 0.6rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--ink-70);
  text-transform: none;
}
.slot__copy {
  margin-top: 0.7rem;
  background: var(--navy-700);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.slot__copy:hover { background: var(--navy-600); }

/* Frame variants — ratios match the supplied photography */
.slot.is-shield .slot__frame {
  aspect-ratio: 3 / 4;
  clip-path: url(#ibgShield);
  border: 0;
  border-radius: 0;
  background: linear-gradient(160deg, #dfe8f6 0%, #cedcf0 55%, #bccfe9 100%);
}
.slot.is-wide .slot__frame { aspect-ratio: 16 / 9; }
.slot.is-tall .slot__frame { aspect-ratio: 3 / 4; }
.slot.is-square .slot__frame { aspect-ratio: 1 / 1; }
.slot.is-fill { height: 100%; }
.slot.is-fill .slot__frame { aspect-ratio: auto; height: 100%; border: 0; border-radius: 0; }
.slot.is-fill .slot__cap { display: none; }

/* Real photography occupies exactly the frames the placeholders held. */
.slot picture {
  display: block;
  position: relative;
  overflow: hidden;              /* contains the hover zoom */
  border-radius: var(--r);
}
.slot.is-shield picture { border-radius: 0; }
.slot.is-fill picture, .triptych picture { border-radius: 14px; }

/* Hover: the photo eases in behind a light sweeping across it. */
.slot__img { transition: transform 0.9s var(--spring); }
.slot picture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.3) 48%, transparent 62%);
  transform: translateX(-125%);
  transition: transform 0.95s var(--spring);
}
figure.slot:hover .slot__img { transform: scale(1.05); }
figure.slot:hover picture::after { transform: translateX(125%); }
.slot__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  background: #e9eef7;
}
.slot.is-wide   .slot__img { aspect-ratio: 16 / 9; }
.slot.is-tall   .slot__img { aspect-ratio: 3 / 4; }
.slot.is-square .slot__img { aspect-ratio: 1 / 1; }
.slot.is-shield .slot__img {
  aspect-ratio: 3 / 4;
  clip-path: url(#ibgShield);
  border-radius: 0;
}
.slot.is-fill picture { height: 100%; }
.slot.is-fill .slot__img {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  object-position: 50% 38%;   /* the shelf crops tall; bias toward faces */
}
.mosaic .slot__img { height: 100%; aspect-ratio: auto; }
.slot.is-dark .slot__frame {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.22);
}
.slot.is-dark .slot__name { color: var(--on, #fff); }
.slot.is-dark .slot__meta { color: var(--on, #fff); opacity: 0.72; }
.slot.is-dark .slot__glyph { color: var(--on, #fff); opacity: 0.7; }
.slot.is-dark .slot__frame::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}

/* Shield hero frame gets a silver hairline, echoing the logo border. */
.shield-wrap { position: relative; }
.shield-wrap__edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 3 / 4;   /* matches .slot.is-shield .slot__frame */
  z-index: 2;
  pointer-events: none;
}
.shield-wrap__edge path {
  fill: none;
  stroke: var(--navy-500);
  stroke-width: 2;
  stroke-opacity: 0.35;
  vector-effect: non-scaling-stroke;
}

/* Specialty preview: a staggered row, not a grid of cards --------------- */
.specialties {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.2vw, 1rem);
  align-items: start;
}
.spec {
  display: grid;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.45s var(--spring);
}
.spec:nth-child(even) { margin-top: clamp(1.5rem, 3.5vw, 3.25rem); }
.spec:hover { transform: translateY(-8px); }

.spec__shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  aspect-ratio: 4 / 5;
  background: #e9eef7;
}
.spec__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  transition: transform 0.7s var(--spring);
}
.spec:hover .spec__shot img { transform: scale(1.06); }
.spec__shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--seg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--spring);
}
.spec:hover .spec__shot::after,
.spec:focus-visible .spec__shot::after { transform: scaleX(1); }

.spec__name {
  font-family: var(--display);
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  font-variation-settings: "opsz" 20;
}

/* Teaser: a wide plate with a second image lapping over its corner ------ */
.teaser {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.teaser.is-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.teaser__stack { position: relative; }

/* Closing panel --------------------------------------------------------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(14px, 2vw, 22px);
  background: var(--navy-800);
  color: #fff;
  padding: clamp(2.25rem, 5vw, 4.5rem);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 88% 4%, rgba(0, 174, 239, 0.26), transparent 62%),
    radial-gradient(44% 70% at 4% 100%, rgba(236, 28, 125, 0.2), transparent 60%);
}
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--magenta), var(--violet), var(--navy-500), var(--cyan), var(--teal), var(--lime));
}
.cta-panel__in { position: relative; display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }
.cta-panel__mission {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--cream);
  max-width: 22ch;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}
.cta-panel__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.cta-panel__split p { font-size: var(--t-lede); line-height: 1.55; color: rgba(255, 255, 255, 0.82); max-width: 34ch; }
.cta-panel__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.cta-panel__direct a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(255, 246, 220, 0.35); }
.cta-panel__direct a:hover { border-bottom-color: var(--cream); }

/* WhatsApp — a small disc, with a chat bubble that introduces itself ----- */
.wa-widget {
  position: fixed;
  right: clamp(0.9rem, 2.2vw, 1.6rem);
  bottom: clamp(0.9rem, 2.2vw, 1.6rem);
  z-index: 150;
  display: grid;
  justify-items: end;
  gap: 0.7rem;
}

.wa {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(37, 211, 102, 0.8),
              0 4px 12px -6px rgba(8, 22, 58, 0.35);
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--spring);
}
.wa svg { width: 27px; height: 27px; }
.wa:hover, .wa:focus-visible {
  transform: scale(1.07);
  box-shadow: 0 16px 30px -12px rgba(37, 211, 102, 0.9);
}
.wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-pulse 3.2s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* The bubble */
.wa-pop {
  position: relative;
  width: min(272px, calc(100vw - 2.2rem));
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px 16px 6px 16px;
  padding: 0.9rem 1rem 1rem;
  box-shadow: 0 22px 44px -22px rgba(8, 22, 58, 0.5);
  /* Kept in flow and hidden by visibility, so showing it shifts nothing. */
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transform-origin: 100% 100%;
  transition: opacity 0.35s var(--spring), transform 0.45s var(--spring),
              visibility 0s linear 0.45s;
}
.wa-pop.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: none;
  transition-delay: 0s, 0s, 0s;
}

.wa-pop__who {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a9c50;
  margin-bottom: 0.35rem;
}
.wa-pop__who::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
}
.wa-pop__msg { font-size: 0.875rem; line-height: 1.55; color: var(--ink-70); }
.wa-pop__cta {
  display: inline-block;
  margin-top: 0.75rem;
  background: #25d366;
  color: #06341c;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: background-color 0.25s;
}
.wa-pop__cta:hover { background: #1fbe5b; }
.wa-pop__x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-50);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.wa-pop__x:hover { background: #f1f4f9; color: var(--ink); }

/* Blur-up loading -------------------------------------------------------
   Each figure carries a ~450-byte blurred preview as its background, so a
   tile is never an empty box: the colour and composition are there on the
   first paint and the full photo cross-fades in over it. */
.slot picture[data-lqip] {
  background-image: var(--lqip);
  background-size: cover;
  background-position: center;
}
.slot picture[data-lqip]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(12px);
  transition: opacity 0.6s ease;
}
.slot picture[data-lqip].is-loaded::before { opacity: 0; }
.slot picture[data-lqip] > .slot__img {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.9s var(--spring);
}
.slot picture[data-lqip].is-loaded > .slot__img { opacity: 1; }
.no-js .slot picture[data-lqip] > .slot__img { opacity: 1; }
.no-js .slot picture[data-lqip]::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .slot picture[data-lqip] > .slot__img { transition: opacity 0.2s ease; }
}

/* Product reel ----------------------------------------------------------
   Two rows drifting in opposite directions. No card behind the packs —
   the cut-out shots sit straight on the page over a soft pool of light,
   and the composition detail fades in on hover. The track holds two
   identical sets and travels exactly -50%, so the loop is seamless. */
.reel {
  display: grid;
  gap: clamp(0.5rem, 1.4vw, 1.25rem);
  background: #fff;                 /* matches the studio backgrounds, so no
                                       card outline appears around any pack */
  padding-block: clamp(1.5rem, 3vw, 2.75rem);
  border-block: 1px solid var(--rule);
}

/* Native horizontal scrolling, nudged along by JS. Because it is a real
   scroller the visitor can drag, swipe or trackpad-scroll it at any time. */
.reel__row {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reel__row::-webkit-scrollbar { display: none; }
.reel__row.is-dragging { cursor: grabbing; user-select: none; }
.reel__row.is-dragging a { pointer-events: none; }

.reel__track {
  display: flex;
  width: max-content;
  gap: clamp(0.5rem, 1.4vw, 1.25rem);
}

.pk {
  position: relative;
  flex: none;
  width: clamp(178px, 19vw, 236px);
  height: clamp(340px, 33vw, 420px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  text-align: center;
}

/* the picture must fill its track exactly, not its own aspect ratio */
.pk > picture { display: block; height: 100%; min-height: 0; }

.pk__shot {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s var(--spring);
}
.pk:hover .pk__shot, .pk:focus-within .pk__shot { transform: translateY(-12px) scale(1.05); }

.pk__info {
  position: relative;
  display: grid;
  grid-template-rows: 2.1em 5.8em;      /* name, then detail — both fixed */
  align-content: start;
  padding: 0 0.4rem 0.2rem;
}
.pk__name {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy-800);
  font-variation-settings: "opsz" 20;
}
/* detail is revealed on hover, but its space is always reserved so the
   row never reflows while it is sliding */
.pk__detail {
  display: grid;
  align-content: start;
  gap: 0.12rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--spring), transform 0.5s var(--spring);
}
.pk:hover .pk__detail, .pk:focus-within .pk__detail { opacity: 1; transform: none; }
.pk__cat {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seg);
}
.pk__comp { display: block; font-size: 0.75rem; line-height: 1.45; color: var(--ink-50); }
.pk__size {
  justify-self: center;
  margin-top: 0.15rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--ink-70);
  border-top: 2px solid var(--seg);
  padding-top: 0.3rem;
}

@media (hover: none) {
  .pk__detail { opacity: 1; transform: none; }   /* nothing to hover on touch */
}
@media (prefers-reduced-motion: reduce) {
  /* no auto-advance; it stays a plain scroller the visitor drives */
  .reel__row { scroll-snap-type: x proximity; }
  .pk { scroll-snap-align: center; }
}

/* Hero screen 2 — packs on the navy stage need a light tile to read against */
.hp-pack { display: grid; gap: 0.7rem; margin: 0; text-align: center; }
.hp-pack picture {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.65);
}
.hp-pack img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.hp-pack figcaption { display: grid; gap: 0.15rem; }
.hp-pack__name {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  font-variation-settings: "opsz" 20;
}
.hp-pack__cat {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seg);
}

/* Gallery mosaic ------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 2.25rem;
}
.filters button {
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filters button:hover { border-color: var(--navy-500); color: var(--navy-700); }
.filters button[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(105px, 9.4vw, 148px);
  grid-auto-flow: dense;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}
.mosaic > * { grid-column: span 2; grid-row: span 2; }
.mosaic > .is-w3 { grid-column: span 3; }
.mosaic > .is-w4 { grid-column: span 4; }
.mosaic > .is-w6 { grid-column: span 6; }
.mosaic > .is-h3 { grid-row: span 3; }
.mosaic > [hidden], .range > [hidden] { display: none; }

/* Frames fill their grid cell so every row lines up; captions sit beneath. */
.mosaic > .slot { grid-template-rows: minmax(0, 1fr) auto; }
.mosaic .slot__frame { aspect-ratio: auto; height: 100%; }

.closing-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--navy-800);
  font-variation-settings: "opsz" 120;
}

/* Social camp offset pair ---------------------------------------------- */
.offset {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
}
.offset__a { grid-column: 1 / span 7; }
.offset__b { grid-column: 8 / span 5; align-self: end; padding-bottom: clamp(0rem, 4vw, 3rem); }
.offset__c { grid-column: 2 / span 5; }
.offset__d { grid-column: 7 / span 6; }

/* Contact -------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.detail { display: grid; gap: 0.4rem; padding-block: 1.4rem; border-top: 1px solid var(--rule); }
.detail dt {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.detail dd { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }
.detail dd a { text-decoration: none; color: var(--navy-700); font-weight: 600; border-bottom: 1px solid var(--silver); }
.detail dd a:hover { border-bottom-color: var(--magenta); }
.detail address { font-style: normal; }

.form {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: 0 32px 60px -44px rgba(8, 22, 58, 0.5);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.field input, .field textarea, .field select {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  background: var(--paper);
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  background: #fff;
  border-color: var(--navy-500);
}
.field textarea { resize: vertical; min-height: 132px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.form__note { font-family: var(--mono); font-size: var(--t-mono); line-height: 1.7; color: var(--ink-50); letter-spacing: 0.04em; }

/* Footer --------------------------------------------------------------- */
.site-foot { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); }
.site-foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3rem, 5vw, 5rem);
}
.foot-brand { display: grid; gap: 1rem; justify-items: start; }
.foot-brand__name {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 40;
}
.foot-brand p { font-size: 0.9375rem; max-width: 34ch; }
.foot-tag {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}
.foot-col h4 {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.1rem;
}
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.foot-col a { text-decoration: none; font-size: 0.9375rem; transition: color 0.2s; }
.foot-col a:hover { color: #fff; }
.foot-col address { font-style: normal; font-size: 0.9375rem; line-height: 1.75; }

.site-foot__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Page masthead (inner pages) ------------------------------------------ */
.masthead { border-bottom: 1px solid var(--rule); background: #fff; }
.masthead__in {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.masthead h1 { font-size: clamp(2.4rem, 1.4rem + 3.1vw, 3.9rem); margin-top: 1.3rem; }
.masthead .lede { max-width: 54ch; }

.crumbs {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--navy-700); }

/* Closing call ---------------------------------------------------------- */
.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 28px 54px -40px rgba(8, 22, 58, 0.45);
}
.callout p {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--navy-800);
  letter-spacing: -0.015em;
  max-width: 42ch;
  font-variation-settings: "opsz" 60;
}

/* In a half-width column the two-up callout has no room; stack it. */
.callout.is-stacked { grid-template-columns: 1fr; justify-items: start; gap: 1.5rem; }

/* Motion ---------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--spring), transform 0.85s var(--spring);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Headings split into lines by JS, each rising out of its own mask.
   The mask replaces the fade, so the two never stack. */
[data-reveal][data-lines] { opacity: 1; transform: none; transition: none; }
.ln { display: block; overflow: hidden; padding-block: 0.07em; margin-block: -0.07em; }
.ln > i {
  display: block;
  font-style: normal;
  transform: translateY(115%);
  transition: transform 0.9s var(--spring);
  transition-delay: calc(var(--i, 0) * 85ms);
}
[data-lines].is-in .ln > i { transform: none; }
.no-js .ln > i { transform: none; }

/* ── Hero entrance ─────────────────────────────────────────────────────
   One orchestrated sequence on load: eyebrow, then the headline rising
   line by line out of its own mask, then the shield drawing itself. */

@keyframes ibg-line-up { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes ibg-rise    { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ibg-pop {
  0%   { opacity: 0; transform: translateY(16px) scale(0.92); }
  62%  { opacity: 1; transform: translateY(-4px) scale(1.015); }
  100% { opacity: 1; transform: none; }
}
@keyframes ibg-draw  { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ibg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes ibg-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-3%, 4%, 0) scale(1.1); }
}

.hero::before { animation: ibg-drift 20s ease-in-out infinite; }

.hero .eyebrow { animation: ibg-rise 0.75s var(--spring) 0.05s backwards; }

.promise span {
  display: block;
  overflow: hidden;
  padding-block: 0.06em;      /* room for ascenders inside the mask */
  margin-block: -0.06em;
}
.promise i {
  display: block;
  font-style: normal;
  animation: ibg-line-up 1s var(--spring) backwards;
}
.promise span:nth-child(1) i { animation-delay: 0.16s; }
.promise span:nth-child(2) i { animation-delay: 0.28s; }
.promise span:nth-child(3) i { animation-delay: 0.40s; color: var(--navy-600); }

.hero .lede    { animation: ibg-rise 0.85s var(--spring) 0.52s backwards; }
.hero .btn-row { animation: ibg-rise 0.85s var(--spring) 0.64s backwards; }

.hero__art {
  animation: ibg-rise 1.15s var(--spring) 0.3s backwards,
             ibg-float 9s ease-in-out 1.6s infinite;
  will-change: transform;
}
.hero__badge { animation: ibg-pop 0.85s var(--spring) 1.1s backwards; }

.shield-wrap__edge path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: ibg-draw 2s ease-out 0.5s forwards;
}

/* Scroll progress — pure CSS, and simply absent where unsupported. */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 200;
  background: linear-gradient(90deg, var(--magenta), var(--violet), var(--cyan), var(--lime));
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: ibg-progress linear;
  animation-timeline: scroll(root);
}
@keyframes ibg-progress { to { transform: scaleX(1); } }

.no-js [data-reveal] { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .site-head.is-open .nav {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    padding: 0.75rem var(--pad-x) 1.5rem;
    gap: 0.15rem;
    box-shadow: 0 24px 40px -30px rgba(8, 22, 58, 0.5);
  }
  .site-head.is-open .nav a { padding: 0.8rem 0.5rem; font-size: 1rem; }
  .site-head.is-open .nav .nav__cta { margin-left: 0; margin-top: 0.6rem; justify-self: start; padding-inline: 1.4rem; }
  .site-head.is-open .nav a[aria-current="page"]::after { display: none; }
  .site-head { position: relative; }
}

@media (max-width: 1080px) {
  .specialties { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.25rem); }
  .spec:nth-child(even) { margin-top: 0; }
  .spec:nth-child(3n + 2) { margin-top: clamp(1.25rem, 3vw, 2.5rem); }
}

@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; }
  .hp--statement > .wrap { grid-template-columns: 1fr; }
  .triptych { max-width: 520px; }
  .proof-grid, .teaser, .teaser.is-flip { grid-template-columns: 1fr; }
  .cta-panel__split { grid-template-columns: 1fr; align-items: start; }
  .hero__copy { max-width: 32ch; }
  .hero__art { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero__badge { left: 0; }
  .split, .split.is-flip, .split.is-even, .contact-grid, .masthead__in { grid-template-columns: 1fr; }
  .split__head { position: static; }
  .band__grid { grid-template-columns: 1fr; }
  .spectrum__list { grid-template-columns: repeat(3, 1fr); }
  .monograph { column-count: 1; }
  .offset__a, .offset__b, .offset__c, .offset__d { grid-column: 1 / -1; padding-bottom: 0; }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mosaic > .is-w3, .mosaic > .is-w4 { grid-column: span 4; }
  .site-foot__top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .callout { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .shelf { flex-direction: column; height: auto; gap: 6px; }
  .shelf__item { flex: 0 0 auto; max-height: 92px; transition: max-height 0.55s var(--ease-out); }
  .shelf__item.is-open { max-height: 760px; }
  .shelf__spine {
    writing-mode: horizontal-tb;
    right: auto;
    left: 4.2rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .shelf__index { top: 50%; bottom: auto; transform: translateY(-50%); left: 1.25rem; }
  .shelf__panel { position: static; opacity: 0; visibility: hidden; grid-template-rows: none; }
  .shelf__item.is-open .shelf__panel { opacity: 1; visibility: visible; }
  .shelf__media, .shelf__body { min-width: 0; }
  .shelf__media { aspect-ratio: 16 / 9; }
  .shelf__body { padding-top: 1.25rem; }
  .shelf__item.is-open .shelf__hit { height: 92px; inset: 0 0 auto 0; }
}

@media (max-width: 640px) {
  /* Six portraits become a swipeable strip rather than shrinking to stamps. */
  .specialties {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 58%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
    margin-inline: calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
    scrollbar-width: thin;
  }
  .spec { scroll-snap-align: start; }
  .spec:nth-child(3n + 2) { margin-top: 0; }
}

@media (max-width: 700px) {
  .brand__tag { display: none; }   /* wraps to two lines and inflates the bar */
  .rail__in { grid-template-columns: repeat(2, 1fr); }
  .rail__item:nth-child(3) { border-left: 0; }
  .rail__item:nth-child(n + 3) { border-top: 1px solid var(--rule-soft); }
  .spectrum__list { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .site-foot__top { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic > *, .mosaic > .is-w3, .mosaic > .is-w4 { grid-column: span 2; }
  .keyed { grid-template-columns: 1fr; }
  .keyed__bars { grid-auto-flow: column; height: 6px; }
  .keyed__bars i { width: 100%; height: 6px; min-height: 0; }
}

@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-head, .burger, .filters, .slot__cap, .btn-row { display: none; }
  body { background: #fff; }
}
