:root {
  font-family: 'Archivo', sans-serif;
  color: #f4f0e9;
  background: #11191c;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --copper: #c8774e;
  --copper-bright: #e9a174;
  --ink: #11191c;
  --glass: rgba(20, 27, 29, 0.56);
  --line: rgba(237, 226, 207, 0.24);
  --muted: rgba(244, 240, 233, 0.62);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--ink); }
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #efb085; outline-offset: 4px; }

.experience {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: #202a2e;
}

#scene { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; touch-action: none; }
#scene { cursor: grab; }
#scene:active { cursor: grabbing; }
#scene:focus-visible { outline: 2px solid #efb085; outline-offset: -4px; }
.scene-wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 19, 21, 0.76) 0%, rgba(13, 19, 21, 0.47) 29%, rgba(13, 19, 21, 0.08) 58%, rgba(13, 19, 21, 0.08) 100%),
    linear-gradient(0deg, rgba(10, 15, 17, 0.74) 0%, rgba(10, 15, 17, 0.18) 24%, transparent 48%),
    linear-gradient(180deg, rgba(12, 17, 19, 0.55) 0%, transparent 24%);
}

.topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(22px, 5.2vw, 78px);
  border-bottom: 1px solid rgba(241, 230, 214, 0.16);
}
.wordmark { display: inline-flex; min-width: 0; color: #f5f1ea; text-decoration: none; }
.wordmark-lockup { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 5px; perspective: 900px; }
.wordmark-logo {
  display: block;
  width: clamp(190px, 22vw, 285px);
  height: auto;
  max-width: 100%;
  transform-origin: 20% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  animation: house-hunting-float 12s ease-in-out infinite;
  will-change: transform;
}
.wordmark-descriptor { color: rgba(241, 236, 227, 0.57); font-size: 7px; font-weight: 600; letter-spacing: 0.2em; line-height: 1; white-space: nowrap; }
.top-links { display: flex; align-items: center; gap: 22px; margin-left: auto; margin-right: 36px; }
.top-links a, .motion-link { color: rgba(246, 240, 229, 0.74); font-size: 9px; font-weight: 600; letter-spacing: 0.17em; text-decoration: none; transition: color 180ms ease; }
.top-links a:hover, .motion-link:hover { color: var(--copper-bright); }
.nav-divider { width: 1px; height: 14px; background: var(--line); }
.motion-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0 10px 16px; border: 0; background: transparent; cursor: pointer; }
.play-glyph { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid rgba(237, 226, 207, 0.58); border-radius: 50%; color: var(--copper-bright); font-size: 8px; padding-left: 2px; }

