:root {
  color-scheme: dark;
  --ink: #f5f3ee;
  --muted: #a9b4b7;
  --night: #031b23;
  --accent: #f18a48;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { width: 100%; min-height: 100%; margin: 0; overflow-x: hidden; background: var(--night); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
main { width: 100%; }
.hero, .about, .projects { position: relative; }
.hero { display: flex; min-height: min(780px, 100svh); align-items: center; padding: 10vh 10vw 16vh; background: var(--night); }
.hero-copy { width: min(100%, 880px); margin-left: auto; }
.eyebrow { margin: 0 0 24px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(58px, 9.4vw, 132px); font-weight: 400; letter-spacing: -.065em; line-height: .98; }
.hero h1 [data-profile-name] { font-weight: 600; }
.accent { color: var(--accent); }
.hero-role { margin: 34px 0 0 6px; color: var(--muted); font-size: clamp(21px, 2.2vw, 30px); }
.scroll-cue { position: absolute; bottom: 42px; left: 50%; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(245,243,238,.35); border-radius: 50%; color: var(--ink); font-size: 24px; text-decoration: none; transform: translateX(-50%); transition: border-color .2s, color .2s; }
.scroll-cue:hover, .scroll-cue:focus-visible { border-color: var(--accent); color: var(--accent); }
.scroll-cue:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.about { display: flex; min-height: 52vh; align-items: center; padding: 100px 16vw; background: #06232c; }
.about-copy { width: min(100%, 780px); margin: 0 auto; }
.about h2, .projects h2 { margin: 0; font-size: clamp(40px, 5.5vw, 72px); font-weight: 400; letter-spacing: -.055em; line-height: 1.05; }
.about-copy > p[data-profile-bio] { max-width: 680px; margin: 30px 0 0; color: #d1d7d7; font-size: clamp(18px, 2vw, 24px); line-height: 1.65; }
.about-copy > p.about-followup { max-width: 680px; margin: 18px 0 0; color: #d1d7d7; font-size: clamp(18px, 2vw, 24px); line-height: 1.65; }
.projects { padding: 110px 7vw 80px; background: #050505; }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin: 0 auto 38px; max-width: 1320px; }
.projects-heading .eyebrow { margin-bottom: 18px; }
.projects-hint { max-width: 290px; margin: 0 0 6px; color: #a8aaab; font-size: 15px; line-height: 1.5; }
.stage { position: relative; width: 100%; height: min(46vh, 520px); min-height: 320px; overflow: hidden; border-radius: 2px; background: #050505; touch-action: none; cursor: grab; }
.stage.is-dragging { cursor: grabbing; }
#scene { display: block; width: 100%; height: 100%; outline: none; }
.hit-regions { position: absolute; inset: 0; }
.hit-region { position: absolute; display: block; margin: 0; padding: 0; border: 0; border-radius: 20px; background: transparent; color: transparent; opacity: .001; cursor: pointer; touch-action: none; }
.hit-region:focus { outline: none; }
.hit-region:focus-visible { opacity: .9; outline: 2px solid #fff; outline-offset: 4px; }
.load-error { position: absolute; inset: auto 20px 20px; margin: 0; padding: 12px 16px; color: #fff; background: #262626; border-radius: 8px; font-size: 14px; }
.contact { padding: 84px 10vw; background: #031b23; }
.contact-inner { display: flex; max-width: 1320px; align-items: end; justify-content: space-between; gap: 40px; margin: 0 auto; }
.contact .eyebrow { margin-bottom: 18px; }
.contact h2 { margin: 0; font-size: clamp(40px, 5.5vw, 72px); font-weight: 400; letter-spacing: -.055em; line-height: 1.05; }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px 30px; padding-bottom: 8px; }
.contact-links a { color: var(--ink); font-size: 18px; text-decoration: none; transition: color .2s; }
.contact-links a span { color: var(--accent); }
.contact-links a:hover, .contact-links a:focus-visible { color: var(--accent); }
.contact-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
@media (max-width: 700px) {
  .hero { min-height: 84svh; padding: 10vh 8vw 17vh; }
  .hero-copy { margin-left: 0; }
  .hero-role { margin-top: 24px; margin-left: 3px; }
  .about { min-height: 48vh; padding: 78px 8vw; }
  .about-copy > p[data-profile-bio], .about-copy > p.about-followup { font-size: 18px; }
  .projects { padding: 80px 0 48px; }
  .projects-heading { display: block; margin: 0 8vw 24px; }
  .projects-hint { margin-top: 20px; }
  .stage { height: 46svh; min-height: 300px; border-radius: 0; }
  .contact { padding: 70px 8vw; }
  .contact-inner { display: block; }
  .contact-links { gap: 18px 24px; margin-top: 34px; }
  .contact-links a { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue { transition: none; }
}
