/* AMPRO Design System
   Direction: Modern Corporate Tech — white dominant, FK Grotesk,
   #eb2347 brand red as disciplined accent (≤5% pixels), cut-corner
   signature on hero image / primary CTA / featured card / tech-spec.
*/

/* ─────────────── Fonts ─────────────── */
@font-face {
  font-family: "FK Grotesk";
  src: url("../fonts/FKGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FK Grotesk";
  src: url("../fonts/FKGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FK Grotesk";
  src: url("../fonts/FKGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap");

/* ─────────────── Tokens ─────────────── */
:root {
  /* Color */
  --c-bg: #ffffff;
  --c-bg-warm: #faf9f6;
  --c-ink: #0f0f12;
  --c-ink-2: #1c1d22;
  --c-text: #2a2b30;
  --c-text-2: #6b6c72;
  --c-text-3: #9ca0a8;
  --c-line: #e7e6e2;
  --c-line-2: #d8d7d2;

  --c-accent: #eb2347;          /* brand red — display only */
  --c-accent-deep: #c81e3d;     /* small text on white */
  --c-accent-soft: rgba(235, 35, 71, 0.08);

  --c-dark: #0f0f12;
  --c-dark-2: #16161a;

  /* Type */
  --f-sans: "FK Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Geometry */
  --corner-cut: 22px;
  --corner-cut-lg: 36px;
  --container: 1440px;
  --pad: clamp(20px, 4vw, 64px);

  /* Type scale — production system, do not extend ad-hoc */
  --fs-mono-xs: 10px;
  --fs-mono-sm: 11px;
  --fs-mono-md: 12px;
  --fs-body-sm: 14px;
  --fs-body-md: 16px;
  --fs-body-lg: 18px;
  --fs-h4: 20px;
  --fs-h3: clamp(22px, 1.6vw, 26px);
  --fs-h2: clamp(28px, 3.2vw, 42px);
  --fs-h1: clamp(36px, 5vw, 64px);
  --fs-hero: clamp(40px, 5.4vw, 72px);
  --fs-numeric-xl: clamp(64px, 8.5vw, 124px);
  --fs-numeric-md: clamp(36px, 4vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─────────────── Reset ─────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: var(--fs-body-md);
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  font-feature-settings: "ss01", "ss02", "kern", "liga";
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
::selection {
  background: var(--c-accent);
  color: #fff;
}

/* ─────────────── Layout ─────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 144px) 0;
}
.section.is-light {
  padding: clamp(56px, 7vw, 112px) 0;
}
.section + .section {
  border-top: 1px solid var(--c-line);
}
.section--dark {
  color: #ffffff;
}
.section--dark + .section {
  border-top: 0;
}
.section--warm {
  background: var(--c-bg-warm);
}

/* Section marker: 01_, 02_, 03_ */
.section,
.cta-section,
.case-hero,
.reco,
.end-cta {
  position: relative;
}
.marker {
  position: absolute;
  top: clamp(36px, 4.5vw, 64px);
  left: max(var(--pad), calc((100% - var(--container)) / 2 + var(--pad)));
  font-family: var(--f-mono);
  font-size: var(--fs-mono-md);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-text-3);
  z-index: 3;
}
.section--dark .marker,
.case-hero .marker,
.reco .marker,
.end-cta .marker {
  color: rgba(255, 255, 255, 0.45);
}
.marker .marker-num {
  color: var(--c-accent);
}

/* Hero sygnet watermark — all photo heroes site-wide */
.ampro-hero-sygnet {
  position: absolute;
  right: clamp(12px, 4vw, 72px);
  bottom: clamp(28px, 7vw, 96px);
  width: min(44vw, 500px);
  color: #fff;
  opacity: 0.22;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 28px rgba(8, 8, 11, 0.28));
}

.ampro-hero-sygnet .ampro-mark-svg {
  display: block;
  width: 100%;
  height: auto;
}

.pg-hero--cover .ampro-hero-sygnet {
  bottom: clamp(36px, 8vw, 108px);
}

.case-hero .ampro-hero-sygnet {
  width: min(40vw, 460px);
  bottom: clamp(32px, 8vw, 88px);
}

.hero .ampro-hero-sygnet {
  width: min(42vw, 520px);
  bottom: clamp(40px, 9vw, 112px);
}

.pg-panorama-band .ampro-hero-sygnet {
  width: min(38vw, 440px);
  bottom: clamp(28px, 6vw, 72px);
}

@media (max-width: 1100px) {
  .ampro-hero-sygnet {
    width: min(50vw, 320px);
    opacity: 0.18;
    right: clamp(8px, 3vw, 24px);
    bottom: clamp(20px, 5vw, 56px);
  }
}

@media (max-width: 720px) {
  .ampro-hero-sygnet {
    width: min(54vw, 260px);
    opacity: 0.16;
  }
}

/* ─────────────── Type ─────────────── */
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.section--dark .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.h-display {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0;
  text-wrap: balance;
}
.section--dark .h-display {
  color: #fff;
}
.h-2 {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--c-ink);
  margin: 0;
  text-wrap: balance;
}
.h-3 {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--c-ink);
  margin: 0;
}
.lead {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: var(--fs-body-lg);
  line-height: 1.5;
  color: var(--c-text);
  max-width: 60ch;
  text-wrap: pretty;
}
.body {
  font-size: var(--fs-body-md);
  line-height: 1.6;
  color: var(--c-text);
  max-width: 64ch;
}

.mono {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-md);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-text-2);
}
.mono--up {
  text-transform: uppercase;
}

