
:root {
  --pine-900: #0d1f18;
  --pine-800: #12281f;
  --pine-700: #1a3b2d;
  --pine-600: #24513e;
  --pine-500: #2f6b52;
  --pine-400: #4a8a6d;
  --pine-300: #7fb39a;

  --gold-700: #8a6318;
  --gold-600: #a87c22;
  --gold-500: #c2952f;
  --gold-400: #d9b055;
  --gold-200: #efdcae;

  --clay: #a4553a;

  --paper: #fbf8f2;
  --paper-2: #f4efe4;
  --paper-3: #ece5d6;
  --surface: #ffffff;
  --line: #e2d9c7;
  --line-soft: #ede6d8;

  --ink: #1c231f;
  --ink-2: #3d4842;
  --ink-3: #6b756e;
  --ink-4: #939c95;

  --accent: var(--gold-600);
  --brand: var(--pine-600);
  --brand-soft: #eef3ef;

  --font-display: "EB Garamond", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Noto Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.55rem + 1.25vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.75rem + 2.2vw, 3.6rem);
  --step-5: clamp(2.6rem, 1.9rem + 3.4vw, 4.8rem);

  --wrap: 1220px;
  --wrap-narrow: 800px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(20, 32, 26, .05), 0 2px 8px rgba(20, 32, 26, .05);
  --shadow: 0 2px 6px rgba(20, 32, 26, .06), 0 12px 32px -8px rgba(20, 32, 26, .14);
  --shadow-lg: 0 4px 12px rgba(20, 32, 26, .08), 0 30px 60px -18px rgba(20, 32, 26, .26);

  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

:root[data-theme="dark"] {
  --paper: #0f1613;
  --paper-2: #141d19;
  --paper-3: #1a251f;
  --surface: #16211c;
  --line: #2a3831;
  --line-soft: #223029;

  --ink: #ece6d9;
  --ink-2: #c3ccc4;
  --ink-3: #97a29a;
  --ink-4: #75807a;

  --brand: #6fae90;
  --brand-soft: #16241d;
  --accent: var(--gold-400);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 2px 8px rgba(0, 0, 0, .45), 0 16px 36px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 6px 16px rgba(0, 0, 0, .5), 0 34px 70px -20px rgba(0, 0, 0, .75);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1613;
    --paper-2: #141d19;
    --paper-3: #1a251f;
    --surface: #16211c;
    --line: #2a3831;
    --line-soft: #223029;
    --ink: #ece6d9;
    --ink-2: #c3ccc4;
    --ink-3: #97a29a;
    --ink-4: #75807a;
    --brand: #6fae90;
    --brand-soft: #16241d;
    --accent: var(--gold-400);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 2px 8px rgba(0, 0, 0, .45), 0 16px 36px -10px rgba(0, 0, 0, .6);
    --shadow-lg: 0 6px 16px rgba(0, 0, 0, .5), 0 34px 70px -20px rgba(0, 0, 0, .75);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.72;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .28; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { mix-blend-mode: screen; opacity: .28; } }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: .18em; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }

strong, b { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--gold-200); color: var(--pine-900); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; position: relative; z-index: 1; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), var(--wrap-narrow)); }
.section { padding-block: clamp(3.4rem, 7vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.4rem, 5vw, 4rem); }
.section--alt { background: var(--paper-2); }
.section--deep { background: var(--pine-800); color: #cfdcd4; }
.section--deep h2, .section--deep h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.stack > * + * { margin-top: 1.15em; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: .7rem;
  margin: 0 0 .85rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.center .eyebrow, .eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; flex: none; }

.section-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--ink-3); font-size: var(--step-1); line-height: 1.6; }

.lede { font-size: var(--step-1); line-height: 1.65; color: var(--ink-2); }
.dropcap::first-letter {
  float: inline-start;
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--brand);
  font-weight: 600;
}

