/* =========================================================
   Smartek Solutions — styles
   Mobile-first · light/dark via prefers-color-scheme · no framework
   ========================================================= */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-var.woff2") format("woff2-variations"),
       url("/fonts/geist-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark light;

  /* palette */
  --bg:        light-dark(#f6f4ef, #0b0f1a);
  --bg-alt:    light-dark(#eeeae2, #0f1422);
  --surface:   light-dark(#ffffff, #141a2a);
  --surface-2: light-dark(#f2efe8, #1a2134);
  --border:    light-dark(rgb(17 22 34 / .10), rgb(255 255 255 / .08));
  --border-strong: light-dark(rgb(17 22 34 / .18), rgb(255 255 255 / .16));
  --text:      light-dark(#121622, #eef1f7);
  --muted:     light-dark(#525a6b, #9aa4b8);
  --accent:    light-dark(#a8530a, #f5b971);
  --accent-2:  light-dark(#c96a12, #e8862e);
  --accent-ink: #1a1206;
  --glow:      light-dark(rgb(232 134 46 / .14), rgb(245 185 113 / .16));
  --glow-blue: light-dark(rgb(64 110 255 / .08), rgb(90 130 255 / .14));
  --danger:    light-dark(#b42318, #ff8a80);
  --success:   light-dark(#1d7a4a, #7ee2a8);

  /* type */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 5vw, 6rem);

  /* layout */
  --container: 1240px;
  --gutter: clamp(1.1rem, .6rem + 2.4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 20px 50px -20px rgb(0 0 0 / .45);
}

@media (prefers-color-scheme: light) {
  :root { --shadow: 0 1px 2px rgb(17 22 34 / .06), 0 20px 50px -24px rgb(17 22 34 / .25); }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  hanging-punctuation: first last;
}
body {
  min-height: 100dvh;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; font-weight: 650; text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
svg use { pointer-events: none; }

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

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 200;
  padding: .7rem 1rem; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --_h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--_h); padding: 0 1.35rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease-out), background-color .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-sm { --_h: 40px; padding: 0 1rem; }
.btn-lg { --_h: 56px; padding: 0 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, #ffd59a, #f0a04b 55%, #e8862e);
  box-shadow: 0 10px 30px -10px rgb(232 134 46 / .6), inset 0 1px 0 rgb(255 255 255 / .5);
}
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgb(232 134 46 / .75), inset 0 1px 0 rgb(255 255 255 / .5); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-glass {
  color: #fff; border-color: rgb(255 255 255 / .28);
  background: rgb(255 255 255 / .08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgb(255 255 255 / .16); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent); font-weight: 600; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: color .35s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block of the fixed mobile nav sheet and clip it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--border);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled, body.nav-open .site-header { color: var(--text); }
.site-header.is-scrolled::before, body.nav-open .site-header::before { opacity: 1; }
body.nav-open .site-header::before { background: var(--bg); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; }
.brand-name span { font-weight: 400; opacity: .7; margin-left: .25em; }

.site-nav ul { display: flex; gap: .25rem; padding: 0; list-style: none; }
.site-nav li a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem;
  border-radius: 999px; text-decoration: none; font-size: var(--fs-sm); font-weight: 500; opacity: .85;
  transition: opacity .2s, background-color .2s;
}
.site-nav li a:hover, .site-nav li a[aria-current="true"] { opacity: 1; background: rgb(127 127 127 / .14); }
.nav-sheet-footer { display: none; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-phone {
  display: none; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .6rem;
  text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
}
.header-phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 12px;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 959px) {
  .nav-toggle { display: inline-block; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 90;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--bg);
    color: var(--text);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .4s;
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--border); }
  .site-nav li a { width: 100%; min-height: 64px; padding: 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; border-radius: 0; opacity: 1; }
  .site-nav li a:hover { background: none; color: var(--accent); }
  .nav-sheet-footer { display: grid; gap: .75rem; }
}
@media (min-width: 640px) { .header-phone { display: inline-flex; } }
@media (min-width: 640px) and (max-width: 959px) { .header-phone span { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 2rem + 4vw, 6rem);
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(8 11 20 / .55) 0%, rgb(8 11 20 / .15) 30%, rgb(8 11 20 / .55) 62%, rgb(8 11 20 / .95) 100%),
    radial-gradient(80% 60% at 10% 100%, rgb(8 11 20 / .7), transparent 70%);
}

.hero-content { max-width: var(--container); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .9rem; margin-bottom: 1.4rem;
  border: 1px solid rgb(255 255 255 / .22); border-radius: 999px;
  background: rgb(255 255 255 / .08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .02em;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 0 rgb(126 226 168 / .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(126 226 168 / 0); } 100% { box-shadow: 0 0 0 0 rgb(126 226 168 / 0); } }

.hero h1 { font-size: var(--fs-h1); font-weight: 650; letter-spacing: -.045em; max-width: 14ch; line-height: 1; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ffe2b8, #f5b971 40%, #e8862e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { margin-top: 1.4rem; max-width: 56ch; font-size: var(--fs-lg); color: rgb(255 255 255 / .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / .16);
  font-size: var(--fs-sm); color: rgb(255 255 255 / .75);
}
.hero-proof strong { color: #fff; font-weight: 650; margin-right: .2rem; }

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-alt);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li {
  display: flex; align-items: center; gap: 2.2rem; padding: 1.15rem 1.1rem 1.15rem 1.1rem;
  font-size: clamp(1rem, .9rem + .5vw, 1.25rem); font-weight: 500; letter-spacing: -.02em; color: var(--muted); white-space: nowrap;
}
.marquee li::after { content: "✦"; font-size: .7em; color: var(--accent); margin-left: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 35% at 85% 10%, var(--glow), transparent 70%),
    radial-gradient(35% 30% at 5% 90%, var(--glow-blue), transparent 70%);
}
.section > .container { position: relative; z-index: 1; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section-head.center .kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.section h2 { font-size: var(--fs-h2); }
.section-lede { margin-top: 1.2rem; font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; }

/* ---------- bento ---------- */
.bento { display: grid; gap: clamp(.8rem, .5rem + 1vw, 1.25rem); grid-template-columns: 1fr; }
.tile {
  container-type: inline-size;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface);
  color: #fff;
  box-shadow: var(--shadow);
}
.tile > img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.tile:hover > img { transform: scale(1.05); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(8 11 20 / 0) 20%, rgb(8 11 20 / .6) 50%, rgb(8 11 20 / .94) 100%);
}
@media (max-width: 699px) {
  .tile { min-height: 360px; }
  .tile-xl { min-height: 460px; }
  .tile::after { background: linear-gradient(180deg, rgb(8 11 20 / .05) 10%, rgb(8 11 20 / .72) 45%, rgb(8 11 20 / .95) 100%); }
}
.tile-body { padding: clamp(1.25rem, 1rem + 1.5cqi, 2rem); }
.tile-tag {
  display: inline-block; margin-bottom: .7rem; padding: .3rem .7rem;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / .22);
  background: rgb(255 255 255 / .1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: var(--fs-xs); font-weight: 500;
}
.tile h3 { font-size: var(--fs-h3); max-width: 24ch; }
.tile p:not(.tile-tag) { margin-top: .5rem; color: rgb(255 255 255 / .78); font-size: var(--fs-sm); max-width: 48ch; }
@container (min-width: 520px) {
  .tile h3 { font-size: clamp(1.5rem, 1rem + 2.4cqi, 2.2rem); }
}

.scene-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.scene-chips li {
  padding: .4rem .8rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 500;
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .18);
}
.scene-chips li:nth-child(2) { background: linear-gradient(135deg, #ffd59a, #e8862e); color: var(--accent-ink); border-color: transparent; }

.tile-icon {
  color: var(--text);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--glow), transparent 60%),
    var(--surface);
}
.tile-icon::after { display: none; }
.tile-icon p:not(.tile-tag) { color: var(--muted); }
.tile-icon .tile-tag { border-color: var(--border-strong); background: var(--surface-2); }
.tile-icon-art {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 18px; color: var(--accent);
  background: var(--surface-2); border: 1px solid var(--border);
}
.tile-icon-art svg { width: 32px; height: 32px; }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-xl, .tile-wide { grid-column: span 2; }
  .tile-xl { min-height: 460px; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(300px, auto); }
  .tile-xl { grid-column: span 2; grid-row: span 2; min-height: 620px; }
  .tile-wide { grid-column: span 2; }
}
.tile-split > img { object-position: 50% 45%; }
@media (min-width: 1100px) {
  /* full-width split card closes the grid neatly */
  .tile-split {
    grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; align-items: stretch;
    min-height: 340px; color: var(--text);
    background: radial-gradient(90% 120% at 100% 0%, var(--glow), transparent 60%), var(--surface);
  }
  .tile-split::after { display: none; }
  .tile-split > img { inset: 0 auto 0 0; z-index: 0; width: 38%; height: 100%; }
  .tile-split .tile-body { align-self: center; margin-left: 38%; padding: clamp(2rem, 4cqi, 3.5rem); }
  .tile-split .tile-tag { border-color: var(--border-strong); background: var(--surface-2); }
  .tile-split p:not(.tile-tag) { color: var(--muted); font-size: var(--fs-base); }
}

/* ---------- approach / split ---------- */
.split { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: calc(var(--radius) + 6px); border: 1px solid var(--border); box-shadow: var(--shadow);
}
@media (max-width: 959px) { .split-media img { aspect-ratio: 4 / 3; } }

.glass-card {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.2rem; border-radius: 18px;
  color: #fff; background: rgb(14 18 30 / .55);
  border: 1px solid rgb(255 255 255 / .18);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6);
}
.glass-card svg { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: linear-gradient(135deg, #ffd59a, #e8862e); color: var(--accent-ink); flex-shrink: 0; }
.glass-card strong { display: block; font-size: var(--fs-sm); }
.glass-card span { font-size: var(--fs-xs); color: rgb(255 255 255 / .75); }
.float-card { position: absolute; left: clamp(.75rem, 3vw, 1.5rem); bottom: clamp(.75rem, 3vw, 1.5rem); }

.features { display: grid; gap: 1.5rem; }
.features li { display: flex; gap: 1rem; align-items: flex-start; }
.features h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.features p { margin-top: .3rem; color: var(--muted); font-size: var(--fs-sm); }
.feature-icon {
  flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; color: var(--accent); background: var(--surface); border: 1px solid var(--border);
}
.feature-icon svg { width: 22px; height: 22px; }

.steps {
  display: grid; gap: 1rem; margin-top: clamp(3.5rem, 3rem + 3vw, 6rem);
  grid-template-columns: 1fr; counter-reset: step;
}
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  position: relative; padding: 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, transform .4s var(--ease-out);
}
.steps li:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-num {
  display: inline-block; margin-bottom: 1.6rem;
  font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent);
  padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--border-strong);
}
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: .4rem; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- gallery ---------- */
.gallery {
  display: grid; gap: clamp(.6rem, .4rem + .8vw, 1rem);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
}
.gallery li { border-radius: var(--radius-sm); overflow: hidden; }
.gallery .g-land { grid-column: span 2; }
.gallery button { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border-radius: inherit; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .4s; }
.gallery .g-land img { aspect-ratio: 4 / 3; }
.gallery .g-port img { aspect-ratio: 3 / 4; }
.gallery button::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--border); transition: background-color .3s;
}
.gallery button:hover img { transform: scale(1.04); }
.gallery button:hover::after { background: rgb(8 11 20 / .12); }
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 14.5vw, 196px); }
  .gallery .g-land { grid-column: span 2; grid-row: span 2; }
  .gallery .g-port { grid-row: span 2; }
  .gallery .g-land img, .gallery .g-port img { aspect-ratio: auto; height: 100%; }
}

