:root {
  color-scheme: light;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --gutter: clamp(22px, 6vw, 112px);
  --paper: #f4f5f0;
  --ink: #162522;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, a { font: inherit; color: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 700px;
  min-height: max(660px, 93svh);
  color: white;
  background: #101d20;
}
.backdrop, .backdrop::after, video { position: absolute; inset: 0; width: 100%; height: 100%; }
.backdrop { z-index: -1; overflow: hidden; background: #101d20 url("media/dawn.jpg") center / cover no-repeat; }
.backdrop::after {
  content: "";
  background: linear-gradient(90deg, #091819dd, #09181994 41%, #09181932 78%),
              linear-gradient(0deg, #0a161a9e, transparent 28%, transparent 80%, #0a161a75);
}
video { object-fit: cover; opacity: 0; transition: opacity .48s ease; }
video.visible { opacity: 1; }
.header, .hero-content, .hero-controls, .about, footer { padding-inline: var(--gutter); }
.header {
  min-height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #ffffff38;
}
.wordmark, nav, footer { display: flex; align-items: center; gap: 13px; }
.wordmark { font-size: 17px; font-weight: 650; }
.mark { width: 23px; height: 23px; display: inline-block; position: relative; color: inherit; flex: none; }
.mark::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 5px -2px 0 currentColor; }
.mark::after { content: ""; position: absolute; width: 7px; height: 7px; top: 1px; right: -3px; background: currentColor; clip-path: polygon(50% 0, 66% 34%, 100% 50%, 66% 66%, 50% 100%, 34% 66%, 0 50%, 34% 34%); }
nav { gap: clamp(12px, 3vw, 34px); font-size: 14px; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
#language, .learn, #playback { border: 1px solid #ffffff80; border-radius: 999px; background: #12201f33; }
#language { min-width: 45px; min-height: 44px; padding-inline: 12px; }
.hero-content { align-self: center; padding-block: 56px; }
.company { margin: 0 0 23px; font-size: 15px; letter-spacing: .08em; color: #e8efec; }
h1 { font-size: clamp(3.4rem, 7.45vw, 7.4rem); line-height: 1.08; letter-spacing: -.052em; margin: 0; font-weight: 620; }
.intro { font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.75; max-width: 33rem; margin: 26px 0 29px; color: #eff4f2; }
.learn { display: inline-flex; align-items: center; min-height: 47px; padding: 0 21px; font-size: 14px; }
.learn:hover, #language:hover, #playback:hover { background: #ffffff25; }
.hero-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 24px; }
.scenes { display: flex; gap: 7px; }
.scenes button { width: clamp(36px, 4.5vw, 63px); height: 44px; border: 0; padding: 0; background: transparent; }
.scenes button::before { content: ""; display: block; height: 2px; background: #ffffff59; }
.scenes button[aria-pressed=true]::before, .scenes button:hover::before { background: white; }
#playback { width: 44px; height: 44px; display: grid; place-items: center; }
#playback span { width: 10px; height: 12px; border-inline: 2px solid white; }
#playback[aria-pressed=true] span { border: 0; background: white; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.about { padding-block: clamp(66px, 8vw, 125px); display: grid; grid-template-columns: minmax(130px, .6fr) 1.4fr; gap: 24px; }
.section-label { margin: 8px 0 0; font-size: 15px; color: #3f5c54; }
h2 { margin: 0; font-size: clamp(2.25rem, 4.6vw, 4.75rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 620; }
.about div p { max-width: 38rem; margin: 23px 0 0; font-size: clamp(1rem, 1.5vw, 1.19rem); line-height: 1.85; }
footer { border-top: 1px solid #d8dfd9; padding-block: 24px; font-size: 14px; color: #3f5c54; }
footer .mark { transform: scale(.72); transform-origin: left center; }
@media (max-width: 590px) {
  .hero { min-height: max(580px, 91svh); }
  .header { min-height: 65px; }
  h1 { font-size: clamp(2.8rem, 11vw, 4.4rem); }
  .about { grid-template-columns: 1fr; gap: 14px; }
  .backdrop::after { background: linear-gradient(90deg, #091819c9, #09181966), linear-gradient(0deg, #09181980, transparent 45%); }
  video, .backdrop { object-position: 57% center; background-position: 57% center; }
}
@media (prefers-reduced-motion: reduce) { video { transition: none; } }
h1 { white-space: pre-line; }