.btn {
  --btn-bg: var(--pine-600);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.6em;
  font: 600 .94rem/1 var(--font-body);
  letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent; border-radius: 100px;
  text-decoration: none; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .2s;
  box-shadow: 0 1px 2px rgba(20, 32, 26, .12), 0 8px 20px -8px rgba(20, 32, 26, .35);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: 0 3px 6px rgba(20, 32, 26, .14), 0 16px 30px -10px rgba(20, 32, 26, .4); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: var(--gold-600); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { --btn-fg: var(--brand); border-color: var(--brand); background: var(--brand-soft); box-shadow: none; }
.btn--light { --btn-bg: rgba(255, 255, 255, .12); --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--pine-800); }
.btn--sm { padding: .62em 1.15em; font-size: .84rem; }

.chip {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .35em .85em;
  font: 600 .74rem/1.4 var(--font-body);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 100px;
}
.chip--gold { color: var(--gold-700); background: color-mix(in srgb, var(--gold-500) 14%, transparent); border-color: color-mix(in srgb, var(--gold-600) 30%, transparent); }
:root[data-theme="dark"] .chip--gold { color: var(--gold-400); }

.link-more { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .92rem; text-decoration: none; }
.link-more svg { transition: transform .22s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

.topbar {
  background: var(--pine-800);
  color: #a9c0b3;
  font-size: .78rem;
  letter-spacing: .02em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #cfe0d6; text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar__meta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.topbar__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__socials { display: flex; align-items: center; gap: 1rem; flex: none; }
.topbar__socials a { display: inline-flex; color: #cfe0d6; }
.topbar__socials a:hover { color: var(--gold-400); }
.topbar__socials svg { width: 15px; height: 15px; }
@media (max-width: 720px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(20, 32, 26, .5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; min-width: 0; flex-shrink: 1; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__sub { font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-top: .18em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) { .brand__sub { display: none; } }

.nav { display: flex; align-items: center; gap: .1rem; }
.nav > li { position: relative; list-style: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .6rem .82rem;
  font: 500 .93rem/1 var(--font-body);
  color: var(--ink-2); text-decoration: none; border-radius: 8px;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav__link:hover, .nav > li:hover > .nav__link, .nav__link[aria-expanded="true"] { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: .82rem; right: .82rem; bottom: .28rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__caret { width: 9px; height: 9px; opacity: .55; transition: transform .2s var(--ease); }
.nav > li:hover .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0;
  min-width: 246px; padding: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .24s var(--ease), visibility .24s;
}
.nav > li:hover > .nav__panel, .nav > li:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a {
  display: block; padding: .58rem .8rem; border-radius: 9px;
  font-size: .9rem; color: var(--ink-2); text-decoration: none;
  transition: background .16s, color .16s, padding .18s var(--ease);
}
.nav__panel a small { display: block; font-size: .74rem; color: var(--ink-4); margin-top: .1em; }
.nav__panel a:hover { background: var(--brand-soft); color: var(--brand); padding-inline-start: 1.05rem; }

.header__tools { display: flex; align-items: center; gap: .4rem; flex: none; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.icon-btn:hover { background: var(--brand-soft); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-btn .icon-moon { display: none; }
:root[data-theme="dark"] .theme-btn .icon-sun { display: none; }
:root[data-theme="dark"] .theme-btn .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .icon-moon { display: block; }
}

.nav-toggle { display: none; }
@media (max-width: 1160px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
}

.drawer {
  position: fixed; inset: 0; z-index: 120;
  visibility: hidden; pointer-events: none;
  overflow: hidden;}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10, 20, 15, .5); opacity: 0; transition: opacity .3s var(--ease); backdrop-filter: blur(2px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0;
  width: min(92vw, 400px); background: var(--paper);
  border-inline-start: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem var(--gutter); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 2; }
.drawer__nav { padding: .8rem var(--gutter) 2rem; list-style: none; margin: 0; }
.drawer__nav > li { border-bottom: 1px solid var(--line-soft); }
.drawer__nav > li:last-child { border-bottom: 0; }
.drawer__nav a { display: block; padding: .85rem 0; font-family: var(--font-display); font-size: 1.22rem; color: var(--ink); text-decoration: none; }
.drawer__nav a:hover, .drawer__nav a.is-active { color: var(--brand); }
.drawer__row { display: flex; align-items: center; justify-content: space-between; }
.drawer__sub { list-style: none; margin: 0; padding: 0 0 .7rem .1rem; display: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { font-family: var(--font-body); font-size: .95rem; padding: .48rem 0 .48rem .95rem; color: var(--ink-3); border-inline-start: 2px solid var(--line); }
.drawer__sub a:hover { color: var(--brand); border-color: var(--brand); }
.drawer__expand { background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: .5rem; display: grid; place-items: center; }
.drawer__expand svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.drawer__expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__foot { margin-top: auto; padding: 1.2rem var(--gutter) 1.6rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-3); }

.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: center; overflow: hidden; color: #fff; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.5s var(--ease), transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 20% 20%, rgba(13, 31, 24, .35), transparent 60%),
    linear-gradient(180deg, rgba(13, 31, 24, .72) 0%, rgba(13, 31, 24, .5) 42%, rgba(13, 31, 24, .88) 100%);
}
.hero__inner { padding-block: clamp(5rem, 12vw, 8rem); max-width: 830px; }
.hero__crest { width: clamp(96px, 13vw, 138px); margin-bottom: 1.6rem; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .45)); }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 1rem;
}
.hero__kicker::before, .hero__kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.hero h1 { color: #fff; font-size: var(--step-5); margin-bottom: .35em; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero__sub { font-size: var(--step-1); color: rgba(255, 255, 255, .88); max-width: 56ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__facts {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(180deg, rgba(10, 22, 17, .0), rgba(10, 22, 17, .5));
  backdrop-filter: blur(6px);
}
.hero__facts ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.hero__facts li { flex: 1 1 160px; padding: 1rem 1.4rem; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.hero__facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.hero__facts b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; line-height: 1.1; }
.hero__facts span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
@media (max-width: 720px) { .hero__facts { display: none; } }

.hero__dots { position: absolute; inset-inline-end: var(--gutter); bottom: clamp(5.5rem, 9vw, 6.5rem); z-index: 3; display: flex; gap: .5rem; }
@media (max-width: 720px) { .hero__dots { bottom: 1.5rem; } }
.hero__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: transparent; cursor: pointer; transition: background .25s, transform .25s; }
.hero__dots button.is-active { background: var(--gold-400); border-color: var(--gold-400); transform: scale(1.25); }

.page-hero {
  position: relative; color: #fff; isolation: isolate;
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem);
  background: var(--pine-800);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .5; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13, 31, 24, .78), rgba(13, 31, 24, .93));
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 62ch; font-size: var(--step-1); }
.page-hero .eyebrow { color: var(--gold-400); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; list-style: none; margin: 0 0 1.2rem; padding: 0; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs li + li::before { content: "/"; margin-inline-end: .45rem; opacity: .45; }

.ridge { display: block; width: 100%; height: clamp(38px, 5vw, 72px); color: var(--paper); margin-bottom: -1px; }
.ridge--alt { color: var(--paper-2); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__body h3 { font-size: var(--step-1); margin: 0; }
.card__body p { color: var(--ink-3); font-size: .94rem; margin: 0; }
.card__meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); font-weight: 600; }
.card__foot { margin-top: auto; padding-top: .4rem; }
.card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card { position: relative; }

