/* ==========================================================================
   Siebe Bakker Media — stylesheet
   Brand: navy #324355 · red #BE1A15 (sampled from logo)
   ========================================================================== */

/* Self-hosted fonts (no third-party requests: faster + privacy-friendly). Latin subset covers Dutch. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/outfit-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/inter-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/caveat-700-latin.woff2") format("woff2"); }

:root {
  --navy: #324355;
  --navy-700: #283748;
  --navy-900: #1b2532;
  --red: #be1a15;
  --red-600: #a3150f;
  --red-soft: #fbe9e8;
  --cream: #f7f4ef;
  --sand: #efe9e0;
  --white: #ffffff;
  --ink: #1b2532;
  --text: #3d4957;
  --muted: #6a7684;
  --line: rgba(50, 67, 85, 0.14);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(27, 37, 50, 0.06);
  --shadow: 0 18px 40px -18px rgba(27, 37, 50, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(27, 37, 50, 0.38);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(60px, 8vw, 104px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.78); }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--navy .eyebrow { color: #ff8c86; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--text); }
.accent { color: var(--red); }
.serif-ish { font-weight: 300; font-style: italic; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover { --bg: var(--red-600); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(190, 26, 21, 0.6); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn--ghost:hover { --bg: var(--navy); --fg: #fff; border-color: var(--navy); box-shadow: var(--shadow); }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--light:hover { --bg: var(--cream); }
.btn--outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--outline-light:hover { --bg: #fff; --fg: var(--navy); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and trap it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; display: block; padding: 10px 16px;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--navy);
  text-decoration: none; border-radius: 999px; transition: background 0.2s;
}
.nav__links a:hover { background: rgba(50, 67, 85, 0.07); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--red);
}
.nav .btn { margin-left: 12px; padding: 12px 22px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--navy); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }
body.nav-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 120; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px;
    padding: 100px var(--gutter) 40px;
    background: var(--navy);
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; gap: 4px; }
  .nav__links a { color: #fff; font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 600; padding: 4px 0; letter-spacing: -0.02em; }
  .nav__links a:hover { background: none; color: #ff8c86; }
  .nav__links a[aria-current="page"] { color: #ff8c86; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-left: 0; }
  .site-header .container { height: 72px; }
  .brand img { height: 44px; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(36px, 5vw, 72px) clamp(40px, 5vw, 72px); overflow: hidden; }
.hero__watermark {
  position: absolute; right: -2vw; bottom: -4vw; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(10rem, 30vw, 26rem); line-height: 0.8;
  letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(50, 67, 85, 0.08);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent svg {
  position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.3em; color: var(--red); opacity: 0.9;
}
.hero .lead { max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__values { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.hero__values li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; color: var(--navy); }
.hero__values svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 430px); }

/* ---------- Showcase (story-style stacked slideshow) ---------- */
.showcase { position: relative; --dur: 5200ms; }
.showcase__stage { position: relative; aspect-ratio: 4 / 5; touch-action: pan-y; }

