/* ============================================================
   Blue Haven Hawaii — shared stylesheet
   Palette: ocean-deep navy, lagoon teal, warm sand, off-white
   ============================================================ */

:root {
  --ink: #14232e;          /* deep ocean navy — body text */
  --ink-soft: #3d5261;     /* softened navy */
  --haven: #1d5d6b;        /* lagoon teal — brand accent */
  --haven-deep: #123c46;   /* darker teal for hovers/footer */
  --sand: #f5f0e8;         /* warm sand — section background */
  --shell: #fdfbf7;        /* off-white — page background */
  --gold: #b98a4e;         /* muted koa gold — small accents */
  --line: #e3dccf;         /* hairline borders */
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--shell);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }

p + p { margin-top: 1em; }

a { color: var(--haven); text-decoration: none; }
a:hover { color: var(--haven-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }

/* ---------- eyebrow / small caps label ---------- */
.eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1rem;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 72px;
}

.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}
.logo span { color: var(--haven); font-style: italic; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--haven); }

.nav-cta {
  border: 1px solid var(--haven);
  padding: 9px 20px;
  border-radius: 2px;
  color: var(--haven);
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--haven); color: #fff !important; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--shell);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(18, 60, 70, 0.82) 0%, rgba(20, 35, 46, 0.55) 55%, rgba(29, 93, 107, 0.75) 100%),
    radial-gradient(ellipse at 70% 20%, #2e7d8c 0%, #1d5d6b 40%, #14232e 100%);
}
.hero .hero-bg.img {
  background-size: cover !important;
  background-position: center;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .eyebrow { color: #d9c9a8; }
.hero p.lede {
  max-width: 52ch;
  margin-top: 1.4rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
}
.photo-note {
  position: absolute;
  bottom: 14px; right: 18px;
  z-index: 3;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.btn-solid { background: var(--haven); color: #fff; }
.btn-solid:hover { background: var(--haven-deep); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--haven); color: var(--haven); }
.btn-outline:hover { background: var(--haven); color: #fff; }
.btn-row { display: flex; gap: 16px; margin-top: 2.2rem; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.sand { background: var(--sand); }
section.deep { background: var(--haven-deep); color: rgba(255,255,255,0.9); }
section.deep h2, section.deep h3 { color: #fff; }
section.deep .eyebrow { color: #d9c9a8; }

.section-head { max-width: 680px; margin-bottom: 3rem; }

/* ---------- announcement / urgency bar ---------- */
.announce {
  background: var(--haven-deep);
  color: #f0e9dc;
  text-align: center;
  padding: 11px 20px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}
.announce strong { color: #fff; font-weight: 500; }
.announce a { color: #d9c9a8; text-decoration: underline; }

/* ---------- image placeholders ---------- */
.ph {
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.ph-a { background: linear-gradient(150deg, #2e7d8c, #14232e); }
.ph-b { background: linear-gradient(150deg, #c9a97c, #7c5b36); }
.ph-c { background: linear-gradient(150deg, #4a8a80, #1d3b46); }
.ph-d { background: linear-gradient(150deg, #8fb3bd, #33565f); }
.ph-tall { min-height: 460px; }

/* ---------- grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 880px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}

/* ---------- cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 36px 32px;
}
.card h3 { margin-bottom: 0.7rem; }
.card .price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  color: var(--haven);
  margin: 0.8rem 0 0.4rem;
}
.card ul { list-style: none; margin-top: 1.2rem; }
.card ul li {
  padding: 9px 0 9px 26px;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 0.95rem;
}
.card ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.card.featured { border-color: var(--haven); border-width: 2px; }
.badge {
  display: inline-block;
  background: var(--haven);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ---------- location tiles ---------- */
.loc-tile {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.loc-tile .loc-info {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
  background: linear-gradient(transparent, rgba(18, 40, 50, 0.88));
}
.loc-tile h3 { color: #fff; margin-bottom: 0.2rem; }
.loc-tile p { font-size: 0.9rem; color: rgba(255,255,255,0.82); }
.loc-tile .go {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d9c9a8;
}
a.loc-link { display: block; }
a.loc-link:hover .loc-tile { outline: 2px solid var(--haven); }

/* ---------- FAQ ---------- */
.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-soft); max-width: 65ch; }

/* ---------- quote / testimonial ---------- */
.pull-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-style: italic;
  line-height: 1.4;
  max-width: 26ch;
}
.quote-attr {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- stats strip ---------- */
.stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 2.6rem; }
.stat .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  color: var(--haven);
  line-height: 1;
}
.stat .lbl { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
section.deep .stat .num { color: #d9c9a8; }
section.deep .stat .lbl { color: rgba(255,255,255,0.65); }

/* ---------- inquiry form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--haven); border-color: transparent; }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 32px;
  font-size: 0.92rem;
}
footer.site .logo { color: #fff; font-size: 1.35rem; }
footer.site h4 {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d9c9a8;
  margin-bottom: 1rem;
  font-weight: 400;
}
footer.site a { color: rgba(255,255,255,0.72); display: block; padding: 4px 0; }
footer.site a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-base {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- real photos ---------- */
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.photo-frame { border-radius: 3px; overflow: hidden; }
.photo-frame.tall { height: 460px; }
.photo-frame.std { height: 320px; }

/* masonry-ish gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}
.gallery .g-tall { grid-row: span 2; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 3px;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery img:hover { transform: scale(1.02); filter: brightness(1.05); }
@media (max-width: 880px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
}

/* film embeds */
.films { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .films { grid-template-columns: 1fr; } }
.film-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 3px;
  overflow: hidden;
  background: #0d1a21;
}
.film-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
.step .step-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}
.step h3 { margin: 0.6rem 0 0.4rem; font-size: 1.2rem; }
.step p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- breadcrumb ---------- */
.crumb { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.4rem; }
.crumb a { color: var(--haven); }

/* ---------- prose blocks on location pages ---------- */
.prose h2 { margin: 2.6rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.7rem; }
.prose ul { margin: 1em 0 1em 1.2em; }
.prose li { margin: 0.4em 0; }