.card--flat { background: transparent; border-color: transparent; }
.card--flat:hover { transform: none; box-shadow: none; }

.pinned {
  position: relative;
  background: linear-gradient(150deg, var(--surface), var(--paper-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pinned::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px;
  background: linear-gradient(180deg, var(--gold-500), var(--pine-500));
}
.pinned__pin {
  position: absolute; inset-inline-end: clamp(1.2rem, 3vw, 2.4rem); top: clamp(1.2rem, 3vw, 2rem);
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: color-mix(in srgb, var(--gold-500) 16%, transparent);
  color: var(--gold-600);
}
:root[data-theme="dark"] .pinned__pin { color: var(--gold-400); }
.pinned h2 { margin-bottom: .45em; }
.pinned__sig { margin-top: 1.6rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-style: italic; }
.pinned__sig small { display: block; font-family: var(--font-body); font-style: normal; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-top: .3em; }

.layout-sidebar { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr) 330px; } }
.layout-sidebar > * { min-width: 0; }
.sidebar { display: grid; gap: 1.15rem; position: sticky; top: calc(var(--header-h) + 18px); min-width: 0; }
@media (max-width: 999px) { .sidebar { position: static; } }

.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.widget__head { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line-soft); background: var(--paper-2); }
.widget__head h3 { margin: 0; font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .01em; }
.widget__head svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.widget__body { padding: 1.1rem; }
.widget__foot { padding: .7rem 1.1rem; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--ink-4); display: flex; justify-content: space-between; gap: .5rem; }

