@font-face {
  font-family: Geist;
  src: url("assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #473a36;
  --tan: #c7aa9f;
  --ink: #f3e5de;
  --muted: #c7aa9f;
  --font-display: "Arial Black", "Helvetica Neue", Geist, Arial, sans-serif;
  font-family: Geist, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }

.teaser {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: max(2rem, env(safe-area-inset-top)) max(2.5rem, env(safe-area-inset-right)) max(1.8rem, env(safe-area-inset-bottom)) max(2.5rem, env(safe-area-inset-left));
  background:
    radial-gradient(ellipse at 50% 40%, #6b514747, transparent 63%),
    radial-gradient(ellipse at 90% 90%, #30282770, transparent 65%),
    var(--paper);
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

header .bullet { color: var(--tan); }
header > span:first-child .bullet { margin-left: 0.5rem; }
header > span:last-child .bullet { margin-right: 0.5rem; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 0 4.5rem;
  text-align: center;
  min-width: 0;
}

.identity {
  display: block;
  width: clamp(9rem, 14vw, 12rem);
  max-width: 100%;
  aspect-ratio: 5309 / 6133;
  margin-bottom: clamp(2.2rem, 4.5vh, 3.5rem);
  background: var(--tan);
  -webkit-mask: url("assets/qatnap-lockup.svg") center / contain no-repeat;
  mask: url("assets/qatnap-lockup.svg") center / contain no-repeat;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-stretch: expanded;
  font-weight: 900;
  line-height: 0.81;
  letter-spacing: -0.075em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero p {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 650;
  line-height: 1.62;
  text-wrap: balance;
}

.hero .arrival { margin-top: 1.35rem; font-size: 0.8rem; font-weight: 450; letter-spacing: 0.025em; }

::selection { background: var(--tan); color: var(--paper); }

@media (max-width: 600px) {
  .teaser { padding: max(1.5rem, env(safe-area-inset-top)) min(1.4rem, 24px) max(1.5rem, env(safe-area-inset-bottom)); }
  header { font-size: 0.65rem; gap: 0.8rem; }
  .hero { padding: 3rem 0 4rem; }
  .identity { width: 9.5rem; margin-bottom: 2.5rem; }
  h1 { max-width: 19rem; font-size: clamp(2rem, 9vw, 3rem); }
  .hero p { max-width: 17rem; margin-top: 1.2rem; }
}

@media (max-width: 360px) {
  header { font-size: 0.6rem; gap: 0.25rem; }
}

@media (max-height: 600px) and (min-width: 601px) {
  .teaser { padding-block: 1.2rem; }
  .hero { padding: 1.5rem 0; }
  .identity { width: 6rem; margin-bottom: 1.2rem; }
  h1 { font-size: 2.5rem; }
  .hero p { margin-top: 0.75rem; }
}
