/* palette: bg=#EDEBE6 fg=#17121F accent=#6D2BC4 */
/* fonts: display="Syne" body="Inter" mono="Space Mono" */

:root {
  --bg: #EDEBE6;          /* light neutral grey, from reference ground */
  --bg-alt: #E3E0DA;      /* alternating section ground */
  --fg: #17121F;          /* near-black cosmic violet (primary text) */
  --fg-soft: #352D45;     /* slightly lighter foreground */
  --muted: #847D92;       /* secondary text */
  --accent: #6D2BC4;      /* deep cosmic violet */
  --accent-deep: #4E1A96; /* darker violet for hover */
  --gold: #C89A3A;        /* cosmic gold highlight */
  --ink: #130A24;         /* deep violet-black for dark bands/footer */
  --ink-soft: #241440;
  --on-ink: #EDE7F5;      /* text on dark bands */
  --border: rgba(23, 18, 31, 0.14);
  --border-strong: rgba(23, 18, 31, 0.26);

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

  --container: 1280px;
  --pad: 20px;
}

*, *::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;
  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; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }

::selection { background: var(--accent); color: #fff; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.section { padding: clamp(72px, 12vw, 160px) 0; }
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }

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

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:hover span { transform: translateX(6px); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 3px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237, 235, 230, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header[data-scrolled="true"] {
  border-color: var(--border);
  box-shadow: 0 10px 30px -22px rgba(19, 10, 36, 0.5);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand__mark { width: 26px; height: 26px; flex: none; color: var(--accent); }
.brand sup { font-size: 9px; font-weight: 700; color: var(--muted); }

.header__clock {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-right: auto;
  padding-left: 22px;
}
.header__clock::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(200,154,58,.6);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200,154,58,.5); }
  70% { box-shadow: 0 0 0 7px rgba(200,154,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,154,58,0); }
}

.nav { display: none; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-soft);
  transition: color .22s var(--ease);
}
.nav a:hover { color: var(--accent); }

.header__cta {
  display: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 2px;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.header__cta:hover { color: var(--accent); border-color: var(--accent); }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.6px;
  background: var(--fg);
  margin: 0 auto;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) 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.6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 70px 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 32px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 2.8rem);
  letter-spacing: -0.03em;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu__foot {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 56px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(109, 43, 196, 0.10), transparent 70%),
    radial-gradient(50% 50% at 10% 92%, rgba(200, 154, 58, 0.08), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__eyebrow { margin-bottom: clamp(20px, 4vw, 34px); }
.hero__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(3rem, 10.5vw, 9.2rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: clamp(34px, 6vw, 60px);
}
.hero__tags {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 24ch;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  align-self: flex-start;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  border-bottom: 2px solid var(--fg);
  padding-bottom: 6px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.hero__cta span { font-size: 0.7em; transition: transform .35s var(--ease); }
.hero__cta:hover { color: var(--accent); border-color: var(--accent); }
.hero__cta:hover span { transform: translateX(10px); }

.hero__badge {
  display: none;
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 20px 10px;
}
.hero__badge strong { color: var(--gold); font-weight: 700; }

/* ---------- Showcase (3-col band) ---------- */
.showcase__grid {
  display: grid;
  gap: 40px;
  padding-bottom: clamp(60px, 8vw, 110px);
}
.showcase__preview {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 11;
  background: var(--ink);
  overflow: hidden;
}
.showcase__preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(0.35);
  transition: transform .9s var(--ease), opacity .6s var(--ease);
}
.showcase__preview:hover img { transform: scale(1.05); opacity: 0.75; }
.showcase__preview figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-ink);
}
.showcase__coord {
  position: absolute;
  top: 14px; left: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(237, 231, 245, 0.55);
}
.showcase__coord--r { left: auto; right: 18px; text-align: right; }

.showcase__intro { display: flex; flex-direction: column; gap: 22px; }
.showcase__intro .brand { font-size: 22px; }
.showcase__intro p { color: var(--fg-soft); max-width: 42ch; }