.wx { display: grid; gap: 1rem; }
.wx__now { display: flex; align-items: center; gap: 1rem; }
.wx__icon { width: 56px; height: 56px; flex: none; color: var(--brand); }
.wx__temp { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--ink); font-weight: 600; }
.wx__desc { font-size: .9rem; color: var(--ink-3); }
.wx__stats { display: flex; gap: 1.2rem; font-size: .82rem; color: var(--ink-3); flex-wrap: wrap; }
.wx__stats b { color: var(--ink); font-weight: 600; }
.wx__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; border-top: 1px solid var(--line-soft); padding-top: .9rem; }
.wx__day { text-align: center; font-size: .74rem; color: var(--ink-3); }
.wx__day svg { width: 26px; height: 26px; margin: .25rem auto; color: var(--brand); }
.wx__day b { display: block; color: var(--ink); font-size: .82rem; }
.wx__day span { opacity: .65; }
.skeleton { background: linear-gradient(90deg, var(--paper-3) 25%, var(--paper-2) 50%, var(--paper-3) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 6px; color: transparent; }
@keyframes shimmer { to { background-position: -200% 0; } }

.nameday__date { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); margin-bottom: .1em; }
.nameday__sub { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: .9rem; }
.nameday__names { display: flex; flex-wrap: wrap; gap: .4rem; }
.nameday__names span { font-size: .84rem; padding: .3em .75em; border-radius: 100px; background: var(--brand-soft); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); }
.nameday__none { font-size: .9rem; color: var(--ink-3); font-style: italic; }

.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--paper-3); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame--wide { aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 640px) { .map-frame--wide { aspect-ratio: 4 / 3; } }
.map-frame--topo #topo-map { position: absolute; inset: 0; background: var(--paper-3); }
.map-frame--topo .leaflet-popup-content-wrapper, .map-frame--topo .leaflet-popup-tip { background: var(--surface); color: var(--ink); }
.map-frame--topo .leaflet-control-zoom a { color: var(--ink); }

.news-list { display: grid; gap: 1.2rem; }
.news-item {
  display: grid; gap: 1.2rem; align-items: center;
  grid-template-columns: 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
@media (min-width: 620px) { .news-item { grid-template-columns: 230px minmax(0, 1fr); } }
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.news-item__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
@media (min-width: 620px) { .news-item__media { height: 100%; aspect-ratio: auto; min-height: 178px; } }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-item:hover .news-item__media img { transform: scale(1.05); }
.news-item__body { padding: 1.2rem 1.5rem 1.4rem; }
@media (min-width: 620px) { .news-item__body { padding: 1.4rem 1.7rem 1.4rem .2rem; } }
.news-item__body h3 { font-size: var(--step-1); margin: .35rem 0 .4rem; }
.news-item__body h3 a { color: inherit; text-decoration: none; }
.news-item__body h3 a::after { content: ""; position: absolute; inset: 0; }
.news-item__body p { color: var(--ink-3); font-size: .94rem; margin: 0; }
.news-date { display: inline-flex; align-items: center; gap: .45rem; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

.feature { display: grid; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature--reverse .feature__media { order: 2; } }
.feature__media { position: relative; }
.feature__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.feature__media::after {
  content: ""; position: absolute; inset-inline-start: -14px; inset-block-start: -14px;
  width: 110px; height: 110px; border: 1px solid var(--gold-500); border-radius: var(--radius-lg);
  border-inline-end: 0; border-block-end: 0; opacity: .55; pointer-events: none;
}

.timeline { position: relative; margin: 0; padding: 0 0 0 2.1rem; list-style: none; }
.timeline::before { content: ""; position: absolute; inset-block: .6rem; inset-inline-start: 6px; width: 2px; background: linear-gradient(180deg, var(--gold-500), var(--pine-500), transparent); border-radius: 2px; }
.timeline li { position: relative; padding-bottom: 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; inset-inline-start: -2.1rem; top: .55rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); line-height: 1.2; margin-bottom: .15em; }
.timeline p { margin: 0; font-size: .95rem; color: var(--ink-3); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
th, td { padding: .8rem 1rem; text-align: start; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
thead th { background: var(--paper-2); font-weight: 600; color: var(--ink); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--brand-soft); }

.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); }
.chart-card figcaption { font-size: .84rem; color: var(--ink-4); margin-top: .9rem; }

