/* Eori Island — luxury eco lodge */
:root {
  --cream: #f6f1e8;
  --cream-deep: #ede6d9;
  --sand: #e2d8c8;
  --ink: #1c1b19;
  --ink-soft: #2e2c28;
  --muted: #6a675f;
  --muted-light: #9a958a;
  --teal: #3f6f6a;
  --teal-soft: #5a8a84;
  --line: rgba(28, 27, 25, 0.12);
  --line-strong: rgba(28, 27, 25, 0.22);
  --white: #fffcf7;
  --shadow: 0 24px 60px rgba(28, 27, 25, 0.12);
  --nav-h: 4.25rem;
  --max: 72rem;
  --narrow: 40rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
p { margin: 0 0 1.15em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; color: var(--muted); max-width: 36rem; }

/* Micro labels */
.label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.label--light { color: rgba(255, 252, 247, 0.78); }

/* Layout */
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--narrow)); }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--sand { background: var(--cream-deep); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink p { color: rgba(246, 241, 232, 0.78); }
.grid-2 {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2--flip > :first-child { order: 2; }
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}
.logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.logo span { font-weight: 400; opacity: 0.55; font-size: 0.85em; margin-left: 0.35em; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--sans); font-size: 0.62rem; vertical-align: middle; }
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem 1.35rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  display: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--cream); }
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-block; }
  .nav-toggle { display: none; }
}

.nav-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 1.25rem 0 1.75rem;
}
.nav-drawer.is-open { display: block; }
.nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.nav-drawer a:hover { color: var(--teal); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-soft); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(246,241,232,0.55); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 56rem);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero--short { min-height: min(62vh, 36rem); }
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,27,25,0.22) 0%, rgba(28,27,25,0.2) 38%, rgba(28,27,25,0.82) 100%);
}
.hero h1,
.hero .lead,
.hero .label--light {
  text-shadow: 0 1px 18px rgba(0,0,0,0.35);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
}
.hero h1 { color: var(--cream); max-width: 14ch; }
.hero .lead { color: rgba(246, 241, 232, 0.82); }
.photo-credit {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,252,247,0.55);
}
.photo-credit--inline {
  position: static;
  display: block;
  margin-top: 0.65rem;
  color: var(--muted-light);
}

/* Figure / photo blocks */
.figure { margin: 0; position: relative; }
.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}
.figure--tall img { aspect-ratio: 3 / 4; }
.figure--wide img { aspect-ratio: 16 / 9; }
.figure--bleed {
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}
.figure--bleed img { aspect-ratio: 21 / 9; min-height: 16rem; }
.figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted-light);
}

/* Cards / features */
.features {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .features { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.feature {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line-strong);
}
.feature h3 { margin-bottom: 0.5rem; }
.feature p { font-size: 0.98rem; }

.card-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (min-width: 1000px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--dense { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
@media (min-width: 700px) and (max-width: 999px) {
  .card-grid--dense { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
}
.card-grid--dense .card__body { padding: 1.25rem 1.25rem 1.4rem; }
.card-grid--dense .card__body h3 { font-size: 1.35rem; }
.card-grid--dense .card__body p { font-size: 0.92rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.card__body { padding: 1.5rem 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: 0.45rem; }
.card__body p { flex: 1; font-size: 0.98rem; }

/* Quote / pull */
.pull {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 22ch;
  margin: 0;
}
.pull cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Stats strip */
.stats {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Split list */
.detail-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.detail-list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.detail-list li:last-child { border-bottom: 1px solid var(--line); }
.detail-list dt,
.detail-list .k {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
}

/* Forms */
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; gap: 1.15rem; }
@media (min-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--teal); }
.field textarea { min-height: 9rem; resize: vertical; }
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.phone-block {
  margin: 2rem 0;
  padding: 1.75rem;
  background: var(--cream-deep);
  border-left: 3px solid var(--teal);
}
.phone-block a {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ink);
}
.phone-block p { margin-top: 0.5rem; font-size: 0.95rem; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(4rem, 9vw, 6.5rem) 1.25rem;
  background: var(--ink);
  color: var(--cream);
}
.cta-band h2 { color: var(--cream); max-width: 16ch; margin-inline: auto; }
.cta-band p { color: rgba(246,241,232,0.75); max-width: 32rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.footer-meta { font-size: 0.92rem; color: var(--muted); max-width: 22rem; }
.footer-meta a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted-light);
  letter-spacing: 0.04em;
}

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.stack > * + * { margin-top: 1rem; }
.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: clamp(2rem, 5vw, 3.5rem) 0;
}

/* Page intro (non-hero) */
.page-intro { padding: clamp(3rem, 7vw, 5rem) 0 0; }
.page-intro h1 { max-width: 14ch; }

/* Accessible focus */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}


/* Home hero: photo full-bleed, copy in band below (readable, clear of bright sand) */
.hero--below {
  display: block;
  min-height: 0;
  align-items: stretch;
}
.hero--below .hero__media {
  position: relative;
  inset: auto;
  height: min(78vh, 46rem);
}
.hero--below .hero__media img {
  object-position: center 42%;
}
.hero--below .hero__media::after {
  background: linear-gradient(180deg, rgba(28,27,25,0.08) 0%, rgba(28,27,25,0.05) 70%, rgba(28,27,25,0.45) 100%);
}
.hero--below .hero__content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2.75rem, 6vw, 4.5rem) 1.25rem;
  background: var(--ink);
  box-sizing: border-box;
}
.hero--below .hero__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}
.hero--below h1,
.hero--below .lead,
.hero--below .label--light {
  text-shadow: none;
}
.hero--below .lead {
  max-width: 42rem;
  color: rgba(246, 241, 232, 0.9);
}
@media (max-width: 720px) {
  .hero--below .hero__media { height: min(58vh, 28rem); }
}
