/* Pelican Panache reversed system. Navy world, bone type, cyan scalpel. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ground: #0B1530;
  --navy: #14274C;
  --bone: #FBFAF6;
  --cyan: #009DC6;
  --slate: #7296A7; /* secondary text on dark grounds, 4.66:1 on navy; the brand's print slate #4C6B7A fails there */
  --unit: 8px;
  --wrap: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--ground);
  color: var(--bone);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 calc(var(--unit) * 3); }

::selection { background: var(--cyan); color: var(--ground); }

/* Accessibility utilities */
.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;
  top: -100%; left: calc(var(--unit) * 2);
  z-index: 200;
  background: var(--cyan);
  color: var(--ground);
  font-weight: 700; font-size: 14px;
  padding: calc(var(--unit) * 1.5) calc(var(--unit) * 3);
  text-decoration: none;
  transition: top 200ms var(--ease-out);
}
.skip-link:focus { top: calc(var(--unit) * 2); }

/* Film grain */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* Header */
.site-head {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(var(--unit) * 3) calc(var(--unit) * 4);
  mix-blend-mode: normal;
}
.wordmark {
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center;
  gap: calc(var(--unit) * 1.5);
}
.wordmark-icon { height: 30px; width: auto; }
.head-link {
  background: none; border: none; padding: 0 0 2px; font: inherit; cursor: pointer;
  color: var(--bone); text-decoration: none;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--cyan);
  transition: color 250ms var(--ease-inout);
}
.head-link:hover { color: var(--cyan); }
.head-link.is-cta { cursor: pointer; }

/* Eyebrow */
.eyebrow {
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: calc(var(--unit) * 3);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 157, 198, 0.8);
  margin-right: calc(var(--unit) * 1.5);
  vertical-align: 2px;
}

.chip {
  display: inline-flex; align-items: center;
  gap: calc(var(--unit) * 1.25);
  padding: calc(var(--unit) * 1.25) calc(var(--unit) * 2.25);
  border: 1px solid rgba(76, 107, 122, 0.45);
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bone);
  margin-bottom: calc(var(--unit) * 4);
}
.chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 157, 198, 0.8);
}

/* Scrub stages */
.scrub-stage { position: relative; }
.hero, .pillars { height: 420vh; }

.stage-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.stage-canvas, .stage-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.stage-poster { opacity: 0; transition: opacity 600ms var(--ease-out); }
.no-scrub .stage-poster, .stage-poster.show { opacity: 1; }
.stage-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11, 21, 48, 0.92) 0%, rgba(11, 21, 48, 0) 34%),
    linear-gradient(to bottom, rgba(11, 21, 48, 0.6) 0%, rgba(11, 21, 48, 0) 24%),
    radial-gradient(ellipse at center, rgba(11, 21, 48, 0) 55%, rgba(11, 21, 48, 0.55) 100%);
}

