:root {
  --ink: #11110f;
  --charcoal: #151513;
  --paper: #f4efe7;
  --white: #ffffff;
  --gold: #c5a26e;
  --gold-light: #e1c694;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: "DM Sans", Arial, sans-serif; }
body.theme-light { background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  min-height: 118px;
  padding: 18px clamp(22px, 5vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.56), rgba(8, 8, 7, 0));
  transition: background 0.25s ease, min-height 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease, width 0.25s ease, top 0.25s ease, border-radius 0.25s ease;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-header.is-scrolled {
  top: 14px;
  left: 50%;
  right: auto;
  width: min(1120px, calc(100% - 48px));
  min-height: 58px;
  padding: 7px 22px;
  background: rgba(244, 239, 231, 0.68);
  border-bottom: 1px solid rgba(17, 17, 15, 0.14);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.site-header.is-scrolled .brand__text span,
.site-header.is-scrolled .nav-main a,
.site-header.is-scrolled .btn-pill,
.site-header.is-scrolled .theme-toggle {
  color: var(--ink);
}

.site-header.is-scrolled .brand__text small {
  color: #8c6536;
}

.site-header.is-scrolled .btn-pill,
.site-header.is-scrolled .theme-toggle {
  border-color: rgba(17, 17, 15, 0.34);
}

.site-header.is-scrolled .btn-pill:hover,
.site-header.is-scrolled .theme-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

.site-header.is-scrolled .brand {
  min-width: 206px;
}

.site-header.is-scrolled .brand__icon {
  width: 68px;
  height: 68px;
  transform: translate(10px, 4px);
}

.site-header.is-scrolled .brand__text span {
  font-size: 1.18rem;
}

.site-header.is-scrolled .brand__text small {
  font-size: 0.5rem;
}

.brand {
  min-width: 260px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.brand__icon {
  width: 135px;
  height: 135px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
  transform: translate(22px, 18px);
}

.brand__text {
  display: grid;
  gap: 3px;
  font-family: "Cormorant Garamond", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1;
  transform: translateY(2px);
}

.brand__text span { font-size: 1.48rem; }
.brand__text small { color: var(--gold-light); font-size: 0.62rem; letter-spacing: 0.42em; }

.nav-main {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.nav-main a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-main a:hover { color: var(--gold-light); }
.nav-main__with-caret::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.78;
}

.btn-pill, .btn-dark {
  min-height: 44px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-pill:hover { transform: translateY(-1px); background: var(--white); color: var(--ink); }
.btn-pill--gold { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.btn-dark { color: var(--ink); border-color: rgba(17, 17, 15, 0.28); }
.btn-dark:hover { background: var(--ink); color: var(--white); }

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 12px;
}

.theme-toggle {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover { transform: translateY(-1px); background: var(--white); color: var(--ink); }
.theme-toggle__icon { width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 999px; box-shadow: inset -4px -2px 0 currentColor; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 0;
}

.nav-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 120px 22px 72px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 80% 44%, rgba(197, 162, 110, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(9, 10, 10, 0.78), rgba(9, 10, 10, 0.2) 48%, rgba(9, 10, 10, 0.7)),
    linear-gradient(180deg, rgba(9, 10, 10, 0.3), rgba(9, 10, 10, 0.62) 68%, var(--ink)),
    url("../images/hero-mountains.png") center / cover no-repeat;
}

.hero__content { width: min(780px, 100%); margin-top: 20px; animation: heroReveal 900ms ease-out both; }
.eyebrow { margin: 0 0 18px; color: var(--gold-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.42em; text-transform: uppercase; }

.hero h1, .section-heading h2, .philosophy h2, .promise h2, .journeys h2, .journal-preview h2, .cta h2, .simple-page h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  line-height: 0.98;
}

.hero h1 { font-size: clamp(3.8rem, 8vw, 7.1rem); text-wrap: balance; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero__intro { width: min(560px, 100%); margin: 28px auto 30px; color: rgba(255,255,255,0.88); font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 9px; border-bottom: 1px solid var(--gold); color: var(--gold-light); text-decoration: none; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.74rem; font-weight: 700; }

.section-narrow { width: min(640px, calc(100% - 44px)); margin: 0 auto; text-align: center; }
.philosophy { padding: 104px 0 76px; }
.philosophy h2 { font-size: clamp(2.7rem, 6vw, 4.4rem); }
.philosophy p:last-child { margin: 22px auto 0; color: rgba(255,255,255,0.76); font-size: 1.02rem; line-height: 1.7; }

.pillars { padding: 28px clamp(18px, 5vw, 72px) 96px; }
.section-heading { width: min(760px, 100%); margin: 0 auto 34px; text-align: center; }
.section-heading h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.section-heading--split { width: min(1120px, 100%); display: flex; align-items: end; justify-content: space-between; gap: 22px; text-align: left; }

.pillar-grid { width: min(1160px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pillar-card {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  padding: 24px 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12,12,10,0.05), rgba(12,12,10,0.4) 35%, rgba(12,12,10,0.92)), url("../images/hero-mountains.png") center / cover no-repeat;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.pillar-card:hover { transform: translateY(-8px); border-color: rgba(225,198,148,0.62); box-shadow: 0 30px 90px rgba(0,0,0,0.48); }
.pillar-card--heritage { background-position: left center; }
.pillar-card--adventure { background-position: 42% center; }
.pillar-card--stillness { background-position: 58% center; }
.pillar-card--wonder { background-position: 74% center; }
.pillar-card--celebration { background-position: right center; }
.pillar-card__icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-light); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; }
.pillar-card h3, .promise h3, .journey-card h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; }
.pillar-card h3 { font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
.pillar-card p { min-height: 112px; margin: 16px 0 18px; color: rgba(255,255,255,0.72); font-size: 0.87rem; line-height: 1.6; }
.pillar-card a { color: var(--gold-light); text-decoration: none; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; font-weight: 700; }

.promise { padding: 78px clamp(22px, 7vw, 108px); display: grid; grid-template-columns: minmax(260px, 390px) 1fr; gap: clamp(34px, 7vw, 96px); align-items: center; background: linear-gradient(90deg, rgba(15,15,13,0.98), rgba(15,15,13,0.76)), url("../images/hero-mountains.png") center 62% / cover no-repeat; }
.promise h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.promise__intro p:not(.eyebrow) { color: rgba(255,255,255,0.76); line-height: 1.65; }
.promise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.promise-grid article { display: grid; gap: 9px; }
.promise-grid span { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.18em; }
.promise-grid h3 { font-size: 1.25rem; }
.promise-grid p { margin: 0; color: rgba(255,255,255,0.68); line-height: 1.5; }

.journeys { padding: 82px clamp(22px, 5vw, 72px) 96px; background: var(--paper); color: var(--ink); }
.journeys .eyebrow { color: #9b6f3a; }
.journey-grid { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.journey-card { overflow: hidden; border-radius: 8px; background: #fffaf3; box-shadow: 0 16px 38px rgba(34,26,16,0.11); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.journey-card:hover { transform: translateY(-6px); box-shadow: 0 24px 58px rgba(34,26,16,0.18); }
.journey-card__image { min-height: 260px; background: linear-gradient(180deg, rgba(12,12,10,0.05), rgba(12,12,10,0.18)), url("../images/hero-mountains.png") center / cover no-repeat; }
.journey-card__image--one { background-position: 50% center; }
.journey-card__image--two { background-position: 28% center; }
.journey-card__image--three { background-position: 78% center; }
.journey-card__body { padding: 22px; }
.journey-card__body p { margin: 0 0 8px; color: #9b6f3a; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 700; }
.journey-card h3 { font-size: 1.7rem; line-height: 1.12; }
.journey-card__body span { display: block; margin-top: 18px; color: rgba(17,17,15,0.58); font-size: 0.82rem; }

.journal-preview, .cta { padding: 96px 22px; text-align: center; }
.journal-preview { width: min(720px, 100%); margin: 0 auto; }
.journal-preview h2, .cta h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.journal-preview p:last-child { color: rgba(255,255,255,0.68); line-height: 1.65; }
.cta { background: linear-gradient(rgba(17,17,15,0.74), rgba(17,17,15,0.86)), url("../images/hero-mountains.png") center 78% / cover no-repeat; }
.cta .btn-pill { margin-top: 28px; }

.site-footer {
  padding: 54px clamp(22px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(260px, 0.9fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #0c0c0a;
  color: rgba(255,255,255,0.78);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.28rem;
}

.footer-brand__icon { width: 74px; height: 74px; object-fit: contain; }
.footer-brand small { display: block; color: var(--gold-light); font-family: "DM Sans", Arial, sans-serif; font-size: 0.52rem; letter-spacing: 0.34em; }
.site-footer p { margin: 0; line-height: 1.6; }
.site-footer nav { display: flex; justify-content: end; gap: 20px; }
.site-footer nav a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.86rem; }
.site-footer nav a:hover { color: var(--gold-light); }

body.theme-light .site-header {
  background: linear-gradient(180deg, rgba(244, 239, 231, 0.72), rgba(244, 239, 231, 0));
}

body.theme-light .site-header.is-scrolled {
  background: rgba(244, 239, 231, 0.72);
  border-bottom-color: rgba(17, 17, 15, 0.14);
}

body.theme-light .site-header.is-scrolled .brand__text span,
body.theme-light .site-header.is-scrolled .nav-main a,
body.theme-light .site-header.is-scrolled .btn-pill,
body.theme-light .site-header.is-scrolled .theme-toggle {
  color: var(--ink);
}

body.theme-light .site-header.is-scrolled .brand__text small,
body.theme-light .site-header.is-scrolled .nav-main a:hover {
  color: #8c6536;
}

body.theme-light .site-header.is-scrolled .btn-pill,
body.theme-light .site-header.is-scrolled .theme-toggle {
  border-color: rgba(17, 17, 15, 0.34);
}

body.theme-light .site-header.is-scrolled .btn-pill:hover,
body.theme-light .site-header.is-scrolled .theme-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

body.theme-light .hero {
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 44%, rgba(17, 17, 15, 0.13), transparent 31%),
    linear-gradient(90deg, rgba(244, 239, 231, 0.9), rgba(244, 239, 231, 0.62) 48%, rgba(244, 239, 231, 0.86)),
    linear-gradient(180deg, rgba(244, 239, 231, 0.42), rgba(244, 239, 231, 0.8) 72%, var(--paper)),
    url("../images/hero-mountains.png") center / cover no-repeat;
}

body.theme-light .brand__text span,
body.theme-light .nav-main a,
body.theme-light .btn-pill,
body.theme-light .theme-toggle {
  color: var(--ink);
}

body.theme-light .brand__text small,
body.theme-light .eyebrow,
body.theme-light .hero h1 em,
body.theme-light .text-link {
  color: #8c6536;
}

body.theme-light .hero__intro,
body.theme-light .philosophy p:last-child,
body.theme-light .journal-preview p:last-child,
body.theme-light .simple-page p {
  color: rgba(17, 17, 15, 0.76);
}

body.theme-light .btn-pill,
body.theme-light .theme-toggle {
  border-color: rgba(17, 17, 15, 0.44);
}

body.theme-light .btn-pill:hover,
body.theme-light .theme-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

body.theme-light .philosophy,
body.theme-light .pillars,
body.theme-light .journal-preview,
body.theme-light .simple-page {
  background: var(--paper);
  color: var(--ink);
}

body.theme-light .pillar-card {
  border-color: rgba(17, 17, 15, 0.18);
  background:
    linear-gradient(180deg, rgba(244,239,231,0.18), rgba(244,239,231,0.44) 35%, rgba(244,239,231,0.92)),
    url("../images/hero-mountains.png") center / cover no-repeat;
  color: var(--ink);
}

body.theme-light .pillar-card p {
  color: rgba(17, 17, 15, 0.7);
}

body.theme-light .pillar-card a,
body.theme-light .pillar-card__icon {
  color: #8c6536;
}

body.theme-light .promise,
body.theme-light .cta {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(244,239,231,0.96), rgba(244,239,231,0.78)),
    url("../images/hero-mountains.png") center 62% / cover no-repeat;
}

body.theme-light .promise__intro p:not(.eyebrow),
body.theme-light .promise-grid p {
  color: rgba(17, 17, 15, 0.72);
}

body.theme-light .promise-grid span {
  color: #8c6536;
}

body.theme-light .journeys {
  background: var(--ink);
  color: var(--paper);
}

body.theme-light .journey-card {
  background: #191815;
  color: var(--paper);
  box-shadow: 0 16px 38px rgba(0,0,0,0.22);
}

body.theme-light .journey-card__body span {
  color: rgba(244,239,231,0.58);
}

body.theme-light .btn-dark {
  color: var(--paper);
  border-color: rgba(244, 239, 231, 0.34);
}

body.theme-light .btn-dark:hover {
  background: var(--paper);
  color: var(--ink);
}

body.theme-light .site-footer {
  background: #eee4d6;
  color: rgba(17,17,15,0.74);
  border-top-color: rgba(17,17,15,0.12);
}

body.theme-light .footer-brand,
body.theme-light .site-footer nav a {
  color: var(--ink);
}

body.theme-light .footer-brand small,
body.theme-light .site-footer nav a:hover {
  color: #8c6536;
}

.simple-page { width: min(760px, calc(100% - 44px)); min-height: 100svh; margin: 0 auto; padding: 150px 0 80px; }
.simple-page h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.simple-page p { color: rgba(255,255,255,0.78); line-height: 1.7; }
form { display: grid; gap: 12px; margin-top: 28px; }
input, form button { min-height: 44px; font: inherit; }
input { border: 1px solid rgba(255,255,255,0.22); border-radius: 6px; padding: 0 12px; background: rgba(255,255,255,0.08); color: var(--white); }
form button { border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .header-actions .btn-pill { display: none; }
  .header-actions { gap: 0; }
  .nav-toggle { display: block; }
  .nav-main { position: absolute; top: calc(100% - 8px); left: 22px; right: 22px; display: none; padding: 20px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; background: rgba(17,17,15,0.96); box-shadow: var(--shadow); }
  .nav-main.is-open { display: grid; gap: 16px; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise, .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 86px; padding: 14px 18px; }
  .brand { min-width: 0; }
  .brand__icon { width: 94px; height: 94px; transform: translate(12px, 10px); }
  .brand__text span { font-size: 1.05rem; }
  .brand__text small { font-size: 0.5rem; }
  .hero { min-height: 92svh; align-items: end; padding-bottom: 92px; background-position: 58% center; }
  .hero h1 { font-size: clamp(3.5rem, 16vw, 5.6rem); }
  .section-heading--split, .promise, .promise-grid, .journey-grid, .pillar-grid { grid-template-columns: 1fr; }
  .section-heading--split { display: grid; }
  .pillar-card { min-height: 360px; }
  .pillar-card p { min-height: 0; }
  .promise { padding: 56px 22px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .site-footer nav { justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
