/* =============================================================================
   VECTOR GROEP — Design System
   Black + lime accent, wireframe/blueprint inspired
   ============================================================================= */

/* --- Reset ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto; /* Lenis handles it */
}

html {
  overflow-x: clip;
}

body {
  min-height: 100vh;
  overflow-x: clip;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Colors */
  --bg:            #0a0a0a;
  --bg-elev:       #111111;
  --bg-soft:       #141414;
  --fg:            #f5f5f5;
  --fg-dim:        #b5b5b5;
  --fg-muted:      #6a6a6a;
  --line:          #1e1e1e;
  --line-strong:   #2a2a2a;
  --accent:        #c6ff3d;
  --accent-dim:    #9ec91f;

  /* Type */
  --font-display:  'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:     'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --max-w:         1680px;
  --pad-x:         clamp(20px, 4vw, 56px);
  --nav-h:         72px;

  /* Motion */
  --ease:          cubic-bezier(.22, 1, .36, 1);
  --ease-out:      cubic-bezier(.16, 1, .3, 1);
}

/* --- Base ----------------------------------------------------------------- */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* --- Typography ----------------------------------------------------------- */
.display,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

h1,
.h-hero {
  font-size: clamp(2.6rem, 8vw, 7.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2,
.h-section {
  font-size: clamp(2.2rem, 6.5vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

h3,
.h-sub {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.5;
  color: var(--fg-dim);
  max-width: 42ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section {
  position: relative;
  padding: clamp(80px, 14vh, 160px) 0;
}

.grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}

.grid-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  opacity: 0.5;
}

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  color: var(--fg);
  background: linear-gradient(to bottom, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}

.nav.is-hidden {
  transform: translateY(-100%);
}

.nav__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.nav__inner > a.nav__brand { justify-self: start; }
.nav__inner > nav { justify-self: center; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.nav__brand-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.nav__brand-mark svg {
  width: 100%;
  height: 100%;
}

.nav__menu {
  display: flex;
  gap: 36px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__menu a {
  position: relative;
  padding: 6px 2px;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav__menu a:hover,
.nav__menu a[aria-current="page"] {
  opacity: 1;
}

.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--fg);
  color: var(--bg);
}

@media (max-width: 720px) {
  .nav__menu { display: none; }
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--fg);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--fg);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn__arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translate(3px, -3px);
}

/* --- Custom cursor -------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.2s;
  mix-blend-mode: difference;
}

.cursor.is-hover {
  width: 48px;
  height: 48px;
  background: var(--fg);
  mix-blend-mode: difference;
}

/* Hide the native system cursor when our custom one is active
   (fine pointers only — touch devices keep their native behavior) */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: none; }
  html *, body * { cursor: none !important; }
  /* Except inside form fields — keep a visible caret indicator */
  input, textarea, select { cursor: text !important; }
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* --- Page transition overlay --------------------------------------------- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--accent);
  z-index: 200;
  pointer-events: none;
  transform: translateY(100%);
}

/* --- Intro loader --------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: grid;
  place-items: center;
}

.loader__inner {
  text-align: center;
}

.loader__num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin-top: 28px;
}

.loader__num span { color: var(--accent); }

.loader__mark {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  position: relative;
}

.loader__mark svg {
  width: 100%;
  height: 100%;
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: calc(var(--nav-h) + 40px);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__title {
  color: var(--fg);
  max-width: 14ch;
  overflow-wrap: break-word;
}

.hero__title .char,
.reveal-text .char {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero__title .word,
.reveal-text .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* Room for descenders (g, p, j, y) inside the overflow mask,
     compensated so the visual line position stays unchanged. */
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__description {
  max-width: 38ch;
  color: var(--fg-dim);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(-100%);
  animation: scrollLine 2.2s var(--ease) infinite;
}

@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* --- Marquee ------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  gap: 64px;
  white-space: nowrap;
}

.marquee__track {
  display: flex;
  gap: 64px;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 64px;
}

.marquee__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Services grid ------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-card {
  position: relative;
  padding: 48px 40px 56px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background 0.4s var(--ease);
  overflow: hidden;
}

.service-card:nth-child(2n) { border-right: none; }

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--accent);
  z-index: 0;
  transition: width 0.5s var(--ease);
}

.service-card:hover::before { width: 100%; }

.service-card:hover { color: var(--bg); }

.service-card > * { position: relative; z-index: 1; }

.service-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.service-card:hover .service-card__num { color: var(--bg); }

.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.service-card__desc {
  color: var(--fg-dim);
  max-width: 44ch;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.service-card:hover .service-card__desc { color: rgba(10,10,10,0.75); }

.service-card__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease);
}

.service-card:hover .service-card__arrow {
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }
}

/* --- Portfolio ----------------------------------------------------------- */
.project-list {
  border-top: 1px solid var(--line);
}

.project {
  display: grid;
  grid-template-columns: 60px 1fr auto 120px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease), color 0.3s var(--ease);
  position: relative;
  cursor: pointer;
}

.project:hover { padding-left: 20px; padding-right: 20px; }

.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-elev);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}

.project:hover::before { opacity: 1; }

.project__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
}

.project__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.project:hover .project__title { color: var(--accent); }

.project__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--fg-dim);
}

.project__year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-align: right;
}

.project__hover-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  height: 260px;
  background: var(--bg-elev);
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  border-radius: 8px;
  overflow: hidden;
}

.project__hover-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.project__hover-img-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@media (max-width: 800px) {
  .project {
    grid-template-columns: 40px 1fr;
    row-gap: 12px;
  }
  .project__tags, .project__year { display: none; }
}

/* --- Portfolio visual grid ---------------------------------------------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 28px;
}

.proj-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-elev);
  transition: transform 0.4s var(--ease);
}

.proj-card__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.proj-card__media img,
.proj-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.proj-card:hover .proj-card__media img,
.proj-card:hover .proj-card__media video {
  transform: scale(1.045);
}

.proj-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,0.85) 100%);
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.proj-card__num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 2;
}

.proj-card__year {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 2;
}

.proj-card__overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: var(--fg);
}

.proj-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.proj-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proj-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 4px 9px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.proj-card__arrow {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  z-index: 3;
  transform: scale(0.85) translateY(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.proj-card:hover .proj-card__arrow {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.proj-card__arrow svg { width: 16px; height: 16px; stroke: currentColor; }

@media (max-width: 760px) {
  .proj-grid { gap: 20px; }
  .proj-card__overlay { left: 16px; right: 16px; bottom: 16px; }
}

/* --- Project hero (large image at top of project page) ----------------- */
.proj-hero {
  position: relative;
  padding-top: var(--nav-h);
}

.proj-hero__media {
  width: 100%;
  aspect-ratio: 21/9;
  max-height: 78vh;
  overflow: hidden;
  position: relative;
  background: var(--bg-elev);
}

.proj-hero__media img,
.proj-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proj-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0.85) 100%);
  pointer-events: none;
}

.proj-hero__meta {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 48px;
  z-index: 2;
  color: var(--fg);
}

.proj-hero__crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 16px;
}

.proj-hero__crumbs a { color: var(--accent); }

.proj-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  max-width: 18ch;
}

.proj-hero__tagline {
  margin-top: 16px;
  color: var(--fg-dim);
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .proj-hero__media { aspect-ratio: 4/5; max-height: 92vh; }
  .proj-hero__meta { bottom: 32px; }
}

/* --- Project gallery — clean masonry grid ------------------------------ */
.proj-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.proj-gallery > * {
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-elev);
}

.proj-gallery img,
.proj-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.proj-gallery > *:hover img,
.proj-gallery > *:hover video {
  transform: scale(1.04);
}

.pg-wide  { grid-column: span 8; aspect-ratio: 4/3; }
.pg-tall  { grid-column: span 4; aspect-ratio: 3/4; }
.pg-half  { grid-column: span 6; aspect-ratio: 4/3; }
.pg-third { grid-column: span 4; aspect-ratio: 1/1; }
.pg-full  { grid-column: span 12; aspect-ratio: 16/9; }

