:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --text: #f2f2ef;
  --muted: #8f8f8a;
  --line: #262626;
  --soft: #bcbcb6;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.045), transparent 26rem),
    radial-gradient(circle at 10% 75%, rgba(255,255,255,.025), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

::selection { background: #eee; color: #111; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .035;
  z-index: 30;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.topbar, main, footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--text);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .34em;
}

.language-switch {
  display: flex;
  gap: .45rem;
  align-items: center;
  color: #555;
  font-size: .72rem;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: none;
  color: #666;
  font: inherit;
  cursor: pointer;
  padding: 4px;
  letter-spacing: .08em;
}
.lang-btn.active, .lang-btn:hover { color: var(--text); }

.section { padding: 120px 0; border-bottom: 1px solid var(--line); }
.hero {
  min-height: calc(88vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.eyebrow, .section-number {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .73rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; font-weight: 450; letter-spacing: -.04em; }
h1 { max-width: 900px; font-size: clamp(3.3rem, 8vw, 7.7rem); line-height: .96; }
h2 { font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.04; }

.hero-copy, .contact-intro {
  max-width: 650px;
  margin: 42px 0 28px;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.text-link {
  color: var(--text);
  text-decoration: none;
  width: fit-content;
  border-bottom: 1px solid #555;
  padding-bottom: 5px;
}
.text-link:hover { border-color: var(--text); }

.generated-visual { margin: 0; }
.generated-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.generated-visual figcaption {
  color: #74746f;
  font-size: .67rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero > :not(.hero-visual) { position: relative; z-index: 1; }
.hero-visual {
  position: absolute;
  z-index: 0;
  right: -8%;
  bottom: 7%;
  width: min(72%, 820px);
  opacity: .72;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 32%, #000 88%, transparent 100%);
}
.hero-visual img { aspect-ratio: 2 / 1; }
.hero-visual figcaption { margin-top: 8px; text-align: right; padding-right: 10%; }

.split { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.section-content { max-width: 760px; }
.section-content p { color: var(--soft); font-size: 1.12rem; max-width: 660px; }
.section-content h2 + p { margin-top: 36px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.tags span {
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 999px;
  color: #c9c9c3;
  background: rgba(255,255,255,.015);
  font-size: .9rem;
}
.muted { color: var(--muted) !important; font-size: .9rem !important; margin-top: 22px; }
.trace-visual { margin-top: 58px; }
.trace-visual img { aspect-ratio: 2.4 / 1; border: 1px solid var(--line); }
.trace-visual figcaption { margin-top: 10px; }
.legal-page { min-height: calc(100vh - 208px); }
.legal-page .section-content { max-width: 760px; }
.legal-page .eyebrow { margin-bottom: 20px; }
.legal-page .section-content h1 + p { margin-top: 42px; }
.legal-page .section-content p { color: var(--soft); font-size: 1.12rem; max-width: 680px; }
.legal-page h1 { font-size: clamp(3rem, 7vw, 6.4rem); }

.contact-section { padding-bottom: 140px; }
.contact-form { max-width: 720px; margin-top: 58px; }
.field { margin-bottom: 28px; }
.field label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
input, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #373737;
  background: transparent;
  color: var(--text);
  padding: 12px 0 14px;
  font: inherit;
  font-size: 1rem;
  outline: none;
  border-radius: 0;
}
input:focus, textarea:focus { border-color: #aaa; }
textarea { resize: vertical; min-height: 160px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit-btn {
  margin-top: 10px;
  border: 1px solid #555;
  background: transparent;
  color: var(--text);
  padding: 14px 20px;
  cursor: pointer;
  font: inherit;
  transition: background .18s ease, color .18s ease;
}
.submit-btn:hover { background: var(--text); color: var(--bg); }
.submit-btn:disabled { cursor: wait; opacity: .6; }
.form-status { min-height: 1.4em; color: #c9a7a7; font-size: .82rem; margin: 14px 0 0; }
.form-note { color: var(--muted); font-size: .78rem; margin-top: 18px; }
.form-note a { color: var(--soft); }

footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #656560;
  font-size: .78rem;
  letter-spacing: .06em;
}
footer a { color: #777771; text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 720px) {
  .topbar, main, footer { width: min(calc(100% - 28px), var(--max)); }
  .topbar { height: 72px; }
  .section { padding: 82px 0; }
  .hero { min-height: 78vh; }
  .hero-visual { right: -28%; bottom: 12%; width: 110%; opacity: .52; }
  .hero-visual figcaption { padding-right: 25%; }
  .split { grid-template-columns: 1fr; gap: 8px; }
  .section-number { margin-bottom: 4px; }
  .section-content h2 + p { margin-top: 28px; }
  footer { align-items: flex-start; justify-content: center; flex-direction: column; padding: 30px 0; }
}
