@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --ink: #101d19;
  --teal: #104b43;
  --muted: #4b5751;
  --rule: #c4beb1;
  --brass: #a27639;
  --gutter: clamp(1.25rem, 5.25vw, 5.5rem);
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font: 400 3rem/1.02 var(--serif); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--teal); text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #b27830; outline-offset: 4px; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: absolute; z-index: 5; top: 1rem; left: 1rem; padding: .7rem 1rem; background: white; }
.masthead { padding-inline: var(--gutter); margin: auto; max-width: 1680px; }
.masthead-inner { min-height: clamp(4.25rem, 4.8vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); }
.wordmark, .desktop-nav a, .mobile-web-link { text-decoration: none; color: var(--ink); }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-size: clamp(1.3rem, 1.85vw, 1.8rem); line-height: 1; letter-spacing: -.045em; }
.wordmark strong { font-weight: 780; }
.brand-mark { width: 1.35em; height: 1.35em; background: currentColor; mask: url("assets/hero-mark-96.webp") center / contain no-repeat; -webkit-mask: url("assets/hero-mark-96.webp") center / contain no-repeat; }
.desktop-nav { display: flex; gap: clamp(1.5rem, 3vw, 3.1rem); }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.desktop-nav a[aria-current], .desktop-nav a:hover, .mobile-web-link:hover { text-decoration: underline; text-underline-offset: .5em; text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.mobile-web-link, .mobile-title { display: none; }
main, .footer { max-width: 1680px; margin-inline: auto; }
.label, .day-place { font-size: clamp(.7rem, 1vw, .91rem); font-weight: 700; line-height: 1.4; letter-spacing: .17em; text-transform: uppercase; color: var(--teal); }
.hero { display: grid; grid-template-columns: 43% 57%; align-items: stretch; }
.hero-photo { grid-area: 1 / 2; min-width: 0; }
.hero-photo img { width: 100%; height: 100%; aspect-ratio: 849 / 705; object-fit: cover; }
.hero-copy { grid-area: 1 / 1; min-width: 0; align-self: center; padding: 3rem 1rem 3rem var(--gutter); }
.hero-name { margin-bottom: clamp(1.5rem, 2.3vw, 2.5rem); }
.hero h1 { font-family: "Times New Roman", Times, var(--serif); font-size: clamp(3.55rem, 7.65vw, 8.05rem); letter-spacing: -.063em; line-height: .98; }
.hero-deck { max-width: 13.5em; margin-top: clamp(1.1rem, 1.9vw, 2rem); color: #464941; font: italic 400 clamp(1.5rem, 2.55vw, 2.65rem)/1.14 var(--serif); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem clamp(1rem, 2.6vw, 2.6rem); margin-top: clamp(1.65rem, 4.3vw, 4.5rem); }
.store-badge { display: inline-block; }
.store-badge img { height: clamp(2.75rem, 3.65vw, 3.6rem); width: auto; }
.desktop-web-link, .text-link, .resource-links a { font-weight: 600; }
.desktop-web-link { font-size: clamp(.98rem, 1.35vw, 1.25rem); }
.lock-section, .sample-section, .sleep-section, .resources, .footer { margin-inline: var(--gutter); border-top: 1px solid var(--rule); }
.lock-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0 clamp(2rem, 4vw, 4rem);
  padding-block: clamp(2rem, 3vw, 3.3rem);
}
.lock-copy { grid-area: 1 / 1; align-self: end; }
.lock-copy .label { margin-bottom: .8rem; }
.lock-copy h2 { font-size: clamp(2.5rem, 4.1vw, 4.4rem); letter-spacing: -.03em; }
.lock-example { grid-area: 1 / 2 / 3 / 3; }
.lock-example img { width: 100%; }
.lock-note { grid-area: 2 / 1; align-self: start; margin-top: 1.15rem; }
.lock-note p, .sample-intro > p:last-child, .sleep-copy > p:last-child, .resources p { max-width: 47ch; color: var(--muted); }
.text-link { display: inline-block; margin-top: .9rem; }
.sample-section, .sleep-section { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(3rem, 6vw, 6rem); scroll-margin-top: 1rem; }
.sample-intro h2, .sleep-copy h2 { margin: .9rem 0 1.35rem; font-size: clamp(3rem, 5.15vw, 5.4rem); line-height: .98; letter-spacing: -.035em; }
.day-picker { position: relative; margin: 0 0 1.6rem; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.day-picker legend { padding: 0; margin-bottom: .65rem; font-size: .875rem; font-weight: 600; }
.day-picker label { padding: .65rem .95rem; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; border: 1px solid #9baba3; border-radius: 2rem; font-size: .9rem; }
.day-picker label:hover { border-color: var(--teal); }
.day-picker input:checked + label { background: #143a39; color: white; border-color: #143a39; }
.day-picker input:focus-visible + label { outline: 3px solid var(--brass); outline-offset: 2px; }
.day-panel { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.day-panel + .day-panel { margin-top: 1.5rem; }
.day-panel h3 { font: 400 clamp(2rem, 3vw, 3rem)/1.1 var(--serif); margin: .55rem 0 1.05rem; }
.day-panel > p + p { margin-top: .65rem; }
@supports not selector(:has(*)) {
  .day-picker { display: none; }
}
@supports selector(:has(*)) {
  .itinerary:not(:has(#prepare:checked)) .prepare-panel,
  .itinerary:not(:has(#fly:checked)) .fly-panel,
  .itinerary:not(:has(#arrive:checked)) .arrive-panel { display: none; }
  .day-panel + .day-panel { margin-top: 0; }
}
.plan-rows > div { display: grid; grid-template-columns: 4.7rem 1fr; gap: .6rem; padding-block: .55rem; }
.plan-rows dt { color: var(--teal); font-weight: 650; font-size: .9rem; }
.plan-rows small { display: block; color: var(--muted); font-size: .85rem; }
.sleep-section { align-items: center; }
.sleep-example { max-width: 28rem; width: 100%; justify-self: center; }
.sleep-example img { width: 100%; }
.sleep-example figcaption { color: var(--muted); font-size: .8rem; margin: .5rem .3rem 0; }
.resources { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: 3rem; }
.resources h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: .85rem; }
.resource-links { display: flex; gap: 1.5rem; margin-top: .9rem; }
.footer { padding-block: 1.65rem 2.5rem; color: var(--muted); font-size: .85rem; }
.footer p + p { margin-top: .65rem; max-width: 93ch; }
@media (min-width: 1680px) {
  .lock-section, .sample-section, .sleep-section, .resources { margin-inline: 5.5rem; }
  .footer { max-width: 1504px; margin-inline: auto; }
}
@media (max-width: 1024px), (max-width: 1440px) and (any-pointer: coarse) {
  .masthead { position: relative; z-index: 1; background: #0a1521; color: white; }
  .masthead-inner { min-height: 3.6rem; border: 0; }
  .wordmark, .mobile-web-link { color: #fff; }
  .wordmark .brand-mark { color: #a9dfd4; }
  .desktop-nav, .desktop-web-link, .desktop-title { display: none; }
  .mobile-web-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-size: .96rem; }
  .mobile-title { display: block; }
  .hero { position: relative; display: grid; grid-template-columns: 1fr; background: #0a1521; color: white; isolation: isolate; }
  .hero-copy, .hero-photo { grid-area: 1 / 1; }
  .hero-photo { position: absolute; inset: 0; z-index: -1; }
  .hero-photo img { width: 100%; height: 100%; object-position: center; aspect-ratio: auto; }
  .hero-copy { align-self: start; min-height: clamp(18rem, 79vw, 27rem); padding: 1.25rem var(--gutter) 4.5rem; }
  .hero-name { margin-bottom: .8rem; color: #cae7e2; font-size: .68rem; letter-spacing: .15em; }
  .hero h1 { font: 680 clamp(3.1rem, 12vw, 4.5rem)/.98 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: -.065em; }
  .hero-deck { max-width: 23rem; font: 400 clamp(1rem, 4.2vw, 1.2rem)/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; margin-top: .85rem; color: white; }
  .hero-actions { margin-top: 1.25rem; }
  .store-badge img { height: 44px; }
  .lock-example img { border-radius: .85rem; }
}
/* Give the wider touch layout space for the window view and a readable sample card. */
@media (min-width: 701px) and (max-width: 1024px), (min-width: 701px) and (max-width: 1440px) and (any-pointer: coarse) {
  .masthead-inner { min-height: 4rem; }
  .hero-photo img { object-position: 50% 62%; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 16 29 / 78%), transparent 77%); }
  .hero-copy { display: grid; justify-items: start; align-content: center; min-height: clamp(25rem, 43vw, 33rem); padding-block: 2.75rem; }
  .hero h1 { font-size: clamp(4.75rem, 7.8vw, 6.75rem); }
  .hero-name { font-size: .8rem; }
  .hero-deck { max-width: 26rem; }
  .lock-copy h2 { font-size: clamp(2.5rem, 4.9vw, 4.1rem); }
  .lock-section { padding-block: clamp(2rem, 4vw, 3.5rem); }
}
@media (max-width: 700px) {
  .lock-section, .sample-section, .sleep-section, .resources { grid-template-columns: 1fr; }
  .lock-section { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; padding-block: 2rem; border-top: 0; }
  .lock-copy, .lock-note { align-self: stretch; margin: 0; }
  .lock-copy h2 { font: 650 clamp(1.65rem, 6.5vw, 2.5rem)/1.07 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: -.045em; }
  .lock-copy .label { margin-bottom: .6rem; }
  .lock-note p { font-size: .94rem; }
  .sample-section, .sleep-section, .resources { gap: 1.6rem; padding-block: 2.6rem; }
  .sample-intro h2, .sleep-copy h2 { margin-block: .65rem 1rem; }
  .day-picker { margin-bottom: 1rem; }
  .day-picker label { padding-inline: .72rem; }
  .resources { gap: 2.35rem; }
}
@media (forced-colors: active) {
  .brand-mark { background: CanvasText; }
  .day-picker input:checked + label { outline: 2px solid SelectedItem; }
}
