/* palette: bg=#FFFFFF fg=#141416 accent=#F5522E */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #FFFFFF;          /* dominant white background from reference */
  --bg-alt: #F3F3F5;      /* cool light grey alternating section */
  --fg: #141416;          /* near-black primary text */
  --fg-soft: #33333A;     /* slightly lighter foreground */
  --muted: #74747E;       /* secondary text */
  --accent: #F5522E;      /* coral-red — the reference "Live Status" accent */
  --accent-deep: #D63E1D; /* darker coral for hover */
  --coral: #F4795B;       /* mid coral band from reference */
  --coral-soft: #FCEBE4;  /* light coral tint */
  --dark: #131316;        /* dark inverted band background */
  --dark-soft: #1D1D22;
  --border: rgba(20, 20, 22, 0.12);
  --border-soft: rgba(20, 20, 22, 0.07);
  --border-inv: rgba(255, 255, 255, 0.14);

  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 32px);
  --sec: clamp(80px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg);
}
p { margin: 0; }

/* ─── Layout helpers ─── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--sec) 0; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }
.section--alt { background: var(--bg-alt); }
.section--coral { background: var(--coral-soft); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--muted); }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.62;
  color: var(--fg-soft);
  max-width: 62ch;
}

.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.025em;
}
.section-head p { margin-top: 22px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(245, 82, 46, 0.6); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.btn--inv { background: #fff; color: var(--dark); }
.btn--inv:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.arrow-link svg { transition: transform 0.4s var(--ease); }
.arrow-link:hover { color: var(--accent); border-color: var(--accent); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(20, 20, 22, 0.06), 0 10px 30px -18px rgba(20, 20, 22, 0.25);
  border-color: var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.brand__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  flex: none;
}
.brand__mark svg { width: 17px; height: 17px; }

.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-soft);
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header__cta { display: none; }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile menu ─── */
.mobile-menu {
  position: fixed; inset: 74px 0 0; z-index: 99;
  background: var(--bg);
  padding: 32px var(--pad) 40px;
  display: flex; flex-direction: column;
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 8vw, 2.8rem);
  font-weight: 400;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 10px; }
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(48px, 8vw, 90px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.28) 0%, rgba(10,10,12,0.12) 42%, rgba(10,10,12,0.82) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--accent); width: 34px; }
.hero h1 {
  color: #fff;
  font-size: clamp(3.1rem, 10vw, 8.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.96;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
  max-width: 54ch;
  margin: 30px 0 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px);
  margin-top: clamp(48px, 8vw, 80px);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__meta div { color: #fff; }
.hero__meta .n { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; letter-spacing: -0.02em; display: block; }
.hero__meta .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 4px; display: block; }

/* Page hero (interior pages) */
.page-hero { padding: clamp(120px, 18vw, 200px) 0 clamp(56px, 8vw, 96px); position: relative; }
.page-hero h1 {
  font-size: clamp(2.8rem, 9vw, 6.6rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lede { margin-top: 30px; }
.page-hero__crumb {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px; display: flex; gap: 10px; align-items: center;
}
.page-hero__crumb a:hover { color: var(--accent); }

/* ─── Logo strip ─── */
.logostrip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.logostrip__inner { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(24px, 5vw, 54px); padding: 30px 0; }
.logostrip__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); flex: none; }
.logostrip__items { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 46px); align-items: center; }
.logostrip__items span { font-family: var(--serif); font-size: clamp(1rem, 2.4vw, 1.35rem); font-weight: 500; color: var(--fg); opacity: 0.55; letter-spacing: -0.01em; }

/* ─── Services grid ─── */
.grid { display: grid; gap: clamp(16px, 2vw, 22px); }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }

.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(28px, 3.4vw, 40px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 46px -18px rgba(20, 20, 22, 0.2); border-color: rgba(20,20,22,0.2); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--coral-soft); color: var(--accent);
  margin-bottom: 24px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.5rem; letter-spacing: -0.015em; margin-bottom: 12px; margin-top: 18px; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.66; }
.card__list { list-style: none; padding: 0; margin: 20px 0 0; }
.card__list li { font-size: 14.5px; color: var(--fg-soft); padding: 9px 0 9px 24px; position: relative; border-top: 1px solid var(--border-soft); }
.card__list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* ─── Timeline / progression ─── */
.timeline { position: relative; }
.timeline__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}
.timeline__item:last-child { border-bottom: 1px solid var(--border); }
.timeline__step { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.timeline__num { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.timeline__body h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 12px; }
.timeline__body p { color: var(--muted); font-size: 16.5px; max-width: 60ch; }
.timeline__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.timeline__meta strong { color: var(--fg); font-weight: 500; }

/* ─── Manifesto / dark band ─── */
.manifesto { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.manifesto::before {
  content: "";
  position: absolute; top: -20%; right: -10%;
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(245, 82, 46, 0.32), transparent 66%);
  filter: blur(20px);
}
.manifesto .container { position: relative; z-index: 1; }
.manifesto .eyebrow { color: var(--coral); }
.manifesto .eyebrow::before { background: var(--coral); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 3.7rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 14vw, 10rem); line-height: 0.6; color: var(--accent); text-align: center; display: block; margin-bottom: 8px; }
.manifesto__foot { text-align: center; margin-top: clamp(36px, 5vw, 56px); font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: rgba(255,255,255,0.62); }

