/* ==========================================================================
   Desa Hay Bali — stylesheet
   Palette and type chosen to match the original brand: warm bone paper,
   deep jungle green, hand-carved-wood clay accent.
   ========================================================================== */

:root {
  --bone:      #faf8f4;
  --bone-deep: #f2ede4;
  --sand:      #e3d9c9;
  --ink:       #22261f;
  --ink-soft:  #4d5347;
  --moss:      #34412f;
  --moss-deep: #222b1f;
  --clay:      #a3714b;
  --clay-deep: #8a5d3b;
  --white:     #ffffff;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Jost", "Futura", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap:      1240px;
  --wrap-text: 760px;
  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --header-h:  84px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 1px 2px rgba(34,38,31,.06), 0 4px 14px rgba(34,38,31,.06);
  --shadow-md: 0 10px 40px rgba(34,38,31,.14);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: .005em;
  margin: 0 0 .6em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h4 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }

p { margin: 0 0 1.35em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--clay-deep); }

strong, b { font-weight: 500; }

ul, ol { margin: 0 0 1.35em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

hr {
  border: 0;
  border-top: 1px solid var(--sand);
  margin: clamp(3rem, 8vw, 6rem) 0;
}

/* Visible focus ring for keyboard users — the original site had none. */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 999;
  background: var(--moss);
  color: var(--white);
  padding: .75rem 1.25rem;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ----------------------------------------------------------- primitives */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }

.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--sand { background: var(--bone-deep); }
.section--moss { background: var(--moss); color: var(--bone); }
.section--moss h1, .section--moss h2, .section--moss h3 { color: var(--bone); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1rem;
}
.section--moss .eyebrow { color: var(--sand); }

.lede { font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.7; color: var(--ink-soft); }

.center { text-align: center; }
.measure { max-width: 62ch; }
.center .measure { margin-inline: auto; }

.rule {
  width: 56px; height: 1px;
  background: var(--clay);
  border: 0;
  margin: 1.75rem 0;
}
.center .rule { margin-inline: auto; }

