/* ============================================================
   MSC-Maschinenbau — Design System
   Light & Clean Engineering
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Neutrals — cool graphite scale */
  --c-white:      #ffffff;
  --c-paper:      #f7f8fa;
  --c-mist:       #eef1f5;
  --c-line:       #dfe4ec;
  --c-line-soft:  #e9edf3;
  --c-slate-300:  #b3bcca;
  --c-slate-500:  #6b7686;
  --c-slate-600:  #55606f;
  --c-slate-700:  #3c4654;
  --c-ink:        #121a26;
  --c-ink-deep:   #0a0f18;

  /* Accent — engineering blue */
  --c-blue-50:    #eef4ff;
  --c-blue-100:   #dbe7ff;
  --c-blue-300:   #8fb4ff;
  --c-blue:       #1a56db;
  --c-blue-600:   #1546b8;
  --c-blue-700:   #103a99;

  /* Signal — used very sparingly */
  --c-signal:     #ff6a1f;

  /* Semantic */
  --bg:           var(--c-white);
  --bg-alt:       var(--c-paper);
  --fg:           var(--c-ink);
  --fg-muted:     var(--c-slate-500);
  --border:       var(--c-line);
  --accent:       var(--c-blue);

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Fluid type scale */
  --fs-mega:  clamp(2.75rem, 1.4rem + 6.0vw, 6.5rem);
  --fs-h1:    clamp(2.25rem, 1.3rem + 4.2vw, 4.5rem);
  --fs-h2:    clamp(1.85rem, 1.15rem + 2.9vw, 3.35rem);
  --fs-h3:    clamp(1.35rem, 1.05rem + 1.2vw, 1.95rem);
  --fs-h4:    clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-lead:  clamp(1.05rem, 0.98rem + 0.42vw, 1.3rem);
  --fs-body:  1rem;
  --fs-sm:    0.9rem;
  --fs-xs:    0.775rem;

  /* Space */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.5rem;  --sp-6: 2rem;
  --sp-7: 3rem;     --sp-8: 4rem;    --sp-9: 6rem;
  --section: clamp(4.5rem, 2.5rem + 7vw, 9.5rem);

  /* Layout */
  --wrap:      1240px;
  --wrap-wide: 1440px;
  --wrap-text: 760px;
  --gutter:    clamp(1.15rem, 0.6rem + 2.4vw, 2.75rem);

  /* Radii + elevation */
  --r-sm: 6px;  --r-md: 12px;  --r-lg: 20px;  --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(18, 26, 38, .05), 0 1px 1px rgba(18, 26, 38, .04);
  --sh-2: 0 4px 14px rgba(18, 26, 38, .06), 0 1px 3px rgba(18, 26, 38, .04);
  --sh-3: 0 18px 48px -12px rgba(18, 26, 38, .16), 0 4px 12px rgba(18, 26, 38, .05);
  --sh-blue: 0 14px 34px -10px rgba(26, 86, 219, .45);

  /* Motion */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-io:   cubic-bezier(.65, .05, .36, 1);
  --dur:       .45s;
  --header-h:  76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--c-blue); color: #fff; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--c-ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.16; letter-spacing: -0.02em; }
h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.012em; }
p  { text-wrap: pretty; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--c-slate-600);
  font-weight: 400;
}
.muted { color: var(--fg-muted); }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--c-slate-600); }
.prose h2 { margin: 2.4em 0 .7em; }
.prose h3 { margin: 2em 0 .55em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { margin: 1.1em 0; display: grid; gap: .6em; }
.prose ul li {
  position: relative; padding-left: 1.5rem; color: var(--c-slate-600);
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; background: var(--c-blue);
  transform: rotate(45deg);
}
.prose strong { color: var(--c-ink); font-weight: 600; }
.prose a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Eyebrow / technical label */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-blue);
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--c-blue-300);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.eyebrow--muted { color: var(--c-slate-500); }
.eyebrow--muted::before { background: var(--c-slate-300); }

