/* ==========================================================================
   RoosUnited — Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f2f2f0;
  --bg-2: #e8e8e5;
  --surface: #fafaf9;
  --ink: #121418;
  --ink-2: #33373e;
  --muted: #6b7079;
  --muted-2: #9a9fa7;
  --line: rgba(18, 20, 24, 0.12);
  --dark: #15171a;
  --dark-2: #1c1f23;
  --on-dark: #f2f2f0;
  --on-dark-muted: #979ca5;
  --line-dark: rgba(242, 242, 240, 0.14);

  /* Accents: deep wine red + soft pastel red, used sparingly */
  --accent: #7d1530;
  --accent-soft: #d98e94;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 168px);
  --radius: 18px;
  --skew: -8deg;
  --unskew: 8deg;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px;
  font-size: 14px; transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .footer :focus-visible { outline-color: var(--on-dark); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--alt { background: var(--surface); }
/* a section that continues the previous one on the same background: no double spacing */
.section--follow { padding-top: clamp(16px, 2vw, 32px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent);
}
.section--dark .eyebrow { color: var(--accent-soft); }
.eyebrow--line::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.display {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
.lead { font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--muted); max-width: 34rem; line-height: 1.75; }
.section--dark .lead { color: var(--on-dark-muted); }
.text-muted { color: var(--muted); }
.soft { color: var(--accent-soft); font-weight: 300; }

/* Line mask reveals — each .line clips its inner span */
.line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.line > span { display: inline-block; transform: translate3d(0, 135%, 0); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
.is-in .line > span, .line.is-in > span { transform: none; }

/* Icons from the inline sprite */
.ic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Links & buttons ---------- */
.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  padding-bottom: 8px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(0); transform-origin: right; animation: underline-in .6s .25s var(--ease-out) forwards; }
@keyframes underline-in { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.arrow { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease-out); }
.link-arrow:hover .arrow, .btn:hover .arrow, a:hover > .card-link .arrow, a:hover .card-link .arrow { transform: translateX(5px); }
.arrow--diag { transform: rotate(-45deg); }
.link-arrow:hover .arrow--diag, .btn:hover .arrow--diag { transform: rotate(-45deg) translateX(5px); }

/* One button style for the whole site: hover is a plain colour fade, no sliding fill */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover { background: #33363c; border-color: #33363c; }
.btn--light { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn--light:hover { background: #fff; border-color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s, height .4s var(--ease-out);
}
.header.is-scrolled {
  height: 70px;
  background: rgba(242, 242, 240, .82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { display: block; width: 148px; flex: none; position: relative; z-index: 2; }
.header__logo img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav__link {
  position: relative; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 8px 0;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--ink); }

.burger {
  display: none; position: relative; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  margin-right: -10px;
}
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out), visibility 0s .8s; visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-in-out); }
.mobile-menu__link {
  display: block; font-size: clamp(2.2rem, 10vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.2; padding: 4px 0;
}
.mobile-menu__link[aria-current="page"] { color: var(--accent-soft); }
.mobile-menu .line > span { transition-delay: calc(var(--i, 0) * 70ms + 250ms); }
.menu-open .mobile-menu .line > span { transform: none; }
.mobile-menu__foot { margin-top: 48px; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
html.menu-open, .menu-open body { overflow: hidden; }
.menu-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

/* ---------- Reveal ---------- */
[data-reveal] { transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out), clip-path 1.4s var(--ease-in-out); transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms)); }
[data-reveal="up"] { opacity: 0; transform: translate3d(0, 48px, 0); }
[data-reveal="fade"] { opacity: 0; }
[data-reveal="scale"] { opacity: 0; transform: scale(.94); }
/* negative insets leave room for skewed corners that overhang the box */
[data-reveal="clip"] { clip-path: inset(100% -30% -10% -30%); }
[data-reveal="clip-x"] { clip-path: inset(-10% 130% -10% -30%); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip"].is-in, [data-reveal="clip-x"].is-in { clip-path: inset(-10% -30% -10% -30%); }
html.no-js [data-reveal], html.no-js .line > span { opacity: 1; transform: none; clip-path: none; }

/* ---------- Skewed media ---------- */
.skew {
  position: relative; overflow: hidden; border-radius: var(--radius);
  transform: skewX(var(--skew)); background: var(--bg-2);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari radius+overflow fix */
}
.skew__media {
  position: absolute; inset: -18% -22%;
  transform: skewX(var(--unskew));
}
.skew__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.04);
  will-change: transform;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden; isolation: isolate;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy .eyebrow { margin-bottom: 28px; }
