/* palette: bg=#F4F7FA fg=#15242E accent=#0E9BC6 */
/* fonts: display="Space Grotesk" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #F4F7FA;        /* cool near-white, from reference airy backdrop */
  --bg-alt: #E7EDF2;    /* soft cool grey panel behind feature blocks */
  --bg-dark: #0E1A22;   /* deep cool charcoal for inverted band */
  --fg: #15242E;        /* deep cool charcoal text */
  --fg-soft: #33454F;   /* softened foreground */
  --muted: #6E808C;     /* secondary text */
  --accent: #0E9BC6;    /* sky-cyan, from reference headings */
  --accent-deep: #0A7699;
  --coral: #E8503A;     /* error-coral, from reference logo + heading */
  --coral-deep: #C73D29;
  --line: rgba(21, 36, 46, 0.12);
  --line-soft: rgba(21, 36, 46, 0.07);
  --white: #FFFFFF;

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

  --container: 1240px;
  --pad: 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.76;
  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; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: var(--pad) 0; }
.section--alt { background: var(--bg-alt); }

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

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

h2.section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 14ch;
}
.section-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--fg-soft);
  max-width: 54ch;
  margin: 28px 0 0;
  line-height: 1.7;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
}
.btn--primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(14,155,198,0.5); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(14,155,198,0.5); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--light { background: var(--bg); color: var(--fg); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link .ar { transition: transform .3s var(--ease); color: var(--accent); }
.arrow-link:hover { color: var(--accent); gap: 14px; }
.arrow-link:hover .ar { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 250, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(21,36,46,0.06), 0 10px 30px -18px rgba(21,36,46,0.3);
  border-bottom-color: var(--line-soft);
}
.header__inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 24px; height: 24px;
  position: relative;
  flex: none;
}
.brand__mark span {
  position: absolute; inset: 0;
  border-radius: 7px 7px 7px 2px;
}
.brand__mark span:nth-child(1) { background: var(--accent); transform: translate(-1.5px,-1.5px); mix-blend-mode: multiply; opacity: .85; }
.brand__mark span:nth-child(2) { background: var(--coral); transform: translate(1.5px,1.5px); mix-blend-mode: multiply; opacity: .75; }
.brand__dot { color: var(--accent); }

.nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

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

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 9px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  height: 1.5px; width: 100%; background: var(--fg);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 74px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px 24px 48px;
  display: flex;
  flex-direction: column;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a .idx { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mobile-menu .btn { margin-top: 34px; justify-content: center; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
  opacity: 0.9;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(244,247,250,0.72) 0%, rgba(244,247,250,0.86) 55%, var(--bg) 100%);
}
/* scan-line veil — subtle digital-glitch nod */
.hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(180deg, rgba(14,26,34,0.028) 0 1px, transparent 1px 4px);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 30px;
}
.hero__eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(232,80,58,0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,80,58,0.5); }
  70% { box-shadow: 0 0 0 11px rgba(232,80,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,80,58,0); }
}
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 300;
  max-width: 15ch;
  margin: 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero h1 em.glitch {
  text-shadow: 2px 0 rgba(232,80,58,0.55), -2px 0 rgba(14,155,198,0.55);
}
.hero__sub {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--fg-soft);
  max-width: 48ch;
  margin: 34px 0 44px;
  line-height: 1.68;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__meta {
  position: relative;
  z-index: 3;
  margin-top: clamp(60px, 10vw, 110px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 40px;
  max-width: 620px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
@media (min-width: 680px) { .hero__meta { grid-template-columns: repeat(4, 1fr); } }
.hero__meta .num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__meta .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 9px;
  display: block;
}

/* ---------- Essay / manifesto intro ---------- */
.essay { position: relative; }
.essay__grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) { .essay__grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; } }
.essay__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.essay__body p {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.78;
  color: var(--fg-soft);
  margin: 0 0 26px;
  max-width: 62ch;
}
.essay__body p:first-child { color: var(--fg); }
.essay__body p .lead-cap {
  float: left;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 4.2rem;
  line-height: 0.74;
  padding: 6px 14px 0 0;
  color: var(--accent);
}