/* Hero copy */
.hero-copy {
  position: absolute; left: 0; right: 0;
  bottom: calc(var(--unit) * 12);
  text-align: center;
  padding: 0 calc(var(--unit) * 3);
}
.hero-copy .eyebrow {
  color: var(--bone);
  text-shadow: 0 2px 14px rgba(11, 21, 48, 0.9), 0 1px 4px rgba(11, 21, 48, 0.95);
}
.hero-title {
  font-weight: 700;
  font-size: clamp(56px, 11.5vw, 168px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.hero-title.in .letter { opacity: 1; transform: translateY(0); }
.hero-sub {
  margin-top: calc(var(--unit) * 3);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 400;
  color: var(--bone);
}
.hero-accent {
  margin-top: var(--unit);
  font-weight: 600;
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
}
.scroll-cue {
  position: absolute; bottom: calc(var(--unit) * 3);
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: var(--unit);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--slate);
}
.scroll-cue span {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: cue-drop 2s var(--ease-inout) infinite;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Generic reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Stats */
.stats {
  background: var(--ground);
  padding: calc(var(--unit) * 16) 0;
  border-top: 1px solid rgba(76, 107, 122, 0.25);
  border-bottom: 1px solid rgba(76, 107, 122, 0.25);
  position: relative; z-index: 2;
}
.stats-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(76, 107, 122, 0.35);
}
.stat { padding: calc(var(--unit) * 5) calc(var(--unit) * 4); }
.stat:not(:first-child) { border-left: 1px solid rgba(76, 107, 122, 0.35); }
.stat-num {
  display: block;
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-num .count { color: var(--bone); }
.stat-label {
  display: block;
  margin-top: calc(var(--unit) * 2);
  padding-top: calc(var(--unit) * 2);
  border-top: 2px solid var(--cyan);
  font-size: 14px;
  color: var(--slate);
  max-width: 24ch;
}

/* Pillars */
.pillars-copy {
  position: absolute; left: 0; right: 0;
  top: 50%; transform: translateY(-50%);
  margin: 0 auto; width: 100%;
}
.pillars-copy .eyebrow {
  color: var(--bone);
  text-shadow: 0 2px 14px rgba(11, 21, 48, 0.9), 0 1px 4px rgba(11, 21, 48, 0.95);
}
.pillar-list { list-style: none; max-width: 620px; }
.pillar {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  padding: calc(var(--unit) * 3) 0;
  border-top: 1px solid rgba(251, 250, 246, 0.14);
}
.pillar.on { opacity: 1; transform: translateY(0); }
.pillar-index {
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.pillar h2 {
  font-weight: 700;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: var(--unit) 0;
  text-transform: uppercase;
}
.pillar p { color: var(--bone); font-size: clamp(15px, 1.4vw, 18px); max-width: 44ch; }

/* Work */
.work { padding: calc(var(--unit) * 20) 0; }
.work-bg {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.work-copy { margin-top: -100vh; margin-top: -100svh; }
.work-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11, 21, 48, 0.78) 0%, rgba(11, 21, 48, 0.5) 55%, rgba(11, 21, 48, 0.25) 100%);
}
.work-copy { position: relative; z-index: 2; }
.work-title {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: calc(var(--unit) * 8);
}
.card-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: calc(var(--unit) * 2);
  max-width: 760px;
  margin-left: auto; margin-right: auto;
  /* Let the gallery-walk clip play out before the cards mount. */
  margin-top: 175vh;
}
.card {
  position: relative;
  display: flex; align-items: baseline;
  gap: calc(var(--unit) * 4);
  padding: calc(var(--unit) * 4);
  background: rgba(20, 39, 76, 0.55);
  border: 1px solid rgba(76, 107, 122, 0.3);
  backdrop-filter: blur(6px);
  transition: transform 300ms var(--ease-inout), border-color 300ms var(--ease-inout), background 300ms var(--ease-inout);
}
.card:hover {
  transform: translateX(calc(var(--unit) * 2));
  border-color: var(--cyan);
  background: rgba(20, 39, 76, 0.8);
}
.card-cover { position: absolute; inset: 0; z-index: 1; }
.card-index {
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.card h3 {
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.card p { color: var(--bone); opacity: 0.85; font-size: 15px; margin-top: calc(var(--unit) * 0.5); }
.card-side {
  margin-left: auto;
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: calc(var(--unit) * 1.5);
  align-self: center;
}
.card-logo {
  height: 32px; width: auto;
  max-width: 160px; object-fit: contain;
  opacity: 0.9;
  transition: opacity 300ms var(--ease-inout);
}
.card:hover .card-logo { opacity: 1; }
/* Icon+wordmark logos (vs. pure horizontal wordmarks) carry more internal
   negative space, so they read smaller at the same box height. Bump them up. */
.card-logo[src*="island-remedies"], .card-logo[src*="fred-neelys"] { height: 44px; }
.card-tag-group {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: calc(var(--unit) * 0.5);
}
.card-tag {
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}
.card-click-hint {
  font-weight: 600; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate);
  opacity: 0.7;
  white-space: nowrap;
  transition: color 250ms var(--ease-inout), opacity 250ms var(--ease-inout);
}
.card:hover .card-click-hint { color: var(--cyan); opacity: 1; }

/* RIVALS app spotlight */
.rivals { padding: calc(var(--unit) * 18) 0; position: relative; z-index: 2; }
.rivals-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: calc(var(--unit) * 7);
  align-items: center;
}
.rivals-media {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(76, 107, 122, 0.35);
}
.rivals-video {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 1664 / 1248;
  object-fit: cover;
}
.rivals-copy .eyebrow { margin-bottom: calc(var(--unit) * 2); }
.rivals-title {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.rivals-tagline {
  color: var(--cyan);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  margin-top: calc(var(--unit) * 1.5);
  margin-bottom: calc(var(--unit) * 3);
}
.rivals-desc {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 46ch;
  margin-bottom: calc(var(--unit) * 3);
}
.rivals-meta {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.rivals-meta a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan);
  transition: color 250ms var(--ease-inout), border-color 250ms var(--ease-inout);
}
.rivals-meta a:hover { color: var(--bone); border-color: var(--bone); }