.places { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); list-style: none; margin: 0; padding: 0; }
.place {
  position: relative; padding: 1.15rem 1.25rem 1.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.place:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold-500) 45%, var(--line)); box-shadow: var(--shadow-sm); }
.place b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.place span { display: block; font-size: .9rem; color: var(--ink-3); margin-top: .3em; }
.place__num { position: absolute; top: .8rem; inset-inline-end: 1rem; font-size: .72rem; font-weight: 700; color: var(--ink-4); opacity: .5; letter-spacing: .06em; }

.board { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.board .avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .95rem; border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); }
.board b { display: block; color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.board span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.board li.is-lead { border-color: color-mix(in srgb, var(--gold-500) 45%, var(--line)); background: linear-gradient(140deg, var(--surface), color-mix(in srgb, var(--gold-500) 7%, var(--surface))); }

.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--paper-3); }
.gallery img { width: 100%; transition: transform .6s var(--ease), filter .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 2.4rem 1rem .9rem;
  color: #fff; font-size: .86rem;
  background: linear-gradient(180deg, transparent, rgba(10, 22, 17, .82));
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: translateY(0); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(8, 16, 12, .94); opacity: 0; visibility: hidden; transition: opacity .3s; backdrop-filter: blur(6px); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(94vw, 1250px); max-height: 82vh; border-radius: 8px; box-shadow: 0 40px 90px rgba(0, 0, 0, .6); }
.lightbox__cap { color: #cfdcd4; font-size: .9rem; text-align: center; margin-top: 1rem; max-width: 60ch; padding-inline: 1rem; }
.lightbox__btn { position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.lightbox__close { top: 1.5rem; inset-inline-end: 1.5rem; }
.lightbox__prev { inset-inline-start: clamp(.6rem, 3vw, 2rem); top: 50%; margin-top: -24px; }
.lightbox__next { inset-inline-end: clamp(.6rem, 3vw, 2rem); top: 50%; margin-top: -24px; }
.lightbox svg { width: 20px; height: 20px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-bar button {
  font: 600 .86rem/1 var(--font-body);
  padding: .68em 1.15em; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.filter-bar button:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.filter-bar button.is-on { background: var(--pine-600); border-color: var(--pine-600); color: #fff; }
:root[data-theme="dark"] .filter-bar button.is-on { background: var(--pine-500); border-color: var(--pine-500); }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper-3); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.empty-state {
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem); text-align: center; background: var(--paper-2);
}
.empty-state svg { width: 44px; height: 44px; color: var(--ink-4); margin: 0 auto 1rem; }
.empty-state h3 { margin-bottom: .4em; }
.empty-state p { color: var(--ink-3); max-width: 52ch; margin-inline: auto; }

.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.acc details { border-bottom: 1px solid var(--line-soft); }
.acc details:last-child { border-bottom: 0; }
.acc summary { padding: 1.05rem 1.3rem; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: background .2s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--brand-soft); }
.acc summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); line-height: 1; transition: transform .25s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__body { padding: 0 1.3rem 1.3rem; color: var(--ink-3); font-size: .95rem; }

.quote {
  position: relative; padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 3rem);
  border-inline-start: 3px solid var(--gold-500);
  background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.42; color: var(--ink); font-style: italic;
}
.quote cite { display: block; margin-top: 1rem; font: 600 .78rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); font-style: normal; }

