/* Base reset */
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }

/* Layout: full-bleed photo hero, editorial intro, photo-led tour cards, deep-ocean feature bands.
   Palette taken from the island: Indian Ocean turquoise, sunset coral, saffron spice, hibiscus, palm green. */
:root {
  color-scheme: light;
  --sand: #fff8ec;          /* coral sand */
  --sand-2: #fbeedb;
  --white: #ffffff;
  --ink: #0b2a3c;           /* deep ocean at dusk */
  --ink-soft: #4a6170;
  --lagoon: #00a6a6;        /* Nungwi turquoise */
  --lagoon-deep: #007c89;
  --coral: #ff5a36;         /* sunset coral */
  --saffron: #ffb400;       /* spice market saffron */
  --hibiscus: #d6246e;      /* hibiscus flower */
  --palm: #138a5a;          /* palm green */
  --line: #ecdcc4;

  --display: "DM Serif Display", "Georgia", serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --step-0: 1.05rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.1rem, 4.6vw, 3.2rem);
  --step-4: clamp(2.8rem, 7.5vw, 5.8rem);
  --radius: 10px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: var(--sand); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; text-wrap: balance; margin: 0; }
h2 em, h1 em { font-style: italic; color: var(--saffron); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--coral); }
.swahili { font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--white); box-shadow: 0 0 0 2px var(--lagoon); }
.logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); }
.brand-name { font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--body); font-size: .66rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--lagoon-deep); }
.nav { display: flex; gap: 26px; align-items: center; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--coral); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 .86rem var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 15px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: #e8441f; }
.btn-lagoon { background: var(--lagoon); color: var(--white); }
.btn-saffron { background: var(--saffron); color: var(--ink); }
.btn-ghost { border-color: var(--white); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.nav .btn { padding: 10px 18px; font-size: .76rem; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .brand-name small { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,42,60,.15) 0%, rgba(11,42,60,.25) 45%, rgba(11,42,60,.82) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 120px 64px; display: grid; gap: 22px; }
.hero h1 { font-size: var(--step-4); max-width: 13ch; letter-spacing: -.01em; }
.hero-copy { font-size: 1.2rem; max-width: 50ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
.hero-meta span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); margin-right: 9px; vertical-align: 1px; }

/* ---------- Intro ---------- */
.intro .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: clamp(56px, 8vw, 100px); }
.intro-photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); overflow: hidden; position: relative; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-badge { position: absolute; left: 16px; bottom: 16px; background: var(--white); border-radius: 999px; padding: 8px 16px; font-size: .82rem; font-weight: 800; }
.intro-badge b { color: var(--hibiscus); }
.intro-text { display: grid; gap: 20px; }
.intro-text h2 { font-size: var(--step-3); }
.intro-text h2 em { color: var(--lagoon); }
.intro-text p { color: var(--ink-soft); font-size: 1.1rem; max-width: 56ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 10px; }
.fact { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.fact:nth-child(odd) { padding-right: 16px; }
.fact b { font-family: var(--display); font-weight: 400; font-size: var(--step-1); color: var(--ink); }
.fact span { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 860px) { .intro .wrap { grid-template-columns: 1fr; } .intro-photo { aspect-ratio: 16 / 11; } }

/* ---------- Tours ---------- */
.tours { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chip { font: 800 .76rem var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .15s ease; }
.chip:hover { border-color: var(--lagoon); }
.chip[aria-pressed="true"] { background: var(--lagoon); color: var(--white); border-color: var(--lagoon); }
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 40px 28px; }
.tour { display: flex; flex-direction: column; min-width: 0; }
.tour-img { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); }
.tour-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tour:hover .tour-img img { transform: scale(1.05); }
.tag { position: absolute; left: 14px; top: 14px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--white); padding: 6px 12px; border-radius: 999px; }
.tag-sea { background: var(--lagoon-deep); }
.tag-land { background: var(--palm); }
.tag-culture { background: var(--hibiscus); }
.tour-body { padding: 20px 2px 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.tour-place { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); }
.tour h3 { font-size: 1.75rem; }
.tour-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; font-weight: 700; color: var(--ink-soft); }
.tour-meta span::before { content: "•"; color: var(--saffron); margin-right: 8px; }
.tour-meta span:first-child::before { content: none; }
.tour-body > p { color: var(--ink-soft); font-size: .98rem; }
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px 0; margin-top: 16px; border-top: 1px solid var(--line); }
.tour-foot small { font-size: .84rem; color: var(--ink-soft); font-weight: 600; }
.link-btn { font: 800 .76rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--lagoon-deep); background: none; border: 0; cursor: pointer; padding: 6px 0; border-bottom: 2px solid var(--saffron); }
.link-btn:hover { color: var(--coral); }

