/* ==========================================================
   Momentum Visual Studio — base styles
   Grid: 12 cols · 80px margin · 24px gutter
   ========================================================== */

@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/Satoshi-Variable.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Doctor Glitch'; src: url('../fonts/DoctorGlitch.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Modulus'; src: url('../fonts/Modulus.woff2') format('woff2'); font-display: swap; }

:root {
  --lime: #E3F571;
  --dark: #212121;
  --paper: #F8F8F7;
  --purple: #9608FF;
  --purple-soft: #9C85D6;
  --teal: #49CEA8;
  --ink: #212121;
  --muted: #5d5d5d;
  --margin: 80px;
  --gutter: 24px;
  --radius: 28px;
  --title: 'Poppins', system-ui, sans-serif;
  --body: 'Satoshi', system-ui, sans-serif;
  --glitch: 'Doctor Glitch', 'Poppins', sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--title); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.section { padding: 112px 0; position: relative; }
.section-title { font-size: clamp(32px, 4vw, 56px); text-transform: uppercase; font-weight: 800; }
.glitch { font-family: var(--glitch); font-weight: 400; letter-spacing: 0.02em; }
.eyebrow { font-family: var(--title); font-weight: 600; color: var(--purple); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }

[data-lang-show] { display: none; }
html[lang="es"] [data-lang-show="es"], html[lang="en"] [data-lang-show="en"] { display: initial; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--title); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid var(--lime);
  background: var(--lime); color: var(--dark);
  transition: transform .35s var(--ease-out), background .3s, color .3s, box-shadow .35s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 30px rgba(227, 245, 113, .35); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.btn--ghost { background: transparent; color: var(--lime); }
.btn--ghost:hover { background: var(--lime); color: var(--dark); }
.link { font-family: var(--body); font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-underline-offset .25s; }
.link:hover { text-underline-offset: 9px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 26px 0;
  transition: padding .4s;
  color: #fff;
}
.header.is-scrolled { padding: 14px 0; }
/* blur lives on a pseudo-element so the header never becomes a containing block for the fixed mobile menu */
.header::before { content: ''; position: absolute; inset: 0; z-index: 0; background: rgba(33, 33, 33, .78); opacity: 0; transition: opacity .15s; pointer-events: none; }
/* the blur only exists while the bar is visible: at the top it no longer re-blurs the hero photo on every frame */
.header.is-scrolled::before { opacity: 1; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .4s; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 2; }
.logo { display: flex; align-items: center; gap: 12px; color: inherit; }
.logo svg { height: 38px; width: auto; }
.logo svg path { fill: currentColor; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-family: var(--title); font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button { border: 0; background: transparent; color: inherit; font-family: var(--title); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; opacity: .7; transition: background .3s, color .3s, opacity .3s; }
.lang button.is-active { background: var(--lime); color: var(--dark); opacity: 1; }
.burger { display: none; border: 0; background: transparent; color: inherit; width: 44px; height: 44px; position: relative; z-index: 3; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s, opacity .3s, top .35s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.header.is-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.header--dark { color: var(--dark); }
.header--dark::before { background: rgba(248, 248, 247, .85); }
.header--dark .lang { border-color: rgba(33,33,33,.35); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  color: #fff; overflow: hidden; background: var(--dark);
  text-align: center; padding: 160px 0 120px;
}
.hero__bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; --mx: 50%; --my: 45%; --r: 26vmax; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* darkening is baked into hero-dark.webp: a live CSS filter on a full-screen photo had to be redrawn every time the hero came back into view (black flash) */
.hero__bg .hero__light { -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(33,33,33,.25) 0%, rgba(33,33,33,0) 40%, rgba(33,33,33,.55) 100%); }
.hero__glow { position: absolute; z-index: 1; width: 60vmax; height: 60vmax; left: 0; top: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(227,245,113,.16) 0%, rgba(150,8,255,.10) 35%, rgba(0,0,0,0) 65%);
  transform: translate(-50%, -50%); mix-blend-mode: screen; filter: blur(10px); }