@media (max-width: 760px) {
  .proj-gallery > * { grid-column: span 12 !important; aspect-ratio: 4/3 !important; }
}

/* --- Uniform project gallery — every photo in an identical container ----- */
.uni-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.uni-gallery__item {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-elev);
  margin: 0;
}
.uni-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.uni-gallery__item:hover img { transform: scale(1.045); }
@media (max-width: 860px) {
  .uni-gallery__item {
    flex-basis: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}
@media (max-width: 540px) {
  .uni-gallery { gap: 12px; }
  .uni-gallery__item { flex-basis: 100%; max-width: 100%; }
}

/* --- Portfolio teaser strip (homepage) ---------------------------------- */
.pf-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.pf-teaser__cell {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-elev);
}
.pf-teaser__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.pf-teaser__cell:hover img { transform: scale(1.05); }
.pf-teaser__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,0.7) 100%);
}
.pf-teaser__tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
}
@media (max-width: 640px) {
  .pf-teaser { gap: 10px; margin-bottom: 40px; }
  .pf-teaser__tag { left: 10px; bottom: 10px; font-size: 10px; }
}

/* --- Process timeline ---------------------------------------------------- */
.process {
  position: relative;
}

.process__step {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.process__step:last-child { border-bottom: 1px solid var(--line); }

.process__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.process__num-large {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-top: 12px;
}

.process__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.process__desc {
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 48ch;
}

.process__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 20px;
}

@media (max-width: 860px) {
  .process__step { grid-template-columns: 1fr; gap: 20px; padding: 48px 0; }
}

/* --- Big-type Over-ons section ------------------------------------------- */
.about-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  position: relative;
}

.about-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 9vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

.about-hero__title em {
  font-style: normal;
  color: var(--accent);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 40px 0;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.stat:last-child { border-right: none; }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--fg);
}

.stat__num sup {
  font-size: 0.35em;
  color: var(--accent);
  vertical-align: top;
  margin-left: 8px;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 16px;
}

@media (max-width: 760px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
}

/* --- Team / Values ------------------------------------------------------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value {
  background: var(--bg);
  padding: 40px 32px;
}

.value__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

.value__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.value__desc {
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .values { grid-template-columns: 1fr; }
}

/* --- Contact ------------------------------------------------------------- */
.contact {
  min-height: 90vh;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 80px;
}

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
}

.form {
  display: grid;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  font-size: 1.05rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
}

/* --- File drop / uploader ---------------------------------------------- */
.file-drop__input {
  position: absolute !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  margin-top: 4px;
}
.file-drop:hover,
.file-drop--over {
  border-color: var(--accent);
  background: rgba(198, 255, 61, 0.04);
}
.file-drop__icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.file-drop__text {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.4;
}
.file-drop__text strong {
  font-weight: 600;
  color: var(--accent);
}
.file-drop__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.file-drop__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
}
.file-drop__list:empty { display: none; }
.file-drop__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.9rem;
}
.file-drop__list li.is-toobig {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.06);
}
.file-drop__list .file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.file-drop__list .file-size {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.file-drop__list .file-warn {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ff6b6b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.contact__info-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.info-item:last-child { border-bottom: 1px solid var(--line); }

.info-item__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-top: 4px;
}

.info-item__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 500;
}

/* --- Footer -------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
  margin-top: 0;
}

.footer__big {
  font-family: var(--font-display);
  font-size: clamp(3rem, 14vw, 14rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.85;
  margin: 40px 0 80px;
  color: var(--fg);
  overflow: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer__col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer__col a {
  color: var(--fg-dim);
  transition: color 0.3s var(--ease);
  font-size: 0.95rem;
}

.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Utilities ----------------------------------------------------------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
}

/* --- Reveal animations (handled by JS adding .in-view) ------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.07s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.21s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.35s; }
.stagger.in-view > *:nth-child(7) { transition-delay: 0.42s; }
.stagger.in-view > *:nth-child(8) { transition-delay: 0.49s; }

/* --- Image / media ------------------------------------------------------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-elev);
}

.frame--16x9 { aspect-ratio: 16/9; }
.frame--4x5  { aspect-ratio: 4/5; }
.frame--1x1  { aspect-ratio: 1/1; }

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.frame:hover img { transform: scale(1.04); }

/* Media-showcase: a constrained, centered image block that never upscales
   its source. Use data-max attr or inline max-width to match source width. */