/* Why one partner */
.why {
  position: relative; z-index: 2;
  background: var(--ground);
  padding: calc(var(--unit) * 22) 0;
  border-top: 1px solid rgba(76, 107, 122, 0.25);
}
.why-title {
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 14ch;
}
.why-lead {
  margin-top: calc(var(--unit) * 4);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.01em;
  max-width: 30ch;
  line-height: 1.35;
}
.why-grid {
  margin-top: calc(var(--unit) * 10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--unit) * 8);
  max-width: 980px;
}
.why-label {
  display: block;
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: calc(var(--unit) * 2);
}
.why-col p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  max-width: 46ch;
}
.why-them { padding-left: calc(var(--unit) * 3); border-left: 1px solid rgba(76, 107, 122, 0.45); }
.why-them .why-label, .why-them p { color: var(--slate); }
.why-me { padding-left: calc(var(--unit) * 3); border-left: 2px solid var(--cyan); }
.why-me .why-label { color: var(--cyan); }
.why-me p { color: var(--bone); }
.why-quote {
  margin: calc(var(--unit) * 14) auto 0;
  max-width: 800px;
  text-align: center;
}
.why-quote::before {
  content: "";
  display: block;
  width: 48px; height: 2px;
  background: var(--cyan);
  margin: 0 auto calc(var(--unit) * 4);
}
.why-quote p {
  font-weight: 700;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Statement photo */
.statement { position: relative; background: var(--ground); }
.statement-frame {
  position: relative;
  height: 82vh; height: 82svh;
  overflow: hidden;
}
.statement-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center center;
  filter: saturate(0) contrast(1.04);
}
.statement-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--ground) 0%, rgba(11, 21, 48, 0) 12%),
    linear-gradient(to top, var(--ground) 0%, rgba(11, 21, 48, 0) 10%);
}
.statement-copy {
  text-align: center;
  padding: calc(var(--unit) * 8) calc(var(--unit) * 3);
}
.statement-copy .eyebrow { color: var(--cyan); text-align: center; }
.statement-line {
  font-size: clamp(17px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--bone);
  max-width: 32ch;
  margin: 0 auto;
}

