@charset "UTF-8";

/*
 * Дубравушка WordPress Theme — Styles
 * Tailwind-inspired CSS converted from the Next.js version.
 *
 * Table of contents:
 * 1. Custom properties (theme tokens)
 * 2. Base / reset
 * 3. Layout helpers (.container-x)
 * 4. Typography (h1–h6, .prose-d, .font-display, headings)
 * 5. Buttons (.btn, .btn-gold, .btn-teal, .btn-ghost*)
 * 6. Links (.link-arrow)
 * 7. Navigation (header, mega-menu, mobile menu)
 * 8. Footer
 * 9. Hero section
 * 10. Home sections (Facts, Intro, Conditions, DayTimeline, Reasons, Quote, Leisure, Reviews, Pricing, Team, Safety, Camp, News, FinalCta)
 * 11. Sidebar
 * 12. Cards & grids (news cards, people cards, gallery)
 * 13. Content .prose-d (full migrated HTML)
 * 14. Form fields (.field)
 * 15. Excursion form
 * 16. Lightbox
 * 17. Parallax, reveal animations
 * 18. Video embed
 * 19. Utilities
 * 20. Accessibility & reduced motion
 */

/* ============================================================
   1. Custom properties
   ============================================================ */
:root {
  --color-teal: #007c93;
  --color-teal-deep: #00505f;
  --color-teal-night: #0b2e36;
  --color-gold: #e4bf73;
  --color-gold-soft: #f3e6c6;
  --color-gold-ink: #7a5a1c;
  --color-paper: #f6f3ec;
  --color-mist: #e4efef;
  --color-ink: #13262b;
  --color-ink-soft: #4a5c61;
  --color-line: #d5dcda;
  --color-white: #ffffff;

  --font-display: "Cormorant", "Times New Roman", serif;
  --font-sans: "Golos Text", system-ui, sans-serif;

  --radius-card: 24px;
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 76px;
  --container-pad: 20px;
}

@media (min-width: 768px) {
  :root {
    --container-pad: 40px;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 84px;
  }
}

/* ============================================================
   2. Base / reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote {
  margin: 0;
}

/* Cormorant defaults to old-style figures; times and prices need lining ones */
h1, h2, h3, .font-display {
  font-variant-numeric: lining-nums;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--color-gold);
  color: var(--color-ink);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.sr-only.focus-visible:focus,
.sr-only:focus-visible {
  position: fixed;
  width: auto;
  height: auto;
  padding: 12px 20px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  border-radius: 999px;
  z-index: 70;
}

/* ============================================================
   3. Layout helpers
   ============================================================ */