/* The signature red bullet before display headlines */
.bullet {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 999px;
  background: var(--c-accent);
  vertical-align: 0.18em;
  margin-right: 0.28em;
}

/* Meta-line: dot-separated mono */
.meta {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-md);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-text-2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  align-items: center;
}
.meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta > span > .i {
  width: 12px;
  height: 12px;
  opacity: 0.85;
  flex-shrink: 0;
  vertical-align: 0;
  color: currentColor;
}
.meta > span > .i-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15,15,18,0.06);
  border: 1px solid rgba(15,15,18,0.08);
  flex-shrink: 0;
  margin-right: 2px;
}
.meta > span > .i-pill > .i {
  width: 11px;
  height: 11px;
  opacity: 0.85;
  color: var(--c-ink);
}
.section--dark .meta > span > .i-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}
.section--dark .meta > span > .i-pill > .i {
  color: rgba(255,255,255,0.95);
}
.meta > * + *::before {
  content: "·";
  margin-right: 0.4em;
  color: var(--c-text-3);
}
.section--dark .meta {
  color: rgba(255, 255, 255, 0.7);
}
.section--dark .meta > span > .i { opacity: 0.6; }

/* ─────────────── Buttons ─────────────── */
.btn {
  --h: 56px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 26px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: var(--fs-body-sm);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition:
    transform 0.42s cubic-bezier(0.34, 1.15, 0.64, 1),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.42s var(--ease);
  white-space: nowrap;
}
.btn .arrow {
  transition: transform 0.4s var(--ease);
  display: inline-block;
}
.btn:hover .arrow {
  transform: translateX(8px);
}
/* Cut-corner primary — the signature shape language */
.btn--primary {
  background: var(--c-accent);
  color: #ffffff;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    0 100%
  );
  padding-right: 30px;
}
.btn--primary:hover {
  background: #d31e3f;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(235, 35, 71, 0.28);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(235, 35, 71, 0.2);
  transition-duration: 0.12s;
}
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: none;
  position: relative;
  padding-right: 30px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    0 100%
  );
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-ink);
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%,
    0 1px, 1px 1px,
    1px calc(100% - 1px),
    calc(100% - 14px - 0.4px) calc(100% - 1px),
    calc(100% - 1px) calc(100% - 14px - 0.4px),
    calc(100% - 1px) 1px,
    0 1px
  );
  pointer-events: none;
  transition: background 0.25s var(--ease);
}
.btn--ghost:hover {
  color: #fff;
  background: var(--c-ink);
}
.btn--ghost:hover::before {
  background: var(--c-ink);
}
.section--dark .btn--ghost,
.hero .btn--ghost,
.case-hero .btn--ghost,
.cta-section .btn--ghost,
.reco .btn--ghost,
.end-cta .btn--ghost {
  color: #fff;
}
.section--dark .btn--ghost::before,
.hero .btn--ghost::before,
.case-hero .btn--ghost::before,
.cta-section .btn--ghost::before,
.reco .btn--ghost::before,
.end-cta .btn--ghost::before {
  background: rgba(255, 255, 255, 0.7);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.case-hero .btn--ghost:hover,
.cta-section .btn--ghost:hover,
.reco .btn--ghost:hover,
.end-cta .btn--ghost:hover {
  background: #fff;
  color: var(--c-ink);
}
.section--dark .btn--ghost:hover::before,
.hero .btn--ghost:hover::before,
.case-hero .btn--ghost:hover::before,
.cta-section .btn--ghost:hover::before,
.reco .btn--ghost:hover::before,
.end-cta .btn--ghost:hover::before {
  background: #fff;
}

/* Pill nav */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--c-ink);
  border-radius: 999px;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--c-ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.pill:hover,
