/* Aerowatch — site styles
   Palette: Kōwhai. To switch palette, change the values in :root only. */

:root {
  --ground:  #FFF8E0;  /* page background */
  --surface: #FFE99A;  /* alternate sections, cards */
  --ink:     #2B2100;  /* headings, dark section */
  --body:    #4A3B10;  /* body text */
  --muted:   #5C4D24;  /* small print */
  --line:    #F0CF5A;  /* dividers */
  --brand:   #8A4B00;  /* booking section, step numbers */
  --accent:  #FF9F1C;  /* buttons, circles */

  --on-dark:       #FFFFFF;
  --on-dark-soft:  #D3DEE6;
  --on-dark-faint: #A9BBC8;
  --on-brand-soft: #E3EFEE;
  --focus:         #2C6E6A;

  --max: 1240px;
  --gutter: 24px;
  --radius: 6px;
  --font: "Archivo", system-ui, sans-serif;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
}

h1, h2, h3 { margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.muted { color: var(--muted); }
.small { font-size: 0.95rem; }

/* Headings */
h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.02;
  font-weight: 780;
  font-stretch: 112%;
  letter-spacing: -0.025em;
  max-width: 13ch;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}
.btn--sm { min-height: 44px; padding: 11px 18px; font-weight: 600; }
.btn--lg { min-height: 52px; padding: 16px 26px; font-size: 1.1rem; }

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { color: var(--ink); filter: brightness(1.05); }

.btn--outline { border: 2px solid var(--ink); color: var(--ink); }
.btn--outline.btn--sm { padding: 9px 18px; }

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-tile { fill: var(--ink); }
.brand-line { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.brand-line--accent { stroke: var(--accent); }
.brand-line--soft { stroke: #9FC6C2; }
.brand-name {
  font-weight: 750;
  font-stretch: 118%;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 0.98rem;
}
.site-nav a { text-decoration: none; }

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 72px;
}
/* On a 1080p screen, header + hero fill the first view exactly */
@media (min-width: 960px) {
  .hero { min-height: 867px; }
}

.hero-copy { flex: 1 1 460px; min-width: 0; }
.lede {
  font-size: 1.2rem;
  max-width: 34em;
  color: var(--body);
  margin-bottom: 32px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-media { flex: 1 1 480px; min-width: 0; margin: 0; }
.hero-media img { border-radius: 10px; width: 100%; }

.photo-placeholder {
  aspect-ratio: 560 / 470;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 2px dashed #9AA8A4;
  border-radius: 10px;
}

/* Full-width bands */
.band--ink     { background: var(--ink); color: var(--on-dark); }
.band--surface { background: var(--surface); }
.band--brand   { background: var(--brand); color: var(--on-dark); }

.band--ink a, .band--brand a { color: inherit; }
.band--ink .btn--accent, .band--brand .btn--accent { color: var(--ink); }

/* Two-column split */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
  padding-block: 80px;
}
.split--top { align-items: flex-start; padding-block: 88px; }
.split-copy { flex: 1 1 380px; min-width: 0; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { max-width: 32em; color: var(--body); }
.split-copy p + p { margin-top: 16px; }
.band--ink .split-copy p { color: var(--on-dark-soft); }

/* Example alert */
.alert-example { flex: 1 1 440px; min-width: 0; margin: 0; }
.alert-card {
  max-width: 520px;
  padding: 26px 28px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}
.alert-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.alert-title {
  margin: 18px 0 6px;
  font-size: 1.35rem;
  font-weight: 750;
  font-stretch: 108%;
}
.alert-time { margin-bottom: 20px; color: var(--body); }
.alert-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0;
  font-size: 0.95rem;
}
.alert-fields dt { color: var(--muted); }
.alert-fields dd { margin: 0; font-weight: 600; }
.alert-example figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--on-dark-faint);
}

/* Standard sections */
.section { padding-block: 96px; }
.section-pad { padding-block: 88px; }
.section h2 { margin-bottom: 14px; }
.narrow { max-width: 20ch; }
.intro { max-width: 36em; color: var(--body); margin-bottom: 48px; }

/* How it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 48px;
}
.steps li { border-top: 3px solid var(--ink); padding-top: 20px; }
.step-num {
  display: block;
  margin-bottom: 14px;
  font-size: 2.6rem;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  color: var(--brand);
}
.steps h3 { font-size: 1.3rem; font-stretch: 108%; margin-bottom: 10px; }
.steps p { color: var(--body); }

/* Installation */
.install-steps {
  flex: 1.4 1 480px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.install-steps li {
  display: flex;
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.install-steps li:last-child { border-bottom: 0; }
.install-steps h3 { margin-bottom: 6px; }
.install-steps p { color: var(--body); }
.dot {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--accent);
  color: var(--ink);
}

/* Your data */
/* Five facts: one row on wide screens. Narrower, the first ("Kept in New
   Zealand") becomes a full-width lead and the other four sit in an even grid,
   so no card is ever left alone on a row. */
.facts {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 3px solid var(--ink);
}
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:first-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1180px) {
  .facts { grid-template-columns: repeat(5, 1fr); }
  .facts > div:first-child { grid-column: auto; }
}
.facts > div {
  padding: 24px 28px 24px 0;
  border-bottom: 1px solid var(--line);
}
.facts h3 { margin-bottom: 8px; }
.facts p { color: var(--body); }

/* Questions */
#faq h2 { margin-bottom: 32px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 20px;
}
.faq {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ground);
}
.faq h3 { margin-bottom: 10px; }
.faq p { color: var(--body); }

/* Booking */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-block: 88px;
}
.cta-copy { flex: 1 1 480px; min-width: 0; }
.cta-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 780;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 14px;
}
.cta-copy p { max-width: 32em; color: var(--on-brand-soft); }
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--on-brand-soft);
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 32px;
  padding-bottom: 48px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Small screens */
@media (max-width: 600px) {
  .hero { padding-top: 24px; gap: 32px; }
  .section, .section-pad { padding-block: 64px; }
  .split, .split--top, .cta { padding-block: 64px; }
  .alert-fields { grid-template-columns: 1fr; }
  .site-nav { gap: 8px 20px; }
}
