@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-medium.woff') format('woff');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/instrument-serif-italic.woff') format('woff');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 500;
  color: #fffefb;
  background: #18343b;
  --gutter: clamp(28px, 5.5vw, 100px);
}

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
h1, p { margin: 0; }
a { color: inherit; text-decoration: none; }
::selection { color: #18343b; background: #c8e6ee; }
:focus-visible { outline: 2px solid #c8e6ee; outline-offset: 8px; }

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 760px;
  min-height: max(760px, 100svh);
  overflow: hidden;
}

.scene, .scene img, .shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene { z-index: -2; }
.scene img { object-fit: cover; object-position: 63% center; }
.shade {
  z-index: -1;
  background: linear-gradient(90deg, rgb(8 27 32 / 73%), rgb(8 27 32 / 33%) 43%, transparent 72%),
    linear-gradient(0deg, rgb(8 27 32 / 80%), transparent 25%, transparent 80%, rgb(8 27 32 / 20%));
}

.header, .footer { padding-inline: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.header { padding-block: 36px; }
.brand { display: inline-flex; align-items: baseline; font-size: 37px; font-weight: 700; line-height: 1.1; letter-spacing: -.08em; }
.brand span { font-weight: 500; }
.brand i { width: 6px; height: 6px; margin-left: 5px; background: #bce4ef; border-radius: 50%; }
.header-note { font-size: 15px; color: #f1eee6; }
.main { display: flex; align-items: center; padding: 24px var(--gutter) 66px; }
.copy { width: min(55%, 680px); }
.eyebrow { font-size: 14px; letter-spacing: .14em; line-height: 1.7; text-transform: uppercase; color: #d4e7e8; margin-bottom: 27px; }
h1 { font-size: clamp(68px, 6.3vw, 108px); line-height: .99; letter-spacing: -.055em; font-weight: 500; }
h1 em { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.18em; font-weight: 400; letter-spacing: -.035em; }
.intro { margin-top: 34px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.7; color: #f7f5f0; }
.availability { display: inline-flex; align-items: center; gap: 12px; margin-top: 31px; font-size: 16px; line-height: 1.5; padding: 12px 20px; border: 1px solid #d1e4e560; border-radius: 100px; background: #18343b40; }
.availability > span { width: 6px; height: 6px; border-radius: 50%; background: #c8e6ee; box-shadow: 0 0 14px #c8e6ee70; }
.footer { padding-block: 26px; border-top: 1px solid #e1e9e330; margin-inline: var(--gutter); padding-inline: 0; }
.footer p { font-size: 15px; line-height: 1.6; color: #f4f3eb; }
.footer small { font-size: 14px; color: #e4e8e3; white-space: nowrap; }

@media (min-width: 761px) and (max-width: 1050px) {
  .copy { width: 62%; }
  h1 { font-size: 75px; }
  .scene img { object-position: 59% center; }
}

@media (max-width: 760px) {
  .landing { min-height: 940px; min-height: max(940px, 100svh); }
  .scene img { object-position: center bottom; }
  .shade { background: linear-gradient(180deg, rgb(8 27 32 / 38%), rgb(8 27 32 / 20%) 39%, transparent 58%, transparent 81%, rgb(8 27 32 / 83%)); }
  .header { padding-block: 27px; }
  .brand { font-size: 32px; }
  .header-note { font-size: 14px; }
  .main { align-items: flex-start; padding-top: 30px; padding-bottom: 380px; }
  .copy { width: 100%; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; margin-bottom: 20px; }
  h1 { font-size: clamp(56px, 10vw, 72px); line-height: 1; }
  .intro { font-size: 18px; margin-top: 22px; line-height: 1.65; }
  .availability { margin-top: 23px; font-size: 15px; padding: 10px 18px; }
  .footer { padding-block: 22px; align-items: flex-end; gap: 15px; }
  .footer p, .footer small { font-size: 13px; }
  .footer p span { display: block; }
}

@media (max-width: 360px) {
  :root { --gutter: 23px; }
  h1 { font-size: 53px; }
  .header-note { font-size: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  .copy { animation: arrive 900ms ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
