/* palette: bg=#0C2240 fg=#ECE4D1 accent=#E8B05A */
/* fonts: display="Space Grotesk" body="IBM Plex Sans" mono="IBM Plex Mono" */

:root {
  --bg: #0C2240;          /* deep blueprint navy */
  --bg-alt: #0A1B33;      /* darker alternating band */
  --bg-panel: #102A4C;    /* raised panel */
  --fg: #ECE4D1;          /* cream line-work / primary text */
  --fg-soft: #D6DEEB;     /* soft blue-white */
  --muted: #7F96B6;       /* secondary blue-grey text */
  --accent: #E8B05A;      /* drafting amber annotation */
  --accent-deep: #CE9640; /* darker amber for hover */
  --line: rgba(236, 228, 209, 0.055);
  --line-strong: rgba(236, 228, 209, 0.16);
  --border: rgba(236, 228, 209, 0.14);
  --border-soft: rgba(236, 228, 209, 0.08);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 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: 18px;
  line-height: 1.76;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* blueprint grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: center top;
}

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: var(--bg); }

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

.section { position: relative; z-index: 2; padding: clamp(72px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 110px) 0; }

.rule {
  height: 1px;
  background: var(--line-strong);
  border: 0;
  margin: 0;
}

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

/* headings */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }

.display {
  font-size: clamp(3.1rem, 9vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.display em { font-style: normal; color: var(--accent); }
.display .dim { color: var(--muted); }

.h2 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.h2 em { font-style: normal; color: var(--accent); }
.h2 .dim { color: var(--muted); }

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

p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid var(--accent);
  color: var(--bg);
  background: var(--accent);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn--ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 0; }
.link-arrow:hover { color: var(--accent); gap: 14px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 34, 64, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 8px 40px -16px rgba(0,0,0,0.6);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand__mark {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  transform: translateY(-2px);
}
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 38px; }
}
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  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: 0; height: 1px;
  background: var(--accent);
  transition: width .3s 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; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

/* hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  width: 22px; height: 1.5px;
  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: 72px 0 0 0;
  z-index: 99;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  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: 300;
  font-size: 2rem;
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mobile-menu a span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.mobile-menu .btn { margin-top: 28px; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.26;
  animation: heroZoom 9s var(--ease) forwards;
  filter: saturate(0.7) brightness(0.8);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,34,64,0.5) 0%, rgba(12,34,64,0.8) 55%, var(--bg) 100%),
    radial-gradient(120% 90% at 50% 10%, transparent 20%, rgba(10,27,51,0.6) 100%);
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero__inner { position: relative; z-index: 2; }
.hero__rule { background: var(--line-strong); height: 1px; margin: 34px 0; }
.hero h1 {
  font-size: clamp(3.1rem, 9.4vw, 8.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 300;
  max-width: 17ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  justify-content: space-between;
  align-items: flex-end;
}
.hero__lead { max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.hero__coords {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero__coords span { white-space: nowrap; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero__scroll .arrow {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* page hero (interior pages) */
.page-hero {
  position: relative;
  z-index: 2;
  padding: clamp(130px, 18vw, 200px) 0 clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 18ch;
  margin-top: 10px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lead { margin-top: 32px; }

/* ---------- manifesto / pull-quote ---------- */
.manifesto { text-align: center; }
.manifesto__statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 920px;
  margin: 0 auto;
}
.manifesto__statement em { font-style: normal; color: var(--accent); }

.quote-band {
  background: var(--fg);
  color: var(--bg);
  position: relative;
  z-index: 2;
}
.quote-band .eyebrow { color: var(--accent-deep); }
.quote-band .eyebrow::before { background: var(--accent-deep); }
.quote-band__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  height: 0.5em;
}
.quote-band blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 980px;
}
.quote-band cite {
  display: block;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-style: normal;
  color: #3a4f6b;
  text-transform: uppercase;
}

/* ---------- section header ---------- */
.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 84px);
}
@media (min-width: 860px) {
  .section-head {
    grid-template-columns: 1fr minmax(0, 420px);
    align-items: end;
    gap: 48px;
  }
}
.section-head .lead { margin: 0; }