/* ─── Feature / editorial split ─── */
.feature { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature__media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__tag {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(19,19,22,0.72); color: #fff; padding: 7px 14px; border-radius: 9999px;
  backdrop-filter: blur(6px);
}
.feature__body h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -0.02em; margin-bottom: 22px; }
.feature__body p { color: var(--fg-soft); margin-bottom: 18px; }
.feature__body p:last-of-type { margin-bottom: 30px; }
.feature--reverse .feature__media { order: -1; }

/* ─── Stats band ─── */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.stat { background: var(--bg); padding: clamp(28px, 4vw, 44px) clamp(22px, 3vw, 34px); }
.stat__n { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.stat__n em { font-style: normal; color: var(--accent); }
.stat__l { font-size: 14.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* ─── Team (monogram, no faces) ─── */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.team-card { border: 1px solid var(--border); border-radius: 18px; padding: 30px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 46px -18px rgba(20, 20, 22, 0.18); }
.avatar {
  width: 60px; height: 60px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 22px; color: #fff;
  letter-spacing: -0.01em; margin-bottom: 22px;
}
.avatar--mono { background: var(--accent); }
.team-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-card .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.team-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ─── FAQ ─── */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 3vw, 30px) 0; text-align: left;
  font-family: var(--serif); font-size: clamp(1.15rem, 2.6vw, 1.55rem); font-weight: 400; letter-spacing: -0.01em;
  color: var(--fg);
}
.faq__q:hover { color: var(--accent); }
.faq__icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.35s var(--ease); }
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq__item[data-open="true"] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.45s var(--ease); }
.faq__a-inner { padding: 0 0 clamp(24px, 3vw, 32px); max-width: 70ch; color: var(--fg-soft); }
.faq__a-inner p + p { margin-top: 14px; }

/* ─── CTA band ─── */
.cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.cta::before { width: 340px; height: 340px; top: -140px; left: -80px; }
.cta::after { width: 280px; height: 280px; bottom: -130px; right: -60px; }
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 300; letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto 24px; }
.cta p { color: rgba(255,255,255,0.9); max-width: 52ch; margin: 0 auto 40px; font-size: 1.1rem; }
.cta .btn--inv { background: #fff; color: var(--accent); }
.cta .btn--inv:hover { background: var(--dark); color: #fff; }
.cta__eyebrow { color: rgba(255,255,255,0.85); }
.cta__eyebrow::before { background: rgba(255,255,255,0.85); }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 10px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 15px 18px;
  font-family: var(--sans); font-size: 16px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #a7a7b0; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245, 82, 46, 0.12);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 28px; }
.form-consent input { width: 18px; height: 18px; margin-top: 4px; flex: none; accent-color: var(--accent); }
.form-consent label { font-size: 13.5px; color: var(--muted); line-height: 1.55; font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.form-consent a { color: var(--accent); border-bottom: 1px solid transparent; }
.form-consent a:hover { border-color: var(--accent); }
.form button[type="submit"] { width: 100%; justify-content: center; }

.contact-info { display: flex; flex-direction: column; gap: 6px; }
.info-block { padding: 24px 0; border-top: 1px solid var(--border); }
.info-block:last-child { border-bottom: 1px solid var(--border); }
.info-block .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.info-block .v { font-size: 17px; color: var(--fg); line-height: 1.5; }
.info-block .v a:hover { color: var(--accent); }

/* ─── Prose (legal pages) ─── */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 48px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { color: var(--fg-soft); margin-bottom: 16px; font-size: 17px; }
.prose ul { color: var(--fg-soft); padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(245,82,46,0.3); }
.prose a:hover { border-color: var(--accent); }
.prose strong { color: var(--fg); }
.prose__updated { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* ─── Thanks page ─── */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 120px var(--pad); }
.thanks__mark { width: 84px; height: 84px; border-radius: 50%; background: var(--coral-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 34px; }
.thanks__mark svg { width: 40px; height: 40px; }
.thanks h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 22px; }
.thanks p { color: var(--muted); max-width: 48ch; margin: 0 auto 36px; font-size: 1.1rem; }

/* ─── Footer ─── */
.footer { background: var(--dark); color: rgba(255,255,255,0.72); padding: clamp(64px, 9vw, 104px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 44px; padding-bottom: 56px; border-bottom: 1px solid var(--border-inv); }
.footer .brand { color: #fff; font-size: 24px; }
.footer__intro p { color: rgba(255,255,255,0.6); margin-top: 20px; max-width: 34ch; font-size: 15.5px; line-height: 1.6; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); font-weight: 500; margin-bottom: 20px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.footer__col a { color: rgba(255,255,255,0.72); font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__col address { font-style: normal; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.62); }
.footer__col address a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; font-size: 13px; color: rgba(255,255,255,0.45); }
.footer__bottom .legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a:hover { color: #fff; }

/* ─── Reveal ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

/* ─── Cookie popup ─── */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 32px 36px; max-width: 480px; border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.cookie-popup__card p a { color: var(--accent); border-bottom: 1px solid rgba(245,82,46,0.3); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border); border-radius: 9999px; cursor: pointer; font-size: 14px; font-weight: 500; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.cookie-popup__actions button:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ─── Responsive ─── */
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .timeline__item { grid-template-columns: 120px 1fr; gap: clamp(24px, 4vw, 48px); }
  .timeline__body { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
}
@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .header__cta { display: inline-flex; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .feature { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .timeline__item { grid-template-columns: 160px 1fr; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .hero__bg img { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
