:root {
  color-scheme: light;
  --black: #fff;
  --white: #141414;
  --muted: #4b4a47;
  --gold: #c5a95e;
  --accent-ink: #685223;
  --line: #e7dfc9;
  --paper: #f8f7f4;
  --type: "Instrument Sans", system-ui, sans-serif;
}
body { background: #fff; color: var(--white); font-family: var(--type); }
.scene { scrollbar-color: #b39b61 #fff; }
.opening, .immersive-home, .home-stage, .atmosphere, .no-script { background: #fff; }
.atmosphere::before, .atmosphere::after { opacity: .35; }
.ambient i, .ambient i:nth-child(n) { background: var(--gold); box-shadow: none; }
.ambient { opacity: .30; }
h1, h2, h3, .quote-first p, .quote-second blockquote, .home-welcome .home-copy > p,
.contact-category summary, .step-circle, .contract-number, .nav-handle #sound, .sound-state {
  font-family: var(--type);
}
h1, h2, h3, .quote-first p, .quote-second blockquote { font-weight: 600; }
h1 em, .quote-second blockquote { color: var(--white); font-weight: 600; }
.eyebrow, .credit, .small-sign, .quote-second .credit, .sample-label,
#counter, .drawer-top, .nav-handle #sound, .reveal, .phone-links a span {
  color: var(--accent-ink);
}
.gold-line { width: 66px; height: 2px; }
#brand-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.brand-rest { display: none; }
.opening .opening-identity {
  position: absolute;
  left: 50%;
  top: calc(50% + min(19vw, 14.5vh, 100px) + 4px);
  width: min(90%, 560px);
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: opacity .5s ease;
}
.opening.brand-ready .opening-identity { opacity: 1; }
.opening-identity span {
  display: block;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 5px;
}
.opening-identity h1 { font-size: clamp(25px, 4vw, 40px); }
.opening .opening-proceed { top: calc(50% + min(19vw, 14.5vh, 100px) + 82px); }
.opening:not(.brand-ready) .opening-proceed { visibility: hidden; }
.opening.brand-ready .opening-proceed:not(.awaiting-end) { visibility: visible; }
.opening.sand-exiting .opening-proceed,
.opening.sand-exiting .opening-identity { visibility: hidden; }
.proceed, .thanks .proceed {
  color: var(--white);
  border: 1px solid var(--line);
  background: #fff;
}
.proceed:hover, .proceed:focus-visible { color: var(--white); background: #f3ebd8; }
.story-portrait, .thank-portrait { background: transparent; }
.story-portrait img, .thank-portrait img {
  width: min(100%, 350px);
  margin-inline: auto;
  filter: none;
  mix-blend-mode: normal;
  mask-image: none;
}
img.brand-mini { display: block; width: 58px; margin: 28px auto 0; }
.manifesto .one-logo { width: min(260px, 80%); }
.broker-lockup { width: min(420px, 100%); }
.broker-white { display: none; }
.thank-grid { grid-template-rows: none; }
.thank-portrait, .thank-details { grid-row: auto; }
.closing-wordmark strong, .closing-wordmark span { display: block; }
.closing-wordmark strong { font-size: clamp(24px, 3vw, 34px); font-weight: 600; }
.closing-wordmark span { color: var(--accent-ink); font-size: 12px; letter-spacing: .18em; }
.phone-links a, .contact-link { color: var(--white); }
.thank-logo { display: block; width: min(290px, 100%); margin: 14px 0 0; }
.toolbar, .nav-handle { background: rgb(255 255 255 / .97); }
.nav-handle { border: 1px solid var(--line); border-radius: 4px; }
.navigation.open .toolbar { border-color: var(--line); box-shadow: 0 10px 40px rgb(0 0 0 / .12); }
.reveal, .drawer-top button { color: var(--white); opacity: 1; }
.chapter-list button[aria-current="true"] { background: #f3ebd8; color: var(--white); }
.transport button:hover { color: var(--accent-ink); }
.step-circle { color: #141414; }
.full-steps .step-circle { box-shadow: 0 0 0 10px #fff; }
.full-steps article.step-revealed .step-circle { box-shadow: 0 0 0 10px #fff, 0 0 28px #c5a95e35; }
.contact-card, .contract-cards article { background: var(--paper); border-color: var(--line); }
.contact-card dt, .contract-cards p { color: var(--muted); }
.contact-card a:hover { color: var(--accent-ink); }
.read-contract { background: #141414; color: #fff; border-radius: 4px; }
#contract-reader, .reader-tools select { background: #fff; color: var(--white); }
.reader-top button, .reader-tools button { color: var(--accent-ink); }
#reader-scroll { background: #eeede9; }
.home-panel { background: #fff; }
.immersive-image { left: auto; right: 0; width: 52%; }
.home-shade { display: none; }
.home-copy, .home-welcome .home-copy {
  left: clamp(24px, 6vw, 96px);
  top: 50%;
  bottom: auto;
  width: min(37%, 590px);
  transform: translateY(-50%) !important;
}
.home-copy h1, .home-welcome .home-copy h1 { color: var(--white); }
.home-copy .eyebrow, .home-scroll-cue { color: var(--accent-ink); }
.home-copy p, .home-copy .home-aside, .home-welcome .home-copy > p {
  color: var(--muted);
  text-shadow: none;
}
.home-welcome .home-copy > p { margin-top: 0; font-size: clamp(19px, 2.2vw, 32px); }
.home-position i { background: #ffffff9c; }
.home-position i.selected { background: var(--gold); }
@media (max-width: 1024px) {
  .thank-portrait, .thank-details { grid-column: 1; }
  .thank-logo { margin-inline: auto; }
}
@media (max-width: 700px) {
  .immersive-image { width: 100%; height: 26%; }
  .home-copy, .home-welcome .home-copy {
    left: 24px;
    top: 27%;
    width: calc(100% - 48px);
    transform: none !important;
  }
  .home-copy h1, .home-welcome .home-copy h1 { font-size: clamp(28px, 7vw, 38px); }
  .home-copy .eyebrow { margin-bottom: 10px; }
  .home-copy .gold-line { margin-block: 14px; }
  .home-scroll-cue { left: 24px; }
  .home-position { top: 8%; }
}
@media (max-width: 700px) and (max-height: 620px) {
  .immersive-image { height: 19%; }
  .home-copy, .home-welcome .home-copy { top: 20%; }
  .home-copy p { font-size: 15px; line-height: 1.42; }
}
