/* Noah's Aerials — minimal. Syncopate for the wordmark and headings, Instrument Sans for everything else. */
:root {
  --ground: #F3F5F2;
  --ink: #1E2422;
  --muted: #5B6661;
  --line: #D3DAD5;
  --accent: #2F5D46;
  --wide: "Syncopate", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 15px/1.65 var(--text);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img, video { max-width: 100%; }

h1, h2 { font-family: var(--wide); font-weight: 700; letter-spacing: 0.04em; margin: 0; }
h1 { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.35; }
h2 { font-size: 12px; letter-spacing: 0.14em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Header */
.site-header {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(28px + env(safe-area-inset-top, 0px)) clamp(20px, 5vw, 64px) 28px;
}
.wordmark {
  font-family: var(--wide); font-weight: 700; font-size: 12px;
  letter-spacing: 0.22em; text-decoration: none;
}
/* Logo artwork is light on transparent, so it needs a dark backdrop */
.logo { display: block; line-height: 0; }
.logo img { height: 84px; width: auto; display: block; }
.site-header:has(.logo) { padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-bottom: 16px; }
body:not(.is-home) .site-header { background: #0B0C0C; color: #F2F5F3; }
body:not(.is-home) .site-nav a:hover { color: #E0BE78; }
.site-nav { display: flex; gap: 28px; font-size: 14px; }
.site-nav a { text-decoration: none; }
.site-nav { margin-left: auto; align-items: center; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
/* Booking is the one action that matters, so it gets a button */
.site-nav a.nav-cta {
  padding: 9px 18px; border: 1px solid rgba(224,190,120,0.75); border-radius: 999px;
  color: #F2F5F3; background: rgba(10,14,13,0.25); text-decoration: none;
  transition: background 200ms, border-color 200ms, color 200ms;
}
.site-nav a.nav-cta:hover { background: #E0BE78; border-color: #E0BE78; color: #0B0C0C; text-shadow: none; }
.site-nav a.nav-cta[aria-current="page"] { background: #E0BE78; border-color: #E0BE78; color: #0B0C0C; text-shadow: none; }

/* Home: the montage is the whole page */
.is-home { background: #1E2422; color: #F2F5F3; }
.is-home .site-header {
  position: fixed; inset: 0 0 auto 0; padding-bottom: 56px;
  background: linear-gradient(to bottom, rgba(10,14,13,0.6), rgba(10,14,13,0.25) 60%, rgba(10,14,13,0));
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.is-home a:hover { color: #BFD9E6; }
.montage { position: fixed; inset: 0; overflow: hidden; }
.montage__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 900ms ease;
  display: flex; align-items: center; justify-content: center;
}
.montage__slide.is-active { opacity: 1; }
.montage__slide video { width: 100%; height: 100%; object-fit: cover; }
/* Darken the bottom so the tagline and caption stay readable over bright footage */
.montage::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10,14,13,0.65), rgba(10,14,13,0.25) 55%, rgba(10,14,13,0));
}
.montage__placeholder { font-size: 12px; letter-spacing: 0.08em; color: rgba(242,245,243,0.55); }
.montage__meta {
  position: absolute; left: clamp(20px, 5vw, 64px); right: clamp(20px, 5vw, 64px);
  bottom: calc(40px + env(safe-area-inset-bottom, 0px)); z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; gap: 14px;
}
.montage__logo {
  width: clamp(280px, 38vw, 520px); height: auto; margin: 0 0 4px -1%;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.45));
}
.is-home .site-header .logo { display: none; }  /* the big logo sits over the video instead */
.montage__tagline { font-size: 15px; max-width: 48ch; }
.montage__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.montage__caption { font-size: 13px; color: rgba(242,245,243,0.75); max-width: 60ch; }
.montage__controls { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.montage__arrow {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid rgba(242,245,243,0.35); border-radius: 50%;
  background: rgba(10,14,13,0.25); color: #F2F5F3; transition: background 200ms, border-color 200ms;
}
.montage__arrow:hover { background: rgba(10,14,13,0.5); border-color: #F2F5F3; }
.montage__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.montage__progress { display: flex; gap: 6px; width: 180px; }
/* Each bar is a button with a tall invisible hit area around the thin line */
.montage__progress button { flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.montage__progress span { flex: 1; height: 2px; background: rgba(242,245,243,0.3); transition: background 300ms, height 150ms; }
.montage__progress button:hover span { height: 4px; }
.montage__progress button.is-on span { background: #F2F5F3; }
.montage :focus-visible { outline-color: #F2F5F3; }

/* Inner pages */
.page { max-width: 1040px; margin: 0 auto; padding: 48px clamp(20px, 5vw, 64px) 96px; }
.page--narrow { max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.page-head { display: flex; flex-direction: column; gap: 12px; max-width: 52ch; margin-bottom: 56px; }

.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; margin-bottom: 80px; }
.intro__text { display: flex; flex-direction: column; gap: 16px; max-width: 54ch; }
.intro__text h1 { margin-bottom: 8px; }
.photo-slot {
  aspect-ratio: 4 / 5; background: #E2E8E4; display: flex; align-items: flex-end;
  padding: 16px; font-size: 13px; color: var(--muted);
}
.photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.photo figcaption { font-size: 13px; color: var(--muted); }

.block { margin-bottom: 64px; }
.block h2 { margin-bottom: 20px; }
.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 500; }
.rows dd { margin: 0; color: var(--muted); max-width: 60ch; }

.button {
  display: inline-block; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--ground); font: 500 14px var(--text); text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--accent); border-color: var(--accent); color: var(--ground); }
.button--full { width: 100%; min-height: 48px; }
.cta-line { margin-top: 8px; }

/* Booking */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.booking__main { display: flex; flex-direction: column; gap: 56px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 16px; }

.package { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.package__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.package__head h2 { font-size: 14px; }
.package__price { font-family: var(--wide); font-weight: 700; font-size: 18px; }
.package__list { margin: 0; padding: 0; list-style: none; }
.package__list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

.addon {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 0;
  border-bottom: 1px solid var(--line); cursor: pointer;
}
.addon:first-of-type { border-top: 1px solid var(--line); }
.addon input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin: 0; }
.addon__text { flex: 1; display: flex; flex-direction: column; line-height: 1.4; }
.addon__price { font-variant-numeric: tabular-nums; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  font: 400 15px var(--text); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid #8A958F; border-radius: 0; padding: 10px 0; min-height: 44px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.error { color: #9B2C1F; font-size: 13px; }

.estimate { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 20px; }
.estimate h2 { margin-bottom: 4px; }
.estimate__row, .estimate__total { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.estimate__total { padding: 12px 0 8px; border-top: 1px solid var(--line); align-items: baseline; }
.estimate__total span:last-child { font-family: var(--wide); font-weight: 700; font-size: 20px; }

.site-footer {
  display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted);
  padding: 32px clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); flex-wrap: wrap;
}
.site-footer__contact { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 800px) {
  .intro, .booking { grid-template-columns: 1fr; gap: 40px; }
  .rows > div { grid-template-columns: 1fr; gap: 4px; }
  .fields { grid-template-columns: 1fr; }
  .estimate { position: static; }
  .montage__row { flex-direction: column; align-items: flex-start; }
  .montage__progress { flex-basis: auto; width: 140px; }
  .logo img { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .montage__slide { transition: none; }
}