/* ---------------------------------------------------------------- button */
.btn {
  --btn-bg: var(--moss);
  --btn-fg: var(--bone);
  --btn-bd: var(--moss);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  padding: .95em 2.1em;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
  color: var(--bone);
  transform: translateY(-1px);
}
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--bone); --btn-bd: rgba(250,248,244,.7); }
.btn--light:hover { background: var(--bone); color: var(--moss-deep); border-color: var(--bone); }
.btn--clay { --btn-bg: var(--clay); --btn-fg: var(--white); --btn-bd: var(--clay); }
.btn--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: var(--white); }
.btn--sm { padding: .7em 1.5em; font-size: .72rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--clay-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: .3em;
  transition: gap .25s var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover { gap: .8em; color: var(--clay-deep); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.75rem;
}
.center .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand img { width: 148px; transition: filter .35s var(--ease); }

/* Transparent-over-hero state: invert the black logo to white. */
.site-header--transparent { background: transparent; }
.site-header--transparent .brand img { filter: brightness(0) invert(1); }
.site-header--transparent .nav__link,
.site-header--transparent .nav__toggle-label,
.site-header--transparent .burger { color: var(--bone); }
.site-header--transparent .burger span { background: var(--bone); }
/* Keeps the white bars readable where a hero photo is pale (sky, pool water). */
.site-header--transparent .burger { filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.site-header--transparent .btn--header {
  color: var(--bone);
  border-color: rgba(250,248,244,.75);
}
.site-header--transparent .btn--header:hover {
  background: var(--bone); color: var(--moss-deep); border-color: var(--bone);
}

.site-header--solid {
  background: rgba(250,248,244,.96);
  box-shadow: 0 1px 0 rgba(34,38,31,.08);
}

/* backdrop-filter must stay desktop-only. An element with backdrop-filter
   becomes the containing block for its position:fixed descendants, and the
   mobile drawer (.nav) is a child of this header — so applying it below
   1001px collapses the open drawer from full-screen to the header's own
   height. Above 1001px there is no drawer, so the effect is safe there. */
@media (min-width: 1001px) {
  .site-header--solid { backdrop-filter: saturate(140%) blur(10px); }
}

/* ------------------------------------------------------------ navigation */
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__item { position: relative; margin: 0; }

.nav__link,
.nav__toggle-label {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  background: none;
  border: 0;
  padding: .5rem 0;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav__link:hover, .nav__toggle-label:hover { color: var(--clay); }

.nav__link[aria-current="page"] { color: var(--clay); }

.nav__caret {
  width: 8px; height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}
.nav__item--open > .nav__toggle-label .nav__caret { transform: rotate(-135deg) translate(-3px, -3px); }

.nav__panel {
  position: absolute;
  top: calc(100% + .55rem);
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-md);
  padding: .6rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item--open > .nav__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* Hover bridge. The panel sits ~9px below the button, and travelling across
   that transparent strip used to count as leaving the menu, so the panel
   closed under the cursor. This pseudo-element fills the gap and belongs to
   the panel, so the pointer never leaves the menu item. */
@media (min-width: 1001px) {
  .nav__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: .8rem;
  }
}
.nav__panel li { margin: 0; }
.nav__panel a {
  display: block;
  padding: .6rem 1.4rem;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--ink);
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__panel a:hover { background: var(--bone-deep); color: var(--clay-deep); }
.nav__panel a[aria-current="page"] { color: var(--clay); }

.btn--header { padding: .75em 1.6em; font-size: .72rem; }

/* burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.burger span {
  display: block;
  width: 24px; height: 1px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
@media (max-width: 1000px) {
  :root { --header-h: 70px; }
  .burger { display: flex; }
  .brand img { width: 124px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: block;
    background: var(--bone);
    padding: 1.5rem var(--gutter) 3rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }

  .nav__list { display: block; }
  .nav__item { border-bottom: 1px solid var(--sand); }

  .nav__link, .nav__toggle-label {
    width: 100%;
    justify-content: space-between;
    padding: 1.05rem 0;
    font-size: .88rem;
    color: var(--ink) !important;
  }

  .nav__panel {
    position: static;
    transform: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 .75rem .9rem;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__item--open > .nav__panel { display: block; transform: none; }
  .nav__panel a { padding: .6rem 0; font-size: .85rem; }
  .nav__panel a:hover { background: none; }

  .btn--header { display: flex; width: 100%; margin-top: 1.75rem; }

  /* The burger deliberately has no colour override here. The JS only applies
     .site-header--transparent while the drawer is CLOSED (see syncHeader in
     main.js), so the shared rule above already gives us white bars over the
     hero photo and dark bars once the header turns solid or the drawer opens. */
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 780px);
  padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 8vw, 6rem);
  color: var(--bone);
  overflow: hidden;
  background: var(--moss-deep);
}
.hero--short { min-height: min(62vh, 560px); }
.hero--tall  { min-height: min(94vh, 900px); }

.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(to bottom, rgba(20,24,18,.42) 0%, rgba(20,24,18,.06) 34%, rgba(20,24,18,.62) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero h1, .hero h2, .hero p { color: var(--bone); }
.hero h1 { text-shadow: 0 1px 30px rgba(0,0,0,.35); margin-bottom: .35em; }
.hero__lede { max-width: 46ch; font-size: clamp(1rem, 1.6vw, 1.2rem); text-shadow: 0 1px 20px rgba(0,0,0,.4); }
.hero .eyebrow { color: var(--sand); }

.hero--center { align-items: center; text-align: center; }
.hero--center .hero__lede { margin-inline: auto; }
.hero--center .btn-row { justify-content: center; }

/* page header for interior pages without a photo hero */
.page-head { padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2rem, 5vw, 3.5rem); }

/* ----------------------------------------------------------- alternating */
.feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.feature + .feature { margin-top: clamp(3.5rem, 8vw, 6.5rem); }
.feature--flip .feature__media { order: 2; }

.feature__media { position: relative; }
.feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature__body { max-width: 52ch; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 1.75rem; }
  .feature--flip .feature__media { order: 0; }
}

/* ---------------------------------------------------------------- cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand);
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.card__media { overflow: hidden; }
.card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
a.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 1.6rem 1.6rem 1.9rem; flex: 1 1 auto; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p { font-size: .97rem; color: var(--ink-soft); }
.card__body .link-arrow { margin-top: auto; align-self: flex-start; }

/* -------------------------------------------------------------- amenities */
.amenities {
  columns: 2;
  column-gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.amenities li {
  break-inside: avoid;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .7rem;
  font-size: .97rem;
  color: var(--ink-soft);
}
.amenities li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay);
}
@media (max-width: 700px) { .amenities { columns: 1; } }

.spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  margin: 2rem 0;
}
.spec-strip div {
  flex: 1 1 140px;
  padding: 1.1rem 1.25rem;
  border-left: 1px solid var(--sand);
}
.spec-strip div:first-child { border-left: 0; padding-left: 0; }
.spec-strip dt {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .3rem;
}
.spec-strip dd { margin: 0; font-family: var(--font-display); font-size: 1.35rem; }

/* --------------------------------------------------------------- gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 10px;
}
.gallery--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

.gallery__item {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bone-deep);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34,38,31,0);
  transition: background .3s var(--ease);
}
.gallery__item:hover::after { background: rgba(34,38,31,.12); }
.gallery__item--tall { aspect-ratio: 3 / 4; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18,21,16,.94);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[data-open="true"] { display: flex; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox__figure img {
  max-width: min(1400px, 92vw);
  max-height: 80vh;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
}
.lightbox__caption {
  color: var(--sand);
  font-size: .85rem;
  letter-spacing: .06em;
  margin-top: 1rem;
}
.lightbox__btn {
  position: absolute;
  background: none;
  border: 1px solid rgba(250,248,244,.35);
  color: var(--bone);
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(250,248,244,.14); border-color: var(--bone); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev  { left: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  color: var(--sand);
  font-size: .78rem;
  letter-spacing: .18em;
}

/* --------------------------------------------------------------- awards */
.awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.award { text-align: center; margin: 0; }
.award__badge {
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.award__badge img { max-height: 88px; width: auto; object-fit: contain; }
.award h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: .5rem;
}
.award__year {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .4rem;
}

/* press list */
.press {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.press__item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--sand);
  display: flex;
  flex-direction: column;
}
.press__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.press__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.press__source {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .6rem;
}
.press__body h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.press__body .link-arrow { margin-top: auto; align-self: flex-start; font-size: .72rem; }

/* ------------------------------------------------------------ quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.quote { margin: 0; }
.quote blockquote {
  margin: 0 0 .9rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
}
.quote figcaption {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
}

/* ------------------------------------------------------------ pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.pillar {
  margin: 0;
  padding: 1.75rem 1.6rem 2rem;
  background: var(--white);
  border-top: 2px solid var(--clay);
}
.section--moss .pillar {
  background: rgba(250,248,244,.06);
  border-top-color: var(--sand);
  color: var(--bone);
}
.pillar h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.pillar ul { margin: 0; padding-left: 1.1em; }
.pillar li { font-size: .93rem; color: var(--ink-soft); }
.section--moss .pillar li { color: rgba(250,248,244,.82); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--clay);
  margin-bottom: .4rem;
}
.stat__label {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section--moss .stat__num { color: var(--sand); }
.section--moss .stat__label { color: rgba(250,248,244,.75); }

/* ------------------------------------------------------------- contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.contact-card h2 { font-size: 1.9rem; margin-bottom: 1.25rem; }
.contact-card dl { margin: 0; }
.contact-card dt {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .25rem;
}
.contact-card dd { margin: 0 0 1.15rem; font-size: 1.02rem; }
.contact-card dd a { text-decoration: none; border-bottom: 1px solid var(--sand); }
.contact-card dd a:hover { border-color: var(--clay); }

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--sand);
  filter: grayscale(.25);
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--moss-deep);
  color: rgba(250,248,244,.8);
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  font-size: .95rem;
}
.site-footer a { color: var(--bone); text-decoration: none; }
.site-footer a:hover { color: var(--sand); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo { width: 168px; margin-bottom: 1.5rem; }

.footer-title {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .6rem; }

.social {
  display: flex;
  gap: .75rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(250,248,244,.28);
  border-radius: 50%;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.social a:hover { background: rgba(250,248,244,.12); border-color: var(--bone); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,248,244,.15);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(250,248,244,.6);
}

/* ------------------------------------------------------------ reveal fx */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ 404 */
.error-page {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
}

@media print {
  .site-header, .site-footer, .lightbox, .btn { display: none !important; }
  body { background: #fff; }
}