.hero__copy .display { margin-bottom: 32px; }
.hero__copy .lead { margin-bottom: 44px; max-width: 26rem; }
/* Two slanted panels running down to the bottom edge of the hero.
   Hovering one widens it while the other narrows to a strip (text fades out). */
.hero__cards {
  position: absolute; z-index: 1;
  top: calc(var(--header-h) + clamp(28px, 4vw, 64px)); bottom: -40px;
  left: 47%; right: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex; gap: clamp(14px, 1.6vw, 24px);
}
.brand-card {
  position: relative; display: block; flex: 1 1 0; min-width: 0; color: #fff;
  transition: flex-grow .9s var(--ease-out), opacity 1s var(--ease-out), transform 1.5s var(--ease-out);
  transition-delay: 0s, var(--d, 0ms), var(--d, 0ms);
}
/* on load both panels slide up from the bottom edge, one after the other */
.brand-card[data-reveal="panel"] { opacity: 0; transform: translate3d(0, 22%, 0); }
.brand-card[data-reveal="panel"].is-in { opacity: 1; transform: none; }
/* MotionUniverse text sits further left */
.hero__cards .brand-card:nth-child(1) .brand-card__body { padding-left: 9%; }
/* second panel starts a little lower */
.hero__cards .brand-card:nth-child(2) { margin-top: clamp(40px, 5vw, 72px); }
.hero__cards:has(.brand-card:hover) .brand-card, .hero__cards:has(.brand-card:focus-visible) .brand-card { flex-grow: .32; }
.hero__cards:has(.brand-card:hover) .brand-card:hover,
.hero__cards:has(.brand-card:focus-visible) .brand-card:focus-visible { flex-grow: 1.68; }
.brand-card__tilt { position: absolute; inset: 0; }
.brand-card .skew { position: absolute; inset: 0; box-shadow: 0 34px 60px -30px rgba(18, 20, 24, .4); }
.brand-card .skew__media img { transition: transform 1.4s var(--ease-out); transform: translate3d(0, var(--py, 0px), 0) scale(1.08); }
.brand-card:hover .skew__media img { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); }
.brand-card .skew::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14, 15, 17, .95) 0%, rgba(14, 15, 17, .78) 32%, rgba(14, 15, 17, .2) 60%, rgba(14, 15, 17, 0) 85%);
}
.brand-card__body {
  position: absolute; left: 0; right: 0; bottom: calc(40px + 13vh); padding: 0 10% 0 16%;
  white-space: nowrap; transition: opacity .45s ease;
}
/* the narrowed panel keeps only its image */
.hero__cards:has(.brand-card:hover) .brand-card:not(:hover) .brand-card__body,
.hero__cards:has(.brand-card:focus-visible) .brand-card:not(:focus-visible) .brand-card__body { opacity: 0; }
.brand-card__name { font-size: clamp(1.4rem, 2.1vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; font-weight: 400; margin-top: 0; }
.brand-card__name b { font-weight: 700; }
.brand-card__sub { font-size: 13px; color: rgba(255, 255, 255, .78); margin-top: 6px; line-height: 1.5; }
.card-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13px; font-weight: 600; }
.card-link .arrow { width: 16px; height: 16px; }

.hero__rose {
  position: absolute; right: -4vw; top: 8%; width: min(30vw, 420px); opacity: .06;
  pointer-events: none; z-index: -1;
}