/* Finale */
.finale {
  position: relative; z-index: 2;
  background: var(--ground);
  padding: calc(var(--unit) * 24) 0;
  text-align: center;
}
.finale-title {
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-transform: uppercase;
}
.finale-sub {
  margin-top: calc(var(--unit) * 3);
  color: var(--slate);
  font-size: clamp(15px, 1.5vw, 19px);
}
.finale-actions {
  margin-top: calc(var(--unit) * 6);
  display: flex; justify-content: center; gap: calc(var(--unit) * 2);
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  background: none; border: none; font: inherit; cursor: pointer;
  padding: calc(var(--unit) * 2) calc(var(--unit) * 5);
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
  transition: transform 250ms var(--ease-inout), background 250ms var(--ease-inout), color 250ms var(--ease-inout), border-color 250ms var(--ease-inout);
}
.btn-cyan { background: var(--cyan); color: var(--ground); }
.btn-cyan:hover { transform: translateY(-2px); }
.btn-ghost {
  color: var(--bone);
  border: 1px solid rgba(251, 250, 246, 0.5);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* Blueprint grid texture on flat sections */
.stats, .why, .process, .bio {
  background-image:
    linear-gradient(rgba(0, 157, 198, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 157, 198, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.finale {
  background-image:
    radial-gradient(60% 55% at 50% 0%, rgba(0, 157, 198, 0.07), transparent 70%),
    linear-gradient(rgba(0, 157, 198, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 157, 198, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

/* Bio: the operator */
.bio {
  position: relative; z-index: 2;
  background-color: var(--ground);
  padding: calc(var(--unit) * 20) 0;
  border-top: 1px solid rgba(76, 107, 122, 0.25);
}
.bio-title {
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-transform: uppercase;
}
.bio-body {
  margin-top: calc(var(--unit) * 5);
  max-width: 62ch;
}
.bio-body p {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: var(--bone);
}
.bio-body p + p { margin-top: calc(var(--unit) * 3); }
.bio-chips {
  margin-top: calc(var(--unit) * 6);
  display: flex; flex-wrap: wrap;
  gap: calc(var(--unit) * 2);
}
.bio-chips .chip { margin-bottom: 0; }

/* Process: how an engagement runs */
.process {
  position: relative; z-index: 2;
  background-color: var(--ground);
  padding: calc(var(--unit) * 20) 0;
  border-top: 1px solid rgba(76, 107, 122, 0.25);
}
.step-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(76, 107, 122, 0.35);
  margin-top: calc(var(--unit) * 5);
}
.step { padding: calc(var(--unit) * 5) calc(var(--unit) * 4) calc(var(--unit) * 2) 0; }
.step:not(:first-child) {
  border-left: 1px solid rgba(76, 107, 122, 0.35);
  padding-left: calc(var(--unit) * 4);
}
.step-num {
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan);
}
.step h3 {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: calc(var(--unit) * 1.5) 0 var(--unit);
}
.step p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone);
  opacity: 0.85;
  max-width: 34ch;
}

/* Hover preview panel over the work video */
.work-preview {
  position: fixed;
  right: 4vw; top: 50%;
  width: min(430px, 28vw);
  transform: translateY(calc(-50% + 12px)) scale(0.98);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  border: 1px solid rgba(76, 107, 122, 0.5);
  background: var(--navy);
  box-shadow: 0 0 40px rgba(0, 157, 198, 0.18), 0 24px 60px rgba(11, 21, 48, 0.6);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.work-preview.on {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.work-preview img { display: block; width: 100%; height: auto; }
@media (max-width: 1240px) { .work-preview { display: none; } }

.card-thumb { display: none; }

/* Footer */
.site-foot {
  background: var(--navy);
  padding: calc(var(--unit) * 8) 0;
  position: relative; z-index: 2;
}
.foot-brand {
  margin-bottom: calc(var(--unit) * 5);
  padding-bottom: calc(var(--unit) * 5);
  border-bottom: 1px solid rgba(76, 107, 122, 0.25);
}
.foot-logo { height: 72px; width: auto; }
.foot-grid {
  display: flex; justify-content: space-between; align-items: center;
  gap: calc(var(--unit) * 4); flex-wrap: wrap;
}
.foot-links { display: flex; gap: calc(var(--unit) * 4); }
.foot-links a {
  color: var(--bone); text-decoration: none;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease-inout), color 250ms var(--ease-inout);
}
.foot-links a:hover { color: var(--cyan); border-color: var(--cyan); }
.foot-line { color: var(--slate); font-size: 13px; }

/* Booking modal */
body.booking-lock { overflow: hidden; }
.booking-modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--unit) * 3);
  visibility: hidden;
  opacity: 0;
  transition: opacity 300ms var(--ease-out), visibility 0s linear 300ms;
}
.booking-modal.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 300ms var(--ease-out), visibility 0s linear 0s;
}
.booking-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 21, 48, 0.85);
  backdrop-filter: blur(4px);
}
.booking-modal-panel {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: 88vh; max-height: 88svh;
  overflow-y: auto;
  background: var(--navy);
  border: 1px solid rgba(76, 107, 122, 0.35);
  border-radius: 4px;
  padding: calc(var(--unit) * 6) calc(var(--unit) * 3) calc(var(--unit) * 3);
  transform: translateY(16px);
  transition: transform 300ms var(--ease-out);
}
.booking-modal.open .booking-modal-panel { transform: translateY(0); }
.booking-modal-close {
  position: absolute; top: calc(var(--unit) * 2); right: calc(var(--unit) * 2);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  font-size: 24px; line-height: 1;
  color: var(--bone);
  cursor: pointer;
  transition: color 250ms var(--ease-inout);
}
.booking-modal-close:hover { color: var(--cyan); }
.booking-modal-frame { display: block; min-height: 650px; position: relative; z-index: 1; }
.booking-modal-loading {
  position: absolute; left: 0; right: 0; top: calc(var(--unit) * 6);
  height: 650px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: calc(var(--unit) * 2);
  color: var(--slate);
  font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  pointer-events: none;
}
.booking-modal-loading span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 157, 198, 0.8);
  animation: clock-pulse 1.2s var(--ease-inout) infinite;
}
.booking-modal.is-loaded .booking-modal-loading { display: none; }
.booking-modal-alt {
  margin-top: calc(var(--unit) * 2);
  text-align: center;
  font-size: 13px; color: var(--slate);
}
.booking-modal-alt a {
  color: var(--cyan); text-decoration: none;
  border-bottom: 1px solid var(--cyan);
}