.mono { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .08em; }

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: var(--wrap-wide); }
.wrap--text { max-width: var(--wrap-text); }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .62); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--c-ink-deep); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .lead, .section--ink p { color: rgba(255, 255, 255, .68); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head h2 + .lead { margin-top: 1.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  max-width: none; display: grid; gap: 1.75rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .section-head--split > *:last-child { padding-bottom: .4rem; }
}

.grid { display: grid; gap: clamp(1rem, .6rem + 1.2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

.stack   { display: grid; gap: var(--sp-4); }
.stack-6 { display: grid; gap: var(--sp-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.divider { height: 1px; background: var(--border); border: 0; }

/* ---------- 5. Decorative: blueprint grid ---------- */
.bp-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(18, 26, 38, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 26, 38, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 110% 80% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 110% 80% at 50% 0%, #000 20%, transparent 78%);
}
.bp-grid--full {
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
}
.section--ink .bp-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
}
.glow {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(90px); opacity: .5;
}

/* ---------- 6. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95rem 1.6rem;
  border-radius: 100px;
  font-size: .945rem; font-weight: 550; letter-spacing: -.008em;
  white-space: nowrap;
  transition: transform .38s var(--ease-out), background-color .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), box-shadow .38s var(--ease-out);
  will-change: transform;
  isolation: isolate;
}
.btn svg { flex: none; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--c-blue); color: #fff; box-shadow: var(--sh-blue);
}
.btn--primary:hover { background: var(--c-blue-600); box-shadow: 0 18px 42px -10px rgba(26, 86, 219, .55); }

.btn--ink { background: var(--c-ink); color: #fff; box-shadow: var(--sh-2); }
.btn--ink:hover { background: #000; }

.btn--ghost {
  background: transparent; color: var(--c-ink);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.btn--ghost:hover { background: var(--c-ink); color: #fff; box-shadow: inset 0 0 0 1px var(--c-ink); }

.btn--light { background: #fff; color: var(--c-ink); }
.btn--light:hover { background: var(--c-blue-50); }

.btn--onink {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.btn--onink:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }

.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn:active { transform: scale(.975); }

/* Text link with animated rule */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 550; font-size: .935rem; color: var(--c-blue);
  position: relative; padding-bottom: 3px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 7. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease),
              height .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  opacity: 0; transition: opacity .45s var(--ease);
}
.header.is-stuck::before { opacity: 1; }
.header.is-stuck { border-bottom-color: var(--c-line-soft); height: 66px; }

.header__inner {
  width: 100%; max-width: var(--wrap-wide); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.logo__mark {
  width: 34px; height: 34px; flex: none;
  transition: transform .7s var(--ease-out);
}
.logo:hover .logo__mark { transform: rotate(90deg); }
.logo__text { display: grid; line-height: 1; }
.logo__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -.028em; color: var(--c-ink);
}
.logo__sub {
  font-family: var(--font-mono); font-size: .565rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--c-slate-500); margin-top: 3px;
}

/* Desktop nav */
.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: .15rem; }
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .85rem; border-radius: 8px;
  font-size: .915rem; font-weight: 500; color: var(--c-slate-600);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__link:hover { color: var(--c-ink); background: var(--c-mist); }
.nav__link.is-active { color: var(--c-ink); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem;
  height: 2px; background: var(--c-blue); border-radius: 2px;
}
.nav__caret { transition: transform .3s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 288px; padding: .5rem;
  background: #fff; border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility .3s;
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown__link {
  display: grid; gap: 2px; padding: .7rem .85rem; border-radius: 8px;
  transition: background-color .22s var(--ease);
}
.dropdown__link:hover { background: var(--c-blue-50); }
.dropdown__link strong { font-size: .93rem; font-weight: 600; color: var(--c-ink); }
.dropdown__link span { font-size: .8rem; color: var(--c-slate-500); line-height: 1.45; }

.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }

/* Burger */
.burger {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; margin-right: -8px;
  transition: background-color .25s var(--ease);
}
.burger:hover { background: var(--c-mist); }
@media (min-width: 1024px) { .burger { display: none; } }
.burger__box { width: 20px; height: 12px; position: relative; }
.burger__box span {
  position: absolute; left: 0; width: 100%; height: 1.75px; border-radius: 2px;
  background: var(--c-ink);
  transition: transform .45s var(--ease-out), opacity .25s var(--ease), width .45s var(--ease-out);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 5px; width: 70%; }
.burger__box span:nth-child(3) { top: 10px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu */
.mobilemenu {
  position: fixed; inset: 0; z-index: 99;
  background: #fff;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.5rem;
  display: flex; flex-direction: column;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .68s var(--ease-out);
  pointer-events: none;
}
.mobilemenu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
@media (min-width: 1024px) { .mobilemenu { display: none; } }

.mobilemenu__list { display: grid; gap: .1rem; }
.mobilemenu__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem 0;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 600;
  letter-spacing: -.03em;
  border-bottom: 1px solid var(--c-line-soft);
  opacity: 0; transform: translateY(18px);
}
.mobilemenu.is-open .mobilemenu__link {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease) calc(var(--i, 0) * 55ms + .18s),
              transform .6s var(--ease-out) calc(var(--i, 0) * 55ms + .18s);
}
.mobilemenu__link .mono { color: var(--c-slate-300); font-size: .68rem; }
.mobilemenu__link.is-active { color: var(--c-blue); }
.mobilemenu__foot {
  margin-top: auto; padding-top: 2.5rem;
  display: grid; gap: 1rem;
}
.mobilemenu__foot a.contact-line { display: flex; align-items: center; gap: .7rem; color: var(--c-slate-600); font-size: .95rem; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 1rem + 7vw, 7rem));
  padding-bottom: clamp(3.5rem, 1.5rem + 6vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% -10%, var(--c-blue-50) 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--c-paper) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__grid { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.06fr .94fr; gap: clamp(2rem, 1rem + 3vw, 4.5rem); }
}
.hero h1 { margin: 1.5rem 0 0; }
.hero .lead { margin-top: 1.6rem; max-width: 54ch; }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__meta {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--c-line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.5rem;
}
.hero__meta dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-slate-500); }
.hero__meta dd {
  margin: .4rem 0 0; font-family: var(--font-display); font-weight: 600;
  font-size: 1.45rem; letter-spacing: -.03em; color: var(--c-ink);
}

/* Hero visual — technical part card */
.hero__visual { position: relative; }
.hero__card {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: #fff; border: 1px solid var(--c-line);
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 4.4;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(190deg, transparent 45%, rgba(10, 15, 24, .55) 100%);
}
.hero__cardlabel {
  position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.25rem; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: #fff;
}
.hero__cardlabel strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; }
.hero__cardlabel .mono { color: rgba(255, 255, 255, .68); }

/* Floating spec chip */
.spec-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .95rem;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--c-line-soft);
  border-radius: 14px; box-shadow: var(--sh-3);
}
.spec-chip__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .16);
  animation: pulse 2.6s var(--ease-io) infinite;
}
.spec-chip__txt { display: grid; line-height: 1.3; }
.spec-chip__txt b { font-size: .855rem; font-weight: 600; letter-spacing: -.015em; }
.spec-chip__txt span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; color: var(--c-slate-500); text-transform: uppercase; }
.spec-chip--a { left: -6%; top: 12%; }
.spec-chip--b { right: -4%; bottom: 16%; }
@media (max-width: 640px) { .spec-chip--a { left: -2%; } .spec-chip--b { right: 0; } }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
  50%      { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* Page hero (inner pages) */
.pagehero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 1.5rem + 5vw, 5.5rem));
  padding-bottom: clamp(2.75rem, 1.5rem + 4vw, 5rem);
  background:
    radial-gradient(100% 120% at 88% 0%, var(--c-blue-50) 0%, transparent 58%),
    linear-gradient(180deg, #fff 0%, var(--c-paper) 100%);
  border-bottom: 1px solid var(--c-line-soft);
}
.pagehero__inner { position: relative; z-index: 2; }
.pagehero h1 { margin: 1.35rem 0 0; max-width: 20ch; }
.pagehero .lead { margin-top: 1.35rem; max-width: 62ch; }
.pagehero__actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-slate-500); }
.crumbs a { transition: color .25s var(--ease); }
.crumbs a:hover { color: var(--c-blue); }
.crumbs span[aria-current] { color: var(--c-ink); }
.crumbs .sep { color: var(--c-slate-300); }