/* ---------- Intro (Kreative Ideen) ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 1.4fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.intro__copy .eyebrow { margin-bottom: 28px; }
.intro__copy .h2 { margin-bottom: 32px; }
.intro__copy .lead { margin-bottom: 40px; }
.intro__media { position: relative; aspect-ratio: 1.45; }
.intro__media .skew { position: absolute; inset: 0; }
.side-note { align-self: start; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.side-note__line { display: block; width: 1px; height: 0; background: var(--ink-2); margin-top: 20px; transition: height 1.4s var(--ease-out) .5s; }
.side-note.is-in .side-note__line { height: 64px; }

/* ---------- Brands (home) ---------- */
.brands__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(56px, 8vw, 110px); }
.brands__head .eyebrow { margin-bottom: 24px; }
.brands__head .lead { max-width: 28rem; }
.brand-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.brand-row + .brand-row { margin-top: clamp(80px, 11vw, 160px); }
.brand-row--flip .brand-row__media { order: 2; }
.brand-row__media { position: relative; aspect-ratio: 1.25; }
.brand-row__media .skew { position: absolute; inset: 0; }
/* free-standing laptop mockup, bleeding out over the left edge of the page */
#marken { overflow-x: clip; }
.brand-row__media--device { aspect-ratio: auto; width: 150%; margin-left: -50%; }
.brand-row__media--device img { width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgba(18, 20, 24, .18)); }
/* free-standing product shot (transparent PNG) */
.brand-row__media--product { position: relative; top: 20px; aspect-ratio: auto; width: 150%; max-width: 980px; justify-self: end; margin-right: -32%; }
.brand-row__media--product img { width: 100%; height: auto; filter: drop-shadow(0 36px 40px rgba(18, 20, 24, .22)); }
.brand-row__index { font-size: 12px; letter-spacing: .2em; color: var(--accent); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.brand-row__index::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line); }
.brand-row .lead { margin-bottom: 28px; }
.brand-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 20px; }
.page-hero .brand-title { font-size: clamp(1.1rem, 1.5vw, 1.3rem); margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tag { font-size: 12px; font-weight: 500; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.section--dark .tag { border-color: var(--line-dark); color: var(--on-dark); }
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(125, 21, 48, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(125, 21, 48, .45); } 70% { box-shadow: 0 0 0 10px rgba(125, 21, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(125, 21, 48, 0); } }

/* ---------- Stats ---------- */
.stats { overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1000px 500px at 85% 20%, rgba(255, 255, 255, .06), transparent 60%), radial-gradient(700px 400px at 10% 110%, rgba(255, 255, 255, .04), transparent 60%);
}
.stats__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); align-items: stretch; }
.stats__head { padding-right: 40px; }
.stats__head .eyebrow { margin-bottom: 24px; }
.stat { position: relative; padding: 4px clamp(20px, 3vw, 44px); }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-dark); transform-origin: top; transform: scaleY(0); transition: transform 1.4s var(--ease-out); transition-delay: calc(var(--i, 0) * 150ms); }
.stat.is-in::before { transform: none; }
.stat__value { display: flex; align-items: center; height: 64px; font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.stat__value svg { width: 58px; height: 30px; }
.stat__value svg path { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 2.2s var(--ease-in-out) .3s; }
.stat.is-in .stat__value svg path { stroke-dashoffset: 0; }
.stat__label { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.stat__text { font-size: 13px; color: var(--on-dark-muted); line-height: 1.6; max-width: 15rem; }

/* ---------- About / values ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.about__copy .eyebrow { margin-bottom: 28px; }
.about__copy .h2 { margin-bottom: 32px; }
.about__copy .lead { margin-bottom: 40px; }
.values { position: relative; display: grid; gap: clamp(40px, 4vw, 56px); padding-left: clamp(28px, 3vw, 44px); }
.values::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.value { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.value__icon { width: 26px; height: 26px; color: var(--ink); margin-top: 2px; }
.value__title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.value__text { font-size: 14.5px; color: var(--muted); line-height: 1.6; max-width: 26rem; }

/* ---------- Contact band ---------- */
.contact-band { overflow: hidden; }
.contact-band__map { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.contact-band__map svg { position: absolute; right: -10%; top: -20%; width: 80%; height: 140%; }
.contact-band__map path { fill: none; stroke: rgba(242, 242, 240, .09); stroke-width: 1; }
.contact-band__map .major { stroke: rgba(242, 242, 240, .16); stroke-width: 2; }
.contact-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, rgba(21, 23, 26, .85) 45%, rgba(21, 23, 26, .2) 100%); pointer-events: none; }
.contact-band .container { position: relative; z-index: 1; }
.contact-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4.5fr) minmax(0, 2.5fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.contact-band__copy .eyebrow { margin-bottom: 24px; }
.contact-band__copy .h2 { margin-bottom: 24px; }
.contact-band__copy .lead { margin-bottom: 36px; font-size: 15px; }
.contact-list { display: grid; gap: 30px; padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line-dark); }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; }
.contact-item svg { width: 24px; height: 24px; color: var(--on-dark); }
.contact-item small { display: block; font-size: 11.5px; color: var(--on-dark-muted); margin-bottom: 2px; }
.contact-item a, .contact-item span { font-size: 14px; font-weight: 600; }
.contact-item a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.contact-item a:hover { background-size: 100% 1px; }
.pin { position: relative; justify-self: center; width: 34px; color: var(--on-dark); }
.pin::before, .pin::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 60px; height: 20px; margin-left: -30px; border: 1px solid rgba(242, 242, 240, .5); border-radius: 50%; animation: ripple 2.8s var(--ease-out) infinite; opacity: 0; }
.pin::after { animation-delay: 1.4s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.pin svg { position: relative; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) auto; gap: 40px; align-items: center; }
.footer__logo { width: 170px; display: block; }
.footer__claim { margin-top: 12px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 13px; }
.footer__nav a, .footer__legal a { color: var(--on-dark); opacity: .85; transition: opacity .3s; }
.footer__nav a:hover, .footer__legal a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { display: flex; align-items: center; gap: 14px; font-size: 12px; }
.footer__legal span { width: 1px; height: 12px; background: var(--line-dark); }
.footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--on-dark-muted); flex-wrap: wrap; }

