/* The approved landscape hero, with original product captures as its proof. */
@font-face {
  font-family: "Ordo Hero";
  src: url('/assets/fonts/HankenGrotesk-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
.site-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
}
.site-header .brand { justify-self: start; }
.site-header nav { margin-left: 0; gap: 32px; }
.site-header nav a, .header-open { color: #f3f1ed; }
.header-open {
  justify-self: end;
  min-height: 43px;
  padding: 8px 21px;
  border: 1px solid #ffffff70;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.header-open:hover { background: #ffffff12; border-color: #ffffffe0; text-decoration: none; }
.opening {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin-top: -82px;
  padding: 96px 0 22px;
  overflow: clip;
}
.hero-landscape, .hero-atmosphere { position: absolute; inset: 0; pointer-events: none; }
.hero-landscape {
  z-index: -3;
  background: url('/assets/ambient/OrdoHeroForestDawn.jpg') center 46% / cover;
}
.hero-landscape video { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero-atmosphere {
  z-index: -2;
  background: linear-gradient(180deg, #141414d9 0%, #141414b8 15%, #14141466 34%, #1414140a 52%, #14141400 77%, #171717e6 100%);
}
.opening-copy { display: block; text-align: center; padding-bottom: 20px; }
.opening h1 {
  max-width: 1050px;
  margin-inline: auto;
  color: #faf8f2;
  font-family: "Ordo Hero", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(76px, 8.6vw, 118px);
  font-weight: 800;
  letter-spacing: -.052em;
  line-height: .88;
  white-space: normal;
  text-shadow: 0 2px 35px #0002;
}
.opening h1 > span { display: block; }
.opening-aside { display: block; margin: 17px auto 0; padding: 0; }
.opening-aside > p {
  max-width: 810px;
  margin: 0 auto;
  color: #f2efea;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.5;
  text-shadow: 0 1px 14px #0007;
}
.opening-actions { flex-direction: row; justify-content: center; align-items: center; gap: 26px; margin-top: 16px; }
.opening-actions .text-link { font-size: 14px; min-height: 48px; gap: 9px; }
.opening-actions .hero-start {
  min-width: 205px;
  justify-content: center;
  color: #222;
  background: #faf8f2;
  border: 1px solid #faf8f2;
  border-radius: 999px;
  padding: 12px 25px;
  box-shadow: 0 2px 18px #0001;
  transition: background .2s, transform .2s;
}
.opening-actions .hero-start:hover { background: #fff; text-decoration: none; transform: translateY(-1px); }
.opening-actions .hero-start:active { transform: translateY(1px); }
.opening-actions .app-store-link { color: #faf8f2; background: none; border: 0; box-shadow: none; padding: 0; }
.product-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  width: min(1120px, 80vw, calc((100svh - 325px) * 1.9));
  max-width: calc(100% - 80px);
  scroll-margin-top: 24px;
}
.web-product { grid-area: 1 / 1 / 2 / 17; min-width: 0; margin: 0; }
.web-product-link {
  display: block;
  padding: clamp(7px, .8vw, 12px);
  border: 1px solid #9c9483;
  border-radius: clamp(17px, 1.7vw, 25px);
  background: #151515;
  overflow: hidden;
  box-shadow: 0 2px 0 #080808, inset 0 0 0 2px #202020, 0 17px 40px #0008;
  transition: box-shadow .2s;
}
.web-product-link img { display: block; width: 100%; height: auto; border-radius: 12px; }
.web-product-link:hover { box-shadow: 0 2px 0 #080808, inset 0 0 0 2px #202020, 0 17px 40px #0008, 0 0 0 1px #ddd2bf; }
.web-product figcaption, .hero-phone figcaption {
  color: #e4e1db;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  margin-top: 9px;
}
.web-product figcaption { padding-right: 0; }
.web-product figcaption > span { margin: 0 7px; }
.web-product figcaption a { text-decoration: none; }
.web-product figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-phone {
  position: relative;
  z-index: 1;
  grid-area: 1 / 16 / 2 / 21;
  display: block;
  width: 100%;
  margin: 0;
}
.hero-phone .iphone-device { filter: drop-shadow(0 18px 23px #0005); }
.hero-phone figcaption { white-space: nowrap; }
.preview-caption { margin-top: 5px; padding-top: 0; color: #c9c6c0; justify-content: center; align-items: center; gap: 18px; }
.preview-caption > p { font-size: 11px; }
.hero-motion {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  color: #d7d4ce;
  padding: 7px 8px;
  font-size: 11px;
  min-height: 38px;
}
.hero-motion svg { width: 12px; height: 12px; }
.hero-motion:hover { color: white; }
.hero-motion:disabled { opacity: .65; cursor: default; }
.closing .release-note { margin-top: 17px; font-size: 12px; color: var(--soft); line-height: 1.8; }
.closing .release-note a { text-underline-offset: 3px; }
.closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; flex-shrink: 0; }
@media (min-width: 1500px) {
  .opening { padding-top: 104px; }
  .opening-copy { padding-bottom: 23px; }
}
@media (max-width: 1000px) {
  .site-header { gap: 24px; }
  .site-header nav { gap: 20px; }
  .site-header nav a { font-size: 12px; }
  .header-open { padding-inline: 16px; font-size: 12px; }
  .opening { margin-top: -74px; padding-top: 96px; }
  .opening h1 { font-size: clamp(61px, 9vw, 90px); }
  .opening-aside > p { max-width: 600px; font-size: 17px; }
  .opening-actions { flex-direction: row; align-items: center; }
  .product-preview { width: min(90vw, calc((100svh - 305px) * 1.9)); max-width: calc(100% - 48px); }
  .hero-phone { grid-column-start: 16; width: 100%; margin: 0; }
  .web-product { grid-column-end: 17; }
  .web-product figcaption { padding-right: 0; }
}
@media (max-width: 700px) {
  .site-header { display: flex; justify-content: space-between; gap: 16px; }
  .site-header nav { display: none; }
  .header-open { margin-left: auto; min-height: 40px; padding-inline: 15px; }
  .opening { margin-top: -68px; padding-top: 111px; padding-bottom: 25px; }
  .hero-landscape { background-position: 45% center; }
  .hero-landscape video { object-position: 45% center; }
  .hero-atmosphere { background: linear-gradient(180deg, #171717ed, #171717b8 22%, #17171730 48%, #1717174d 79%, #171717 100%); }
  .opening h1 { font-size: clamp(44px, 11.3vw, 76px); letter-spacing: -.06em; line-height: .95; }
  .opening-aside { margin-top: 21px; }
  .opening-aside > p { max-width: 420px; font-size: 15px; line-height: 1.5; }
  .hero-copy-break { display: block; }
  .opening-actions { flex-direction: column; gap: 5px; margin-top: 19px; }
  .opening-actions .text-link { font-size: 13px; gap: 8px; min-height: 44px; }
  .opening-actions .hero-start { min-height: 48px; }
  .opening-copy { padding-bottom: 26px; }
  .product-preview { display: block; width: calc(100% - 36px); max-width: none; }
  .web-product { display: none; }
  .hero-phone { width: min(292px, 86%); margin: 0 auto; }
  .preview-caption { flex-direction: row; justify-content: center; margin-top: 10px; gap: 9px; flex-wrap: wrap; }
  .preview-caption > p, .hero-motion { font-size: 10px; }
  .closing-actions { gap: 4px; }
}
@media (max-width: 360px) {
  .opening { padding-top: 102px; }
  .opening h1 { font-size: 39px; }
  .opening-aside > p { font-size: 14px; }
  .hero-phone { width: min(270px, 92%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-landscape video { visibility: hidden; }
  .opening-actions .hero-start:hover, .opening-actions .hero-start:active { transform: none; }
}
@media (forced-colors: active) {
  .hero-landscape, .hero-atmosphere { display: none; }
  .opening h1, .opening-aside > p, .opening-actions .text-link { color: CanvasText; text-shadow: none; }
  .opening-actions .hero-start { background: ButtonFace; color: ButtonText; border: 1px solid ButtonText; }
  .hero-motion { color: ButtonText; }
  .web-product-link { border: 1px solid LinkText; }
}