/* Instagram-story progress bars */
.showcase__progress {
  position: absolute; z-index: 20; top: 14px; left: 14px; right: 14px;
  display: flex; gap: 5px; padding: 7px 9px; border-radius: 999px;
  background: rgba(27, 37, 50, 0.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.showcase__progress span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.showcase__progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: #fff; }
.showcase__progress .is-done i { width: 100%; }
.showcase__progress .is-current i { animation: sbm-progress var(--dur) linear forwards; }
.showcase.is-paused .showcase__progress .is-current i { animation-play-state: paused; }
@keyframes sbm-progress { from { width: 0; } to { width: 100%; } }

/* Card deck */
.slide {
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--sand); box-shadow: var(--shadow-lg);
  transform-origin: 50% 85%;
  transition: transform 0.85s var(--ease), opacity 0.6s ease, filter 0.6s ease;
}
.slide[data-pos="0"] { z-index: 10; transform: none; }
.slide[data-pos="1"] { z-index: 9; transform: translate(9%, -3%) rotate(6deg) scale(0.92); filter: brightness(0.9) saturate(0.9); }
.slide[data-pos="2"] { z-index: 8; transform: translate(-8%, -5%) rotate(-6deg) scale(0.86); filter: brightness(0.82) saturate(0.85); }
.slide[data-pos="hidden"] { z-index: 7; transform: translate(0, -7%) scale(0.8); opacity: 0; }
/* Fly out to the right, away from the hero text on the left. */
.slide[data-pos="out"] {
  z-index: 11; transform: translate(60%, -4%) rotate(16deg) scale(0.92); opacity: 0;
  transition: transform 0.75s var(--ease), opacity 0.4s ease 0.1s;
}
.slide.no-anim { transition: none !important; }

.slide__media { position: absolute; inset: 0; }
.slide__media > img:not(.pg) { width: 100%; height: 100%; object-fit: cover; }

/* Ken Burns on the front slide */
.kb { transform-origin: 50% 40%; }
.slide[data-pos="0"] .kb { animation: sbm-kb calc(var(--dur) + 1200ms) ease-out forwards; }
.slide[data-pos="0"] .kb--zoom { transform-origin: 50% 46%; animation-name: sbm-kb-zoom; }
.slide[data-pos="0"] .kb--soft { animation-name: sbm-kb-soft; }
.slide[data-pos="0"] .kb--gentle { animation-name: sbm-kb-gentle; }
.slide--work { background: var(--navy-900); }
.showcase.is-paused .slide .kb { animation-play-state: paused; }
@keyframes sbm-kb { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes sbm-kb-zoom { from { transform: scale(1.5) translateY(2%); } to { transform: scale(1.18) translateY(-1%); } }
@keyframes sbm-kb-gentle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes sbm-kb-soft { from { transform: scale(0.9) rotate(-3deg); } to { transform: scale(1) rotate(0); } }

/* Composed work slides */
.slide--amuse { background: radial-gradient(120% 90% at 30% 10%, #ffd9a0 0%, #f39a2b 60%, #d97b10 100%); }
.slide--moio { background: radial-gradient(120% 90% at 70% 10%, #f3eadb 0%, #cdb99b 70%, #a89275 100%); }
.slide--logo { background: radial-gradient(100% 80% at 50% 30%, #ffffff 0%, #f1ede6 100%); }
.slide--detail { background: #fff; }
.slide--photo .slide__media::after,
.slide--detail .slide__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(27, 37, 50, 0.25) 0%, transparent 22%, transparent 55%, rgba(27, 37, 50, 0.45) 100%);
}

.slide__fan .pg, .slide__spread .pg {
  position: absolute; left: 50%; top: 42%; height: auto; border-radius: 4px;
  box-shadow: 0 26px 44px -18px rgba(27, 37, 50, 0.6);
  transition: transform 1.1s var(--ease) 0.15s;
}
.slide__fan .pg { width: 46%; }
.slide__fan .pg1 { transform: translate(-50%, -50%) rotate(0deg); }
.slide__fan .pg3 { transform: translate(-50%, -50%) rotate(0deg); }
.slide__fan .pg2 { transform: translate(-50%, -50%); z-index: 2; }
.slide[data-pos="0"] .slide__fan .pg1 { transform: translate(-112%, -46%) rotate(-12deg); }
.slide[data-pos="0"] .slide__fan .pg3 { transform: translate(12%, -46%) rotate(12deg); }
.slide[data-pos="0"] .slide__fan .pg2 { transform: translate(-50%, -54%) scale(1.04); }

.slide__spread .pg { width: 80%; top: 46%; }
.slide__spread .pg1 { transform: translate(-50%, -50%); }
.slide__spread .pg2 { transform: translate(-50%, -50%); z-index: 2; }
.slide[data-pos="0"] .slide__spread .pg1 { transform: translate(-56%, -6%) rotate(-5deg); }
.slide[data-pos="0"] .slide__spread .pg2 { transform: translate(-44%, -80%) rotate(3deg); }

.slide__logo { display: grid; place-items: center; padding: 22% 20% 34%; }
.slide__media.slide__logo > img { width: 100%; height: 100%; object-fit: contain; }

/* Caption card */
.slide__caption {
  position: absolute; z-index: 5; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 14px 14px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -12px rgba(27, 37, 50, 0.35);
  font-family: var(--font-display); line-height: 1.25;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.slide[data-pos="0"] .slide__caption { opacity: 1; transform: none; transition-delay: 0.35s; }
.slide__chip { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 3px; }
.slide__caption strong { display: block; color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.slide__caption small { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 2px; font-family: var(--font-body); }
.slide__link {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; transition: background 0.25s, transform 0.3s var(--ease);
}
.slide__link:hover { background: var(--red); transform: rotate(45deg); }
.slide__link svg { width: 18px; height: 18px; }

/* Controls */
.showcase__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-inline: 4px; }
.showcase__count { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--muted); letter-spacing: 0.08em; }
.showcase__count strong { color: var(--navy); font-size: 1.35rem; font-weight: 600; }
.showcase__buttons { display: flex; gap: 8px; }
.showcase__btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.showcase__btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.showcase__btn--next { background: var(--red); border-color: var(--red); color: #fff; }
.showcase__btn--next:hover { background: var(--red-600); border-color: var(--red-600); }
.showcase__btn svg { width: 19px; height: 19px; }
.showcase__btn .i-play { display: none; }
.showcase__btn[aria-pressed="true"] .i-play { display: block; }
.showcase__btn[aria-pressed="true"] .i-pause { display: none; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: min(100% - 40px, 380px); margin: 8px auto 0; }
}

/* ---------- Logo marquee ---------- */
.marquee-wrap { padding-block: 44px; background: #fff; border-block: 1px solid var(--line); }
.marquee-label {
  text-align: center; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px;
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 64px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s, opacity 0.3s; }
.marquee__track img:hover { filter: none; opacity: 1; }
.marquee__track .on-dark { filter: brightness(0); opacity: 0.5; }
.marquee__track .on-dark:hover { filter: brightness(0); opacity: 0.85; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Intro / welcome ---------- */
.welcome { position: relative; overflow: hidden; }
.welcome::after {
  content: ""; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(190, 26, 21, 0.07), transparent);
}
.intro { position: relative; z-index: 1; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 7vw, 100px); align-items: center; }

.intro__visual { position: relative; width: 100%; max-width: 470px; padding-bottom: 48px; }
/* red swoosh echo behind the photo */
.intro__visual::before {
  content: ""; position: absolute; z-index: 0; left: -46px; bottom: 120px; width: 78%; height: 46px; opacity: 0.9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C40 3 120 1 198 6' fill='none' stroke='%23be1a15' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  transform: rotate(-8deg);
}
.intro__photo { position: relative; z-index: 1; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--sand); }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--ease); }
.intro__visual:hover .intro__photo img { transform: scale(1.04); }
.intro__tag {
  position: absolute; left: 18px; top: 18px; padding: 10px 16px; border-radius: 14px; line-height: 1.25;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--font-display);
}
.intro__tag strong { display: block; color: var(--ink); font-size: 1.02rem; }
.intro__tag span { font-size: 0.82rem; color: var(--muted); }
.intro__visual .intro__sign {
  position: absolute; z-index: 2; right: -14px; top: -34px; transform: rotate(-8deg);
  font-family: "Caveat", cursive; font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--red);
}
.intro__stats {
  position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0; padding: 16px 6px; list-style: none; border-radius: 20px; background: #fff; box-shadow: var(--shadow);
}
.intro__stats li { padding: 4px 10px; text-align: center; border-right: 1px solid var(--line); }
.intro__stats li:last-child { border-right: 0; }
.intro__stats strong { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--navy); line-height: 1.05; }
.intro__stats li > span { display: block; margin-top: 4px; font-size: 0.8rem; line-height: 1.3; color: var(--muted); }

.intro__body h2 { margin-bottom: 22px; }
.intro__body .lead { color: var(--ink); }
.intro__quote {
  position: relative; overflow: hidden; margin: 30px 0 0; padding: 34px 34px 30px;
  border-radius: var(--radius-lg); background: var(--navy); color: #fff; box-shadow: var(--shadow);
}
.intro__quote::after {
  content: "SBM"; position: absolute; right: -14px; bottom: -34px; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: 8.5rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.08);
}
.intro__quote-mark { width: 40px; height: 30px; color: var(--red); margin-bottom: 14px; }
.intro__quote blockquote {
  position: relative; margin: 0; max-width: 520px;
  font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em;
}
.intro__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.intro__cta p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--navy); }

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .intro__visual { max-width: 420px; margin-inline: auto; }
  .intro__visual::before { left: -20px; }
  .intro__visual .intro__sign { right: 8px; top: -30px; font-size: 3rem; }
}
@media (max-width: 420px) {
  .intro__stats { left: 12px; right: 12px; }
  .intro__stats strong { font-size: 1.4rem; }
  .intro__quote { padding: 28px 22px 24px; }
}