/* ==========================================================================
   Brand pages
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(64px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero .display { margin-bottom: 32px; }
.page-hero .lead { margin-bottom: 44px; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.page-hero__media { position: relative; aspect-ratio: .82; }
.page-hero__media .skew { position: absolute; inset: 0; }
/* Free-standing device mockup (transparent PNG) instead of a framed photo */
/* text starts at the same height on every page, independent of the mockup's size */
.page-hero__grid--device { align-items: start; }
.page-hero__grid--device > :first-child { margin-top: clamp(-34px, -1.5vw, -16px); }
.page-hero__device { position: relative; top: clamp(0px, 1.5vw, 24px); width: 185%; margin-left: -10%; }
.page-hero__device img { width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgba(18, 20, 24, .18)); }
/* mockup cut flat at the bottom (Reconyo rock): sit lower and fade out instead of ending in a hard edge */
.page-hero__device--ground { top: clamp(0px, 2.2vw, 40px); left: -50px; width: 192%; margin-left: -14%; }
.page-hero__device--ground img {
  filter: none;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 94%);
  mask-image: linear-gradient(180deg, #000 52%, transparent 94%);
}
.page-hero__badge {
  position: absolute; left: -10%; bottom: 10%; z-index: 2;
  background: var(--surface); border-radius: 14px; padding: 16px 22px; box-shadow: 0 24px 50px -24px rgba(18, 20, 24, .3);
  display: flex; align-items: center; gap: 14px; font-size: 13px; line-height: 1.4;
}
.page-hero__badge small { display: block; color: var(--muted); font-size: 11.5px; }
.page-hero__badge b { font-weight: 700; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; white-space: nowrap; user-select: none; }
.section--dark .marquee, .marquee--dark { border-color: var(--line-dark); }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__group { display: inline-flex; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; line-height: 1.2; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); font-size: clamp(1.6rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; font-weight: 300; }
.marquee__sep { width: 15px; flex: none; }

/* Split text block */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); }
.split__aside .eyebrow { position: sticky; top: 120px; }
.statement { font-size: clamp(1.6rem, 2.9vw, 2.5rem); line-height: 1.3; letter-spacing: -0.025em; font-weight: 400; }
.statement .w { opacity: .16; transition: opacity .5s; }
.statement .w.is-lit { opacity: 1; }
.split__body .lead { margin-top: 40px; max-width: 38rem; }