/* Mobile */
@media (max-width: 860px) {
  .hero, .pillars { height: 320vh; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: calc(var(--unit) * 3); }
  .stat:not(:first-child) { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid rgba(76, 107, 122, 0.35); }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(76, 107, 122, 0.35); }
  .process { padding: calc(var(--unit) * 14) 0; }
  .bio { padding: calc(var(--unit) * 14) 0; }
  .step-grid { grid-template-columns: 1fr; }
  .step { padding: calc(var(--unit) * 4) 0 calc(var(--unit) * 3); }
  .step:not(:first-child) {
    border-left: none;
    border-top: 1px solid rgba(76, 107, 122, 0.35);
    padding-left: 0;
  }
  .card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1280 / 800;
    object-fit: cover;
    margin-top: calc(var(--unit) * 2);
    border: 1px solid rgba(76, 107, 122, 0.3);
  }
  .card { flex-wrap: wrap; gap: calc(var(--unit) * 2); }
  .card-side {
    margin-left: 0; width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between; align-items: center;
  }
  .card-tag-group { align-items: flex-start; }
  .card-logo { height: 26px; }
  .work { padding: calc(var(--unit) * 14) 0; }
  .card-list { margin-top: 130vh; }
  .booking-modal { padding: calc(var(--unit) * 1.5); }
  .booking-modal-panel { max-height: 92vh; max-height: 92svh; padding: calc(var(--unit) * 5) calc(var(--unit) * 2) calc(var(--unit) * 2); }
  .booking-modal-frame { min-height: 560px; }
  .rivals { padding: calc(var(--unit) * 14) 0; }
  .rivals-grid { grid-template-columns: 1fr; gap: calc(var(--unit) * 4); }
  .why { padding: calc(var(--unit) * 14) 0; }
  .why-grid { grid-template-columns: 1fr; gap: calc(var(--unit) * 5); }
  .statement-frame { height: 68vh; height: 68svh; }
  .statement-copy { padding: calc(var(--unit) * 6) calc(var(--unit) * 3); }
  .finale { padding: calc(var(--unit) * 16) 0; }
  .site-head { padding: calc(var(--unit) * 2) calc(var(--unit) * 3); }
  .head-link { display: none; }
}

