/* palette: bg=#F1F3FB fg=#101B39 accent=#2F4BE8 */
/* fonts: display="Space Grotesk" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #F1F3FB;        /* cool light lavender-white (reference dominant) */
  --bg-alt: #FFFFFF;    /* white cards / alternating panel */
  --ink: #0C1730;       /* deep navy inverted band */
  --ink-soft: #14224A;  /* softer navy panel */
  --fg: #101B39;        /* primary navy text */
  --fg-soft: #2C3960;   /* slightly lighter fg */
  --muted: #6A7599;     /* secondary text */
  --accent: #2F4BE8;    /* vivid brand blue (reference CTA) */
  --accent-deep: #1E36C4;
  --coral: #FF6B3D;     /* orange/coral accent (riso duotone partner) */
  --coral-deep: #E8542A;
  --pink: #FF4D8D;      /* pink notification accent */
  --mint: #17B98A;      /* positive/mint accent for chips */
  --border: rgba(16, 27, 57, 0.12);
  --border-strong: rgba(16, 27, 57, 0.22);
  --card-shadow: 0 4px 24px -4px rgba(16, 27, 57, 0.10);
  --card-shadow-hover: 0 18px 48px -12px rgba(16, 27, 57, 0.20);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

/* subtle riso paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.section { padding: clamp(72px, 12vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  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--coral { color: var(--coral); }
.eyebrow--coral::before { background: var(--coral); }
.eyebrow--light { color: #9db0ff; }
.eyebrow--light::before { background: #9db0ff; }

.lede { font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.7; color: var(--fg-soft); max-width: 60ch; }

@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 243, 251, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--border), 0 10px 30px -18px rgba(16, 27, 57, 0.35);
  background: rgba(241, 243, 251, 0.92);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 1.24rem; letter-spacing: -0.03em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent);
  position: relative; flex: none;
  box-shadow: 3px 3px 0 var(--coral);
}
.brand__mark::before,
.brand__mark::after { content: ""; position: absolute; background: #fff; border-radius: 2px; }
.brand__mark::before { width: 12px; height: 3px; top: 9px; left: 9px; }
.brand__mark::after { width: 3px; height: 12px; top: 9px; left: 13.5px; }

.nav { display: none; }
.nav__links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: 15px; color: var(--fg-soft); transition: color 0.25s var(--ease); position: relative; }
.nav__links a:hover { color: var(--accent); }
.nav__links a[aria-current="page"] { color: var(--fg); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--coral);
}
.header__cta { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 1;
  padding: 14px 26px; border-radius: 9999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 75, 232, 0.7); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(47, 75, 232, 0.75); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--border-strong); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eef1fb; transform: translateY(-2px); }
.btn--onnavy { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 107, 61, 0.7); }
.btn--onnavy:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent); font-size: 15px; transition: gap 0.28s var(--ease), color 0.28s var(--ease); }
.link-arrow svg { transition: transform 0.28s var(--ease); }
.link-arrow:hover { color: var(--accent-deep); }
.link-arrow:hover svg { transform: translateX(4px); }

/* mobile menu toggle */
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center;
}
.menu-toggle span { display: block; 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 {
  position: fixed; inset: 74px 0 0; z-index: 99;
  background: var(--bg);
  padding: 32px 24px 48px;
  transform: translateY(-14px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--fg); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 22px; }

@media (min-width: 940px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -12%; top: -14%; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle at 30% 30%, rgba(47, 75, 232, 0.14), transparent 62%);
  border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero__grid { display: grid; gap: clamp(40px, 6vw, 68px); align-items: center; }
.hero__title {
  font-size: clamp(3.05rem, 9vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 26px;
}
.hero__title em { font-style: normal; color: var(--accent); position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 0.06em; height: 0.14em;
  background: var(--coral); opacity: 0.35; z-index: -1;
}
.hero__sub { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--fg-soft); max-width: 52ch; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { margin-top: 26px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero__note b { color: var(--fg); font-weight: 600; }

/* hero visual — dashboard card + floating chips */
.hero__visual { position: relative; z-index: 2; }
.hero__panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(12, 23, 48, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.hero__panel img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; opacity: 0.92; }
.hero__panel-bar { display: flex; align-items: center; gap: 7px; padding: 15px 18px; background: rgba(255,255,255,0.04); }
.hero__panel-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.28); }
.hero__panel-bar span:first-child { background: var(--coral); }
.hero__panel-bar em { margin-left: auto; font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }

.hero-chip {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 44px -18px rgba(16, 27, 57, 0.4);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.hero-chip__dot { width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-weight: 600; }
.hero-chip small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.02em; }
.hero-chip b { font-family: var(--serif); font-weight: 600; font-size: 16px; }
.hero-chip--a { top: 14%; left: -6%; }
.hero-chip--a .hero-chip__dot { background: var(--pink); }
.hero-chip--b { bottom: 12%; right: -5%; }
.hero-chip--b .hero-chip__dot { background: var(--mint); }

@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------- trust strip ---------- */
.trust { padding: 30px 0 8px; }
.trust__label { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: scrollx 34s linear infinite; }
.marquee__track span { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--fg); opacity: 0.32; white-space: nowrap; letter-spacing: -0.02em; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- section head ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2.35rem, 6vw, 4.1rem); letter-spacing: -0.025em; }
.sec-head p { margin-top: 20px; }

