/* ==========================================================================
   eggimann entlastet – Websites für KMU
   Landing page styles. Single stylesheet, no build step.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 400 700;
  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: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  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;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  --brand: #c2004b;
  --brand-deep: #9c003d;
  --bordeaux: #5e0a2f;
  --night: #1b181a;
  --night-2: #26222a;
  --ink: #1b1316;
  --ink-2: #4a3c42;
  --muted: #776870;
  --paper: #ffffff;
  --paper-2: #f7f5f5;
  --white: #ffffff;
  --rose: #faebf1;
  --rose-2: #f3d8e2;
  --line: rgba(27, 19, 22, 0.14);
  --line-strong: rgba(27, 19, 22, 0.3);
  --line-dark: rgba(255, 255, 255, 0.16);

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 4px;
  --radius-lg: 12px;
  --container: 1440px;
  --gutter: clamp(20px, 3vw, 44px);
  --header-h: 68px;

  --h1: clamp(2.35rem, 1.6rem + 3.4vw, 4rem);
  --h2: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --small: 0.9375rem;
  --section: clamp(4.5rem, 3.5rem + 5vw, 9rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.06; }
h2 { font-size: var(--h2); line-height: 1.12; letter-spacing: -0.018em; }
h3 { font-size: var(--h3); line-height: 1.2; letter-spacing: -0.012em; }
h4 { font-size: 1rem; letter-spacing: 0; font-weight: 600; }
p { margin: 0; }
p + p { margin-top: 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--rose-2); color: var(--ink); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--ink); color: #fff; border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
.br-md { display: none; }
@media (min-width: 720px) { .br-md { display: inline; } }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* --- Layout ------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.7); }
.section--alt { background: var(--paper-2); }
.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.section-head--row { align-items: end; }
@media (min-width: 900px) {
  .section-head--row { grid-template-columns: 7fr 5fr; gap: 3rem; }
  .section-head--row > p { padding-bottom: 0.4rem; }
}
.section-head > p, .lead { font-size: var(--lead); line-height: 1.55; max-width: 58ch; }
.muted { color: var(--ink-2); }
.measure { max-width: 62ch; }

/* --- Buttons & links ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.8rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 3.5rem; padding: 0.95rem 2rem; font-size: 1.0625rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--brand); border-color: var(--brand); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
}
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself would turn it
   into the containing block of the fixed mobile menu and clip the menu to the header height. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-scrolled::before { background: rgba(255, 255, 255, 0.94); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 150px; height: auto; }
@media (min-width: 1024px) { .brand img { width: 172px; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; margin-right: -8px; padding: 0 10px;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; transform-origin: center; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
  background: var(--white);
  padding: 1.5rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__list { display: grid; }
.nav__list a {
  display: block; padding: 0.9rem 0;
  font-size: 1.75rem; font-weight: 500; letter-spacing: -0.01em; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__list a.is-current { color: var(--brand); }
.nav__cta { display: grid; gap: 1.25rem; }
.nav__cta .btn { width: 100%; }
.nav__contact { display: grid; gap: 0.35rem; font-size: var(--small); color: var(--ink-2); }
.nav__contact a { display: inline-block; padding-block: 0.2rem; text-decoration: none; color: var(--ink); font-weight: 500; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; inset: auto; padding: 0; background: none;
    flex-direction: row; align-items: center; justify-content: flex-end; gap: 2.25rem;
    opacity: 1; visibility: visible; transform: none; overflow: visible; transition: none;
  }
  .nav__list { display: flex; gap: 2rem; }
  .nav__list a {
    padding: 0.4rem 0; font-size: 1rem; font-weight: 500; border: 0; letter-spacing: 0;
    position: relative; transition: color 0.2s;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
  }
  .nav__list a:hover::after, .nav__list a.is-current::after { transform: scaleX(1); }
  .nav__cta { display: block; }
  .nav__cta .btn { width: auto; }
  .nav__contact { display: none; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 1.5rem + 5vw, 6rem));
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
}
.hero__inner { text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
.hero h1 { max-width: 26ch; }
.hero__lead { max-width: 58ch; font-size: var(--lead); line-height: 1.55; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; width: 100%; }
.hero__note { font-size: var(--small); color: var(--muted); }
@media (max-width: 599px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* Marquee of work tiles */
.marquee {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  display: grid; gap: 1rem;
  --tile: 200px; --gap: 16px;
}
@media (min-width: 720px) { .marquee { --tile: 248px; --gap: 20px; gap: 1.25rem; } }
@media (min-width: 1200px) { .marquee { --tile: 288px; --gap: 24px; gap: 1.5rem; } }
.marquee__row { display: flex; overflow: hidden; }
.marquee__track { display: flex; flex: none; animation: marquee 80s linear infinite; }
.marquee__row--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; flex: none; gap: var(--gap); padding-right: var(--gap); }
.tile {
  flex: none; width: var(--tile); aspect-ratio: 576 / 368;
  border-radius: 8px; overflow: hidden; background: var(--rose);
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Intro -------------------------------------------------------------- */
.intro { display: grid; gap: 2rem; }
.intro__text { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .intro { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
}

/* --- Work --------------------------------------------------------------- */
.project {
  display: grid; gap: 2rem; align-items: center;
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem);
  border-top: 1px solid var(--line);
}
.project:first-of-type { border-top: 0; padding-top: 0; }
.project__body { display: grid; gap: 1.1rem; align-content: start; }
.project__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: var(--small); color: var(--muted); }
@media (min-width: 600px) { .project__meta span + span::before { content: "·"; margin-right: 1.25rem; color: var(--line-strong); } }
.project__body h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.project__body h4 { margin-top: 0.5rem; }
.status {
  display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content;
  font-size: var(--small); font-weight: 500; line-height: 1.3; color: var(--ink-2);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.checks { display: grid; gap: 0.55rem; }
.checks li { position: relative; padding-left: 1.4rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.78em; width: 0.45rem; height: 0.45rem;
  border-radius: 50%; background: var(--brand);
}
.project__link { margin-top: 0.5rem; }
.project__note { font-size: var(--small); color: var(--muted); }

.stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
.stage--sand { background: var(--rose); }
.stage__desktop {
  position: absolute; left: 6%; top: 8%; width: 78%;
  border-radius: 8px;
  box-shadow: 0 20px 40px -26px rgba(27, 19, 22, 0.35), 0 1px 2px rgba(27, 19, 22, 0.08);
  transition: transform 0.5s var(--ease);
}
.stage__phone {
  position: absolute; right: 5%; bottom: -6%; width: 24%;
  border-radius: 14px;
  box-shadow: 0 20px 36px -22px rgba(27, 19, 22, 0.4), 0 1px 2px rgba(27, 19, 22, 0.1);
  transition: transform 0.5s var(--ease);
}
@media (min-width: 720px) { .stage__phone { border-radius: 18px; } }
.project:hover .stage__desktop { transform: translateY(-6px); }
.project:hover .stage__phone { transform: translateY(-10px); }
@media (min-width: 1000px) {
  .project { grid-template-columns: 7fr 5fr; gap: clamp(2rem, 4vw, 5rem); }
  .project--flip .project__media { order: 2; }
}
.work__more {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: grid; gap: 0.35rem;
  font-size: var(--small); color: var(--ink-2);
}
.work__more strong { color: var(--ink); font-weight: 500; }

/* --- Audience (dark) ---------------------------------------------------- */
.audience__grid { display: grid; gap: 0; }
.audience__item {
  padding: 1.75rem 0; border-top: 1px solid var(--line);
  display: grid; gap: 0.6rem; align-content: start;
}
.audience__item h3 { font-size: 1.375rem; }
.audience__item p { color: var(--ink-2); max-width: 48ch; }
@media (min-width: 760px) {
  .audience__grid { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
}
@media (min-width: 1100px) {
  .audience { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .audience .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
}

/* --- Services ----------------------------------------------------------- */
.services { display: grid; }
.service {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 0.5rem 1rem; align-content: start;
  padding: 1.6rem 0; border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__num { font-size: 0.9375rem; font-weight: 600; color: var(--brand); padding-top: 0.35rem; letter-spacing: 0.04em; }
.service h3 { font-size: 1.375rem; }
.service p { grid-column: 2; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 599px) {
  .service { grid-template-columns: 1fr; gap: 0.35rem; }
  .service__num { padding-top: 0; }
  .service p { grid-column: 1; }
}
@media (min-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; column-gap: 4rem; }
  .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* --- Why / people ------------------------------------------------------- */
.why { display: grid; gap: 3rem; }
.why__text { display: grid; gap: 1.5rem; }
.why__points { display: grid; gap: 1.25rem; margin-top: 0.5rem; }
.why__points li { display: grid; gap: 0.3rem; padding-left: 1.25rem; border-left: 2px solid var(--brand); }
.why__points strong { font-weight: 500; font-size: 1.125rem; }
.why__points p { color: var(--ink-2); max-width: 52ch; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.person { display: grid; gap: 0.75rem; margin: 0; }
.person:nth-child(2) { margin-top: 3.5rem; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--paper-2); }
.person figcaption { font-size: var(--small); line-height: 1.45; }
.person figcaption strong { display: block; font-weight: 500; font-size: 1rem; color: var(--ink); }
.person figcaption span { color: var(--muted); }
@media (min-width: 1000px) {
  .why { grid-template-columns: 6fr 6fr; gap: 5rem; align-items: center; }
  .people { gap: 1.75rem; }
}

/* --- Process (dark) ----------------------------------------------------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid; gap: 0.75rem; padding: 2rem 0; align-content: start;
  border-top: 1px solid var(--line);
}
.step__num { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--brand); }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--ink-2); max-width: 40ch; }
.steps__note { margin-top: 2.5rem; font-size: var(--small); color: var(--muted); max-width: 70ch; }
@media (min-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 2.5rem; }
  .step { padding: 2.5rem 0 1rem; }
}

/* --- Project types ------------------------------------------------------ */
.types { display: grid; gap: 1.25rem; }
.type {
  display: grid; gap: 1rem; align-content: start;
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  background: var(--white); border-radius: var(--radius-lg);
}
.type h3 { font-size: 1.5rem; }
.type p { color: var(--ink-2); }
.type dl { display: grid; gap: 0.75rem; margin: 0.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--small); }
.type dt { color: var(--muted); }
.type dd { margin: 0; font-weight: 500; }
.types__note { margin-top: 1.5rem; font-size: var(--small); color: var(--ink-2); max-width: 70ch; }
@media (min-width: 900px) {
  .types { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* --- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: 3rem; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; letter-spacing: 0; line-height: inherit; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-size: 1.125rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.005em;
  transition: color 0.2s;
}
.faq__q:hover, .faq__item.is-open .faq__q { color: var(--brand); }
.faq__icon { position: relative; flex: none; width: 1.5rem; height: 1.5rem; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 1px;
  transition: transform 0.3s var(--ease);
}
.faq__icon::before { width: 1rem; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 2px; height: 1rem; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s 0.35s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; transition-delay: 0s; }
.faq__a p { padding-bottom: 1.5rem; color: var(--ink-2); max-width: 64ch; }
@media (min-width: 1000px) {
  .faq { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
  .faq__q { font-size: 1.25rem; padding: 1.5rem 0; }
}

/* --- Contact / CTA ------------------------------------------------------ */
.cta-panel {
  background: var(--rose); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.5rem + 3.5vw, 5rem);
  display: grid; gap: 2.5rem;
}
.cta-panel h2 { max-width: 16ch; }
.cta-panel .lead { color: var(--ink-2); }
.cta-panel__text { display: grid; gap: 1.5rem; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.cta-panel__side { display: grid; gap: 1.75rem; align-content: start; }
.contact-list { display: grid; gap: 1.1rem; margin: 0; }
.contact-list div { display: grid; gap: 0.2rem; }
.contact-list dt { font-size: var(--small); color: var(--muted); }
.contact-list dd { margin: 0; font-size: 1.0625rem; }
.contact-list a { display: inline-block; padding-block: 0.15rem; text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s, color 0.2s; }
.contact-list a:hover { border-color: var(--brand); color: var(--brand); }
.cta-panel__hint { font-size: var(--small); color: var(--ink-2); max-width: 44ch; }
.cta-panel__hint strong { color: var(--ink); font-weight: 500; }
@media (max-width: 599px) {
  .cta-panel__actions { flex-direction: column; }
  .cta-panel__actions .btn { width: 100%; }
}
@media (min-width: 900px) {
  .cta-panel { grid-template-columns: 7fr 5fr; gap: 4rem; }
}

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, 0.78); padding-block: 3.5rem 2.5rem; font-size: var(--small); }
.site-footer a { color: #fff; text-decoration: none; display: inline-block; padding-block: 0.2rem; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand { display: grid; gap: 1rem; max-width: 36ch; }
.footer-brand img { width: 160px; }
.footer-col { display: grid; gap: 0.6rem; align-content: start; justify-items: start; }
.footer-col h4 { color: #fff; font-weight: 500; margin-bottom: 0.25rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
}

/* --- Legal page --------------------------------------------------------- */
.page { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)); }
.page .container { max-width: 820px; }
.page h1 { margin-bottom: 2rem; }
.page h2 { font-size: 1.375rem; margin: 2.5rem 0 0.75rem; }
.page p { max-width: 68ch; color: var(--ink-2); }
.page strong { color: var(--ink); font-weight: 500; }

/* --- Reveal animation --------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
html.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
html.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .marquee__row--reverse .marquee__track { transform: translateX(-30%); }
  .project:hover .stage__desktop, .project:hover .stage__phone { transform: none; }
  .faq__a, .faq__icon::before, .faq__icon::after, .nav, .btn, .link-arrow::after { transition: none; }
}