/* ---------- 9. Marquee ---------- */
.marquee {
  overflow: hidden; padding-block: 1.25rem;
  border-block: 1px solid var(--c-line-soft);
  background: #fff;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: scroll-x 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(2rem, 1rem + 3vw, 4rem); padding-right: clamp(2rem, 1rem + 3vw, 4rem); }
.marquee__item {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--c-slate-500); white-space: nowrap;
}
.marquee__item::before { content: ""; width: 5px; height: 5px; background: var(--c-blue); transform: rotate(45deg); flex: none; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- 10. Cards ---------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.2vw, 2.15rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(26, 86, 219, .075), transparent 62%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--c-blue-100); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card__num {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em;
  color: var(--c-slate-300); margin-bottom: 1.5rem;
}
.card__icon {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center; margin-bottom: 1.4rem;
  border-radius: 14px;
  background: var(--c-blue-50); color: var(--c-blue);
  transition: transform .55s var(--ease-out), background-color .4s var(--ease), color .4s var(--ease);
}
.card:hover .card__icon { background: var(--c-blue); color: #fff; transform: scale(1.06) rotate(-4deg); }
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--c-slate-600); font-size: .96rem; }
.card__foot { margin-top: auto; padding-top: 1.6rem; }
.card__list { margin-top: 1.25rem; display: grid; gap: .55rem; }
.card__list li {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .885rem; color: var(--c-slate-600);
}
.card__list li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: .5rem;
  background: var(--c-blue-300); transform: rotate(45deg);
}

/* Service card — larger, image-led */
.svc {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s var(--ease);
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: var(--c-blue-100); }
.svc__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--c-mist); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.05s var(--ease-out); }
.svc:hover .svc__media img { transform: scale(1.07); }
.svc__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: .38rem .7rem; border-radius: 100px;
  background: rgba(255, 255, 255, .93); backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: .63rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--c-ink);
}
.svc__body { padding: clamp(1.4rem, 1rem + 1vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { margin-bottom: .65rem; }
.svc__body p { color: var(--c-slate-600); font-size: .955rem; }
.svc__body .link-arrow { margin-top: auto; padding-top: 1.5rem; }

/* Stat */
.stat { padding: clamp(1.4rem, 1rem + 1vw, 2rem) 0; border-top: 2px solid var(--c-ink); }
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4rem);
  letter-spacing: -.045em; line-height: 1; color: var(--c-ink);
  display: flex; align-items: baseline; gap: .05em;
}
.stat__suffix { font-size: .48em; color: var(--c-blue); }
.stat__label { margin-top: .85rem; font-size: .9rem; color: var(--c-slate-500); line-height: 1.5; }
.section--ink .stat { border-top-color: rgba(255, 255, 255, .28); }
.section--ink .stat__num { color: #fff; }
.section--ink .stat__suffix { color: var(--c-blue-300); }
.section--ink .stat__label { color: rgba(255, 255, 255, .55); }

/* Feature row (alternating) */
.featrow { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 940px) {
  .featrow { grid-template-columns: 1fr 1fr; }
  .featrow--flip .featrow__media { order: -1; }
}
.featrow + .featrow { margin-top: clamp(3.5rem, 2rem + 5vw, 7rem); }
.featrow__media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-line); box-shadow: var(--sh-2);
  aspect-ratio: 4 / 3; background: var(--c-mist);
}
.featrow__media img { width: 100%; height: 100%; object-fit: cover; }
.featrow h2 + p, .featrow h3 + p { margin-top: 1.1rem; }
.featrow .eyebrow { margin-bottom: 1.1rem; }

