/* One continuous opening scene, with type, vessel and sign at different depths. */
@font-face {
  font-family: Bricolage;
  src: url('assets/fonts/bricolage-grotesque.ttf') format('truetype');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
header, .hero {
  --ink: #171918;
  --yellow: #e4e9dc;
  --paper: #f8f8ed;
  --blue: #91bdc7;
  color: var(--ink);
}
header {
  position: relative;
  z-index: 5;
  border: 0;
  padding: 20px 5% 0;
  background: #91bdc7;
}
header .header-note { font: 12px/1.45 Bricolage, sans-serif; letter-spacing: 0; }
header>a:last-child { font: 600 15px/1.4 Bricolage, sans-serif; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 0;
  background: linear-gradient(180deg, #91bdc7 0%, #a5c8cc 55%, #e2e9dc 82%, #f8f8ed 100%);
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 110%;
  height: 230px;
  left: 25%;
  top: 530px;
  border-radius: 50%;
  background: #4f76751a;
  transform: rotate(-8deg);
  filter: blur(28px);
  pointer-events: none;
}
.hero-heading { position: relative; z-index: 2; padding: 48px 5% 0; pointer-events: none; }
.hero-heading a { pointer-events: auto; }
.hero-heading .eyebrow { font: 500 11px/1.4 Bricolage, sans-serif; letter-spacing: .035em; margin-bottom: 22px; }
.hero h1 {
  position: relative;
  font: 800 clamp(40px, 13.3vw, 250px)/.88 Bricolage, sans-serif;
  font-variation-settings: 'opsz' 96, 'wdth' 100;
  letter-spacing: -.04em;
  margin: 0 0 72px;
  transform: translateY(var(--title-drift, 0px));
  text-shadow: none;
}
.hero h1 .hero-line { font: inherit; letter-spacing: inherit; color: var(--ink); }
.hero h1 .hero-line:first-child {
  font: italic 400 .65em/1 Georgia, serif;
  letter-spacing: -.075em;
  word-spacing: .08em;
  margin: 0 0 .2em 2%;
}
.hero h1 .first-person { font: inherit; color: inherit; letter-spacing: inherit; }
.hero h1 .hero-line:last-child {
  width: fit-content;
  max-width: 100%;
  padding: .01em .12em .105em .055em;
  background: #f8f8ed;
  transform: rotate(-4deg);
  transform-origin: 12% 50%;
  clip-path: polygon(0 4%, 98.8% 0, 100% 94%, .4% 100%);
}
.hero-story {
  position: relative;
  max-width: 390px;
  margin: 0;
  font: 400 18px/1.5 Bricolage, sans-serif;
  letter-spacing: -.01em;
}
.hero-story p { max-width: none; margin: 0 0 22px; }
.hero-story p:last-child { margin-bottom: 0; }
.hero-story .doctrine-lede { font: 600 30px/1.17 Bricolage, sans-serif; letter-spacing: -.035em; }
.hero-story a { font-weight: 700; text-decoration-thickness: 1px; }
.hero>.boat-stage {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 0;
  width: 65%;
  height: 810px;
  overflow: visible;
  border: 0;
  background: transparent;
  transform: translateY(var(--boat-drift, 0px));
}
.hero .boat { width: 100%; height: 100%; left: 0; bottom: 0; z-index: -1; filter: drop-shadow(13px 20px 8px #25353616); }
.hero .corporate-sign, .hero .behind-sign { left: auto; right: 13%; top: 580px; width: 240px; }
.hero .corporate-sign {
  padding: 17px;
  background: #efcc55;
  box-shadow: 5px 7px 0 #171918;
  transform: rotate(9deg);
}
.hero .corporate-sign strong { font-size: 30px; }
.hero .corporate-sign button { background: #f8f8ed; }
.hero .boat path[fill="#eaff00"] { fill: #d5d99d; }
.hero .corporate-sign.revealed { transform: translateY(118px) rotate(-12deg); }
.hero .behind-sign { padding: 10px; font-size: 30px; }
.hero .behind-sign em { font-size: 21px; }
.hero .drill-label { top: auto; bottom: -10px; left: 12%; background: transparent; }
.hero .opening-handoff { position: relative; z-index: 2; border: 0; padding: 115px 5% 60px; }
.hero .opening-handoff>div { margin-left: 0; max-width: 400px; }
.hero .gg-interruption { font: italic 29px/1.2 Georgia, serif; max-width: 400px; margin-bottom: 10px; }
.hero .gg-interruption span { display: inline; margin-right: 10px; }
.hero .opening-handoff .project-link { font-family: Bricolage, sans-serif; }
.crew.chapter { position: relative; background: #f8f8ed; border-top: 0; padding-top: 25px; }
@media (min-width: 1600px) {
  .hero-story { max-width: 470px; font-size: 20px; }
  .hero>.boat-stage { height: 930px; top: -5px; }
  .hero .corporate-sign, .hero .behind-sign { top: 690px; }
  .hero .opening-handoff { padding-top: 120px; }
}
@media (max-width: 1100px) {
  .hero-story { max-width: 340px; font-size: 17px; }
  .hero-story .doctrine-lede { font-size: 26px; }
  .hero>.boat-stage { width: 63%; right: -2%; top: 100px; height: 700px; }
  .hero .boat { height: 100%; bottom: 0; }
  .hero .corporate-sign, .hero .behind-sign { top: 490px; right: 18%; width: 205px; }
  .hero .corporate-sign strong { font-size: 26px; }
  .hero .drill-label { left: 15%; bottom: 65px; }
  .hero .opening-handoff { padding-top: 140px; }
  .hero .opening-handoff>div { max-width: 310px; }
}
@media (max-width: 800px) {
  .hero>.boat-stage { right: -5%; width: 64%; top: 170px; }
  .hero-story { max-width: 290px; }
  .hero .corporate-sign, .hero .behind-sign { right: 15%; }
}
@media (max-width: 600px) {
  header { padding: 15px 5% 0; }
  header>a:last-child { font-size: 13px; }
  .hero-heading { padding: 35px 5% 0; }
  .hero-heading .eyebrow { font-size: 9px; }
  .hero h1 { font-size: 13.4vw; margin: 30px 0 39px; }
  .hero h1 .hero-line:first-child { font-size: .85em; word-spacing: .08em; }
  .hero-story { max-width: none; font-size: 16px; line-height: 1.45; }
  .hero-story .doctrine-lede { max-width: 310px; font-size: 25px; }
  .hero-story p { margin-bottom: 19px; }
  .hero>.boat-stage { position: relative; top: auto; right: auto; width: 110%; margin: -4px -5% 0; height: calc(140px + 82vw); }
  .hero .boat { width: 100%; height: auto; bottom: 10px; }
  .hero .corporate-sign, .hero .behind-sign { right: auto; left: 8%; top: 18px; width: 158px; }
  .hero .corporate-sign { padding: 11px; }
  .hero .corporate-sign strong { font-size: 22px; }
  .hero .corporate-sign.revealed { transform: translateY(110px) rotate(-8deg); }
  .hero .behind-sign { font-size: 23px; }
  .hero .behind-sign em { font-size: 17px; }
  .hero .drill-label { left: 9%; bottom: calc(16px + 18vw); font-size: 8px; }
  .hero .opening-handoff { padding: 52px 6% 34px; }
  .hero .opening-handoff>div { margin-left: 0; }
  .hero .gg-interruption { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 { transform: none; }
  .hero>.boat-stage { transform: none; }
}

/* Selected direction: After hours. */
.hero h1 {text-shadow:none}
.hero h1 .hero-line:last-child {clip-path:none}
header {padding-top:12px}
.hero-heading {padding-top:30px}
.hero-story {font-size:17px;max-width:360px}
.hero-story .doctrine-lede {font-size:28px}
.hero .opening-handoff {padding-top:95px}


/* 4. After hours: a small theatre, an absurdly grand company moon. */
header {background:#182c45;color:#f8f8ed}
header .wordmark img {filter:invert(1);mix-blend-mode:screen}
.hero {--ink:#f8f8ed;background:linear-gradient(#182c45 0%,#233a54 78%,#f8f8ed 100%);color:#f8f8ed}
.hero::before {width:560px;height:560px;top:30px;left:auto;right:2%;border-radius:50%;background:#dab1a0;filter:none;transform:none;z-index:0}
.hero h1 {font-size:9.5vw;margin:35px 0 45px;max-width:73%}
.hero h1 .hero-line:first-child {font:italic 400 .7em/1 Georgia;letter-spacing:-.06em;margin-bottom:.35em}
.hero h1 .hero-line:last-child {background:none;padding:0;transform:none;color:#f8f8ed;letter-spacing:-.05em}
.hero-story {max-width:355px}
.hero-story .doctrine-lede {font-size:29px}
.hero>.boat-stage {top:30px;right:0;width:61%;height:730px}
.hero .boat {filter:drop-shadow(8px 13px 0 #101e3166)}
.hero .corporate-sign,.hero .behind-sign {top:570px;right:13%}
.hero .corporate-sign {background:#dab1a0;color:#182c45;border-color:#101e31;box-shadow:5px 7px #101e31;transform:rotate(-7deg)}
.hero .behind-sign {color:#f8f8ed}
.hero .corporate-sign button {background:#f8f8ed}
.hero .opening-handoff {color:#182c45;padding-top:110px}
.hero .drill-label {bottom:-31px}
.hero a:focus-visible,header a:focus-visible {outline-color:#f8f8ed}


.hero {background:linear-gradient(#182c45,#233a54)}
.hero .opening-handoff {background:linear-gradient(#233a54,#f8f8ed 90px)}

@media(max-width:1000px) {
 .hero-heading {padding-top:28px}
 .hero-story {font-size:16px;max-width:600px}
 .hero h1 {max-width:none;font-size:13vw}
 .hero>.boat-stage {position:relative;top:auto;right:auto;width:110%;height:min(760px,calc(140px + 82vw));margin:0 -5%}
 .hero .boat {width:100%;height:auto;bottom:10px}
 .hero .corporate-sign,.hero .behind-sign {top:20px;left:8%;right:auto;width:158px}
 .hero .corporate-sign strong {font-size:22px}
 .hero .drill-label {bottom:calc(16px + 18vw);left:9%;font-size:8px}
 .hero::before {display:none}
 .hero>.boat-stage::before {content:'';position:absolute;z-index:-2;width:75vw;height:75vw;max-width:560px;max-height:560px;right:2%;bottom:12%;border-radius:50%;background:#dab1a0}
 .hero {background:linear-gradient(#182c45,#233a54)}
 .hero .opening-handoff {padding:90px 6% 34px;background:linear-gradient(#233a54,#f8f8ed 70px)}
}
/* Keep the fade behind the vessel and sign instead of covering them. */
.hero {background:linear-gradient(#182c45 0%,#233a54 calc(100% - 270px),#f8f8ed calc(100% - 190px))}
.hero .opening-handoff {background:none}
@media(max-width:1000px) {
 .hero {background:linear-gradient(#182c45 0%,#233a54 calc(100% - 210px),#f8f8ed calc(100% - 150px))}
}

/* Accepted black sky and illustrated moon, September 30, 2026. */
header, .hero {background:#000}
.hero::before {
 background:url('assets/splash/moon-illustrated.svg') center / contain no-repeat;
 width:560px;height:560px;right:2%;top:30px;
 box-shadow:0 0 65px 2px #e5e0c30c;
 filter:none;
 transform:translateY(calc(var(--boat-drift,0px) * -.28));
}
.hero .boat {filter:drop-shadow(1px -1px 0 #e6dec133) drop-shadow(10px 22px 15px #000)}
.hero .corporate-sign {background:#d8c7aa;color:#171918;border-color:#171918;box-shadow:5px 7px #000}
.hero .opening-handoff {background:linear-gradient(#000,#f8f8ed 90px);color:#171918}
.moon-dust {position:absolute;inset:0 0 auto;height:1000px;pointer-events:none;background-position:center top;background-size:1440px 1000px;background-repeat:no-repeat}
.dust-far {z-index:0;background-image:url('assets/splash/dust-far.svg');opacity:.7;transform:translateY(calc(var(--boat-drift,0px) * -.12))}
.dust-near {z-index:3;background-image:url('assets/splash/dust-near.svg');filter:blur(1.4px);transform:translateY(calc(var(--boat-drift,0px) * 1.7));mask-image:linear-gradient(90deg,transparent 28%,#000 50%);animation:dust-arrive 5s ease-out both}
@keyframes dust-arrive {from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
@media(max-width:1000px) {
 .hero {background:#000}
 .hero>.boat-stage::before {background:url('assets/splash/moon-illustrated.svg') center / contain no-repeat;filter:none;box-shadow:0 0 50px #e5e0c30c}
 .hero .opening-handoff {background:linear-gradient(#000,#f8f8ed 70px)}
 .moon-dust {height:100%;background-size:auto 100%;opacity:.35;mask-image:linear-gradient(transparent 30%,#000 60%,transparent 90%)}
}
@media(prefers-reduced-motion:reduce) {
 .hero::before,.moon-dust {transform:none;animation:none}
}
/* The transition lives behind every scene object, including the loose sign. */
.hero {background:linear-gradient(#000 0 calc(100% - 270px),#f8f8ed calc(100% - 190px))}
.hero .opening-handoff {background:none}
@media(max-width:1000px) {
 .hero {background:linear-gradient(#000 0 calc(100% - 210px),#f8f8ed calc(100% - 150px))}
}
