/* Travel Journal landing. One typeface for interface (Manrope), Newsreader for the
   editorial voice inside story cards and the tagline reveal. Flat backgrounds,
   one custom curve, no italics. Spacing scale: 4 8 12 16 24 32 40 48 64 80 96. */
:root {
  --paper: #F7F5F2;
  --surface: #FFFFFF;
  --raised: #F1EEE9;
  --hairline: #E4DFD7;
  --ink: #171512;
  --ink-2: #57524A;
  --ink-3: #6B655C;
  --ember: #B4552F;
  --ember-hover: #8E3F20;
  --night: #171512;
  --night-2: #1F1F1F;
  --night-ink: #F5F2ED;
  --night-ink-2: #B8B1A6;
  --night-ember: #E0764A;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1rem; line-height: 1.5rem;
  color: var(--ink); background: var(--paper);
  text-wrap: pretty;
}
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 0.75rem; top: -3rem; padding: 0.5rem 0.75rem; background: var(--ink); color: var(--paper); border-radius: var(--r-md); z-index: 100; transition: top 0.4s var(--ease); }
.skip:focus { top: 0.75rem; }

.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 3rem, 44rem); }
.section { padding-block: 6rem; }
@media (min-width: 48rem) { .section { padding-block: 8rem; } }
.section--night { background: var(--night); color: var(--night-ink); }
.section--night .eyebrow { color: var(--night-ember); }
.section--night .lede { color: var(--night-ink-2); }

.eyebrow {
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 1rem;
}
.h2 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em; max-width: 42.5rem; }
@media (min-width: 48rem) { .h2 { font-size: 3rem; line-height: 1; } }
.h2--light { color: var(--night-ink); }
.lede { font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-2); max-width: 42.5rem; margin-top: 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; min-height: 2.75rem;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.5rem;
  color: var(--paper); background: var(--ember); border: 0; border-radius: 9999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:hover { background: var(--ember-hover); transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--night-ember); outline-offset: 3px; }
.btn--sm { font-size: 0.875rem; line-height: 1.25rem; min-height: 2.25rem; padding: 0.5rem 0.75rem; }

/* Island nav */
.island {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  background: rgba(23,21,18,0.72); color: var(--night-ink);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 9999px;
  width: max-content; max-width: calc(100% - 2rem);
  transition: background 0.7s var(--ease), color 0.7s var(--ease), border-color 0.7s var(--ease);
}
.island.is-paper { background: rgba(247,245,242,0.82); color: var(--ink); border-color: var(--hairline); }
.island__brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.875rem; text-decoration: none; }
.island__brand img { border-radius: 0.5rem; }
.island__links { display: none; gap: 1.5rem; font-size: 0.875rem; font-weight: 500; }
.island__links a { text-decoration: none; opacity: 0.8; transition: opacity 0.4s var(--ease); }
.island__links a:hover, .island__links a[aria-current="true"] { opacity: 1; }
.island__burger {
  position: relative; width: 2.25rem; height: 2.25rem; border: 0; background: transparent; cursor: pointer; border-radius: 9999px; color: inherit;
}
.island__burger span { position: absolute; left: 0.5rem; right: 0.5rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.7s var(--ease), top 0.7s var(--ease); }
.island__burger span:nth-child(1) { top: 0.8rem; }
.island__burger span:nth-child(2) { top: 1.3rem; }
.island__burger[aria-expanded="true"] span:nth-child(1) { top: 1.05rem; transform: rotate(45deg); }
.island__burger[aria-expanded="true"] span:nth-child(2) { top: 1.05rem; transform: rotate(-45deg); }
@media (min-width: 48rem) { .island__links { display: flex; } .island__burger { display: none; } }
@media (max-width: 47.99rem) { .island .btn--sm { display: none; } }
.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  background: rgba(23,21,18,0.88); color: var(--night-ink);
  backdrop-filter: blur(48px); -webkit-backdrop-filter: blur(48px);
  opacity: 0; pointer-events: none; transition: opacity 0.7s var(--ease);
}
.menu[hidden] { display: flex; }
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu a { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; text-decoration: none; transform: translateY(3rem); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.menu.is-open a { transform: translateY(0); opacity: 1; }
.menu a.btn { font-size: 1rem; line-height: 1.5rem; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--night); color: var(--night-ink); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: rgba(23,21,18,0.46); }
.hero__inner { position: relative; z-index: 1; width: min(100% - 3rem, 42.5rem); text-align: center; padding-block: 8rem 6rem; }
.hero .eyebrow { color: var(--night-ember); }
.hero__title {
  font-size: 3rem; line-height: 1; letter-spacing: -0.03em; font-weight: 600;
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 48rem) { .hero__title { font-size: 4.5rem; } }
.hero__sub { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--night-ink-2); max-width: 36rem; margin-inline: auto; }
.hero__scroll { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: var(--night-ink); opacity: 0.7; font-size: 1.5rem; text-decoration: none; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 0.5rem); } }

/* Access form */
.access { margin-top: 2rem; display: grid; gap: 0.75rem; grid-template-columns: 1fr; justify-items: stretch; max-width: 30rem; margin-inline: auto; }
.access input {
  font: inherit; font-size: 1rem; line-height: 1.5rem; padding: 0.5rem 1rem; min-height: 2.75rem;
  border-radius: 9999px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.1); color: var(--night-ink);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.access input::placeholder { color: rgba(245,242,237,0.55); }