/* ---------- Values (editorial navy panel inside welcome) ---------- */
.values-ed {
  position: relative; overflow: hidden; margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--navy); color: rgba(255, 255, 255, 0.75);
}
.values-ed::before {
  content: "SBM"; position: absolute; left: -10px; bottom: -40px; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(7rem, 16vw, 13rem); line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.06);
}
.values-ed__head { position: relative; align-self: start; }
.values-ed__head .eyebrow { color: #ff8c86; margin-bottom: 14px; }
.values-ed__head h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.values-ed__head p { margin: 0; max-width: 320px; }
.values-ed__list { position: relative; list-style: none; margin: 0; padding: 0; }
.values-ed__list li {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; align-items: baseline;
  padding: 20px 6px; border-top: 1px solid rgba(255, 255, 255, 0.12); transition: padding 0.4s var(--ease), background 0.4s;
}
.values-ed__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.values-ed__num { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; color: #ff8c86; }
.values-ed__list h4 {
  position: relative; justify-self: start; margin: 0; color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem); font-weight: 600; letter-spacing: -0.02em; transition: color 0.3s;
}
.values-ed__list h4::after {
  content: ""; position: absolute; left: -2%; bottom: -0.2em; width: 104%; height: 0.3em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C40 3 120 1 198 6' fill='none' stroke='%23e2453f' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0); transition: clip-path 0.6s var(--ease);
}
.values-ed__list p { margin: 0; font-size: 0.97rem; line-height: 1.55; }
.values-ed__list li:hover { padding-left: 16px; background: rgba(255, 255, 255, 0.04); }
.values-ed__list li:hover h4::after { clip-path: inset(0 0 0 0); }

@media (max-width: 960px) { .values-ed { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .values-ed__list li { grid-template-columns: 36px 1fr; gap: 4px 12px; }
  .values-ed__list p { grid-column: 2; }
}

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li {
  font-size: 0.82rem; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: var(--cream); color: var(--navy);
}

/* ---------- Services (interactive tabs, homepage) ---------- */
.svc { overflow-anchor: none; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: start; --svc-dur: 6500ms; }
.svc__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc__item {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  width: 100%; padding: 26px 6px 26px 2px; border: 0; border-bottom: 1px solid var(--line); background: none;
  text-align: left; cursor: pointer;
}
.svc__num {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; align-self: start;
  border: 1.5px solid var(--line); font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.svc__text strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.2;
  color: var(--muted); transition: color 0.3s; padding-top: 8px;
}
.svc__text > span {
  display: block; max-height: 0; opacity: 0; overflow: hidden; color: var(--text); font-size: 0.98rem; line-height: 1.6;
  transition: max-height 0.5s var(--ease), opacity 0.4s, margin 0.4s;
}
.svc__arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; align-self: start;
  background: var(--red); color: #fff; opacity: 0; transform: translateX(-10px) scale(0.8);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.svc__arrow svg { width: 18px; height: 18px; }
.svc__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--red); }