.media {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  margin: 0 auto;
  max-width: 100%;
  border-radius: 4px;
}

.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 100%;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.media--split > .media { border-radius: 0; }

@media (max-width: 760px) {
  .media--split { grid-template-columns: 1fr; }
}

/* --- Service detail page ------------------------------------------------ */
.svc-hero {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 40px);
}

.svc-hero__crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.svc-hero__crumbs a { color: var(--fg-dim); }
.svc-hero__crumbs a:hover { color: var(--accent); }

.svc-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.svc-facts__cell {
  background: var(--bg);
  padding: 32px 28px;
}
.svc-facts__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.svc-facts__value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
@media (max-width: 760px) {
  .svc-facts { grid-template-columns: 1fr; }
}

/* --- Pact (used on proces + service detail pages) ----------------------- */
.pact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pact__col { background: var(--bg); padding: 40px 32px; }
.pact__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.pact__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.pact__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.pact__list li {
  padding-left: 28px;
  position: relative;
  color: var(--fg-dim);
  line-height: 1.5;
}
.pact__list li::before {
  content: "✺";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-size: 0.85em;
}
@media (max-width: 760px) {
  .pact { grid-template-columns: 1fr; }
}

.svc-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc-related__card {
  position: relative;
  padding: 28px 26px;
  background: var(--bg-elev);
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.svc-related__card:hover {
  border-color: var(--accent);
}
.svc-related__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
}
.svc-related__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.svc-related__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  margin-top: auto;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc-related__card:hover .svc-related__arrow {
  border-color: var(--accent);
  transform: rotate(-45deg);
}
@media (max-width: 760px) {
  .svc-related { grid-template-columns: 1fr; }
}

/* --- Per-type row (text + photo, alternating) --------------------------- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.svc-row:last-child { margin-bottom: 0; }
.svc-row--reverse .svc-row__media { order: -1; }

.svc-row__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.svc-row__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.svc-row__lead {
  color: var(--fg-dim);
  line-height: 1.55;
  font-size: 1rem;
  max-width: 50ch;
}
.svc-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.svc-row__chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.svc-row__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-elev);
}
.svc-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.svc-row__media:hover img { transform: scale(1.04); }

@media (max-width: 820px) {
  .svc-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }
  .svc-row--reverse .svc-row__media { order: 0; }
}

/* --- Step plan (used on aanbouw + others) ------------------------------- */
.svc-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-step {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-step__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.svc-step__desc {
  color: var(--fg-dim);
  line-height: 1.55;
  font-size: 0.96rem;
}
@media (max-width: 760px) {
  .svc-steps { grid-template-columns: 1fr; }
}

/* --- Kitchen / image carousel (compact, uniform thumbs) ----------------- */
.kc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.kc__cell {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-elev);
  position: relative;
}
.kc__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.kc__cell:hover img { transform: scale(1.05); }
.kc__cell--wide { grid-column: span 2; aspect-ratio: 8 / 5; }
@media (max-width: 760px) {
  .kc__cell--wide { grid-column: span 1; aspect-ratio: 4 / 5; }
}

/* --- 3-step service card (used on keukens) ------------------------------ */
.svc-3step {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.svc-3step__cell {
  background: var(--bg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.svc-3step__num {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 500;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.svc-3step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.svc-3step__desc {
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}
@media (max-width: 820px) {
  .svc-3step { grid-template-columns: 1fr; }
}

/* --- Service detail page additions -------------------------------------- */
.story {
  position: relative;
}

.story__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

@media (max-width: 760px) {
  .story__intro { grid-template-columns: 1fr; gap: 24px; }
}

.story-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 30vw, 420px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad-x);
  padding: 0 var(--pad-x) 24px;
  margin: 0 calc(-1 * var(--pad-x));
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.story-carousel::-webkit-scrollbar { display: none; }

.story-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.story-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-elev);
  cursor: grab;
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}

.story-card__media:hover img { transform: scale(1.05); }

.story-card__index {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #fff;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 100px;
  z-index: 1;
}

.story-card__caption {
  padding: 20px 4px 0;
}

.story-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.story-card__tag::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.story-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.story-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 16px;
}