.container-x {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ============================================================
   4. Typography
   ============================================================ */
.font-display {
  font-family: var(--font-display);
}

.h-section {
  font-size: clamp(38px, 5.2vw, 68px);
}

.lining-nums {
  font-variant-numeric: lining-nums;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.split-heading {
  display: block;
}

/* ============================================================
   5. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out-soft);
  cursor: pointer;
  user-select: none;
  max-width: 100%;
  border: none;
  text-decoration: none;
}

@media (max-width: 340px) {
  .btn {
    white-space: normal;
    line-height: 1.2;
    padding: 10px 20px;
    text-align: center;
  }
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-ink);
}

.btn-gold:hover {
  background: #ebcb88;
}

.btn-teal {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn-teal:hover {
  background: var(--color-teal-deep);
}

.btn-ghost-light {
  color: var(--color-white);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.6);
}

.btn-ghost-light:hover {
  background: rgb(255 255 255 / 0.12);
}

.btn-ghost {
  color: var(--color-teal-deep);
  box-shadow: inset 0 0 0 1.5px var(--color-teal);
}

.btn-ghost:hover {
  background: var(--color-mist);
}

/* ============================================================
   6. Links
   ============================================================ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  color: var(--color-teal-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color 0.2s;
}

.link-arrow:hover {
  text-decoration-color: currentColor;
}

/* ============================================================
   7. Navigation (header, mega-menu, mobile)
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.site-header.solid {
  background: rgb(246 243 236 / 0.95);
  color: var(--color-ink);
  box-shadow: 0 1px 0 var(--color-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header.light {
  color: var(--color-white);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 1.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-logo img {
  width: 46px;
  height: 46px;
}

@media (min-width: 1024px) {
  .header-logo img {
    width: 52px;
    height: 52px;
  }
}

.header-logo-text {
  line-height: 1;
}

.header-logo-title {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.header-logo-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
}

.light .header-logo-sub {
  color: rgb(255 255 255 / 0.8);
}

.solid .header-logo-sub {
  color: var(--color-ink-soft);
}

/* Desktop navigation */
.desktop-nav {
  display: none;
  margin-left: auto;
}

@media (min-width: 1240px) {
  .desktop-nav {
    display: block;
  }
}

.desktop-nav-list {
  display: flex;
  align-items: center;
}

.desktop-nav-item {
  position: relative;
}

.desktop-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: inherit;
  transition: background-color 0.2s;
}

.desktop-nav-btn:hover {
  background: rgb(0 0 0 / 0.05);
}

.desktop-nav-btn .arrow {
  transition: transform 0.2s;
}

.desktop-nav-btn .arrow.open {
  transform: rotate(180deg);
}

.desktop-nav-link {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.desktop-nav-link:hover {
  background: rgb(0 0 0 / 0.05);
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  padding-top: 12px;
  transition: opacity 0.2s, transform 0.2s;
}

.mega-menu:not(.open) {
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
}

.mega-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  display: grid;
  gap: 0 1.5rem;
  border-radius: 22px;
  background: var(--color-white);
  padding: 20px;
  color: var(--color-ink);
  box-shadow: 0 18px 50px -20px rgb(11 46 54 / 0.35);
  ring: 1px solid rgb(0 0 0 / 0.05);
}

.mega-menu-inner.cols-2 {
  width: 560px;
  grid-template-columns: 1fr 1fr;
}

.mega-menu-inner.cols-1 {
  width: 300px;
  grid-template-columns: 1fr;
}

.mega-menu-link {
  display: block;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
  transition: background-color 0.2s;
}

.mega-menu-link:hover {
  background: var(--color-mist);
}

.mega-menu-link.active {
  color: var(--color-teal);
  font-weight: 600;
}

/* Header actions (phone, buttons) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1240px) {
  .header-actions {
    margin-left: 0.5rem;
  }
}

.header-phone {
  display: none;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
}

@media (min-width: 768px) and (max-width: 1239px) {
  .header-phone {
    display: block;
  }
}

@media (min-width: 1600px) {
  .header-phone {
    display: block;
  }
}

.header-btn {
  display: none;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

@media (min-width: 640px) {
  .header-btn {
    display: inline-flex;
  }
}

.header-icon-btn {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: none;
  border: none;
  color: inherit;
}

.light .header-icon-btn {
  background: rgb(255 255 255 / 0.15);
}

.solid .header-icon-btn {
  background: var(--color-mist);
}

@media (min-width: 1240px) {
  .header-icon-btn.mobile-only {
    display: none;
  }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-teal-night);
  color: var(--color-white);
}

.mobile-menu-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  opacity: 0.8;
  pointer-events: none;
}

.mobile-menu-gradient {
  position: fixed;
  inset: 0;
  background: linear-gradient(to right, rgb(11 46 54 / 0.9), rgb(11 46 54 / 0.65), rgb(11 46 54 / 0.3));
  pointer-events: none;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  height: var(--header-h);
  justify-content: space-between;
  padding-inline: var(--container-pad);
  max-width: 1320px;
  margin-inline: auto;
  width: 100%;
}

.mobile-menu-header-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

.mobile-menu-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.15);
  backdrop-filter: blur(8px);
  border: none;
  color: var(--color-white);
  cursor: pointer;
}

.mobile-menu-nav {
  padding-inline: var(--container-pad);
  padding-bottom: 48px;
  max-width: 1320px;
  margin-inline: auto;
}

.mobile-menu-group {
  border-bottom: 1px solid rgb(255 255 255 / 0.15);
}

.mobile-menu-summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
}

.mobile-menu-summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-summary .plus {
  color: var(--color-gold);
  transition: transform 0.3s;
  font-size: 30px;
}

.mobile-menu-group.open .plus {
  transform: rotate(45deg);
}

.mobile-menu-sublist {
  padding-bottom: 16px;
}

.mobile-menu-sublist a {
  display: block;
  padding: 8px 0;
  font-size: 17px;
}

.mobile-menu-sublist a.active {
  font-weight: 600;
  color: var(--color-gold);
}

.mobile-menu-sublist a:not(.active) {
  color: rgb(255 255 255 / 0.85);
}

.mobile-menu-link {
  display: block;
  border-bottom: 1px solid rgb(255 255 255 / 0.15);
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--color-white);
}

.mobile-menu-ctas {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.mobile-menu-ctas .btn {
  width: 100%;
}

/* ============================================================
   8. Footer
   ============================================================ */
.site-footer {
  background: var(--color-gold);
  color: var(--color-ink);
}

.footer-inner {
  padding: 64px 0 40px;
}

@media (min-width: 1024px) {
  .footer-inner {
    padding: 80px 0 40px;
  }
}

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.1fr 2.9fr;
  }
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-logo img {
  width: 64px;
  height: 64px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.footer-tagline {
  margin-top: 16px;
  max-width: 30ch;
  font-size: 15px;
}

.footer-contacts {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  font-size: 15px;
}

.footer-phone {
  font-size: 20px;
  font-weight: 600;
}

.footer-contact-label {
  display: block;
  font-size: 13px;
  color: rgb(0 0 0 / 0.7);
}

.footer-link {
  text-underline-offset: 2px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.footer-social a {
  border-radius: 999px;
  background: rgb(0 0 0 / 0.08);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.footer-social a:hover {
  background: rgb(0 0 0 / 0.15);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 24px;
}

@media (min-width: 768px) {
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .footer-nav {
    grid-template-columns: repeat(6, 1fr);
  }
}

.footer-nav-group h2 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(0 0 0 / 0.7);
}

.footer-nav-group ul {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.3;
}

.footer-nav-group a {
  text-underline-offset: 2px;
}

.footer-nav-group a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgb(0 0 0 / 0.2);
  padding-top: 24px;
  font-size: 13px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
}

/* ============================================================
   9. Hero section
   ============================================================ */
.hero {
  position: relative;
  min-height: max(100svh, 620px);
  background: var(--color-paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-teal-night);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 50% 35%;
}

.hero-scrim-bottom {
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  background: linear-gradient(to top, rgb(11 46 54 / 0.85), rgb(11 46 54 / 0.45), transparent);
}

.hero-scrim-left {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: linear-gradient(to right, rgb(11 46 54 / 0.7), rgb(11 46 54 / 0.25), transparent);
}

@media (min-width: 1024px) {
  .hero-scrim-left {
    width: 70%;
  }
}

.hero-scrim-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  background: linear-gradient(to bottom, rgb(11 46 54 / 0.45), transparent);
}