/* ---------- Feature blocks (alternating, reference core) ---------- */
.feature {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature--flip .feature__media { order: 2; }
}
.feature + .feature { margin-top: clamp(70px, 11vw, 140px); }
.feature__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  background: var(--bg-alt);
  box-shadow: 0 4px 24px -4px rgba(21,36,46,0.10);
}
.feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__media::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.feature__tag {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 7px 12px; border-radius: 999px;
  color: var(--fg);
}
.feature__idx {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.12em; color: var(--muted);
  margin-bottom: 18px; display: block;
}
.feature h3 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--accent);
}
.feature--coral h3 { color: var(--coral); }
.feature p {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--fg-soft);
  line-height: 1.74;
  margin: 22px 0 28px;
  max-width: 52ch;
}
.feature__list { list-style: none; padding: 0; margin: 0 0 30px; }
.feature__list li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15.5px; color: var(--fg-soft);
}
.feature__list li .k { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; flex: none; width: 34px; }
.feature--coral .feature__list li .k { color: var(--coral); }

/* ---------- Dark inverted band / manifesto ---------- */
.band {
  background: var(--bg-dark);
  color: #DCE7EE;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 5px);
  pointer-events: none;
}
.band .eyebrow { color: #4fc6e6; }
.band .eyebrow::before { background: #4fc6e6; }
.band__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 0;
  color: #fff;
}
.band__quote em { font-style: normal; color: #4fc6e6; text-shadow: 2px 0 rgba(232,80,58,0.5), -2px 0 rgba(14,155,198,0.5); }
.band__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.7;
  color: var(--coral);
  opacity: 0.6;
  display: block;
  margin-bottom: -10px;
}
.band__foot {
  margin-top: 46px;
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: #7f98a6;
}
.band__foot .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

/* ---------- Stats / principles grid ---------- */
.principles {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: 60px;
}
@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principle {
  background: var(--bg);
  padding: 38px 30px 44px;
  min-height: 230px;
  display: flex; flex-direction: column;
  transition: background .4s var(--ease);
}
.section--alt .principle { background: var(--bg-alt); }
.principle:hover { background: #fff; }
.principle__n {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 26px;
}
.principle h4 {
  font-size: 1.5rem; font-weight: 400; line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.principle p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0; }

/* ---------- Service cards ---------- */
.cards {
  display: grid; gap: 24px;
  margin-top: 60px;
}
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 34px 30px 36px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(21,36,46,0.06);
}
.section--alt .card { background: #fff; }
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px -12px rgba(21,36,46,0.16); border-color: var(--line); }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(14,155,198,0.1); color: var(--accent);
  margin-bottom: 24px;
}
.card__icon svg { width: 22px; height: 22px; }
.card--coral .card__icon { background: rgba(232,80,58,0.1); color: var(--coral); }
.card h3 { font-size: 1.42rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.card p { font-size: 15.5px; color: var(--muted); line-height: 1.66; margin: 0 0 24px; flex: 1; }
.card__foot {
  padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft);
}