.story-progress {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  border-radius: 100px;
}

.story-progress__bar {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0.15);
  transition: transform 0.4s var(--ease);
}

.story-arrows {
  display: flex;
  gap: 8px;
}

.story-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--fg);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}

.story-arrows button:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.story-arrows button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.story-arrows svg {
  width: 16px;
  height: 16px;
}

/* --- Work showcase grid -------------------------------------------------- */
.showcase {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.showcase__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-elev);
  display: block;
  text-decoration: none;
  color: inherit;
}

.showcase__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.showcase__item:hover img { transform: scale(1.06); }

.showcase__overlay {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.5) 35%, rgba(10,10,10,0.05) 70%);
  color: #fff;
  z-index: 1;
  transition: background 0.4s var(--ease);
}

.showcase__item:hover .showcase__overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.2) 90%);
}

.showcase__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.showcase__tag::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 10px;
  max-width: 22ch;
}

.showcase__caption {
  font-size: 0.95rem;
  color: rgba(245, 245, 245, 0.78);
  line-height: 1.5;
  max-width: 42ch;
  margin: 0;
}

/* Card layouts */
.showcase__item--lg     { grid-column: span 7; aspect-ratio: 4/3; }
.showcase__item--md     { grid-column: span 5; aspect-ratio: 4/5; }
.showcase__item--small  { grid-column: span 4; aspect-ratio: 4/5; }

/* Smaller text in compact cards */
.showcase__item--small .showcase__title { font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
.showcase__item--small .showcase__caption { font-size: 0.88rem; }
.showcase__item--small .showcase__overlay { padding: 24px; }

@media (max-width: 920px) {
  .showcase__item--lg, .showcase__item--md { grid-column: span 12; aspect-ratio: 4/3; }
  .showcase__item--small { grid-column: span 6; aspect-ratio: 1/1; }
}

@media (max-width: 540px) {
  .showcase__item--lg, .showcase__item--md, .showcase__item--small {
    grid-column: span 12; aspect-ratio: 4/3;
  }
  .showcase__overlay { padding: 24px; }
}

/* --- FAQ accordion ------------------------------------------------------- */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  transition: padding 0.3s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item:hover summary { padding-left: 12px; padding-right: 12px; }

.faq-item__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}

.faq-item__q {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--fg);
  transition: color 0.3s var(--ease);
}

.faq-item:hover .faq-item__q,
.faq-item[open] .faq-item__q { color: var(--accent); }

.faq-item__toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
  flex-shrink: 0;
}

.faq-item:hover .faq-item__toggle,
.faq-item[open] .faq-item__toggle { border-color: var(--accent); }

.faq-item__toggle::before,
.faq-item__toggle::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: var(--fg);
  transition: background 0.3s var(--ease), transform 0.4s var(--ease);
}

.faq-item__toggle::after {
  transform: rotate(90deg);
}

.faq-item:hover .faq-item__toggle::before,
.faq-item:hover .faq-item__toggle::after,
.faq-item[open] .faq-item__toggle::before,
.faq-item[open] .faq-item__toggle::after {
  background: var(--accent);
}

.faq-item[open] .faq-item__toggle::after { transform: rotate(180deg); opacity: 0; }
.faq-item[open] .faq-item__toggle::before { transform: rotate(180deg); }

.faq-item__answer {
  padding: 0 0 32px 80px;
  color: var(--fg-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 68ch;
}

.faq-item__answer p { margin-bottom: 12px; }
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__answer strong { color: var(--fg); font-weight: 500; }

@media (max-width: 720px) {
  .faq-item summary {
    grid-template-columns: 40px 1fr 36px;
    gap: 14px;
    padding: 22px 0;
  }
  .faq-item__answer { padding: 0 0 24px 54px; font-size: 0.95rem; }
}

/* --- Hamburger button (mobile) ------------------------------------------ */
.nav__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  margin-left: 8px;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav__hamburger:hover { border-color: var(--accent); }

.nav__hamburger-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.nav__hamburger-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), top 0.4s var(--ease);
}

