/* ==========================================================================
   Slipstream Signs — styles
   The accent colour comes from the admin (Customise): site.js sets --accent,
   --accent-rgb and --accent-hi on <html>. The values below are the defaults.
   ========================================================================== */

:root {
  --bg: #060709;
  --bg-2: #0b0d12;
  --bg-3: #12151d;
  --surface: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #f3f4f8;
  --ink-2: #c5c9d6;
  --muted: #8a8fa2;

  --accent: #0206ff;              /* logo blue: fills & backgrounds */
  --accent-rgb: 2, 6, 255;
  --accent-hi: rgb(83, 87, 255);  /* readable tint for text on dark */
  --glow: rgba(var(--accent-rgb), .5);

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --radius: 22px;
  --radius-sm: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-style: italic; color: var(--accent-hi); }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(96px, 13vw, 184px); position: relative; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); margin: 0 0 26px; }
.eyebrow .num {
  display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 999px;
  color: var(--accent-hi); border: 1px solid rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .1); font-size: 11px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }

.h2 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 115;
  font-weight: 800;
  font-size: clamp(28px, calc(14px + 5.2vw), 96px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
}
.h2 em, .hero__title em, .cta__title em { font-weight: 900; }

.section__head { margin-bottom: clamp(44px, 6vw, 88px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; flex-wrap: wrap; }
.section__intro { max-width: 380px; margin: 0; color: var(--ink-2); font-size: 17px; }

/* Read by search engines and screen readers, not shown */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Split text helpers ------------------------------------------------------ */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split { display: inline-block; }
.char { display: inline-block; }
.word { display: inline-block; }

/* Grain ------------------------------------------------------------------- */
.grain {
  position: fixed; inset: -12%; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate3d(0,0,0); } 20% { transform: translate3d(-4%,3%,0); } 40% { transform: translate3d(3%,-4%,0); }
  60% { transform: translate3d(-4%,2%,0); } 80% { transform: translate3d(4%,4%,0); }
}