.pill[aria-pressed="true"] {
  background: var(--c-ink);
  color: #fff;
}
.section--dark .pill {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.section--dark .pill:hover,
.section--dark .pill[aria-pressed="true"] {
  background: #fff;
  color: var(--c-ink);
}

/* ─────────────── Icons ─────────────── */
.i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: -3px;
  color: var(--c-text-3);
  transition: color 0.2s var(--ease);
}
.i--lg { width: 24px; height: 24px; vertical-align: -5px; }
.i--accent { color: var(--c-accent); }
.i--mute { color: var(--c-text-3); opacity: 0.7; }
.i--white { color: rgba(255,255,255,0.7); }
@keyframes i-pulse-active {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.i--pulse { animation: i-pulse-active 2.4s var(--ease) infinite; }

/* meta-line layout: icon + value, even spacing across many fields */
.meta-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.06em;
  color: var(--c-text-2);
}
.meta-line .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.meta-line .meta-item .i { width: 14px; height: 14px; opacity: 0.65; }

/* ─────────────── NavBar ─────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  --nav-fg: #fff;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  overflow: visible;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: none;
}

.nav.mega-open {
  z-index: 500;
}
/* Floating: transparent over hero (top of page) */
.nav.is-floating {
  background: linear-gradient(180deg, rgba(15,15,18,0.55) 0%, rgba(15,15,18,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* Scrolled: SOLID dark — strong contrast over any section */
.nav.is-scrolled {
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 26px;
}
.nav-logo svg {
  height: 26px;
  width: auto;
}
.nav-logo svg path {
  fill: #fff;
  transition: fill 0.25s var(--ease);
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
@media (min-width: 1600px) { .nav-links { gap: 40px; } }
.nav-link {
  font-size: var(--fs-body-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.005em;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-link.is-active { font-weight: 500; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}
.nav-link:hover { color: #fff; }
/* Status pill */
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-status .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--c-accent);
  box-shadow: 0 0 0 0 rgba(235,35,71,0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@media (max-width: 1180px) { .nav-status { display: none; } }

/* Mega trigger button */
.nav-link--has-mega { padding: 0; position: relative; }
.nav-link-btn {
  background: none; border: none; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-link-btn .caret { transition: transform 0.3s var(--ease), color 0.25s var(--ease); opacity: 0.7; color: var(--c-accent); }
.nav-link--has-mega .nav-link-btn:hover .caret { opacity: 1; }
.nav-link--has-mega.is-open .nav-link-btn { color: var(--c-accent); }
.nav-link--has-mega.is-open .nav-link-btn .caret { transform: rotate(180deg); opacity: 1; }
.nav-link--has-mega.is-open::after { transform: scaleX(1); }

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #08080a;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 40%), radial-gradient(120% 80% at 50% 0%, rgba(235,35,71,0.06), transparent 60%);
  backdrop-filter: blur(48px) saturate(160%) brightness(0.7);
  -webkit-backdrop-filter: blur(48px) saturate(160%) brightness(0.7);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 60px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  z-index: 50;
}
.nav.mega-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0s;
}
.mega-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px var(--pad) 28px;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 16px;
}
.mega-grid > * { height: 100%; }
.mega-intro { padding-right: 28px; border-right: 1px solid rgba(255,255,255,0.08); }
.mega-title {
  font-family: var(--f-sans); font-weight: 500;
  font-size: 24px; line-height: 1.15; letter-spacing: -0.01em;
  color: #fff; margin: 14px 0 12px; max-width: 14ch;
}
.mega-lead { font-size: var(--fs-body-sm); line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0 0 18px; }
.mega-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: var(--fs-mono-sm); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-accent);
}
.mega-all:hover { gap: 12px; }
.mega-card {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.mega-card:hover { background: rgba(235,35,71,0.10); border-color: rgba(235,35,71,0.4); }
.mega-card-num {
  font-family: var(--f-mono); font-size: var(--fs-mono-xs); letter-spacing: 0.14em;
  color: var(--c-accent);
}
.mega-card-icon { color: rgba(255,255,255,0.85); margin: 4px 0 8px; }
.mega-card h4 { font-family: var(--f-sans); font-weight: 500; font-size: var(--fs-h4); margin: 0; line-height: 1.2; }
.mega-card p { font-size: var(--fs-body-sm); line-height: 1.5; color: rgba(255,255,255,0.65); margin: 0; }
.mega-card-arrow { position: absolute; right: 18px; top: 18px; opacity: 0.4; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.mega-card:hover .mega-card-arrow { opacity: 1; transform: translate(4px, -2px); color: var(--c-accent); }
.mega-card--featured { background: linear-gradient(135deg, rgba(235,35,71,0.15), rgba(235,35,71,0.04)); border-color: rgba(235,35,71,0.3); }
.mega-foot {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-body-sm);
}
.mega-mail { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 1px; }
.mega-mail:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }
@media (max-width: 1024px) { .mega { display: none; } }

/* Social icons */
.nav-social {
  display: flex; align-items: center; gap: 4px;
  padding-right: 12px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.nav-social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  color: rgba(255,255,255,0.7);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-social-btn:hover { color: var(--c-accent); background: rgba(235,35,71,0.1); }
@media (max-width: 1280px) { .nav-social { display: none; } }

/* Language toggle — segmented */
.nav-lang-toggle {
  position: relative;
  display: inline-flex;
  padding: 3px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lang-opt {
  position: relative; z-index: 2;
  padding: 5px 11px;
  font-family: var(--f-mono); font-size: var(--fs-mono-xs); font-weight: 500;
  letter-spacing: 0.12em;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s var(--ease);
}
.lang-opt.is-active { color: #fff; }
.lang-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: calc(50% - 3px); height: calc(100% - 6px);
  background: var(--c-accent);
  border-radius: 999px;
  transition: transform 0.3s var(--ease);
  z-index: 1;
}
.nav-lang-toggle[data-lang="en"] .lang-thumb { transform: translateX(100%); }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* .nav-lang — replaced by .nav-lang-toggle (segmented control above) */
.nav-cta {
  --h: 40px;
  height: 40px;
  font-size: var(--fs-body-sm);
  padding: 0 18px 0 18px;
  background: var(--c-accent);
  color: #fff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%
  );
  transition: background 0.25s var(--ease);
}
.nav-cta:hover {
  background: #d31e3f;
}
.nav-cta .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.nav-cta:hover .arrow {
  transform: translateX(8px);
}

/* ─────────────── Footer ─────────────── */
.footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding: clamp(56px, 7vw, 96px) 0 32px;
  color: var(--c-ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
}
.footer-col-brand {
  grid-column: span 4;
}
.footer-col-links {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-col-meta {
  grid-column: span 4;
}
.footer h4 {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin: 0 0 16px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer ul a {
  font-size: var(--fs-body-sm);
  color: var(--c-ink);
  font-weight: 500;
}
.footer ul a:hover {
  color: var(--c-accent);
}
.footer-claim {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: 28px 0 28px;
  max-width: 22ch;
}
.footer-offices {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}
.footer-office .city {
  font-size: var(--fs-body-md);
  font-weight: 500;
  color: var(--c-ink);
}
.footer-office .addr {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-md);
  color: var(--c-text-2);
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid var(--c-line);
  margin-top: 64px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.04em;
  color: var(--c-text-3);
}
.footer-bottom a:hover {
  color: var(--c-ink);
}

/* Footer grid collapse handled in footer-inline.css + mobile.css */

/* ─────────────── Cut-corner utility ─────────────── */
.cut {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--corner-cut)),
    calc(100% - var(--corner-cut)) 100%,
    0 100%
  );
}
.cut-lg {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--corner-cut-lg)),
    calc(100% - var(--corner-cut-lg)) 100%,
    0 100%
  );
}