/* Service grid */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service {
  position: relative; padding: 40px 32px 48px; border-bottom: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
}
.service:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .8s var(--ease-out);
}
.service__num { font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-bottom: 64px; display: flex; justify-content: space-between; transition: color .5s; }
.service__num svg { width: 22px; height: 22px; color: var(--ink); transition: color .5s, transform .8s var(--ease-out); }
.service h3 { margin-bottom: 12px; transition: color .5s; }
.service p { font-size: 14px; color: var(--muted); line-height: 1.65; transition: color .5s; max-width: 22rem; }
@media (hover: hover) {
  .service:hover::before { transform: none; }
  .service:hover h3, .service:hover .service__num svg { color: var(--on-dark); }
  .service:hover p, .service:hover .service__num { color: var(--on-dark-muted); }
  .service:hover .service__num svg { transform: rotate(45deg); }
}

/* Steps (sticky) */
.steps { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); }
.steps__head { position: sticky; top: 130px; align-self: start; }
.steps__head .eyebrow { margin-bottom: 24px; }
.steps__head .h2 { margin-bottom: 24px; }
.steps__progress { margin-top: 40px; height: 1px; background: var(--line); position: relative; max-width: 260px; }
.steps__progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.section--dark .steps__progress { background: var(--line-dark); }
.section--dark .steps__progress i { background: var(--on-dark); }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.section--dark .step { border-color: var(--line-dark); }
.step:last-child { border-bottom: 1px solid var(--line); }
.section--dark .step:last-child { border-bottom-color: var(--line-dark); }
.step__num { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 200; letter-spacing: -0.04em; line-height: 1; color: var(--accent-soft); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; max-width: 32rem; }
.section--dark .step p { color: var(--on-dark-muted); }


/* Project showcase composing (MotionUniverse) */
.showcase {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(560px, 62vw, 940px);
  background: linear-gradient(115deg, #efeeeb 0%, #d6d5d1 48%, #b2b1ad 100%);
}
.showcase::after { /* soft vignette so the edges recede */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(120% 90% at 40% 45%, transparent 55%, rgba(18, 20, 24, .14) 100%);
}
.showcase__plane {
  --gap: clamp(12px, 1.6vw, 26px);
  position: absolute; left: 50%; top: 50%; width: 128%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: start;
  transform: translate(-50%, -50%) rotate(-14deg);
}
.showcase__col { margin-top: var(--offset, 0%); }
.showcase__drift {
  display: flex; flex-direction: column; gap: var(--gap);
  animation: showcase-drift 18s ease-in-out infinite alternate;
  animation-delay: calc(var(--c, 0) * -4.5s);
}
.showcase__col--up .showcase__drift { animation-direction: alternate-reverse; }
@keyframes showcase-drift { from { transform: translate3d(0, -3.5%, 0); } to { transform: translate3d(0, 3.5%, 0); } }

/* entrance: items slide in along their column, alternating from above and below */
.showcase__item {
  transition: transform 1.5s var(--ease-out), opacity 1s var(--ease-out);
  transition-delay: calc(var(--c, 0) * 140ms + var(--i, 0) * 110ms + 150ms);
}
.showcase:not(.is-in) .showcase__item { opacity: 0; }
.showcase:not(.is-in) .showcase__col--down .showcase__item { transform: translate3d(0, -60%, 0); }
.showcase:not(.is-in) .showcase__col--up .showcase__item { transform: translate3d(0, 60%, 0); }
.showcase__item img { width: 100%; height: auto; display: block; }
.showcase__item--mock img { filter: drop-shadow(0 26px 30px rgba(18, 20, 24, .22)) drop-shadow(0 4px 8px rgba(18, 20, 24, .1)); }
.showcase__item--photo img { border-radius: 6px; box-shadow: 0 30px 50px -24px rgba(18, 20, 24, .45), 0 4px 10px rgba(18, 20, 24, .08); }
.projects__more { margin: clamp(40px, 5vw, 64px) 0 0; text-align: center; }

/* Feature grid (Reconyo) */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.feature {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 32px 28px 36px;
  border: 1px solid var(--line); transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out), opacity 1.1s var(--ease-out);
}
.feature:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -36px rgba(18, 20, 24, .35); }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); margin-bottom: 48px; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Category list (Reconyo) */
.cats { border-top: 1px solid var(--line-dark); }
.cat {
  position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-dark); overflow: hidden;
}
.cat__num { font-size: 12px; letter-spacing: .14em; color: var(--on-dark-muted); }
.cat__name { font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; font-weight: 300; transition: transform .8s var(--ease-out); }
.cat__text { font-size: 14px; color: var(--on-dark-muted); }
.cat svg { width: 22px; height: 22px; justify-self: end; opacity: .5; transition: transform .8s var(--ease-out), opacity .4s; }
@media (hover: hover) {
  .cat:hover .cat__name { transform: translateX(18px); }
  .cat:hover svg { transform: rotate(-45deg); opacity: 1; }
}

