:root {
  --ink: #090b0c;
  --paper: #f6f7f5;
  --paper-warm: #f2f3f0;
  --mist: #e7f1f2;
  --teal: #038f8c;
  --teal-bright: #00aaa2;
  --teal-deep: #224f54;
  --blue-deep: #17374c;
  --blue-footer: #0d2a40;
  --line: #d8dddd;
  --container: min(1120px, calc(100vw - 56px));
  --body-size: 16px;
  --section-heading: clamp(44px, 5vw, 70px);
  --ease: cubic-bezier(.2, .72, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: var(--body-size);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open,
body.modal-is-open { overflow: hidden; }

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

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

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

button { color: inherit; }

::selection { color: white; background: var(--teal); }

.container { width: var(--container); margin-inline: auto; }

.section { position: relative; }

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: #000;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon, .social-icon { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ui-icon { width: 17px; height: 17px; }
.social-icon { width: 19px; height: 19px; }
.icon-fill { fill: currentColor; stroke: none; }

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(26px, 4.5vw, 72px);
  color: white;
  pointer-events: none;
}

.brand { display: inline-flex; align-items: center; pointer-events: auto; transition: opacity .3s ease, transform .3s var(--ease); }
.brand img { width: clamp(48px, 4.2vw, 60px); height: auto; }
.site-brand { position: relative; }
.site-brand img { position: relative; z-index: 2; }
.brand-wordmark {
  position: relative;
  z-index: 1;
  width: 0;
  margin-left: -8px;
  overflow: hidden;
  opacity: 0;
  color: #fff;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  white-space: nowrap;
  transition: width .5s var(--ease), opacity .22s ease;
}
.brand-wordmark > span { display: block; padding: 4px 0 4px 17px; transform: translateX(-100%); transition: transform .5s var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .site-brand:hover .brand-wordmark,
  .site-brand:focus-visible .brand-wordmark { width: clamp(132px, 12vw, 165px); opacity: 1; }
  .site-brand:hover .brand-wordmark > span,
  .site-brand:focus-visible .brand-wordmark > span { transform: translateX(0); }
}

.header-actions { display: flex; align-items: center; gap: 25px; pointer-events: auto; }
.site-header.is-scrolled > .brand, .site-header.is-scrolled .collab-button { opacity: 0; pointer-events: none; transform: translateY(-8px); }

.collab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 21px 9px;
  color: #111;
  background: white;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s var(--ease), color .25s ease, background .25s ease;
}

.collab-button:hover,
.collab-button:focus-visible {
  color: white;
  background: transparent;
  transform: translateY(-2px);
}

.menu-toggle {
  width: 38px;
  height: 36px;
  padding: 8px 3px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease), padding .3s var(--ease), background .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled .menu-toggle { width: 46px; height: 46px; padding: 12px 8px; background: rgba(13,42,64,.94); box-shadow: 0 9px 25px rgba(5,25,38,.2); }

.menu-toggle span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 999px;
  transform-origin: center;
  transition: transform .35s var(--ease), width .35s var(--ease);
}

.menu-toggle span:nth-child(1) { width: 28px; }
.menu-toggle span:nth-child(2) { width: 21px; }
.menu-toggle span:nth-child(3) { width: 14px; }

.menu-toggle:hover span:nth-child(1),
.menu-toggle:focus-visible span:nth-child(1) { transform: translateX(4px); width: 19px; }
.menu-toggle:hover span:nth-child(2),
.menu-toggle:focus-visible span:nth-child(2) { transform: translateX(-3px); width: 29px; }
.menu-toggle:hover span:nth-child(3),
.menu-toggle:focus-visible span:nth-child(3) { transform: translateX(7px); width: 22px; }

.fullscreen-menu {
  position: fixed;
  z-index: 999;
  inset: 0;
  padding: 30px clamp(26px, 4.5vw, 72px) 48px;
  color: white;
  background: linear-gradient(135deg, #112d40 0%, #164b55 58%, #039087 130%);
  visibility: hidden;
  opacity: 0;
  clip-path: circle(0% at calc(100% - 73px) 50px);
  transition: opacity .45s ease, clip-path .7s var(--ease), visibility 0s linear .7s;
}

.fullscreen-menu.is-open {
  visibility: visible;
  opacity: 1;
  clip-path: circle(150% at calc(100% - 73px) 50px);
  transition-delay: 0s;
}

.menu-backdrop-shape {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .08;
}

.menu-backdrop-shape::before,
.menu-backdrop-shape::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  background: url("../icons/logo.svg") center / contain no-repeat;
}
.menu-backdrop-shape::before { left: -14vw; bottom: -23vw; width: min(72vw, 920px); transform: rotate(-10deg); }
.menu-backdrop-shape::after { right: -13vw; top: -10vw; width: min(43vw, 560px); transform: rotate(13deg); }

.menu-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }

.menu-close {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .25s ease;
}