/* ---------- 11. Process / timeline ---------- */
.process { display: grid; gap: 0; counter-reset: step; }
.process__step {
  position: relative;
  display: grid; gap: 1rem;
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem) 0;
  border-top: 1px solid var(--c-line);
  transition: background-color .4s var(--ease);
}
.process__step:last-child { border-bottom: 1px solid var(--c-line); }
@media (min-width: 860px) {
  .process__step { grid-template-columns: 100px 1fr 1.1fr; gap: 2.5rem; align-items: start; }
}
.process__step::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--c-blue); transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.process__step:hover::after { transform: scaleX(1); }
.process__no {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em;
  color: var(--c-blue); padding-top: .35rem;
}
.process__step h3 { letter-spacing: -.025em; }
.process__step p { color: var(--c-slate-600); font-size: .965rem; }

/* ---------- 12. Accordion (FAQ) ---------- */
.acc { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.55rem 0; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.35; color: var(--c-ink);
  transition: color .3s var(--ease);
}
.acc__btn:hover { color: var(--c-blue); }
.acc__icon {
  flex: none; width: 30px; height: 30px; margin-top: -2px;
  border-radius: 50%; border: 1px solid var(--c-line);
  display: grid; place-items: center; position: relative;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .5s var(--ease-out);
}
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: var(--c-ink); border-radius: 2px;
  transition: transform .45s var(--ease-out), background-color .35s var(--ease);
}
.acc__icon::before { width: 11px; height: 1.6px; }
.acc__icon::after  { width: 1.6px; height: 11px; }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--c-blue); border-color: var(--c-blue); transform: rotate(180deg); }
.acc__btn[aria-expanded="true"] .acc__icon::before { background: #fff; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); }
.acc__panel { overflow: hidden; height: 0; transition: height .5s var(--ease-out); }
.acc__inner { padding: 0 3.5rem 1.9rem 0; color: var(--c-slate-600); }
.acc__inner p + p { margin-top: .9em; }

/* ---------- 13. Gallery ---------- */
.gallery { display: grid; gap: clamp(.6rem, .3rem + .8vw, 1rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: var(--c-mist); border: 1px solid var(--c-line);
  aspect-ratio: 1; cursor: zoom-in; display: block; width: 100%;
}
.gallery__item--tall { aspect-ratio: 3 / 4; }
@media (min-width: 760px) { .gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; } }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 24, .5));
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute; left: .9rem; bottom: .8rem; z-index: 2;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .45s var(--ease-out);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 4vmin;
  background: rgba(8, 12, 20, .9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 88vh; border-radius: var(--r-md);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  transform: scale(.94); transition: transform .55s var(--ease-out);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 2vmin; right: 2vmin;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .1);
  transition: background-color .3s var(--ease), transform .4s var(--ease-out);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); transform: rotate(90deg); }