.hero__content { position: relative; z-index: 2; max-width: 980px; }
.hero__title { font-size: clamp(38px, 5.4vw, 76px); color: var(--teal); font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 6px 40px rgba(0,0,0,.25); }
.hero__title .glitch { font-size: 1.02em; }
.hero__actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.blur-word { display: inline-block; filter: blur(14px); opacity: 0; transform: translateY(18px); will-change: filter, transform, opacity; }
.is-split-done .blur-word { will-change: auto; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.hero__scroll::after { content: ''; display: block; width: 1px; height: 40px; margin: 10px auto 0; background: #fff; animation: scrollHint 1.8s infinite; transform-origin: top; }
@keyframes scrollHint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--lime); color: var(--dark); padding: 18px 0; border-top: 1px solid rgba(33,33,33,.08); }
.marquee__track { display: flex; width: max-content; gap: 18px; will-change: transform; }
.marquee__item { font-family: var(--title); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); white-space: nowrap; display: inline-flex; gap: 6px; align-items: baseline; letter-spacing: -.01em; }
.marquee__item .glitch { font-size: 1.05em; }
.marquee--icons { padding: 0; }
.marquee--icons .marquee__track { gap: 0; }
.marquee--icons img { height: clamp(70px, 7vw, 100px); width: auto; max-width: none; }

/* ---------- Intro ---------- */
.intro { position: relative; background: var(--dark) url('../img/intro-bg.webp') center / cover no-repeat; color: #fff; overflow: hidden; padding: 200px 0; isolation: isolate; }
.intro__text { position: relative; z-index: 3; text-shadow: 0 2px 30px rgba(0,0,0,.35); max-width: 680px; margin: 0 auto; text-align: center; font-size: clamp(20px, 2.1vw, 28px); font-weight: 300; line-height: 1.5; }

/* ---------- Steps ---------- */
.steps .section-title { max-width: 900px; margin-bottom: 72px; }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.step { position: relative; isolation: isolate; border: 1px solid rgba(33,33,33,.18); border-radius: 32px; padding: 32px 26px 28px; background: transparent; display: flex; flex-direction: column; gap: 14px; min-height: 320px;
  transition: translate .5s var(--ease-out), box-shadow .5s, background .5s; }
/* hover lift uses `translate` so it never fights the scroll animation, which drives `transform` */
.step:hover { translate: 0 -6px; background: #fff; box-shadow: 0 30px 60px -30px rgba(33,33,33,.3); }
/* downward motion trail while a card rises (real element, animated with transform/opacity) */
.step__trail { position: absolute; left: 6%; right: 6%; top: calc(100% - 32px); height: 110%; border-radius: 32px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(33,33,33,.12), rgba(33,33,33,0)); transform-origin: top; transform: scaleY(0); opacity: 0; }
/* sticky "stop" (same principle as the services stack): tall section, sticky content */
.steps.is-stick { height: 300vh; padding-bottom: 48px; }
.steps.is-stick > .container { position: sticky; top: var(--stick-top, 96px); }
.steps.is-stick .section-title { margin-bottom: 40px; }
.steps.is-stick .steps__cta { margin-top: 48px; }
.step__num { font-family: var(--title); font-weight: 700; font-size: 34px; color: var(--teal); }
.step__title { font-size: 15px; letter-spacing: .02em; text-transform: uppercase; font-weight: 700; }
.step__text { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
.step__squiggle { width: 48px; height: 14px; }
.step__squiggle path { stroke: var(--teal); stroke-width: 2; fill: none; stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset .9s var(--ease-out); }
.step.is-visible .step__squiggle path, .step:hover .step__squiggle path { stroke-dashoffset: 0; }
.steps__cta { margin-top: 64px; text-align: center; }
/* button sits centred between the cards and the marquee: equal space above and below */
.steps { padding-bottom: 64px; }

/* ---------- Projects ---------- */
.projects { padding-bottom: 0; }
.projects .section-title { text-align: center; margin-bottom: 40px; }
/* link centred between the photo strip and the testimonials gradient */
.projects__more { padding: 0 var(--margin); margin: 0; height: 96px; display: flex; align-items: center; justify-content: center; }
.infinite--home { height: 86svh; background: var(--paper); border-top: 1px solid rgba(33,33,33,.06); border-bottom: 1px solid rgba(33,33,33,.06); }
.infinite--home .infinite__canvas { gap: 40px 36px; padding: 24px; align-items: center; justify-items: center; }
.infinite--home .infinite__item { position: relative; width: 100%; aspect-ratio: 3/4; box-shadow: 0 30px 60px -36px rgba(33,33,33,.5); }
.infinite--home .infinite__item--wide { aspect-ratio: 4/3; }
.infinite--home .infinite__item--sm { width: 74%; }
.infinite--home .infinite__item--xs { width: 58%; aspect-ratio: 1; }
.infinite__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 12px; color: #fff; font-size: 12px; line-height: 1.35; background: linear-gradient(0deg, rgba(33,33,33,.75), transparent); opacity: 0; transition: opacity .4s; }
.infinite__cap strong { display: block; font-weight: 500; font-size: 13px; }
.infinite__item:hover .infinite__cap { opacity: 1; }
.infinite__item:hover .infinite__cap strong { text-decoration: underline; text-underline-offset: 3px; }
.projects__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); grid-auto-rows: 190px; }
.project { position: relative; display: flex; flex-direction: column; gap: 8px; grid-column: span 4; grid-row: span 2; }
.project__img { position: relative; flex: 1; overflow: hidden; border-radius: 6px; background: #e9e9e7; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); will-change: transform; }
.project:hover .project__img img { transform: scale(1.06); }
.project__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(33,33,33,.25), transparent 50%); opacity: 0; transition: opacity .4s; }
.project:hover .project__img::after { opacity: 1; }
.project__cap { text-align: center; font-size: 13px; line-height: 1.4; padding-bottom: 6px; }
.project__cap strong { display: block; font-weight: 500; }
.project__cap span { color: var(--muted); }
.projects__more { text-align: center; }
.reveal-mask { clip-path: inset(0 0 100% 0); }