/* Loader ------------------------------------------------------------------ */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; }
.loader__inner { width: min(420px, 72vw); display: grid; gap: 22px; }
.loader__logo { width: 100%; }
.loader__bar { height: 2px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--accent-hi); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 18px var(--accent); }
.loader__count { text-align: right; color: var(--muted); }
html:not(.js) .loader { display: none; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 40px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--accent::before { background: #fff; }
.btn--accent:hover { color: var(--accent); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(10,12,17,.45); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; gap: 8px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--block { width: 100%; }

.link-roll { position: relative; display: inline-block; overflow: hidden; height: 1.4em; line-height: 1.4; }
.link-roll span { display: block; transition: transform .5s var(--ease); }
.link-roll span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--accent-hi); }
.link-roll:hover span { transform: translateY(-100%); }

.u-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.u-link:hover { background-size: 100% 1px; }

/* Nav: floating glass bar --------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 16px var(--pad); pointer-events: none; transition: padding .5s var(--ease); }
.nav__bar {
  pointer-events: auto;
  max-width: var(--max); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .5s, border-color .5s, box-shadow .5s, padding .5s var(--ease);
}
.nav.is-scrolled { padding-top: 10px; }
.nav.is-scrolled .nav__bar {
  background: rgba(10, 12, 17, .72); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-color: var(--line); box-shadow: 0 16px 50px -20px rgba(0,0,0,.8);
}
.menu-open .nav__bar { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav__logo img { width: clamp(140px, 13vw, 190px); height: auto; transition: width .5s var(--ease); }
.nav.is-scrolled .nav__logo img { width: clamp(124px, 11vw, 160px); }
.nav__links { display: flex; gap: 34px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; z-index: 2; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--accent);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--pad) 40px; overflow-y: auto; gap: 24px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { display: block; overflow: hidden; font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(30px, min(10.5vw, 11vh), 88px); font-size: clamp(30px, min(10.5vw, 11svh), 88px); line-height: 1.05; white-space: nowrap; }
.menu__links a span { display: block; transform: translateY(110%); transition: transform .8s var(--ease); }
.menu-open .menu__links a span { transform: none; }
.menu-open .menu__links a:nth-child(2) span { transition-delay: .06s; }
.menu-open .menu__links a:nth-child(3) span { transition-delay: .12s; }
.menu-open .menu__links a:nth-child(4) span { transition-delay: .18s; }
.menu__foot { display: grid; gap: 10px; font-size: 13px; }

@media (max-height: 520px) { .menu { padding-top: 84px; padding-bottom: 20px; } }
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__bar { padding: 8px 6px 8px 16px; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: clamp(96px, 15vh, 140px) var(--pad) clamp(24px, 3.5vh, 44px);
  padding: clamp(96px, 15svh, 140px) var(--pad) clamp(24px, 3.5svh, 44px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.15); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(var(--accent-rgb), .18), transparent 60%),
    linear-gradient(180deg, rgba(6,7,9,.6) 0%, rgba(6,7,9,.12) 32%, rgba(6,7,9,.72) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6,7,9,.85) 0%, rgba(6,7,9,.15) 62%);
}
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin-inline: auto; }
.hero__title {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 125;
  font-weight: 900; font-style: italic;
  text-transform: uppercase;
  font-size: clamp(40px, min(11vw, 14.5vh), 200px);
  font-size: clamp(40px, min(11vw, 14.5svh), 200px);
  line-height: .86; letter-spacing: -.035em;
  margin: 0 0 clamp(20px, 3.2vh, 40px);
  margin: 0 0 clamp(20px, 3.2svh, 40px);
}
.hero__title em { color: var(--accent-hi); text-shadow: 0 0 60px rgba(var(--accent-rgb), .55); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap; }
.hero__copy { display: grid; gap: 26px; max-width: 520px; }
.hero__lead { margin: 0; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__card {
  position: relative; overflow: hidden; display: grid; gap: 2px; min-width: 260px; padding: 20px 22px;
  border-radius: var(--radius); border: 1px solid var(--line-2);
  background: rgba(12, 14, 20, .82);
  font-size: 15px;
}
.hero__card strong { font-size: 17px; margin-top: 8px; }
.hero__card-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-hi); }
.hero__card-tag i { width: 7px; height: 7px; border-radius: 50%; background: #3ef08c; box-shadow: 0 0 10px #3ef08c; }
.hero__card-phone {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 22px;
}
.hero__card-phone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .5s var(--ease); }
.hero__card-phone:hover svg { transform: rotate(45deg); }
.hero__points {
  list-style: none; margin: clamp(20px, 3.4vh, 40px) 0 0; margin: clamp(20px, 3.4svh, 40px) 0 0; padding: 16px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 32px; color: var(--ink-2); font-size: 14px; font-weight: 600;
}
.hero__points li { display: inline-flex; align-items: center; gap: 10px; }
.hero__points svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(var(--accent-rgb), .25); fill: none; stroke: var(--accent-hi); stroke-width: 3; }
.hero__scroll {
  position: absolute; right: var(--pad); top: 45%; z-index: 2;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; color: var(--muted);
}
.hero__scroll i { width: 1px; height: 70px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--accent-hi); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }
@media (max-width: 700px) {
  .hero__scroll { display: none; }
  .hero__card { display: none; }
}
@media (max-height: 520px) {
  .hero { padding-top: 96px; padding-bottom: 24px; }
  .hero__title { margin-bottom: 18px; }
  .hero__eyebrow { margin-bottom: 14px; }
  .hero__scroll, .hero__card, .hero__points { display: none; }
}

/* Slipstream speed lines */
.streaks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.streaks i {
  position: absolute; left: 0; height: 1px; width: 38vw;
  background: linear-gradient(90deg, transparent, rgba(140,155,255,.9), transparent);
  animation: streak 2.6s linear infinite; opacity: .65;
}
.streaks i:nth-child(1) { top: 14%; animation-delay: 0s; width: 30vw; }
.streaks i:nth-child(2) { top: 27%; animation-delay: .7s; animation-duration: 2s; }
.streaks i:nth-child(3) { top: 38%; animation-delay: 1.3s; height: 2px; }
.streaks i:nth-child(4) { top: 51%; animation-delay: .3s; animation-duration: 3.2s; width: 22vw; }
.streaks i:nth-child(5) { top: 63%; animation-delay: 1.9s; }
.streaks i:nth-child(6) { top: 72%; animation-delay: 1.1s; animation-duration: 1.8s; width: 44vw; }
.streaks i:nth-child(7) { top: 84%; animation-delay: 2.2s; }
.streaks i:nth-child(8) { top: 92%; animation-delay: .5s; animation-duration: 2.4s; width: 26vw; }
@keyframes streak { from { transform: translateX(-110%); } to { transform: translateX(300%); } }

/* Marquee ----------------------------------------------------------------- */
.marquee { position: relative; z-index: 3; padding-block: 24px; overflow: hidden; }
.marquee__row {
  display: flex; white-space: nowrap; overflow: hidden;
  border-block: 1px solid var(--line); padding-block: 14px;
  transform: rotate(-1.5deg) scale(1.04); background: var(--bg);
}
.marquee__track { display: flex; align-items: center; gap: 36px; padding-right: 36px; flex-shrink: 0; will-change: transform; }
.marquee__track span { font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 64px); line-height: 1; }
.marquee__track span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee__track b { color: var(--accent-hi); font-size: clamp(20px, 2.6vw, 36px); }

