/* Naiana public site — navy / gold / cream (logo palette) */
:root {
  --navy: #00234b;
  --navy-deep: #00152d;
  --gold: #c4a35a;
  --gold-deep: #a67c00;
  --cream: #f7f3ea;
  --cream-soft: #fffdf8;
  --ink: #1a2433;
  --muted: #5a6575;
  --line: rgba(196, 163, 90, 0.45);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 5rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream-soft);
  line-height: 1.6;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 0.6rem;
}

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; background: var(--navy); color: #fff;
  padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold-deep);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.lede { font-size: 1.05rem; color: var(--muted); max-width: 36rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 1.25rem; color: var(--navy);
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
}
.text-link:hover { color: var(--gold-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0.7rem 1.4rem;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; border: 1px solid transparent; transition: 0.25s ease;
}
.btn-outline { border-color: var(--gold); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-solid { background: var(--navy); color: var(--cream); }
.btn-solid:hover { background: var(--gold-deep); }

/* Header — scroll fade via opacity (Safari-safe; no calc in rgba) */
.site-header {
  --header-solid: 0;
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: var(--header-h);
  background: transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(247, 243, 234, 0.96);
  box-shadow: 0 1px 0 var(--line);
  opacity: var(--header-solid, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header .site-nav a,
.site-header .header-cta,
.site-header .nav-toggle span {
  transition:
    color 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header .site-nav a { color: var(--cream-soft); opacity: 0.92; }
.site-header .nav-toggle span { background: var(--cream-soft); }
.site-header .header-cta { color: var(--cream-soft); border-color: var(--gold); }
.site-header.is-tint .site-nav a,
.site-header.is-solid .site-nav a,
.site-header.is-menu-open .site-nav a { color: var(--navy); opacity: 0.9; }
.site-header.is-tint .nav-toggle span,
.site-header.is-solid .nav-toggle span,
.site-header.is-menu-open .nav-toggle span { background: var(--navy); }
.site-header.is-tint .header-cta,
.site-header.is-solid .header-cta,
.site-header.is-menu-open .header-cta { color: var(--navy); border-color: var(--gold); }
.site-header.is-menu-open::before { opacity: 1; }
.header-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  max-height: 100%;
}
.brand-logo {
  width: auto;
  height: 3.35rem;
  max-height: 3.35rem;
  max-width: min(58vw, 14.5rem);
  object-fit: contain;
  background: transparent;
  /* Soft halo so navy wordmark stays readable on dark hero */
  filter:
    drop-shadow(0 0 1px rgba(247, 243, 234, 0.95))
    drop-shadow(0 0 10px rgba(247, 243, 234, 0.55));
  transition: filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-tint .brand-logo,
.site-header.is-solid .brand-logo,
.site-header.is-menu-open .brand-logo {
  filter: none;
}
.site-nav {
  display: flex; justify-content: center; gap: 1.4rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.site-nav a { color: var(--navy); opacity: 0.85; }
.site-nav a:hover { opacity: 1; color: var(--gold-deep); }
.header-cta { justify-self: end; }
.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 1.4rem; background: var(--navy); margin-inline: auto;
}

/* Hero — full-bleed image slider */
.hero {
  position: relative;
  min-height: 100svh;
  color: var(--cream);
  overflow: hidden;
}
.hero-track,
.hero-veil { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide-link,
.hero-slide-media {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}
.hero-veil {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 21, 45, 0.28) 0%, rgba(0, 21, 45, 0.08) 40%, rgba(0, 21, 45, 0.22) 100%);
}
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero-nav {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(247, 243, 234, 0.55);
  border-radius: 50%;
  background: rgba(0, 21, 45, 0.35);
  color: var(--cream-soft);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.hero-nav:hover { border-color: var(--gold); color: var(--gold); }
.hero-dots { display: flex; gap: 0.45rem; }
.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 243, 234, 0.4);
  cursor: pointer;
}
.hero-dot.is-active { background: var(--gold); }

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

/* Pillars */
.pillars { padding: 4.5rem 0 2rem; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.pillar h2 {
  color: var(--navy);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pillar p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.pillar-icon {
  display: block; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
}
.pillar-icon::after {
  content: "";
  position: absolute; inset: 28%;
  border: 1px solid var(--gold-deep);
}
.pillar-icon--lotus::after { border-radius: 50% 50% 40% 40%; }
.pillar-icon--gate::after { border-radius: 40% 40% 0 0; inset: 22% 30% 28%; }
.pillar-icon--key::after { border-radius: 50%; width: 35%; height: 35%; inset: auto auto 28% 32%; border-width: 1.5px; }
.pillar-icon--compass::after { border-radius: 0; transform: rotate(45deg); }
.pillar-icon--material {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 1.25rem;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.pillar-icon--material::after { display: none; }

/* Journeys */
.journeys-section { padding: 3rem 0 5rem; background: var(--cream); }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1rem; margin-bottom: 2rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  color: var(--navy);
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.journey-card {
  display: flex; flex-direction: column;
  background: var(--cream-soft);
  border: 1px solid transparent;
  transition: border-color 0.25s ease, transform 0.35s ease;
}
.journey-card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
}
.journey-media { aspect-ratio: 4 / 5; overflow: hidden; }
.journey-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.journey-card:hover .journey-media img { transform: scale(1.05); }
.journey-body { padding: 1.25rem 1.25rem 1.5rem; position: relative; flex: 1; }
.place {
  margin: 0 0 0.45rem;
  color: var(--gold-deep);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.journey-body h3 {
  font-size: 1.45rem;
  color: var(--navy);
}
.journey-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-arrow {
  position: absolute; right: 1.1rem; bottom: 1.1rem;
  color: var(--gold-deep); font-size: 1.1rem;
}
.empty-note { color: var(--muted); grid-column: 1 / -1; }

/* Promise */
.promise { padding: 5rem 0; background: var(--cream-soft); }
.promise-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.promise-grid:not(:has(.stats)) {
  grid-template-columns: 0.9fr 1.4fr;
}
.promise-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0.5rem;
}
.promise-logo {
  display: block;
  width: min(100%, 240px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  margin-inline: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 35, 75, 0.12));
}
.promise-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
}
.promise-copy p { color: var(--muted); }
.stats {
  display: grid;
  gap: 1.25rem;
  border-left: 1px solid var(--line);
  padding-left: 1.75rem;
}
.stats li { display: grid; gap: 0.2rem; }
.stats strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
}
.stats span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Enquire CTA */
.enquire {
  position: relative;
  color: var(--cream);
  overflow: hidden;
}
.enquire-media { position: absolute; inset: 0; }
.enquire-media img { width: 100%; height: 100%; object-fit: cover; }
.enquire-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 21, 45, 0.88), rgba(0, 35, 75, 0.72));
}
.enquire-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 5rem 0;
  align-items: center;
}
.enquire h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  max-width: 14ch;
}
.enquire-aside p { color: rgba(247, 243, 234, 0.88); margin-top: 0; }

