:root {
  color-scheme: dark;
  --ink: #050505;
  --paper: #f2efe9;
  --muted: #aaa7a0;
  --line: rgba(242, 239, 233, 0.22);
  --gold: #c9a861;
  --pad: clamp(1.25rem, 2.5vw, 2.75rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a, button, input, textarea { font: inherit; }
a, button { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.08;
  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='.5'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad);
  mix-blend-mode: difference;
}

.solid-header { background: rgba(5, 5, 5, 0.82); backdrop-filter: blur(12px); mix-blend-mode: normal; }

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.wordmark span {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.wordmark img {
  display: block;
  width: clamp(2.35rem, 3.5vw, 3.25rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 0.55rem;
  object-fit: cover;
}

.main-nav { display: flex; gap: clamp(1.25rem, 3vw, 3.25rem); }

.main-nav a {
  position: relative;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 50%, rgba(70, 60, 38, 0.24), transparent 38%), var(--ink);
}

.moon {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: min(59vw, 55rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 9rem rgba(201, 168, 97, 0.18);
  transform: translate(-50%, -50%);
  animation: moon-in 1.25s cubic-bezier(.22, .8, .25, 1) both;
}

.moon::before,
.moon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(80, 64, 31, 0.16);
}

.moon::before { width: 17%; height: 10%; left: 16%; top: 33%; transform: rotate(-25deg); }
.moon::after { width: 13%; height: 8%; right: 19%; bottom: 24%; }

.moon-shadow {
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  background: var(--ink);
  transform: translateX(21%);
  box-shadow: -1rem 0 2.8rem rgba(0, 0, 0, 0.48);
}

.orbit {
  position: absolute;
  z-index: -3;
  width: min(74vw, 68rem);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 168, 97, 0.18);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(0.36);
}

.orbit-two { width: min(88vw, 80rem); transform: rotate(22deg) scaleY(0.31); opacity: 0.65; }

.hero-copy {
  width: min(92%, 70rem);
  text-align: center;
  animation: copy-in 900ms 250ms ease both;
}

.eyebrow,
.page-kicker {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(4.2rem, 9.2vw, 9.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero h1 span { display: block; }
.hero h1 span + span { margin-top: 0.08em; }

.intro {
  margin: clamp(1.8rem, 4vw, 3rem) auto 0;
  font-size: clamp(0.95rem, 1.3vw, 1.22rem);
  line-height: 1.45;
  text-wrap: balance;
}

.scroll-note {
  position: absolute;
  right: var(--pad);
  bottom: 1.5rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
}

.scroll-note span { width: 2.5rem; height: 1px; background: var(--line); }

.content-page { min-height: 100svh; }

.page-shell {
  width: min(100% - (2 * var(--pad)), 78rem);
  margin: 0 auto;
  padding: clamp(9rem, 17vh, 13rem) 0 7rem;
}

.contact-layout,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: start;
}

.page-heading { position: sticky; top: 9rem; }

.page-heading h1 {
  margin: 0 0 2rem;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.page-heading > p:last-child { max-width: 28rem; margin: 0; color: #c8c5bd; font-size: 1.1rem; line-height: 1.6; }

.contact-form { padding-top: 1rem; }
.field-row { margin-bottom: 1.8rem; }
.field-row label { display: block; margin-bottom: 0.5rem; color: var(--gold); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.field-row input,
.field-row textarea {
  width: 100%;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid #5c5953;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-size: 1.05rem;
  resize: vertical;
}

.field-row input:focus,
.field-row textarea:focus { border-color: var(--gold); }
.field-row.has-error input,
.field-row.has-error textarea { border-color: #e06f61; }

.submit-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.submit-button:hover,
.submit-button:focus-visible { background: transparent; color: var(--gold); }
.form-status { min-height: 1.2rem; margin: 0.85rem 0 0; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }

.legal-copy { padding-top: 0.5rem; }
.legal-copy section { padding: 0 0 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.legal-copy h2 { margin: 0 0 0.8rem; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.legal-copy p { margin: 0; color: #c8c5bd; font-size: 1rem; line-height: 1.75; }
.legal-copy a { text-decoration-color: var(--gold); text-underline-offset: 0.25em; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }

@keyframes moon-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.82); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes copy-in {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .main-nav { gap: 0.9rem; }
  .main-nav a { font-size: 0.62rem; }
  .moon { width: 110vw; }
  .hero-copy { margin-top: 1.5rem; }
  .hero h1 { font-size: clamp(4rem, 18vw, 7rem); line-height: 1.03; }
  .hero h1 span + span { margin-top: 0.12em; }
  .intro br { display: none; }
  .scroll-note { left: var(--pad); right: auto; }
  .contact-layout, .legal-layout { grid-template-columns: 1fr; gap: 4rem; }
  .page-heading { position: static; }
  .page-shell { padding-top: 9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