/* Intro ------------------------------------------------------------------- */
.intro__grid { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 40px; align-items: start; }
.intro__grid > .eyebrow { padding-top: .9em; }
.intro__text { font-family: var(--f-body); font-weight: 600; font-size: clamp(24px, 3.1vw, 46px); line-height: 1.22; letter-spacing: -.02em; margin: 0; }
.intro__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.intro__card {
  position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  display: grid; gap: 10px; overflow: hidden;
}
.intro__card::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .8), transparent); }
.intro__card span { color: var(--accent-hi); }
.intro__card strong { font-size: 18px; line-height: 1.3; font-weight: 700; }
.intro__images { position: relative; height: clamp(420px, 60vw, 820px); margin-top: clamp(60px, 9vw, 130px); max-width: var(--max); margin-inline: auto; }
.intro__fig { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.intro__fig img { width: 100%; height: 115%; object-fit: cover; }
.intro__fig--a { left: var(--pad); top: 0; width: 46%; aspect-ratio: 4/3; }
.intro__fig--b { right: var(--pad); top: 18%; width: 34%; aspect-ratio: 4/5; z-index: 2; }
.intro__fig--c { left: 32%; bottom: 0; width: 30%; aspect-ratio: 4/3; z-index: 3; }
/* Smaller screens: a tidy grid instead of the overlapping collage (one wide photo, two below) */
@media (max-width: 900px) {
  .intro__images { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-inline: var(--pad); margin-top: clamp(48px, 9vw, 80px); }
  .intro__fig, .intro__fig--a, .intro__fig--b, .intro__fig--c { position: relative; inset: auto; width: auto; z-index: auto; aspect-ratio: 4/5; box-shadow: none; }
  .intro__fig:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
  .intro__fig:last-child:nth-child(2) { aspect-ratio: 4/5; }
  .intro__fig img { position: absolute; inset: -7.5% 0 auto; height: 115%; }
}
@media (max-width: 380px) { .intro__images { gap: 8px; } }
@media (max-width: 800px) {
  .intro__grid { grid-template-columns: 1fr; gap: 0; }
  .intro__meta { grid-template-columns: 1fr; }
}

/* Services: bento grid ---------------------------------------------------- */
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento__item { grid-column: span 6; min-height: clamp(300px, 32vw, 460px); }
.bento__item:nth-child(6n+1) { grid-column: span 7; }
.bento__item:nth-child(6n+2) { grid-column: span 5; }
.bento__item:nth-child(6n+3) { grid-column: span 5; }
.bento__item:nth-child(6n+4) { grid-column: span 7; }
.bento__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.bento__link {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
  padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--bg-3); border: 1px solid var(--line);
}
.bento__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; }
.bento__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,7,9,.22) 15%, rgba(6,7,9,.6) 55%, rgba(6,7,9,.95) 100%);
  transition: opacity .6s var(--ease);
}
.bento__link::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .1) 0%, rgba(var(--accent-rgb), .85) 100%);
  transition: opacity .6s var(--ease);
}
.bento__num { position: absolute; top: 22px; left: 24px; padding: 4px 10px; border-radius: 999px; background: rgba(6,7,9,.72); border: 1px solid var(--line-2); }
.bento__arrow {
  position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(6,7,9,.7); border: 1px solid var(--line-2);
  transition: background-color .5s var(--ease), color .5s, transform .6s var(--ease);
}
.bento__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.bento__body { display: grid; gap: 10px; max-width: 520px; transition: transform .6s var(--ease); }
.bento__title { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.3vw, 36px); line-height: 1; letter-spacing: -.01em; }
.bento__text { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.bento__link.is-held::after { opacity: 1; }
.bento__link.is-held .bento__arrow { background: #fff; color: var(--accent); transform: rotate(45deg); }
.bento__link.is-held .bento__text { color: #fff; }
@media (hover: hover) {
  .bento__link:hover::after { opacity: 1; }
  .bento__link:hover .bento__arrow { background: #fff; color: var(--accent); transform: rotate(45deg); }
  .bento__link:hover .bento__body { transform: translateY(-6px); }
  .bento__link:hover .bento__text { color: #fff; }
}
@media (max-width: 900px) {
  .bento__item, .bento__item:nth-child(n) { grid-column: 1 / -1; min-height: clamp(280px, 70vw, 400px); }
}

/* Featured ---------------------------------------------------------------- */
.featured { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
.featured__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 100px 60px; overflow: hidden; }
.featured__head { margin-bottom: 44px; }
.featured__head .eyebrow { margin-bottom: 18px; }
.featured__track { display: flex; gap: 24px; padding-inline: var(--pad); width: max-content; will-change: transform; }
.fcard { position: relative; width: clamp(280px, 30vw, 440px); flex-shrink: 0; }
.fcard--wide { width: clamp(320px, 46vw, 680px); }
.fcard__img { position: relative; overflow: hidden; border-radius: var(--radius); height: clamp(300px, 46vh, 520px); background: var(--bg-3); }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 1.2s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.08) !important; }
.fcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.fcard__meta span { color: var(--accent-hi); order: 2; white-space: nowrap; }
.fcard__meta h3 { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 1.7vw, 24px); }
.fcard--cta {
  width: clamp(280px, 28vw, 400px); height: clamp(300px, 46vh, 520px);
  border-radius: var(--radius); background: var(--accent);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 32px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.fcard--cta strong { font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(32px, 3.2vw, 48px); line-height: .95; }
.fcard--cta svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 1.6; margin-top: 12px; transition: transform .6s var(--ease); }
.fcard--cta:hover svg { transform: translateX(12px); }
.featured__progress { margin: 40px var(--pad) 0; height: 2px; background: var(--line); max-width: calc(var(--max) - var(--pad) * 2); }
.featured__progress span { display: block; height: 100%; background: var(--accent-hi); transform: scaleX(0); transform-origin: left; }
/* Pinned layout: always exactly one screen tall, photos flex to fit */
@media (min-width: 801px) and (min-height: 620px) {
  .featured__pin { height: 100vh; height: 100svh; min-height: 0; padding-block: clamp(84px, 12vh, 120px) clamp(24px, 5vh, 56px); }
  .featured__head { margin-bottom: clamp(20px, 4vh, 44px); }
  .featured__track { flex: 1 1 auto; min-height: 0; align-items: stretch; }
  .fcard { display: flex; flex-direction: column; }
  .fcard__img { flex: 1 1 auto; height: auto; min-height: 0; max-height: 540px; }
  .fcard--cta { height: auto; max-height: 590px; }
  .featured__progress { margin-top: clamp(16px, 3vh, 40px); flex-shrink: 0; }
}
@media (max-width: 800px), (max-height: 619px) {
  .featured__pin { min-height: 0; }
  .featured__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-bottom: 12px; scrollbar-width: none; }
  .featured__track::-webkit-scrollbar { display: none; }
  .fcard { scroll-snap-align: start; width: min(80vw, 420px); } .fcard--wide { width: min(86vw, 560px); }
  .fcard__img { height: min(58vw, 62vh); height: min(58vw, 62svh); min-height: 200px; } .fcard--cta { height: auto; min-height: 200px; width: 70vw; }
  .featured__progress { display: none; }
}

/* Gallery ----------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 42px; padding: 0 16px 0 18px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px;
  transition: .4s var(--ease);
}
.filter sup { top: 0; font-family: var(--f-mono); font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter.is-active sup { background: rgba(0,0,0,.1); color: var(--bg); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; gap: 12px; } }
.tile {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-sm); aspect-ratio: 4 / 3;
  background: var(--bg-3); cursor: zoom-in; display: block; width: 100%; text-align: left;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(var(--accent-rgb), .8)); opacity: 0; transition: opacity .5s var(--ease); }
.tile__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; transform: translateY(12px); opacity: 0; transition: .5s var(--ease); font-weight: 700; line-height: 1.3; }
.tile__cap .mono { opacity: .85; font-size: 11px; white-space: nowrap; }
.tile:is(:hover, :focus-visible, .is-held) img { transform: scale(1.06); }
.tile:is(:hover, :focus-visible, .is-held)::after { opacity: 1; }
.tile:is(:hover, :focus-visible, .is-held) .tile__cap { transform: none; opacity: 1; }
@media (hover: none) { .tile::after { opacity: .55; } .tile__cap { opacity: 1; transform: none; } }
.grid__more { display: flex; justify-content: center; margin-top: 28px; }
.grid__empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; }

/* Process ----------------------------------------------------------------- */
.process { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  position: relative; padding: 32px 28px 36px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  overflow: hidden; transition: border-color .5s;
}
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent-hi); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step:hover { border-color: var(--line-2); }
.step__num {
  display: block; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-style: italic;
  font-size: clamp(64px, 7vw, 112px); line-height: .9; margin-bottom: 36px;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.26);
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.step:hover .step__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { margin: 0 0 12px; line-height: 1.1; font-family: var(--f-display); font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 24px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* CTA --------------------------------------------------------------------- */
.cta { position: relative; background: var(--accent); overflow: hidden; padding-block: clamp(100px, 14vw, 200px); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0%, rgba(255,255,255,.18), transparent 55%); pointer-events: none; }
.cta .eyebrow { color: rgba(255,255,255,.75); }
.streaks--cta i { background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); }
.cta__inner { position: relative; z-index: 2; }
.cta__title {
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(30px, calc(10px + 8.4vw), 150px); line-height: .88; letter-spacing: -.03em; margin: 0 0 clamp(40px, 5vw, 64px);
}
.cta__title em { color: var(--bg); text-shadow: none; }
.cta__actions { display: flex; align-items: center; gap: 18px 32px; flex-wrap: wrap; }
.cta__phone {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 22px 38px; border-radius: 999px; background: var(--bg); color: #fff;
  font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 800; font-size: clamp(22px, 2.6vw, 36px);
  transition: background-color .4s, color .4s;
}
.cta__phone::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #3ef08c; box-shadow: 0 0 12px #3ef08c; }
.cta__phone:hover { background: #fff; color: var(--accent); }
.cta__mail { font-weight: 700; font-size: clamp(16px, 1.4vw, 19px); }

/* Contact ----------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.contact__lead { color: var(--ink-2); max-width: 440px; margin: 24px 0 40px; }
.contact__list { margin: 0; display: grid; border-top: 1px solid var(--line); }
.contact__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { color: var(--accent-hi); padding-top: 4px; }
.contact__list dd { margin: 0; font-weight: 600; font-size: 18px; white-space: pre-line; }
.map { position: relative; margin-top: 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-3); }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7) contrast(.95); transition: filter .6s var(--ease); }
.map:hover .map__frame { filter: none; }
.map__link { position: absolute; left: 16px; bottom: 16px; z-index: 2; }

.form {
  position: sticky; top: 100px;
  display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 44px); border-radius: 28px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg)); border: 1px solid var(--line);
  box-shadow: 0 40px 100px -50px rgba(var(--accent-rgb), .5);
}
.form__title { margin: 0 0 4px; font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2vw, 28px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink);
  font: inherit; font-size: 17px; padding: 26px 0 12px; outline: none; resize: vertical; border-radius: 0;
  transition: border-color .4s;
}
.field span { position: absolute; left: 0; top: 24px; color: var(--muted); pointer-events: none; transition: .4s var(--ease); transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--accent-hi); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-22px) scale(.78); color: var(--accent-hi); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5c7a; }
.chips { border: 0; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { color: var(--muted); margin-bottom: 12px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: .35s var(--ease); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.form .btn { margin-top: 10px; }
.form__note { margin: 0; min-height: 1em; font-size: 14.5px; color: var(--ink-2); }
.form__note.is-error { color: #ff8a9c; }
.form__note a { color: #fff; }
.form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .7; cursor: progress; }
.form--done { align-content: start; justify-items: start; text-align: left; }
.form--done p { margin: 0; color: var(--ink-2); }
.form--done:focus { outline: none; }
.form__done-tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(62, 240, 140, .14); color: #3ef08c; }
.form__done-tick svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .form { position: static; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } .contact__list > div { grid-template-columns: 1fr; gap: 4px; } }

/* Footer ------------------------------------------------------------------ */
.footer { position: relative; isolation: isolate; border-top: 1px solid var(--line); padding: 72px 0 0; overflow: hidden; background: linear-gradient(180deg, var(--bg), #040506); }
.footer > .container { position: relative; z-index: 2; }

/* Chequered flag: a finish line laid on the ground behind the footer, fading out upwards. Barely
   there, but enough to read. Static, so it costs nothing while scrolling. */
.footer__flag {
  position: absolute; left: -40%; right: -40%; bottom: -10%; height: 120%; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(rgba(255,255,255,.075) 0 25%, transparent 0 50%) 0 0 / 72px 72px;
  transform: perspective(700px) rotateX(58deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 35%, transparent 75%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 35%, transparent 75%);
}

/* The emblem as a giant mark (like SPXTR's footer). The artwork is a mask, so whatever sits inside
   is clipped to its lines. Hover (or press and hold on a phone) and the brand colour pours up
   through it with a wave rolling across the surface, then drains away. Moves by transform only:
   at this size anything that repaints would stutter. */
.footer__giant {
  position: relative; z-index: 1; overflow: hidden; isolation: isolate;
  /* Scales with the screen: about half the width on a computer, near full width on a phone, never taller than ~40% of the window */
  width: min(100% - 2 * var(--pad), max(54vw, 300px), 760px, 92vh); aspect-ratio: 1684 / 756;
  margin: clamp(48px, 7vw, 96px) auto -2px;
  background: #171b26;
  -webkit-mask: url("../img/emblem-mask.png") center / contain no-repeat;
          mask: url("../img/emblem-mask.png") center / contain no-repeat;
  --wave: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 60' preserveAspectRatio='none'><path d='M0 30 Q65 4 130 30 T260 30 T390 30 T520 30 V60 H0 Z' fill='black'/></svg>");
}
.giant__liquid, .giant__wave { display: block; pointer-events: none; }
.tilt-on .giant__liquid {
  position: absolute; left: -25%; right: -25%; bottom: -2%; height: 125%;
  background: var(--accent);
  transform: translate3d(0, calc(100% + 90px), 0);                 /* parked out of sight, wave and all */
  transition: transform 1.5s cubic-bezier(.5, 0, .75, .4);          /* draining */
  will-change: transform;
}
.tilt-on .footer__giant:is(:hover, .is-held) .giant__liquid {
  transform: translate3d(0, 0, 0);
  transition: transform 2.4s cubic-bezier(.33, .9, .3, 1);           /* the pour */
}
.tilt-on .giant__wave {
  position: absolute; left: 0; bottom: 100%; width: 100%; height: clamp(30px, 4vw, 70px);
  animation: ss-slosh 5.2s ease-in-out infinite alternate; will-change: transform;
}
.tilt-on .giant__wave::before, .tilt-on .giant__wave::after {
  content: ""; position: absolute; bottom: -18px; left: 0; height: calc(100% + 18px); width: 300%;
  background: var(--accent);
  -webkit-mask-image: var(--wave); mask-image: var(--wave);
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  -webkit-mask-position: 0 bottom; mask-position: 0 bottom;
  will-change: transform;
}
.tilt-on .giant__wave::before { -webkit-mask-size: 520px 100%; mask-size: 520px 100%; animation: ss-wave-a 7.5s linear infinite; }
.tilt-on .giant__wave::after { -webkit-mask-size: 340px 74%; mask-size: 340px 74%; opacity: .5; animation: ss-wave-b 12s linear infinite; }
/* Only animate the surface while it's actually showing */
.tilt-on .footer__giant:not(:hover):not(.is-held) .giant__wave,
.tilt-on .footer__giant:not(:hover):not(.is-held) .giant__wave::before,
.tilt-on .footer__giant:not(:hover):not(.is-held) .giant__wave::after { animation-play-state: paused; }
@keyframes ss-wave-a { to { transform: translate3d(-520px, 0, 0); } }
@keyframes ss-wave-b { to { transform: translate3d(340px, 0, 0); } }
@keyframes ss-slosh { from { transform: translate3d(0, 4px, 0); } to { transform: translate3d(0, -10px, 0); } }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__logo { width: 210px; }
.footer__tag { color: var(--muted); margin: 14px 0 0; font-size: 15px; }
.footer__col p { margin: 0; }
.footer__col p.mono { color: var(--accent-hi); margin-bottom: 14px; }
.footer__col > p:not(.mono) { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.footer__nav { display: grid; gap: 6px; font-weight: 600; font-size: 15px; justify-items: start; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 0; color: var(--muted); }
.footer__base p { margin: 0; }
.footer__top { padding: 10px 0; }
.footer__top:hover { color: var(--ink); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* Lightbox ---------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 180; background: rgba(5,6,10,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 40px 20px;
}
.lightbox[hidden] { display: none !important; }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 16px; max-height: 100%; }
.lightbox__fig img { max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; max-width: 100%; border-radius: 12px; object-fit: contain; }
.lightbox__fig figcaption { color: var(--muted); text-align: center; }
.lightbox__close { position: absolute; top: 18px; right: 22px; font-size: 40px; line-height: 1; width: 52px; height: 52px; }
.lightbox__nav { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 22px; justify-self: center; transition: .4s var(--ease); }
.lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
@media (max-width: 700px) {
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 70px 16px 24px; }
  .lightbox__fig { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__nav--prev { grid-row: 2; grid-column: 1; } .lightbox__nav--next { grid-row: 2; grid-column: 2; }
}

/* Tilt (same as SPXTR) -----------------------------------------------------
   main.js eases --rx/--ry (angle), --lift, --px/--py (photo drift), --zoom and --glare in and
   out while the pointer rests on a card. There is deliberately no CSS transition on transform
   for these elements: the slide-in animations also move them, and the two would fight. */
.tilt-on :is(.bento__link, .fcard, .tile, .step, .intro__card, .hero__card).is-tilting {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, 0px), 0);
}
.tilt-on :is(.btn, .cta__phone, .filter).is-tilting {
  transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--lift, 0px)), 0);
}
.tilt-on .tile.is-tilting img { transform: scale(var(--zoom, 1)) translate3d(var(--px, 0px), var(--py, 0px), 0); transition: none; }
.glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: var(--glare, 0);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.16), transparent 60%);
}
.tile .glare { z-index: 1; } /* the caption stays readable on top */
.tile__cap { z-index: 2; }

/* Rounded corners stay crisp in Safari while a card or its photo moves. */
.bento__link, .tile, .fcard__img, .intro__fig, .map { isolation: isolate; }

/* Performance ---------------------------------------------------------------
   Decoration pauses while it's off screen (main.js marks it), and the full-screen grain is
   skipped on phones and tablets, where it costs battery for very little. */
.is-offscreen .streaks i, .is-offscreen .hero__scroll i::after { animation-play-state: paused; }
.grain { will-change: transform; }
@media (hover: none), (max-width: 900px) { .grain { display: none; } }
/* Phones: a solid header instead of a live blur of the page scrolling underneath it */
@media (hover: none), (max-width: 900px) {
  .nav.is-scrolled .nav__bar { background: rgba(10, 12, 17, .94); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .streaks, .grain { display: none; }
  .hero__img { transform: none; }
}
