:root {
  --bg: #050505;
  --bg-2: #0c0c0c;
  --fg: #f4f4f0;
  --muted: #8a8a85;
  --line: rgba(255, 255, 255, .1);
  --accent: #d4f867;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* aliases used by the hero wall */
  --lime: var(--accent);
  --g: var(--gutter);
  --card: #121212;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--accent); color: #000; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #000; padding: 8px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.muted { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #0a0a0a;
  font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: 999px;
  transition: transform .4s var(--ease), background .3s;
  will-change: transform;
}
.btn i { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover i { transform: translate(2px, -2px) rotate(8deg); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-xl { padding: 20px 30px; font-size: clamp(16px, 1.6vw, 20px); }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.link-arrow { font-weight: 500; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s; }
.link-arrow:hover { border-color: var(--accent); }
.link-arrow i { font-style: normal; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* custom cursor (desktop only) */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; display: none; mix-blend-mode: difference; }
.cursor span { display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.cursor.is-hover span { transform: scale(3.2); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s, padding .4s;
}
.nav.scrolled { background: rgba(5, 5, 5, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.logo span { color: var(--accent); }
.nav ul { display: flex; gap: 32px; font-size: 14px; color: #cfcfca; }
.nav ul a { position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--accent); transition: right .4s var(--ease); }
.nav ul a:hover::after { right: 0; }
@media (max-width: 760px) { .nav ul { display: none; } }

/* ---------- home hero: mixed media wall ---------- */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.wall { position: absolute; inset: -30% -12%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; transform: rotate(-8deg) scale(1.05); opacity: .6; }
.wall-col { display: flex; flex-direction: column; gap: 16px; animation: wall-up 60s linear infinite; }
.wall-col:nth-child(even) { animation-name: wall-down; animation-duration: 70s; }
@keyframes wall-up { to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: none; } }
.tile { position: relative; border-radius: 16px; overflow: hidden; background: var(--card); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.v { aspect-ratio: 9 / 16; }
.tile.h { aspect-ratio: 16 / 10; }
.tile.site { aspect-ratio: 16 / 10; outline: 1px solid #2a2a2a; }
.tile b { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 5px 9px; border-radius: 99px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
.tile.site b { background: var(--lime); color: #000; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(62% 58% at 50% 50%, rgba(7, 7, 7, .93), rgba(7, 7, 7, .45) 72%, rgba(7, 7, 7, .9)); }
.hero-inner { position: relative; z-index: 2; padding: 80px var(--g) 0; }
.hero-inner .h-xl { margin: 22px 0 18px; }
.rotator { font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; color: #d9d9d4; margin-bottom: 34px; }
.rotator .word { display: inline-block; position: relative; color: var(--lime); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15em; min-width: 4.2em; text-align: center; vertical-align: bottom; height: 1.25em; overflow: hidden; }
.rotator .word span { position: absolute; inset: 0; line-height: 1.25em; white-space: nowrap; transition: transform .7s var(--ease), opacity .5s; }
.rotator .word span.out { transform: translateY(-100%); opacity: 0; }
.rotator .word span.in { transform: translateY(100%); opacity: 0; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; z-index: 2; bottom: 28px; left: 50%; translate: -50% 0; font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(var(--lime), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 700px) { .wall { grid-template-columns: repeat(3, 1fr); inset: -20% -30%; } .wall-col:nth-child(n+4) { display: none; } }

/* home hero, split layout: headline left, facts right, reel wall drifting behind */
.hero-split { display: block; text-align: left; place-items: initial; }
.hero-split .wall { inset: -30% -8% -30% 18%; opacity: .75; }
.hero-split::after { background:
  linear-gradient(90deg, rgba(7,7,7,.97) 0%, rgba(7,7,7,.86) 34%, rgba(7,7,7,.35) 62%, rgba(7,7,7,.55) 100%),
  linear-gradient(180deg, rgba(7,7,7,.7) 0%, transparent 22%, transparent 75%, rgba(7,7,7,.95) 100%); }
.hero-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; gap: 32px; padding: 110px var(--g) clamp(32px, 6vh, 60px); }
.hero-main { grid-row: 1 / 3; align-self: center; max-width: 720px; }
.hero-title { font-family: "Anton", var(--sans); font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 9.2vw, 158px); line-height: .96; letter-spacing: -.005em; margin: 20px 0 22px; }
.hero-title span { color: var(--lime); }
.hero-split .rotator { margin-bottom: 30px; }
.hero-split .rotator .word { text-align: left; }
.hero-split .hero-ctas { justify-content: flex-start; }
.hero-fact { text-align: right; max-width: 330px; justify-self: end; }
.hero-fact.top { align-self: start; padding-top: 20px; }
.hero-fact.bottom { align-self: end; }
.hero-fact b { display: block; font-family: "Anton", var(--sans); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.3vw, 38px); line-height: 1.05; margin-bottom: 8px; }
.hero-fact p { color: #b4b4ae; font-size: 15px; }
@media (max-width: 900px) {
  .hero-split { height: auto; min-height: 100svh; }
  .hero-split .wall { inset: -20% -30%; opacity: .45; }
  .hero-split::after { background: linear-gradient(180deg, rgba(7,7,7,.8), rgba(7,7,7,.7) 50%, rgba(7,7,7,.95)); }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 100px; }
  .hero-main { grid-row: auto; }
  .hero-fact { text-align: left; justify-self: start; padding-top: 0 !important; }
}

/* B hero helpers mapped onto this site's tokens */
.hero .eyebrow { font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero .btn { padding: 15px 24px; }
.hero .btn-ghost { background: rgba(255, 255, 255, .07); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.hero-fact { max-width: 470px; }
.hero-fact b { white-space: nowrap; }
.hero-fact p { max-width: 330px; margin-left: auto; }
@media (max-width: 900px) { .hero-fact p { margin-left: 0; } }
@media (max-width: 900px) { .hero-fact b { white-space: normal; } }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(22px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.marquee b { color: var(--accent); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* statement */
.statement { padding: clamp(100px, 18vh, 200px) var(--gutter); }
.statement-text {
  max-width: 1200px;
  font-size: clamp(28px, 4.4vw, 68px);
  line-height: 1.08; font-weight: 600; letter-spacing: -.04em;
}
.statement-text .w { opacity: .14; transition: opacity .3s; }
.statement-text .w.on { opacity: 1; }
.statement-text em { color: var(--accent); }

/* section heads */
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
h2 { font-size: clamp(40px, 6.5vw, 104px); line-height: .95; font-weight: 700; letter-spacing: -.05em; margin-top: 14px; }
h2 em { color: var(--accent); }

/* work — horizontal scroll */
.work { position: relative; }
.work-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 80px 40px; }
.work-head { padding: 0 var(--gutter); margin-bottom: 40px; display: flex; align-items: flex-end; gap: 12px 40px; flex-wrap: wrap; }
.work-head h2 { margin-top: 0; flex-basis: 100%; }
.work-track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card { width: clamp(200px, (100vh - 380px) * .5625, 340px); flex-shrink: 0; }
.card-art {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: #111; color: #fff;
  box-shadow: 0 30px 80px -40px var(--glow);
  transition: transform .8s var(--ease), box-shadow .6s;
}
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.card:hover .card-art { transform: scale(.97) rotate(-.6deg); box-shadow: 0 40px 100px -30px var(--glow); }
.card:hover .card-art img { transform: scale(1.08); filter: saturate(1.15); }
.card-ratio { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: rgba(0, 0, 0, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card-play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #000;
  transform: scale(.6); opacity: 0;
  transition: transform .5s var(--ease), opacity .3s;
}
.card-play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.card:hover .card-play, .card-art:focus-visible .card-play { transform: none; opacity: 1; }
@media (hover: none) { .card-play { opacity: 1; transform: scale(.8); } }
.card-meta { padding-top: 16px; }
.card-meta h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.card-meta span { font-size: 14px; color: var(--muted); }
.card-cta {
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 9 / 16; border-radius: 22px; padding: 28px;
  background: var(--accent); color: #000;
  font-size: clamp(32px, 3.4vw, 54px); font-weight: 700; letter-spacing: -.04em; line-height: 1;
  transition: transform .6s var(--ease);
}
.card-cta i { font-style: normal; align-self: flex-end; font-size: 1.4em; transition: transform .6s var(--ease); }
.card-cta:hover i { transform: rotate(45deg); }
.work-progress { margin: 36px var(--gutter) 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.work-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* touch devices: native swipe instead of scroll-jacking */
@media (hover: none), (max-width: 760px) {
  .work-sticky { position: static; height: auto; padding-block: 100px 40px; }
  .work-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .work-track::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; width: 64vw; max-width: 300px; }
  .work-progress { display: none; }
}

/* video player */
.player { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.player::backdrop { background: rgba(0, 0, 0, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.player[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }
.player-frame { height: min(86vh, 860px); aspect-ratio: 9 / 16; max-width: 92vw; border-radius: 22px; overflow: hidden; background: #000; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #000; font-size: 18px; cursor: pointer; }
@media (max-width: 520px) { .player-close { top: 8px; right: 8px; } }

/* services */
.services { position: relative; padding: clamp(100px, 16vh, 180px) var(--gutter); }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  position: relative;
  display: grid; grid-template-columns: 60px 1fr 1fr 40px; align-items: center; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .5s var(--ease), color .3s;
}
.svc-n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc h3 { font-size: clamp(26px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.svc p { color: var(--muted); max-width: 380px; transition: color .3s; }
.svc i { font-style: normal; font-size: 24px; justify-self: end; transition: transform .5s var(--ease), color .3s; }
.svc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(212, 248, 103, .07), transparent); opacity: 0; transition: opacity .4s; pointer-events: none; }
@media (hover: hover) {
  .svc:hover { padding-left: 20px; }
  .svc:hover::before { opacity: 1; }
  .svc:hover p { color: var(--fg); }
  .svc:hover i { transform: rotate(45deg); color: var(--accent); }
}
.svc-preview {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  width: 260px; height: 320px; margin: -160px 0 0 -130px;
  border-radius: 20px; overflow: hidden;
  opacity: 0; transform: scale(.6);
  transition: opacity .35s, transform .5s var(--ease);
}
.svc-preview.on { opacity: 1; transform: scale(1); }
.svc-preview div { position: absolute; inset: -30%; animation: spin 10s linear infinite; transition: background .5s; }
@media (hover: none) { .svc-preview { display: none; } }
@media (max-width: 760px) {
  .svc { grid-template-columns: 36px 1fr; gap: 6px 12px; padding: 22px 0; }
  .svc p { grid-column: 2; font-size: 15px; }
  .svc i { display: none; }
}

/* process */
.process { padding: clamp(100px, 16vh, 180px) var(--gutter); background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .4s, transform .6s var(--ease); }
.step:hover { border-color: rgba(212, 248, 103, .4); transform: translateY(-6px); }
.step span { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--accent); line-height: 1; }
.step h3 { margin: 40px 0 10px; font-size: 22px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(60px, 9vw, 120px); border-top: 1px solid var(--line); padding-top: 40px; }
.stat b { display: block; font-size: clamp(48px, 6vw, 96px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .steps, .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step h3 { margin-top: 24px; } }

/* quotes */
.quotes { padding: clamp(100px, 16vh, 180px) var(--gutter); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 32px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.stars { color: var(--accent); letter-spacing: 3px; }
.quote blockquote { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -.01em; flex: 1; }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

/* contact */
.contact { padding: clamp(120px, 20vh, 220px) var(--gutter) clamp(80px, 12vh, 140px); text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 40%; width: 80vmax; height: 50vmax; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(212, 248, 103, .14), transparent); pointer-events: none; }
.contact-title { position: relative; font-size: clamp(48px, 9vw, 150px); margin: 20px 0 48px; }
.contact-ctas { position: relative; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cities { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 860px; margin: clamp(60px, 10vw, 120px) auto 0; border-top: 1px solid var(--line); }
.cities li { padding: 24px 12px 0; display: flex; flex-direction: column; gap: 2px; }
.cities b { font-weight: 600; }
.cities span { font-size: 14px; color: var(--muted); }
.cities time { margin-top: 8px; font-variant-numeric: tabular-nums; color: var(--accent); font-size: 14px; }
@media (max-width: 520px) { .cities { grid-template-columns: 1fr; } .cities li { padding-bottom: 12px; } .btn-xl { width: 100%; justify-content: center; } }

/* footer */
.footer { padding: 0 var(--gutter) 28px; overflow: hidden; }
.footer-mark { display: block; font-size: 21vw; font-weight: 800; letter-spacing: -.07em; line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); user-select: none; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; font-size: 13px; color: var(--muted); }
.footer-row a:hover { color: var(--accent); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .stats .reveal:nth-child(2), .quote-grid .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3), .stats .reveal:nth-child(3), .quote-grid .reveal:nth-child(3) { transition-delay: .2s; }
.steps .reveal:nth-child(4), .stats .reveal:nth-child(4) { transition-delay: .3s; }

/* work cards */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-flow: dense; }
.work-card { position: relative; display: flex; flex-direction: column; gap: 12px; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.work-card.h { grid-column: span 2; }
.work-card .thumb { position: relative; border-radius: 18px; overflow: hidden; background: var(--card); }
.work-card.v .thumb { aspect-ratio: 9 / 16; }
.work-card.h .thumb { aspect-ratio: 16 / 9; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.work-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0, 0, 0, .5)); }
.work-card:hover .thumb img { transform: scale(1.06); }
.work-card .badge { position: absolute; z-index: 2; left: 12px; top: 12px; font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 99px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.work-card .play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--lime); color: #000; display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: transform .5s var(--ease), opacity .3s; }
.work-card .play svg { width: 24px; fill: currentColor; margin-left: 3px; }
.work-card:hover .play, .work-card:focus-visible .play { transform: none; opacity: 1; }
@media (hover: none) { .work-card .play { opacity: 1; transform: scale(.8); } }
.work-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.work-card .meta { font-size: 13px; color: var(--muted); }
.work-card.hidden { display: none; }
.work-card.pop { animation: pop .6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .work-grid { gap: 12px; } .work-card h3 { font-size: 14px; } }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button { border: 1px solid #2c2c2c; background: transparent; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: #555; }
.filters button[aria-pressed="true"] { background: var(--fg); color: #000; border-color: var(--fg); }
.filters sup { font-size: 10px; margin-left: 3px; opacity: .6; }

/* website case (tilted screen) */
.site-stage { position: relative; display: block; max-width: 1120px; margin: 0 auto; perspective: 1600px; }
.site-stage .screen { border-radius: 18px; overflow: hidden; border: 1px solid #262626; box-shadow: 0 60px 140px -40px rgba(212, 248, 103, .22); transform: rotateX(16deg) scale(.94); transition: transform 1.2s var(--ease); }
.site-stage.in .screen, .site-stage:hover .screen { transform: none; }
.site-stage .phone { position: absolute; right: -2%; bottom: -10%; width: 21%; border-radius: 26px; overflow: hidden; border: 6px solid #1a1a1a; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); transition: transform 1.2s var(--ease); }
.site-stage:hover .phone { transform: translateY(-18px) rotate(-3deg); }
.site-facts { display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; margin-top: 80px; text-align: center; }
.site-facts b { display: block; font-size: 22px; letter-spacing: -.02em; }
.site-facts span { font-size: 14px; color: var(--muted); }

/* services page blocks */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(60px, 9vw, 110px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.svc-block:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--card); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-block:hover .svc-media img { transform: scale(1.04); }
.svc-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: none; }
.svc-media.duo img { border-radius: 18px; }
.svc-copy .n { font-size: 13px; color: var(--muted); }
.svc-copy h2 { margin: 12px 0 18px; }
.svc-copy > p { color: #c4c4be; font-size: 17px; max-width: 520px; }
.deliver { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.deliver li { font-size: 13px; padding: 7px 13px; border-radius: 999px; border: 1px solid #2c2c2c; color: #d6d6d0; }
@media (max-width: 860px) { .svc-block { grid-template-columns: 1fr; } .svc-block:nth-child(even) .svc-media { order: 0; } }

/* jump nav on services page */
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.jump a { font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid #2c2c2c; transition: background .2s, color .2s; }
.jump a:hover { background: var(--lime); color: #000; border-color: var(--lime); }

/* feature grid (websites/about) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(212, 248, 103, .1); color: var(--lime); display: grid; place-items: center; font-size: 22px; margin-bottom: 26px; }
.feature h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* case study */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.case h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; font-weight: 600; }
.case p { color: #c4c4be; font-size: 17px; }
.case ul { display: grid; gap: 12px; }
.case li { display: flex; gap: 12px; color: #d6d6d0; }
.case li::before { content: "✦"; color: var(--lime); }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split img { border-radius: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* places */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.place { position: relative; padding: 36px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.place b { font-size: clamp(40px, 5vw, 72px); letter-spacing: -.05em; line-height: 1; }
.place span { color: var(--muted); margin-top: 8px; }
.place::before { content: attr(data-code); position: absolute; right: -10px; top: -30px; font-size: 180px; font-weight: 800; letter-spacing: -.08em; color: rgba(255, 255, 255, .03); }
@media (max-width: 700px) { .places { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: #d6d6d0; }
.form input, .form textarea { font: 16px var(--sans); color: var(--fg); background: var(--card); border: 1px solid #2a2a2a; border-radius: 14px; padding: 15px 16px; width: 100%; transition: border-color .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: 14px; font-weight: 500; color: #d6d6d0; margin-bottom: 10px; }
.chips label { position: relative; display: block; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: 10px 16px; border-radius: 999px; border: 1px solid #2c2c2c; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--lime); color: #000; border-color: var(--lime); }
.chips input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note.ok { color: var(--lime); font-size: 15px; }
.form-note.err { color: #ff8a7a; font-size: 15px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: block; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease); }
.contact-card:hover { border-color: rgba(212, 248, 103, .45); transform: translateY(-4px); }
.contact-card small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-card b { font-size: 22px; letter-spacing: -.02em; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }


/* ================= multi-page additions ================= */

/* nav: current page + mobile menu */
.nav ul a[aria-current="page"] { color: var(--fg); }
.nav ul a[aria-current="page"]::after { right: 0; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--fg); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { font-size: 46px; font-weight: 700; letter-spacing: -.05em; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .04s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .08s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .12s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .16s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .2s; }
@media (max-width: 760px) { .nav > .btn { display: none; } .burger { display: block; } }

/* inner page type + layout */
.h-xl { font-size: clamp(54px, 9.5vw, 160px); line-height: .92; letter-spacing: -.055em; font-weight: 700; margin: 22px 0 28px; max-width: 1200px; }
.h-l { font-size: clamp(40px, 6vw, 96px); line-height: .95; letter-spacing: -.05em; font-weight: 700; margin-top: 14px; }
.h-m { font-size: clamp(30px, 3.6vw, 54px); line-height: 1; letter-spacing: -.04em; font-weight: 700; margin: 12px 0 18px; }
.h-xl em, .h-l em, .h-m em { color: var(--accent); }
.page-hero { position: relative; padding: clamp(150px, 24vh, 230px) var(--gutter) clamp(60px, 9vh, 100px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; top: -35vmax; background: radial-gradient(circle, rgba(212, 248, 103, .13), transparent 60%); pointer-events: none; }
.page-hero .lead { max-width: 580px; }
.page-hero .h-xl .line { display: block; overflow: hidden; padding-bottom: .05em; }
.page-hero .h-xl .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.page-hero .h-xl .line:nth-child(2) > span { transition-delay: .1s; }
.is-loaded .page-hero .h-xl .line > span { transform: none; }
.section { padding: clamp(90px, 14vh, 170px) var(--gutter); }
.border-top { border-top: 1px solid var(--line); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.head-row > div { max-width: 860px; }
.wrap { padding-inline: var(--gutter); }
.more { margin-top: 44px; }
.link { display: inline-flex; gap: 8px; font-weight: 500; border-bottom: 1px solid #3a3a3a; padding-bottom: 4px; transition: border-color .3s; }
.link:hover { border-color: var(--accent); }
.link i { font-style: normal; color: var(--accent); }
a.svc { color: inherit; }
.websites-teaser { padding: clamp(100px, 16vh, 180px) var(--gutter); border-top: 1px solid var(--line); }
.cities-2 { grid-template-columns: repeat(2, 1fr) !important; max-width: 600px !important; }
@media (max-width: 520px) { .cities-2 { grid-template-columns: 1fr !important; } }

/* player: 16:9 videos */
.player-frame.wide { height: auto; width: min(90vw, 1280px); aspect-ratio: 16 / 9; }

/* footer with link columns */
.footer { padding-top: 64px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.footer-top p { color: var(--muted); font-size: 14px; max-width: 280px; margin-top: 14px; }
.footer h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 14px; }
.footer-top ul { display: grid; gap: 8px; font-size: 15px; }
.footer-top ul a:hover { color: var(--accent); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }


/* ================= gallery + compact page headers ================= */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; padding: clamp(118px, 17vh, 150px) var(--gutter) 28px; margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -24vmax; top: -40vmax; background: radial-gradient(circle, rgba(212, 248, 103, .12), transparent 60%); pointer-events: none; }
.page-head h1 { font-size: clamp(40px, 5.6vw, 86px); line-height: .98; letter-spacing: -.05em; font-weight: 700; margin: 12px 0 0; }
.page-head h1 em { color: var(--accent); }
.page-head h1 .count { font-family: var(--sans); font-style: normal; font-size: .32em; letter-spacing: 0; vertical-align: super; color: var(--muted); margin-left: 8px; }
.page-head .lead { max-width: 380px; font-size: 16px; color: var(--muted); text-align: right; }
@media (max-width: 700px) { .page-head { flex-direction: column; align-items: flex-start; } .page-head .lead { text-align: left; } }
.page-body { padding: 0 var(--gutter) clamp(90px, 14vh, 150px); }

/* language switch */
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.lang a { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 9px; border-radius: 999px; color: #bdbdb7; transition: background .2s, color .2s; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { background: var(--fg); color: #000; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.mobile-menu .lang { align-self: flex-start; margin-bottom: 22px; }
@media (max-width: 760px) { .nav-right .lang, .nav-right > .btn { display: none; } }

/* website cards (gallery) */
.site-card { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; }
.site-card .frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #262626; background: #111; transition: transform .8s var(--ease), box-shadow .6s; }
.site-card:hover .frame { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(212, 248, 103, .35); }
.site-card .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #161616; border-bottom: 1px solid #222; }
.site-card .bar span { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.site-card .bar b { margin-left: 10px; font-size: 11px; font-weight: 500; color: var(--muted); }
.site-card .shot { aspect-ratio: 16 / 9.4; overflow: hidden; }
.site-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.site-card:hover .shot img { transform: scale(1.04); }
.site-card .mob { position: absolute; right: 4%; bottom: -30%; width: 19%; border-radius: 14px; overflow: hidden; border: 4px solid #1a1a1a; box-shadow: 0 20px 40px rgba(0, 0, 0, .6); transition: bottom .8s var(--ease); }
.site-card:hover .mob { bottom: 6%; }
.site-card .web-badge { position: absolute; z-index: 2; left: 12px; top: 46px; font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 99px; background: var(--accent); color: #000; }
.site-card .meta-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.site-card h3 { font-size: 16px; font-weight: 600; }
.site-card .meta { font-size: 13px; color: var(--muted); }
.site-card .go { font-size: 20px; transition: transform .5s var(--ease), color .3s; }
.site-card:hover .go { transform: rotate(45deg); color: var(--accent); }
.sites-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.sites-grid .site-card { grid-column: auto; }
.sites-grid .site-card p.desc { font-size: 14px; color: #c4c4be; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid #2c2c2c; color: #d6d6d0; }
@media (max-width: 1000px) { .site-card { grid-column: 1 / -1; } }
@media (max-width: 760px) { .sites-grid { grid-template-columns: 1fr; } }

/* services as a card grid */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.svc-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); scroll-margin-top: 90px; transition: border-color .4s, transform .6s var(--ease); }
.svc-card:hover, .svc-card:target { border-color: rgba(212, 248, 103, .45); transform: translateY(-6px); }
.svc-card .img { aspect-ratio: 16 / 9; overflow: hidden; }
.svc-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .img img { transform: scale(1.06); }
.svc-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-card .n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-card h2 { font-size: 24px; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.svc-card p { color: #bdbdb7; font-size: 15px; }
.svc-card .deliver { margin: 2px 0 6px; }
.svc-card .link { margin-top: auto; align-self: flex-start; }


/* ================= gallery sections (no gaps: one grid per aspect ratio) ================= */
.gal-sec { margin-top: 44px; }
.gal-sec.empty { display: none; }
.gal-title { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; font-weight: 600; margin: 0 0 20px; display: flex; align-items: baseline; gap: 10px; }
.gal-title span { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.grid-v { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 210px), 1fr)); gap: 22px 16px; }
.grid-h { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 22px 16px; }
.grid-v + .grid-h { margin-top: 26px; }
.grid-v .work-card, .grid-h .work-card { grid-column: auto; }
.work-card .play.zoom { font-size: 22px; }
.filters { position: sticky; top: 66px; z-index: 20; padding: 12px 0; margin: -12px 0 0; background: linear-gradient(var(--bg) 70%, transparent); }

/* image lightbox */
.player-frame.image { width: auto; height: auto; aspect-ratio: auto; max-width: 92vw; max-height: 88vh; background: transparent; }
.player-frame.image img { display: block; max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 16px; }

/* website mockup cards + home row */
.site-card .frame.plain { border: 0; background: #0b0b0b; }
.site-card .frame.plain .shot { aspect-ratio: 16 / 10; }
.site-card .frame.plain .shot img { object-position: center; }
.sites-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 48px) 20px; margin-top: 10px; text-align: left; }
.sites-row .site-card { grid-column: auto; }
@media (max-width: 900px) { .sites-row { grid-template-columns: 1fr; } }
.count-pill { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 99px; background: rgba(0, 0, 0, .14); font-size: 12px; }
@media (min-width: 1100px) { .sites-grid { grid-template-columns: repeat(3, 1fr); } }

/* three offices */
.places { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .places { grid-template-columns: 1fr; } }

/* hero: rating only, bottom right */
.hero-fact.bottom { grid-row: 2; grid-column: 2; }
.stars-inline { color: var(--accent); font-family: var(--sans); font-size: .55em; letter-spacing: 2px; vertical-align: middle; margin-left: 6px; }

.site-card .glow .shot { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 100%, rgba(212, 248, 103, .28), transparent 70%), #0b0b0b; }
.site-card .screen-in { width: 82%; border-radius: 8px 8px 4px 4px; overflow: hidden; border: 3px solid #222; box-shadow: 0 20px 40px rgba(0, 0, 0, .6); transition: transform 1s var(--ease); }
.site-card .screen-in img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.site-card:hover .screen-in { transform: translateY(-4px) scale(1.02); }


/* ================= services page: sticky index + rich rows ================= */
.svc-page { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-index { position: sticky; top: 100px; display: grid; gap: 24px; }
.svc-index ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.svc-index a { display: flex; gap: 12px; padding: 9px 0 9px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 15px; transition: color .25s, border-color .25s; }
.svc-index a span { font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.svc-index a:hover { color: var(--fg); }
.svc-index a.active { color: var(--fg); border-color: var(--accent); }
.svc-index a.active span { color: var(--accent); }
.svc-index .btn { justify-self: start; }
.svc-stack { display: grid; }
.svc-row { padding: 0 0 clamp(70px, 9vw, 120px); scroll-margin-top: 90px; }
.svc-row + .svc-row { border-top: 1px solid var(--line); padding-top: clamp(50px, 6vw, 80px); }
.svc-row-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.svc-num { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 3.4vw, 54px); color: var(--accent); line-height: 1; }
.svc-row-head h2 { font-size: clamp(34px, 4.4vw, 68px); line-height: 1; letter-spacing: -.05em; font-weight: 700; margin: 0; }
.collage { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(260px, 30vw, 440px); margin-bottom: 30px; }
.collage .m { position: relative; border-radius: 18px; overflow: hidden; background: var(--card); }
.collage .m0 { grid-row: 1 / 3; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; }
.collage .m:hover img { transform: scale(1.05); }
.collage .m::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.svc-row-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 48px; align-items: start; }
.svc-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #d9d9d4; letter-spacing: -.01em; }
.mini { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 14px; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; color: #e2e2dd; }
.checks li::before { content: "✓"; flex-shrink: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(212, 248, 103, .14); color: var(--accent); font-size: 11px; font-weight: 700; transform: translateY(2px); }
.svc-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 960px) {
  .svc-page { grid-template-columns: 1fr; }
  .svc-index { position: static; }
  .svc-index ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .svc-index a { padding: 8px 14px; border: 1px solid #2c2c2c; border-radius: 999px; margin: 0; font-size: 14px; }
  .svc-index .btn { display: none; }
  .svc-row-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; height: 380px; } .collage .m0 { grid-row: auto; grid-column: 1 / -1; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { font-style: normal; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .4s var(--ease); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { color: #bdbdb7; padding: 0 0 24px; max-width: 620px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* websites page: featured case */
.feature-case { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.feature-case .site-stage { max-width: none; }
.fc-copy { display: grid; gap: 16px; justify-items: start; }
.fc-copy h2 { font-size: clamp(36px, 4vw, 60px); letter-spacing: -.05em; line-height: 1; margin: 0; }
.fc-copy > p { color: #c4c4be; }
.fc-copy .checks { margin: 6px 0 10px; font-size: 15px; }
@media (max-width: 960px) { .feature-case { grid-template-columns: 1fr; } }


/* ================= website showcase: clean browser frames with hover-scroll ================= */
.showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.showcase .site-card, .sites-row .site-card { grid-column: auto; }
.site-card.live { position: relative; display: flex; flex-direction: column; gap: 0; }
.site-card.live .browser { position: relative; border-radius: 14px; overflow: hidden; background: #141414; border: 1px solid #262626; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); transition: transform .8s var(--ease), box-shadow .6s, border-color .4s; }
.site-card.live:hover .browser { transform: translateY(-6px); border-color: #3a3a3a; box-shadow: 0 50px 90px -40px rgba(212, 248, 103, .25); }
.site-card.live .bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; background: #181818; border-bottom: 1px solid #242424; }
.site-card.live .bar span { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; box-shadow: 15px 0 0 #3a3a3a, 30px 0 0 #3a3a3a; margin-right: 30px; }
.site-card.live .bar span + span { display: none; }
.site-card.live .bar b { justify-self: center; font-size: 12px; font-weight: 500; color: #a8a8a2; background: #222; padding: 4px 14px; border-radius: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-card.live .bar i { font-style: normal; color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.site-card.live:hover .bar i { transform: rotate(45deg); color: var(--accent); }
.site-card.live .viewport { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.site-card.live .viewport img { display: block; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; transform: translateY(0); transition: transform var(--dur, 4s) cubic-bezier(.45, 0, .25, 1); will-change: transform; }
.site-card.live:hover .viewport img { transform: translateY(var(--shift, 0%)); }
.site-card.live .phone { position: absolute; right: -10px; top: 32%; width: 21%; aspect-ratio: 390 / 844; border-radius: 22px; overflow: hidden; border: 5px solid #1b1b1b; background: #000; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); transition: transform .8s var(--ease); }
.site-card.live .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.site-card.live:hover .phone { transform: translateY(-14px) rotate(-2deg); }
.site-card.live .meta-row { margin-top: 18px; }
.site-card.live h3 { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.02em; }
.site-card.live .desc { margin-top: 8px; color: #bdbdb7; font-size: 15px; max-width: 560px; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } .site-card.live .phone { right: 8px; } }

/* template-store style gallery: many small, even cards */
.tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 18px; text-align: left; }
.tpl-grid .site-card { grid-column: auto; }
.tpl-grid .site-card.live .browser { border-radius: 10px; }
.tpl-grid .site-card.live .bar { padding: 7px 10px; gap: 8px; }
.tpl-grid .site-card.live .bar span { width: 7px; height: 7px; box-shadow: 11px 0 0 #3a3a3a, 22px 0 0 #3a3a3a; margin-right: 22px; }
.tpl-grid .site-card.live .bar b { font-size: 10.5px; padding: 3px 10px; }
.tpl-grid .site-card.live .bar i { font-size: 12px; }
.tpl-grid .site-card.live .meta-row { margin-top: 12px; }
.tpl-grid .site-card.live h3 { font-size: 16px; }
.tpl-grid .site-card.live .meta { font-size: 13px; }
.tpl-grid .site-card.live:hover .browser { transform: translateY(-4px); }
.tpl-grid.home { margin-top: 10px; }
@media (max-width: 1100px) { .tpl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .tpl-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; } }
@media (max-width: 460px) { .tpl-grid { grid-template-columns: 1fr; } }

/* website tiles in the hero wall: slightly brighter so they stand out from the reels */
.tile.site { outline: 1px solid rgba(212, 248, 103, .35); }
.tile.site img { object-fit: cover; object-position: top; filter: brightness(1.15); }
.tile.site b { font-size: 12px; padding: 6px 11px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .statement-text .w { opacity: 1; }
  .page-hero .h-xl .line > span { transform: none; }
  html { scroll-behavior: auto; }
}
