/* ============================================================
   Local Zanzibar Tours — home.css
   Homepage, editorial direction (reference-matched).
   Inherits tokens from base.css. Sharp, image-led, asymmetric.
   ============================================================ */

/* ---------- Thin editorial divider ---------- */
.home-rule {
  max-width: 1180px;
  margin: 0 auto;
  height: 1px;
  background: var(--ink);
  opacity: 0.14;
}

/* ============================================================
   HERO — asymmetric split: dark text column + large image,
   with a rust fair-pricing bar bridging beneath.
   ============================================================ */
.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--ink);
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.2fr;
  min-height: clamp(520px, 70vh, 720px);
}
.hero-text {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.4rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-kicker {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.6rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 5.6vw, 4.9rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--saffron);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(243, 239, 234, 0.74);
  max-width: 40ch;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
/* Understated underline secondary action */
.hero-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(243, 239, 234, 0.4);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.hero-link:hover { color: var(--saffron); border-color: var(--saffron); }
.hero-meta {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 234, 0.6);
}
.hero-meta .countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background: rgba(243, 239, 234, 0.08);
  padding: 0.5rem 0.9rem;
}
.hero-meta .countdown-label { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.6rem; font-weight: 700; }
.hero-meta .countdown-num { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--saffron); }
.hero-meta .countdown-unit { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.62rem; font-weight: 700; }
.hero-meta .island-now { margin: 0; min-height: 0; font-family: var(--font-display); font-style: italic; font-size: 0.9rem; color: rgba(243,239,234,0.7); }
.hero-meta .island-now::before { background: var(--rust); }
.hero-meta .island-now em { color: var(--saffron); font-style: italic; }
.hero-meta .island-now .t { color: var(--saffron); }

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Rust fair-pricing bar — real model, no invented figures */
.fair-bar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--rust);
  color: var(--paper);
  position: relative;
  z-index: 1;
}
.fair-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2.4rem;
}
.fair-bar .fair-label {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(243, 239, 234, 0.85);
}
.fair-steps {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
}
.fair-step { line-height: 1.25; }
.fair-step .k {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 239, 234, 0.7);
  margin-bottom: 0.2rem;
}
.fair-step .v {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--paper);
}
.fair-step .v em { font-style: italic; color: var(--saffron); }
.fair-bar .fair-link {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(243, 239, 234, 0.5);
  padding-bottom: 0.25rem;
  transition: border-color 0.25s ease;
}
.fair-bar .fair-link:hover { border-color: var(--paper); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 300px; order: -1; }
  .fair-bar-inner { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================================
   Manifest
   ============================================================ */
.philosophy {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.manifest {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.manifest em { font-style: italic; color: var(--teal); font-weight: 500; }
.manifest .ink { color: var(--rust); font-style: italic; }

/* ============================================================
   GUIDE — portrait + personal intro + fair note
   ============================================================ */
.guide {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--sand);
  border-top: 1px solid rgba(15,17,19,0.12);
  border-bottom: 1px solid rgba(15,17,19,0.12);
  position: relative;
  z-index: 1;
}
.guide-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}
.guide-media { position: relative; min-height: 420px; overflow: hidden; }
.guide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.guide-body {
  padding: clamp(2.4rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-body .section-label { margin-bottom: 1.6rem; }
.guide-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.guide-role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: 1.4rem;
}
.guide-body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 1.6rem;
}
.guide-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
@media (max-width: 820px) {
  .guide-inner { grid-template-columns: 1fr; }
  .guide-media { min-height: 320px; }
}

/* ============================================================
   DISCOVER — deep-teal destination section, full-bleed island
   backdrop with the text overlaid on the open water to its left.
   ============================================================ */
.discover {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--deep-teal);
  color: var(--paper);
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: clamp(560px, 62vw, 760px);
  display: flex;
  align-items: center;
}
.discover-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(1rem, 5vw, 5rem);
  pointer-events: none;
}
.discover-map svg {
  height: min(88%, 620px);
  width: auto;
  max-width: none;
  display: block;
  pointer-events: auto;
}
.discover-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) 2rem;
}
.discover .section-label { color: rgba(243,239,234,0.6); }
.discover .section-label .line { background: var(--paper); opacity: 0.25; }
.discover-text { max-width: 440px; }
.discover-text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.06;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.discover-text h2 em { font-style: italic; color: var(--saffron); }
.discover-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(243,239,234,0.78);
  margin-bottom: 1.1rem;
  max-width: 42ch;
}
.discover-text .hint {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--tan);
  font-size: 1rem;
}
.discover-map .island { fill: rgba(243,239,234,0.06); stroke: var(--tan); stroke-width: 1.5; stroke-linejoin: round; }
.discover-map .islet { fill: rgba(243,239,234,0.06); stroke: var(--tan); stroke-width: 1.2; }
.discover-map .marker circle { fill: var(--saffron); stroke: var(--deep-teal); stroke-width: 1.6; transition: r 0.2s var(--ease-out-strong), fill 0.2s ease; }
.discover-map .marker text { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; fill: var(--paper); transition: fill 0.2s ease; }
.discover-map a.marker { cursor: pointer; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .discover-map a.marker:hover circle { fill: var(--rust); r: 7; }
  .discover-map a.marker:hover text { fill: var(--saffron); }
}
.discover-map .place-decor circle { fill: rgba(243,239,234,0.5); }
.discover-map .place-decor text { font-family: var(--font-display); font-style: italic; font-size: 11px; fill: rgba(243,239,234,0.6); }
.discover-map .sea-label { font-family: var(--font-display); font-style: italic; font-size: 12px; fill: var(--tan); opacity: 0.8; }
@media (max-width: 820px) {
  .discover { display: block; min-height: 0; padding-top: clamp(2.5rem, 6vw, 4rem); }
  .discover-map { position: relative; inset: auto; justify-content: center; padding: 0 1rem 2rem; opacity: 0.55; }
  .discover-map svg { height: auto; width: 100%; max-width: 340px; }
  .discover-inner { padding: 0 2rem clamp(3rem, 7vw, 4.5rem); }
  .discover-text { max-width: none; }
}