/* ---------- Why ---------- */
.why { background: var(--ink); color: var(--sand); }
.why .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.why-photo { aspect-ratio: 3 / 4; max-width: 100%; border-radius: var(--radius); overflow: hidden; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why .section-head { margin-bottom: 32px; }
.why .section-head p { color: rgba(255, 248, 236, .75); }
.why .eyebrow { color: var(--saffron); }
.why-list { display: grid; gap: 28px; }
.why-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 248, 236, .15); }
.why-item:last-child { border-bottom: 0; padding-bottom: 0; }
.why-dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.why-item:nth-child(1) .why-dot { background: var(--saffron); }
.why-item:nth-child(2) .why-dot { background: var(--lagoon); color: var(--white); }
.why-item:nth-child(3) .why-dot { background: var(--coral); color: var(--white); }
.why-item h3 { font-size: var(--step-2); margin-top: 4px; }
.why-item p { color: rgba(255, 248, 236, .78); margin-top: 6px; }
@media (max-width: 860px) { .why .wrap { grid-template-columns: 1fr; } .why-photo { aspect-ratio: 16 / 10; } }

/* ---------- Seasons ---------- */
.months-scroll { overflow-x: auto; padding-bottom: 8px; }
.months { display: grid; grid-template-columns: repeat(12, minmax(66px, 1fr)); gap: 6px; min-width: 800px; }
.month { border-radius: 8px; padding: 18px 10px 14px; display: grid; gap: 36px; font-size: .82rem; }
.month b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.month span { font-size: .74rem; font-weight: 700; line-height: 1.25; }
.m-dry { background: var(--lagoon); color: var(--white); }
.m-hot { background: var(--saffron); color: var(--ink); }
.m-rain { background: var(--sand-2); color: var(--ink-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: .95rem; color: var(--ink-soft); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -2px; }

/* ---------- Instagram ---------- */
.insta { position: relative; color: var(--white); overflow: hidden; }
.insta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.insta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(214,36,110,.88) 0%, rgba(255,90,54,.7) 55%, rgba(255,90,54,.25) 100%); }
.insta .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.insta .logo { width: 96px; height: 96px; box-shadow: 0 0 0 4px var(--white); }
.insta h2 { font-size: var(--step-3); }
.insta p { opacity: .92; margin-top: 8px; max-width: 46ch; }
@media (max-width: 760px) { .insta .wrap { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- Enquiry ---------- */
.enquire-card { background: var(--white); border-radius: 18px; padding: clamp(24px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; box-shadow: 0 30px 70px -45px rgba(11, 42, 60, .5); }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
input, select, textarea { font: 500 1rem var(--body); padding: 13px 16px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--sand); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--lagoon); outline: none; box-shadow: 0 0 0 3px rgba(0, 166, 166, .18); }
textarea { min-height: 110px; resize: vertical; }
.form-error { grid-column: 1 / -1; color: #c0392b; font-size: .95rem; font-weight: 600; }
.contact { display: grid; gap: 20px; align-content: start; background: var(--ink); color: var(--sand); border-radius: 14px; padding: 30px; }
.contact h3 { font-size: var(--step-2); }
.contact-item { display: grid; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 248, 236, .15); }
.contact-item:last-child { border-bottom: 0; }
.contact-item small { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron); }
.contact-item span { font-size: 1.15rem; user-select: all; }
.contact-item a { color: var(--white); font-weight: 600; }
.confirm { grid-column: 1 / -1; background: var(--sand); border-left: 4px solid var(--lagoon); border-radius: 10px; padding: 22px; display: grid; gap: 14px; }
.confirm h3 { font-size: var(--step-2); }
.confirm pre { margin: 0; white-space: pre-wrap; font-family: var(--body); font-size: .98rem; line-height: 1.6; }
.confirm .row { display: flex; flex-wrap: wrap; gap: 10px; }
.confirm-note { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .enquire-card { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--sand); padding-block: 44px; font-size: .92rem; border-top: 6px solid; border-image: linear-gradient(90deg, var(--lagoon), var(--saffron), var(--coral), var(--hibiscus)) 1; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer .brand-name small { color: var(--saffron); }
footer .credit { opacity: .6; font-size: .8rem; }
