@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --paper: #eeeae1;
  --ink: #1c1c19;
  --muted: #77736a;
  --line: rgba(28, 28, 25, 0.14);
  --accent: #e3a17d;
  --accent-deep: #bf7453;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: '';
  opacity: 0.27;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

.page-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 32px 42px 27px;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before, .page-shell::after {
  position: absolute;
  z-index: -2;
  pointer-events: none;
  content: '';
}

.page-shell::before {
  inset: 0;
  opacity: 0.23;
  background-image: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(227, 161, 125, 0.18), transparent 180px), linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-repeat: no-repeat, repeat, repeat;
  background-size: auto, 58px 58px, 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 66%);
}

.page-shell::after {
  top: 50%;
  left: 50%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(28, 28, 25, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; }
.site-header { position: relative; z-index: 2; }

.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: -0.03em; }
.wordmark-mark { display: grid; width: 22px; height: 22px; place-items: center; color: var(--paper); background: var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 10px; font-weight: 700; letter-spacing: -0.12em; }
.header-note, .site-footer { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.header-note { margin: 0; }
.header-dot { display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; background: var(--accent-deep); border-radius: 50%; box-shadow: 0 0 0 4px rgba(191, 116, 83, 0.14); }

.hero { position: relative; z-index: 1; width: min(100%, 710px); margin: auto; padding: 6vh 0 8vh; text-align: center; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--accent-deep); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 22px; height: 1px; background: var(--accent-deep); }
h1 { margin: 25px 0 24px; font-size: clamp(55px, 8.3vw, 104px); font-weight: 500; letter-spacing: -0.075em; line-height: 0.88; }
h1 em { color: var(--accent-deep); font-family: 'Instrument Serif', Georgia, serif; font-size: 1.06em; font-weight: 400; letter-spacing: -0.04em; }
.headline { margin: -6px 0 20px; color: var(--ink); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.02em; }
.headline span { margin: 0 5px; color: var(--accent-deep); }
.hero-copy { max-width: 390px; margin: 0 auto 31px; color: var(--muted); font-size: 14px; line-height: 1.55; }

.hero-links { display: flex; flex-direction: column; align-items: center; gap: 19px; }
.contact-link { display: inline-flex; align-items: center; gap: 13px; padding: 11px 15px 11px 18px; border: 1px solid rgba(28, 28, 25, 0.26); background: rgba(250, 248, 242, 0.38); border-radius: 99px; font: 11px 'DM Mono', monospace; transition: border-color 200ms, background 200ms, transform 200ms; }
.contact-link:hover { border-color: var(--ink); background: rgba(250, 248, 242, 0.72); transform: translateY(-1px); }
.link-arrow { display: grid; width: 20px; height: 20px; place-items: center; color: var(--ink); background: var(--accent); border-radius: 50%; font-size: 15px; line-height: 1; }
.social-links { display: flex; align-items: center; gap: 20px; color: var(--muted); font: 10px 'DM Mono', monospace; }
.social-links a { transition: color 180ms; }
.social-links a:hover { color: var(--accent-deep); }
.social-links a span { display: inline-block; margin-left: 3px; color: var(--ink); }

.orbit { position: absolute; z-index: -1; border: 1px solid rgba(28, 28, 25, 0.11); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 31%; left: 6%; width: 11px; height: 11px; background: var(--accent); border: 0; box-shadow: 0 0 0 7px rgba(227, 161, 125, 0.18); }
.orbit-two { top: 25%; right: 11%; width: 7px; height: 7px; background: var(--ink); border: 0; }
.orbit-three { right: 18%; bottom: 25%; width: 52px; height: 52px; border-color: rgba(28, 28, 25, 0.18); }
.cursor-star { position: absolute; top: 50%; left: 50%; z-index: 0; color: var(--accent-deep); font-size: 14px; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); transition: opacity 300ms; }
.page-shell.is-hovering .cursor-star { opacity: 0.8; }

.site-footer { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }
.footer-center { position: absolute; left: 50%; transform: translateX(-50%); }
.site-footer a { color: var(--ink); transition: color 180ms; }
.site-footer a:hover { color: var(--accent-deep); }
.site-footer a span { display: inline-block; margin-left: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 620px) {
  .page-shell { padding: 24px 20px 21px; }
  .header-note { font-size: 8px; }
  .hero { padding: 8vh 0 12vh; }
  h1 { font-size: clamp(48px, 15vw, 79px); }
  .headline { max-width: 260px; margin-right: auto; margin-left: auto; font-size: 9px; line-height: 1.7; }
  .hero-copy { font-size: 13px; }
  .contact-link { font-size: 10px; }
  .social-links { gap: 13px; font-size: 9px; }
  .footer-center { display: none; }
  .site-footer { font-size: 8px; }
  .orbit-one { left: 9%; top: 23%; }
  .orbit-two { right: 13%; top: 27%; }
  .orbit-three { right: 6%; bottom: 21%; }
}

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