.hero-copy { position: absolute; z-index: 2; top: 25.3%; left: clamp(24px, 8.2vw, 124px); max-width: min(690px, 64vw); pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px 5px; color: rgba(248, 236, 218, 0.79); font-size: 9px; font-weight: 600; letter-spacing: 0.24em; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #df9465; box-shadow: 0 0 11px rgba(233, 140, 90, 0.86); }
h1 { margin: 0; color: #f3efe8; font-size: clamp(64px, 8.1vw, 128px); font-weight: 600; line-height: 0.78; letter-spacing: -0.085em; text-shadow: 0 8px 42px rgba(12, 17, 20, 0.18); }
h1 span { display: inline-block; margin-top: 0.17em; color: #f0e9dd; font-weight: 500; }
.hero-description { margin: 35px 0 0 4px; color: rgba(246, 241, 233, 0.84); font-size: clamp(14px, 1.32vw, 18px); font-weight: 400; line-height: 1.45; letter-spacing: -0.015em; text-shadow: 0 2px 20px rgba(14, 18, 20, 0.38); }
.hero-meta { display: flex; align-items: center; gap: 13px; margin: 25px 0 0 5px; color: rgba(239, 229, 214, 0.57); font-size: 8px; font-weight: 600; letter-spacing: 0.16em; }
.meta-line { width: 32px; height: 1px; background: var(--copper); opacity: 0.8; }

.scene-note {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 8vw, 118px);
  bottom: 25%;
  display: flex;
  width: 205px;
  flex-direction: column;
  gap: 11px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(243, 232, 216, 0.26);
  border-radius: 2px;
  background: linear-gradient(138deg, rgba(28, 35, 37, 0.67), rgba(36, 38, 36, 0.34));
  box-shadow: 0 20px 50px rgba(9, 15, 17, 0.14);
  backdrop-filter: blur(13px);
  pointer-events: none;
}
.note-kicker { color: var(--copper-bright); font-size: 8px; font-weight: 700; letter-spacing: 0.21em; }
.scene-note strong { font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: -0.035em; }
.note-foot { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: rgba(239, 231, 218, 0.65); font-size: 8px; letter-spacing: 0.14em; }
.tiny-sun { width: 7px; height: 7px; border-radius: 50%; background: #de8b60; box-shadow: 0 0 12px #d97952; }
.scene-status { position: absolute; z-index: 2; left: clamp(24px, 5.2vw, 78px); bottom: 128px; display: flex; align-items: center; gap: 10px; color: rgba(240, 235, 226, 0.66); font-size: 8px; font-weight: 600; letter-spacing: 0.17em; pointer-events: none; }
.status-ring { width: 7px; height: 7px; border: 1px solid #dc9369; border-radius: 50%; box-shadow: 0 0 8px rgba(222, 132, 83, 0.5); }
.status-separator { color: var(--copper); opacity: 0.85; }
.camera-controls { position: absolute; z-index: 4; top: 145px; right: clamp(20px, 5.2vw, 78px); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.camera-controls-label { color: rgba(240, 235, 226, 0.62); font-size: 7px; font-weight: 700; letter-spacing: 0.2em; }
.camera-pad { display: grid; grid-template-columns: repeat(4, 44px); gap: 4px; padding: 5px; border: 1px solid rgba(237, 226, 207, 0.24); border-radius: 3px; background: rgba(16, 23, 25, 0.72); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24); backdrop-filter: blur(14px); }
.camera-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(237, 226, 207, 0.2); border-radius: 2px; color: rgba(245, 240, 231, 0.86); background: rgba(255, 255, 255, 0.035); font-size: 20px; line-height: 1; cursor: pointer; touch-action: manipulation; transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.camera-button:hover { border-color: rgba(233, 161, 116, 0.8); color: #f4b38b; background: rgba(200, 119, 78, 0.12); }
.camera-button:active { transform: scale(0.95); }

.scene-controls {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 5.2vw, 78px);
  bottom: 41px;
  left: clamp(20px, 5.2vw, 78px);
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: clamp(15px, 2.5vw, 34px);
  padding: 10px 16px 10px 19px;
  border: 1px solid rgba(237, 226, 207, 0.22);
  border-radius: 3px;
  background: rgba(16, 23, 25, 0.72);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}
.control-hint { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.drag-icon { color: var(--copper-bright); font-size: 21px; line-height: 1; }
.control-hint span:last-child { display: grid; gap: 4px; }
.control-hint strong { color: rgba(242, 235, 224, 0.88); font-size: 8px; font-weight: 600; letter-spacing: 0.15em; }
.control-hint small { color: rgba(242, 235, 224, 0.47); font-size: 7px; letter-spacing: 0.15em; }
.control-divider { width: 1px; height: 30px; background: var(--line); }
.control-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 0 5px; border: 0; color: rgba(245, 240, 231, 0.78); background: transparent; cursor: pointer; transition: color 160ms ease, transform 160ms ease; white-space: nowrap; }
.control-button:hover { color: #f4b38b; transform: translateY(-1px); }
.control-button[aria-pressed="true"] .snow-icon { color: #efb184; }
.control-button[aria-pressed="false"] .snow-icon { color: rgba(245, 240, 231, 0.42); }
.button-label { font-size: 8px; font-weight: 600; letter-spacing: 0.13em; }
.snow-icon, .reset-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.control-icon { display: inline-flex; gap: 3px; align-items: center; justify-content: center; width: 17px; height: 17px; color: var(--copper-bright); }
.pause-icon i { display: block; width: 2px; height: 10px; border-radius: 1px; background: currentColor; }
.pause-icon.is-playing::before { display: block; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid currentColor; content: ''; }
.reset-icon { color: rgba(245, 240, 231, 0.72); }
.edge-caption { position: absolute; z-index: 2; top: 50%; right: 17px; display: flex; align-items: center; gap: 10px; color: rgba(244, 234, 219, 0.47); font-size: 7px; letter-spacing: 0.19em; writing-mode: vertical-rl; transform: translateY(-50%); pointer-events: none; }
.edge-rule { width: 1px; height: 40px; background: rgba(228, 160, 119, 0.7); }

.film-dialog { width: min(940px, calc(100% - 32px)); max-width: 940px; padding: 0; border: 1px solid rgba(235, 225, 209, 0.2); color: #f4f0e9; background: #151c1e; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58); }
.film-dialog::backdrop { background: rgba(8, 12, 14, 0.78); backdrop-filter: blur(8px); }
.film-shell { padding: clamp(16px, 3vw, 27px); }
.film-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 19px; }
.film-eyebrow { color: var(--copper-bright); font-size: 8px; font-weight: 700; letter-spacing: 0.2em; }
.film-header h2 { margin: 8px 0 0; font-size: clamp(21px, 4vw, 32px); font-weight: 500; letter-spacing: -0.05em; }
.close-film { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(237, 226, 207, 0.28); border-radius: 50%; color: #eee4d6; background: transparent; font-size: 25px; line-height: 1; cursor: pointer; }
.close-film:hover { border-color: var(--copper-bright); color: var(--copper-bright); }
.film-dialog video { display: block; width: 100%; max-height: 64vh; aspect-ratio: 16 / 9; background: #090d0f; object-fit: contain; }
.film-caption { margin: 13px 0 0; color: rgba(244, 240, 233, 0.59); font-size: 11px; }

.about-section { position: relative; min-height: 100svh; padding: clamp(86px, 10vw, 144px) clamp(24px, 7vw, 108px); overflow: hidden; isolation: isolate; color: #f4f0e9; background: radial-gradient(ellipse at 78% 20%, rgba(161, 92, 62, 0.16), transparent 40%), linear-gradient(145deg, #11191c 0%, #182326 52%, #11191c 100%); border-top: 1px solid rgba(237, 226, 207, 0.16); }
.about-sky { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.about-sky-ring { position: absolute; top: -34vw; right: -16vw; width: min(74vw, 940px); aspect-ratio: 1; border: 1px solid rgba(233, 161, 116, 0.16); border-radius: 50%; box-shadow: 0 0 0 34px rgba(233, 161, 116, 0.025), 0 0 0 90px rgba(233, 161, 116, 0.018); }
.about-sky-glint { position: absolute; top: 17%; right: 27%; width: 5px; height: 5px; border-radius: 50%; background: var(--copper-bright); box-shadow: 0 0 16px 4px rgba(233, 161, 116, 0.34); animation: about-glint 5.5s ease-in-out infinite; }
.about-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr); gap: clamp(48px, 8vw, 112px); align-items: start; max-width: 1240px; margin: 0 auto; }
.about-intro { position: relative; min-height: 540px; padding-bottom: 205px; }
.about-kicker { display: flex; align-items: center; gap: 10px; color: rgba(244, 240, 233, 0.62); font-size: 8px; font-weight: 700; letter-spacing: 0.22em; }
.about-kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper-bright); box-shadow: 0 0 11px rgba(233, 140, 90, 0.72); }
.about-title { max-width: 12ch; margin: 26px 0 0; color: #f4f0e9; font-size: clamp(40px, 5vw, 74px); font-weight: 500; line-height: 0.98; letter-spacing: -0.065em; }
.about-title span { display: inline-block; margin-top: 0.08em; color: var(--copper-bright); font-weight: 400; }
.about-lead { max-width: 360px; margin: 22px 0 0; color: rgba(244, 240, 233, 0.72); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -0.02em; }
.about-seal { position: absolute; bottom: 0; left: 0; display: grid; width: 174px; aspect-ratio: 1; place-items: center; animation: about-float 8s ease-in-out infinite; transform-style: preserve-3d; }
.about-seal-art { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 12px 30px rgba(5, 8, 9, 0.35)); }
.seal-orbit { fill: none; stroke: rgba(233, 161, 116, 0.62); stroke-width: 1.1; stroke-dasharray: 2 5; transform-box: fill-box; transform-origin: center; animation: about-orbit 34s linear infinite; }
.seal-orbit-inner { fill: rgba(200, 119, 78, 0.04); stroke: rgba(237, 226, 207, 0.18); stroke-width: 0.8; }
.seal-house { fill: none; stroke: #e9a174; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seal-letters { fill: #f4f0e9; font-family: 'Archivo', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 3px; }
.seal-star { fill: var(--copper-bright); filter: drop-shadow(0 0 5px rgba(233, 161, 116, 0.8)); }
.about-seal-caption { position: absolute; bottom: 13px; color: rgba(244, 240, 233, 0.56); font-size: 7px; font-weight: 600; letter-spacing: 0.2em; }
.about-story { display: flex; flex-direction: column; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(237, 226, 207, 0.2); }
.about-paragraph { max-width: 66ch; margin: 0; color: rgba(244, 240, 233, 0.7); font-size: clamp(15px, 1.18vw, 17px); line-height: 1.75; }
.about-paragraph:first-child { color: #f4f0e9; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; letter-spacing: -0.03em; }
.about-signoff { display: grid; gap: 11px; margin-top: 8px; padding: 24px 25px; border-left: 2px solid var(--copper-bright); background: linear-gradient(120deg, rgba(200, 119, 78, 0.14), rgba(200, 119, 78, 0.025)); }
.about-signoff strong { color: #f4f0e9; font-size: clamp(17px, 1.55vw, 21px); font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; }
.about-signoff span { color: var(--copper-bright); font-size: 13px; letter-spacing: 0.04em; }
.about-section.is-visible .about-intro { animation: about-rise 900ms cubic-bezier(0.2, 0.72, 0.22, 1) 90ms both; }
.about-section.is-visible .about-paragraph { animation: about-rise 720ms cubic-bezier(0.2, 0.72, 0.22, 1) both; }
.about-section.is-visible .about-paragraph:nth-child(2) { animation-delay: 70ms; }
.about-section.is-visible .about-paragraph:nth-child(3) { animation-delay: 140ms; }
.about-section.is-visible .about-paragraph:nth-child(4) { animation-delay: 210ms; }
.about-section.is-visible .about-paragraph:nth-child(5) { animation-delay: 280ms; }
.about-section.is-visible .about-paragraph:nth-child(6) { animation-delay: 350ms; }
.about-section.is-visible .about-paragraph:nth-child(7) { animation-delay: 420ms; }
.about-section.is-visible .about-paragraph:nth-child(8) { animation-delay: 490ms; }
.about-section.is-visible .about-signoff { animation: about-rise 820ms cubic-bezier(0.2, 0.72, 0.22, 1) 560ms both; }

@keyframes about-rise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes about-orbit {
  to { transform: rotate(360deg); }
}

@keyframes about-float {
  0%, 100% { transform: perspective(800px) rotateY(-3deg) translate3d(0, 0, 0); }
  50% { transform: perspective(800px) rotateY(3deg) translate3d(0, -7px, 0); }
}

@keyframes about-glint {
  0%, 100% { opacity: 0.4; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes house-hunting-float {
  0%, 100% { transform: perspective(900px) rotateX(0.7deg) rotateY(-2deg) translate3d(0, 0, 0); }
  50% { transform: perspective(900px) rotateX(-1.2deg) rotateY(2.4deg) translate3d(0, -3px, 0); }
}

@media (max-width: 900px) {
  .topbar { padding-top: 22px; padding-bottom: 22px; }
  .top-links { margin-right: 18px; }
  .scene-note { right: 6vw; bottom: 24%; width: 180px; }
  .hero-copy { top: 27%; }
  .scene-controls { gap: 18px; }
}

@media (max-width: 820px) {
  .about-shell { grid-template-columns: 1fr; gap: 48px; }
  .about-intro { min-height: 390px; padding-bottom: 170px; }
  .about-title { max-width: 16ch; font-size: clamp(42px, 7vw, 64px); }
  .about-seal { width: 150px; }
}

@media (max-width: 640px) {
  .experience { min-height: 740px; }
  .topbar { gap: 10px; padding: 20px 20px 17px; }
  .wordmark { flex: 1 1 auto; }
  .wordmark-lockup { gap: 3px; }
  .wordmark-logo { width: clamp(145px, 46vw, 200px); }
  .wordmark-descriptor { font-size: 6px; letter-spacing: 0.16em; }
  .top-links { display: flex; gap: 0; margin-right: 14px; }
  .top-links .nav-divider, .top-links a[href="#scene-controls"] { display: none; }
  .top-links a { font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
  .motion-link { flex: 0 0 auto; gap: 8px; padding-left: 8px; font-size: 7px; letter-spacing: 0.11em; }
  .play-glyph { width: 20px; height: 20px; }
  .scene-wash { background: linear-gradient(90deg, rgba(12, 18, 20, 0.57), rgba(12, 18, 20, 0.12)), linear-gradient(0deg, rgba(10, 15, 17, 0.82), rgba(10, 15, 17, 0.07) 56%), linear-gradient(180deg, rgba(12, 17, 19, 0.43), transparent 25%); }
  .hero-copy { top: 21%; left: 23px; max-width: calc(100vw - 36px); }
  .eyebrow { margin-bottom: 19px; font-size: 8px; letter-spacing: 0.17em; }
  h1 { font-size: clamp(48px, 12.6vw, 76px); }
  .hero-description { max-width: 260px; margin-top: 25px; font-size: 14px; }
  .desktop-break { display: none; }
  .hero-meta { margin-top: 19px; font-size: 7px; gap: 9px; }
  .scene-note { right: 21px; bottom: 29%; width: 158px; gap: 8px; padding: 13px 14px; }
  .note-kicker { font-size: 7px; }
  .scene-note strong { font-size: 14px; }
  .note-foot { font-size: 7px; }
  .about-section { min-height: auto; padding: 76px 23px 86px; }
  .about-shell { gap: 38px; }
  .about-intro { min-height: auto; padding-bottom: 0; }
  .about-kicker { font-size: 7px; letter-spacing: 0.16em; }
  .about-title { max-width: 14ch; margin-top: 20px; font-size: clamp(36px, 9.3vw, 48px); line-height: 1.02; }
  .about-lead { max-width: 320px; margin-top: 16px; font-size: 16px; }
  .about-seal { position: relative; bottom: auto; left: auto; width: 142px; margin-top: 24px; }
  .about-seal-caption { bottom: 11px; font-size: 6px; }
  .about-story { gap: 16px; padding-top: 18px; }
  .about-paragraph { font-size: 14px; line-height: 1.72; }
  .about-paragraph:first-child { font-size: 18px; }
  .about-signoff { gap: 9px; margin-top: 5px; padding: 20px 18px; }
  .about-signoff strong { font-size: 17px; }
  .about-signoff span { font-size: 12px; line-height: 1.5; }
  .about-sky-ring { top: -155px; right: -170px; width: 430px; }
  .camera-controls { top: 104px; right: 14px; }
  .camera-controls-label { display: none; }
  .camera-pad { grid-template-columns: repeat(4, 44px); gap: 3px; padding: 4px; }
  .scene-status { left: 23px; bottom: 132px; gap: 7px; font-size: 7px; }
  .edge-caption { display: none; }
  .scene-controls { right: 13px; bottom: 14px; left: 13px; min-height: 60px; gap: 12px; padding: 8px 11px; }
  .control-hint { gap: 7px; }
  .drag-icon { font-size: 18px; }
  .control-hint strong { font-size: 7px; }
  .control-hint small { font-size: 6px; }
  .control-divider { height: 27px; }
  .control-button { min-height: 38px; gap: 6px; }
  .button-label { font-size: 7px; letter-spacing: 0.08em; }
  .snow-icon, .reset-icon, .control-icon { width: 15px; height: 15px; }
  .reset-button .button-label { display: none; }
}

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

.top-links .top-browse { color: var(--copper-bright); }
@media (max-width: 640px) { .top-links .top-browse { display: none; } }
.about-browse { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(233, 161, 116, 0.45); color: var(--copper-bright); text-decoration: none; font-weight: 700; }
.about-browse:hover { background: rgba(233, 161, 116, 0.12); }