/* Brand switcher (next brand) */
.next-brand { display: block; position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; border-top: 1px solid var(--line); isolation: isolate; }
.next-brand .eyebrow { margin-bottom: 20px; }
.next-brand__title { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: clamp(3rem, 9vw, 8rem); letter-spacing: -0.05em; line-height: 1; font-weight: 700; }
.next-brand__title svg { width: clamp(40px, 6vw, 90px); height: auto; transition: transform .8s var(--ease-out); flex: none; }
.next-brand:hover .next-brand__title svg { transform: translateX(16px); }
/* variant with a background video: darkened, blurred gradient from the bottom, white text */
.next-brand--video { color: var(--on-dark); background: var(--dark); border-top: 0; padding: clamp(60px, 6.5vw, 104px) 0; }
.next-brand--video .eyebrow { color: var(--accent-soft); }
.next-brand--video .next-brand__title { font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -0.04em; }
.next-brand--video .next-brand__title svg { width: clamp(32px, 3.6vw, 54px); }
.next-brand__sub { margin-top: 18px; max-width: 34rem; font-size: clamp(.95rem, 1.1vw, 1.05rem); line-height: 1.7; color: var(--on-dark-muted); }
.next-brand__video { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.next-brand__video video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.next-brand--video:hover .next-brand__video video { transform: scale(1.09); }
.next-brand__video::before { /* darken */
  content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 13, 15, .86);
}
.next-brand__video::after { /* blur + gradient rising from the bottom */
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(12, 13, 15, .9) 0%, rgba(12, 13, 15, .45) 45%, rgba(12, 13, 15, 0) 80%);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 25%, transparent 80%);
  mask-image: linear-gradient(0deg, #000 0%, #000 25%, transparent 80%);
}