.menu-close:hover { transform: rotate(90deg); background: rgba(255,255,255,.1); }
.menu-close span { position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; background: white; }
.menu-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.menu-layout {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  height: calc(100% - 52px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, .65fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
}

.menu-nav { display: grid; }

.menu-nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  width: fit-content;
  font-size: clamp(39px, 5vw, 76px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
  transition: color .25s ease, transform .35s var(--ease);
}

.menu-nav a:hover { color: var(--teal-bright); transform: translateX(12px); }

.menu-details { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 18px; }
.menu-details .eyebrow { color: var(--teal-bright); }
.menu-contact { display: grid; gap: 10px; margin-top: 4px; }
.menu-contact > a, .menu-contact > span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); }
.menu-contact > a { font-weight: 700; }
.menu-contact > a:hover { color: #fff; }
.menu-contact .ui-icon { color: var(--teal-bright); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: rgba(255,255,255,.82); transition: transform .25s var(--ease), color .25s ease, background .25s ease, border-color .25s ease; }
.social-links a:hover { color: var(--blue-deep); background: #fff; border-color: #fff; transform: translateY(-3px); }
.menu-details small { color: rgba(255,255,255,.5); font-size: 12px; }

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: #fff;
  background: #08282e;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,24,29,.82) 0%, rgba(3,24,29,.57) 34%, rgba(3,24,29,.12) 62%, transparent 100%);
  pointer-events: none;
}

.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--hero-video-transition, .5s) ease;
}

.hero-video.is-active {
  z-index: 0;
  opacity: 1;
}

/* De nieuwe clip vervaagt bovenop de volledig zichtbare vorige clip.
   Daardoor kan de blauwe hero-achtergrond niet door de overgang heen schijnen. */
.hero-video.is-entering {
  z-index: 1;
  opacity: 1;
}

.hero-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: clamp(28px, 7vw, 132px);
  width: min(680px, 47vw);
  transform: translateY(-50%);
}