.showcase__latest { display: flex; flex-direction: column; }
.showcase__latest-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: 4px;
}
.showcase__latest-head h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.showcase__latest-head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.latest-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .3s var(--ease);
}
.latest-row:hover { padding-left: 10px; }
.latest-row__name { font-weight: 600; font-size: 16px; }
.latest-row__cat { display: block; font-size: 13px; color: var(--muted); }
.latest-row__thumb {
  width: 64px; height: 42px;
  object-fit: cover;
  filter: grayscale(0.2);
}

/* ---------- Featured case ---------- */
.feature { background: var(--bg-alt); }
.feature__media {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--ink);
}
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.feature__tag {
  position: absolute;
  top: 20px; right: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--on-ink);
  background: rgba(19, 10, 36, 0.55);
  padding: 6px 12px;
  text-transform: uppercase;
}
.feature__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
}
.feature__meta h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.feature__meta p { font-size: 14px; color: var(--muted); }
.feature__meta .idx { font-family: var(--mono); color: var(--accent); }
.feature__foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 40px;
}

/* ---------- Index table ---------- */
.index__grid { display: grid; gap: 40px; }
.index__head h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.index__head p { margin-top: 18px; color: var(--muted); max-width: 30ch; }
.index__list { border-top: 1px solid var(--border-strong); }
.index-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease), padding-left .3s var(--ease), color .3s var(--ease);
}
.index-row:hover { background: rgba(109, 43, 196, 0.05); padding-left: 16px; }
.index-row__num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.index-row__name { font-family: var(--serif); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: -0.02em; }
.index-row__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.index-row__site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
  font-size: 13px;
  color: var(--fg-soft);
  white-space: nowrap;
}
.index-row:hover .index-row__name { color: var(--accent); }
.index__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  flex-wrap: wrap;
}
.index__foot span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }

/* ---------- Manifesto (dark band) ---------- */
.manifesto {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 14% 24%, rgba(237,231,245,.5), transparent),
    radial-gradient(1.2px 1.2px at 72% 36%, rgba(200,154,58,.6), transparent),
    radial-gradient(1px 1px at 46% 72%, rgba(237,231,245,.35), transparent),
    radial-gradient(1.3px 1.3px at 88% 68%, rgba(237,231,245,.4), transparent),
    radial-gradient(1px 1px at 28% 84%, rgba(200,154,58,.4), transparent),
    radial-gradient(60% 60% at 82% 10%, rgba(109,43,196,.28), transparent 70%);
  pointer-events: none;
}
.manifesto .container { position: relative; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
}
.manifesto__quote em { font-style: normal; color: var(--gold); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--accent);
  text-align: center;
  display: block;
  margin-bottom: 10px;
}
.manifesto__sign {
  margin-top: 40px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 231, 245, 0.6);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.stat { background: var(--bg); padding: 34px 28px; }
.stat__num {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 26ch; }

/* ---------- Cards grid (services / principles) ---------- */
.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.section-head p { color: var(--fg-soft); max-width: 50ch; }