/* Launch (Reconyo) */
.launch { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.launch .h2 { margin: 24px 0; }
.launch__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.launch__card .status-dot { margin-bottom: 28px; }
.timeline { display: grid; margin-bottom: 32px; }
.timeline li { position: relative; padding: 0 0 22px 30px; font-size: 14.5px; font-weight: 600; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--surface); }
.timeline li::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: 2px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.is-done::before { background: var(--accent); border-color: var(--accent); }
.timeline li small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.person { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; margin-bottom: 48px; }
.person__img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--bg-2); }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person b { display: block; font-size: 1.1rem; font-weight: 600; }
.person small { color: var(--muted); font-size: 13px; }
.info-list { display: grid; border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info-list dt { color: var(--muted); font-size: 13px; }
.info-list a { font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.info-list a:hover { background-size: 100% 1px; }

.form { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 52px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; margin-bottom: 28px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 10px 0 12px; font-size: 16px; border-radius: 0; outline: none;
  transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121418' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 2px center / 18px no-repeat; padding-right: 28px; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); pointer-events: none; }
.field:focus-within .field__bar { transform: scaleX(1); }
.field textarea ~ .field__bar { bottom: 6px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 13px; color: var(--muted); margin: 4px 0 32px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 12.5px; color: var(--muted); }
.form__status { margin-top: 24px; font-size: 14px; padding: 14px 18px; border-radius: 10px; display: none; }
.form__status.is-ok { display: block; background: #e6efe6; color: #24452a; }
.form__status.is-error { display: block; background: #f4e7e4; color: #6b2a1f; }
.form__status a { text-decoration: underline; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(40px, 5vw, 64px); }
.legal-hero .eyebrow { margin-bottom: 24px; }
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 100px); padding-bottom: var(--section); }
.legal__toc { position: sticky; top: 110px; align-self: start; font-size: 13px; display: grid; gap: 10px; }
.legal__toc a { color: var(--muted); transition: color .3s; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--ink); }
.prose { max-width: 46rem; font-size: 15.5px; color: var(--ink-2); }
.prose section { margin-bottom: 52px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); margin-bottom: 20px; }
.prose h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 28px 0 8px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose address { font-style: normal; margin-bottom: 14px; }
.prose .muted { color: var(--muted); font-size: 14px; }

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 150;
  max-width: 380px; display: grid; gap: 16px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 50px -24px rgba(18, 20, 24, .35);
  font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease;
}
.cookie-notice.is-visible { opacity: 1; transform: none; }
.cookie-notice b { color: var(--ink); }
.cookie-notice a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice .btn { justify-self: start; }
.btn--small { height: 40px; padding: 0 20px; font-size: 13px; }
@media (max-width: 600px) { .cookie-notice { right: 12px; max-width: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  /* stacked layout: panels sit below the text with a fixed height */
  .hero__cards { position: relative; top: auto; bottom: auto; left: auto; right: auto; height: clamp(420px, 70vw, 620px); margin: 48px calc(var(--gutter) * -1 - 4vw) 0; }
  .hero__cards .brand-card:nth-child(1) .brand-card__body { padding-left: 22%; }
  .hero__cards .brand-card:nth-child(2) .brand-card__body { padding-right: 18%; }
  .brand-card__body { bottom: 16%; white-space: normal; padding: 0 8% 0 14%; }
  .hero { padding-bottom: 0; }
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__grid--device > :first-child { margin-top: 0; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 64px); }
  .intro__grid { grid-template-columns: 1fr 1fr; }
  .side-note { display: none; }
  .stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .stats__head { grid-column: 1 / -1; }
  .stat:nth-child(2) { padding-left: 0; }
  .stat:nth-child(2)::before { display: none; }
  .contact-band__grid { grid-template-columns: 1fr 1fr; }
  .pin { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:not(:nth-child(3n + 1)) { border-left: 0; }
  .service:nth-child(2n) { border-left: 1px solid var(--line); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__media { max-width: 560px; width: 100%; aspect-ratio: 1.1; justify-self: end; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .burger { display: block; }
  .header__logo { width: 128px; }
  .intro__grid, .about__grid, .contact-band__grid, .brand-row, .split, .steps, .launch, .contact-page__grid, .legal { grid-template-columns: 1fr; }
  .brand-row--flip .brand-row__media { order: 0; }
  .brand-row__media--device { width: 135%; margin-left: -35%; }
  .brand-row__media--product { top: 0; width: 100%; margin-right: 0; justify-self: center; }
  .brands__head { flex-direction: column; align-items: start; }
  .contact-list { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid var(--line-dark); }
  .stats__grid { grid-template-columns: 1fr; row-gap: 0; }
  .stat { padding: 32px 0; }
  .stat::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; transform: scaleX(0); transform-origin: left; display: block !important; }
  .stat.is-in::before { transform: none; }
  .stats__head { padding-bottom: 32px; }
  .steps__head, .split__aside .eyebrow, .legal__toc { position: static; }
  .legal__toc { display: none; }
        .cat { grid-template-columns: 48px 1fr 28px; }
  .showcase { height: 120vw; }
  .showcase__plane { width: 240%; }
  .cat__text { grid-column: 2; grid-row: 2; margin-top: -12px; }
  .cat svg { grid-column: 3; grid-row: 1; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .page-hero__badge { left: 4%; }
  .page-hero__device { top: 0; width: 150%; margin: 0 0 0 -4%; }
  .page-hero__device--ground { left: 0; width: 140%; margin-left: -6%; }
}

@media (max-width: 600px) {
  .brand-card__name { font-size: .98rem; }
  .brand-card__body { padding: 0 6% 0 11%; }
    .brand-card__sub { font-size: 11px; }
  .card-link { margin-top: 14px; font-size: 11.5px; gap: 6px; white-space: nowrap; }
  .card-link .arrow { width: 13px; height: 13px; }
  .services, .features { grid-template-columns: 1fr; }
  .service, .service:nth-child(2n) { border-left: 0; padding-left: 0; padding-right: 0; }
  .service__num { margin-bottom: 32px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .info-list > div { grid-template-columns: 1fr; gap: 2px; }
  .next-brand__title { font-size: clamp(2.6rem, 14vw, 4rem); }
  .page-hero__badge { padding: 12px 16px; bottom: 6%; }
  .btn { height: 50px; padding: 0 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  [data-reveal], .line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .statement .w { opacity: 1; }
}