/* Reduced motion: poster + fade, no scrub */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .scroll-cue span { animation: none; }
  .hero, .pillars { height: auto; }
  .stage-sticky { position: relative; }
  .reveal, .pillar, .hero-title .letter {
    transition: opacity 600ms ease;
    transform: none;
  }
}

/* Header nav (home) */
.head-links { display: flex; align-items: center; gap: calc(var(--unit) * 4); }
.head-link.is-link { text-decoration: none; }
.site-head .wordmark, .head-links .head-link { white-space: nowrap; }
@media (max-width: 860px) {
  .head-links { gap: calc(var(--unit) * 2); }
  .head-links .head-link.is-link { display: none; }
  .head-links .head-link.is-cta {
    display: inline-block; font-size: 11px;
    padding: calc(var(--unit) * 1.25) calc(var(--unit) * 2);
    background: var(--cyan); color: var(--ground);
    border-bottom: none;
  }
}
/* Pillar inline link */
.pillar-link {
  color: var(--cyan); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--cyan);
  transition: color 250ms var(--ease-inout), border-color 250ms var(--ease-inout);
}
.pillar-link:hover { color: var(--bone); border-color: var(--bone); }
/* Footer nav wraps now that it carries four links */
.foot-links { flex-wrap: wrap; row-gap: calc(var(--unit) * 1.5); }
/* Four pillars need to fit one viewport: tighter rhythm than the original three */
.pillar { padding: calc(var(--unit) * 2) 0; }
.pillar h2 { font-size: clamp(26px, 3.4vw, 44px); }
.pillar p { font-size: clamp(14px, 1.2vw, 16px); }
@media (max-height: 760px) { .pillar h2 { font-size: clamp(22px, 2.8vw, 34px); } .pillar { padding: calc(var(--unit) * 1.5) 0; } }

/* Live clock in the header */
.head-clock {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center;
  gap: calc(var(--unit) * 1.25);
  margin: 0;
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(251, 250, 246, 0.72);
  white-space: nowrap;
  pointer-events: none;
}
.head-clock-time { color: var(--bone); }
.head-clock-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 157, 198, 0.8);
  animation: clock-pulse 2.4s var(--ease-inout) infinite;
}
@keyframes clock-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Work count in the nav */
.head-count {
  margin-left: 3px;
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 0;
  vertical-align: super;
  color: var(--cyan);
}

/* Tagline band above the stats: split edge to edge, halves drift on scroll */
.band {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 4vw;
  margin: 0 0 calc(var(--unit) * 12);
  padding: 0 calc(var(--unit) * 4);
  font-weight: 700;
  font-size: 6.8vw;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--bone);
}
.band span { display: block; will-change: transform; }
.band-a { text-align: left; }
.band-b { text-align: right; }

/* Full-bleed name closing the footer */
.site-foot { padding-bottom: calc(var(--unit) * 3); }
.foot-wordmark {
  margin-top: calc(var(--unit) * 8);
  padding: 0 2vw;
  font-weight: 800;
  font-size: 12.6vw;
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  color: var(--bone);
  user-select: none;
}

/* The clock needs the center of the header to itself. */
@media (max-width: 1239px) { .head-clock { display: none; } }
@media (max-width: 860px) {
  .head-links .head-link.is-work { display: none; }
  .band {
    flex-direction: column;
    gap: calc(var(--unit) * 2);
    margin-bottom: calc(var(--unit) * 8);
    padding: 0 calc(var(--unit) * 3);
    font-size: 8.8vw;
  }
  .band-b { align-self: flex-end; }
  .foot-wordmark { margin-top: calc(var(--unit) * 6); }
}
@media (prefers-reduced-motion: reduce) {
  .head-clock-dot { animation: none; }
  .band span { transform: none !important; }
}