/* ---------- Testimonials ---------- */
.testimonials { color: var(--dark); background: url('../img/gradient-bg.webp') center / 130% 130% no-repeat; background-color: #9C85D6; position: relative; overflow: hidden; }
.testimonials .section-title { margin-bottom: 48px; }
.testimonials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.quote { position: relative; border-radius: 28px; padding: 32px 32px 28px; background: rgba(255,255,255,.24); border: 1px solid rgba(255,255,255,.35);
  /* no backdrop-filter: the gradient behind is already soft, and re-blurring it every frame while it drifts was the lag */
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 30px 60px -40px rgba(33,33,33,.4); }
.quote__text { font-size: 15px; line-height: 1.65; min-height: 150px; color: #2b2b2b; }
.quote__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 28px; font-size: 13px; line-height: 1.45; }
.quote__foot strong { font-weight: 500; display: block; }
.quote__logo { width: 64px; height: 64px; border-radius: 50%; background: #f2f2f0; display: grid; place-items: center; overflow: hidden; flex: none; }
.quote__logo img { width: 70%; height: 70%; object-fit: contain; }
.quote__logo--full img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About ---------- */
.about { padding: 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; }
.about__text { padding: 112px var(--margin) 80px; max-width: 760px; margin-left: auto; width: 100%; display: flex; flex-direction: column; gap: 28px; }
.about__text .section-title { margin-bottom: 8px; }
.about__text p { font-size: 15px; line-height: 1.7; color: #3a3a3a; }
.about__stats { display: flex; gap: 0; margin-top: 12px; }
.stat { padding: 0 28px 0 0; border-right: 1px solid rgba(33,33,33,.4); margin-right: 28px; font-size: 16px; line-height: 1.3; }
.stat:last-child { border: 0; }
.stat__num { font-family: var(--body); font-weight: 500; font-size: 42px; display: block; line-height: 1; margin-bottom: 8px; }
.about__media { position: relative; overflow: hidden; background: var(--dark); color: #fff; min-height: 640px; }
.about__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.about__cap { position: absolute; left: 32px; bottom: 24px; font-size: 14px; opacity: .9; }

/* ---------- Services ---------- */
.services { background: #000; color: var(--dark); padding: 112px 0 140px; }
.services .section-title { color: #fff; text-align: center; margin-bottom: 64px; }
.services__stack { display: flex; flex-direction: column; gap: 18px; --stack-top: 96px; --stack-step: 68px; --card-h: 440px; --stack-bottom: max(100svh, calc(var(--stack-top) + var(--stack-step) * 4 + var(--card-h))); }
.service-wrap { position: sticky; }
.service { border-radius: 28px; padding: 22px 40px 48px; background: var(--dark); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 28px 40px; align-items: start; overflow: hidden;
  box-shadow: 0 -18px 50px -24px rgba(0,0,0,.8); will-change: transform; }
.service-wrap:nth-child(1) { min-height: calc(var(--stack-bottom) - var(--stack-top) - var(--stack-step) * 0); top: var(--stack-top); }
.service-wrap:nth-child(1) .service { background: var(--purple); color: #fff; }
.service-wrap:nth-child(2) { min-height: calc(var(--stack-bottom) - var(--stack-top) - var(--stack-step) * 1); top: calc(var(--stack-top) + var(--stack-step)); }
.service-wrap:nth-child(2) .service { background: var(--lime); color: var(--dark); }
.service-wrap:nth-child(3) { min-height: calc(var(--stack-bottom) - var(--stack-top) - var(--stack-step) * 2); top: calc(var(--stack-top) + var(--stack-step) * 2); }
.service-wrap:nth-child(3) .service { background: var(--paper); color: var(--dark); }
.service-wrap:nth-child(4) { min-height: calc(var(--stack-bottom) - var(--stack-top) - var(--stack-step) * 3); top: calc(var(--stack-top) + var(--stack-step) * 3); }
.service-wrap:nth-child(4) .service { background: var(--dark); color: #fff; }
.service-wrap:nth-child(5) { min-height: calc(var(--stack-bottom) - var(--stack-top) - var(--stack-step) * 4); top: calc(var(--stack-top) + var(--stack-step) * 4); }
.service-wrap:nth-child(5) .service { background: var(--purple-soft); color: var(--dark); }
/* scroll sensitivity: every card pulls the next one up by the same amount (20% of the first card's scroll), so the cards rise sooner.
   The last card gets the same pull and the stack gives it back below, so all cards still let go together, exactly when the last one lands. */
.services__stack { --pull: calc(.2 * (var(--stack-bottom) - var(--stack-top) - var(--stack-step) + 18px)); margin-bottom: var(--pull); }
.service-wrap { margin-bottom: calc(-1 * var(--pull)); }
.service__head { grid-column: 1 / 3; display: flex; align-items: center; gap: 20px; min-height: 48px; }
.service__icon { width: 48px; height: 48px; flex: none; }
.service__icon img, .service__icon svg { width: 100%; height: 100%; object-fit: contain; }
.service__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; font-family: var(--title); line-height: 1; }
.service__text { grid-column: 1; max-width: 472px; font-size: 16px; line-height: 1.6; align-self: start; }
.service__list { grid-column: 2; font-size: 16px; line-height: 1.6; list-style: disc; padding-left: 20px; align-self: start; }
.service__list li + li { margin-top: 0; }
/* photo panel: fills the right side of the card, full height (reference: Figma services card) */
/* Figma Frame 231: 80px left margin | text | 20px | bullets | 20px | photo (~27.5% of the full card) bleeding to the top, right and bottom edges.
   40px from title to text; text and bullets top-aligned. */
.service { position: relative; min-height: 320px; padding: 40px 0 48px 80px; grid-template-columns: minmax(0, 1fr) max-content 29.5%; grid-template-rows: auto 1fr; gap: 40px 20px; }
.service__preview { grid-column: 3; grid-row: 1 / -1; align-self: stretch; margin: -40px 0 -48px 0; overflow: hidden; pointer-events: none; }
.service__preview { position: relative; min-height: 0; }
.service__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA ---------- */
.cta { padding: 96px 0; }
.cta__card { display: block; background: var(--dark); color: var(--paper); border-radius: 28px; padding: 44px 48px 40px; position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s; }
.cta__card::before { content: ''; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%); width: 0; height: 0; border-radius: 50%; background: var(--lime); transform: translate(-50%, -50%); transition: width .7s var(--ease-out), height .7s var(--ease-out); }
.cta__card:hover { color: var(--dark); }
.cta__card:hover::before { width: 250%; height: 500%; }
.cta__card h3 { font-family: var(--body); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 10px; }
.cta__card p { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; max-width: 640px; }
.cta__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 44px; font-size: clamp(26px, 3vw, 40px); font-weight: 400; font-family: var(--body); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.cta__link svg { width: .8em; height: .8em; transition: transform .5s var(--ease-out); }
.cta__card:hover .cta__link svg { transform: translate(5px, -5px); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #fff; padding: 72px 0 48px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: var(--gutter); }
.footer .logo { color: var(--lime); margin-bottom: 20px; }
.footer__tag { font-size: 16px; max-width: 300px; opacity: .9; }
.footer h4 { font-family: var(--body); font-weight: 400; color: var(--lime); font-size: 20px; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer li a { opacity: .9; transition: opacity .3s, padding-left .3s; }
.footer li a:hover { opacity: 1; padding-left: 4px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.footer__cta { margin-top: 24px; text-align: right; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; opacity: .6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Contact page: fits one laptop screen (text | calendar | times) ---------- */
.contact-page { background: var(--dark); color: var(--paper); min-height: 100svh; padding: 112px 0 32px; display: flex; align-items: center; }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; width: 100%; }
.contact-page h1 { font-size: clamp(40px, 3.4vw, 48px); line-height: 1.1; font-weight: 800; color: var(--paper); letter-spacing: -.01em; text-transform: uppercase; }
.contact-page .meta { display: flex; align-items: center; gap: 8px; margin: 12px 0 24px; color: #bdbdbd; font-size: 16px; }
.contact-page .meta svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.contact-page p { font-size: 16px; line-height: 24px; color: var(--paper); margin-bottom: 16px; font-weight: 300; }

.booker { --cell: 40px; }
:where(.booker) button:not(.btn) { background: none; border: 0; color: inherit; padding: 0; }
.booker__pick { max-width: 680px; display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 16px 40px; align-items: start; }
.booker__month { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.booker__label { background: var(--purple-soft); color: #fff; border: 2px solid #000; border-radius: 8px; padding: 4px 16px; font-size: 16px; line-height: 24px; }
.booker__nav { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; }
.booker__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.booker__nav:disabled { opacity: .25; cursor: default; }
.booker__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.booker__wd { text-align: center; font-size: 16px; line-height: 24px; color: var(--paper); }
.booker__wd.is-weekend { color: #8a8a8a; }
.booker__day { height: var(--cell); border-radius: 8px; font-size: 16px; color: var(--paper); border: 2px solid transparent; transition: background .2s, border-color .2s; }
.booker__day:not(:disabled):hover { border-color: var(--purple-soft); }
.booker__day.is-today { border-color: var(--purple-soft); }
.booker__day.is-sel { background: var(--purple-soft); border-color: var(--purple-soft); color: #fff; }
.booker__day.is-off { color: #8a8a8a; cursor: default; }
.booker__tz { margin: 12px 0 0 !important; font-size: 12px !important; line-height: 16px !important; color: #bdbdbd !important; display: flex; flex-direction: column; gap: 4px; }
.booker__tz strong { color: var(--paper); font-weight: 600; font-size: 16px; line-height: 20px; }
.booker__times { display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; padding-right: 20px; margin-top: 32px; scrollbar-width: thin; scrollbar-color: #fff #6b6b6b; }
.booker__times::-webkit-scrollbar { width: 8px; }
.booker__times::-webkit-scrollbar-track { background: #6b6b6b; border-radius: 8px; }
.booker__times::-webkit-scrollbar-thumb { background: #fff; border-radius: 8px; }
.booker__time { height: 48px; flex: none; border: 2px solid var(--purple-soft) !important; border-radius: 8px; color: var(--paper); font-size: 20px; transition: background .2s; }
.booker__time:hover { background: rgba(156,133,214,.16) !important; }
.booker__time:disabled { border-color: #4a4a4a !important; color: #6b6b6b; background: none !important; text-decoration: line-through; cursor: not-allowed; }
.booker__time.is-sel { background: var(--purple-soft) !important; color: #fff; }
.booker__hint { font-size: 12px !important; line-height: 16px !important; color: #bdbdbd !important; }
.booker .btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; text-decoration: none; }
.booker__pick > .booker__actions { grid-column: 1 / -1; }
.booker__form, .booker__done { max-width: 680px; display: flex; flex-direction: column; gap: 8px; }
.booker__form[hidden], .booker__done[hidden], .booker__pick[hidden] { display: none; }
.booker__eyebrow { font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--lime) !important; margin: 0 !important; }
.booker__summary { font-size: 16px !important; line-height: 24px !important; margin: 0 0 4px !important; font-weight: 400 !important; }
.booker__field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #bdbdbd; }
.booker__field input { height: 40px; border-radius: 8px; border: 1px solid #4a4a4a; background: #2a2a2a; color: var(--paper); padding: 0 16px; font: inherit; font-size: 16px; }
.booker__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booker__row--when { grid-template-columns: max-content minmax(0, 1fr); }
.booker__row--when .booker__chips > div { flex-wrap: nowrap; }
.booker__chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.booker__chips legend { padding: 0; margin-bottom: 4px; }
.booker__chips > div { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--purple-soft); border-radius: 999px; color: var(--paper); font-size: 12px; transition: background .2s; }
.chip:hover span { background: rgba(156,133,214,.16); }
.chip input:checked + span { background: var(--purple-soft); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.booker__field em { font-style: normal; color: #8a8a8a; }
.booker__field textarea { min-height: 48px; resize: vertical; border-radius: 8px; border: 1px solid #4a4a4a; background: #2a2a2a; color: var(--paper); padding: 8px 16px; font: inherit; font-size: 16px; line-height: 24px; }
.booker__field input::placeholder, .booker__field textarea::placeholder { color: #7a7a7a; }
.booker__field textarea:focus, .booker__field input:focus { outline: none; border-color: var(--purple-soft); }
.booker__field .req { color: var(--paper); }
.booker__field.is-invalid .req { color: #ff6b6b; }
.booker__field.is-invalid > span:first-child, .booker__field.is-invalid legend { color: #ff6b6b; }
.booker__field.is-invalid input, .booker__field.is-invalid textarea { border-color: #ff6b6b; background: rgba(255,107,107,.08); }
.booker__field.is-invalid .chip span { border-color: #ff6b6b; }
.booker__phone[hidden] { display: none; }
.booker__phone-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; }
.booker__phone select { height: 40px; border-radius: 8px; border: 1px solid #4a4a4a; background: #2a2a2a; color: var(--paper); padding: 0 12px; font: inherit; font-size: 16px; }
.booker__field.is-invalid select { border-color: #ff6b6b; }
.booker__phone.is-invalid label { color: #ff6b6b; }
.booker__error { font-size: 12px !important; color: #ff6b6b !important; margin: 0 !important; }
.booker__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 0; }
/* labels carry ~4px of line-height above their text; this matches the visual gap above the buttons to the gap between fields */
.booker__form > .booker__actions { margin-top: 4px; }
@media (max-width: 760px) {
  .booker__pick { grid-template-columns: 1fr; }
  .booker__row, .booker__row--when { grid-template-columns: 1fr; }
  .booker__row--when .booker__chips > div { flex-wrap: wrap; }
  .booker__times { flex-direction: row; flex-wrap: wrap; margin-top: 0; max-height: none; }
  .booker__time { flex: 1 0 88px; }
  .booker { --cell: 40px; }
  .booker__month { margin-left: 0; }
  .booker__wd, .booker__day { font-size: 16px; }
  .booker__time { height: 48px; font-size: 16px; }
}

/* ---------- Project pages ---------- */
.project-hero { padding: 160px var(--margin) 48px; }
.project-hero h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 800; }
.project-hero .meta { display: flex; gap: 32px; margin-top: 20px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.project-hero .meta strong { display: block; color: var(--ink); font-weight: 500; }
.infinite { position: relative; height: 100svh; overflow: hidden; background: var(--paper); cursor: grab; }
.infinite:active { cursor: grabbing; }
.infinite__canvas { position: absolute; left: 0; top: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; width: var(--w, 200vw); will-change: transform; }
.infinite__item { border-radius: 8px; overflow: hidden; background: #e8e8e6; aspect-ratio: 3/4; }
.infinite__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.infinite__item:hover img { transform: scale(1.04); }
.infinite__hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; background: rgba(33,33,33,.85); color: #fff; padding: 10px 18px; border-radius: 999px; pointer-events: none; }
.project-nav { display: flex; justify-content: space-between; padding: 48px var(--margin); font-family: var(--title); font-weight: 600; }
.projects-index { padding: 160px 0 96px; }
.projects-index h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 800; margin-bottom: 48px; }

/* ---------- Photo project pages (justified gallery) ---------- */
.photo-page .project-hero { padding-bottom: 64px; }
.photo-page .eyebrow { margin-bottom: 14px; color: var(--dark); }
.photo-page__sub { font-family: var(--body); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); margin-top: 18px; max-width: 760px; }
.photo-page__desc { margin-top: 16px; max-width: 760px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.photo-page__aeo { margin-top: 12px; max-width: 760px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.photo-page__toggle { margin-top: 12px; }
.photo-page__meta { margin-top: 24px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.readmore { border: 0; background: none; padding: 0; color: var(--ink); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.photo-page__more { max-width: 760px; }
.gallery { padding-bottom: 32px; --gallery-gap: 10px; }
.gallery__row { display: flex; gap: var(--gallery-gap); margin-bottom: var(--gallery-gap); }
.gallery__item { margin: 0; overflow: hidden; background: #e9e9e7; flex: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: scale(1.03); transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out); }
.gallery__item.is-loaded img { opacity: 1; transform: none; }
.no-js .gallery__item img { opacity: 1; transform: none; }

/* ---------- Page transitions / misc ---------- */
.page-fade { animation: pageFade .9s var(--ease-out) both; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
[data-reveal] { opacity: 0; transform: translateY(30px); }
.no-js [data-reveal], .no-js .blur-word, .no-js .reveal-mask { opacity: 1; transform: none; filter: none; clip-path: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --margin: 48px; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 1fr; }
  .service__preview { display: none; }
  .service { padding: 32px 40px 40px; min-height: 0; gap: 24px; }
  .service__head, .service__text, .service__list { grid-column: 1 / -1; margin-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .contact-page__grid { grid-template-columns: 1fr; }
  .contact-page { align-items: flex-start; }
}
@media (max-width: 760px) {
  :root { --margin: 20px; --gutter: 16px; }
  .section { padding: 80px 0; }
  .projects { padding-bottom: 0; }
  .nav { position: fixed; inset: 0; background: var(--dark); color: #fff; flex-direction: column; justify-content: center; gap: 28px; transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; z-index: 1; }
  .header.is-open .nav { transform: translateY(0); visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }
  .header.is-open { color: #fff; }
  .nav a { font-size: 22px; }
  .burger { display: block; }
  .hero { padding: 140px 0 100px; }
  .hero__title { font-size: clamp(32px, 9vw, 44px); }
  .intro { padding: 120px 0; }
  .steps__grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .projects__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .project { grid-column: span 1; grid-row: span 2; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__text { padding: 80px var(--margin) 56px; }
  .about__media { min-height: 420px; }
  .services__stack { --stack-top: 76px; --stack-step: 60px; }
  .infinite--home .infinite__canvas { --cols: 2; gap: 20px 16px; padding: 16px; }
  .infinite--home .infinite__item--sm { width: 100%; }
  .infinite--home .infinite__item--xs { width: 100%; aspect-ratio: 3/4; }
  .infinite--home .infinite__item--wide { aspect-ratio: 3/4; }
  .service { padding: 24px 24px 32px; }
  .cta__card { padding: 32px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__cta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* ---------- Case study stack (Behance-style: full-width slides, one after another) ---------- */
.case-stack { display: flex; flex-direction: column; max-width: 1600px; margin: 48px auto 0; padding: 0 24px; }
.case-stack img { display: block; width: 100%; height: auto; background: #e8e8e6; }
@media (max-width: 760px) { .case-stack { margin-top: 32px; padding: 0; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.faq__list { border-top: 1px solid rgba(33,33,33,.16); }
.faq__item { border-bottom: 1px solid rgba(33,33,33,.16); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--title); font-weight: 600; font-size: 20px; line-height: 1.4; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--dark); transition: background .3s var(--ease-out), border-color .3s var(--ease-out); }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--dark); transform: translate(-50%, -50%); transition: transform .3s var(--ease-out); }
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] summary i { background: var(--lime); border-color: var(--lime); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item summary:hover i { background: var(--lime); border-color: var(--lime); }
.faq__item p { padding: 0 56px 24px 0; font-size: 16px; line-height: 1.6; opacity: .8; max-width: 640px; }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .faq__item summary { font-size: 16px; padding: 20px 0; }
  .faq__item p { padding-right: 0; }
}

.faq { padding-bottom: 0; }
.faq + .cta { padding: 36px 0; }


/* ---------- Accessibility ---------- */
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--lime); color: var(--dark); font-family: var(--title); font-weight: 600; font-size: 16px; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.services :focus-visible, .footer :focus-visible, .cta :focus-visible, .header :focus-visible, .booker :focus-visible { outline-color: var(--lime); }
.faq__item summary:focus-visible { outline-offset: 4px; border-radius: 4px; }
@media (pointer: coarse) { .lang button { min-width: 44px; min-height: 40px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------- Booking privacy note ---------- */
.booker__privacy { margin: 4px 0 0; font-size: 12px; line-height: 1.4; opacity: .6; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: flex; align-items: center; padding: 140px 0 96px; }
.notfound__inner { max-width: 720px; }
.notfound__code { font-size: clamp(96px, 16vw, 200px); line-height: 1; font-weight: 800; color: var(--dark); margin-bottom: 24px; }
.notfound__text { font-size: 20px; line-height: 1.5; opacity: .8; margin: 16px 0 40px; max-width: 520px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn--ghost-dark { color: var(--dark); border-color: var(--dark); }
.btn--ghost-dark:hover { background: var(--dark); color: var(--paper); }