/* ---------- 14. Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .5rem; position: relative; }
.field label {
  font-size: .8rem; font-weight: 550; letter-spacing: .01em; color: var(--c-slate-700);
}
.field label .req { color: var(--c-signal); }
.field input, .field textarea, .field select {
  width: 100%; padding: .88rem 1rem;
  background: #fff; border: 1px solid var(--c-line); border-radius: 10px;
  font-size: .95rem; color: var(--c-ink);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%236b7686' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-slate-300); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, .11);
}
.field.has-error input, .field.has-error textarea { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .09); }
.field__err { font-size: .78rem; color: #dc2626; display: none; }
.field.has-error .field__err { display: block; }
.field--row { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .field--row { grid-template-columns: 1fr 1fr; } }

.checkline { display: flex; gap: .7rem; align-items: flex-start; font-size: .84rem; color: var(--c-slate-600); line-height: 1.5; }
.checkline input { width: 18px; height: 18px; flex: none; margin-top: .15rem; accent-color: var(--c-blue); }
.checkline.has-error { color: #b91c1c; }
.checkline.has-error input { outline: 2px solid #dc2626; outline-offset: 2px; border-radius: 3px; }
.checkline a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }

.form__note {
  padding: .9rem 1.1rem; border-radius: 10px; font-size: .875rem;
  display: none; align-items: center; gap: .65rem;
}
.form__note.is-visible { display: flex; animation: fadeUp .5s var(--ease-out); }
.form__note--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

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

/* ---------- 15. Contact blocks ---------- */
.contact-card {
  display: grid; gap: .35rem; padding: 1.5rem;
  border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff;
  transition: border-color .35s var(--ease), transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.contact-card:hover { border-color: var(--c-blue-100); transform: translateY(-3px); box-shadow: var(--sh-2); }
.contact-card__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--c-blue-50); color: var(--c-blue); display: grid; place-items: center; margin-bottom: .9rem; }
.contact-card dt { font-family: var(--font-mono); font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-slate-500); }
.contact-card dd { margin: .3rem 0 0; font-size: 1.02rem; font-weight: 550; letter-spacing: -.015em; }
.contact-card dd a:hover { color: var(--c-blue); }
.contact-card small { color: var(--c-slate-500); font-size: .82rem; }