/* ---------- feature / problem split ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); position: relative; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split__badge { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 13px; padding: 12px 16px; font-size: 13px; box-shadow: var(--card-shadow); }
.split__badge b { font-family: var(--serif); display: block; font-size: 20px; }
.pain-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--fg-soft); }
.pain-list svg { flex: none; margin-top: 3px; color: var(--accent); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split__media { order: 2; } }

/* ---------- dark manifesto band ---------- */
.band { background: var(--ink); color: #EAF0FF; position: relative; overflow: hidden; }
.band .eyebrow { color: #9db0ff; }
.band .eyebrow::before { background: #9db0ff; }
.band__circle {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(48vw, 460px); height: min(48vw, 460px); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--coral), var(--coral-deep) 72%);
  filter: blur(2px); opacity: 0.9; z-index: 0;
}
.band__circle::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.35);
}
.band__inner { position: relative; z-index: 2; max-width: 780px; }
.band__statement { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.14; letter-spacing: -0.025em; }
.band__statement em { font-style: normal; color: var(--coral); }
.band p { color: rgba(234, 240, 255, 0.72); margin-top: 24px; max-width: 56ch; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stats__item { background: var(--bg-alt); padding: clamp(24px, 4vw, 40px) clamp(18px, 3vw, 30px); }
.stats__num { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.stats__num span { color: var(--accent); }
.stats__label { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- service cards ---------- */
.cards { display: grid; gap: 22px; }
.card {
  background: var(--bg-alt); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid var(--border); box-shadow: var(--card-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: var(--border-strong); }
.card__ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; }
.card__ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.42rem; margin-bottom: 12px; }
.card p { color: var(--fg-soft); font-size: 15.5px; line-height: 1.65; }
.card__meta { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); }
.card__num { position: absolute; top: 22px; right: 26px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (min-width: 640px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- work / case cards ---------- */
.work { display: grid; gap: 26px; }
.work__card { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); box-shadow: var(--card-shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.work__card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.work__media { overflow: hidden; aspect-ratio: 16 / 11; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.work__card:hover .work__media img { transform: scale(1.06); }
.work__body { padding: 26px 28px 30px; }
.work__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); }
.work__body h3 { font-size: 1.42rem; margin: 12px 0 10px; }
.work__body p { color: var(--fg-soft); font-size: 15px; }
.work__stat { margin-top: 18px; display: flex; gap: 22px; }
.work__stat div b { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; display: block; }
.work__stat div small { font-size: 12px; color: var(--muted); }
@media (min-width: 780px) { .work--3 { grid-template-columns: repeat(3, 1fr); } .work--2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- process ---------- */
.steps { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--bg-alt); padding: clamp(28px, 3.6vw, 44px); position: relative; }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.step h3 { font-size: 1.4rem; margin: 16px 0 12px; }
.step p { color: var(--fg-soft); font-size: 15px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- quote ---------- */
.quote { text-align: center; max-width: 900px; margin: 0 auto; }
.quote__mark { font-family: var(--serif); font-size: clamp(5rem, 12vw, 9rem); line-height: 0.6; color: var(--coral); display: block; height: 0.5em; }
.quote blockquote { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.22; letter-spacing: -0.02em; margin: 0; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 14px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.05em; }

/* ---------- testimonials ---------- */
.tcards { display: grid; gap: 22px; }
.tcard { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 30px 26px; box-shadow: var(--card-shadow); }
.tcard p { font-size: 16.5px; line-height: 1.65; color: var(--fg); }
.tcard__who { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.avatar { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.tcard__who b { display: block; font-size: 15px; }
.tcard__who small { color: var(--muted); font-size: 13px; }
.tag-ph { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; text-transform: uppercase; }
@media (min-width: 860px) { .tcards--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.faq__q span { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; position: relative; transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.faq__q span::before, .faq__q span::after { content: ""; position: absolute; background: var(--fg); border-radius: 2px; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.faq__q span::before { width: 12px; height: 2px; }
.faq__q span::after { width: 2px; height: 12px; }
.faq__item[data-open="true"] .faq__q span { background: var(--accent); border-color: var(--accent); }
.faq__item[data-open="true"] .faq__q span::before, .faq__item[data-open="true"] .faq__q span::after { background: #fff; }
.faq__item[data-open="true"] .faq__q span::after { transform: scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.45s var(--ease); }
.faq__item[data-open="true"] .faq__a { max-height: 320px; }
.faq__a p { padding: 0 4px 28px; color: var(--fg-soft); font-size: 16px; max-width: 68ch; }

/* ---------- CTA / contact form ---------- */
.cta { background: var(--ink); color: #EAF0FF; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 76px); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: -10%; bottom: -40%; width: 44vw; height: 44vw; max-width: 460px; max-height: 460px;
  background: radial-gradient(circle at 50% 50%, rgba(47,75,232,0.55), transparent 66%); border-radius: 50%;
}
.cta__grid { display: grid; gap: clamp(30px, 5vw, 56px); position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); color: #fff; }
.cta p { color: rgba(234, 240, 255, 0.74); margin-top: 18px; }
.cta__contact { margin-top: 30px; display: grid; gap: 14px; }
.cta__contact a { display: flex; align-items: center; gap: 13px; color: #EAF0FF; font-size: 15px; }
.cta__contact svg { color: var(--coral); flex: none; }
@media (min-width: 900px) { .cta__grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(234,240,255,0.6); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px;
  padding: 13px 15px; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(234,240,255,0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); background: rgba(255,255,255,0.09); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23EAF0FF' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.form__consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: rgba(234,240,255,0.7); line-height: 1.5; }
.form__consent input { margin-top: 3px; accent-color: var(--coral); }
.form__consent a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.form button[type="submit"] { margin-top: 4px; }

/* contact page info blocks */
.info-grid { display: grid; gap: 20px; }
.info-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--card-shadow); }
.info-card .card__ico { background: var(--accent); }
.info-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.info-card p, .info-card a { color: var(--fg-soft); font-size: 15px; }
.info-card a:hover { color: var(--accent); }
@media (min-width: 700px) { .info-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* value / about cards */
.values { display: grid; gap: 22px; }
.value { padding: 30px 0; border-top: 2px solid var(--fg); }
.value__k { font-family: var(--mono); font-size: 12px; color: var(--coral); letter-spacing: 0.1em; }
.value h3 { font-size: 1.5rem; margin: 14px 0 12px; }
.value p { color: var(--fg-soft); font-size: 15.5px; }
@media (min-width: 760px) { .values--3 { grid-template-columns: repeat(3, 1fr); } }

/* team / principles text cards */
.team { display: grid; gap: 20px; }
.team__card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow); }
.team__card .avatar { width: 54px; height: 54px; margin-bottom: 20px; }
.team__card h3 { font-size: 1.25rem; }
.team__card .role { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.05em; margin: 6px 0 14px; }
.team__card p { font-size: 14.5px; color: var(--fg-soft); }
@media (min-width: 760px) { .team--3 { grid-template-columns: repeat(3, 1fr); } .team--4 { grid-template-columns: repeat(4, 1fr); } }

/* page hero (inner pages) */
.pagehead { padding: clamp(56px, 9vw, 118px) 0 clamp(30px, 5vw, 64px); position: relative; }
.pagehead h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1; max-width: 16ch; }
.pagehead h1 em { font-style: normal; color: var(--accent); }
.pagehead .lede { margin-top: 26px; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--accent); }

/* legal prose */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 46px 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose__updated { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }

/* thanks page */
.thanks { min-height: 74vh; display: grid; place-items: center; text-align: center; }
.thanks__inner { max-width: 620px; }
.thanks__check { width: 78px; height: 78px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 30px; box-shadow: 6px 6px 0 var(--coral); }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; }
.thanks p { margin: 22px 0 32px; color: var(--fg-soft); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(234, 240, 255, 0.7); padding: clamp(56px, 8vw, 96px) 0 34px; position: relative; z-index: 2; }
.footer__top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand .brand { color: #fff; }
.footer__brand p { margin-top: 20px; max-width: 34ch; font-size: 15px; line-height: 1.65; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(234,240,255,0.5); font-weight: 400; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { font-size: 15px; color: rgba(234, 240, 255, 0.72); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--coral); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 28px; font-size: 13px; color: rgba(234,240,255,0.5); }
.footer__bottom a:hover { color: #fff; }
@media (min-width: 820px) {
  .footer__top { grid-template-columns: 1.4fr 2fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

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

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(12,23,48,0.45); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.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: 18px; box-shadow: 0 30px 70px -20px rgba(12,23,48,0.5); border: 1px solid var(--border); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.6; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border-strong); cursor: pointer; font-size: 14px; border-radius: 9999px; transition: transform 0.25s var(--ease), background 0.25s var(--ease); }
.cookie-popup__actions button:hover { transform: translateY(-2px); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (min-width: 560px) { .cookie-popup { align-items: center; justify-content: center; } }