.hero-kicker {
  margin: 0 0 12px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
  font-size: clamp(48px, 5.5vw, 92px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-title-link {
  position: relative;
  display: inline-block;
  color: inherit;
  transform: translateX(0);
  transition: color .25s ease, text-shadow .25s ease, transform .3s var(--ease);
}

.hero-title-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.035em;
  left: 0;
  height: .075em;
  border-radius: 999px;
  background: var(--teal-bright);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s var(--ease);
}

.hero-title-link:hover,
.hero-title-link:focus-visible {
  color: #fff;
  text-shadow: 0 0 28px rgba(0,170,162,.42);
  transform: translateX(.045em);
}

.hero-title-link:hover::after,
.hero-title-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.hero-title-link:focus-visible {
  outline-offset: .09em;
}

.hero-copy {
  max-width: 540px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.hero-cta:hover,
.hero-cta:focus-visible { transform: translateY(-2px); }
.hero-cta-primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 12px 34px rgba(0, 170, 162, .22);
}
.hero-cta-primary:hover,
.hero-cta-primary:focus-visible { color: #fff; background: var(--teal-bright); border-color: var(--teal-bright); }
.hero-cta-secondary { color: #fff; background: rgba(4,31,37,.18); backdrop-filter: blur(6px); }
.hero-cta-secondary:hover,
.hero-cta-secondary:focus-visible { color: #122f37; background: #fff; border-color: #fff; }

.marquee {
  position: relative;
  z-index: 10;
  height: 76px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: transparent;
  background: #224b50;
  border-top: 1px solid rgba(255,255,255,.08);
  transform: rotate(-.15deg);
  transform-origin: left center;
}

.marquee-track {
  height: 100%;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
  padding-top: .04em;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.02em;
  -webkit-text-stroke: 1.2px rgba(255,255,255,.68);
}

.marquee-track i { color: rgba(255,255,255,.72); font-size: .52em; font-style: normal; line-height: 1; -webkit-text-stroke: 0; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

.intro {
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(85px, 10vw, 150px) 0;
  background:
    radial-gradient(circle at 4% 54%, rgba(55,64,68,.05), transparent 24%),
    radial-gradient(circle at 96% 88%, rgba(23,55,76,.045), transparent 23%),
    linear-gradient(180deg, #fafafa 0%, #f4f4f3 48%, #e9ebea 100%);
}

.intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 55%;
  right: clamp(-720px, -30vw, -360px);
  width: clamp(900px, 92vw, 1450px);
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--blue-deep), var(--teal));
  -webkit-mask: url("../icons/logo.svg") center / contain no-repeat;
  mask: url("../icons/logo.svg") center / contain no-repeat;
  opacity: .024;
  transform: translate3d(0, -50%, 0) rotate(-5deg);
  animation: intro-mark-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes intro-mark-drift {
  from { transform: translate3d(-28px, calc(-50% - 20px), 0) rotate(-5.5deg); }
  to { transform: translate3d(38px, calc(-50% + 24px), 0) rotate(-2.5deg); }
}

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(60px, 10vw, 160px);
  align-items: start;
}

.intro h2,
.services-showcase h2,
.portfolio h2,
.about h2,
.about h3,
.contact h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
  font-size: var(--section-heading);
  text-wrap: balance;
}

.intro-copy { max-width: 580px; }
.intro-copy p { margin: 0 0 24px; }
.intro-copy .lead { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.55; }

.author { margin-top: 34px; display: flex; align-items: center; gap: 15px; }
.author img { width: 58px; height: 58px; object-fit: cover; border: 1px solid #d9dddc; border-radius: 50%; }
.author strong, .author span { display: block; }
.author strong { font-size: 15px; }
.author span { color: #5e6667; font-size: 12px; }

.eyebrow { margin: 0 0 16px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .18em; line-height: 1.2; text-transform: uppercase; }

.services-showcase {
  z-index: 2;
  overflow: hidden;
  padding: clamp(88px, 8vw, 124px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 15%, rgba(92,214,207,.2), transparent 30%),
    radial-gradient(circle at 18% 78%, rgba(44,167,162,.16), transparent 28%),
    linear-gradient(135deg, #173f47 0%, #1f5259 58%, #2a686a 100%);
}

.services-layout {
  width: min(1320px, calc(100vw - 56px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, .68fr) minmax(670px, 1.32fr);
  gap: clamp(46px, 5vw, 78px);
  align-items: start;
}

.services-story { position: sticky; top: clamp(90px, 10vh, 132px); max-width: 470px; }
.services-story h2 {
  max-width: 500px;
  margin-bottom: clamp(30px, 3vw, 44px);
  font-size: clamp(38px, 3.7vw, 56px);
}

.services-heading > span:first-child { display: block; }

.service-word-rotator {
  position: relative;
  display: block;
  width: 100%;
  height: 1.08em;
  margin-top: .08em;
  overflow: hidden;
  color: #62d9d2;
  line-height: 1.08;
  text-shadow: 0 10px 34px rgba(0, 170, 162, .2);
}

.service-word {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  max-width: 100%;
  white-space: nowrap;
  transition: opacity .62s ease, filter .62s ease, transform .62s var(--ease);
  will-change: opacity, filter, transform;
}

.service-word--current { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }
.service-word--next { opacity: 0; filter: blur(7px); transform: translate3d(0, 105%, 0); }
.service-word-rotator.is-changing .service-word--current { opacity: 0; filter: blur(7px); transform: translate3d(0, -105%, 0); }
.service-word-rotator.is-changing .service-word--next { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }
.service-word-rotator.is-resetting .service-word { transition: none; }
.services-story p { margin: 0 0 22px; color: rgba(241,248,247,.78); font-size: clamp(15px, 1.08vw, 17px); line-height: 1.75; }
.services-story .lead { color: #fff; font-size: clamp(18px, 1.35vw, 21px); font-weight: 600; line-height: 1.62; }
.services-contact { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 12px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.54); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .3s var(--ease); }
.services-contact span { font-size: 20px; line-height: .7; transition: transform .3s var(--ease); }
.services-contact:hover, .services-contact:focus-visible { color: #173f47; border-color: #fff; background: #fff; transform: translateY(-2px); }
.services-contact:hover span, .services-contact:focus-visible span { transform: translateX(4px); }

.service-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}

.service-card {
  --card-delay: 0s;
  --card-reveal-x: 0px;
  --card-reveal-y: 46px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 72px;
  min-width: 0;
  min-height: clamp(350px, 29vw, 410px);
  display: flex;
  border-radius: clamp(20px, 2vw, 30px);
  color: #17282b;
  background: #f3f1e9;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, var(--card-reveal-y), 0);
  box-shadow: 0 28px 55px rgba(2,11,14,.16);
  transition: opacity .72s var(--ease), transform .9s var(--ease), box-shadow .45s var(--ease), background-color .45s ease;
  transition-delay: var(--card-delay);
}

.service-card:nth-child(2) { --card-delay: .13s; }
.service-card:nth-child(3) { --card-delay: .26s; }
.service-card:nth-child(4) { --card-delay: .39s; }
.service-card.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

.service-card--design,
.service-card--print,
.service-card--web,
.service-card--artist { --service-card-accent: #038f8c; }

.service-card-content { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(30px, 2.8vw, 44px); }
.service-card-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.service-card-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: var(--service-card-accent);
  transition: color .35s ease, transform .35s var(--ease);
}
.service-card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0; font-size: clamp(25px, 2vw, 32px); line-height: 1; letter-spacing: -.045em; transition: color .35s ease; }
.service-card-content > p { max-width: 360px; margin: clamp(21px, 1.8vw, 27px) 0 22px; color: #4b595b; font-size: clamp(14px, 1.02vw, 16px); line-height: 1.62; }
.service-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; padding: 0; color: #405052; list-style: none; }
.service-card-tags li { padding: 7px 10px; border: 1px solid rgba(21,33,35,.12); border-radius: 999px; background: rgba(255,255,255,.7); font-size: 11px; font-weight: 700; line-height: 1.1; }
.service-card-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: auto; padding: 11px 16px; border-radius: 999px; color: #fff; background: #123b44; font-size: 12px; font-weight: 700; line-height: 1; transition: color .3s ease, background-color .3s ease, transform .35s var(--ease); }
.service-card-link span { font-size: 20px; font-weight: 400; line-height: .7; transition: transform .35s var(--ease); }
.service-card:focus-visible { outline: 3px solid #50d1ca; outline-offset: 6px; }

@media (hover: hover) and (pointer: fine) {
  .service-card:hover { transform: translate3d(0, -7px, 0); box-shadow: 0 36px 66px rgba(2,11,14,.25); }
  .service-card:hover h3 { color: var(--service-card-accent); }
  .service-card:hover .service-card-icon { color: var(--service-card-accent); transform: scale(1.08) rotate(-2deg); }
  .service-card:hover .service-card-link { background: var(--service-card-accent); transform: translateY(-2px); }
  .service-card:hover .service-card-link span { transform: translateX(4px); }
}

.portfolio {
  z-index: 1;
  --portfolio-card-width: clamp(292px, 29vw, 410px);
  padding: clamp(84px, 8vw, 120px) 0;
  overflow: hidden;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(circle at 87% 20%, rgba(48,157,153,.14), transparent 29%),
    radial-gradient(circle at 9% 91%, rgba(43,112,120,.13), transparent 27%),
    linear-gradient(135deg, #101d23 0%, #122a31 58%, #15373d 100%);
}

.portfolio::before { content: ""; position: absolute; z-index: 0; inset: 0 0 auto; height: 1px; background: rgba(255,255,255,.12); pointer-events: none; }

.portfolio-glow { position: absolute; top: -30%; right: 4%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(86,204,197,.1); filter: blur(90px); pointer-events: none; }
.portfolio-intro { position: relative; z-index: 2; }
.portfolio h2 { max-width: 850px; margin: 0; font-size: var(--section-heading); line-height: .96; text-align: left; }
.portfolio-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(28px, 5vw, 80px); }
.portfolio-controls { display: flex; gap: 9px; flex: 0 0 auto; }
.portfolio-controls button { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); cursor: pointer; transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease; }
.portfolio-controls svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.portfolio-controls button:hover, .portfolio-controls button:focus-visible { color: #fff; border-color: var(--teal); background: var(--teal); }
.portfolio-controls button:hover { transform: translateY(-2px); }
.portfolio-controls button:disabled { opacity: .38; cursor: default; }

.portfolio-scroll-shell { position: relative; z-index: 2; margin-top: clamp(32px, 4vw, 54px); }
.portfolio-pin { position: relative; }
.portfolio-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
}
.portfolio-viewport::-webkit-scrollbar { display: none; }
.portfolio-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.portfolio-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.25vw, 34px);
  padding: 54px max(28px, calc((100vw - var(--container)) / 2)) 62px;
  user-select: none;
}

.portfolio-footer { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: clamp(8px, 1.5vw, 22px); }
.portfolio-all-link { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 14px 21px; border-radius: 999px; color: #173f47; background: #fff; font-size: 14px; font-weight: 700; transition: color .25s ease, background-color .25s ease, transform .3s var(--ease); }
.portfolio-all-link span { font-size: 20px; font-weight: 400; line-height: .7; transition: transform .3s var(--ease); }
.portfolio-all-link:hover, .portfolio-all-link:focus-visible { color: #fff; background: var(--teal); transform: translateY(-2px); }
.portfolio-all-link:hover span { transform: translateX(4px); }

.project-card {
  --card-scale: 1;
  --card-rotation: 0deg;
  --card-image-x: 0px;
  --card-image-scale: 1.11;
  --card-level-y: 0px;
  position: relative;
  width: var(--portfolio-card-width);
  aspect-ratio: .77;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: clamp(23px, 2.3vw, 33px);
  background: #1b383a;
  cursor: pointer;
  scroll-snap-align: center;
  box-shadow: 0 24px 55px rgba(10,30,31,.16);
  transform: translate3d(0, var(--card-level-y), 0) scale(var(--card-scale)) rotate(var(--card-rotation));
  transform-origin: 50% -24px;
  will-change: transform;
}
.project-card:nth-child(1) { --card-level-y: -22px; }
.project-card:nth-child(2) { --card-level-y: 30px; }
.project-card:nth-child(3) { --card-level-y: -8px; }
.project-card:nth-child(4) { --card-level-y: 38px; }
.project-card:nth-child(5) { --card-level-y: -26px; }

.project-media { position: absolute; inset: 0; overflow: hidden; }
.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,16,18,.03) 30%, rgba(5,16,18,.86) 100%); pointer-events: none; }
.project-media img { position: absolute; top: 0; left: -10%; width: 120%; height: 100%; object-fit: cover; -webkit-user-drag: none; transform: translate3d(var(--card-image-x), 0, 0) scale(var(--card-image-scale)); will-change: transform; transition: filter .4s ease; }
.project-number { position: absolute; z-index: 2; top: 22px; left: 23px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.project-card-copy { position: absolute; z-index: 2; right: 74px; bottom: 25px; left: 24px; color: #fff; text-align: left; }
.project-card-copy strong { display: block; font-size: clamp(23px, 2vw, 30px); line-height: 1; letter-spacing: -.035em; }
.project-card-copy small { display: block; margin-top: 8px; color: rgba(255,255,255,.68); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.project-card-arrow { position: absolute; z-index: 2; right: 23px; bottom: 23px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: rgba(13,35,37,.28); font-size: 18px; }
.project-card:hover, .project-card:focus-visible { --card-image-scale: 1.16; }
.project-card:hover .project-media img, .project-card:focus-visible .project-media img { filter: brightness(.9) saturate(1.05); }

.about {
  overflow: hidden;
  overflow: clip;
  padding: 0;
  background:
    radial-gradient(circle at 52% 45%, rgba(109,204,198,.14), transparent 31%),
    radial-gradient(circle at 12% 16%, rgba(23,55,76,.07), transparent 24%),
    #f7f7f4;
  text-align: center;
}

.client-showcase::before {
  content: "";
  position: absolute;
  inset: 8% 15%;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  filter: blur(85px);
  pointer-events: none;
}

.client-cloud {
  position: relative;
  width: min(1480px, calc(100% - 40px));
  height: clamp(700px, 53vw, 840px);
  min-height: 700px;
  margin-inline: auto;
}

.client-copy {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(900px, 70vw);
  transform: translate(-50%, -50%);
}

.client-copy .eyebrow { margin-bottom: 19px; }
.client-copy h2 { margin: 0; font-size: clamp(44px, 4.5vw, 70px); line-height: .98; letter-spacing: -.05em; }
.client-copy > p:not(.eyebrow) { max-width: 680px; margin: 30px auto 0; color: #404647; font-size: var(--body-size); }

.client-reveal-word {
  display: inline-block;
  opacity: var(--word-opacity, 1);
  filter: blur(var(--word-blur, 0));
  transform: translate3d(0, var(--word-y, 0), 0);
  transform-origin: center bottom;
  will-change: opacity, filter, transform;
}

@media (min-width: 701px) {
  .client-reveal-word {
    transition: opacity .1s linear, filter .1s linear, transform .1s linear;
  }
}

.client-logo {
  --parallax-x: 0px;
  --parallax-y: 0px;
  --parallax-rotate: 0deg;
  --rotate: 0deg;
  position: absolute;
  z-index: 2;
  width: clamp(96px, 10vw, 165px);
  aspect-ratio: 1;
  padding: clamp(8px, .85vw, 13px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(20,48,51,.08);
  border-radius: clamp(14px, 1.4vw, 22px);
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 50px rgba(24,59,60,.09);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(calc(var(--rotate) + var(--parallax-rotate)));
  transform-origin: center;
  will-change: transform;
  transition: border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .62;
  filter: grayscale(1) contrast(.92);
  transition: opacity .35s ease, filter .35s ease, transform .35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .client-logo:hover { border-color: rgba(3,143,140,.2); background: #fff; box-shadow: 0 26px 60px rgba(24,59,60,.15); }
  .client-logo:hover img { opacity: 1; filter: grayscale(0) contrast(1.05); transform: scale(1.06); }
}

.client-logo--01 { top: 7%; left: 2%; width: clamp(150px, 13.5vw, 210px); --rotate: -5deg; }
.client-logo--02 { top: 17%; left: 20%; width: clamp(98px, 8vw, 128px); --rotate: 3deg; }
.client-logo--03 { top: 43%; left: 5%; width: clamp(122px, 10.5vw, 168px); --rotate: 4deg; }
.client-logo--04 { bottom: 8%; left: 18%; width: clamp(145px, 12vw, 188px); --rotate: -3deg; }
.client-logo--05 { top: 5%; left: 38%; width: clamp(92px, 7vw, 112px); --rotate: -2deg; }
.client-logo--06 { top: 8%; right: 3%; width: clamp(148px, 12.5vw, 198px); --rotate: 5deg; }
.client-logo--07 { top: 21%; right: 21%; width: clamp(100px, 8vw, 128px); --rotate: -4deg; }
.client-logo--08 { top: 45%; right: 4%; width: clamp(150px, 12.5vw, 198px); --rotate: -3deg; }
.client-logo--09 { right: 19%; bottom: 7%; width: clamp(135px, 11vw, 175px); --rotate: 3deg; }
.client-logo--10 { right: 39%; bottom: 3%; width: clamp(92px, 7vw, 112px); --rotate: -2deg; }
.client-logo--11 { bottom: 4%; left: 2%; width: clamp(110px, 9vw, 145px); --rotate: 4deg; }
.client-logo--12 { bottom: 5%; left: 38%; width: clamp(96px, 7.5vw, 120px); --rotate: 3deg; }

@media (min-width: 701px) and (max-width: 1100px) {
  .client-cloud { width: calc(100% - 32px); height: 800px; min-height: 800px; }
  .client-copy { width: min(600px, 74vw); }
  .client-copy h2 { font-size: clamp(46px, 6.4vw, 62px); }
  .client-logo { padding: 8px; border-radius: 16px; }

  .client-logo--01 { top: 3%; left: 2%; width: clamp(112px, 15vw, 132px); }
  .client-logo--05 { top: 2%; left: 43%; width: clamp(80px, 9.5vw, 90px); }
  .client-logo--06 { top: 4%; right: 2%; width: clamp(108px, 14vw, 120px); }
  .client-logo--02 { top: 20%; left: 17%; width: clamp(78px, 10vw, 84px); }
  .client-logo--07 { top: 21%; right: 17%; width: clamp(78px, 10vw, 84px); }
  .client-logo--03 { top: 40%; left: 0; width: clamp(74px, 10vw, 80px); }
  .client-logo--08 { top: 40%; right: 0; width: clamp(74px, 10vw, 80px); }
  .client-logo--11 { top: 68%; bottom: auto; left: 0; width: clamp(74px, 10vw, 80px); }
  .client-logo--09 { top: 68%; right: 0; bottom: auto; width: clamp(74px, 10vw, 80px); }
  .client-logo--04 { bottom: 3%; left: 8%; width: clamp(108px, 14vw, 124px); }
  .client-logo--12 { bottom: 2%; left: 43%; width: clamp(82px, 10vw, 92px); }
  .client-logo--10 { right: 8%; bottom: 4%; width: clamp(80px, 10vw, 90px); }
}

.contact { overflow: hidden; padding: clamp(90px, 10vw, 145px) 0; color: white; background: var(--blue-deep); }
.contact-shapes { position: absolute; inset: 0; opacity: .07; }
.contact-shapes::before { content: ""; position: absolute; left: -17vw; bottom: -29vw; width: min(76vw, 1050px); aspect-ratio: 1; background: url("../icons/logo.svg") center / contain no-repeat; transform: rotate(-12deg); }
.contact-shapes::after { content: ""; position: absolute; right: 5%; top: -25%; width: 28%; height: 125%; background: linear-gradient(90deg, transparent, #3ca1a0); transform: skewX(-18deg); opacity: .6; }

.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(70px, 10vw, 150px); }
.contact h2 { margin-bottom: 25px; }
.contact-copy > p:not(.eyebrow) { max-width: 470px; margin: 0 0 28px; color: rgba(255,255,255,.72); }
.contact-copy .eyebrow { color: #43c3bc; }
.contact address { display: flex; flex-direction: column; gap: 5px; margin-bottom: 20px; font-style: normal; font-weight: 700; }
.contact address > a, .contact address > span { display: flex; align-items: center; gap: 9px; width: fit-content; }
.contact address .ui-icon { width: 17px; height: 17px; color: #43c3bc; }
.contact address a:hover { color: #54d1ca; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 18px; margin: 27px 0 21px; }
.contact-socials a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: opacity .25s ease, transform .3s var(--ease);
}
.contact-socials .social-icon { width: 23px; height: 23px; color: currentColor; }
.contact-socials a:hover,
.contact-socials a:focus-visible { opacity: .65; transform: translateY(-3px) scale(1.06); }
.contact-copy small { color: rgba(255,255,255,.45); font-size: 11px; }

.contact-form {
  position: relative;
  padding: clamp(31px, 4vw, 55px);
  color: #14191a;
  background: white;
  box-shadow: 0 22px 50px rgba(3,18,29,.2);
}

.form-honeypot { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 18px; color: #24292a; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid transparent; border-radius: 0; outline: 0; color: #161a1b; background: #f0f2f1; font-size: 15px; letter-spacing: 0; text-transform: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,142,138,.12); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-footer { display: flex; align-items: center; gap: 18px; }
.submit-button { display: inline-flex; align-items: center; gap: 15px; min-height: 43px; padding: 11px 21px; border: 0; border-radius: 999px; color: white; background: var(--teal); font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 9px 20px rgba(0,142,138,.22); transition: transform .25s var(--ease), background .25s ease; }
.submit-button:hover { transform: translateY(-2px); background: #007b79; }
.submit-button:disabled { cursor: wait; opacity: .62; transform: none; }
.submit-button span { font-size: 18px; line-height: 1; }
.form-footer p { max-width: 180px; margin: 0; color: #8a9293; font-size: 10px; line-height: 1.45; }
.form-status { margin: 12px 0 0; color: var(--teal); font-size: 13px; }
.form-status.is-error { color: #b42434; }
.form-status.is-success { color: var(--teal); }

.site-footer {
  min-height: 96px;
  padding: 20px clamp(26px, 4.5vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,.6);
  background: var(--blue-footer);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.footer-brand img { width: 38px; height: auto; }
.footer-main { display: flex; align-items: center; gap: clamp(20px, 4vw, 58px); min-width: 0; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.site-footer nav a:hover { color: white; }
.heart { display: inline-block; margin-inline: 2px; color: #f06b79; transform-origin: center; animation: heartbeat 1.8s ease-in-out infinite; }
@keyframes heartbeat { 0%, 38%, 60%, 100% { transform: scale(1); } 45% { transform: scale(1.28); } 52% { transform: scale(.95); } }

.whatsapp {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  background: #25d366;
  border: 3px solid rgba(255,255,255,.72);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(7,31,22,.24);
  transition: transform .25s var(--ease);
}
.whatsapp:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp svg { width: 24px; height: 24px; fill: currentColor; }

.project-modal {
  width: min(1120px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #121617;
  background: #f8f9f7;
  box-shadow: 0 35px 100px rgba(5,20,24,.4);
}
.project-modal::backdrop { background: rgba(8,26,31,.78); backdrop-filter: blur(6px); }
.modal-layout { display: grid; grid-template-columns: 1.2fr .8fr; min-height: min(680px, calc(100svh - 36px)); }
.modal-gallery { position: relative; min-height: 520px; overflow: hidden; background: #17383c; }
.modal-gallery > img { width: 100%; height: 100%; max-height: calc(100svh - 36px); object-fit: cover; }
.modal-copy { padding: clamp(45px, 6vw, 84px) clamp(35px, 5vw, 70px); align-self: center; }
.modal-copy h2 { margin: 0 0 25px; font-size: var(--section-heading); line-height: .95; letter-spacing: -.045em; }
.modal-copy > p:not(.eyebrow) { color: #4b5354; }
.modal-copy dl { display: grid; gap: 20px; margin-top: 40px; }
.modal-copy dl div { padding-top: 14px; border-top: 1px solid #d8dedd; }
.modal-copy dt { margin-bottom: 4px; color: #747c7d; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.modal-copy dd { margin: 0; font-size: 14px; font-weight: 700; }
.modal-close { position: absolute; z-index: 5; top: 17px; right: 18px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(10,26,29,.76); font-size: 30px; line-height: 1; cursor: pointer; }
.gallery-arrow { position: absolute; z-index: 3; top: 50%; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(10,28,31,.55); transform: translateY(-50%); cursor: pointer; }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-dots { position: absolute; z-index: 3; left: 50%; bottom: 20px; display: flex; gap: 7px; transform: translateX(-50%); }
.gallery-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.48); cursor: pointer; }
.gallery-dots button.is-active { width: 22px; border-radius: 999px; background: #fff; }

:focus-visible { outline: 3px solid #50d1ca; outline-offset: 4px; }

@media (max-width: 1100px) {
  .services-layout { grid-template-columns: 1fr; gap: 54px; }
  .services-story { position: static; max-width: 720px; }
  .services-story h2 { margin-bottom: 30px; }
  .service-card { min-height: 360px; }
}

@media (max-width: 980px) {
  .hero-content { width: min(620px, 55vw); }
  .hero h1 { font-size: clamp(45px, 6.4vw, 68px); }
  .hero-copy { margin-top: 18px; font-size: 16px; }
  .hero-actions { margin-top: 23px; }
  .intro-grid, .service-grid, .service-grid-reverse, .contact-grid { gap: 48px; }
  .service-grid, .service-grid-reverse { grid-template-columns: 1.05fr .95fr; }
  .service-visual img { max-height: 340px; }
  .service-card { min-height: 330px; }
  .service-card-content { padding: 32px 28px; }
  .service-card h3 { font-size: clamp(25px, 3.3vw, 31px); }
  .service-card-content > p { margin: 22px 0 21px; font-size: 14px; }
  .service-card-link { min-height: 42px; padding: 11px 15px; font-size: 12px; }
  .site-footer { grid-template-columns: auto 1fr; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-footer nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 700px) {
  .about { padding: 92px 0 98px; }
  .client-showcase::before { inset: 6% -12%; }
  .client-cloud {
    width: min(620px, calc(100% - 40px));
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .client-copy {
    position: static;
    width: auto;
    grid-column: 1 / -1;
    margin-bottom: 27px;
    transform: none;
  }
  .client-copy h2 { font-size: clamp(40px, 11vw, 48px); }
  .client-copy > p:not(.eyebrow) { max-width: 650px; margin-top: 25px; }
  .client-logo,
  .client-logo[class*="client-logo--"] {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1;
    padding: 8px;
    border-radius: 13px;
    transform: none;
    will-change: auto;
  }
  .client-logo img { width: 100%; height: 100%; }

  .client-copy.is-word-reveal-ready .client-reveal-word {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(0, 16px, 0);
    transition: opacity .55s var(--ease), filter .55s var(--ease), transform .55s var(--ease);
    transition-delay: var(--word-delay, 0ms);
  }

  .client-showcase.is-copy-visible .client-copy.is-word-reveal-ready .client-reveal-word {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 40px, 620px); --body-size: 15px; --section-heading: clamp(40px, 11vw, 48px); }
  .site-header { padding: 22px 20px; }
  .collab-button { display: none; }
  .header-actions { gap: 8px; }
  .fullscreen-menu { padding: 22px 20px 32px; }
  .menu-layout { height: calc(100% - 48px); grid-template-columns: 1fr; align-content: center; gap: 42px; }
  .menu-nav a { font-size: clamp(38px, 12vw, 58px); }
  .menu-details { font-size: 15px; }
  .menu-details .eyebrow, .menu-details small { display: none; }
  .menu-contact { gap: 8px; }
  .social-links { margin: 15px 0 0; }

  .hero {
    min-height: 620px;
    aspect-ratio: auto;
  }
  .hero::after { background: linear-gradient(180deg, rgba(3,24,29,.22) 0%, rgba(3,24,29,.42) 40%, rgba(3,24,29,.9) 100%); }
  .hero-video { object-position: 67% center; }
  .hero-content {
    top: auto;
    right: 20px;
    bottom: 54px;
    left: 20px;
    width: auto;
    transform: none;
  }
  .hero-kicker { margin-bottom: 9px; font-size: 10px; }
  .hero h1 { max-width: 560px; font-size: clamp(39px, 11vw, 56px); }
  .hero-copy { max-width: 500px; }
  .hero-actions { gap: 10px; }
  .hero-cta { min-height: 47px; padding: 12px 19px; font-size: 13px; }

  .marquee { height: 58px; }
  .marquee-track { gap: 16px; font-size: 30px; }

  .intro-grid, .service-grid, .service-grid-reverse, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .intro { padding: 78px 0 82px; }
  .intro::before { top: 54%; right: -430px; width: 760px; opacity: .022; }
  .intro-copy .lead { font-size: 18px; }

  .services-showcase { padding: 78px 0 82px; }
  .services-layout { width: var(--container); gap: 44px; }
  .services-story { max-width: 620px; }
  .services-story h2 { margin-bottom: 29px; }
  .services-story h2 { font-size: clamp(38px, 10vw, 48px); }
  .services-story .lead { font-size: 18px; }
  .services-contact { margin-top: 8px; }

  .service-cards { grid-template-columns: 1fr; gap: 13px; }
  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    --card-reveal-x: 0px;
    --card-reveal-y: 38px;
    --card-reveal-rotate: 0deg;
    min-height: 290px;
    margin-top: 0;
    border-left: 0;
  }
  .service-card-content { padding: 32px 29px; }
  .service-card h3 { font-size: clamp(27px, 7.4vw, 34px); }
  .service-card-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .service-card-content > p { margin: 20px 0 24px; font-size: 16px; }
  .service-card-tags { margin-bottom: 23px; }
  .service-card-tags li { font-size: 11px; }
  .service-card-link { min-height: 44px; margin-top: 28px; padding: 11px 16px; font-size: 13px; }

  .service { padding-block: 76px; }
  .service-grid-reverse .service-visual { order: 2; }
  .service-visual { min-height: 280px; }
  .service-visual img { max-height: 330px; }
  .service-visual-wide img { max-height: 260px; }

  .portfolio { --portfolio-card-width: min(78vw, 310px); padding: 78px 0 74px; }
  .portfolio h2 { padding: 0; }
  .portfolio-title-row { align-items: flex-end; gap: 16px; }
  .portfolio-controls { gap: 7px; }
  .portfolio-controls button { width: 42px; height: 42px; }
  .portfolio-scroll-shell { margin-top: 20px; }
  .portfolio-track { gap: 18px; padding: 38px 20px 46px; }
  .portfolio-footer { margin-top: 8px; }
  .project-card { border-radius: 23px; transform-origin: 50% -18px; }
  .project-card:nth-child(1) { --card-level-y: -10px; }
  .project-card:nth-child(2) { --card-level-y: 16px; }
  .project-card:nth-child(3) { --card-level-y: -4px; }
  .project-card:nth-child(4) { --card-level-y: 18px; }
  .project-card:nth-child(5) { --card-level-y: -12px; }

  .contact { padding-block: 78px; }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-footer { align-items: flex-start; flex-direction: column; }

  .site-footer { padding: 25px 20px; grid-template-columns: auto 1fr; }
  .site-footer nav { gap: 10px 15px; }
  .whatsapp { right: 16px; bottom: 15px; width: 45px; height: 45px; }

  .project-modal { overflow-y: auto; }
  .modal-layout { grid-template-columns: 1fr; }
  .modal-gallery { min-height: 53svh; height: 53svh; }
  .modal-gallery > img { height: 100%; }
  .modal-copy { padding: 42px 28px 55px; }
}

@media (max-width: 430px) {
  :root { --section-heading: 40px; }
  .menu-nav a { font-size: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .project-card { --card-scale: 1 !important; --card-rotation: 0deg !important; }
  .project-media img { --card-image-x: 0px !important; }
  .client-logo { --parallax-x: 0px !important; --parallax-y: 0px !important; --parallax-rotate: 0deg !important; will-change: auto; }
  .client-reveal-word { opacity: 1 !important; filter: none !important; transform: none !important; will-change: auto; }
  .service-card { opacity: 1 !important; transform: none !important; }
  .service-card-media::after { transform: translateY(-102%) !important; }
  .intro::before { transform: translate3d(0, -50%, 0) rotate(-5deg) !important; }
  .service-word--current { opacity: 1 !important; filter: none !important; transform: none !important; }
  .service-word--next { display: none !important; }
}
