:root {
  --bg: #0d0d0d;
  --fg: #f2f0eb;
  --muted: #9a978f;
  --rule: #2a2a2a;
  --stripe: #0d0d0d;
  --pad: clamp(1.25rem, 5vw, 4rem);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* soft vignette + subtle grain, no images */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 75% 35%, rgba(255,255,255,0.06), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
}

a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 4px; }

/* top bar */
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem var(--pad);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.mark { width: 1.75rem; height: 1.75rem; color: var(--fg); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .mark { transform: rotate(-12deg) scale(1.1); }
.meta {
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* hero */
main { flex: 1; padding: 0 var(--pad); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  min-height: 72vh;
  max-width: 82rem;
  margin: 0 auto;
}

h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(3.25rem, 11vw, 9rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.line { display: block; }
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}
@supports not (-webkit-text-stroke: 1px black) {
  .outline { color: var(--muted); }
}

.lede {
  max-width: 34rem;
  margin: 0 0 2.5rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--muted);
}

.cta {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas: "label arrow" "mail arrow";
  column-gap: 1.25rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border: 1px solid var(--fg);
  border-radius: 999px;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.cta-label { grid-area: label; font-weight: 700; line-height: 1.2; }
.cta-mail { grid-area: mail; font-size: 0.875rem; opacity: 0.7; line-height: 1.3; }
.arrow { grid-area: arrow; font-size: 1.5rem; transition: transform .25s; }
.cta:hover { background: var(--fg); color: var(--bg); }
.cta:hover .arrow { transform: translateX(6px); }

.hero-mark {
  width: 100%;
  max-width: 26rem;
  justify-self: end;
  color: var(--fg);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
  animation: bob 6s ease-in-out infinite;
}

/* entrance */
.hero-text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3) { animation-delay: .16s; }

/* footer */
.legal {
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
  padding: 2rem var(--pad) 2.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
}
.legal p { margin: 0 0 0.4rem; max-width: 60rem; }

/* privacy page */
.prose { max-width: 40rem; margin: 0 auto; padding-top: clamp(2rem, 10vh, 6rem); padding-bottom: 4rem; }
.prose h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
.muted { color: var(--muted); }

@keyframes rise { from { transform: translateY(18px); } }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-2deg); } }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 2rem; }
  .hero-mark { order: -1; max-width: 6rem; justify-self: start; }
  span.meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