.nav__hamburger-icon span:nth-child(1) { top: 0; }
.nav__hamburger-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__hamburger-icon span:nth-child(3) { top: 100%; transform: translateY(-100%); }

body.menu-open .nav__hamburger-icon span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
body.menu-open .nav__hamburger-icon span:nth-child(2) {
  opacity: 0;
}
body.menu-open .nav__hamburger-icon span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 720px) {
  .nav__hamburger { display: inline-flex; align-items: center; justify-content: center; }
  /* Hide CTA button when hamburger is shown — it lives in the overlay */
  .nav__cta { display: none; }
}

/* --- Full-screen mobile menu overlay ------------------------------------ */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s 0.4s linear;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 32px) var(--pad-x) 32px;
  overflow-y: auto;
}

body.menu-open .nav__overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease), visibility 0s 0s linear;
}

body.menu-open { overflow: hidden; }

.nav__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 50% 100%;
  pointer-events: none;
}

.nav__overlay-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.nav__overlay-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.nav__overlay-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
}

.nav__overlay-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
}

.nav__overlay-list li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  border-bottom: 1px solid var(--line);
}

body.menu-open .nav__overlay-list li {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open .nav__overlay-list li:nth-child(1) { transition-delay: 0.10s; }
body.menu-open .nav__overlay-list li:nth-child(2) { transition-delay: 0.16s; }
body.menu-open .nav__overlay-list li:nth-child(3) { transition-delay: 0.22s; }
body.menu-open .nav__overlay-list li:nth-child(4) { transition-delay: 0.28s; }
body.menu-open .nav__overlay-list li:nth-child(5) { transition-delay: 0.34s; }
body.menu-open .nav__overlay-list li:nth-child(6) { transition-delay: 0.40s; }

.nav__overlay-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--fg);
  transition: color 0.25s var(--ease), padding 0.25s var(--ease);
}

.nav__overlay-list a::after {
  content: "→";
  font-size: 0.5em;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav__overlay-list a:hover,
.nav__overlay-list a[aria-current="page"] {
  color: var(--accent);
  padding-left: 12px;
}

.nav__overlay-list a:hover::after,
.nav__overlay-list a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(0);
}

.nav__overlay-meta {
  display: grid;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out) 0.5s, transform 0.6s var(--ease-out) 0.5s;
}

body.menu-open .nav__overlay-meta { opacity: 1; transform: translateY(0); }

.nav__overlay-meta a { color: inherit; transition: color 0.2s var(--ease); }
.nav__overlay-meta a:hover { color: var(--accent); }
.nav__overlay-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Testimonials --------------------------------------------------------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}
.testimonial {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--fg);
  flex: 1;
}
.testimonial__quote::before { content: "\201C"; color: var(--accent); margin-right: 4px; }
.testimonial__quote::after  { content: "\201D"; color: var(--accent); }
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elev);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.testimonial__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
}
.testimonial__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
@media (max-width: 800px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* --- Language switcher in nav ------------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-right: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lang-switch a {
  padding: 8px 12px;
  color: var(--fg-dim);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-switch a:hover { color: var(--fg); }
.lang-switch a[aria-current="true"] {
  background: var(--accent);
  color: var(--bg);
}
@media (max-width: 540px) {
  .lang-switch { margin-right: 8px; font-size: 10px; }
  .lang-switch a { padding: 7px 9px; }
}

/* --- WhatsApp floating button ------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 14px;
  background: #25D366;
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  transform: translateY(0);
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0,0,0,0.3);
}
.whatsapp-fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: #fff;
}
.whatsapp-fab__label { white-space: nowrap; }
@media (max-width: 540px) {
  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
    padding: 12px;
  }
  .whatsapp-fab__label { display: none; }
}

/* --- Accessibility ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up, .stagger > * { opacity: 1; transform: none; }
}
