/* ==========================================================================
   Emrix Media - homepage styles
   Desktop sizes are in vw (fluid) with fixed sizes below 992 / 768 / 480px.
   ========================================================================== */

/* Geist variable (latin-ext), SIL Open Font License 1.1 */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/assets/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Geist variable (latin), SIL Open Font License 1.1 */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #01FF67;          /* Emrix green */
  --brand-ink: #000;         /* text/icons placed on the brand green */
  --brand-strong: #00b84a;   /* brand green for small marks on white */
  --ink: #0a0a0a;            /* dark sections */
  --ink-2: #141414;
  --white: #fff;
  --paper: #f4f4f2;          /* light cards */
  --muted: #6b6b6b;
  --muted-dark: #9a9a9a;
  --line: rgba(0, 0, 0, .12);
  --line-dark: rgba(255, 255, 255, .12);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-expo: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, figure, blockquote, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 500; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
::selection { color: var(--brand-ink); background: var(--brand); }
:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: 100%; padding-left: 3vw; padding-right: 3vw; }

/* ---------- Small shared pieces ---------- */
.dot { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--brand); flex: none; }
.label {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .95vw; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.label--light { color: var(--muted-dark); }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  padding: 1.05em 1.7em; border-radius: 999px;
  font-size: 1.05vw; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-expo);
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .45s var(--ease-expo); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--white); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .28); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--brand); color: var(--brand-ink); }
.btn--sm { font-size: .95vw; padding: .85em 1.3em; }
.btn--block { width: 100%; padding: 1.35em; font-size: 1.3vw; }

/* Logo: green mark + two-line wordmark, sized with font-size (= "Emrix" size) */
.brand { display: inline-flex; align-items: center; gap: .3em; line-height: 1; color: inherit; }
.brand__mark { flex: none; height: 1.24em; width: auto; aspect-ratio: 101 / 168; fill: var(--brand); }
.brand__word { display: flex; flex-direction: column; align-items: flex-end; }
.brand__name { font-weight: 500; letter-spacing: -.02em; line-height: .78; }
.brand__sub { font-size: .43em; font-weight: 400; letter-spacing: .01em; line-height: 1; margin-top: .32em; margin-right: -.08em; }

/* Split-text helpers (SplitType output) */
.word-line { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.word { position: relative; }
.line-mask {
  position: absolute; top: 0; right: 0; z-index: 2;
  width: 105%; height: 105%;
  background: var(--white); opacity: .82; pointer-events: none;
}

/* ---------- Custom cursor ---------- */
html.has-cursor,
html.has-cursor body,
html.has-cursor a,
html.has-cursor button,
html.has-cursor label,
html.has-cursor input,
html.has-cursor select,
html.has-cursor textarea { cursor: none; }

.cursor { position: fixed; left: 0; top: 0; z-index: 199; width: 0; height: 0; pointer-events: none; display: none; opacity: 0; }
html.has-cursor .cursor { display: block; }
.cursor__dot {
  position: absolute; left: 0; top: 0;
  width: 1.1vw; height: 1.1vw; border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  transition: width .45s var(--ease-expo), height .45s var(--ease-expo);
}
.cursor__arrow { width: 55%; height: 55%; color: var(--brand-ink); opacity: 0; transform: scale(0); transition: opacity .25s, transform .25s; }
.cursor__label { position: absolute; font-size: .9vw; font-weight: 600; color: var(--brand-ink); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease-expo); }
.cursor.is-link .cursor__dot { width: 2.6vw; height: 2.6vw; }
.cursor.is-link .cursor__arrow { opacity: 1; transform: scale(1); }
.cursor.has-label .cursor__dot { width: 6vw; height: 6vw; }
.cursor.has-label .cursor__arrow { opacity: 0; }
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-down .cursor__dot { width: .8vw; height: .8vw; }
.cursor.is-hidden .cursor__dot { width: 0; height: 0; }

/* ==========================================================================
   NAV (floating pills)
   ========================================================================== */
.nav {
  position: fixed; top: 1vw; left: 1.5vw; right: 1.5vw; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1vw;
  pointer-events: none;
  transition: transform .6s var(--ease-expo);
}
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translateY(-160%); }
.nav__brand,
.nav__menu,
.nav__burger {
  background: rgba(12, 12, 12, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .08);
}
.nav__brand { font-size: 1.5vw; color: var(--white); padding: .5em .85em; border-radius: 999px; }
.nav__menu { display: flex; align-items: center; gap: .2vw; padding: .35vw; border-radius: 999px; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35vw;
  padding: .65vw 1.15vw; border-radius: 999px;
  color: var(--white); font-size: 1vw; line-height: 1;
  transition: background-color .3s, color .3s;
}
.nav__link:hover,
.nav__dropdown.is-open .nav__dropdown-toggle { background: rgba(255, 255, 255, .1); }
.nav__link--mobile-only { display: none; }
.nav__chevron { width: 1vw; height: 1vw; transition: transform .3s; }
.nav__dropdown { position: relative; display: flex; }
.nav__dropdown.is-open .nav__chevron { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: .6vw; }
.nav__burger { display: none; }

