/* Visit Banteay Chhmar: "jungle temple" design.
   Colours come from the place: moss on the stones, weathered sandstone, laterite
   (the red building stone), and lotus flowers from the baray as a small accent. */
:root {
  --moss-deep: #1d261e;
  --moss: #2f3b2c;
  --moss-soft: #4a5a45;
  --stone: #e5e2d9;
  --stone-light: #f3f1ec;
  --sand: #cfc6b4;
  --ink: #1c201b;
  --muted: #5a6155;
  --laterite: #8c3b22;
  --laterite-dark: #6f2e1a;
  --lotus: #e7a6b4;
  --on-dark: #ece8de;
  --on-dark-muted: #b9b6a8;

  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --text: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(64px, 9vw, 128px);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--laterite); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--laterite-dark); }
:focus-visible { outline: 3px solid var(--lotus); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--moss); line-height: 1.12; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--stone-light); padding: .5rem .8rem; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: var(--radius); font: 600 1rem/1.1 var(--text); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--laterite); color: #fbf7f0; }
.btn-primary:hover { background: var(--laterite-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.btn-light { background: var(--stone-light); color: var(--moss); }
.btn-light:hover { background: #fff; color: var(--moss); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--moss); color: var(--on-dark); transition: background-color .25s; }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand span { font: 400 1.35rem/1 var(--display); letter-spacing: .01em; }
.brand:hover { color: #fff; }
.home .site-head { position: fixed; left: 0; right: 0; background: transparent; }
.home .site-head.scrolled { background: var(--moss); box-shadow: 0 1px 0 rgba(0, 0, 0, .15); }

.nav { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a { display: block; padding: .6rem .7rem; color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav > li > a:hover, .nav > li.here > a { color: #fff; }
.nav > li.here > a { box-shadow: inset 0 -2px 0 var(--lotus); }
.nav .sub { position: absolute; top: 100%; left: -.4rem; min-width: 250px; list-style: none; margin: 0; padding: .5rem; background: var(--stone-light); border-radius: 6px; box-shadow: 0 14px 40px rgba(20, 26, 19, .22); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav > li:hover .sub, .nav > li:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: .45rem .7rem; color: var(--ink); text-decoration: none; border-radius: 4px; font-size: .95rem; }
.nav .sub a:hover, .nav .sub a[aria-current] { background: var(--stone); color: var(--laterite); }
.head-book { padding: .65rem 1.1rem; }
.nav-book { display: none; }
.menu-btn { display: none; background: none; border: 1.5px solid currentColor; color: inherit; border-radius: var(--radius); padding: .5rem .8rem; font: 600 .95rem/1 var(--text); cursor: pointer; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .site-head nav { position: fixed; inset: 72px 0 0 0; background: var(--moss); overflow-y: auto; padding: 1rem var(--gutter) 3rem; display: none; }
  .nav-open .site-head nav { display: block; }
  .nav-open .home .site-head, .nav-open .site-head { background: var(--moss); }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > li { border-bottom: 1px solid rgba(236, 232, 222, .14); padding: .4rem 0; }
  .nav > li > a { font: 400 1.5rem/1.3 var(--display); padding: .5rem 0; }
  .nav > li.here > a { box-shadow: none; color: var(--lotus); }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 .4rem; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .nav .sub a { color: var(--on-dark-muted); padding: .35rem 0; }
  .nav .sub a:hover, .nav .sub a[aria-current] { background: none; color: #fff; }
  .head-book { display: none; }
  .nav-book { display: inline-flex; margin-top: 1.6rem; }
  .nav-open { overflow: hidden; }
}

/* Home hero */
.hero { position: relative; min-height: 94svh; display: grid; align-items: end; color: #fff; background: var(--moss-deep); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 24, 17, .9) 0%, rgba(18, 24, 17, .45) 42%, rgba(18, 24, 17, .15) 70%, rgba(18, 24, 17, .55) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(56px, 10vh, 120px); padding-top: 140px; }
.hero h1 { color: #fff; font-size: clamp(3.4rem, 11vw, 8.6rem); line-height: .95; margin-bottom: .25em; letter-spacing: -.005em; }
.hero .lead { font-size: clamp(1.1rem, 1.9vw, 1.35rem); max-width: 36ch; color: #ece8de; margin-bottom: 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 18px; z-index: 1; font-size: .8rem; color: rgba(255, 255, 255, .7); }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--moss-deep); min-height: clamp(280px, 46vh, 500px); display: grid; align-items: end; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 24, 17, .85), rgba(18, 24, 17, .2) 65%); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 3rem 2.6rem; }
.page-hero h1 { color: #fff; margin-bottom: .2em; max-width: 18ch; }
.page-hero .summary { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #ece8de; max-width: 52ch; margin: 0; }
.page-hero.plain { min-height: 0; background: var(--moss); }
.page-hero.plain::after { display: none; }
.crumbs { font-size: .88rem; color: var(--on-dark-muted); margin-bottom: .9rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Sections */
.section { padding-block: var(--space); }
.section + .section { padding-top: 0; }
.section-dark { background: var(--moss-deep); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark a:not(.btn) { color: var(--lotus); }
.section-light { background: var(--stone-light); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-head p { margin: .6rem 0 0; color: var(--muted); max-width: 54ch; }
.section-head .more { font-weight: 600; white-space: nowrap; }
.section-dark + .section, .section-light + .section { padding-top: var(--space); }

/* Welcome: text beside a photo */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split figure { margin: 0; }
.split figure img { width: 100%; border-radius: var(--radius); }
.split figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.big-text { font-size: clamp(1.15rem, 1.7vw, 1.3rem); line-height: 1.6; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Cards: photo-led, no boxes */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); gap: clamp(28px, 3vw, 40px) clamp(18px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.card a { display: block; color: inherit; text-decoration: none; }
.card .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card a:hover .ph img { transform: scale(1.04); }
.card h3 { margin: 1rem 0 .3rem; font-size: 1.4rem; }
.card a:hover h3 { color: var(--laterite); }
.card p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.card .price { margin-top: .5rem; font-weight: 600; color: var(--laterite); font-size: .92rem; }
.cards-stay { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards-stay { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-stay { grid-template-columns: 1fr; } }

/* Temple band */
.temple-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--moss-deep); color: var(--on-dark); }
.temple-band > img { width: 100%; height: 100%; object-fit: cover; }
.temple-band .body { padding: var(--space) var(--gutter); max-width: 620px; }
.temple-band h2 { color: var(--on-dark); }
.temple-band p { color: var(--on-dark-muted); }
.facts { list-style: none; margin: 2rem 0; padding: 0; border-top: 1px solid rgba(236, 232, 222, .18); }
.facts li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid rgba(236, 232, 222, .18); }
.facts b { font: 400 1.6rem/1 var(--display); color: var(--lotus); font-weight: 400; }
.facts span { color: var(--on-dark); }
@media (max-width: 860px) { .temple-band { grid-template-columns: 1fr; } .temple-band > img { aspect-ratio: 4 / 3; height: auto; } }

/* Plan strip */
.plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.plan a.step { display: block; padding-top: 1.2rem; border-top: 2px solid var(--moss); color: inherit; text-decoration: none; }
.plan a.step h3 { margin-bottom: .4rem; }
.plan a.step:hover h3 { color: var(--laterite); }
.plan a.step p { color: var(--muted); margin: 0; }
.cta { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(28px, 4vw, 44px); background: var(--moss); color: var(--on-dark); border-radius: var(--radius); }
.cta h2 { color: var(--on-dark); margin: 0 0 .3rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cta p { margin: 0; color: var(--on-dark-muted); }
@media (max-width: 760px) { .plan { grid-template-columns: 1fr; } }

/* Article pages */
.page-body { padding-block: clamp(48px, 7vw, 88px) var(--space); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.layout.single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }

.prose { max-width: 68ch; }
.layout.single .prose { margin-inline: auto; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--laterite); }
.prose blockquote { margin: 1.8em 0; padding: 0 0 0 1.2em; border-left: 3px solid var(--lotus); font: 400 1.35rem/1.45 var(--display); color: var(--moss); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption, .gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.prose .lede { font-size: 1.22rem; line-height: 1.6; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--sand); vertical-align: top; }
.prose th { font-weight: 600; color: var(--moss); }
.prose .note { font-size: .92rem; color: var(--muted); }
.wide { margin-inline: calc(-1 * min(6vw, 64px)); }
@media (max-width: 960px) { .wide { margin-inline: 0; } }
.video { aspect-ratio: 16 / 9; margin: 2em 0; }
.video iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* Photo grid (old slideshows and galleries); tap to open full screen */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; margin: 2em 0; }
.gallery figure { margin: 0; }
.gallery a { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .gallery.three { grid-template-columns: repeat(2, 1fr); } }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog.lightbox::backdrop { background: rgba(14, 18, 13, .92); }
dialog.lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 2px; }
dialog.lightbox p { color: var(--on-dark); text-align: center; margin: .7rem 0 0; font-size: .95rem; }
dialog.lightbox button { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }

/* "At a glance" box beside experiences and stays */
.glance { position: sticky; top: 96px; background: var(--stone-light); border-radius: 6px; padding: 1.6rem; }
.glance h2 { font-size: 1.5rem; margin-bottom: .8rem; }
.glance .price { font: 400 1.9rem/1.1 var(--display); color: var(--laterite); margin-bottom: .2rem; }
.glance .price-note { color: var(--muted); font-size: .9rem; margin-bottom: 1.1rem; }
.glance ul { list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .95rem; }
.glance li { padding: .45rem 0; border-bottom: 1px solid var(--stone); }
.glance li:last-child { border-bottom: 0; }
.glance .btn { width: 100%; justify-content: center; }
.glance small { display: block; margin-top: .8rem; color: var(--muted); font-size: .85rem; }
@media (max-width: 960px) { .glance { position: static; } }

/* Homestay owners */
.host { padding-top: 2.4rem; margin-top: 2.4rem; border-top: 1px solid var(--sand); }
.host h2 { margin-top: 0; }
.host .who { color: var(--muted); margin-top: -.4rem; }
.host dl { display: grid; grid-template-columns: 9rem 1fr; gap: .3rem 1rem; margin: 1.2rem 0 0; font-size: .97rem; }
.host dt { color: var(--muted); }
.host dd { margin: 0; }
@media (max-width: 560px) { .host dl { grid-template-columns: 1fr; } .host dd { margin-bottom: .5rem; } }

/* Schedule list (tours) */
.schedule { list-style: none; padding: 0 !important; margin: 1.2em 0 1.6em; border-left: 2px solid var(--sand); }
.schedule li { position: relative; padding: 0 0 1rem 1.4rem; margin: 0; }
.schedule li::before { content: ""; position: absolute; left: -6px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--laterite); }
.schedule time { display: block; font-weight: 600; color: var(--moss); font-size: .93rem; }

/* Music: tap a track to play */
.tracks { list-style: none; padding: 0 !important; margin: 1.6em 0; display: grid; gap: .9rem; }
.tracks li { background: var(--stone-light); border-radius: 6px; padding: 1rem 1.1rem; margin: 0; }
.tracks p { margin: 0 0 .7rem; }
.tracks audio { width: 100%; }

/* Donors (was a scrolling ticker) */
.donors { list-style: none; padding: 0 !important; margin: 1.6em 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .8rem; }
.donors li { margin: 0; padding: .9rem 1rem; background: var(--stone-light); border-left: 3px solid var(--lotus); border-radius: 4px; font-size: .93rem; color: var(--muted); }
.donors strong { color: var(--ink); font-weight: 600; }

/* Visitor comments */
.comments { list-style: none; padding: 0 !important; margin: 2em 0; }
.comments .comment { margin: 0 0 2rem; }
.comments blockquote { margin: 0; padding: 0 0 0 1.2em; border-left: 3px solid var(--lotus); font: inherit; color: var(--ink); }
.comments blockquote p { margin-bottom: .7em; }
.comments .by { margin: .5rem 0 0 1.2em; font-weight: 600; color: var(--moss); font-size: .95rem; }
.comments .comments { margin: 1.2rem 0 0 1.2em; }
.comments .reply blockquote { border-left-color: var(--sand); }

/* Sitemap */
.sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem 2rem; }
.sitemap h2 { font-size: 1.35rem; margin: 0 0 .5rem; }
.sitemap h2 a { color: var(--moss); text-decoration: none; }
.sitemap ul { padding-left: 1.1em; margin: 0; }
.sitemap-news { columns: 4 150px; padding-left: 1.1em !important; }

.video.map { aspect-ratio: 4 / 3; }

/* Pictures that link to another page (press articles, partners): shown whole, not cropped */
.prose figure.link { margin: 1.4em 0; }
.prose figure.link img { width: auto; max-width: min(100%, 320px); max-height: 120px; object-fit: contain; background: #fff; padding: 10px 14px; border-radius: 4px; }
.prose figure.link a:hover img { outline: 2px solid var(--lotus); }
.gallery figure.link a { aspect-ratio: 3 / 2; background: #fff; display: grid; place-items: center; }
.gallery figure.link img { object-fit: contain; max-height: 100%; padding: 10px; background: none; }
.section-intro { margin: 0 auto clamp(40px, 5vw, 64px); }
.section-after { margin: clamp(40px, 5vw, 64px) auto 0; }

/* News */
.post-meta { color: var(--on-dark-muted); font-size: .95rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--sand); }
.post-nav a { text-decoration: none; font-weight: 600; }
.year { margin-top: 2.5rem; }
.year h2 { font-size: 1.6rem; border-bottom: 1px solid var(--sand); padding-bottom: .4rem; }
.year ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .4rem 1rem; }

/* Booking form */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .form-grid { grid-template-columns: 1fr; } }
.booking fieldset { border: 0; padding: 0; margin: 0 0 2.4rem; }
.booking legend { font: 400 1.5rem/1.2 var(--display); color: var(--moss); margin-bottom: 1rem; padding: 0; }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } }
.booking input[type=text], .booking input[type=email], .booking input[type=tel], .booking input[type=date], .booking input[type=number], .booking select, .booking textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--sand); border-radius: var(--radius); padding: .7rem .8rem; }
.booking textarea { min-height: 8rem; resize: vertical; }
.booking input:focus, .booking select:focus, .booking textarea:focus { border-color: var(--moss-soft); outline: none; box-shadow: 0 0 0 3px rgba(231, 166, 180, .45); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 1.5px solid var(--sand); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 500; font-size: .95rem; margin: 0; }
.chips input { accent-color: var(--laterite); margin: 0; }
.chips label:has(input:checked) { border-color: var(--laterite); background: #f6ebe6; color: var(--laterite-dark); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.booking .notice { background: #f6e1dc; border-left: 4px solid var(--laterite); padding: .8rem 1rem; margin-bottom: 1.5rem; }
.booking button.sending { cursor: progress; }
.booking button.sending::before { content: ""; width: .95em; height: .95em; border: 2px solid rgba(251, 247, 240, .35); border-top-color: #fbf7f0; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.side-box { background: var(--stone-light); border-radius: 6px; padding: 1.6rem; font-size: .97rem; }
.side-box h2 { font-size: 1.4rem; }
.side-box p:last-child { margin-bottom: 0; }

/* Footer */
.site-foot { background: var(--moss-deep); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) 0 2rem; font-size: .95rem; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h2 { font: 400 1.15rem/1.2 var(--display); color: var(--on-dark); margin-bottom: .9rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .35rem; }
.foot-brand { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.foot-brand img { width: 52px; height: 52px; border-radius: 50%; }
.foot-brand span { font: 400 1.4rem/1.1 var(--display); color: var(--on-dark); }
.foot-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(236, 232, 222, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