/* ─────────────── Reveal ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.18s; }
.reveal[data-delay="4"] { transition-delay: 0.24s; }
.reveal[data-delay="5"] { transition-delay: 0.30s; }
.reveal[data-delay="6"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ─────────────── Hairline crosshair markers ─────────────── */
.crosshair {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0.5;
}
.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.crosshair::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-0.5px);
}
.crosshair::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-0.5px);
}

/* ─────────────── Floating CTA — bottom-right ─────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

.sticky-cta {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 40;
  height: 52px;
  padding: 0 22px 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--c-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fs-body-sm);
  line-height: 1;
  letter-spacing: -0.005em;
  box-shadow: 0 10px 28px rgba(235, 35, 71, 0.35), 0 2px 6px rgba(0, 0, 0, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.25s var(--ease);
  pointer-events: none;
}

.sticky-cta.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.sticky-cta:hover {
  background: #ff2f56;
  transform: translateY(-2px);
}

.sticky-cta.is-on:hover {
  transform: translateY(-2px);
}

.sticky-cta .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  animation: pulse 2.4s var(--ease) infinite;
  flex-shrink: 0;
}

.sticky-cta .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}

.sticky-cta:hover .arrow {
  transform: translateX(8px);
}

@media (max-width: 480px) {
  .sticky-cta {
    right: 16px;
    bottom: 16px;
    height: 48px;
    padding: 0 18px 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }
  .sticky-cta .dot {
    animation: none;
  }
}

/* ─────────────── Client logos (shared) ─────────────── */
.recog {
  padding: 36px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.recog-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.recog-label {
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-3);
  max-width: 14ch;
}

.recog-logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  flex: 1;
}

.recog-logo,
.logo-cell {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s var(--ease);
}

.recog-logo {
  height: 78px;
  padding: 0 18px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.logo-cell {
  height: 88px;
}

.client-logo-img {
  width: 58%;
  max-width: 120px;
  height: auto;
  opacity: 0.55;
  filter: grayscale(1) contrast(0.65);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}

.recog-logo:hover .client-logo-img,
.logo-cell:hover .client-logo-img {
  opacity: 0.9;
  filter: grayscale(1) contrast(1);
}

@media (max-width: 1024px) {
  .recog-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .recog-logos,
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1025px) {
  .recog-logos .recog-logo:nth-child(8) {
    display: none;
  }
}

@media (max-width: 600px) {
  .recog-logos,
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