.cards { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.card {
  background: var(--bg);
  padding: 38px 32px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .35s var(--ease);
}
.card:hover { background: var(--bg-alt); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.card p { color: var(--fg-soft); font-size: 16px; }
.card ul { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 10px; }
.card li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.card li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  gap: 10px 32px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step__num {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.step__body h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.step__body p { color: var(--fg-soft); max-width: 58ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border-strong); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  padding: 26px 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  letter-spacing: -0.02em;
}
.faq__q .sign { font-family: var(--sans); font-size: 26px; color: var(--accent); flex: none; transition: transform .3s var(--ease); line-height: 1; }
.faq__item[data-open="true"] .faq__q .sign { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq__a p { padding: 0 0 26px; color: var(--fg-soft); max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta { background: var(--bg-alt); text-align: center; }
.cta h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 16ch;
  margin: 0 auto 28px;
}
.cta h2 em { font-style: normal; color: var(--accent); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact / form ---------- */
.contact__grid { display: grid; gap: 48px; }
.contact__info { display: flex; flex-direction: column; gap: 26px; }
.info-block h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 400; }
.info-block p, .info-block a { font-size: 16px; color: var(--fg-soft); }
.info-block a:hover { color: var(--accent); }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 16px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 14px 16px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 43, 196, 0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 20px; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.form__consent input { margin-top: 3px; }
.form button[type="submit"] { justify-self: start; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 18% 30%, rgba(237,231,245,.4), transparent),
    radial-gradient(1.2px 1.2px at 64% 20%, rgba(200,154,58,.5), transparent),
    radial-gradient(1px 1px at 84% 60%, rgba(237,231,245,.3), transparent),
    radial-gradient(55% 55% at 90% 92%, rgba(109,43,196,.26), transparent 70%);
  pointer-events: none;
}
.footer .container { position: relative; padding-top: clamp(64px, 9vw, 110px); padding-bottom: 40px; }
.footer__top {
  display: grid;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(237, 231, 245, 0.14);
}
.footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 34ch; }
.footer__brand .brand { color: var(--on-ink); font-size: 24px; }
.footer__brand .brand__mark { color: var(--gold); }
.footer__brand p { color: rgba(237, 231, 245, 0.66); font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.footer__col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(237,231,245,.5); font-weight: 400; margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: rgba(237, 231, 245, 0.82); font-size: 14.5px; padding: 5px 0; transition: color .22s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(237, 231, 245, 0.5);
}
.footer__bottom a:hover { color: var(--gold); }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(48px, 8vw, 90px); }
.legal__head h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1;
}
.legal__head p { margin-top: 18px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.legal__body { max-width: 760px; margin-top: 48px; }
.legal__body h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
}
.legal__body h3 { font-size: 1.1rem; margin: 28px 0 10px; font-weight: 600; }
.legal__body p { color: var(--fg-soft); margin-bottom: 16px; }
.legal__body ul { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; padding-left: 4px; }
.legal__body li { color: var(--fg-soft); padding-left: 22px; position: relative; }
.legal__body li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.legal__body a { color: var(--accent); border-bottom: 1px solid var(--border-strong); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(60px, 11vw, 150px) 0 clamp(40px, 6vw, 80px); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 7rem);
  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: 28px; }

/* ---------- Thank you ---------- */
.thanks {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.thanks h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: -0.035em;
  line-height: 1;
}
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { margin-top: 24px; max-width: 48ch; color: var(--fg-soft); }
.thanks .btn { margin-top: 36px; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .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; }
  .feature__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end;
  padding: 24px;
  background: rgba(19, 10, 36, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 34px;
  max-width: 480px;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -30px rgba(19,10,36,.6);
}
.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-family: var(--serif); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.7; }
.cookie-popup__card p a { color: var(--accent); border-bottom: 1px solid var(--border-strong); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-size: 14px; font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  :root { --pad: 32px; }
  .showcase__latest-head h3 { font-size: 16px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  body { font-size: 18px; }
  .header__inner { height: 80px; }
  .header__clock { display: inline-flex; }
  .nav { display: flex; }
  .header__cta { display: inline-block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }

  .hero__meta {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .hero__tags { order: 2; text-align: right; align-self: flex-end; }
  .hero__cta { order: 1; }
  .hero__badge { display: block; }

  .showcase__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .showcase__latest { grid-column: 1 / -1; }

  .index__grid { grid-template-columns: 300px 1fr; align-items: start; }
  .index__head { position: sticky; top: 110px; }
  .index__list { grid-column: 2; }
  .index__foot { grid-column: 2; }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }

  .step { grid-template-columns: 120px 1fr; }

  .contact__grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }

  .footer__top { grid-template-columns: 1.1fr 1.4fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .showcase__grid {
    grid-template-columns: 1.1fr 1fr 1.1fr;
  }
  .showcase__latest { grid-column: auto; }
}