.hero-dim {
  position: absolute;
  inset: 0;
  background: var(--color-teal-night);
  opacity: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(100svh, 620px);
  padding-top: 96px;
  padding-bottom: max(40px, 6svh);
  color: var(--color-white);
}

.hero-label {
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gold);
}

@media (min-width: 640px) {
  .hero-label {
    font-size: 16px;
  }
}

.hero-title {
  max-width: 18ch;
  font-size: clamp(42px, 6vw, 96px);
  line-height: 0.95;
}

.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title-line span {
  display: block;
}

.hero-bottom {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .hero-bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.hero-text {
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.9);
}

@media (min-width: 640px) {
  .hero-text {
    font-size: 19px;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 300px;
  padding: 16px 20px 16px 16px;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(8px);
}

.hero-badge-number {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-gold);
}

.hero-badge-text {
  font-size: 14px;
  line-height: 1.3;
  color: rgb(255 255 255 / 0.9);
}

/* Page header (inner pages) */
.page-header {
  background: var(--color-mist);
  padding-top: calc(var(--header-h) + 28px);
}

@media (min-width: 1024px) {
  .page-header {
    padding-top: calc(var(--header-h) + 48px);
  }
}

.page-header-inner {
  padding-bottom: 40px;
}

@media (min-width: 1024px) {
  .page-header-inner {
    padding-bottom: 56px;
  }
}

/* ============================================================
   10. Home sections
   ============================================================ */

/* Intro section */
.section-intro {
  background: var(--color-mist);
}

.intro-grid {
  display: grid;
  align-items: center;
  gap: 48px;
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    padding: 112px 0;
  }
}

/* Reasons section */
.section-reasons {
  background: var(--color-teal-night);
  color: var(--color-white);
}

.reasons-grid {
  display: grid;
  gap: 48px;
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .reasons-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    padding: 128px 0;
  }
}

.reasons-sticky {
  position: sticky;
  top: 128px;
  align-self: start;
}

.reasons-list {
  display: grid;
  gap: 0 40px;
}

@media (min-width: 640px) {
  .reasons-list {
    grid-template-columns: 1fr 1fr;
  }
}

.reason-item {
  border-top: 1px solid rgb(255 255 255 / 0.15);
  padding: 32px 0;
}

.reason-title {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--color-gold);
}

@media (min-width: 1024px) {
  .reason-title {
    font-size: 34px;
  }
}

.reason-desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.8);
}

/* Director Quote */
.section-quote {
  background: var(--color-gold-soft);
}

.quote-inner {
  padding: 96px 0;
}

@media (min-width: 1024px) {
  .quote-inner {
    padding: 144px 0;
  }
}

.quote-figure {
  max-width: 1080px;
  margin-inline: auto;
}

.quote-icon {
  margin-bottom: 32px;
  color: var(--color-gold-ink);
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.18;
  color: var(--color-teal-night);
}

.quote-caption {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.quote-caption img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
}

.quote-author {
  font-size: 18px;
  font-weight: 600;
}

.quote-role {
  font-size: 15px;
  color: var(--color-ink-soft);
}

/* Facts section */
.section-facts {
  background: var(--color-paper);
}

.facts-grid {
  display: grid;
  gap: 48px;
  padding: 80px 0;
}

@media (min-width: 640px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 112px 0;
  }
}

.fact-card {
  border-color: rgb(0 124 147 / 0.25);
}

@media (min-width: 640px) {
  .fact-card {
    border-left: 1px solid rgb(0 124 147 / 0.25);
    padding-left: 32px;
  }
  .fact-card:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
}

@media (min-width: 1024px) {
  .fact-card {
    border-left: 1px solid rgb(0 124 147 / 0.25);
    padding-left: 32px;
  }
  .fact-card:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.fact-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(84px, 9vw, 128px);
  font-weight: 600;
  line-height: 0.85;
  color: var(--color-teal);
}

.fact-label {
  display: block;
  margin-top: 16px;
  max-width: 28ch;
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-ink-soft);
  transition: color 0.2s;
}

.fact-card:hover .fact-label {
  color: var(--color-ink);
}

/* Conditions section */
.section-conditions {
  background: var(--color-paper);
}

.conditions-header {
  display: grid;
  gap: 24px;
  padding: 80px 0 0;
}

@media (min-width: 1024px) {
  .conditions-header {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    padding: 112px 0 0;
  }
}

.conditions-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  padding-bottom: 80px;
}

@media (min-width: 640px) {
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .conditions-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 64px;
    padding-bottom: 112px;
  }
}

.condition-card {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-card);
}

@media (min-width: 1024px) {
  .condition-card {
    height: 380px;
  }
}

.condition-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-soft);
}

.condition-card:hover img {
  transform: scale(1.04);
}

.condition-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 66%;
  background: linear-gradient(to top, rgb(11 46 54 / 0.8), transparent);
}

.condition-info {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  color: var(--color-white);
}

@media (min-width: 1024px) {
  .condition-info {
    padding: 28px;
  }
}

.condition-title {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.05;
}

@media (min-width: 1024px) {
  .condition-title {
    font-size: 32px;
  }
}

.condition-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.15);
  backdrop-filter: blur(4px);
  transition: background-color 0.3s, transform 0.3s;
}

.condition-card:hover .condition-arrow {
  transform: translateX(4px);
  background: var(--color-gold);
  color: var(--color-ink);
}

/* Span helpers for conditions grid */
.col-span-5 {
  grid-column: span 5;
}
.col-span-7 {
  grid-column: span 7;
}

/* DayTimeline */
.section-timeline {
  position: relative;
}

.timeline-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100svh;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 8px);
}

.timeline-header {
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .timeline-header {
    margin-bottom: 32px;
  }
}

.timeline-grid {
  display: grid;
  min-height: 0;
  flex: 1;
  gap: 24px;
  padding-bottom: 24px;
}

@media (min-width: 1024px) {
  .timeline-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    padding-bottom: 40px;
  }
}

.timeline-copy {
  display: flex;
  flex-direction: column;
  min-height: 0;
  order: 2;
}

@media (min-width: 1024px) {
  .timeline-copy {
    order: 1;
  }
}

.timeline-step-wrap {
  position: relative;
  min-height: 200px;
  flex: 1;
  margin-top: 4px;
}

@media (min-width: 1024px) {
  .timeline-step-wrap {
    min-height: 300px;
    flex: none;
    margin-top: auto;
  }
}

.timeline-time {
  font-family: var(--font-display);
  font-size: clamp(68px, 9vw, 148px);
  font-weight: 600;
  line-height: 0.85;
  font-variant-numeric: lining-nums tabular-nums;
}

.timeline-text {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 18px;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .timeline-text {
    font-size: 21px;
  }
}

.timeline-photo-wrap {
  position: relative;
  min-height: 0;
  order: 1;
}

@media (min-width: 1024px) {
  .timeline-photo-wrap {
    order: 2;
  }
}

.timeline-photo {
  position: relative;
  height: 32svh;
  overflow: hidden;
  border-radius: 28px;
  background: rgb(11 46 54 / 0.2);
}

@media (min-width: 1024px) {
  .timeline-photo {
    height: 100%;
  }
}

.timeline-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s, transform 0.7s;
}

.timeline-ticks {
  display: none;
  margin-top: 24px;
}

@media (min-width: 1024px) {
  .timeline-ticks {
    display: flex;
    align-items: flex-end;
    gap: 6px;
  }
}

.timeline-tick {
  flex: 1;
}

.timeline-tick-bar {
  display: block;
  height: 3px;
  border-radius: 999px;
  transition: opacity 0.3s;
}

.timeline-tick-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-variant-numeric: lining-nums tabular-nums;
  transition: opacity 0.3s;
}

.timeline-bottom-link {
  padding-bottom: 24px;
}

@media (min-width: 1024px) {
  .timeline-bottom-link {
    padding-bottom: 32px;
  }
}

.timeline-bottom-link a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.8;
}

.timeline-bottom-link a:hover {
  opacity: 1;
}

/* Clock */
.clock {
  position: absolute;
  bottom: -24px;
  left: -12px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  box-shadow: 0 18px 36px -14px rgb(11 46 54 / 0.5);
}

@media (min-width: 1024px) {
  .clock {
    bottom: -40px;
    left: -40px;
    width: 184px;
    height: 184px;
  }
}

.clock img {
  width: 100%;
  height: 100%;
  user-select: none;
}

.clock-hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 999px;
}

.clock-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7%;
  height: 7%;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 2px rgb(0 80 95 / 0.8);
  transform: translate(-50%, -50%);
}

/* Leisure */
.section-leisure {
  background: var(--color-paper);
}

.leisure-header {
  padding-top: 80px;
}

@media (min-width: 1024px) {
  .leisure-header {
    padding-top: 112px;
  }
}

.leisure-dir-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .leisure-dir-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.leisure-dir-item {
  border-top: 1px solid rgb(0 124 147 / 0.25);
  padding-top: 24px;
}

.leisure-dir-title {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--color-teal-deep);
}

.leisure-dir-desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink-soft);
}

.leisure-dir-link {
  margin-top: 16px;
}

/* Pan track (desktop) */
.pan-track-wrap {
  position: relative;
}

.pan-sticky {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  align-items: center;
  overflow: hidden;
}

.pan-track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-left: max(40px, calc((100vw - 1320px) / 2 + 40px));
  padding-right: 40px;
}

.pan-photo {
  flex-shrink: 0;
}

.pan-photo img {
  width: auto;
  max-width: none;
  height: min(56svh, 480px);
  border-radius: var(--radius-card);
  object-fit: cover;
}

.pan-photo figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-ink-soft);
}

/* Swipe row (mobile) */
.swipe-row {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 20px 64px;
  scroll-padding-left: 20px;
}

.swipe-row::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .swipe-row {
    padding: 0 40px 64px;
    scroll-padding-left: 40px;
  }
}

@media (min-width: 1024px) {
  .swipe-row {
    padding-bottom: 96px;
  }
}

.swipe-row > * {
  scroll-snap-align: start;
}

.swipe-photo {
  flex-shrink: 0;
}

.swipe-photo img {
  width: auto;
  max-width: none;
  height: 240px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.swipe-photo figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-ink-soft);
}

/* Reviews section */
.section-reviews {
  background: var(--color-teal-deep);
  color: var(--color-white);
}

.reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.reviews-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-caption {
  margin-top: 16px;
  max-width: 48ch;
  font-size: 17px;
  color: rgb(255 255 255 / 0.85);
}

/* Pricing section */
.section-pricing {
  background: var(--color-mist);
}

.pricing-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr 2fr;
    gap: 64px;
  }
}

.pricing-included-title {
  margin-top: 40px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal-deep);
}

.pricing-included-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.pricing-included-item {
  display: flex;
  gap: 12px;
  font-size: 16px;
}

.pricing-included-item svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--color-teal);
}

.pricing-tiers {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .pricing-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  background: var(--color-paper);
  padding: 28px;
}

.pricing-grade-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-teal);
}

.pricing-grade {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 32px;
}

.pricing-price {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-teal-deep);
  font-variant-numeric: lining-nums tabular-nums;
}

.pricing-period {
  margin-top: 4px;
  font-size: 15px;
  color: var(--color-ink-soft);
}

.pricing-week {
  margin-top: 24px;
  border-top: 1px solid var(--color-line);
  padding-top: 16px;
  font-size: 14px;
  color: var(--color-ink-soft);
}

.pricing-extra {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-ink-soft);
}

.pricing-cta {
  margin-top: 16px;
  border-radius: var(--radius-card);
  background: var(--color-teal-deep);
  padding: 28px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .pricing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

.pricing-cta-title {
  font-size: 30px;
}

.pricing-cta-desc {
  margin-top: 8px;
  max-width: 52ch;
  font-size: 15px;
  color: rgb(255 255 255 / 0.8);
}

.pricing-note {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-ink-soft);
}

.pricing-note a {
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Team section */
.section-team {
  background: var(--color-paper);
}

.team-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 12px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 16px;
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px 24px;
  }
  .team-grid {
    margin-top: 48px;
  }
}

.team-member {
  display: block;
}

.team-photo-wrap {
  display: block;
  max-width: 232px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-mist);
}

@media (min-width: 1024px) {
  .team-photo-wrap {
    border-radius: 20px;
  }
}

.team-photo-wrap img {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-soft);
}

.team-member:hover .team-photo-wrap img {
  transform: scale(1.03);
}

.team-name {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .team-name {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .team-name {
    margin-top: 16px;
    font-size: 16px;
  }
}

.team-role {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--color-ink-soft);
}

@media (min-width: 640px) {
  .team-role {
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .team-role {
    font-size: 14px;
  }
}

/* Safety section */
.section-safety {
  background: var(--color-white);
}

.safety-header {
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .safety-header {
    grid-template-columns: 1.2fr 1fr;
    align-items: flex-end;
  }
}

.safety-desc {
  max-width: 44ch;
  font-size: 17px;
  color: var(--color-ink-soft);
}

@media (min-width: 1024px) {
  .safety-desc {
    justify-self: end;
  }
}

.safety-grid {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .safety-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.safety-item svg {
  color: var(--color-teal);
}

.safety-item-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--color-teal-deep);
}

.safety-item-desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink-soft);
}

/* Camp teaser */
.section-camp {
  background: var(--color-gold-soft);
}

.camp-grid {
  display: grid;
  align-items: center;
  gap: 48px;
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .camp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 112px 0;
  }
}

.camp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* News section */
.section-news {
  background: var(--color-mist);
}

.news-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 80px;
}

@media (min-width: 1024px) {
  .news-header {
    padding-top: 112px;
  }
}

.news-scroll {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 80px;
}

.news-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .news-scroll {
    padding-bottom: 112px;
  }
}

.news-scroll > * {
  scroll-snap-align: start;
}

.news-card {
  width: 78vw;
  max-width: 340px;
  flex-shrink: 0;
}

.news-card-image-wrap {
  display: block;
  overflow: hidden;
  border-radius: 20px;
}

.news-card-image-wrap img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-soft);
}

.news-card:hover .news-card-image-wrap img {
  transform: scale(1.04);
}

.news-card-date {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-ink-soft);
  font-variant-numeric: lining-nums tabular-nums;
}

.news-card-title {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.news-card:hover .news-card-title {
  text-decoration: underline;
}

/* Final CTA (excursion) */
.section-final {
  background: var(--color-teal-deep);
  color: var(--color-white);
}

.final-grid {
  display: grid;
  gap: 48px;
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .final-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    padding: 112px 0;
  }
}

.final-contact-list {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .final-contact-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.final-contact-label {
  color: rgb(255 255 255 / 0.6);
  font-size: 16px;
}

.final-contact-value {
  margin-top: 4px;
  font-size: 16px;
}

.final-contact-value a {
  text-underline-offset: 4px;
}

.final-contact-value a:hover {
  text-decoration: underline;
}

.final-form-wrap {
  border-radius: 28px;
  background: rgb(255 255 255 / 0.06);
  padding: 24px;
  ring: 1px solid rgb(255 255 255 / 0.1);
}

@media (min-width: 640px) {
  .final-form-wrap {
    padding: 40px;
  }
}

.final-map-wrap {
  padding-bottom: 80px;
}

@media (min-width: 1024px) {
  .final-map-wrap {
    padding-bottom: 112px;
  }
}

.final-map {
  height: 360px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--color-teal-night);
}

.final-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   11. Sidebar
   ============================================================ */
.sidebar-wrap {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar-wrap {
    display: block;
  }
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.sidebar-title {
  margin-bottom: 12px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-soft);
}

.sidebar-list {
  display: grid;
  gap: 2px;
}

.sidebar-link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.3;
  transition: background-color 0.2s;
}

.sidebar-link:hover {
  background: var(--color-mist);
}

.sidebar-link.active {
  background: var(--color-teal);
  color: var(--color-white);
}

/* Mobile sidebar as details/summary */
.sidebar-mobile details {
  border-radius: 20px;
  background: var(--color-mist);
  padding: 8px;
}

.sidebar-mobile summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-weight: 600;
}

.sidebar-mobile summary::-webkit-details-marker {
  display: none;
}

.sidebar-mobile summary .plus {
  color: var(--color-teal);
  transition: transform 0.3s;
}

.sidebar-mobile details[open] summary .plus {
  transform: rotate(45deg);
}

.sidebar-mobile .sidebar-list {
  padding-top: 4px;
}

/* ============================================================
   12. Cards & grids
   ============================================================ */
.page-content-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .page-content-grid {
    gap: 64px;
  }
}

.page-grid-with-sidebar {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .page-grid-with-sidebar {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 64px;
  }
}

.content-area {
  min-width: 0;
}

/* News grid (rubric page) */
.news-grid {
  display: grid;
  gap: 24px 24px;
}

@media (min-width: 640px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-grid-item {
  display: block;
}

.news-grid-item .img-wrap {
  display: block;
  overflow: hidden;
  border-radius: 20px;
}

.news-grid-item .img-wrap img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-soft);
}

.news-grid-item:hover .img-wrap img {
  transform: scale(1.04);
}

.news-grid-item .date {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--color-ink-soft);
}

.news-grid-item .title {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.news-grid-item:hover .title {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Team body (single team page) */
.team-body-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .team-body-grid {
    grid-template-columns: 260px 1fr;
    gap: 56px;
  }
}

.team-body-photo {
  width: 100%;
  max-width: 260px;
  border-radius: 24px;
  object-fit: cover;
}

.team-body-content {
  max-width: 680px;
}

.team-body-content p:first-child {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.2;
  color: var(--color-teal-deep);
}

/* Graduate years grid */
.graduate-years {
  margin-top: 64px;
  border-top: 1px solid var(--color-line);
  padding-top: 48px;
}

.graduate-years-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .graduate-years-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .graduate-years-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1280px) {
  .graduate-years-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.graduate-year-link {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--color-mist);
  padding: 16px 16px 12px;
  transition: background-color 0.2s, color 0.2s;
}

.graduate-year-link:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

.graduate-year-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  color: var(--color-teal-deep);
  font-variant-numeric: lining-nums tabular-nums;
  transition: color 0.2s;
}

.graduate-year-link:hover .graduate-year-num {
  color: var(--color-white);
}

.graduate-year-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-ink-soft);
  transition: color 0.2s;
}

.graduate-year-link:hover .graduate-year-label {
  color: rgb(255 255 255 / 0.8);
}

/* Camp schedule (timeline style) */
.camp-schedule {
  position: relative;
  margin-top: 40px;
  max-width: 780px;
  border-left: 1px solid rgb(0 124 147 / 0.25);
  padding-left: 32px;
}

.camp-schedule-item {
  position: relative;
}

.camp-schedule-item + .camp-schedule-item {
  margin-top: 28px;
}

.camp-schedule-dot {
  position: absolute;
  left: -37px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px var(--color-paper);
}

.camp-schedule-time {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-teal);
  font-variant-numeric: lining-nums tabular-nums;
}

.camp-schedule-text {
  margin-top: 8px;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.6;
}

/* Related posts grid */
.related-grid {
  display: grid;
  gap: 24px 24px;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   13. Content .prose-d
   ============================================================ */
.prose-d {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-ink);
  overflow-wrap: break-word;
}

.prose-d > * + * {
  margin-top: 1.1em;
}

.prose-d > :first-child {
  margin-top: 0;
}

.prose-d h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-top: 1.6em;
  color: var(--color-teal-deep);
}

.prose-d h3 {
  font-size: clamp(25px, 2.6vw, 31px);
  margin-top: 1.5em;
  color: var(--color-teal-deep);
}

.prose-d h4,
.prose-d h5 {
  font-weight: 600;
  font-size: 18px;
  margin-top: 1.4em;
}

.prose-d a {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

.prose-d a:hover {
  color: var(--color-teal-deep);
}

.prose-d a.doc-link::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 1.1em;
  margin-right: 0.4em;
  vertical-align: -0.15em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M2 1h9l5 5v15H2z' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M11 1v5h5M5 12h8M5 16h8' stroke='black' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}

.prose-d ul,
.prose-d ol {
  padding-left: 1.3em;
}

.prose-d ul {
  list-style: disc;
}

.prose-d ol {
  list-style: decimal;
}

.prose-d li + li {
  margin-top: 0.4em;
}

.prose-d li::marker {
  color: var(--color-teal);
}

.prose-d strong {
  font-weight: 600;
}

.prose-d blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: 1.2em;
  font-family: var(--font-display);
  font-size: 1.35em;
  line-height: 1.4;
  font-style: italic;
}

.prose-d img {
  border-radius: 18px;
  height: auto;
  max-width: 100%;
  display: inline-block;
}

.prose-d p:has(> img:only-child) img,
.prose-d p:has(> a:only-child > img) img {
  display: block;
}

.prose-d img.img-small {
  border-radius: 12px;
}

.prose-d img.img-icon {
  display: block;
  width: auto;
  max-width: 72px;
  max-height: 72px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: none;
}

.prose-d a.icon-link {
  display: inline-block;
  margin-right: 8px;
}

.prose-d a.icon-link img {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.prose-d hr {
  border: 0;
  border-top: 1px solid var(--color-line);
  margin-block: 2em;
}

.prose-d table {
  overflow-wrap: normal;
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  display: block;
  overflow-x: auto;
}

.prose-d th,
.prose-d td {
  border-bottom: 1px solid var(--color-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.prose-d th {
  font-weight: 600;
  background: var(--color-mist);
}

.prose-d > :not(.cards, .gallery, .names, .embed-grid, table) {
  max-width: 780px;
}

.prose-d .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 12px;
  margin-top: 1.6em;
}

.prose-d .gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: var(--color-mist);
  cursor: zoom-in;
  transition: filter 0.3s;
}

.prose-d .gallery img:hover {
  filter: brightness(1.06) saturate(1.05);
}

.prose-d .gallery img:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.prose-d .names {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 10px;
  margin-top: 1.8em;
  padding: 0;
  list-style: none;
}

.prose-d .names li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--color-mist);
  font-weight: 600;
  line-height: 1.3;
}

.prose-d .names li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

.prose-d .cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 36px 24px;
  margin-top: 1.8em;
  padding: 0;
  list-style: none;
}

.prose-d .cards.cards-people {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 16px;
}

@media (min-width: 640px) {
  .prose-d .cards.cards-people {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 40px 24px;
  }
}

.prose-d .cards > li {
  margin: 0;
}

.prose-d .card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.prose-d .card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  background: var(--color-mist);
  transition: transform 0.7s var(--ease-out-soft);
}

.prose-d .cards-people .card-media img {
  aspect-ratio: 4 / 5;
  object-position: 50% 20%;
}

.prose-d .cards-icons .card-media img {
  width: 56px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: none;
}

.prose-d .card-media {
  display: block;
  overflow: hidden;
  border-radius: 18px;
}

.prose-d .cards-icons .card-media {
  border-radius: 0;
}

.prose-d a.card:hover .card-media img {
  transform: scale(1.04);
}

.prose-d .card-body {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-ink-soft);
}

.prose-d .card-body > * + * {
  margin-top: 6px;
}

.prose-d .card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-ink);
}

.prose-d a.card:hover .card-title {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-d .people-list {
  list-style: none;
  padding: 0;
  margin-top: 2em;
  display: grid;
  gap: 48px;
}

.prose-d .people-list > li + li {
  margin-top: 0;
  padding-top: 48px;
  border-top: 1px solid var(--color-line);
}

.prose-d .person {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .prose-d .person {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 32px;
  }
}

.prose-d .person img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.prose-d .person h2 {
  margin-top: 0.15em;
  font-size: clamp(28px, 3vw, 36px);
}

.prose-d .person > div > * + * {
  margin-top: 0.8em;
}

.prose-d .person-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gold-ink);
}

.prose-d .person-meta {
  font-size: 15px;
  color: var(--color-ink-soft);
}

.prose-d .embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.prose-d a.booking-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--color-teal);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
}

.prose-d a.booking-link:hover {
  background: var(--color-teal-deep);
  color: var(--color-white);
}

/* ============================================================
   14. Form fields
   ============================================================ */
.field {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--color-line);
  background: var(--color-white);
  font-size: 16px;
  color: var(--color-ink);
  transition: border-color 0.2s;
  font-family: var(--font-sans);
}

.field:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-teal) 18%, transparent);
}

.field-dark {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.2);
  color: var(--color-white);
}

.field-dark::placeholder {
  color: rgb(255 255 255 / 0.5);
}

.field-dark:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgb(228 191 115 / 0.2);
}

label.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}

/* ============================================================
   15. Excursion form
   ============================================================ */
.excursion-form {
  display: grid;
  gap: 16px;
}

.excursion-form-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .excursion-form-row.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.excursion-form-submit {
  margin-top: 8px;
}

.excursion-form-success {
  text-align: center;
  padding: 32px 16px;
}

.excursion-form-success svg {
  margin-inline: auto;
}

.excursion-form-success h3 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-top: 16px;
}

.excursion-form-success p {
  margin-top: 8px;
  opacity: 0.8;
}

/* Excursion dialog (modal) */
.excursion-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgb(0 0 0 / 0.5);
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
}

.excursion-dialog {
  position: relative;
  width: 100%;
  max-width: 600px;
  border-radius: 28px;
  background: var(--color-paper);
  padding: 32px;
  max-height: 90vh;
  overflow-y: auto;
}

.excursion-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--color-mist);
  color: var(--color-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.excursion-dialog-close:hover {
  background: var(--color-line);
}

.excursion-dialog h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  color: var(--color-teal-deep);
  margin-bottom: 8px;
  padding-right: 40px;
}

/* ============================================================
   16. Lightbox
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgb(0 0 0 / 0.85);
  display: grid;
  place-items: center;
  padding: 16px;
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
}

.lightbox-content img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(255 255 255 / 0.15);
  border: none;
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
  font-size: 24px;
}

.lightbox-nav:hover {
  background: rgb(255 255 255 / 0.3);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

/* ============================================================
   17. Parallax & reveal animations
   ============================================================ */
.parallax-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.parallax-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease-out-soft);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0ms; }
.reveal-delay-2 { transition-delay: 80ms; }
.reveal-delay-3 { transition-delay: 160ms; }
.reveal-delay-4 { transition-delay: 240ms; }
.reveal-delay-5 { transition-delay: 320ms; }
.reveal-delay-6 { transition-delay: 400ms; }
.reveal-delay-7 { transition-delay: 480ms; }
.reveal-delay-8 { transition-delay: 560ms; }
.reveal-delay-9 { transition-delay: 640ms; }
.reveal-delay-10 { transition-delay: 720ms; }
.reveal-delay-11 { transition-delay: 800ms; }
.reveal-delay-12 { transition-delay: 880ms; }

/* Prose reveal */
.prose-reveal > :not(.gallery, .cards, .people-list, .names, .embed-grid),
.prose-reveal > :is(.gallery, .cards, .people-list, .names, .embed-grid) > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease-out-soft);
  transition-delay: var(--d, 0ms);
}

.prose-reveal [data-in] {
  opacity: 1;
  transform: translateY(0);
}

.prose-reveal img:not(.img-icon) {
  transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1), scale 1.5s var(--ease-out-soft), transform 0.7s var(--ease-out-soft);
  transition-delay: var(--d, 0ms);
}

.prose-reveal > :not(.gallery, .cards, .people-list, .names, .embed-grid, [data-in]) img:not(.img-icon),
.prose-reveal > :is(.gallery, .cards, .people-list, .names, .embed-grid) > :not([data-in]) img:not(.img-icon) {
  clip-path: inset(100% 0 0 0);
  scale: 1.12;
}

/* Reveal image */
.reveal-image {
  overflow: hidden;
}

.reveal-image img {
  clip-path: inset(100% 0 0 0);
  scale: 1.12;
  transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1), scale 1.5s var(--ease-out-soft);
}

.reveal-image.visible img {
  clip-path: inset(0 0 0 0);
  scale: 1;
}

/* Counter animation */
.counter {
  display: inline;
}

/* ============================================================
   18. Video embed
   ============================================================ */
.embed,
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-teal-night);
}

.video-facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--color-teal-night);
  cursor: pointer;
}

.video-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.7s var(--ease-out-soft), filter 0.3s;
}

.video-play {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 12px 30px -10px rgb(11 46 54 / 0.6);
  transition: transform 0.3s var(--ease-out-soft);
}

.video-play::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 28px;
  translate: 3px 0;
  background: var(--color-ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.video-facade:hover img {
  transform: scale(1.03);
  filter: brightness(0.92);
}

.video-facade:hover .video-play {
  transform: scale(1.08);
}

.video-facade:active .video-play {
  transform: scale(0.96);
}

.video-facade:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: -3px;
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   19. Utilities
   ============================================================ */
.no-scrollbar {
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.text-center {
  text-align: center;
}

.text-teal {
  color: var(--color-teal);
}

.text-teal-deep {
  color: var(--color-teal-deep);
}

.text-ink-soft {
  color: var(--color-ink-soft);
}

.bg-paper {
  background: var(--color-paper);
}

.bg-mist {
  background: var(--color-mist);
}

.bg-white {
  background: var(--color-white);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 8px;
  font-size: 14px;
  color: var(--color-ink-soft);
}

.breadcrumbs a:hover {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumbs-sep {
  margin: 0 4px;
}

/* Post meta */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 16px;
  font-size: 14px;
}

.post-tag {
  display: inline-block;
  border-radius: 999px;
  background: var(--color-gold-soft);
  padding: 4px 12px;
  font-weight: 600;
  color: var(--color-gold-ink);
  font-size: 14px;
}

.post-date {
  color: var(--color-ink-soft);
  font-variant-numeric: lining-nums tabular-nums;
}

/* ============================================================
   20. Accessibility & reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal-image img {
    clip-path: none;
    scale: 1;
  }
  .prose-reveal > * {
    opacity: 1;
    transform: none;
  }
}