/* ---------- table of contents (índice) ---------- */
.toc { display: flex; flex-direction: column; }
.toc__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--border-soft);
  transition: padding-left .35s var(--ease);
}
.toc__row:last-child { border-bottom: 1px solid var(--border-soft); }
.toc__row:hover { padding-left: 14px; }
.toc__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.toc__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.toc__title small {
  display: block;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 8px;
  line-height: 1.6;
  max-width: 60ch;
}
.toc__page {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- cards grid ---------- */
.grid {
  display: grid;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
}
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  transition: background .35s var(--ease);
  position: relative;
}
.card:hover { background: var(--bg-panel); }
.card__idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.card p { color: var(--muted); font-size: 0.98rem; line-height: 1.7; margin: 0; }
.card ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.card ul li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  padding-left: 18px;
  position: relative;
}
.card ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.card .link-arrow { margin-top: auto; padding-top: 8px; }

/* ---------- stats band (dark inverted) ---------- */
.stats-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
}
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg-alt);
  padding: clamp(32px, 5vw, 52px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.stat__num span { color: var(--accent); font-size: 0.5em; }
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- projects / case studies ---------- */
.projects { display: flex; flex-direction: column; }
.project {
  display: grid;
  gap: 28px;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--border-soft);
  align-items: center;
}
@media (min-width: 860px) {
  .project { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .project:nth-child(even) .project__media { order: 2; }
}
.project__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid var(--border);
}
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.86);
  transition: transform .9s var(--ease);
}
.project:hover .project__media img { transform: scale(1.05); }
.project__tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 5px 11px;
}
.project__body .eyebrow { margin-bottom: 18px; }
.project__body h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.project__body p { color: var(--muted); max-width: 52ch; }
.project__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 24px 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.project__specs div { display: flex; flex-direction: column; gap: 4px; }
.project__specs dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.project__specs dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--fg);
}

/* ---------- split / about ---------- */
.split {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
}
.split__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.84);
}
.prose p { color: var(--fg-soft); }
.prose p + p { margin-top: 1.2em; }
.prose h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.01em;
  margin: 2em 0 0.7em;
}

/* principles list (text-only, no faces) */
.principles { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principle {
  background: var(--bg);
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.principle__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.principle h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.principle p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* team / people — monogram cards, no faces */
.people { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person {
  background: var(--bg);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.avatar {
  width: 68px; height: 68px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--bg);
  letter-spacing: -0.02em;
  border-radius: 2px;
}
.person h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.person__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: -8px;
}
.person p { color: var(--muted); font-size: 0.95rem; margin: 0; line-height: 1.68; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq__item {
  border-top: 1px solid var(--border-soft);
  padding: clamp(24px, 3.4vw, 36px) 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--border-soft); }
.faq__q {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
}
.faq__q .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.faq__q h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  letter-spacing: -0.01em;
  line-height: 1.22;
}
.faq__a {
  margin: 16px 0 0 34px;
  color: var(--muted);
  max-width: 68ch;
  font-size: 1rem;
}
.faq__a strong { color: var(--fg-soft); font-weight: 500; }

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  letter-spacing: -0.025em;
  line-height: 1.04;
  max-width: 18ch;
  margin: 0 auto 32px;
}
.cta h2 em { font-style: normal; color: var(--accent); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
}
.info-block { display: flex; flex-direction: column; gap: 28px; }
.info-item { display: flex; flex-direction: column; gap: 6px; }
.info-item dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.info-item dd {
  margin: 0;
  font-size: 1.08rem;
  color: var(--fg-soft);
  line-height: 1.6;
}
.info-item a:hover { color: var(--accent); }

form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 14px 16px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #566d8c; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-panel);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--muted); line-height: 1.7; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin: 2.4em 0 0.7em;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--fg-soft); font-size: 1.02rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.5em; }
.legal__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ---------- thanks page ---------- */
.thanks {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}
.thanks__mark {
  width: 76px; height: 76px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 36px;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: clamp(64px, 9vw, 110px) 0 40px;
}
.footer__grid {
  display: grid;
  gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
}
.footer__brand .brand { font-size: 1.6rem; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 0.98rem; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col li { color: var(--fg-soft); font-size: 0.96rem; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--accent); }

/* ---------- scroll 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); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  .hero__scroll .arrow { animation: none; }
}

/* ---------- cookie popup ---------- */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(5, 15, 30, 0.55);
  -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-panel);
  border: 1px solid var(--border);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cookie-popup__card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.cookie-popup__card p { color: var(--muted); font-size: 0.92rem; line-height: 1.68; margin: 0; }
.cookie-popup__card a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  flex: 1;
}
.cookie-popup__actions button:hover { border-color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* utility */
.center { text-align: center; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 36px; }
.decor-coords {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