.svc__item:hover .svc__text strong { color: var(--navy); }
.svc__item[aria-selected="true"] .svc__text strong { color: var(--ink); }
.svc__item[aria-selected="true"] .svc__text > span { max-height: 140px; opacity: 1; margin-top: 8px; }
.svc__item[aria-selected="true"] .svc__num { background: var(--red); border-color: var(--red); color: #fff; }
.svc__item[aria-selected="true"] .svc__arrow { opacity: 1; transform: none; }
.svc__item[aria-selected="true"] .svc__bar { animation: svc-bar var(--svc-dur) linear forwards; }
.svc.is-paused .svc__item[aria-selected="true"] .svc__bar { animation-play-state: paused; }
.svc.is-manual .svc__item[aria-selected="true"] .svc__bar { animation: none; width: 100%; }
@keyframes svc-bar { from { width: 0; } to { width: 100%; } }

.svc__stage { position: sticky; top: 110px; display: grid; }
.svc__panel {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.svc__panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s ease, transform 0.6s var(--ease), visibility 0s; }
.svc__visual { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.svc__info { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 4px 0; }
.svc__info .tags li { background: #fff; border: 1px solid var(--line); }

/* shared floating UI chip */
.float-ui {
  position: absolute; z-index: 4; background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 18px 40px -16px rgba(27, 37, 50, 0.45); font-family: var(--font-display);
  opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease 0.35s, transform 0.7s var(--ease) 0.35s;
}
.svc__panel.is-active .float-ui { opacity: 1; transform: none; }
.float-ui small { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* 01 social */
.svc__visual--social { background: radial-gradient(120% 100% at 15% 0%, #4d6480 0%, var(--navy) 55%, var(--navy-900) 100%); }
.phone {
  position: absolute; left: 13%; top: 9%; width: 38%; aspect-ratio: 9 / 18.5; z-index: 2;
  display: flex; flex-direction: column; overflow: hidden; background: #fff;
  border: 7px solid #0f1720; border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(-4deg) translateY(30px); transition: transform 0.9s var(--ease);
}
.svc__panel.is-active .phone { transform: rotate(-4deg); }
.phone__notch { width: 36%; height: 12px; margin: 0 auto; background: #0f1720; border-radius: 0 0 10px 10px; flex-shrink: 0; }
.phone__head { display: flex; align-items: center; gap: 6px; padding: 7px 9px; font-size: 0.62rem; }
.phone__avatar { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 0.42rem; font-weight: 700; }
.phone__head b { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.phone__head i { margin-left: auto; font-style: normal; color: var(--muted); }
.phone__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; flex-shrink: 0; }
.phone__actions { display: flex; gap: 9px; padding: 8px 9px 6px; }
.phone__actions svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phone__actions .is-liked { fill: var(--red); stroke: var(--red); }
.svc__panel.is-active .phone__actions .is-liked { animation: pop 0.6s var(--ease) 0.9s both; }
.phone__lines span { display: block; height: 6px; margin: 0 9px 6px; border-radius: 3px; background: #e6e9ee; }
.phone__lines span:nth-child(2) { width: 55%; }
.float-ui--cal { right: 7%; top: 8%; width: 38%; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal span { aspect-ratio: 1; border-radius: 4px; background: #edf0f4; }
.cal span.on { background: var(--red); }
.float-ui--heart {
  right: 33%; bottom: 9%; width: 58px; height: 58px; padding: 0; border-radius: 50%; z-index: 6;
  display: grid; place-items: center; background: var(--red); transition-delay: 0.55s;
}
.float-ui--heart svg { width: 26px; height: 26px; fill: #fff; }
.svc__panel.is-active .float-ui--heart svg { animation: beat 1.8s ease-in-out 1.2s infinite; }
@keyframes pop { 0% { transform: scale(0.4); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }

/* 02 design */
.svc__visual--design { background: radial-gradient(120% 90% at 25% 10%, #ffd9a0 0%, #f39a2b 60%, #d97b10 100%); }
.svc__visual--design .pg {
  position: absolute; height: auto; border-radius: 4px; box-shadow: 0 24px 40px -16px rgba(27, 37, 50, 0.55);
  transition: transform 0.9s var(--ease) 0.1s, opacity 0.6s ease 0.1s;
}
.svc__visual--design .pg1, .svc__visual--design .pg2, .svc__visual--design .pg3 { left: 36%; top: 47%; width: 29%; transform: translate(-50%, -50%); }
.svc__visual--design .pg2 { z-index: 2; }
.svc__visual--design .pg4 { right: 5%; bottom: 9%; width: 46%; z-index: 3; opacity: 0; transform: translateY(30%) rotate(8deg); }
.svc__panel.is-active .svc__visual--design .pg1 { transform: translate(-106%, -46%) rotate(-11deg); }
.svc__panel.is-active .svc__visual--design .pg3 { transform: translate(6%, -46%) rotate(11deg); }
.svc__panel.is-active .svc__visual--design .pg2 { transform: translate(-50%, -53%) scale(1.04); }
.svc__panel.is-active .svc__visual--design .pg4 { opacity: 1; transform: rotate(-5deg); transition-delay: 0.3s; }
.float-ui--label { left: 5%; top: 6%; padding: 8px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--navy); }

/* 03 text */
.svc__visual--text { background: linear-gradient(140deg, #f7f1e7 0%, #e8ddcb 100%); }
.float-ui--pen { right: 9%; bottom: 13%; width: 60px; height: 60px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.float-ui--pen svg { width: 26px; height: 26px; }

/* 04 marketing */
.svc__visual--marketing { background: radial-gradient(110% 100% at 30% 0%, #ffffff 0%, #e6ebf1 100%); }
.flow {
  position: absolute; right: 7%; bottom: 9%; z-index: 2; display: grid; gap: 10px; margin: 0; padding: 16px 20px; list-style: none;
  border-radius: 18px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 500;
  box-shadow: 0 24px 50px -20px rgba(27, 37, 50, 0.6);
}
.flow li { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateX(12px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.flow li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); font-size: 0.78rem; }
.flow li:last-child span { background: var(--red); }
.svc__panel.is-active .flow li { opacity: 1; transform: none; }
.svc__panel.is-active .flow li:nth-child(1) { transition-delay: 0.5s; }
.svc__panel.is-active .flow li:nth-child(2) { transition-delay: 0.7s; }
.svc__panel.is-active .flow li:nth-child(3) { transition-delay: 0.9s; }


/* service visuals with real work (social post, text, marketing photo) */
.float-ui--post { right: 8%; bottom: 9%; width: 31%; padding: 6px; border-radius: 12px; transform: rotate(7deg) translateY(18px); }
.svc__panel.is-active .float-ui--post { transform: rotate(7deg); }
.float-ui--post img { display: block; width: 100%; border-radius: 8px; }

.photo-card {
  position: absolute; z-index: 2; overflow: hidden; padding: 6px; border-radius: 14px; background: #fff;
  box-shadow: 0 26px 50px -20px rgba(27, 37, 50, 0.5); transition: transform 0.9s var(--ease);
}
.photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.photo-card--a { left: 8%; top: 8%; width: 38%; height: 84%; transform: rotate(-5deg) translateY(28px); }
.photo-card--a img { object-position: 50% 30%; }
.photo-card--b { right: 8%; top: 12%; width: 43%; aspect-ratio: 4 / 5; z-index: 3; transform: rotate(5deg) translateY(36px); }
.svc__panel.is-active .photo-card--a { transform: rotate(-5deg); }
.svc__panel.is-active .photo-card--b { transform: rotate(5deg); transition-delay: 0.08s; }
.float-ui--label-a { top: auto; left: 5%; bottom: 7%; }
.float-ui--label-b { left: auto; right: 5%; top: 5%; }
.svc__visual--text .float-ui--pen { right: 7%; bottom: 7%; }

.svc__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.svc__panel.is-active .svc__bg { transform: scale(1); }
.svc__visual--marketing::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(27, 37, 50, 0.15) 0%, rgba(27, 37, 50, 0.1) 40%, rgba(27, 37, 50, 0.6) 100%); }
.float-ui--label-dark { background: var(--navy); color: #fff; }

@media (max-width: 960px) {
  .svc { grid-template-columns: 1fr; }
  .svc__stage { position: relative; top: 0; }
  .svc__list .svc__stage { padding: 4px 0 26px; border-bottom: 1px solid var(--line); animation: svc-open 0.5s var(--ease); }
  .svc__list .svc__item[aria-selected="true"] { border-bottom-color: transparent; }
  .svc__list .svc__item[aria-selected="true"] .svc__bar { display: none; }
  .svc__text > span { transition: none; } /* collapse instantly so the list does not shift after scrolling */
}
@media (max-width: 520px) {
  .svc__item { gap: 14px; padding: 20px 2px; }
  .svc__arrow { display: none; }
  .svc__item { grid-template-columns: auto 1fr; }
  .float-ui--cal { width: 44%; padding: 10px; }
  .phone { border-width: 5px; border-radius: 20px; }
  .phone__head { font-size: 0.5rem; padding: 5px 7px; }
  .flow { padding: 12px 14px; gap: 7px; font-size: 0.9rem; }
}

/* ---------- Project cards ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.project-card__media {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden;
  display: grid; place-items: center; isolation: isolate;
}
.project-card__media--amuse { background: linear-gradient(140deg, #f7d9ae 0%, #f0a640 100%); }
.project-card__media--moio { background: linear-gradient(140deg, #e8dcc6 0%, #b9a58a 100%); }
.project-card__media--wk { background: linear-gradient(140deg, #d6e6f5 0%, #4a7fb8 100%); }
.project-card__media--rens { background: linear-gradient(140deg, #fde8ef 0%, #f3a9c2 100%); }
.project-card__media .page {
  position: absolute; box-shadow: 0 30px 50px -20px rgba(27, 37, 50, 0.55); border-radius: 4px;
  transition: transform 0.6s var(--ease);
}
.amuse-stack .page { width: 38%; }
.amuse-stack .p1 { transform: translate(-58%, 4%) rotate(-9deg); }
.amuse-stack .p2 { transform: translate(0, -2%) rotate(0deg); z-index: 2; }
.amuse-stack .p3 { transform: translate(58%, 4%) rotate(9deg); }
.project-card:hover .amuse-stack .p1 { transform: translate(-70%, 2%) rotate(-13deg); }
.project-card:hover .amuse-stack .p3 { transform: translate(70%, 2%) rotate(13deg); }
.project-card:hover .amuse-stack .p2 { transform: translate(0, -5%) scale(1.03); }
.moio-stack .page { width: 82%; }
.moio-stack .p1 { transform: translate(-4%, 9%) rotate(-4deg); }
.moio-stack .p2 { transform: translate(4%, -7%) rotate(2deg); z-index: 2; }
.project-card:hover .moio-stack .p1 { transform: translate(-7%, 12%) rotate(-6deg); }
.project-card:hover .moio-stack .p2 { transform: translate(6%, -10%) rotate(3deg) scale(1.02); }

.project-card__body { padding: 24px 6px 0; display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.project-card__body h3 { margin-bottom: 6px; }
.project-card__meta { font-size: 0.92rem; color: var(--muted); margin: 0; }
.project-card__arrow {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--navy); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease), border-color 0.3s;
}
.project-card__arrow svg { width: 20px; height: 20px; }
.project-card:hover .project-card__arrow { background: var(--red); color: #fff; border-color: var(--red); transform: rotate(-45deg); }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } }

/* ---------- Split (about teaser etc.) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }
.split__media .tall { aspect-ratio: 4 / 5; }
.split__badge {
  position: absolute; right: -20px; bottom: 36px; max-width: 220px;
  background: var(--red); color: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
  font-family: var(--font-display); line-height: 1.3; font-weight: 500;
}
.split__badge strong { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 480px; }
  .split__badge { right: 12px; }
}

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy); color: rgba(255, 255, 255, 0.8);
  padding: clamp(44px, 7vw, 90px) clamp(28px, 6vw, 80px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::before {
  content: "SBM"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(8rem, 22vw, 18rem); line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07); pointer-events: none;
}
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { max-width: 560px; font-size: 1.12rem; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 680px; }
.page-hero__watermark {
  position: absolute; right: -1vw; top: 50%; transform: translateY(-50%); pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(8rem, 24vw, 20rem); line-height: 0.8; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(50, 67, 85, 0.07);
}

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-hero__photo { position: relative; width: min(100%, 440px); justify-self: end; }
.about-hero__photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg) 220px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } .about-hero__photo { justify-self: start; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.fact { padding: 30px 28px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; color: var(--navy); line-height: 1.1; margin-bottom: 6px; }
.fact span { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } .fact { border-right: 0; border-bottom: 1px solid var(--line); } .fact:last-child { border-bottom: 0; } }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--red);
}
.timeline li.is-now::before { background: var(--red); box-shadow: 0 0 0 6px var(--red-soft); }
.timeline__when { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.timeline h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.timeline p { color: var(--text); margin: 0; }

.big-quote {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.25;
  letter-spacing: -0.02em; color: #fff; max-width: 980px; margin: 0 auto; text-align: center;
}
.big-quote em { font-style: normal; color: #ff8c86; }
.big-quote-cite { display: block; text-align: center; margin-top: 28px; font-family: var(--font-display); font-weight: 500; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.08em; }

.skills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 26px 0 0; padding: 0; }
.skills li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; color: var(--navy);
}
.skills li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ---------- Services page ---------- */
.service-nav {
  position: sticky; top: 82px; z-index: 50; background: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line);
}
.service-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--navy); transition: background 0.2s, color 0.2s;
}
.service-nav a:hover, .service-nav a.is-active { background: var(--navy); color: #fff; }
@media (max-width: 960px) { .service-nav { top: 72px; } }

.service-block {
  display: grid; grid-template-columns: 0.42fr 1fr; gap: clamp(32px, 6vw, 90px);
  padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); scroll-margin-top: 150px;
}
.service-block:last-child { border-bottom: 0; }
.service-block__num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 0.9;
  color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: -0.04em;
}
.service-block__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--navy); color: #fff; margin-top: 24px; }
.service-block__icon svg { width: 30px; height: 30px; }
.service-block h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; list-style: none; margin: 28px 0 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--red); }
.service-block__example { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 16px; border-radius: var(--radius); background: var(--sand); text-decoration: none; }
.service-block__example img { width: 76px; height: 96px; object-fit: cover; object-position: top; border-radius: 6px; box-shadow: var(--shadow-sm); }
.service-block__example span { font-family: var(--font-display); font-weight: 600; color: var(--navy); line-height: 1.3; }
.service-block__example small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; gap: 18px; }
  .service-block__aside { display: flex; align-items: center; gap: 20px; }
  .service-block__icon { margin-top: 0; }
}
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 34px 28px 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 22px;
  background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 600;
}
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { font-size: 0.97rem; line-height: 1.6; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience div { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.audience strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.audience span { font-size: 0.95rem; color: var(--muted); line-height: 1.55; display: block; }
@media (max-width: 960px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Portfolio page ---------- */
.case { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.case:last-of-type { border-bottom: 0; }
.case__info { position: sticky; top: 120px; }
.case__client { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.case__client img { height: 56px; width: auto; max-width: 160px; object-fit: contain; }
.case__client .on-dark { background: var(--navy); padding: 10px 14px; border-radius: 10px; box-sizing: content-box; height: 36px; }
.case__meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.case__meta dt { font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.case__meta dd { margin: 0; color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery--wide { grid-template-columns: 1fr; }
.gallery button {
  position: relative; padding: 0; border: 0; background: #fff; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery button:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery .is-featured { grid-column: span 2; grid-row: span 2; }
.gallery button::after {
  content: ""; position: absolute; inset: 0; background: rgba(27, 37, 50, 0); transition: background 0.3s;
}
.gallery button:hover::after { background: rgba(27, 37, 50, 0.08); }
@media (max-width: 960px) { .case { grid-template-columns: 1fr; } .case__info { position: static; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; } }

.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.client {
  display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client__logo { height: 150px; display: grid; place-items: center; padding: 22px 26px; }
.client__logo img { max-height: 104px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.client__logo.on-dark { background: var(--navy); }
.client__logo.is-photo { padding: 0; }
.client__logo.is-photo { place-items: stretch; }
.client__logo.is-photo img { width: 100%; height: 150px; max-height: none; object-fit: cover; object-position: 50% 30%; }
.client__name { padding: 14px 18px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--navy); line-height: 1.3; }
@media (max-width: 960px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .clients { grid-template-columns: 1fr 1fr; }
  .client__logo { height: 120px; padding: 16px; }
  .client__logo img { max-height: 86px; }
  .client__logo.is-photo img { height: 120px; }
}

.coming-soon {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 28px 32px; border-radius: var(--radius-lg); border: 2px dashed rgba(50, 67, 85, 0.2); margin-top: 36px;
}
.coming-soon p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 70px 76px;
  background: rgba(17, 24, 33, 0.94); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-height: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox__caption { color: rgba(255, 255, 255, 0.75); font-family: var(--font-display); font-size: 0.95rem; text-align: center; }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; transition: background 0.2s;
}
.lightbox button:hover { background: var(--red); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 70px 12px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
a.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-card__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card small { display: block; font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.contact-card strong { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.1rem; word-break: break-word; }
.contact-photo { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding: 22px; border-radius: var(--radius); background: var(--navy); color: rgba(255, 255, 255, 0.8); }
.contact-photo img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 3px solid rgba(255, 255, 255, 0.2); }
.contact-photo p { margin: 0; font-size: 0.98rem; line-height: 1.55; }
.contact-photo strong { color: #fff; font-family: var(--font-display); }

.form { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 0.95rem; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(50, 67, 85, 0.1); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field__error { font-size: 0.85rem; color: var(--red); min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; }
.chips legend { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 0.95rem; margin-bottom: 8px; padding: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-size: 0.92rem; font-weight: 500;
  color: var(--navy); transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chips label:hover { border-color: var(--navy); }
.chips input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.form__note { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }
.form__status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-weight: 500; line-height: 1.55; display: none; }
.form__status.is-success { background: #e8f3ec; color: #1f5b37; }
.form__status.is-error { background: var(--red-soft); color: #8e1410; }
.form__status a { color: inherit; font-weight: 600; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form.is-sending .form__submit { opacity: 0.7; cursor: progress; }
.form.is-sending .form__submit svg { animation: send-nudge 0.8s ease-in-out infinite; }
@keyframes send-nudge { 50% { transform: translateX(4px); } }
.form__status.is-visible { display: block; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.65); padding-top: clamp(60px, 8vw, 96px); font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); transition: background 0.2s; }
.socials a:hover { background: var(--red); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Swoosh motif — the curved red stroke from the hero, reused site-wide
   ========================================================================== */

/* Curved section transitions */
.wave { position: relative; z-index: 2; height: clamp(24px, 3.6vw, 56px); margin-bottom: -1px; background: var(--from); line-height: 0; }
.wave svg { display: block; width: 100%; height: calc(100% + 3px); overflow: visible; } /* overlap the next block: no hairline seams */
.wave--flip svg { transform: scaleX(-1); }
.wave__fill { fill: var(--to); }
.wave__line {
  fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.wave + .marquee-wrap { border-top: 0; }

/* Red underline swoosh under key words */
.swoosh, .page-hero h1 .accent { position: relative; white-space: nowrap; }
.swoosh::after, .page-hero h1 .accent::after {
  content: ""; position: absolute; left: -2%; bottom: -0.14em; width: 104%; height: 0.3em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C40 3 120 1 198 6' fill='none' stroke='%23be1a15' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.cta .swoosh::after { filter: brightness(1.35); }

/* Eyebrow dash becomes a tiny swoosh */
.eyebrow::before, .section-head--center .eyebrow::after {
  width: 30px; height: 9px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 9'%3E%3Cpath d='M1.5 7C8 3 18 1.6 28.5 3.6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 9'%3E%3Cpath d='M1.5 7C8 3 18 1.6 28.5 3.6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section-head--center .eyebrow::after { transform: scaleX(-1); }

/* Draw-in animations (only when motion is welcome; otherwise everything is simply visible) */
@media (prefers-reduced-motion: no-preference) {
  .js .wave__line { stroke-dasharray: 2200; stroke-dashoffset: 2200; transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.15s; }
  .js .wave.is-drawn .wave__line { stroke-dashoffset: 0; }

  .js .swoosh::after, .js .page-hero h1 .accent::after { clip-path: inset(0 100% 0 0); }
  .js .is-visible .swoosh::after, .js .page-hero h1.is-visible .accent::after,
  .js .is-visible.swoosh::after { animation: swoosh-wipe 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards; }

  .js .hero h1 .accent svg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .hero h1.is-visible .accent svg path { animation: swoosh-draw 1s cubic-bezier(0.65, 0, 0.35, 1) 0.55s forwards; }
}
@keyframes swoosh-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes swoosh-draw { to { stroke-dashoffset: 0; } }

/* ---------- Section rhythm: calmer transitions ---------- */
/* A wave already adds space, so trim the padding on both sides of it. */
.wave + .section { padding-top: clamp(40px, 5.5vw, 76px); }
.section:has(+ .wave) { padding-bottom: clamp(40px, 5.5vw, 76px); }
/* Two neighbouring sections with the same background: no double gap. */
.section:not(.section--white):not(.section--navy) + .section:not(.section--white):not(.section--navy),
.section--white + .section--white { padding-top: clamp(8px, 1.5vw, 20px); }
.services-home { padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Services page: real-work galleries ---------- */
.work-grid__label {
  display: flex; align-items: center; gap: 10px; margin: 34px 0 14px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.work-grid__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wg {
  position: relative; display: block; padding: 0; border: 0; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 5; border-radius: 14px; background: var(--sand); box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.wg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.8s var(--ease); }
.wg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: linear-gradient(180deg, transparent 45%, rgba(27, 37, 50, 0.8) 100%);
}
.wg__cap {
  position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; text-align: left;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500; line-height: 1.3; color: #fff;
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.45s var(--ease);
}
.wg:hover, .wg:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.wg:hover img, .wg:focus-visible img { transform: scale(1.05); }
.wg:hover::after, .wg:focus-visible::after, .wg:hover .wg__cap, .wg:focus-visible .wg__cap { opacity: 1; transform: none; }
.work-grid--feature .wg:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (hover: none) {
  .wg::after, .wg__cap { opacity: 1; transform: none; }
  .wg__cap { font-size: 0.75rem; }
}
@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .work-grid--feature .wg:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 4 / 5; }
}

/* ---------- Services page: hero collage ---------- */
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-collage { position: relative; height: clamp(300px, 34vw, 440px); }
.hc {
  position: absolute; top: 50%; left: 50%; width: 52%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 16px; border: 5px solid #fff; box-shadow: 0 28px 50px -22px rgba(27, 37, 50, 0.55);
  transition: transform 0.8s var(--ease);
}
.hc1 { transform: translate(-108%, -46%) rotate(-10deg); }
.hc3 { transform: translate(8%, -46%) rotate(10deg); }
.hc2 { z-index: 2; transform: translate(-50%, -54%); }
.hero-collage:hover .hc1 { transform: translate(-116%, -48%) rotate(-13deg); }
.hero-collage:hover .hc3 { transform: translate(16%, -48%) rotate(13deg); }
.hero-collage:hover .hc2 { transform: translate(-50%, -57%) scale(1.03); }
.hc-sign {
  position: absolute; z-index: 3; right: 2%; bottom: 2%; transform: rotate(-8deg);
  font-family: "Caveat", cursive; font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--red);
}
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .hero-collage { height: 300px; max-width: 420px; width: 100%; margin-inline: auto; }
}

@keyframes svc-open { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Legal page (privacyverklaring) ---------- */
.legal > * { max-width: 780px; }
.legal__updated { display: inline-block; margin-bottom: 26px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 42px 0 12px; }
.legal ul { margin: 0 0 1.1em; padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--red); }
.legal a { color: var(--navy); text-decoration-color: var(--red); text-underline-offset: 3px; }
.footer-bottom a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.form__privacy { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.form__privacy a { color: var(--navy); }
.notfound { min-height: 52vh; display: flex; align-items: center; }

/* ---------- Portfolio: project cases with masonry galleries ---------- */
.pf-cases .case { scroll-margin-top: 150px; }
.pf-cases .case__info .eyebrow { margin-bottom: 12px; }
.case__links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.case__link {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.case__link:hover { color: var(--red); }
.ext { width: 14px; height: 14px; flex-shrink: 0; }
.case__menu { margin-top: 22px; }
.case__menu svg { width: 16px; height: 16px; }

.mg { columns: 3 200px; column-gap: 14px; }
.mg__item {
  position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; break-inside: avoid;
  border-radius: 12px; overflow: hidden; background: var(--sand); cursor: zoom-in; box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.mg__item img { display: block; width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.mg__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: linear-gradient(180deg, transparent 50%, rgba(27, 37, 50, 0.82) 100%);
}
.mg__cap {
  position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; text-align: left;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500; line-height: 1.3; color: #fff;
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.45s var(--ease);
}
.mg__item:hover, .mg__item:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.mg__item:hover img, .mg__item:focus-visible img { transform: scale(1.04); }
.mg__item:hover::after, .mg__item:focus-visible::after, .mg__item:hover .mg__cap, .mg__item:focus-visible .mg__cap { opacity: 1; transform: none; }
@media (hover: none) { .mg__item::after, .mg__cap { opacity: 1; transform: none; } .mg__cap { font-size: 0.75rem; } }
@media (max-width: 520px) { .mg { columns: 2; column-gap: 10px; } .mg__item { margin-bottom: 10px; } }

/* clickable client logos */
.clients > li { display: flex; }
.clients > li > .client { width: 100%; }
a.client { text-decoration: none; color: inherit; }
.client__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.client__name .ext { color: var(--muted); transition: color 0.25s, transform 0.3s var(--ease); }
.client--link:hover { border-color: var(--red); }
.client--link:hover .client__name { color: var(--red); }
.client--link:hover .client__name .ext { color: var(--red); transform: translate(2px, -2px); }

/* ---------- About: links in timeline + sponsoring ---------- */
.timeline a { color: var(--navy); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }
.sponsor {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
}
.sponsor__head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.sponsor__head p:last-child { margin: 0; }
.sponsor__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sponsor__card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--cream);
  text-decoration: none; color: inherit; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.sponsor__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.sponsor__card > div { padding: 14px 16px 16px; }
.sponsor__card strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; }
.sponsor__card span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--muted); }
.sponsor__card .sponsor__logo { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 12% 10%; background: #fff; border-bottom: 1px solid var(--line); }
.sponsor__card .sponsor__logo img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: auto; }
a.sponsor__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 860px) { .sponsor { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .sponsor__cards { grid-template-columns: 1fr; } }

.split--sticky { align-items: start; }
.split--sticky .split__media { position: sticky; top: 110px; }
@media (max-width: 860px) { .split--sticky .split__media { position: relative; top: 0; } }

.hc { object-position: 50% 0; }

/* ---------- FAQ (diensten) ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: 130px; }
.faq__head h2 { margin-bottom: 14px; }
.faq__head p:last-child { margin: 0; max-width: 340px; }
.faq__head a { color: var(--red); font-weight: 600; text-underline-offset: 3px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.35; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: var(--radius); }
.faq__item summary svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--red-soft); color: var(--red); transition: transform 0.35s var(--ease), background 0.3s, color 0.3s; }
.faq__item[open] summary svg { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__item p { margin: 0; padding: 0 24px 22px; max-width: 62ch; }
.faq__item p a { color: var(--red); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq__item summary { padding: 16px 18px; font-size: 1rem; }
  .faq__item p { padding: 0 18px 18px; }
}