/* Journey detail */
.journey-hero { position: relative; min-height: 55svh; display: grid; align-items: end; }
.journey-hero-media { position: absolute; inset: 0; }
.journey-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.journey-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,21,45,0.2), rgba(0,21,45,0.75));
}
.journey-hero-copy {
  position: relative; z-index: 1; color: var(--cream);
  padding: calc(var(--header-h) + 2rem) 0 3rem;
}
.journey-hero-copy h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); text-transform: uppercase; }
.journey-hero-copy .place {
  margin: 0 0 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
}
.journey-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
  gap: 2.5rem;
  padding: 3rem 0 5rem;
  align-items: start;
}
.journey-detail-main .lede {
  margin: 0 0 2rem;
  font-size: 1.15rem;
  color: var(--ink);
}
.journey-article {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.75;
}
.journey-article > *:first-child { margin-top: 0; }
.journey-article h1,
.journey-article h2,
.journey-article h3 {
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.journey-article h1 { font-size: 1.8rem; }
.journey-article h2 { font-size: 1.45rem; }
.journey-article h3 { font-size: 1.2rem; }
.journey-article p { margin: 0 0 1.15rem; color: var(--muted); }
.journey-article a { color: var(--gold-deep); text-decoration: underline; }
.journey-article ul,
.journey-article ol { margin: 0 0 1.25rem; padding-left: 1.25rem; color: var(--muted); }
.journey-article ul { list-style: disc; }
.journey-article ol { list-style: decimal; }
.journey-article li { margin: 0.35rem 0; }
.journey-article blockquote {
  margin: 1.5rem 0;
  padding: 0.85rem 0 0.85rem 1.1rem;
  border-left: 2px solid var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}
.journey-article figure,
.journey-article .attachment {
  margin: 1.75rem 0;
}
.journey-article img {
  width: 100%;
  height: auto;
  border-radius: 0;
}
.journey-article figcaption,
.journey-article .attachment__caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.journey-aside-card {
  margin-bottom: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.journey-aside-card:first-child { border-top: 0; padding-top: 0; }
.journey-aside-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.journey-aside-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.journey-aside-card .btn { width: 100%; margin-bottom: 0.65rem; }
.journey-social { display: grid; gap: 0.45rem; }
.journey-social a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.journey-social a:hover { color: var(--gold-deep); }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 1.25rem 0 0;
}
.footer-social a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.8);
}
.footer-social a:hover { color: var(--gold); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(247, 243, 234, 0.86);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
}
.footer-logo {
  width: min(100%, 13rem);
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  /* Soft halo so navy wordmark stays readable on dark footer */
  filter:
    drop-shadow(0 0 1px rgba(247, 243, 234, 0.95))
    drop-shadow(0 0 8px rgba(247, 243, 234, 0.55));
}
.tagline {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-heading {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-list { display: grid; gap: 0.55rem; font-size: 0.92rem; }
.footer-list a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(247, 243, 234, 0.55);
}

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-grid:not(:has(.stats)) { grid-template-columns: 1fr; }
  .promise-mark { padding: 0.75rem 0 0.25rem; }
  .promise-logo { width: min(100%, 200px); }
  .stats { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
  .enquire-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-inner { grid-template-columns: auto auto; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; justify-self: end; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    z-index: 45;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid rgba(0,35,75,0.08); }
  .site-header .site-nav.is-open a,
  .site-header .site-nav.is-open a:hover {
    color: var(--navy);
    opacity: 1;
  }
  .pillar-grid, .journey-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-controls { bottom: 1.25rem; }
  .journey-detail-layout { grid-template-columns: 1fr; }
}