.access input:focus { outline: 0; border-color: var(--night-ember); background: rgba(255,255,255,0.16); }
.access input[aria-invalid="true"] { border-color: #F08A70; }
.access__note { grid-column: 1 / -1; font-size: 0.875rem; line-height: 1.25rem; color: var(--night-ink-2); }
.access__note.is-error { color: #F4A58E; }
.access__note.is-ok { color: #A9D3A8; }
@media (min-width: 40rem) { .access { grid-template-columns: 1fr auto; } }
.access.is-done input, .access.is-done .btn { display: none; }

/* Steps */
.steps { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step { position: relative; padding: 1.5rem; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); }
.step__num { font-size: 0.75rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-3); }
.step__icon { display: block; font-size: 2rem; color: var(--ember); margin: 1.5rem 0 1rem; }
.step h3 { font-size: 1.25rem; line-height: 1.75rem; }
.step p { margin-top: 0.5rem; color: var(--ink-2); }

/* Tagline reveal */
.tagline { padding-block: 6rem; background: var(--paper); }
@media (min-width: 48rem) { .tagline { padding-block: 8rem; } }
.tagline__text {
  width: min(100% - 3rem, 56rem); margin-inline: auto;
  font-family: Newsreader, Georgia, serif; font-weight: 300; font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em;
}
@media (min-width: 48rem) { .tagline__text { font-size: 3.75rem; line-height: 1.1; } }
.tagline__text .w { display: inline-block; color: rgba(23,21,18,0.28); transition: color 0.7s var(--ease); }
.tagline__text .w.on { color: var(--ink); }

/* Phones */
.phones { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 48rem) { .phones { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: end; } .phone:nth-child(2) { transform: translateY(-2rem); } }
.phone { margin: 0; }
.phone__screen {
  position: relative; aspect-ratio: 9 / 19; overflow: hidden;
  border-radius: 2.5rem; background: var(--night); border: 0.5rem solid #0F0E0D;
  box-shadow: 0 2rem 4rem rgba(23,21,18,0.28);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__screen--paper { background: var(--paper); }
.card { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1rem 1.5rem; background: linear-gradient(180deg, rgba(23,21,18,0) 0%, rgba(23,21,18,0.85) 40%); color: var(--night-ink); }
.card__meta { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; opacity: 0.8; }
.card__title { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 1.5rem; line-height: 1.75rem; margin-top: 0.5rem; letter-spacing: -0.01em; }
.card__body { font-family: Newsreader, Georgia, serif; font-size: 1rem; line-height: 1.5rem; margin-top: 0.5rem; opacity: 0.9; }
.phone figcaption { margin-top: 1rem; text-align: center; font-size: 0.875rem; line-height: 1.25rem; color: var(--night-ink-2); }
.cal { padding: 3rem 0.75rem 1rem; color: var(--ink); height: 100%; display: flex; flex-direction: column; }
.cal__month { font-family: Newsreader, Georgia, serif; font-weight: 300; font-size: 1.5rem; line-height: 1.75rem; letter-spacing: -0.02em; padding-inline: 0.25rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.25rem; margin-top: 1rem; }
.cal__grid span { aspect-ratio: 1; display: grid; place-items: center; font-size: 0.75rem; line-height: 1rem; font-weight: 500; border-radius: 0.5rem; color: var(--ink-3); background: var(--raised); }
.cal__grid span:empty { background: transparent; }
.cal__grid .cal__dow { aspect-ratio: auto; background: transparent; font-size: 0.75rem; color: var(--ink-3); }
.cal__grid .has { background-size: cover; background-position: center; color: var(--paper); text-shadow: 0 1px 2px rgba(0,0,0,0.6); font-weight: 700; }
.cal__day { margin-top: auto; padding: 0.75rem; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); }
.cal__day .card__meta { color: var(--ember); }
.cal__daytitle { font-family: Newsreader, Georgia, serif; font-size: 1.125rem; line-height: 1.5rem; margin-top: 0.25rem; }

/* Benefits */
.benefits { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 40rem) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit { padding: 1.5rem; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); }
.benefit i { font-size: 1.75rem; color: var(--ember); }
.benefit h3 { font-size: 1.25rem; line-height: 1.75rem; margin-top: 1rem; }
.benefit p { margin-top: 0.5rem; color: var(--ink-2); }

/* Image band */
.band { overflow: hidden; background: var(--night); padding-block: 1rem; }
.band__track { display: flex; gap: 1rem; width: max-content; animation: slide 60s linear infinite; }
.band__track img { height: 14rem; width: auto; border-radius: var(--r-lg); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band__track { animation: none; } .hero__scroll { animation: none; } }

/* FAQ */
.faq { margin-top: 3rem; display: grid; gap: 0.75rem; }
.faq details { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 0 1.5rem; }
.faq summary { cursor: pointer; list-style: none; padding-block: 1rem; font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--ink-3); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 1.5rem; color: var(--ink-2); }

/* Final */
.final { position: relative; padding-block: 8rem; color: var(--night-ink); overflow: hidden; }
.final__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.final__scrim { position: absolute; inset: 0; background: rgba(23,21,18,0.62); }
.final__inner { position: relative; text-align: center; }
.final .h2 { margin-inline: auto; }

/* Footer */
.footer { background: var(--night-2); color: var(--night-ink-2); padding-block: 3rem; }
.footer__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 48rem) { .footer__inner { grid-template-columns: auto 1fr auto; } }
.footer__brand { display: flex; align-items: center; gap: 0.5rem; color: var(--night-ink); text-decoration: none; font-weight: 600; }
.footer__brand img { border-radius: 0.375rem; }
.footer nav { display: flex; gap: 1.5rem; font-size: 0.875rem; }
.footer nav a { text-decoration: none; opacity: 0.8; }
.footer nav a:hover { opacity: 1; }
.footer__note { font-size: 0.75rem; line-height: 1rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(4rem); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } }
