@charset "utf-8";

/* ==========================================================================
   Squamish Lil'wat Cultural Centre — Design System
   "Ochre & Cedar": an editorial museum catalogue that behaves like a living
   culture. Brand red as the single saturated note, warm paper, deep plum.
   Signature device: the woven band — a stepped basket motif from the logo,
   repeated as the site's connective tissue.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Petrona";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/petrona-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Petrona";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/petrona-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/sourcesans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/sourcesans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand palette (from slcc.ca Elementor kit — non-negotiable) */
  --red: #c72127;
  --red-deep: #b5121b;
  --red-bright: #d8232a;
  --orange: #f6861f;
  --plum: #160f29;
  --ink: #221f20;
  --greige: #eae8e5;
  --paper: #f8f7f5;
  --white: #ffffff;
  --muted: #676773;

  /* Derived, tinted toward the brand hue */
  --line: rgba(22, 15, 41, 0.14);
  --line-soft: rgba(22, 15, 41, 0.08);
  --line-invert: rgba(255, 255, 255, 0.22);
  --plum-80: rgba(22, 15, 41, 0.8);
  --greige-deep: #dedbd6;
  --sand: #f2efe9;

  --display: "Petrona", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Fluid type scale — ratio ≥ 1.25 */
  --fs-display: clamp(2.5rem, 5.4vw, 4.7rem);
  --fs-h1: clamp(2.25rem, 4.6vw, 3.9rem);
  --fs-h2: clamp(1.85rem, 3.4vw, 2.85rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.6rem);
  --fs-h4: clamp(1.08rem, 1.3vw, 1.22rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-label: 0.72rem;

  /* 4pt spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1280px;
  --max-narrow: 760px;
  --radius: 2px;

  --shadow-1: 0 1px 2px rgba(22, 15, 41, 0.06), 0 8px 24px -12px rgba(22, 15, 41, 0.18);
  --shadow-2: 0 24px 60px -28px rgba(22, 15, 41, 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 var(--s-4);
  color: var(--plum);
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.012em;
}
h4 {
  font-size: var(--fs-h4);
  letter-spacing: -0.008em;
}
p {
  margin: 0 0 var(--s-4);
  max-width: 68ch;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--red-deep);
}
ul,
ol {
  margin: 0 0 var(--s-4);
  padding-left: 1.15em;
  max-width: 66ch;
}
li {
  margin-bottom: var(--s-2);
}
li::marker {
  color: var(--red);
}
strong,
b {
  font-weight: 600;
  color: var(--plum);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s-7) 0;
}
::selection {
  background: var(--red);
  color: #fff;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 1px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--plum);
  color: #fff;
  padding: 14px 20px;
  font-weight: 600;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  color: #fff;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: var(--max-narrow);
}
.section {
  padding-block: clamp(52px, 7vw, 96px);
  position: relative;
}
.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}
.section--paper {
  background: var(--paper);
}
.section--white {
  background: var(--white);
}
.section--greige {
  background: var(--greige);
}
.section--sand {
  background: var(--sand);
}
.section--plum {
  background: var(--plum);
  color: rgba(255, 255, 255, 0.86);
}
.section--plum h1,
.section--plum h2,
.section--plum h3,
.section--plum h4,
.section--plum strong {
  color: #fff;
}
.section--plum a {
  color: #fff;
}
.section--flush {
  padding-block: 0;
}
.grid {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
}
.grid > *,
.split > *,
.panels > *,
+.article-layout > * {
  min-width: 0;
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split--wide-left {
  grid-template-columns: 1.25fr 0.75fr;
}
.split--wide-right {
  grid-template-columns: 0.8fr 1.2fr;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

/* ---------- Signature: woven band ---------- */
.weave {
  height: 11px;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 1h4v4h4v4h4V5h4' fill='none' stroke='%23c72127' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.85;
}
.weave--short {
  width: 64px;
  opacity: 1;
}
.weave--invert {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 1h4v4h4v4h4V5h4' fill='none' stroke='%23f6861f' stroke-width='1.4'/%3E%3C/svg%3E");
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Eyebrow / plate label ---------- */
.kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-4);
}
.kicker__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0;
  color: var(--red);
  text-transform: none;
}
.kicker--light {
  color: rgba(255, 255, 255, 0.72);
}
.kicker--light .kicker__num {
  color: var(--orange);
}
.eyebrow {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: #3d3648;
  max-width: 62ch;
}
.section--plum .lede {
  color: rgba(255, 255, 255, 0.8);
}
.small {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.015em;
  padding: 15px 26px;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 1px 0 rgba(22, 15, 41, 0.08);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--red-bright);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(199, 33, 39, 0.7);
}
.btn--dark {
  background: var(--plum);
  color: #fff;
}
.btn--dark:hover {
  background: #241a3d;
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--plum);
  border-color: rgba(22, 15, 41, 0.28);
}
.btn--ghost:hover {
  border-color: var(--plum);
  background: rgba(22, 15, 41, 0.04);
  color: var(--plum);
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}
.btn--sm {
  padding: 10px 18px;
  min-height: 40px;
  font-size: 0.875rem;
}
.btn--block {
  width: 100%;
}
.btn__arrow {
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow:hover {
  border-bottom-color: currentColor;
}
.link-arrow svg {
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(3px);
}
.link-arrow--light {
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
  color: #fff;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 15, 41, 0.55), rgba(22, 15, 41, 0));
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.site-header.is-solid {
  background: var(--plum);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.8);
}
.site-header.is-solid::before {
  opacity: 0;
}
.site-header__inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
}
.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.brand__name {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: #fff;
  white-space: nowrap;
}
.brand__sub {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  white-space: nowrap;
}
.site-header.is-solid .brand__mark {
  width: 38px;
  height: 38px;
}
.header__book-mobile {
  display: none;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.1vw, 18px);
}
.nav__item {
  position: relative;
}
.nav__link,
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 10px 2px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.nav__link::after,
.nav__toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after,
.nav__toggle:hover::after,
.nav__item:focus-within .nav__toggle::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav__chev {
  width: 9px;
  height: 9px;
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.nav__item:hover .nav__chev,
.nav__item:focus-within .nav__chev {
  transform: rotate(180deg);
}
.nav__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: -18px;
  min-width: 250px;
  background: var(--plum);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
  z-index: 10;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__panel a {
  display: block;
  padding: 9px 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 1px;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.nav__panel a:hover,
.nav__panel a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.nav__panel-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 10px 12px 4px;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: clamp(8px, 1.5vw, 24px);
}
.header__phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.header__phone:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background-color 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
body.nav-open .nav-toggle span {
  background: transparent;
}
body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--plum);
  color: #fff;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
}
body.nav-open .drawer {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.drawer__group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.drawer__toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
  padding: 18px 0;
  cursor: pointer;
  text-align: left;
}
.drawer__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.drawer__group.is-open .drawer__sub {
  grid-template-rows: 1fr;
}
.drawer__sub > div {
  overflow: hidden;
}
.drawer__sub a {
  display: block;
  padding: 9px 0 9px 14px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.98rem;
}
.drawer__sub a:hover {
  color: #fff;
}
.drawer__cta {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.drawer__meta {
  margin-top: 28px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  display: grid;
  gap: 6px;
}
.drawer__meta a {
  color: #fff;
  text-decoration: none;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(40px, 7vw, 88px);
  background: var(--plum);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: heroIn 1.6s var(--ease) both;
}
@keyframes heroIn {
  from {
    transform: scale(1.06);
    opacity: 0.4;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(22, 15, 41, 0.62) 0%,
      rgba(22, 15, 41, 0.18) 34%,
      rgba(22, 15, 41, 0.62) 74%,
      rgba(22, 15, 41, 0.9) 100%
    ),
    linear-gradient(95deg, rgba(22, 15, 41, 0.72) 0%, rgba(22, 15, 41, 0) 62%);
}
.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  color: #fff;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--s-5);
}
.hero__eyebrow .weave {
  width: 44px;
  flex: 0 0 44px;
}
.hero__eyebrow span {
  white-space: nowrap;
}
@media (max-width: 520px) {
  .hero__eyebrow .weave {
    display: none;
  }
  .hero__eyebrow span {
    white-space: normal;
  }
}
.hero__title {
  font-size: var(--fs-display);
  line-height: 1.0;
  letter-spacing: -0.026em;
  color: #fff;
  max-width: 16ch;
  margin-bottom: var(--s-5);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.18);
}
.hero__lede {
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 54ch;
  margin-bottom: var(--s-6);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.hero__scroll svg {
  animation: nudge 2.4s ease-in-out infinite;
}
@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 104px));
  padding-bottom: clamp(44px, 6vw, 76px);
  background: var(--plum);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(22, 15, 41, 0.9) 0%,
    rgba(22, 15, 41, 0.72) 46%,
    rgba(22, 15, 41, 0.42) 100%
  );
}
.page-hero--plain::after {
  background: linear-gradient(
    120deg,
    rgba(22, 15, 41, 0.96) 0%,
    rgba(22, 15, 41, 0.86) 60%,
    rgba(22, 15, 41, 0.78) 100%
  );
}
.page-hero__inner {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-hero h1 {
  color: #fff;
  max-width: 20ch;
  font-size: var(--fs-h1);
  margin-bottom: var(--s-4);
}
.page-hero__lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  max-width: 58ch;
  margin-bottom: var(--s-5);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.breadcrumb li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--plum);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.trustbar__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 13px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  justify-content: space-between;
}
.trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trustbar svg {
  color: var(--orange);
  flex: 0 0 auto;
}

/* ---------- Pathway cards ---------- */
.pathways {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.pathway {
  position: relative;
  display: block;
  grid-column: span 3;
  min-height: 340px;
  padding: 26px;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--plum);
}
.pathway:nth-child(1) {
  grid-column: span 7;
  min-height: 420px;
}
.pathway:nth-child(2) {
  grid-column: span 5;
  min-height: 420px;
}
.pathway:nth-child(3) {
  grid-column: span 5;
  min-height: 380px;
}
.pathway:nth-child(4) {
  grid-column: span 7;
  min-height: 380px;
}
.pathway img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}
.pathway::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(22, 15, 41, 0.1) 0%,
    rgba(22, 15, 41, 0.58) 46%,
    rgba(22, 15, 41, 0.94) 100%
  );
  transition: opacity 0.4s var(--ease);
}
.pathway:hover img {
  transform: scale(1.045);
}
.pathway__body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.pathway__label {
  font-size: 0.68rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}
.pathway__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
}
.pathway__text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 4px 0 0;
  max-width: 34ch;
}
.pathway__arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.pathway:hover .pathway__arrow {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(-45deg);
}

/* ---------- Cards (generic) ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
  border-color: var(--line);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--greige);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.04);
}
.card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.card__title {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.14;
  margin: 0;
  color: var(--plum);
}
.card__title a {
  color: inherit;
  text-decoration: none;
}
.card__text {
  font-size: 0.9375rem;
  color: #4a4453;
  margin: 0;
  max-width: 42ch;
}
.card__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--plum);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 1px;
  background: var(--greige);
  color: #4a4453;
}
.badge--red {
  background: rgba(199, 33, 39, 0.1);
  color: var(--red-deep);
}
.badge--plum {
  background: var(--plum);
  color: #fff;
}
.badge--outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}
.card__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

/* ---------- Feature band ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  background: var(--plum);
  color: #fff;
  overflow: hidden;
}
.feature__media {
  position: relative;
  min-height: 420px;
}
.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature__body {
  padding: clamp(36px, 6vw, 84px) clamp(24px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-4);
}
.feature__body h2 {
  color: #fff;
  font-size: var(--fs-h2);
  max-width: 18ch;
}
.feature__body p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}

/* ---------- Facts / at a glance ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  margin: 0;
}
.facts > div {
  background: var(--white);
  padding: 18px 18px 20px;
  box-shadow: inset -1px -1px 0 var(--line);
}
.facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--plum);
}
.section--plum .facts {
  background: rgba(22, 15, 41, 0.2);
  border-color: rgba(255, 255, 255, 0.16);
}
.section--plum .facts > div {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset -1px -1px 0 rgba(255, 255, 255, 0.14);
}
.feature .facts {
  background: rgba(22, 15, 41, 0.25);
  border-color: rgba(255, 255, 255, 0.18);
}
.feature .facts > div {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset -1px -1px 0 rgba(255, 255, 255, 0.14);
}
.feature .facts dt {
  color: rgba(255, 255, 255, 0.55);
}
.feature .facts dd {
  color: #fff;
}
.section--plum .facts dt {
  color: rgba(255, 255, 255, 0.6);
}
.section--plum .facts dd {
  color: #fff;
}

/* ---------- Booking panel ---------- */
.booking {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.booking__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.booking__amount {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--plum);
  letter-spacing: -0.02em;
}
.booking__unit {
  font-size: 0.85rem;
  color: var(--muted);
}
.booking__note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 16px;
}
.booking__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  display: grid;
  gap: 9px;
  font-size: 0.875rem;
}
.booking__list li {
  display: flex;
  gap: 9px;
  margin: 0;
  color: #4a4453;
}
.booking__list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--red);
}
.booking__sticky {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

/* ---------- Quote / reviews ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.quote__stars {
  color: var(--orange);
  letter-spacing: 2px;
  font-size: 0.9rem;
}
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.42;
  color: var(--plum);
  letter-spacing: -0.01em;
}
.quote figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 520px;
}
table.data caption {
  text-align: left;
  padding: 16px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
table.data th,
table.data td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.data thead th {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: var(--sand);
}
table.data tbody tr:last-child td {
  border-bottom: 0;
}
table.data td strong {
  font-weight: 600;
}
table.data .num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- Accordion ---------- */
.accordion {
  border-top: 1px solid var(--line);
}
.accordion__item {
  border-bottom: 1px solid var(--line);
}
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: 0;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.3;
  color: var(--plum);
  letter-spacing: -0.01em;
}
.accordion__btn:hover {
  color: var(--red);
}
.accordion__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  position: relative;
  margin-top: 4px;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--red);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.accordion__icon::before {
  top: 10px;
  left: 0;
  width: 22px;
  height: 1.5px;
}
.accordion__icon::after {
  left: 10px;
  top: 0;
  width: 1.5px;
  height: 22px;
}
.accordion__item.is-open .accordion__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}
.accordion__panel > div {
  overflow: hidden;
}
.accordion__panel p,
.accordion__panel ul {
  margin-bottom: 0;
  padding-bottom: 24px;
  color: #4a4453;
  max-width: 72ch;
}

/* ---------- Article / prose ---------- */
.prose {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: #322c3d;
}
.prose > * + * {
  margin-top: var(--s-4);
}
.prose h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
}
.prose h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.42rem);
  margin-top: var(--s-6);
  margin-bottom: var(--s-2);
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 8px;
}
.prose blockquote {
  margin: var(--s-6) 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--plum);
}
.prose img {
  border-radius: var(--radius);
  margin-block: var(--s-5);
}
.prose figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
}
.prose a {
  text-decoration: underline;
}

/* ---------- Layout: article with sidebar ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 24px;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--greige);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery figure:hover img {
  transform: scale(1.03);
}
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(22, 15, 41, 0.82), rgba(22, 15, 41, 0));
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.4;
}
.g-4 {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}
.g-6 {
  grid-column: span 6;
  aspect-ratio: 16 / 10;
}
.g-8 {
  grid-column: span 8;
  aspect-ratio: 16 / 9;
}
.g-3 {
  grid-column: span 3;
  aspect-ratio: 1 / 1;
}
.g-12 {
  grid-column: span 12;
  aspect-ratio: 21 / 9;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--plum);
  color: #fff;
  padding-block: clamp(52px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(22, 15, 41, 0.94) 0%,
    rgba(22, 15, 41, 0.78) 55%,
    rgba(22, 15, 41, 0.5) 100%
  );
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 {
  color: #fff;
  max-width: 22ch;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}
.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: end;
  width: 100%;
  max-width: 300px;
}

/* ---------- Split panels (café / shop) ---------- */
.panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  padding: 32px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
}
.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--ease);
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(22, 15, 41, 0) 22%,
    rgba(22, 15, 41, 0.55) 62%,
    rgba(22, 15, 41, 0.92) 100%
  );
}
.panel:hover img {
  transform: scale(1.04);
}
.panel h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 6px;
}
.panel p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9375rem;
  max-width: 38ch;
  margin: 0;
}

/* ---------- Info list ---------- */
.infolist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.infolist li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
  font-size: 0.9375rem;
}
.infolist li:first-child {
  border-top: 1px solid var(--line-soft);
}
.infolist dt,
.infolist .label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.infolist .value {
  color: #322c3d;
}
.section--plum .infolist li {
  border-color: rgba(255, 255, 255, 0.16);
}
.section--plum .infolist .value {
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4453;
}
.field .hint {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--plum);
  background: var(--white);
  border: 1px solid rgba(22, 15, 41, 0.24);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 46px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(199, 33, 39, 0.14);
}
.field--full {
  grid-column: 1 / -1;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.form__note {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 46ch;
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #4a4453;
}
.checkbox input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 3px;
  accent-color: var(--red);
}

/* ---------- Tabs / filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-6);
}
.filter {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: #4a4453;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.filter:hover {
  border-color: var(--plum);
  color: var(--plum);
}
.filter[aria-pressed="true"] {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}

/* ---------- Notice ---------- */
.notice {
  background: var(--sand);
  border: 1px solid var(--line);
  padding: 18px 20px;
  font-size: 0.9rem;
  color: #4a4453;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: var(--radius);
}
.notice svg {
  flex: 0 0 auto;
  color: var(--red);
  margin-top: 2px;
}
.notice strong {
  display: block;
  margin-bottom: 2px;
}
.notice--red {
  background: rgba(199, 33, 39, 0.06);
  border-color: rgba(199, 33, 39, 0.22);
}

/* ---------- Stat row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.stats > div {
  background: var(--paper);
  padding: 22px 20px;
}
.stats .n {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 8px;
}
.stats .l {
  font-size: 0.82rem;
  color: #4a4453;
  line-height: 1.4;
  display: block;
}
.section--plum .stats {
  background: rgba(255, 255, 255, 0.14);
}
.section--plum .stats > div {
  background: var(--plum);
}
.section--plum .stats .l {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 30px 28px;
  margin: 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}
.timeline .year {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--plum);
  display: block;
  margin-bottom: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  padding-top: 0;
}
.site-footer__top {
  padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: clamp(24px, 3.4vw, 48px);
}
.site-footer__brand img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}
.site-footer__brand p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  max-width: 34ch;
  line-height: 1.6;
}
.site-footer h3 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 16px;
  font-weight: 600;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__contact {
  display: grid;
  gap: 10px;
}
.site-footer__contact a {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.site-footer__seo {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 26px;
}
.site-footer__seo p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 100ch;
  line-height: 1.65;
  margin: 0;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 20px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
.footer-attribution {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-attribution a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.newsletter input {
  flex: 1 1 160px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 0.9rem;
  border-radius: var(--radius);
  min-height: 44px;
}
.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.newsletter input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.newsletter button {
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 44px;
  transition: background-color 0.2s var(--ease);
}
.newsletter button:hover {
  background: var(--red-bright);
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -8px 24px -18px rgba(22, 15, 41, 0.6);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.sticky-cta.is-visible {
  transform: none;
}
.sticky-cta__price {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}
.sticky-cta__price strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--plum);
}

/* ---------- Consent ---------- */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: var(--plum);
  color: rgba(255, 255, 255, 0.86);
  padding: 20px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 980px;
  margin-inline: auto;
  font-size: 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.consent.is-visible {
  display: flex;
}
.consent p {
  margin: 0;
  max-width: 62ch;
  line-height: 1.5;
}
.consent a {
  color: #fff;
}
.consent__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Utilities ---------- */
.center {
  text-align: center;
}
.center p,
.center .lede {
  margin-inline: auto;
}
.mt-0 {
  margin-top: 0;
}
.mt-4 {
  margin-top: var(--s-4);
}
.mt-5 {
  margin-top: var(--s-5);
}
.mt-6 {
  margin-top: var(--s-6);
}
.mt-7 {
  margin-top: var(--s-7);
}
.mb-0 {
  margin-bottom: 0;
}
.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.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;
}
.nowrap {
  white-space: nowrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .site-footer__top {
    grid-template-columns: 1.2fr 1fr 1fr;
    row-gap: 36px;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
  .nav {
    gap: 6px;
  }
  .nav__link,
  .nav__toggle {
    font-size: 0.82rem;
  }
  .header__phone {
    display: none;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 70px;
  }
  .nav,
  .header__actions .btn--desktop {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: 0;
  }
  .header__actions {
    margin-left: auto;
    gap: 10px;
  }
  .header__book-mobile {
    display: inline-flex;
    padding: 9px 14px;
    min-height: 40px;
    font-size: 0.8rem;
  }
  .pathway,
  .pathway:nth-child(1),
  .pathway:nth-child(2),
  .pathway:nth-child(3),
  .pathway:nth-child(4) {
    grid-column: span 6;
    min-height: 320px;
  }
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quotes {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-aside {
    position: static;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature__media {
    min-height: 320px;
  }
  .split,
  .split--wide-left,
  .split--wide-right {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-band__inner {
    grid-template-columns: 1fr;
  }
  .cta-band__actions {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .panels {
    grid-template-columns: 1fr;
  }
  .panel {
    min-height: 360px;
  }
  .hero {
    min-height: 78vh;
  }
  .hero__scroll {
    display: none;
  }
  .sticky-cta {
    display: flex;
  }
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .g-4,
  .g-3 {
    grid-column: span 6;
  }
  .g-8,
  .g-6 {
    grid-column: span 12;
  }
  .infolist li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  :root {
    --fs-body: 1rem;
  }
  .pathway,
  .pathway:nth-child(1),
  .pathway:nth-child(2),
  .pathway:nth-child(3),
  .pathway:nth-child(4) {
    grid-column: span 12;
    min-height: 280px;
  }
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn,
  .cta-band__actions .btn {
    width: 100%;
  }
  .hero__title {
    max-width: 100%;
  }
  .site-footer__top {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
  }
  .gallery {
    gap: 6px;
  }
  .brand__mark {
    width: 34px;
    height: 34px;
  }
  .brand__name {
    font-size: 0.98rem;
  }
  .brand__sub {
    font-size: 0.44rem;
    letter-spacing: 0.14em;
  }
  table.data {
    min-width: 440px;
  }
}

/* Print */
@media print {
  .site-header,
  .drawer,
  .sticky-cta,
  .consent,
  .hero__scroll {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .page-hero,
  .section--plum,
  .cta-band {
    background: #fff !important;
    color: #000 !important;
  }
  .page-hero h1,
  .section--plum h2,
  .cta-band h2 {
    color: #000 !important;
  }
}

/* --------------------------------------------------------------------------
   Archive list (journal)
   -------------------------------------------------------------------------- */
.archive {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.archive__year {
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--line);
}
.archive__year > h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.archive__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 0;
}
.archive__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(22, 15, 41, 0.07);
}
.archive__list li:last-child { border-bottom: 0; }
.archive__list a {
  color: var(--plum);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.4;
  border-bottom: 1px solid transparent;
}
.archive__list a:hover { border-bottom-color: var(--red); color: var(--red-deep); }
.archive__list span { flex: 0 0 auto; font-size: 0.78rem; letter-spacing: 0.02em; }
@media (max-width: 640px) {
  .archive__list li { flex-direction: column; gap: 2px; }
  .archive__list span { font-size: 0.72rem; }
}

/* spacing helpers */
.mt-3 { margin-top: 12px; }

.archive__list { max-width: none; padding-left: 0; margin-left: 0; }
@media (min-width: 900px) {
  .archive__list { columns: 2; column-gap: clamp(32px, 5vw, 72px); }
  .archive__list li { break-inside: avoid; }
}
.archive__year { width: 100%; }

/* ---------- Overflow safety (mobile) ---------- */
img, svg, video { max-width: 100%; }
.split > *, .grid > *, .form__row > *, .facts > div { min-width: 0; }
.table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 520px; }
@media (max-width: 560px) {
  .table-wrap table { min-width: 440px; }
}
.page-hero__lede:empty { display: none; }
