/* Monsoon AV — https://monsoonav.com
   Zero-build static styles. No external fonts or assets: everything here is
   self-contained so the site loads fast and works offline during development. */

:root {
  /* Storm palette — deep monsoon sky with warm copper (Arizona's state metal,
     and the color of the light right before a monsoon breaks). */
  --storm-900: #0d1117;
  --storm-850: #12181f;
  --storm-800: #171e27;
  --storm-700: #212a35;
  --storm-600: #2e3946;

  --copper: #c87a41;
  --copper-bright: #e0954d;
  --gold: #d9ab5f;

  --text: #eceae7;
  --text-dim: #a7b0bb;
  /* --text-faint is 4.28:1 on --storm-900, which fails WCAG AA (needs 4.5:1).
     It is therefore reserved for temporary build scaffolding only — the gallery
     placeholders and empty review slots, both of which get deleted before
     launch. Never use it for real copy; use --text-dim (8.62:1) instead. */
  --text-faint: #6f7985;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Warm variants. NOT new colors — these are --copper (#c87a41) and --gold
     (#d9ab5f) at low alpha. They warm borders and lift surfaces off the near-
     black without introducing a hue that is not already in the palette.
     Keep any future additions here derived the same way. */
  --line-warm: rgba(200, 122, 65, 0.30);
  --line-warm-soft: rgba(200, 122, 65, 0.16);
  --wash-copper: rgba(200, 122, 65, 0.07);
  --wash-copper-strong: rgba(200, 122, 65, 0.13);
  --wash-gold: rgba(217, 171, 95, 0.06);

  --font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--storm-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--copper-bright); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Visible focus for keyboard users — venue coordinators tab through forms fast. */
:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--copper);
  color: #10151b;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1rem;
  font-weight: 600;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--primary {
  background: var(--copper);
  color: #10151b;
}
.btn--primary:hover { background: var(--copper-bright); }

.btn--ghost {
  border-color: var(--line-warm);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-bright); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-warm-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Height-constrained so the mark cannot push the 72px header bar taller.
   The image ships at 200px wide for crispness on retina. */
.logo__mark {
  height: 34px;
  width: auto;
  flex: none;
}

.logo__word span { color: var(--copper); }

/* On narrow screens the mark alone carries the brand — the wordmark is the
   first thing to go, since the nav CTA needs the room more. */
@media (max-width: 420px) {
  .logo__word { display: none; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a:not(.btn) {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.18s ease;
}
.nav a:not(.btn):hover { color: var(--text); }

/* Nav links collapse on small screens; the CTA button always stays reachable. */
@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(5rem, 13vw, 9rem) 0 clamp(4rem, 9vw, 6.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* CSS-only storm light. Replace with a real photo once you have one you like —
   see README, .hero__media is already wired up for it. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 78% -10%, rgba(224, 149, 77, 0.20), transparent 55%),
    radial-gradient(90% 70% at 8% 15%, rgba(46, 57, 70, 0.85), transparent 60%),
    linear-gradient(180deg, var(--storm-850), var(--storm-900));
  z-index: -1;
}

.hero__logo {
  width: min(360px, 72vw);
  height: auto;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 54ch;
  margin: 0 0 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Trust bar ---------- */

.trust {
  border-bottom: 1px solid var(--line-warm-soft);
  background:
    radial-gradient(130% 200% at 50% 0%, var(--wash-copper-strong), transparent 68%),
    var(--storm-850);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding-block: 3rem;
}

/* Gold rather than copper here: copper is the call-to-action colour, so keeping
   the stats a distinct warm tone stops them competing with the buttons while
   still reading as part of the same family. */
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin: 0;
}

/* ---------- Generic section ---------- */

.section { padding-block: clamp(4rem, 9vw, 7rem); }

/* Alternating sections get a copper wash rather than a flat dark fill, so the
   page reads as lit from somewhere rather than uniformly black. */
.section--alt {
  background:
    radial-gradient(80% 55% at 88% 0%, var(--wash-copper-strong), transparent 62%),
    radial-gradient(70% 50% at 5% 100%, var(--wash-gold), transparent 60%),
    var(--storm-850);
  border-block: 1px solid var(--line-warm-soft);
}

.section__head {
  max-width: 60ch;
  margin-bottom: 3.5rem;
}

.section__head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section__head p {
  color: var(--text-dim);
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* --storm-700 rather than --storm-800: the cards need to sit clearly above the
   page, not blend into it. Warm border keeps them from looking like grey chips. */
.service {
  background:
    linear-gradient(160deg, var(--wash-copper), transparent 55%),
    var(--storm-700);
  border: 1px solid var(--line-warm-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.service:hover {
  border-color: var(--line-warm);
  transform: translateY(-2px);
}

.service h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.service p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* Placeholder tile — delete this rule once real photos are dropped in. */
.gallery__placeholder {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--text-faint);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--storm-800);
}

/* ---------- Reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review {
  background:
    linear-gradient(120deg, var(--wash-copper), transparent 60%),
    var(--storm-700);
  border: 1px solid var(--line-warm-soft);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.review blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text);
}

.review figcaption {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.review figcaption strong { color: var(--text); font-weight: 600; }

/* Empty review slot — replace the whole .review--empty block with a real quote. */
.review--empty {
  border-left-color: var(--line-strong);
  border-style: dashed;
}
.review--empty blockquote {
  color: var(--text-faint);
  font-style: italic;
}

/* ---------- Contact form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact__aside p {
  color: var(--text-dim);
  margin: 0 0 1.5rem;
}

.contact__detail {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

/* Copper, matching the section eyebrows — these read as labels, and it puts the
   accent colour somewhere it was not before. 5.37:1 on --storm-850, passes AA. */
.contact__detail dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.35rem;
}

.contact__detail dd {
  margin: 0;
  font-size: 1.05rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.field .optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dim);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  /* Lifted off --storm-900 so fields read as inputs against the section, and
     given a warm border so the form belongs to the same palette as the cards. */
  background: var(--storm-800);
  border: 1px solid var(--line-warm-soft);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.18s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-warm); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 122, 65, 0.18);
}

.field textarea { resize: vertical; min-height: 130px; }

/* Honeypot: bots fill this, humans never see it. Checked server-side in
   src/booking.js — a filled value is discarded silently. */
.hp { position: absolute; left: -9999px; opacity: 0; }

/* Cloudflare Turnstile widget sits between the last field and the submit button. */
.cf-turnstile { margin: 0.25rem 0 1.25rem; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 1.25rem 0 0;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-warm);
  background:
    radial-gradient(70% 140% at 12% 0%, var(--wash-copper), transparent 65%),
    var(--storm-850);
  padding-block: 3rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--copper-bright); }

.footer__service-area {
  max-width: 46ch;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 1.5rem 0 0;
}