/* ============================================================
   TOURS — editorial index
   ============================================================ */
.tours-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.tours-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.tours-intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--ink);
  line-height: 1.25;
  max-width: 30ch;
}
.tours-intro em { font-style: normal; color: var(--rust); }
.tours-footnote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  text-align: center;
  margin: 2.6rem auto 0;
  max-width: 560px;
}
.tours-footnote strong { font-weight: 600; color: var(--ink); font-style: normal; }
.tours-cta { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 700px) {
  .tours-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ============================================================
   CLOSING — deep-teal call to action + email capture
   ============================================================ */
.closing {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--deep-teal);
  color: var(--paper);
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  z-index: 1;
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.04;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.closing h2 em { font-style: italic; color: var(--saffron); }
.closing p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(243,239,234,0.78);
  max-width: 52ch;
  margin: 0 auto 2.2rem;
}
.closing .btn-rust { margin-bottom: 2.8rem; }

/* Email capture, sharp inline strip (keeps #signupForm JS) */
.signup-wrap { max-width: 520px; margin: 0 auto; }
.signup-eyebrow {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.9rem;
}
.closing .signup-form {
  display: flex;
  gap: 0;
  background: transparent;
  border: 1px solid rgba(243,239,234,0.4);
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.closing .signup-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.95rem 1.1rem;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.closing .signup-form input::placeholder { color: rgba(243,239,234,0.5); }
.closing .signup-form button {
  background: var(--rust);
  color: var(--paper);
  border: none;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.25s ease;
}
.closing .signup-form button:hover { background: var(--rust-deep); }
.follow-cta {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(243,239,234,0.7);
}
.follow-cta a { color: var(--saffron); text-decoration: none; border-bottom: 1px solid currentColor; }
.signup-success {
  display: none;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--saffron);
}
.signup-success.visible { display: block; }
@media (max-width: 460px) {
  .closing .signup-form { flex-direction: column; }
}