/* Map placeholder */
.mapbox {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-line); background: var(--c-mist);
  aspect-ratio: 16 / 10; display: grid; place-items: center;
}
.mapbox__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(18, 26, 38, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 26, 38, .06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.mapbox__pin { position: relative; z-index: 2; display: grid; justify-items: center; gap: .8rem; text-align: center; padding: 1.5rem; }
.mapbox__dot {
  width: 18px; height: 18px; border-radius: 50%; background: var(--c-blue);
  box-shadow: 0 0 0 8px rgba(26, 86, 219, .16), 0 0 0 18px rgba(26, 86, 219, .08);
  animation: pulse-blue 2.8s var(--ease-io) infinite;
}
@keyframes pulse-blue {
  0%, 100% { box-shadow: 0 0 0 8px rgba(26, 86, 219, .16), 0 0 0 18px rgba(26, 86, 219, .07); }
  50%      { box-shadow: 0 0 0 14px rgba(26, 86, 219, .1), 0 0 0 30px rgba(26, 86, 219, 0); }
}

/* ---------- 16. CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--c-ink-deep); color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(1.5rem, 1rem + 3vw, 4.5rem);
}
.cta__inner { position: relative; z-index: 2; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.25fr .75fr; gap: 3rem; } }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .62); margin-top: 1.15rem; max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) { .cta__actions { justify-content: flex-end; } }
.cta .glow { width: 460px; height: 460px; background: var(--c-blue); opacity: .3; right: -8%; top: -40%; }

/* ---------- 17. Footer ---------- */
.footer { background: var(--c-ink-deep); color: rgba(255, 255, 255, .6); padding-top: clamp(3.5rem, 2rem + 4vw, 6rem); position: relative; overflow: hidden; }
.footer__top { display: grid; gap: 2.75rem; padding-bottom: 3.5rem; position: relative; z-index: 2; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 2rem; } }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: rgba(255, 255, 255, .4); }
.footer__blurb { margin-top: 1.35rem; font-size: .93rem; line-height: 1.65; max-width: 34ch; }
.footer h5 {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255, 255, 255, .42); font-weight: 500;
  margin-bottom: 1.15rem;
}
.footer__list { display: grid; gap: .7rem; }
.footer__list a { font-size: .92rem; color: rgba(255, 255, 255, .68); transition: color .25s var(--ease), transform .35s var(--ease-out); display: inline-block; }
.footer__list a:hover { color: #fff; transform: translateX(4px); }
.footer__bottom {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: .82rem;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.35rem; }
.footer__bottom a:hover { color: #fff; }
.footer .glow { width: 520px; height: 300px; background: var(--c-blue); opacity: .2; left: -10%; bottom: -30%; }
.footer__contact { display: grid; gap: .55rem; font-size: .92rem; }
.footer__contact a { color: rgba(255, 255, 255, .78); transition: color .25s var(--ease); }
.footer__contact a:hover { color: #fff; }

/* Demo notice */
.demobar {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, .04);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: .8rem;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255, 255, 255, .4); text-align: center;
}

/* ---------- 18. Misc components ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .8rem .42rem .62rem; border-radius: 100px;
  background: var(--c-blue-50); color: var(--c-blue-700);
  font-size: .78rem; font-weight: 550;
  border: 1px solid var(--c-blue-100);
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  padding: .45rem .9rem; border-radius: 100px;
  border: 1px solid var(--c-line); background: #fff;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--c-slate-600);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease-out);
}
.pill:hover { border-color: var(--c-blue-300); color: var(--c-blue); transform: translateY(-2px); }
button.pill { cursor: pointer; }
button.pill.is-on {
  background: var(--c-blue); border-color: var(--c-blue); color: #fff;
  box-shadow: var(--sh-blue);
}

.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: .95rem 1rem; border-bottom: 1px solid var(--c-line); }
.spec-table th { font-family: var(--font-mono); font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; color: var(--c-slate-500); font-weight: 500; width: 42%; }
.spec-table td { color: var(--c-slate-700); font-weight: 500; }
.spec-table tr { transition: background-color .3s var(--ease); }
.spec-table tbody tr:hover { background: var(--c-blue-50); }

.quote {
  position: relative; padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.quote__mark { font-family: var(--font-display); font-size: 3.5rem; line-height: .7; color: var(--c-blue-100); }
.quote p { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); line-height: 1.6; color: var(--c-slate-700); margin-top: 1rem; }
.quote footer { margin-top: 1.5rem; display: flex; align-items: center; gap: .85rem; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-mist); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--c-slate-600); flex: none; }
.quote__who strong { display: block; font-size: .9rem; }
.quote__who span { font-size: .8rem; color: var(--c-slate-500); }

/* Note / callout */
.callout {
  padding: 1.35rem 1.5rem; border-radius: var(--r-md);
  background: var(--c-blue-50); border: 1px solid var(--c-blue-100);
  display: flex; gap: 1rem; align-items: flex-start;
}
.callout svg { flex: none; color: var(--c-blue); margin-top: 2px; }
.callout p { font-size: .92rem; color: var(--c-slate-700); }

/* ---------- 19. Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 2px; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--c-blue), var(--c-blue-300));
  will-change: transform;
}

/* ---------- 20. Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease-out), transform .95s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal="fade"]  { transform: none; }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.955); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Headline mask reveal */
.reveal-lines { display: block; }
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.reveal-lines .line > span {
  display: block; transform: translateY(105%);
  transition: transform 1.05s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-lines.is-in .line > span { transform: none; }

/* Image reveal clip */
[data-img-reveal] { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease-out); }
[data-img-reveal].is-in { clip-path: inset(0 0 0 0); }

/* Parallax helper */
[data-parallax] { will-change: transform; }

/* ---------- 21. Utilities ---------- */
.tc { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }
.mb-6 { margin-bottom: var(--sp-6); }
.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 {
  position: absolute; top: -100px; left: 1rem; z-index: 300;
  padding: .8rem 1.2rem; background: var(--c-ink); color: #fff;
  border-radius: 0 0 8px 8px; transition: top .3s var(--ease);
}
.skip:focus { top: 0; }

/* ---------- 22. 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;
  }
  [data-reveal], .reveal-lines .line > span { opacity: 1 !important; transform: none !important; }
  [data-img-reveal] { clip-path: none !important; }
  .marquee__track { animation: none; }
}

/* ---------- 23. Print ---------- */
@media print {
  .header, .mobilemenu, .footer .glow, .progress, .cta { display: none !important; }
  body { color: #000; }
}