.showreel { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.showreel-facade, .showreel iframe {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.showreel iframe { border: 0; background: #000; }
.showreel-facade { padding: 0; color: #fff; isolation: isolate; }
.showreel-facade img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.showreel-facade::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 50%, rgb(8 11 20 / .2), rgb(8 11 20 / .7)); }
.showreel-facade:hover img { transform: scale(1.04); }
.showreel-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(64px, 8vw, 96px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.showreel-play svg { width: 40%; height: 40%; margin-left: 6%; }
.showreel-facade:hover .showreel-play { transform: scale(1.08); background: rgb(255 255 255 / .26); }
.showreel-label {
  position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  display: grid; text-align: left;
}
.showreel-label strong { font-size: clamp(1.1rem, 1rem + 1vw, 1.6rem); letter-spacing: -.02em; }
.showreel-label span { font-size: var(--fs-sm); color: rgb(255 255 255 / .78); }
@media (max-width: 599px) {
  .showreel-facade { aspect-ratio: 4 / 3; }
  .showreel-label span { display: none; }
}

/* ---------- stats ---------- */
.stats-band {
  border-block: 1px solid var(--border);
  background:
    radial-gradient(60% 120% at 50% 0%, var(--glow), transparent 70%),
    var(--bg-alt);
}
.stats { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(2rem, 1.5rem + 2vw, 3.25rem) 1rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
@media (max-width: 899px) {
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}
.stat-num { display: block; font-size: clamp(2.4rem, 1.8rem + 3vw, 4rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: .6rem; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 1rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  display: flex; flex-direction: column; gap: 1.2rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.stars { color: #f5b971; letter-spacing: .15em; font-size: 1.05rem; }
.review blockquote { flex: 1; font-size: 1.05rem; line-height: 1.6; }
.review blockquote p::before { content: "“"; }
.review blockquote p::after { content: "”"; }
.review figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.review figcaption > span:last-child { display: grid; line-height: 1.3; }
.review figcaption strong { font-size: var(--fs-sm); }
.review figcaption strong + span { font-size: var(--fs-xs); color: var(--muted); }
.avatar {
  width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  font-size: .8rem; font-weight: 700; color: var(--accent-ink);
  background: linear-gradient(135deg, #ffd59a, #e8862e);
}

/* ---------- contact ---------- */
.contact { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; } }
.contact-copy .section-head, .contact-copy { max-width: 560px; }
.contact-copy h2 { font-size: var(--fs-h2); }
.contact-list { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list .label { display: block; font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }

.form-card {
  padding: clamp(1.4rem, 1rem + 2vw, 2.5rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.contact-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 550; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  border-radius: 14px; border: 1px solid var(--border-strong);
  background: var(--bg); font-size: 1rem; /* 16px prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--muted) 70%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: var(--fs-xs); color: var(--danger); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { margin-bottom: .55rem; float: left; width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem;
  border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg);
  font-size: var(--fs-sm); font-weight: 500; transition: all .2s;
}
.chips label:hover span { border-color: var(--accent); }
.chips input:checked + span { background: linear-gradient(135deg, #ffd59a, #e8862e); color: var(--accent-ink); border-color: transparent; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }

.contact-form button[type="submit"] { position: relative; margin-top: .2rem; }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgb(26 18 6 / .25); border-top-color: var(--accent-ink);
  animation: spin .7s linear infinite;
}
.contact-form.is-sending .spinner { display: inline-block; }
.contact-form.is-sending button[type="submit"] { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { font-size: var(--fs-sm); font-weight: 500; min-height: 1.4em; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }
.form-note { font-size: var(--fs-xs); color: var(--muted); }

.form-card:has(.form-status.is-success) .contact-form > :not(.form-status):not(.form-note) { display: none; }
.form-card:has(.form-status.is-success) .form-status {
  padding: 2.5rem 1rem; text-align: center; font-size: var(--fs-lg);
}

/* ---------- footer ---------- */
.site-footer { padding: clamp(3.5rem, 3rem + 3vw, 5.5rem) 0 2rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { margin-top: 1rem; color: var(--muted); font-size: var(--fs-sm); max-width: 42ch; }
.footer-brand .badge {
  display: inline-block; margin-top: 1.2rem; padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid var(--border-strong); font-size: var(--fs-xs); font-weight: 600; color: var(--text);
}
.footer-title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .55rem; font-size: var(--fs-sm); }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: var(--fs-xs); color: var(--muted);
}

/* ---------- mobile CTA bar ---------- */
.mobile-cta {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 80;
  display: grid; grid-template-columns: auto 1fr; gap: .5rem; padding: .5rem;
  border-radius: 999px; border: 1px solid var(--border-strong);
  background: color-mix(in oklab, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / .5);
  transform: translateY(160%); transition: transform .5s var(--ease-out);
}
.mobile-cta .btn svg { width: 17px; height: 17px; }
.mobile-cta.is-visible { transform: none; }
@media (min-width: 960px) { .mobile-cta { display: none; } }
@media (max-width: 959px) { .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  padding: clamp(3.5rem, 6vw, 5rem) clamp(.5rem, 5vw, 5rem);
  border: 0; background: rgb(6 8 14 / .94); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .3s ease both; }
.lightbox::backdrop { background: rgb(6 8 14 / .6); }
.lightbox figure { display: grid; gap: .9rem; justify-items: center; max-height: 100%; }
.lightbox img {
  max-width: 100%; max-height: calc(100dvh - 10rem); width: auto; height: auto;
  border-radius: var(--radius-sm); object-fit: contain;
  view-transition-name: lightbox-img;
}
.lightbox figcaption { font-size: var(--fs-sm); color: rgb(255 255 255 / .8); text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2);
  transition: background-color .2s;
}
.lb-btn:hover { background: rgb(255 255 255 / .22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev, .lb-next { top: 50%; translate: 0 -50%; }
.lb-prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lb-next { right: clamp(.5rem, 2vw, 1.5rem); }
@media (max-width: 599px) {
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}
@keyframes fade { from { opacity: 0; } }

/* ---------- reveal on scroll ----------
   Progressive: CSS scroll-driven animations where supported,
   otherwise main.js adds .reveal-ready + .is-visible via IntersectionObserver.
   Content is always visible without JS. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
      animation: reveal linear both;
      animation-timeline: view();
      /* A fixed distance, not a % of the element: tall tiles used to stay
         half-transparent for ~300px of scrolling and looked like they were loading. */
      animation-range: entry 0px entry 140px;
    }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(20px); } }

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
}

::view-transition-old(lightbox-img), ::view-transition-new(lightbox-img) { animation-duration: .35s; }

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

/* ---------- print ---------- */
@media print {
  .site-header, .mobile-cta, .marquee, .showreel, .lightbox, .form-card { display: none !important; }
  .hero { min-height: 0; color: #000; }
  .hero-media, .hero::before { display: none; }
}