.author-box {
  display: flex; gap: 1.3rem; align-items: center;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; margin: 1.8rem 0 2.4rem;
}
.author-box__photo { width: 92px; height: 116px; object-fit: cover; border-radius: 8px; flex: none; box-shadow: var(--shadow-sm); }
.author-box__name { font-family: var(--font-display); font-size: 1.22rem; color: var(--ink); margin: 0 0 .35em; font-weight: 600; }
.author-box__bio { margin: 0; font-size: .92rem; color: var(--ink-3); line-height: 1.65; }
@media (max-width: 520px) { .author-box { flex-direction: column; text-align: center; } }

.folk-song {
  font-family: var(--font-display); font-style: italic;
  background: var(--paper-2); border-inline-start: 3px solid var(--gold-500);
  padding: 1.1rem 1.5rem; margin: 1.7rem 0; line-height: 1.75; color: var(--ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.02rem;
}
.folk-song p { margin: 0 0 .25em; }
.folk-song p:last-child { margin-bottom: 0; }
.folk-song + .folk-song { margin-top: -1rem; }

.archive-note {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--brand-soft); border: 1px dashed color-mix(in srgb, var(--brand) 32%, transparent);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 2rem 0; font-size: .92rem; color: var(--ink-2);
}
.archive-note svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: .1em; }

.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field small { font-size: .78rem; color: var(--ink-4); }
.field input[type="file"] {
  padding: .6rem .8rem;
  font-size: .88rem;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  margin-inline-end: .9rem;
  padding: .5em 1em;
  font: 600 .82rem/1 var(--font-body);
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.field input[type="file"]::file-selector-button:hover { background: var(--brand); color: #fff; }
.form__row { display: grid; gap: 1.05rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form__note { font-size: .84rem; color: var(--ink-4); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.05rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list .ico { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: .18em; font-weight: 600; }
.contact-list a, .contact-list span { color: var(--ink); font-size: 1rem; text-decoration: none; }
.contact-list a:hover { color: var(--brand); }

.cta-band { position: relative; overflow: hidden; background: var(--pine-800); color: #cfdcd4; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background: url("../img/photos/agios-dimitrios-02.jpg") center/cover;
}
.cta-band__inner { display: grid; gap: 1.6rem; align-items: center; padding-block: clamp(2.8rem, 6vw, 4.6rem); }
@media (min-width: 860px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 58ch; }

.site-footer { background: var(--pine-900); color: #9db3a7; font-size: .92rem; }
.site-footer a { color: #cfe0d6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer__grid { display: grid; gap: 2.4rem; padding-block: clamp(3rem, 6vw, 4.6rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1060px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; } }
.footer__brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.footer__brand img, .footer__brand svg { width: 54px; height: 54px; }
.footer__brand b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: #fff; line-height: 1.15; }
.footer__brand span { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: #7f978a; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.05rem; font-weight: 600; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between; align-items: center; font-size: .82rem; color: #7f978a; }
.socials { display: flex; gap: .55rem; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s, transform .2s; }
.socials a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.to-top {
  position: fixed; inset-inline-end: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pine-600); color: #fff; border: 0; cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-600); }
.to-top svg { width: 18px; height: 18px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__slide { transition: opacity .4s linear; transform: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .06s !important; }
}

.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; font-size: var(--step-1); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose figure { margin: 2rem 0; }
.prose figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.prose figcaption { font-size: .84rem; color: var(--ink-4); margin-top: .6rem; text-align: center; font-style: italic; }
.prose .sources { font-size: .84rem; color: var(--ink-4); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; }
.prose .sources a { color: var(--ink-3); }

.note { padding: 1.05rem 1.25rem; border-radius: var(--radius); background: var(--brand-soft); border: 1px dashed color-mix(in srgb, var(--brand) 32%, transparent); font-size: .93rem; color: var(--ink-2); }
.note strong { color: var(--brand); }
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.tag-list a { font-size: .85rem; padding: .35em .85em; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: all .2s; }
.tag-list a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-row div { background: var(--surface); padding: 1.2rem 1.3rem; }
.stat-row b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1.1; }
.stat-row span { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.print-only { display: none; }
@media print {
  .site-header, .topbar, .site-footer, .to-top, .hero__dots, .drawer { display: none !important; }
  body { background: #fff; color: #000; }
}