.mega {
  position: absolute; top: 100%; left: 50%;
  padding-top: 1vw;
  transform: translateX(-50%);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.mega__panel {
  display: flex; flex-direction: column; gap: 1.6vw;
  padding: 1.8vw 2vw 1.4vw;
  background: #0e0e0e; color: var(--white);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 1.4vw;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  transform: translateY(10px);
  transition: transform .45s var(--ease-expo);
}
.nav__dropdown.is-open .mega { opacity: 1; visibility: visible; }
.nav__dropdown.is-open .mega__panel { transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(4, auto); gap: 3vw; }
.mega__col { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1vw; }
.mega__heading { font-size: 1.45vw; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.mega__links { display: flex; flex-direction: column; gap: .85vw; white-space: nowrap; }
.mega__link { display: flex; align-items: center; gap: .55vw; color: #cfcfcf; font-size: .95vw; font-weight: 300; transition: color .3s; }
.mega__link svg { width: 1.1vw; height: 1.1vw; flex: none; color: var(--brand); }
.mega__link:hover { color: var(--white); }
.mega__text { position: relative; display: inline-flex; overflow: hidden; }
.mega__text > span,
.mega__text::after { display: block; transition: transform .3s ease; }
.mega__text::after { content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; }
.mega__link:hover .mega__text > span,
.mega__link:hover .mega__text::after { transform: translateY(-100%); }
.mega__all {
  display: flex; justify-content: flex-end; align-items: center; gap: .5vw;
  padding-top: 1.1vw; border-top: 1px solid var(--line-dark);
  color: var(--brand); font-size: 1vw;
}
.mega__all svg { width: 1vw; height: 1vw; transition: transform .4s var(--ease-expo); }
.mega__all:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HERO SLIDER (home). Artwork: Claude Design canvas "Emrix hero slides", exported to /assets/img/hero
   ========================================================================== */
.hero-slider { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); --hero-interval: 6s; }
.hero-slider__viewport { display: grid; }
.hero-slide {
  grid-area: 1 / 1; position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 3vw 140px;
  opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease-io), visibility 0s linear .8s;
}
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .8s var(--ease-io), visibility 0s; }
.hero-slide__img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
  transform: scale(1.05); transition: transform 7s linear;
}
.hero-slide.is-active .hero-slide__img { transform: scale(1); }
.hero-slide__content { position: relative; max-width: 40vw; display: flex; flex-direction: column; align-items: flex-start; gap: 1.3vw; }
.hero-slide__eyebrow {
  display: inline-flex; align-items: center; gap: .7em; padding: .6em 1em;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(10, 10, 10, .4);
  font-size: .8vw; letter-spacing: .14em; text-transform: uppercase; color: #c4c4c4;
}
.hero-slide__title { font-size: 4.4vw; font-weight: 500; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.hero-slide__lead { max-width: 28vw; font-size: 1.15vw; line-height: 1.5; color: #c9c9c9; }
.hero-slide__ctas { display: flex; flex-wrap: wrap; gap: .8vw; margin-top: .4vw; }
/* Content rises in when a slide becomes active (never on first paint, so the first headline shows at once) */
.hero-slider.is-ready .hero-slide__content > * { transition: opacity .7s var(--ease-io), transform .7s var(--ease-io); }
.hero-slider.is-ready .hero-slide:not(.is-active) .hero-slide__content > * { opacity: 0; transform: translateY(18px); transition: none; }
.hero-slider.is-ready .hero-slide.is-active .hero-slide__content > :nth-child(2) { transition-delay: .08s; }
.hero-slider.is-ready .hero-slide.is-active .hero-slide__content > :nth-child(3) { transition-delay: .16s; }
.hero-slider.is-ready .hero-slide.is-active .hero-slide__content > :nth-child(4) { transition-delay: .24s; }

.hero-slider__controls { position: absolute; z-index: 3; left: 3vw; bottom: 2.4vw; display: flex; align-items: center; gap: 8px; }
html:not(.js) .hero-slider__controls { display: none; }
.hero-slider__btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(10, 10, 10, .45); color: var(--white);
  cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
.hero-slider__btn:hover, .hero-slider__btn:focus-visible { border-color: var(--brand); background: var(--brand); color: var(--ink); }
.hero-slider__btn svg { width: 18px; height: 18px; }
.hero-slider__btn[data-prev] svg { transform: rotate(180deg); }
.hero-slider__dots { display: flex; }
.hero-slider__dot { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-slider__dot span { position: relative; display: block; width: 30px; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.hero-slider__dot:hover span { background: rgba(255, 255, 255, .55); }
.hero-slider__dot[aria-current="true"] span::after {
  content: ""; position: absolute; inset: 0; background: var(--brand);
  transform-origin: left; animation: hero-progress var(--hero-interval) linear forwards;
}
.hero-slider.is-paused .hero-slider__dot[aria-current="true"] span::after { animation: none; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-slider__pause { display: block; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.hero-slider.is-user-paused .hero-slider__pause { width: 0; height: 0; margin-left: 4px; border-width: 7px 0 7px 12px; border-style: solid; border-color: transparent transparent transparent currentColor; }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 6vw 6vw;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 62% 45%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 62% 45%, #000 25%, transparent 75%);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  margin-bottom: 2.2vw; padding: .65em 1.1em;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  font-size: .9vw; letter-spacing: .14em; text-transform: uppercase; color: #bdbdbd;
}

/* ==========================================================================
   CROSSING BRAND BANDS
   ========================================================================== */
.bands { position: relative; height: 17vw; overflow: hidden; background: var(--white); }
.band { position: absolute; left: -6vw; right: -6vw; top: 50%; padding: 1.1vw 0; overflow: hidden; }
.band--brand { z-index: 2; background: var(--brand); color: var(--brand-ink); transform: translateY(-50%) rotate(-3deg); }
.band--dark { z-index: 1; background: var(--ink); color: var(--white); transform: translateY(-50%) rotate(2.5deg); }
.band__track {
  display: flex; align-items: center; gap: 2.4vw; padding-right: 2.4vw;
  width: max-content;
  animation: loop-x 32s linear infinite;
}
.band__track--reverse { animation-direction: reverse; animation-duration: 38s; }
@keyframes loop-x { to { transform: translateX(-50%); } }
.band__item { font-size: 4.2vw; font-weight: 600; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; }
.band__mark { flex: none; width: 2vw; height: 3.33vw; fill: currentColor; }
.band--dark .band__mark { fill: var(--brand); }

/* ==========================================================================
   ABOUT / MANIFESTO + STATS
   ========================================================================== */
.about { padding: 8vw 0; background: var(--white); }
.about__grid { display: grid; grid-template-columns: 25vw 1fr; gap: 6vw; align-items: start; }
.about__side { position: sticky; top: 7vw; display: flex; flex-direction: column; gap: 2vw; }
.about__image { border-radius: 1.6vw; overflow: hidden; background: #000; }
.about__image img { width: 100%; height: auto; }
.about__title { font-size: 3.6vw; font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.about__copy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3vw;
  margin-top: 4vw; padding-top: 2.4vw; border-top: 1px solid var(--line);
  font-size: 1.15vw; line-height: 1.6; color: var(--muted);
}

.stats {
  margin-top: 7vw;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); color: var(--white);
  border-radius: 2vw; overflow: hidden;
}
.stat {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 4vw;
  min-height: 17vw; padding: 2.8vw 2.4vw;
  border-left: 1px solid var(--line-dark);
  transition: background-color .4s;
}
.stat:first-child { border-left: 0; }
.stat:hover { background: #151515; }
.stat__num { font-size: 6vw; font-weight: 500; line-height: 1; letter-spacing: -.05em; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat__label { max-width: 16vw; font-size: 1.1vw; line-height: 1.45; color: #bdbdbd; }

/* ==========================================================================
   SELECTED WORK (pinned horizontal strip)
   ========================================================================== */
.work { position: relative; height: 100vh; overflow: hidden; background: var(--ink); color: var(--white); }
.work__rail { display: flex; height: 100%; width: max-content; will-change: transform; }

.work__intro {
  position: relative; flex: none;
  width: 58vw; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--ink);
}
.work__intro-main { text-align: center; }
.work__title { font-size: 5vw; font-weight: 600; line-height: .86; letter-spacing: -.06em; text-transform: uppercase; }
.work__tagline { margin-top: 1vw; font-size: 1.6vw; letter-spacing: -.03em; color: var(--muted); }
.work__tagline span { padding: 0 .1em; color: var(--ink); background: linear-gradient(transparent 62%, var(--brand) 62%); }
.work__corner { position: absolute; font-size: 1vw; color: var(--ink); }
.work__corner--tl { top: 7.5vw; left: 3vw; }
.work__corner--tr { top: 7.5vw; right: 3vw; color: var(--muted); }
.work__corner--bl { bottom: 2.6vw; left: 3vw; }
.work__corner--br { bottom: 2.6vw; right: 3vw; }
a.work__corner { border-bottom: 1px solid currentColor; transition: color .3s; }
a.work__corner:hover { color: var(--brand-strong); }
.work__hint { display: inline-flex; align-items: center; gap: .6vw; color: var(--muted); }
.work__hint svg { width: 1.2vw; height: 1.2vw; animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.work-col {
  position: relative; flex: none; overflow: hidden;
  width: 42vw; height: 100%;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line-dark);
  color: var(--white);
  transition: background-color .4s;
}
.work-col:hover { background: #101010; }
.work-col__stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 7vw 3vw 1.5vw; }
/* Width is capped by viewport height so the image keeps its own ratio and is never cropped */
.work-col__media {
  position: relative;
  width: 100%; max-width: calc(54vh * var(--arn, 1.7778));
  aspect-ratio: var(--ar, 16 / 9);
  border-radius: .8vw; overflow: hidden;
  background: #161616;
  will-change: transform;
}
.work-col__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-col__img--hover { opacity: 0; transition: opacity .5s ease; }
.work-col:hover .work-col__img--hover.is-loaded { opacity: 1; }
.work-col__info { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1vw; padding: 0 3vw 3vw; }
.work-col__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5vw .9vw; }
.pill { padding: .45vw .9vw; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font-size: .85vw; line-height: 1; }
.bullet-tag { display: inline-flex; align-items: center; gap: .45vw; font-size: .85vw; color: #bdbdbd; }
.bullet-tag::before { content: ""; width: .4vw; height: .4vw; border-radius: 50%; background: var(--brand); }
.work-col__title { font-size: 3.4vw; font-weight: 500; line-height: 1; letter-spacing: -.045em; transition: color .3s; }
.work-col:hover .work-col__title { color: var(--brand); }
.work-col__num { font-size: .9vw; color: #6f6f6f; font-variant-numeric: tabular-nums; }
/* Pill that follows the pointer inside a column (positioned by JS) */
.work-col__cta {
  position: absolute; left: 0; top: 0; z-index: 5;
  display: inline-flex; align-items: center; gap: .5vw;
  padding: 1vw 1.5vw; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink);
  font-size: .95vw; font-weight: 600; white-space: nowrap;
  pointer-events: none; opacity: 0; visibility: hidden;
}
.work-col__cta svg { width: 1vw; height: 1vw; }

.work__end {
  flex: none; width: 52vw; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2.2vw;
  padding: 0 5vw;
  background: var(--brand); color: var(--brand-ink);
}
.work__end-title { font-size: 3.6vw; font-weight: 600; line-height: .92; letter-spacing: -.05em; }
.work__end-ctas { display: flex; flex-wrap: wrap; gap: .8vw; }
.btn--outline-dark { border: 1px solid rgba(0, 0, 0, .35); color: var(--brand-ink); }
.btn--outline-dark:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: var(--white); }
.label--ink { color: rgba(0, 0, 0, .65); }
.dot--ink { background: var(--brand-ink); }

/* ==========================================================================
   SERVICES (pinned, horizontal cards on a green gradient)
   ========================================================================== */
.h2 { font-size: 4vw; font-weight: 400; line-height: 1.3; }
.paragraph { font-size: 1.5vw; line-height: 2; }

.services { position: relative; }
.services__track { position: relative; height: 250vh; overflow: clip; }
.services__sticky { position: sticky; top: 0; z-index: 1; width: 100%; height: 100vh; overflow: clip; }
.services__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #f3fff8; }
.services__blob { position: absolute; border-radius: 50%; filter: blur(3vw); }
.services__blob--1 {
  width: 60vw; height: 60vw; left: -22vw; bottom: -28vw;
  background: radial-gradient(circle, rgba(1, 255, 103, .75) 0%, rgba(1, 255, 103, 0) 68%);
  animation: blob-a 14s ease-in-out infinite alternate;
}
.services__blob--2 {
  width: 50vw; height: 50vw; right: -18vw; top: 8vh;
  background: radial-gradient(circle, rgba(70, 255, 150, .6) 0%, rgba(70, 255, 150, 0) 68%);
  animation: blob-b 16s ease-in-out infinite alternate;
}
.services__blob--3 {
  width: 70vw; height: 45vw; left: 15vw; top: 15vh;
  background: radial-gradient(circle, #ccffe1 0%, rgba(204, 255, 225, 0) 70%);
  animation: blob-c 18s ease-in-out infinite alternate;
}
@keyframes blob-a { to { transform: translate(35%, 15%) scale(1.15); } }
@keyframes blob-b { to { transform: translate(-30%, -12%) scale(.9); } }
@keyframes blob-c { to { transform: translate(-20%, -35%) scale(1.25); } }
.services__fade { position: absolute; left: 0; right: 0; pointer-events: none; }
.services__fade--top { top: -2px; height: 14%; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
.services__fade--bottom { bottom: -2px; height: 18%; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }

.services__container {
  position: relative; z-index: 5;
  width: 100%; height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  will-change: transform;
}
.services__head { padding: 0 3vw 1vw; }
.services__title { font-size: 3.6vw; font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.services__inner { display: flex; gap: 2.75vw; padding: 0 3vw; }
.services__intro { flex: none; width: 26vw; display: flex; align-items: flex-end; }
.services__cards { flex: none; display: flex; gap: 2.75vw; }
.service-card {
  flex: none; min-width: 28vw;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2vw;
  padding: 2vw 1.75vw;
  border: 1px solid var(--ink); border-radius: 1.5vw;
  transition: border-color .3s, background-color .3s;
}
.service-card:hover { background: rgba(255, 255, 255, .35); }
.service-card__title { color: var(--ink); font-size: 2.75vw; line-height: 1; white-space: nowrap; }
.service-card__list { display: flex; flex-direction: column; }
.service-item { position: relative; display: flex; align-items: center; padding: .5vw 0; color: var(--ink); }
.service-item__pointer {
  display: flex; width: 0; overflow: hidden;
  transition: width .45s var(--ease-expo), margin-right .45s var(--ease-expo);
}
.service-item__pointer svg { flex: none; width: 1.5vw; height: 1.5vw; color: var(--brand-strong); }
.service-item:hover .service-item__pointer { width: 1.5vw; margin-right: .5vw; }
.service-item__text { color: var(--ink); opacity: .9; font-size: 1.65vw; font-weight: 300; line-height: 1; }

/* ==========================================================================
   CLIENTS (marquee: grey names, logo pops in on hover)
   ========================================================================== */
.clients { padding: 6vw 0 3vw; background: var(--white); text-align: center; }
.clients__label { margin-bottom: 1.5vw; }
.clients__marquee { display: flex; min-height: 12.5vw; overflow: hidden; }
.clients__track { flex: none; display: flex; align-items: stretch; animation: clients-loop 40s linear infinite; }
@keyframes clients-loop { to { transform: translateX(-100%); } }
.client { position: relative; display: flex; align-items: center; justify-content: center; gap: 6.5vw; margin-left: -.5vw; }
.client:hover { z-index: 2; }
.client__dot { flex: none; width: .5vw; height: .5vw; border-radius: 50%; background: #e6e6e6; transition: background-color .3s; }
.client:hover .client__dot { background: var(--brand); }
.client__name { font-size: 1.75vw; line-height: 1; white-space: nowrap; opacity: .2; transition: transform .6s var(--ease-expo); }
.client:hover .client__name { transform: scale(0); }
.client__logo {
  position: absolute; width: 62%; height: 82%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transform: scale(0) rotate(-8deg);
  transition: transform .6s var(--ease-expo);
}
.client:hover .client__logo { transform: scale(1) rotate(-3deg); }
.client__logo img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  border-radius: .7vw; box-shadow: 0 1vw 2.2vw rgba(0, 0, 0, .18);
}

/* ==========================================================================
   REVIEWS (scrolling cards)
   ========================================================================== */
.reviews { padding: 8vw 0; background: var(--white); overflow: hidden; }
.reviews__head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4vw; margin-bottom: 4vw; }
.reviews__title { font-size: 6vw; font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.reviews__marquee { overflow: hidden; }
.reviews__track {
  display: flex; gap: 1.5vw; padding-right: 1.5vw;
  width: max-content;
  animation: loop-x 60s linear infinite;
}
.reviews__marquee:hover .reviews__track { animation-play-state: paused; }
.review {
  flex: none; width: 30vw; min-height: 22vw;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3vw;
  padding: 2.4vw; border-radius: 1.6vw;
  background: var(--paper);
}
.review--dark { background: var(--ink); color: var(--white); }
.review--brand { background: var(--brand); color: var(--brand-ink); }
.review__q { width: 2.4vw; height: 1.8vw; color: var(--brand-strong); }
.review--dark .review__q { color: var(--brand); }
.review--brand .review__q { color: var(--brand-ink); }
.review blockquote { font-size: 1.55vw; line-height: 1.35; letter-spacing: -.01em; }
.review__by { display: flex; align-items: center; gap: 1vw; font-size: .95vw; }
.review__by strong { display: block; font-size: 1.1vw; font-weight: 500; }
.review__by span span { color: var(--muted); }
.review--dark .review__by span span { color: var(--muted-dark); }
.review--brand .review__by span span { color: rgba(0, 0, 0, .65); }
.review__avatar {
  flex: none; width: 3vw; height: 3vw; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--brand); font-weight: 600;
}
.review--dark .review__avatar { background: var(--brand); color: var(--brand-ink); }

/* ==========================================================================
   BLOG (latest articles)
   ========================================================================== */
.blog { padding: 8vw 0; background: var(--white); }
.blog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; margin-bottom: 4vw; }
.blog__head .label { margin-bottom: 1.4vw; }
.blog__title { font-size: 6vw; font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.blog__intro { max-width: 30vw; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4vw; font-size: 1.2vw; line-height: 1.5; color: var(--muted); }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5vw; }
.post {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3vw;
  min-height: 30vw; padding: 2.2vw;
  border-radius: 1.6vw;
  background: var(--paper); color: var(--ink);
  transition: background-color .45s var(--ease-expo), color .45s var(--ease-expo), transform .6s var(--ease-expo);
}
/* Big outlined index number in the corner */
.post::after {
  content: attr(data-index);
  position: absolute; right: 1.6vw; top: 1.2vw;
  font-size: 7vw; font-weight: 600; line-height: 1; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(0, 0, 0, .14);
  pointer-events: none; transition: -webkit-text-stroke-color .45s;
}
.post:hover { background: var(--ink); color: var(--white); transform: translateY(-.6vw); }
.post:hover::after { -webkit-text-stroke-color: rgba(1, 255, 103, .55); }
.post__top { position: relative; z-index: 1; display: flex; align-items: center; gap: 1vw; font-size: .9vw; color: var(--muted); }
.post__cat { padding: .45vw .9vw; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 500; }
.post:hover .post__top time { color: var(--muted-dark); }
.post__body { position: relative; z-index: 1; }
.post__title { font-size: 1.9vw; font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.post__excerpt { margin-top: 1.2vw; font-size: 1.05vw; line-height: 1.55; color: var(--muted); transition: color .45s; }
.post:hover .post__excerpt { color: #b5b5b5; }
.post__bottom { display: flex; justify-content: space-between; align-items: center; font-size: .9vw; color: var(--muted); }
.post:hover .post__bottom { color: var(--muted-dark); }
.post__go {
  width: 3.2vw; height: 3.2vw; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--ink);
  transition: background-color .3s, border-color .3s, color .3s, transform .5s var(--ease-expo);
}
.post__go svg { width: 40%; height: 40%; }
.post:hover .post__go { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); transform: rotate(45deg); }

/* ==========================================================================
   CONTACT (dark)
   ========================================================================== */
.contact { padding: 9vw 0 7vw; background: var(--ink); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6vw; align-items: start; }
.contact__side { position: sticky; top: 8vw; display: flex; flex-direction: column; align-items: flex-start; gap: 2vw; }
.contact__title { font-size: 5.4vw; font-weight: 500; line-height: .98; letter-spacing: -.05em; }
.tpl-home .contact__title { font-size: 3.6vw; white-space: nowrap; }
.contact__hl { color: var(--brand); }
.contact__line { display: block; }
.contact__line--hl { color: var(--brand); }
.contact__lead { font-size: 1.2vw; line-height: 1.5; color: #a5a5a5; }
.contact__mail {
  padding-bottom: .2em; border-bottom: 2px solid var(--brand);
  font-size: 2.2vw; font-weight: 500; letter-spacing: -.02em;
  transition: color .3s;
}
.contact__mail:hover { color: var(--brand); }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1vw; margin-bottom: 2.2vw; }
.field {
  position: relative;
  display: flex; flex-direction: column; gap: .5vw;
  padding: 1vw 1.2vw;
  background: var(--ink-2); border: 1px solid #262626; border-radius: 1vw;
  transition: border-color .3s, background-color .3s;
}
.field:hover { border-color: #3a3a3a; }
.field:focus-within { border-color: var(--brand); background: #171717; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85vw; letter-spacing: .02em; color: #8f8f8f; }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 0;
  background: transparent; border: 0; border-radius: 0; outline: 0;
  color: var(--white); font-size: 1.2vw;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 6vw; line-height: 1.5; resize: vertical; }
.field select { padding-right: 2em; }
.field select option { background: var(--ink); color: var(--white); }
.field__chevron { position: absolute; right: 1.2vw; bottom: 1.1vw; width: 1.2vw; height: 1.2vw; color: #8f8f8f; pointer-events: none; }

.form__options { margin-bottom: 2vw; }
.form__options legend { margin-bottom: 1vw; font-size: 1vw; color: #cfcfcf; }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: .6vw; }
.chip-field { position: relative; display: flex; font-size: .95vw; line-height: 1; }
.chip-field input { position: absolute; inset: 0; z-index: -1; margin: 0; opacity: 0; }
.chip-field__label {
  display: block; padding: .85vw 1.5vw;
  border: 1px solid #333; border-radius: .7vw;
  color: #e6e6e6;
  transition: background-color .25s, border-color .25s, color .25s;
}
.chip-field:hover .chip-field__label { border-color: var(--brand); }
.chip-field input:checked ~ .chip-field__label { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip-field input:focus-visible ~ .chip-field__label { outline: 2px solid var(--white); outline-offset: 2px; }
.form__error {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 5;
  display: none; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 6px;
  background: var(--white); color: var(--ink); font-size: 14px; line-height: 1.2;
}
.form__error.is-visible { display: flex; }
.form__error svg { width: 22px; height: 22px; flex: none; }
.form__success {
  display: flex; align-items: center; gap: 1.5vw;
  padding: 2.4vw; border: 1px solid var(--brand); border-radius: 1.4vw;
  font-size: 1.6vw; line-height: 1.35;
}
.form__success[hidden] { display: none; }
.form__success svg { flex: none; width: 3vw; height: 5vw; fill: var(--brand); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding-top: 4vw; background: var(--ink); color: var(--white); overflow: hidden; }
.footer__top {
  display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 3vw; align-items: start;
  padding-bottom: 4vw; border-bottom: 1px solid var(--line-dark);
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: .7vw; font-size: 1.05vw; line-height: 1.5; color: #bdbdbd; }
.footer__head { margin-bottom: .4vw; font-size: .85vw; letter-spacing: .14em; text-transform: uppercase; color: #6f6f6f; }
.footer__link { color: #e6e6e6; transition: color .3s; }
.footer__link:hover { color: var(--brand); }
.back-top {
  width: 4vw; height: 4vw; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: var(--brand-ink);
  transition: transform .45s var(--ease-expo);
}
.back-top:hover { transform: translateY(-5px); }
.back-top svg { width: 40%; height: 40%; }
.footer__brand { display: flex; align-items: flex-end; justify-content: center; gap: 2vw; padding: 3vw 3vw 0; overflow: hidden; }
.footer__mark { flex: none; width: 12vw; height: 20vw; fill: var(--brand); }
.footer__word { font-size: 27vw; font-weight: 600; line-height: .74; letter-spacing: -.065em; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2vw; padding-bottom: 2vw;
  border-top: 1px solid var(--line-dark);
  font-size: .95vw; color: #8a8a8a;
}
.footer__legal { display: flex; gap: 2vw; }
.footer__legal a:hover { color: var(--brand); }

/* ==========================================================================
   INNER PAGES (About, Contact)
   ========================================================================== */
.nav__link[aria-current="page"] { background: rgba(255, 255, 255, .1); color: var(--brand); }

/* Dark page hero shared by inner pages */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 11vw 0 6vw; background: var(--ink); color: var(--white); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero__glow {
  position: absolute; right: -10vw; top: -12vw;
  width: 52vw; height: 52vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 255, 103, .24) 0%, rgba(1, 255, 103, 0) 62%);
  filter: blur(2vw);
  animation: glow-drift 9s ease-in-out infinite alternate;
}
@keyframes glow-drift { to { transform: translate(-6vw, 4vw) scale(1.1); } }
.page-hero__title { max-width: 82vw; font-size: 6.2vw; font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.page-hero__foot {
  display: grid; grid-template-columns: 1fr 34vw; gap: 6vw; align-items: end;
  margin-top: 5vw; padding-top: 2.4vw; border-top: 1px solid var(--line-dark);
}
.page-hero__tags { display: flex; flex-wrap: wrap; gap: .6vw; }
.page-hero__tags li { padding: .7vw 1.3vw; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: 1vw; line-height: 1; }
.page-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4vw; font-size: 1.15vw; line-height: 1.6; color: #bdbdbd; }
.page-hero--contact { padding-bottom: 4vw; }

/* About: auto-scrolling square visuals (shown whole, never cropped) */
.gallery { padding: 6vw 0; overflow: hidden; background: var(--white); }
.gallery__track { display: flex; gap: 1.5vw; padding-right: 1.5vw; width: max-content; animation: loop-x 50s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery__item { flex: none; width: 24vw; margin: 0; border-radius: 1.4vw; overflow: hidden; background: #111; }
.gallery__item img { width: 100%; height: auto; }

/* About: approach steps */
.approach { padding: 6vw 0 8vw; background: var(--white); }
.approach__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; margin-bottom: 4vw; }
.approach__title { max-width: 50vw; font-size: 5.4vw; font-weight: 500; line-height: .95; letter-spacing: -.05em; text-align: right; }
.approach__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5vw; margin: 0; padding: 0; list-style: none; }
.step {
  display: flex; flex-direction: column; gap: 1.6vw;
  padding: 2.4vw; border-radius: 1.6vw;
  background: var(--paper);
  transition: background-color .45s var(--ease-expo), color .45s var(--ease-expo);
}
.step:hover { background: var(--ink); color: var(--white); }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__num { font-size: 4.4vw; font-weight: 600; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--ink); transition: -webkit-text-stroke-color .45s; }
.step:hover .step__num { -webkit-text-stroke-color: var(--brand); }
.step__arrow { width: 2vw; height: 2vw; color: var(--brand-strong); }
.step__title { font-size: 2vw; font-weight: 500; letter-spacing: -.03em; }
.step__list { display: flex; flex-wrap: wrap; gap: .5vw; }
.step__list li { padding: .5vw .95vw; border: 1px solid var(--line); border-radius: 999px; font-size: .9vw; line-height: 1; transition: border-color .45s; }
.step:hover .step__list li { border-color: rgba(255, 255, 255, .22); }

/* About: who we are */
.who { padding: 8vw 0 4vw; background: var(--white); }
.who__head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4vw; margin-bottom: 4vw; }
.who__title { max-width: 62vw; font-size: 5.4vw; font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.who .stats { margin-top: 0; }
.who__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5vw; margin-top: 1.5vw; }
.who__media { border-radius: 2vw; overflow: hidden; background: #000; }
.who__media img { width: 100%; height: auto; }
.who__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 3vw;
  padding: 3vw; border-radius: 2vw;
  background: var(--brand); color: var(--brand-ink);
}
.who__card h3 { font-size: 3.6vw; font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.who__card-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6vw; }
.who__card-foot p { max-width: 34vw; font-size: 1.3vw; line-height: 1.5; }

/* About: awards */
.awards { padding: 9vw 0; background: var(--ink); color: var(--white); }
.awards__grid { display: grid; grid-template-columns: 30vw 1fr; gap: 6vw; align-items: start; }
.awards__side { position: sticky; top: 8vw; display: flex; flex-direction: column; align-items: flex-start; gap: 1.6vw; }
.awards__title { font-size: 3.6vw; font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.award-group + .award-group { margin-top: 3vw; }
.award-group__title { padding-bottom: 1vw; border-bottom: 1px solid var(--line-dark); font-size: .95vw; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.award {
  display: flex; justify-content: space-between; align-items: center; gap: 2vw;
  padding: 1.5vw 0; border-bottom: 1px solid var(--line-dark);
  font-size: 2vw; letter-spacing: -.02em;
  transition: color .3s, padding-left .5s var(--ease-expo);
}
.award:hover { padding-left: 1vw; color: var(--brand); }
.award__year { font-size: 1vw; color: var(--muted-dark); font-variant-numeric: tabular-nums; }

/* About: closing call to action */
.cta-band { padding: 7vw 0; background: var(--brand); color: var(--brand-ink); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; }
.cta-band__title { font-size: 7vw; font-weight: 600; line-height: .9; letter-spacing: -.06em; }

/* Contact page */
.contact--page { padding-top: 2vw; }
.contact__title--sm { font-size: 3.6vw; line-height: 1.02; }
.contact__meta { display: flex; flex-direction: column; gap: .5vw; font-size: 1.1vw; color: #bdbdbd; }
.contact__meta-head { font-size: .85vw; letter-spacing: .14em; text-transform: uppercase; color: #6f6f6f; }
.contact__social { display: flex; flex-wrap: wrap; gap: .5vw; margin-top: .4vw; }
.contact__social-link {
  padding: .65vw 1.2vw; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font-size: .95vw; line-height: 1; color: var(--white);
  transition: background-color .3s, color .3s, border-color .3s;
}
.contact__social-link:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

/* ==========================================================================
   PORTFOLIO (work.html, work-branding.html, work-web.html, work-video.html)
   ========================================================================== */
.page-hero--work .page-hero__foot { grid-template-columns: 1fr 30vw; }

/* Category tabs inside the hero */
.work-nav { display: flex; flex-wrap: wrap; gap: .6vw; }
.work-nav__link {
  display: inline-flex; align-items: center; gap: .55vw;
  padding: .8vw 1.4vw; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  font-size: 1.05vw; line-height: 1; color: var(--white);
  transition: background-color .3s, color .3s, border-color .3s;
}
.work-nav__link:hover { border-color: var(--white); }
.work-nav__link[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.work-nav__count { font-size: .78em; opacity: .55; font-variant-numeric: tabular-nums; }

/* Section shell */
.wsec { padding: 6vw 0 7vw; background: var(--white); }
.wsec--grid { padding-top: 4vw; }
.wsec--paper { background: var(--paper); }
.wsec--dark { background: var(--ink); color: var(--white); }
.wsec--dark .label { color: var(--muted-dark); }
.wsec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; margin-bottom: 3vw; }
.wsec__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2vw; }
.wsec__title { font-size: 5vw; font-weight: 500; line-height: .95; letter-spacing: -.05em; }

/* Filter pills */
.filter { display: flex; flex-wrap: wrap; gap: .5vw; margin-bottom: 3vw; }
.filter__btn {
  display: inline-flex; align-items: center; gap: .5vw;
  padding: .8vw 1.3vw; border: 1px solid var(--line); border-radius: 999px;
  font-size: 1vw; line-height: 1;
  transition: background-color .3s, color .3s, border-color .3s;
}
.filter__btn span { font-size: .8em; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .3s; }
.filter__btn:hover { border-color: var(--ink); }
.filter__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter__btn[aria-pressed="true"] span { color: var(--brand); }
.filter__empty { padding: 4vw 0; font-size: 1.3vw; color: var(--muted); }

/* Category index on the hub */
.windex { padding: 4vw 0 2vw; background: var(--white); }
.windex__row {
  display: grid; grid-template-columns: 5vw 1fr auto 10vw 4.4vw; align-items: center; gap: 2vw;
  padding: 2.2vw 1.5vw; border-bottom: 1px solid var(--line);
  transition: background-color .45s var(--ease-expo), border-radius .45s var(--ease-expo);
}
.windex__row:first-child { border-top: 1px solid var(--line); }
.windex__row:hover { background: var(--brand); border-radius: 1.4vw; }
.windex__num { font-size: 1vw; color: var(--muted); font-variant-numeric: tabular-nums; }
.windex__name { font-size: 5.6vw; font-weight: 500; line-height: 1; letter-spacing: -.055em; transition: transform .6s var(--ease-expo); }
.windex__row:hover .windex__name { transform: translateX(1vw); }
.windex__thumbs { display: flex; align-items: center; }
/* Thumbnails keep their own ratio (fixed height, natural width) and fan out on hover */
.windex__thumbs img {
  height: 5.6vw; width: auto; margin-left: -3.6vw; border-radius: .6vw;
  box-shadow: 0 0 0 .25vw var(--white);
  transition: margin .6s var(--ease-expo), transform .6s var(--ease-expo), box-shadow .45s;
}
.windex__thumbs img:first-child { margin-left: 0; transform: rotate(-4deg); }
.windex__thumbs img:last-child { transform: rotate(4deg); }
.windex__row:hover .windex__thumbs img { margin-left: .6vw; transform: none; box-shadow: 0 0 0 .25vw var(--brand); }
.windex__row:hover .windex__thumbs img:first-child { margin-left: 0; }
.windex__meta { font-size: 1.1vw; color: var(--muted); transition: color .3s; }
.windex__row:hover .windex__meta { color: var(--brand-ink); }
.windex__go {
  display: flex; align-items: center; justify-content: center;
  width: 4.4vw; height: 4.4vw; border: 1px solid var(--line); border-radius: 50%;
  transition: background-color .3s, color .3s, transform .6s var(--ease-expo), border-color .3s;
}
.windex__go svg { width: 40%; height: 40%; }
.windex__row:hover .windex__go { background: var(--ink); border-color: var(--ink); color: var(--brand); transform: rotate(45deg); }

/* Behance cards: covers share Behance's 808 x 632 cover ratio, so nothing is cropped */
.bh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw 1.5vw; }
.bh-card { display: flex; flex-direction: column; gap: 1vw; }
.bh-card[hidden] { display: none; }
.bh-card__media {
  position: relative; display: block; aspect-ratio: 808 / 632;
  border-radius: 1.2vw; overflow: hidden; background: #ececec;
  transition: border-radius .6s var(--ease-expo);
}
.bh-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bh-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color .45s; }
.bh-card:hover .bh-card__media { border-radius: 2.6vw; }
.bh-card:hover .bh-card__media::after { background: rgba(0, 0, 0, .14); }
.bh-card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 1vw; }
.bh-card__title { font-size: 1.6vw; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; transition: color .3s; }
.bh-card:hover .bh-card__title { color: var(--brand-strong); }
.bh-card__year { flex: none; font-size: .95vw; color: var(--muted); font-variant-numeric: tabular-nums; }
.bh-card__fields { margin-top: -.5vw; font-size: .95vw; color: var(--muted); }

/* Browser and phone mockups for websites */
.browser { position: relative; border-radius: 1vw; overflow: hidden; background: #1c1c1c; box-shadow: 0 2.5vw 5vw -2.5vw rgba(0, 0, 0, .45); }
.browser__bar { display: flex; align-items: center; gap: .4vw; padding: .75vw 1vw; background: #1c1c1c; }
.browser__bar > span:not(.browser__url) { flex: none; width: .65vw; height: .65vw; border-radius: 50%; background: #ff5f57; }
.browser__bar > span:nth-child(2) { background: #febc2e; }
.browser__bar > span:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 0 1 22vw; margin: 0 auto; padding: .4vw 1vw; border-radius: 999px;
  background: #2b2b2b; color: #a3a3a3; font-size: .8vw; line-height: 1; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; height: auto; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 21%;
  padding: .45vw; border-radius: 2vw; background: #0a0a0a;
  box-shadow: 0 2vw 4vw -1.5vw rgba(0, 0, 0, .55);
  transition: transform .7s var(--ease-expo);
}
.phone img { width: 100%; height: auto; border-radius: 1.6vw; }

/* Web page: one row per site, mockups alternate sides */
.wsec--sites { padding-top: 6vw; }
.sites { display: flex; flex-direction: column; gap: 8vw; }
.site { display: grid; grid-template-columns: 1.6fr 1fr; gap: 5vw; align-items: center; }
.site:nth-child(even) { grid-template-columns: 1fr 1.6fr; }
.site:nth-child(even) .site__link { order: 2; }
.site__link { display: block; }
.site__media { position: relative; padding: 0 3.5vw 3vw 0; }
.site:nth-child(even) .site__media { padding: 0 0 3vw 3.5vw; }
.site:nth-child(even) .phone { right: auto; left: 0; }
.site .browser { transition: transform .7s var(--ease-expo); }
.site__link:hover .browser { transform: translateY(-.8vw); }
.site__link:hover .phone { transform: translateY(-1.6vw); }
.site__info { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2vw; }
.site__num { font-size: .95vw; color: var(--muted); font-variant-numeric: tabular-nums; }
.site__type { font-size: .9vw; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-strong); }
.site__title { font-size: 4.6vw; font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.site__summary { font-size: 1.2vw; line-height: 1.6; color: var(--muted); }
.site__stack { display: flex; flex-wrap: wrap; gap: .5vw; margin-bottom: .6vw; }
.site__stack li { padding: .5vw .95vw; border: 1px solid var(--line); border-radius: 999px; font-size: .9vw; line-height: 1; }

/* Hub: compact website cards */
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5vw; }
.site-card { display: flex; flex-direction: column; gap: 1.2vw; }
.site-card .site__media { padding: 0; }
.site-card .browser { transition: transform .6s var(--ease-expo); }
.site-card:hover .browser { transform: translateY(-.6vw); }
.site-card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 1vw; }
.site-card__title { font-size: 1.6vw; font-weight: 500; letter-spacing: -.03em; transition: color .3s; }
.site-card:hover .site-card__title { color: var(--brand-strong); }
.site-card__type { font-size: .95vw; color: var(--muted); text-align: right; }

/* Video sections, one per YouTube playlist */
.wsec--video { padding: 4vw 0 2vw; }
.vsec { padding: 3vw 0 5vw; scroll-margin-top: 5vw; }
.vsec[hidden] { display: none; }
.vsec__head { display: grid; grid-template-columns: 1fr 30vw auto; align-items: end; gap: 3vw; margin-bottom: 2.4vw; padding-top: 2.4vw; border-top: 1px solid var(--line); }
.vsec__title { font-size: 4vw; font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.vsec__title span { font-size: .32em; vertical-align: super; letter-spacing: 0; color: var(--brand-strong); }
.vsec__intro { font-size: 1.1vw; line-height: 1.6; color: var(--muted); }
.vsec__link { display: inline-flex; align-items: center; gap: .5vw; padding-bottom: .25vw; border-bottom: 1px solid currentColor; font-size: 1vw; white-space: nowrap; transition: color .3s; }
.vsec__link:hover { color: var(--brand-strong); }
.vsec__link svg { width: 1vw; height: 1vw; }

.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6vw 1.5vw; }
.vgrid--short { grid-template-columns: repeat(5, 1fr); }
.vgrid--hub { margin-top: 2.6vw; }
.vcard { display: flex; flex-direction: column; gap: .9vw; }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 1vw; overflow: hidden; background: #111; transition: border-radius .6s var(--ease-expo); }
.vcard--short .vcard__media { aspect-ratio: 9 / 16; }
.vcard:hover .vcard__media { border-radius: 2vw; }
.vcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Shorts come in 9:16, 4:5 and landscape: show the whole frame over a blurred copy of itself */
.vcard--short .vcard__img { object-fit: contain; }
.vcard__blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.55); transform: scale(1.2); }
.vcard__play {
  position: absolute; left: 50%; top: 50%;
  width: 4.2vw; height: 4.2vw; margin: -2.1vw 0 0 -2.1vw;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(0, 0, 0, .45); color: var(--white);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .3s, color .3s, transform .6s var(--ease-expo);
}
.vcard__play svg { width: 42%; height: 42%; margin-left: 8%; }
.vcard:hover .vcard__play { background: var(--brand); color: var(--brand-ink); transform: scale(1.15); }
.vcard__time { position: absolute; right: .7vw; bottom: .7vw; padding: .35vw .55vw; border-radius: .4vw; background: rgba(0, 0, 0, .72); color: var(--white); font-size: .8vw; line-height: 1; font-variant-numeric: tabular-nums; }
.vcard__info { display: flex; flex-direction: column; gap: .35vw; }
.vcard__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-size: 1.25vw; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; transition: color .3s;
}
.vcard--short .vcard__title { font-size: 1vw; -webkit-line-clamp: 3; }
.vcard:hover .vcard__title { color: var(--brand-strong); }
.wsec--dark .vcard:hover .vcard__title { color: var(--brand); }
.vcard__sub { font-size: .9vw; color: var(--muted); }
.wsec--dark .vcard__sub { color: var(--muted-dark); }

.vchips { display: flex; flex-wrap: wrap; gap: .5vw; margin: -1vw 0 2.6vw; }
.vchip {
  display: inline-flex; align-items: center; gap: .45vw;
  padding: .75vw 1.25vw; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font-size: .95vw; line-height: 1;
  transition: background-color .3s, color .3s, border-color .3s;
}
.vchip span { font-size: .85em; color: var(--brand); }
.vchip:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.vchip:hover span { color: inherit; }

/* Video player overlay (below the custom cursor, above the nav) */
.vmodal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 5vw 4vw; }
.vmodal[hidden] { display: none; }
.vmodal__backdrop { position: absolute; inset: 0; background: rgba(5, 5, 5, .94); }
.vmodal__box { position: relative; display: flex; flex-direction: column; gap: 1vw; width: min(100%, calc((100vh - 10vw - 3.5rem) * var(--vr, 1.7778))); }
.vmodal__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 1vw; overflow: hidden; background: #000; }
.vmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__bar { display: flex; justify-content: space-between; align-items: center; gap: 2vw; color: var(--white); }
.vmodal__title { font-size: 1.15vw; line-height: 1.3; }
.vmodal__yt { display: inline-flex; align-items: center; gap: .5vw; font-size: .95vw; color: var(--brand); white-space: nowrap; }
.vmodal__yt svg { width: 1vw; height: 1vw; }
.vmodal__close {
  position: absolute; top: 1.5vw; right: 1.5vw;
  display: flex; align-items: center; justify-content: center;
  width: 3.6vw; height: 3.6vw; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink);
  transform: rotate(45deg); transition: transform .6s var(--ease-expo);
}
.vmodal__close svg { width: 45%; height: 45%; }
.vmodal__close:hover { transform: rotate(135deg); }
html.has-modal, html.has-modal body { overflow: hidden; }

@media screen and (max-width: 991px) {
  .page-hero--work .page-hero__foot { grid-template-columns: 1fr; }
  .work-nav { gap: 8px; }
  .work-nav__link { gap: 6px; padding: 10px 16px; font-size: 14px; }
  .wsec { padding: 64px 0 80px; }
  .wsec--grid, .wsec--sites, .wsec--video { padding-top: 40px; }
  .wsec__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .wsec__heading { gap: 14px; }
  .wsec__title { font-size: 10vw; }
  .filter { gap: 8px; margin-bottom: 28px; }
  .filter__btn { gap: 6px; padding: 10px 16px; font-size: 14px; }
  .filter__empty { padding: 40px 0; font-size: 17px; }
  .windex { padding: 40px 0 16px; }
  .windex__row { grid-template-columns: 36px 1fr auto 48px; gap: 14px; padding: 22px 12px; }
  .windex__row:hover { border-radius: 16px; }
  .windex__num { font-size: 13px; }
  .windex__name { font-size: 8vw; }
  .windex__thumbs { display: none; }
  .windex__meta { font-size: 14px; }
  .windex__go { width: 48px; height: 48px; }
  .bh-grid { grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .bh-card { gap: 10px; }
  .bh-card__media, .bh-card:hover .bh-card__media { border-radius: 14px; }
  .bh-card__title { font-size: 19px; }
  .bh-card__year, .bh-card__fields { font-size: 13px; }
  .bh-card__fields { margin-top: -4px; }
  .browser { border-radius: 10px; }
  .browser__bar { gap: 5px; padding: 8px 10px; }
  .browser__bar > span:not(.browser__url) { width: 8px; height: 8px; }
  .browser__url { flex-basis: 200px; padding: 5px 10px; font-size: 11px; }
  .phone { padding: 4px; border-radius: 18px; }
  .phone img { border-radius: 14px; }
  .sites { gap: 72px; }
  .site, .site:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .site:nth-child(even) .site__link { order: 0; }
  .site__media, .site:nth-child(even) .site__media { padding: 0 32px 28px 0; }
  .site:nth-child(even) .phone { left: auto; right: 0; }
  .site__info { gap: 14px; }
  .site__num, .site__type { font-size: 12px; }
  .site__title { font-size: 9vw; }
  .site__summary { max-width: 620px; font-size: 16px; }
  .site__stack { gap: 6px; margin-bottom: 6px; }
  .site__stack li { padding: 7px 12px; font-size: 13px; }
  .site-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .site-card { gap: 12px; }
  .site-card__title { font-size: 19px; }
  .site-card__type { font-size: 13px; }
  .vsec { padding: 24px 0 48px; scroll-margin-top: 64px; }
  .vsec__head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; padding-top: 24px; }
  .vsec__title { font-size: 9vw; }
  .vsec__intro { max-width: 560px; font-size: 16px; }
  .vsec__link { justify-self: start; gap: 6px; font-size: 14px; }
  .vsec__link svg { width: 14px; height: 14px; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .vgrid--short { grid-template-columns: repeat(3, 1fr); }
  .vgrid--hub { margin-top: 28px; }
  .vcard { gap: 10px; }
  .vcard__media, .vcard:hover .vcard__media { border-radius: 12px; }
  .vcard__play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .vcard__time { right: 8px; bottom: 8px; padding: 4px 6px; border-radius: 5px; font-size: 11px; }
  .vcard__title { font-size: 16px; }
  .vcard--short .vcard__title { font-size: 14px; }
  .vcard__sub { font-size: 13px; }
  .vchips { gap: 8px; margin: -12px 0 28px; }
  .vchip { gap: 6px; padding: 10px 14px; font-size: 13px; }
  .vmodal { padding: 72px 16px 24px; }
  .vmodal__box { gap: 12px; width: min(100%, calc((100vh - 96px - 3.5rem) * var(--vr, 1.7778))); }
  .vmodal__frame { border-radius: 10px; }
  .vmodal__bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .vmodal__title { font-size: 15px; }
  .vmodal__yt { gap: 6px; font-size: 14px; }
  .vmodal__yt svg { width: 14px; height: 14px; }
  .vmodal__close { top: 14px; right: 14px; width: 46px; height: 46px; }
}

@media screen and (max-width: 767px) {
  .windex__row { grid-template-columns: 1fr 44px; grid-template-areas: "num go" "name go" "meta go"; gap: 4px 14px; }
  .windex__num { grid-area: num; }
  .windex__name { grid-area: name; font-size: 11vw; }
  .windex__meta { grid-area: meta; }
  .windex__go { grid-area: go; width: 44px; height: 44px; }
  .bh-grid, .site-grid { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: 1fr; }
  .vgrid--short { grid-template-columns: 1fr 1fr; }
  .site__media, .site:nth-child(even) .site__media { padding: 0 20px 24px 0; }
  .phone { width: 24%; border-radius: 12px; padding: 3px; }
  .phone img { border-radius: 9px; }
}

/* ==========================================================================
   SERVICE PAGES (website-development-services.html, seo-services.html, ...)
   ========================================================================== */
.mega__link[aria-current="page"] { color: var(--brand); }
.text-link { color: inherit; text-decoration: underline; text-decoration-color: var(--brand-strong); text-decoration-thickness: 2px; text-underline-offset: .2em; transition: color .3s; }
.text-link:hover { color: var(--brand-strong); }
.wsec--dark .text-link:hover { color: var(--brand); }

/* Hero */
.page-hero--svc { padding-bottom: 9vw; }
.page-hero--svc .page-hero__title { max-width: 80vw; font-size: 5.4vw; line-height: 1.02; }
.crumbs { margin-bottom: 2.2vw; font-size: .9vw; color: var(--muted-dark); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5vw; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: .5vw; }
.crumbs li + li::before { content: "/"; color: #4a4a4a; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current="page"] { color: var(--white); }
.svc-hero__ctas { display: flex; flex-wrap: wrap; gap: .8vw; }

/* Visual band that overlaps the hero: one Canva image or a row of portfolio images at their own ratios */
.svc-visual { position: relative; margin-top: -6vw; background: linear-gradient(transparent 6vw, var(--white) 6vw); }
.svc-visual__frame { margin: 0; border-radius: 1.6vw; overflow: hidden; background: #050505; box-shadow: 0 3vw 6vw -3vw rgba(0, 0, 0, .5); }
.svc-visual__frame img { width: 100%; height: auto; }
.svc-mosaic { display: flex; gap: 1vw; }
.svc-mosaic__item { flex: var(--r) 1 0; min-width: 0; margin: 0; aspect-ratio: var(--r); border-radius: 1.2vw; overflow: hidden; background: #111; box-shadow: 0 2.5vw 5vw -2.5vw rgba(0, 0, 0, .45); }
.svc-mosaic__item img { width: 100%; height: 100%; object-fit: contain; }
.svc-mosaic__item--cover img { object-fit: cover; }

/* Section heads */
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; margin-bottom: 3vw; }
.svc-head__main { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2vw; max-width: 58vw; }
.svc-head__title { font-size: 4.2vw; font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.svc-head__intro { max-width: 28vw; font-size: 1.15vw; line-height: 1.6; color: var(--muted); }
.wsec--dark .svc-head__intro { color: var(--muted-dark); }

/* Overview */
.svc-intro { padding: 6vw 0; background: var(--white); }
.svc-intro__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 5vw; align-items: start; }
.svc-intro__main { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5vw; }
.svc-intro__title { font-size: 3.6vw; font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.svc-intro__text { font-size: 1.2vw; line-height: 1.7; color: #3d3d3d; }
.svc-intro__card { position: sticky; top: 7vw; padding: 2.6vw; border-radius: 1.6vw; background: var(--ink); color: var(--white); }
.svc-intro__card-title { margin-bottom: 1.6vw; font-size: 1.6vw; font-weight: 500; letter-spacing: -.02em; }
.svc-checklist { display: flex; flex-direction: column; gap: 1vw; margin: 0; padding: 0; list-style: none; }
.svc-checklist li { display: flex; align-items: flex-start; gap: .8vw; font-size: 1.05vw; line-height: 1.45; }
.svc-checklist svg { flex: none; width: 1.4vw; height: 1.4vw; padding: .2vw; border-radius: 50%; background: var(--brand); color: var(--brand-ink); }
.svc-checklist--sm { gap: .7vw; }
.svc-checklist--sm li { font-size: .95vw; }
.svc-checklist--sm svg { width: 1.2vw; height: 1.2vw; }

/* Service cards */
.svc-cards { display: grid; gap: 1.2vw; }
.svc-cards--4 { grid-template-columns: repeat(4, 1fr); }
.svc-cards--3 { grid-template-columns: repeat(3, 1fr); }
.svc-card {
  display: flex; flex-direction: column; gap: 1vw;
  padding: 2vw; border-radius: 1.4vw; background: var(--white); border: 1px solid var(--line);
  transition: background-color .45s var(--ease-expo), color .45s var(--ease-expo), border-color .45s;
}
.wsec:not(.wsec--paper) .svc-card { background: var(--paper); border-color: transparent; }
.svc-card:hover, .wsec:not(.wsec--paper) .svc-card:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.svc-card__num { font-size: .9vw; color: var(--brand-strong); font-variant-numeric: tabular-nums; }
.svc-card:hover .svc-card__num { color: var(--brand); }
.svc-card__title { font-size: 1.55vw; font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.svc-card__text { font-size: 1vw; line-height: 1.6; color: var(--muted); transition: color .45s; }
.svc-card:hover .svc-card__text { color: #bdbdbd; }

/* Audience / package segments */
.svc-segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2vw; }
.svc-seg { display: flex; flex-direction: column; gap: 1.2vw; padding: 2.4vw; border-radius: 1.6vw; border: 1px solid var(--line); background: var(--white); }
.wsec:not(.wsec--paper) .svc-seg { background: var(--paper); border-color: transparent; }
.svc-seg__title { font-size: 2.2vw; font-weight: 500; letter-spacing: -.04em; }
.svc-seg__text { font-size: 1.05vw; line-height: 1.6; color: var(--muted); }
.svc-seg .svc-checklist { margin-top: auto; padding-top: 1.2vw; border-top: 1px solid var(--line); }

/* Comparison table */
.svc-table-wrap { overflow-x: auto; border-radius: 1.4vw; border: 1px solid var(--line); background: var(--white); }
.svc-table { width: 100%; border-collapse: collapse; font-size: 1.05vw; line-height: 1.55; }
.svc-table th, .svc-table td { padding: 1.4vw 1.8vw; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.svc-table tr:last-child th, .svc-table tr:last-child td { border-bottom: 0; }
.svc-table thead th { font-size: 1.5vw; font-weight: 500; letter-spacing: -.02em; background: var(--ink); color: var(--white); }
.svc-table tbody th { width: 18%; font-weight: 500; }
.svc-table td { color: #3d3d3d; }
.svc-table__note { margin-top: 1.4vw; font-size: 1vw; color: var(--muted); }

/* QA checklist groups */
.svc-checks__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2vw; }
.svc-checks__group { display: flex; flex-direction: column; gap: 1.2vw; padding: 1.8vw; border-radius: 1.4vw; background: var(--white); border: 1px solid var(--line); }
.svc-checks__title { font-size: 1.4vw; font-weight: 500; letter-spacing: -.02em; }

/* Split callout */
.svc-split__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 5vw; align-items: center; }
.svc-split__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5vw; }
.svc-split__title { font-size: 3.6vw; font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.svc-split__card { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4vw; padding: 2.8vw; border-radius: 1.6vw; background: var(--brand); color: var(--brand-ink); }
.svc-split__card h3 { font-size: 2.2vw; font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.svc-split__card p { font-size: 1.1vw; line-height: 1.6; }

/* Process steps (reuses .step from the About page) */
.svc-steps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 1.2vw; margin: 0; padding: 0; list-style: none; }
.svc-steps--3 { --n: 3; }
.svc-steps--5 { --n: 5; }
.wsec--paper .step { background: var(--white); }
.wsec--paper .step:hover { background: var(--ink); }
.step__text { font-size: 1vw; line-height: 1.6; color: var(--muted); transition: color .45s; }
.step:hover .step__text { color: #bdbdbd; }
.svc-steps .step__title { font-size: 1.6vw; }
.svc-steps .step__list { margin-top: auto; }

/* Portfolio proof */
.site-grid--2, .site-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 2.6vw 1.5vw; }

/* Why us */
.svc-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2vw; }
.svc-why__item { display: flex; flex-direction: column; gap: 1vw; padding-top: 1.6vw; border-top: 1px solid var(--line-dark); }
.svc-why__num { font-size: .9vw; color: var(--brand); font-variant-numeric: tabular-nums; }
.svc-why__title { font-size: 1.6vw; font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.svc-why__text { font-size: 1vw; line-height: 1.6; color: var(--muted-dark); }
.svc-stack { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4vw; margin-top: 4vw; padding-top: 2vw; border-top: 1px solid var(--line-dark); }
.svc-stack__label { font-size: .85vw; letter-spacing: .14em; text-transform: uppercase; color: #6f6f6f; }
.svc-stack__list { display: flex; flex-wrap: wrap; gap: .5vw; margin: 0; padding: 0; list-style: none; }
.svc-stack__list li { padding: .6vw 1.1vw; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: .95vw; line-height: 1; }

/* FAQ accordion (native details/summary; height animates where ::details-content is supported) */
:root { interpolate-size: allow-keywords; }
.svc-faq__grid { display: grid; grid-template-columns: 30vw 1fr; gap: 6vw; align-items: start; }
.svc-faq__side { position: sticky; top: 7vw; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4vw; }
.svc-faq__title { font-size: 3.4vw; font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.svc-faq__more { font-size: 1.05vw; line-height: 1.6; color: var(--muted); }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 2vw; padding: 1.6vw 0; list-style: none; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-size: 1.45vw; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; transition: color .3s; }
.faq__q:hover h3 { color: var(--brand-strong); }
.faq__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 2.6vw; height: 2.6vw; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease-expo), background-color .3s, border-color .3s; }
.faq__icon svg { width: 45%; height: 45%; }
.faq[open] .faq__icon { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.faq__a { padding: 0 6vw 1.8vw 0; }
.faq__a p { font-size: 1.1vw; line-height: 1.7; color: #3d3d3d; }
.faq::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-expo), content-visibility .5s allow-discrete; }
.faq[open]::details-content { block-size: auto; }

/* Related services and blog links */
.svc-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2vw; }
.svc-rel {
  position: relative; display: flex; flex-direction: column; gap: .6vw; min-height: 11vw;
  padding: 1.8vw; border-radius: 1.4vw; background: var(--white); border: 1px solid var(--line);
  transition: background-color .45s var(--ease-expo), border-color .45s;
}
.wsec:not(.wsec--paper) .svc-rel { background: var(--paper); border-color: transparent; }
.svc-rel:hover, .wsec:not(.wsec--paper) .svc-rel:hover { background: var(--brand); border-color: var(--brand); }
.svc-rel__group { font-size: .85vw; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-rel:hover .svc-rel__group { color: rgba(0, 0, 0, .6); }
.svc-rel__title { font-size: 1.8vw; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.svc-rel__go { position: absolute; right: 1.6vw; bottom: 1.6vw; display: flex; align-items: center; justify-content: center; width: 2.8vw; height: 2.8vw; border-radius: 50%; background: var(--ink); color: var(--brand); transition: transform .5s var(--ease-expo); }
.svc-rel__go svg { width: 40%; height: 40%; }
.svc-rel:hover .svc-rel__go { transform: rotate(45deg); }
.svc-res { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1vw 2vw; margin-top: 3vw; padding-top: 2vw; border-top: 1px solid var(--line); }
.svc-res__label { font-size: .85vw; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-res ul { display: flex; flex-direction: column; gap: .8vw; margin: 0; padding: 0; list-style: none; }
.svc-res__link { display: inline-flex; align-items: center; gap: .6vw; font-size: 1.3vw; letter-spacing: -.02em; transition: color .3s; }
.svc-res__link svg { width: 1vw; height: 1vw; color: var(--brand-strong); }
.svc-res__link:hover { color: var(--brand-strong); }

@media screen and (max-width: 991px) {
  .page-hero.page-hero--svc { padding-bottom: 104px; }
  .page-hero--svc .page-hero__title { max-width: none; font-size: 8.4vw; }
  .crumbs { margin-bottom: 20px; font-size: 13px; }
  .crumbs ol, .crumbs li { gap: 6px; }
  .svc-hero__ctas { gap: 10px; }
  .svc-visual { margin-top: -56px; background: linear-gradient(transparent 56px, var(--white) 56px); }
  .svc-visual__frame { border-radius: 16px; }
  .svc-mosaic { gap: 8px; }
  .svc-mosaic__item { border-radius: 12px; }
  .svc-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  .svc-head__main { gap: 14px; max-width: none; }
  .svc-head__title { font-size: 9vw; }
  .svc-head__intro { max-width: 620px; font-size: 16px; }
  .svc-intro { padding: 64px 0; }
  .svc-intro__grid, .svc-split__grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-intro__main, .svc-split__grid > div { gap: 16px; }
  .svc-intro__title, .svc-split__title { font-size: 8.4vw; }
  .svc-intro__text { font-size: 17px; }
  .svc-intro__card { position: relative; top: auto; padding: 28px; border-radius: 20px; }
  .svc-intro__card-title { margin-bottom: 18px; font-size: 21px; }
  .svc-checklist { gap: 12px; }
  .svc-checklist li { gap: 10px; font-size: 16px; }
  .svc-checklist svg { width: 20px; height: 20px; padding: 3px; }
  .svc-checklist--sm { gap: 10px; }
  .svc-checklist--sm li { font-size: 15px; }
  .svc-checklist--sm svg { width: 18px; height: 18px; }
  .svc-cards--4, .svc-cards--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-card { gap: 12px; padding: 24px; border-radius: 18px; }
  .svc-card__num { font-size: 13px; }
  .svc-card__title { font-size: 20px; }
  .svc-card__text { font-size: 15px; }
  .svc-segs { grid-template-columns: 1fr; gap: 12px; }
  .svc-seg { gap: 14px; padding: 26px; border-radius: 20px; }
  .svc-seg__title { font-size: 26px; }
  .svc-seg__text { font-size: 16px; }
  .svc-seg .svc-checklist { padding-top: 14px; }
  .svc-table-wrap { border-radius: 16px; }
  .svc-table { min-width: 640px; font-size: 15px; }
  .svc-table th, .svc-table td { padding: 16px 18px; }
  .svc-table thead th { font-size: 18px; }
  .svc-table__note { margin-top: 14px; font-size: 14px; }
  .svc-checks__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-checks__group { gap: 14px; padding: 22px; border-radius: 18px; }
  .svc-checks__title { font-size: 19px; }
  .svc-split__card { gap: 16px; padding: 28px; border-radius: 20px; }
  .svc-split__card h3 { font-size: 26px; }
  .svc-split__card p { font-size: 16px; }
  .svc-steps, .svc-steps--3, .svc-steps--5 { --n: 2; gap: 12px; }
  .step__text { font-size: 15px; }
  .svc-steps .step__title { font-size: 21px; }
  .site-grid--2, .site-grid--4 { gap: 28px 14px; }
  .svc-why__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .svc-why__item { gap: 10px; padding-top: 18px; }
  .svc-why__num { font-size: 13px; }
  .svc-why__title { font-size: 20px; }
  .svc-why__text { font-size: 15px; }
  .svc-stack { gap: 14px; margin-top: 40px; padding-top: 24px; }
  .svc-stack__label { font-size: 12px; }
  .svc-stack__list { gap: 8px; }
  .svc-stack__list li { padding: 8px 14px; font-size: 14px; }
  .svc-faq__grid { grid-template-columns: 1fr; gap: 28px; }
  .svc-faq__side { position: relative; top: auto; gap: 14px; }
  .svc-faq__title { font-size: 8.4vw; }
  .svc-faq__more { font-size: 16px; }
  .faq__q { gap: 16px; padding: 20px 0; }
  .faq__q h3 { font-size: 18px; }
  .faq__icon { width: 36px; height: 36px; }
  .faq__a { padding: 0 0 22px; }
  .faq__a p { font-size: 16px; }
  .svc-related__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-rel { gap: 8px; min-height: 140px; padding: 22px; border-radius: 18px; }
  .svc-rel__group { font-size: 11px; }
  .svc-rel__title { font-size: 21px; }
  .svc-rel__go { right: 16px; bottom: 16px; width: 38px; height: 38px; }
  .svc-res { gap: 12px 20px; margin-top: 36px; padding-top: 24px; }
  .svc-res__label { font-size: 12px; }
  .svc-res ul { gap: 10px; }
  .svc-res__link { gap: 8px; font-size: 17px; }
  .svc-res__link svg { width: 14px; height: 14px; }
}

@media screen and (max-width: 767px) {
  .page-hero--svc .page-hero__title { font-size: 10.5vw; }
  .svc-cards--4, .svc-cards--3, .svc-checks__grid, .svc-related__grid { grid-template-columns: 1fr; }
  .svc-steps, .svc-steps--3, .svc-steps--5 { --n: 1; }
  .site-grid--2, .site-grid--4 { grid-template-columns: 1fr; }
  .svc-why__grid { grid-template-columns: 1fr; }
  .svc-mosaic { gap: 6px; }
  .svc-mosaic__item { border-radius: 8px; }
}

/* ==========================================================================
   CMS ADDITIONS (lead forms, location pages, blog, plain pages)
   ========================================================================== */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field__opt { color: var(--muted-dark); font-weight: 400; }
.field__error { margin-top: .4vw; font-size: .9vw; color: #ff8a8a; }
.form__status { margin: 0 0 1vw; padding: .9vw 1.2vw; border-radius: .8vw; background: rgba(255, 138, 138, .12); color: #ffd1d1; font-size: 1vw; }
.consent { display: flex; align-items: flex-start; gap: .8vw; margin: 0 0 1.6vw; font-size: .95vw; line-height: 1.5; color: #bdbdbd; cursor: pointer; }
.consent input { flex: none; width: 1.1vw; height: 1.1vw; margin-top: .2vw; accent-color: var(--brand); }
.btn.is-busy { opacity: .6; pointer-events: none; }
.contact--inline { padding: 7vw 0; }
.svc-intro__price { margin-top: 1.6vw; padding-top: 1.2vw; border-top: 1px solid var(--line-dark); font-size: 1vw; color: var(--brand); }
.svc-markets__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2vw; }
.svc-rel--lg { min-height: 15vw; }
.svc-rel__icon { width: 1.6vw; height: 1.6vw; color: var(--brand-strong); }
.svc-rel__desc { max-width: 85%; font-size: .95vw; line-height: 1.5; color: var(--muted); }
.svc-rel:hover .svc-rel__desc { color: rgba(0, 0, 0, .7); }
.nav__dropdown-toggle[data-active] { color: var(--brand); }
.footer__address { font-style: normal; }
.page-hero__lead { max-width: 52vw; margin-top: 1.6vw; font-size: 1.25vw; line-height: 1.6; color: #bdbdbd; }
.page-hero--plain { padding-bottom: 5vw; }
.page-hero--plain .page-hero__title { font-size: 4.6vw; }
.page-hero--center { text-align: center; }
.page-hero--center .container { display: flex; flex-direction: column; align-items: center; }
.page-hero--center .page-hero__lead { margin-left: auto; margin-right: auto; }
.svc-hero__ctas--center { justify-content: center; margin-top: 2vw; }
.thanks__mark { width: 3vw; height: 5vw; margin-bottom: 2vw; fill: var(--brand); }
.page-hero__tags a { color: inherit; }
.page-hero__tags li:has(a):hover { border-color: var(--brand); color: var(--brand); }

/* Location pages */
.loc-context__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5vw; align-items: start; }
.loc-context__head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2vw; position: sticky; top: 7vw; }
.loc-context__body { display: flex; flex-direction: column; gap: 1.4vw; }
.loc-example__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5vw; align-items: center; }
.loc-example__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4vw; }
.loc-example__media .site-grid, .loc-example__media .bh-grid, .loc-example__media .vgrid { grid-template-columns: 1fr; }

/* Blog listing and pagination */
.blog--index { padding-top: 4vw; }
.blog--index .blog__grid { grid-template-columns: repeat(3, 1fr); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .5vw; margin-top: 4vw; }
.pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 3vw; height: 3vw; padding: 0 1vw; border: 1px solid var(--line); border-radius: 999px; font-size: 1vw; transition: background-color .3s, color .3s; }
.pager a:hover { border-color: var(--ink); }
.pager a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Articles */
.page-hero--article { padding-bottom: 5vw; }
.article__head { max-width: 72vw; }
.article__title { font-size: 4vw; font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.article__meta { display: flex; flex-wrap: wrap; gap: .5vw 1.6vw; margin-top: 2vw; font-size: 1vw; color: var(--muted-dark); }
.article__figure { margin: 3vw auto 0; max-width: 72vw; }
.article__img { width: 100%; height: auto; border-radius: 1.4vw; }
.article__layout { display: grid; grid-template-columns: minmax(0, 46vw) 18vw; justify-content: center; gap: 6vw; padding-top: 4vw; padding-bottom: 6vw; }
.article__aside { display: flex; flex-direction: column; gap: 1.6vw; }
.article__cta { position: sticky; top: 7vw; display: flex; flex-direction: column; align-items: flex-start; gap: 1vw; padding: 1.8vw; border-radius: 1.4vw; background: var(--ink); color: var(--white); font-size: 1vw; line-height: 1.5; }
.article__cta-title { font-size: 1.4vw; font-weight: 500; }
.article__tags { display: flex; flex-wrap: wrap; gap: .4vw; }
.article__tags li { padding: .4vw .8vw; border: 1px solid var(--line); border-radius: 999px; font-size: .85vw; }
.prose { font-size: 1.2vw; line-height: 1.75; color: #262626; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 2vw; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: 1.5vw; font-weight: 500; line-height: 1.25; color: var(--ink); }
.prose h4 { margin-top: 1.4em; font-size: 1.25vw; font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: var(--brand-strong); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.prose a:hover { color: var(--brand-strong); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose img { width: auto; max-width: 100%; height: auto; border-radius: 1vw; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 3px solid var(--brand); color: var(--ink); font-size: 1.1em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.prose th, .prose td { padding: .6em .8em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose--page { max-width: 52vw; }
.article__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6vw; max-width: 70vw; padding-bottom: 6vw; }
.article__pager-link { display: flex; flex-direction: column; gap: .5vw; padding: 1.6vw 1.8vw; border: 1px solid var(--line); border-radius: 1.4vw; font-size: 1.15vw; font-weight: 500; line-height: 1.35; transition: border-color .3s; }
.article__pager-link span { font-size: .85vw; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.article__pager-link:hover { border-color: var(--ink); }
.article__pager-link--next { grid-column: 2; text-align: right; }

@media screen and (max-width: 991px) {
  .article__pager { grid-template-columns: 1fr; gap: 12px; max-width: none; padding-bottom: 56px; }
  .article__pager-link { gap: 6px; padding: 18px 20px; border-radius: 14px; font-size: 16px; }
  .article__pager-link span { font-size: 12px; }
  .article__pager-link--next { grid-column: auto; text-align: left; }
  .field__error { margin-top: 6px; font-size: 13px; }
  .form__status { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
  .consent { gap: 10px; margin-bottom: 20px; font-size: 14px; }
  .consent input { width: 18px; height: 18px; margin-top: 2px; }
  .contact--inline { padding: 72px 0; }
  .svc-intro__price { margin-top: 18px; padding-top: 14px; font-size: 15px; }
  .svc-markets__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-rel--lg { min-height: 180px; }
  .svc-rel__icon { width: 22px; height: 22px; }
  .svc-rel__desc { font-size: 14px; }
  .page-hero__lead { max-width: none; margin-top: 18px; font-size: 17px; }
  .page-hero--plain .page-hero__title { font-size: 9vw; }
  .svc-hero__ctas--center { margin-top: 24px; }
  .thanks__mark { width: 36px; height: 60px; margin-bottom: 20px; }
  .loc-context__grid, .loc-example__grid { grid-template-columns: 1fr; gap: 24px; }
  .loc-context__head { position: relative; top: auto; gap: 14px; }
  .loc-context__body, .loc-example__text { gap: 16px; }
  .blog--index { padding-top: 40px; }
  .blog--index .blog__grid { grid-template-columns: 1fr 1fr; }
  .pager { gap: 6px; margin-top: 40px; }
  .pager a { min-width: 40px; height: 40px; padding: 0 12px; font-size: 14px; }
  .article__head { max-width: none; }
  .article__title { font-size: 8vw; }
  .article__meta { gap: 6px 16px; margin-top: 18px; font-size: 14px; }
  .article__figure { margin-top: 28px; max-width: none; }
  .article__img { border-radius: 14px; }
  .article__layout { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 64px; }
  .article__cta { position: relative; top: auto; gap: 12px; padding: 22px; border-radius: 16px; font-size: 15px; }
  .article__cta-title { font-size: 19px; }
  .article__tags { gap: 6px; }
  .article__tags li { padding: 5px 10px; font-size: 12px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 24px; }
  .prose h3 { font-size: 20px; }
  .prose h4 { font-size: 18px; }
  .prose img { border-radius: 10px; }
  .prose--page { max-width: none; }
}
@media screen and (max-width: 767px) {
  .svc-markets__grid, .blog--index .blog__grid { grid-template-columns: 1fr; }
}

/* Touch devices: the "View project" pill sits under the project info */
@media (hover: none) {
  .work-col__cta { position: relative; left: auto; top: auto; align-self: flex-start; margin: -1.5vw 3vw 3vw; opacity: 1; visibility: visible; }
}

/* ==========================================================================
   <= 991px
   ========================================================================== */
@media screen and (max-width: 991px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .label { font-size: 12px; }
  .btn { font-size: 15px; }
  .btn--sm { font-size: 14px; }
  .btn--block { font-size: 18px; }

  /* Nav becomes a full-screen dark menu */
  .nav { top: 12px; left: 12px; right: 12px; }
  .nav__brand { position: relative; z-index: 2; font-size: 22px; }
  .nav__cta { display: none; }
  .nav__burger {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: 52px; height: 52px; border-radius: 50%;
  }
  .nav__burger span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform .4s var(--ease-expo); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 0; z-index: 1;
    display: none; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
    padding: 100px 24px 40px; border: 0; border-radius: 0;
    background: rgba(10, 10, 10, .97);
    overflow: auto;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__link { font-size: 34px; letter-spacing: -.03em; padding: 8px 0; border-radius: 0; }
  .nav__link:hover, .nav__dropdown.is-open .nav__dropdown-toggle { background: none; color: var(--brand); }
  .nav__link--mobile-only { display: inline-flex; }
  .nav__chevron { width: 22px; height: 22px; }
  .nav__dropdown { flex-direction: column; }
  .mega { position: static; transform: none; padding-top: 0; display: none; opacity: 1; visibility: visible; }
  .nav__dropdown.is-open .mega { display: block; }
  .mega__panel { padding: 16px; border-radius: 16px; transform: none; gap: 16px; }
  .mega__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .mega__col { gap: 10px; }
  .mega__heading { font-size: 18px; }
  .mega__links { gap: 8px; }
  .mega__link { font-size: 15px; gap: 6px; }
  .mega__link svg { width: 16px; height: 16px; }
  .mega__all { font-size: 15px; gap: 6px; padding-top: 12px; }
  .mega__all svg { width: 16px; height: 16px; }

  /* Hero slider: a dark scrim keeps the headline readable where the artwork reaches under it */
  .hero-slide { padding: 110px 20px 120px; }
  .hero-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .55) 45%, rgba(10, 10, 10, 0) 75%); }
  .hero-slide__content { max-width: 520px; gap: 16px; }
  .hero-slide__eyebrow { font-size: 11px; }
  .hero-slide__title { font-size: 7vw; }
  .hero-slide__lead { max-width: 420px; font-size: 17px; }
  .hero-slide__ctas { gap: 10px; }
  .hero-slider__controls { left: 20px; bottom: 28px; }
  .hero__eyebrow { font-size: 11px; margin-bottom: 22px; }

  /* Bands */
  .bands { height: 30vw; }
  .band { padding: 12px 0; }
  .band__item { font-size: 7vw; }
  .band__mark { width: 3.6vw; height: 6vw; }

  /* About */
  .about { padding: 80px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__side { position: relative; top: auto; gap: 20px; }
  .about__image { max-width: 460px; border-radius: 20px; }
  .about__title { font-size: 7vw; }
  .services__title { font-size: 7vw; }
  .about__copy { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; padding-top: 24px; font-size: 16px; }
  .stats { margin-top: 56px; grid-template-columns: 1fr 1fr; border-radius: 24px; }
  .stat { min-height: 0; gap: 28px; padding: 24px 20px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .stat__num { font-size: 11vw; }
  .stat__label { max-width: none; font-size: 15px; }

  /* Work */
  .work__intro { width: 85vw; }
  .work__title { font-size: 9vw; }
  .work__tagline { margin-top: 12px; font-size: 18px; }
  .work__corner { font-size: 13px; }
  .work__corner--tl, .work__corner--tr { top: 96px; }
  .work__corner--bl, .work__corner--br { bottom: 24px; }
  .work__hint { gap: 8px; }
  .work__hint svg { width: 16px; height: 16px; }
  .work-col { width: 72vw; }
  .work-col__stage { padding: 100px 28px 16px; }
  .work-col__media { max-width: calc(48vh * var(--arn, 1.7778)); border-radius: 12px; }
  .work-col__info { gap: 12px; padding: 0 28px 32px; }
  .work-col__tags { gap: 6px 10px; }
  .pill { padding: 6px 12px; font-size: 12px; }
  .bullet-tag { gap: 6px; font-size: 12px; }
  .bullet-tag::before { width: 5px; height: 5px; }
  .work-col__title { font-size: 34px; }
  .work-col__num { font-size: 13px; }
  .work-col__cta { gap: 6px; padding: 12px 18px; font-size: 14px; }
  .work-col__cta svg { width: 14px; height: 14px; }
  .work__end { width: 80vw; gap: 20px; padding: 0 40px; }
  .work__end-title { font-size: 8vw; }
  .work__end-ctas { gap: 10px; }

  /* Services */
  .h2 { font-size: 46px; }
  .paragraph { font-size: 18px; line-height: 1.3; }
  .services__track { height: 200vh; }
  .services__head { padding: 0 1.5rem .5rem; }
  .services__inner { flex-direction: column; gap: 1.5rem; padding: 0 1.5rem; }
  .services__intro { width: 70%; }
  .services__cards { gap: 2rem; }
  .service-card { gap: 1rem; padding: 1.5rem 1.25rem; border-radius: 20px; min-width: 300px; }
  .service-card__title { font-size: 1.5rem; }
  .service-item { padding: .25rem 0; }
  .service-item__text { font-size: 16px; }
  .service-item__pointer svg { width: 1.1rem; height: 1.1rem; }
  .service-item:hover .service-item__pointer { width: 1.1rem; margin-right: .4rem; }

  /* Inner pages */
  .page-hero { padding: 120px 0 64px; }
  .page-hero__title { max-width: none; font-size: 9vw; }
  .page-hero__foot { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; padding-top: 24px; }
  .page-hero__tags { gap: 8px; }
  .page-hero__tags li { padding: 8px 14px; font-size: 13px; }
  .page-hero__copy { gap: 16px; font-size: 16px; }
  .page-hero__glow { width: 90vw; height: 90vw; }
  .gallery { padding: 56px 0; }
  .gallery__track { gap: 12px; padding-right: 12px; }
  .gallery__item { width: 56vw; border-radius: 16px; }
  .approach { padding: 24px 0 80px; }
  .approach__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .approach__title { max-width: none; font-size: 10vw; text-align: left; }
  .approach__steps { grid-template-columns: 1fr; gap: 12px; }
  .step { gap: 16px; padding: 24px; border-radius: 20px; }
  .step__num { font-size: 48px; }
  .step__arrow { width: 22px; height: 22px; transform: rotate(90deg); }
  .step__title { font-size: 24px; }
  .step__list { gap: 6px; }
  .step__list li { padding: 7px 12px; font-size: 13px; }
  .who { padding: 80px 0 32px; }
  .who__head { gap: 14px; margin-bottom: 32px; }
  .who__title { max-width: none; font-size: 10vw; }
  .who__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .who__media { border-radius: 20px; }
  .who__card { gap: 28px; padding: 28px; border-radius: 20px; }
  .who__card h3 { font-size: 8vw; }
  .who__card-foot { gap: 16px; }
  .who__card-foot p { max-width: none; font-size: 16px; }
  .awards { padding: 80px 0; }
  .awards__grid { grid-template-columns: 1fr; gap: 32px; }
  .awards__side { position: relative; top: auto; gap: 14px; }
  .awards__title { font-size: 8vw; }
  .award-group + .award-group { margin-top: 32px; }
  .award-group__title { padding-bottom: 10px; font-size: 12px; }
  .award { gap: 16px; padding: 16px 0; font-size: 19px; }
  .award__year { font-size: 13px; }
  .cta-band { padding: 64px 0; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-band__title { font-size: 13vw; }
  .contact--page { padding-top: 16px; }
  .contact__title--sm { font-size: 8vw; }
  .contact__meta { gap: 6px; font-size: 16px; }
  .contact__meta-head { font-size: 12px; }
  .contact__social { gap: 8px; margin-top: 4px; }
  .contact__social-link { padding: 9px 16px; font-size: 14px; }

  /* Clients */
  .clients { padding: 64px 0 24px; }
  .clients__label { margin-bottom: 16px; }
  .clients__marquee { min-height: 110px; }
  .client { gap: 60px; margin-left: -6px; }
  .client__dot { width: 6px; height: 6px; }
  .client__name { font-size: 20px; }
  .client__logo { width: 72%; }
  .client__logo img { border-radius: 8px; }

  /* Blog */
  .blog { padding: 80px 0; }
  .blog__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
  .blog__head .label { margin-bottom: 14px; }
  .blog__title { font-size: 12vw; }
  .blog__intro { max-width: 520px; gap: 16px; font-size: 17px; }
  .blog__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .post { min-height: 340px; gap: 32px; padding: 24px; border-radius: 20px; }
  .post::after { right: 20px; top: 16px; font-size: 72px; }
  .post__top { gap: 12px; font-size: 13px; }
  .post__cat { padding: 6px 12px; }
  .post__title { font-size: 22px; }
  .post__excerpt { margin-top: 12px; font-size: 15px; }
  .post__bottom { font-size: 13px; }
  .post__go { width: 44px; height: 44px; }

  /* Reviews */
  .reviews { padding: 80px 0; }
  .reviews__head { gap: 14px; margin-bottom: 36px; }
  .reviews__title { font-size: 12vw; }
  .reviews__track { gap: 14px; padding-right: 14px; }
  .review { width: 76vw; min-height: 0; gap: 28px; padding: 24px; border-radius: 20px; }
  .review__q { width: 30px; height: 22px; }
  .review blockquote { font-size: 18px; }
  .review__by { gap: 12px; font-size: 13px; }
  .review__by strong { font-size: 15px; }
  .review__avatar { width: 42px; height: 42px; }

  /* Contact */
  .contact { padding: 80px 0 64px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__side { position: relative; top: auto; gap: 18px; }
  .contact__title { font-size: 11vw; }
  .tpl-home .contact__title { font-size: 8vw; }
  .contact__lead { font-size: 17px; }
  .contact__mail { font-size: 6vw; }
  .form__grid { gap: 10px; margin-bottom: 24px; }
  .field { gap: 6px; padding: 14px 16px; border-radius: 14px; }
  .field label { font-size: 12px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .field textarea { min-height: 120px; }
  .field__chevron { right: 16px; bottom: 16px; width: 16px; height: 16px; }
  .form__options { margin-bottom: 24px; }
  .form__options legend { font-size: 15px; margin-bottom: 12px; }
  .chips { gap: 8px; }
  .chip-field { font-size: 14px; }
  .chip-field__label { padding: 11px 16px; border-radius: 10px; }
  .form__success { gap: 16px; padding: 20px; border-radius: 16px; font-size: 18px; }
  .form__success svg { width: 30px; height: 50px; }

  /* Footer */
  .footer { padding-top: 56px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 40px; }
  .footer__col { gap: 8px; font-size: 15px; }
  .footer__head { font-size: 12px; margin-bottom: 4px; }
  .back-top { width: 52px; height: 52px; }
  .footer__brand { gap: 14px; padding-top: 32px; }
  .footer__mark { width: 15vw; height: 25vw; }
  .footer__word { font-size: 30vw; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 20px; padding-bottom: 24px; font-size: 13px; }
  .footer__legal { gap: 16px; }
}

/* ==========================================================================
   <= 767px
   ========================================================================== */
@media screen and (max-width: 767px) {
  /* Robot sits between the headline and the intro instead of behind the text */
  .hero-slide { min-height: 0; flex-direction: column; align-items: stretch; padding: 104px 20px 0; }
  .hero-slide::before { display: none; }
  .hero-slide__img { position: relative; inset: auto; z-index: 0; order: 2; width: calc(100% + 40px); height: auto; aspect-ratio: 4 / 3; margin: 28px -20px 0; object-position: 85% center; }
  .hero-slide__content { max-width: none; }
  .hero-slide__title { font-size: 10vw; white-space: normal; }
  .hero-slider__controls { left: 12px; bottom: 12px; gap: 4px; }
  .bands { height: 40vw; }
  .about__title { font-size: 9vw; }
  .services__title { font-size: 9vw; }
  .form__grid { grid-template-columns: 1fr; }
  .stat__num { font-size: 13vw; }

  /* Work: stacked list instead of a pinned strip */
  .work { height: auto; overflow: visible; }
  .work__rail { flex-direction: column; width: 100%; transform: none !important; }
  .work__intro {
    width: 100%; height: auto;
    flex-wrap: wrap; justify-content: space-between; gap: 28px 16px;
    padding: 100px 20px 48px;
  }
  .work__intro-main { order: -1; width: 100%; text-align: left; }
  .work__title { font-size: 11vw; }
  .work__tagline { font-size: 17px; }
  .work__corner { position: static; }
  .work__hint { display: none; }
  .work-col { width: 100%; height: auto; border-left: 0; border-top: 1px solid var(--line-dark); }
  .work-col__stage { padding: 28px 20px 16px; }
  .work-col__media { max-width: none; transform: none !important; }
  .work-col__info { padding: 0 20px 20px; }
  .work-col__title { font-size: 9vw; }
  .work-col__cta { margin: 0 20px 32px; }
  .work__end { width: 100%; height: auto; padding: 64px 20px; }
  .work__end-title { font-size: 10vw; }

  /* Services: plain stacked cards */
  .h2 { font-size: 38px; }
  .services__track { height: auto; }
  .services__sticky { position: relative; height: auto; }
  .services__container { height: auto; padding: 3rem 0; transform: none !important; }
  .services__head { padding: 0 1.25rem .5rem; }
  .services__inner { padding: 0 1.25rem; }
  .services__intro { width: 100%; }
  .services__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; }
  .service-card { width: 100%; min-width: 0; }
  .service-card__title { white-space: normal; }
  .service-item__text { line-height: 1.3; }

  /* Blog: one card per row */
  .blog__grid { grid-template-columns: 1fr; }
  .post { min-height: 0; }
}

/* ==========================================================================
   <= 479px
   ========================================================================== */
@media screen and (max-width: 479px) {
  .hero-slide__title { font-size: 10.5vw; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line-dark); }
  .stat__num { font-size: 16vw; }
  .footer__top { grid-template-columns: 1fr; }
  .h2 { font-size: 34px; line-height: 1.1; }
  .services__cards { grid-template-columns: 1fr; }
  .service-card { padding-left: 1rem; padding-right: 1rem; }
  .service-item__text { font-size: 18px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .band__track, .reviews__track, .clients__track, .gallery__track, .page-hero__glow, .services__blob, .work__hint svg, .hero-slider__dot span::after { animation: none !important; }
  .hero-slide, .hero-slide__img, .hero-slider.is-ready .hero-slide__content > * { transition: none !important; }
  .hero-slide__img { transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