/* ---------- Case / work strip ---------- */
.work { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 820px) { .work { grid-template-columns: repeat(2, 1fr); } }
.work__item {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 16 / 11;
  display: flex; align-items: flex-end;
  box-shadow: 0 4px 24px -4px rgba(21,36,46,0.10);
}
.work__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work__item:hover img { transform: scale(1.06); }
.work__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,34,0) 38%, rgba(14,26,34,0.82) 100%); }
.work__cap { position: relative; z-index: 2; padding: 30px; color: #fff; }
.work__cap .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fd8ee; }
.work__cap h4 { font-size: 1.6rem; font-weight: 400; letter-spacing: -0.02em; margin: 10px 0 6px; color: #fff; }
.work__cap p { font-size: 14px; color: rgba(255,255,255,0.78); margin: 0; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 38px 34px;
  box-shadow: 0 4px 24px -4px rgba(21,36,46,0.06);
}
.section--alt .quote { background: #fff; }
.quote p { font-family: var(--serif); font-weight: 300; font-size: 1.32rem; line-height: 1.42; letter-spacing: -0.01em; margin: 0 0 26px; color: var(--fg); }
.quote__by { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500; font-size: 15px; color: #fff;
  flex: none;
}
.quote__by .meta strong { display: block; font-weight: 600; font-size: 15px; }
.quote__by .meta span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 54px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 30px 0;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.02em; color: var(--fg);
}
.faq__q .sign { flex: none; width: 24px; height: 24px; position: relative; }
.faq__q .sign::before, .faq__q .sign::after {
  content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq__q .sign::before { width: 15px; height: 1.5px; }
.faq__q .sign::after { width: 1.5px; height: 15px; transition: transform .3s var(--ease); }
.faq__item[data-open="true"] .sign::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq__a-inner { padding: 0 0 30px; max-width: 70ch; color: var(--fg-soft); font-size: 16.5px; line-height: 1.72; }
.faq__a-inner p { margin: 0 0 14px; }
.faq__a-inner p:last-child { margin: 0; }

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-dark);
  color: #fff;
  position: relative; overflow: hidden;
  border-radius: 20px;
  padding: clamp(56px, 8vw, 100px);
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 5px);
}
.cta__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: 0.4; pointer-events: none; }
.cta__glow--a { background: var(--accent); top: -200px; left: -120px; }
.cta__glow--b { background: var(--coral); bottom: -220px; right: -120px; opacity: 0.3; }
.cta__inner { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; margin: 18px auto 0; }
.cta h2 em { font-style: normal; color: #4fc6e6; }
.cta p { color: rgba(220,231,238,0.82); max-width: 50ch; margin: 26px auto 40px; font-size: 1.1rem; }
.cta .eyebrow { color: #4fc6e6; justify-content: center; }
.cta .eyebrow::before { background: #4fc6e6; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.info-list { list-style: none; padding: 0; margin: 40px 0 0; }
.info-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.info-list .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 9px; }
.info-list .val { font-size: 1.1rem; color: var(--fg); line-height: 1.5; }
.info-list .val a:hover { color: var(--accent); }

.form { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 16px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 4px 30px -8px rgba(21,36,46,0.08); }
.section--alt .form { background: #fff; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff; color: var(--fg);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,155,198,0.14);
}
.field--row { display: grid; gap: 22px; }
@media (min-width: 560px) { .field--row { grid-template-columns: 1fr 1fr; } }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: 13px; color: var(--muted); margin: 18px 0 0; line-height: 1.6; }
.form__note a { color: var(--accent); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; }
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); margin: 20px 0 0; text-transform: uppercase; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; letter-spacing: -0.02em; margin: 54px 0 18px; }
.legal h3 { font-size: 1.2rem; font-weight: 500; margin: 32px 0 12px; }
.legal p, .legal li { font-size: 16.5px; color: var(--fg-soft); line-height: 1.76; }
.legal p { margin: 0 0 18px; }
.legal ul { padding-left: 20px; margin: 0 0 18px; }
.legal li { margin-bottom: 10px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--fg); }

/* ---------- Thanks ---------- */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { color: var(--fg-soft); font-size: 1.15rem; margin: 26px 0 36px; }
.thanks__check { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 30px; display: grid; place-items: center; background: rgba(14,155,198,0.12); color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #AFC0CC; padding: clamp(64px, 9vw, 110px) 0 40px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 6px); pointer-events: none; }
.footer__inner { position: relative; z-index: 2; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; } }
.footer__brand .brand { color: #fff; font-size: 1.5rem; }
.footer__brand p { color: #7f98a6; font-size: 15px; line-height: 1.6; max-width: 34ch; margin: 22px 0 0; }
.footer__col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #5f7786; font-weight: 500; margin: 0 0 20px; }
.footer__col a, .footer__col address { display: block; color: #AFC0CC; font-size: 14.5px; font-style: normal; line-height: 1.55; margin-bottom: 13px; transition: color .25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px); padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center;
  font-size: 13px; color: #5f7786;
}
.footer__bottom a { color: #7f98a6; }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- 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(14,26,34,0.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 32px 34px 30px; max-width: 480px; border-radius: 14px; box-shadow: 0 30px 70px -20px rgba(14,26,34,0.5); transform: translateY(14px); transition: transform .4s var(--ease); border: 1px solid var(--line-soft); }
.cookie-popup[data-open="true"] .cookie-popup__card { transform: none; }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.62; margin: 0; }
.cookie-popup__card p a { color: var(--accent); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 12px 22px; border: 1px solid var(--line); border-radius: 9999px; cursor: pointer; font-size: 14px; font-weight: 500; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:first-child { color: var(--fg-soft); }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); margin-left: auto; }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- misc ---------- */
.page-head { padding: clamp(130px, 18vw, 220px) 0 clamp(40px, 6vw, 80px); }
.page-head h1 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 300; letter-spacing: -0.04em; line-height: 0.98; max-width: 16ch; }
.page-head h1 em { font-style: normal; color: var(--accent); }
.page-head .lead { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--fg-soft); max-width: 56ch; margin: 30px 0 0; line-height: 1.66; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--fg); color: var(--bg); padding: 10px 18px; z-index: 9999; }
.skip-link:focus { left: 12px; top: 12px; }
