/* Reference-inspired frame, glass surfaces and optional warm light palette.
   Core layout and touch interaction rules remain in site.css. */
:root {
  --page-bg: #15211d;
  --frame-bg: #0b1112;
  --glass: rgba(15,23,24,.72);
  --glass-strong: rgba(12,20,21,.94);
  --glass-line: rgba(255,255,255,.2);
  --soft-text: #b4bdb6;
  --gold: #f3b638;
  --gold-bright: #ffcd64;
  color-scheme: dark;
}
.site-body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: var(--page-bg);
}
.site-body::before,.site-body::after {
  content: '';
  position: fixed;
  z-index: -1;
  pointer-events: none;
}
.site-body::before {
  inset: -65px;
  background: url('../assets/ella.jpg') center / cover;
  filter: blur(58px) brightness(.42) saturate(.75);
  opacity: .7;
}
.site-body::after {
  inset: 0;
  background: radial-gradient(ellipse at 15% 12%,rgba(234,178,76,.18),transparent 42%),linear-gradient(180deg,rgba(10,20,18,.08),rgba(4,10,9,.46));
}
.topbar {
  background: transparent;
  border: 0;
  color: var(--soft-text);
}
.topbar-inner {
  max-width: 1240px;
  padding-top: 10px;
}
.site-frame {
  position: relative;
  width: min(1400px,calc(100% - 56px));
  margin: 18px auto 32px;
  padding-top: 22px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 30px;
  background: var(--frame-bg);
  box-shadow: 0 30px 110px rgba(0,0,0,.35),0 1px 0 rgba(255,255,255,.1) inset;
  overflow: clip;
}
.site-header,.site-header.scrolled {
  top: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-inner {
  width: min(1200px,calc(100% - 80px));
  height: 74px;
  padding: 10px 16px;
  gap: 16px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 35px rgba(0,0,0,.15),0 1px 0 rgba(255,255,255,.12) inset;
  transition: background .3s,box-shadow .3s;
}
.site-header.scrolled .header-inner {
  background: var(--glass-strong);
  box-shadow: 0 10px 40px rgba(0,0,0,.28);
}
.brand {
  order: 0;
  gap: 10px;
}
.brand-copy strong {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .065em;
}
.brand-copy small {
  font-size: 9px;
  letter-spacing: .19em;
}
.main-nav {
  order: 1;
  gap: 18px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}
.main-nav a[aria-current='location'] {
  color: var(--gold);
}
.main-nav a[aria-current='location']::after {
  width: 100%;
}
.theme-toggle,.menu-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}
.theme-toggle {
  order: 2;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--white);
  cursor: pointer;
  transition: background .2s,transform .2s;
}
.theme-toggle:hover {
  background: rgba(243,182,56,.16);
  transform: rotate(12deg);
}
.theme-toggle svg {
  width: 19px;
  height: 19px;
  pointer-events: none;
}
.theme-moon {
  display: none;
}
.header-cta {
  order: 3;
  min-height: 44px;
  padding-inline: 17px;
  font-size: 12px;
  gap: 12px;
}
.menu-toggle {
  order: 4;
}
.hero {
  margin: -94px 8px 0;
  min-height: 730px;
  padding-top: 94px;
  align-items: flex-end;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
}
.hero-image {
  background-position: center 46%;
}
.hero-shade {
  background: linear-gradient(90deg,rgba(7,14,13,.9),rgba(9,18,15,.62) 43%,rgba(8,16,13,.14) 85%),linear-gradient(0deg,rgba(8,16,14,.6),transparent 65%);
}
.hero-glow {
  background: radial-gradient(ellipse at 8% 50%,rgba(243,182,56,.1),transparent 45%);
  backdrop-filter: none;
}
.hero-content {
  width: min(1200px,calc(100% - 90px));
  padding-top: 65px;
  padding-bottom: 90px;
}
.hero h1 {
  max-width: 850px;
  margin-top: 26px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(48px,5.55vw,76px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.hero h1 em {
  font-family: var(--sans);
  font-weight: 500;
  font-style: normal;
  color: #ffd580;
}
.hero .eyebrow {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f2f3e9;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .035em;
}
.hero .eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd16a;
}
.hero-lede {
  max-width: 510px;
  font-size: 16px;
  color: #d6ddd2;
}
.button {
  min-height: 50px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset;
}
.button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: -8px;
  border-radius: 50%;
  background: rgba(255,255,255,.34);
}
.button-outline span {
  background: rgba(255,255,255,.09);
}
.hero-actions {
  gap: 12px;
}
.hero-actions .text-link {
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(8,15,13,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
}
.hero-note {
  right: 38px;
  bottom: 34px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(7,16,13,.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.scroll-cue {
  left: 46px;
  bottom: 27px;
  font-size: 10px;
}
.hero-index {
  display: none;
}
.intro-strip {
  width: min(1200px,calc(100% - 80px));
  margin: 25px auto 0;
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  background: linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.intro-grid {
  width: calc(100% - 40px);
}
.section {
  padding: 92px 0;
}
.section-journeys {
  background: radial-gradient(ellipse at 90% 20%,rgba(130,110,49,.07),transparent 52%),var(--frame-bg);
}
.journey-grid {
  gap: 20px;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-template-rows: minmax(450px,auto);
}
.journey-tall {
  grid-row: auto;
}
.journey-card,.journal-card,.destination-card {
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,.14);
}
.journey-card {
  min-height: 450px;
}
.journey-number {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(8,15,12,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 10px;
  letter-spacing: .14em;
}
.journey-copy {
  width: calc(100% - 28px);
  margin: auto 14px 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 15px;
  background: rgba(9,18,16,.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  gap: 8px 12px;
}
.journey-copy strong {
  font-size: 27px;
  line-height: 1.18;
}
.journey-copy small {
  color: #ffd16a;
  font-size: 12px;
}
.card-arrow {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.28);
  color: #ffd16a;
}
.journal-section {
  background: #10191a;
  border-block: 1px solid var(--line);
}
.journal-layout {
  gap: 55px;
}
.journal-grid {
  gap: 20px;
}
.journal-card,.journal-card.journal-feature {
  min-height: 320px;
}
.journal-caption {
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: rgba(8,18,16,.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.journal-caption small {
  color: #ebc77f;
}
.journal-tag,.destination-image span {
  border-radius: 999px;
  font-size: 10px;
  color: #fff;
}
.stat-band {
  background: #111c1c;
}
.stat-inner {
  grid-template-columns: 1.45fr repeat(3,.85fr);
}
.stat-caption {
  display: none;
}
.stat-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.stat-item strong {
  font-size: 38px;
}
.stat-item span br {
  display: none;
}
.destinations-section {
  background: var(--frame-bg);
}
.destination-grid {
  gap: 22px;
}
.destination-card {
  background: #121d1e;
  border: 1px solid rgba(255,255,255,.1);
}
.destination-image {
  height: 225px;
}
.destination-info {
  padding: 24px;
}
.destination-info small {
  color: #d9b679;
}
.destination-info h3 {
  margin-top: 10px;
}
.destination-info p {
  color: #a8b4ad;
}
.filter-chip {
  border-radius: 999px;
  min-height: 44px;
  padding-inline: 19px;
}
.about-section {
  background: #111c1d;
}
.about-photo {
  margin: 22px 0 22px 22px;
  border-radius: 20px;
}
.about-content {
  max-width: 650px;
}
.route-section {
  background: var(--frame-bg);
}
.route-list {
  padding: 28px 26px 28px 52px;
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  background: linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
}
.route-list::before {
  left: 25px;
  top: 34px;
  bottom: 38px;
}
.route-dot {
  left: -31px;
}
.route-stop:last-child {
  padding-bottom: 0;
}
.contact-section {
  padding: 100px 0;
  background: #13221d;
}
.contact-backdrop {
  background: linear-gradient(90deg,rgba(7,18,15,.9),rgba(9,23,20,.7)),url('../assets/nuwara-eliya.jpg') center / cover;
  filter: saturate(.65);
}
.glass-panel {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  background: rgba(12,29,24,.6);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0,0,0,.18),0 1px 0 rgba(255,255,255,.1) inset;
}
.contact-card {
  padding: 32px;
}
.social-links > a,.social-links > button {
  border-radius: 10px;
  background: rgba(255,255,255,.06);
}
.site-footer {
  background: #091312;
}
.footer-main {
  padding-block: 32px;
}
.wechat-dialog {
  border-radius: 22px;
}

/* Optional light palette, based on the warm cream reference. */
html[data-theme='light'] {
  --page-bg: #c8ba96;
  --frame-bg: #f8f6ee;
  --night: #f6f4ea;
  --panel: #fffdf5;
  --white: #24332b;
  --gold: #bb7800;
  --gold-bright: #ffcd64;
  --line: rgba(28,52,34,.14);
  --muted: #667269;
  --soft-text: #354639;
  --glass: rgba(255,253,241,.75);
  --glass-strong: rgba(255,253,241,.96);
  --glass-line: rgba(57,71,41,.16);
  color-scheme: light;
}
html[data-theme='light'] .site-body::before {
  filter: blur(58px) brightness(.94) saturate(.65);
  opacity: .7;
}
html[data-theme='light'] .site-body::after {
  background: linear-gradient(180deg,rgba(225,213,177,.23),rgba(143,122,69,.46));
}
html[data-theme='light'] .site-frame {
  border-color: rgba(255,255,255,.8);
  box-shadow: 0 30px 100px rgba(57,50,28,.24),0 1px 0 white inset;
}
html[data-theme='light'] .theme-sun {
  display: none;
}
html[data-theme='light'] .theme-moon {
  display: block;
}
html[data-theme='light'] .brand-copy strong,
html[data-theme='light'] .main-nav,
html[data-theme='light'] .brand-copy small {
  color: #26382c;
}
html[data-theme='light'] .main-nav a:hover {
  color: #a36c04;
}
html[data-theme='light'] .brand-mark {
  background: #f4e9c7;
}
html[data-theme='light'] .hero-shade {
  background: linear-gradient(90deg,rgba(248,246,231,.96),rgba(248,246,231,.76) 38%,rgba(248,246,231,.18) 72%,rgba(248,246,231,.02)),linear-gradient(0deg,rgba(241,231,207,.24),transparent 65%);
}
html[data-theme='light'] .hero h1 {
  color: #1d2b22;
}
html[data-theme='light'] .hero h1 em {
  color: #2d4333;
}
html[data-theme='light'] .hero-lede {
  color: #445544;
}
html[data-theme='light'] .hero .eyebrow {
  background: rgba(255,255,246,.62);
  border-color: rgba(74,90,43,.15);
  color: #344832;
}
html[data-theme='light'] .hero .eyebrow > span {
  background: #dca115;
}
html[data-theme='light'] .button:not(.button-outline) {
  background: #ffd05c;
  border-color: #ffd05c;
  color: #212b1e;
}
html[data-theme='light'] .button-outline {
  color: #354831;
}
html[data-theme='light'] .button-outline:hover {
  background: #ffd05c;
  border-color: #ffd05c;
}
html[data-theme='light'] .scroll-cue {
  color: #52604b;
}
html[data-theme='light'] .scroll-cue span {
  border-color: #677959;
}
html[data-theme='light'] :is(.section-heading h2,.journal-intro h2,.stat-heading h2,.about-content h2,.route-intro h2,.contact-message h2) {
  color: #26382b;
}
html[data-theme='light'] :is(.section-heading > p,.journal-intro > p:not(.eyebrow),.route-intro > p:not(.eyebrow),.route-stop p) {
  color: #59685b;
}
html[data-theme='light'] :is(.intro-strip,.route-list) {
  background: linear-gradient(135deg,rgba(255,255,255,.78),rgba(255,255,255,.36));
  box-shadow: 0 10px 30px rgba(94,83,38,.06);
}
html[data-theme='light'] .intro-grid strong {
  color: #344530;
}
html[data-theme='light'] .intro-grid small {
  color: #687460;
}
html[data-theme='light'] :is(.journal-section,.about-section) {
  background: #eeeede;
}
html[data-theme='light'] .stat-band {
  background: #e9ebd9;
}
html[data-theme='light'] .stat-item span {
  color: #54674f;
}
html[data-theme='light'] .destination-card {
  background: #fffef8;
  border-color: rgba(57,71,41,.14);
  box-shadow: 0 8px 30px rgba(57,50,28,.06);
}
html[data-theme='light'] .destination-info p {
  color: #5f6d5f;
}
html[data-theme='light'] .destination-info small {
  color: #8b6a2a;
}
html[data-theme='light'] .location-link {
  color: #324331;
  border-color: rgba(57,71,41,.14);
}
html[data-theme='light'] .filter-chip {
  color: #52614a;
  border-color: rgba(57,71,41,.2);
}
html[data-theme='light'] .filter-chip.active {
  color: #33472d;
  background: #f2e8c3;
  border-color: #c09a3c;
}
html[data-theme='light'] .about-content > p:not(.eyebrow),
html[data-theme='light'] .about-content .about-lede {
  color: #54654e!important;
}
html[data-theme='light'] .about-points small {
  color: #66745d;
}
html[data-theme='light'] .text-link:not(.hero-actions .text-link) {
  color: #354b31;
}
html[data-theme='light'] .contact-backdrop {
  background: linear-gradient(90deg,rgba(241,241,219,.94),rgba(232,237,210,.82)),url('../assets/nuwara-eliya.jpg') center / cover;
}
html[data-theme='light'] .contact-message > p:not(.eyebrow) {
  color: #57684f;
}
html[data-theme='light'] .glass-panel {
  background: rgba(255,254,243,.72);
  border-color: rgba(255,255,255,.9);
  box-shadow: 0 24px 60px rgba(93,107,52,.12),0 1px 0 white inset;
}
html[data-theme='light'] :is(.contact-card-intro,.contact-list small,.social-block > small,.wechat-hint) {
  color: #607456;
}
html[data-theme='light'] :is(.contact-list strong,.social-links > a,.social-links > button,.wechat-hint button) {
  color: #31492b;
}
html[data-theme='light'] :is(.social-block,.contact-list > a,.contact-icon,.social-links > a,.social-links > button) {
  border-color: rgba(57,71,41,.15);
}
html[data-theme='light'] :is(.contact-icon,.social-links > a,.social-links > button) {
  background: rgba(214,229,182,.18);
}
html[data-theme='light'] .site-footer {
  background: #e5e7d5;
  color: #425738;
}
html[data-theme='light'] .footer-main > p {
  color: #3b5031;
}
html[data-theme='light'] :is(.footer-main > p span,.footer-bottom) {
  color: #627454;
}
html[data-theme='light'] :is(.footer-social a,.footer-social button,.footer-bottom) {
  border-color: rgba(57,71,41,.16);
}
html[data-theme='light'] .wechat-dialog {
  background: #f8f8ec;
}
html[data-theme='light'] .wechat-dialog p {
  color: #596954;
}
html[data-theme='light'] :is(.dialog-close,.wechat-dialog input) {
  color: #2c4128;
  background: #eff0e1;
}

@media(max-width:1100px) {
  .header-cta {
    display: none;
  }
  .main-nav {
    font-size: 13px;
    gap: 16px;
  }
  .journey-grid {
    gap: 14px;
  }
  .journey-copy {
    padding: 14px;
    column-gap: 8px;
  }
  .journey-copy strong {
    font-size: 25px;
  }
}
@media(max-width:1000px) {
  .header-inner {
    width: calc(100% - 48px);
    border-radius: 24px;
  }
  .main-nav {
    position: absolute;
    top: 84px;
    left: 24px;
    right: 24px;
    display: none;
    padding: 12px 20px;
    margin: 0;
    border: 1px solid var(--glass-line);
    border-radius: 20px;
    background: var(--glass-strong);
    box-shadow: 0 20px 40px rgba(0,0,0,.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .main-nav a:last-child {
    border: 0;
  }
  .main-nav a::after {
    display: none;
  }
  .theme-toggle {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--glass-line);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    cursor: pointer;
  }
  .menu-toggle span {
    width: 15px;
    height: 1px;
    background: var(--white);
    transition: transform .2s;
  }
  .menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .journal-layout {
    gap: 30px;
  }
  .journey-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(400px,auto);
  }
  .journey-card {
    min-height: 400px;
  }
  .journey-grid .journey-card:last-child {
    grid-column: 1 / -1;
    min-height: 340px;
  }
  .stat-inner {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .stat-heading {
    grid-column: 1 / -1;
  }
}
@media(max-width:760px) {
  .site-body::before {
    inset: -35px;
    filter: blur(28px) brightness(.42) saturate(.75);
  }
  html[data-theme='light'] .site-body::before {
    filter: blur(28px) brightness(.94) saturate(.65);
  }
  .topbar-inner {
    min-height: 36px;
    padding-top: 7px;
  }
  .site-frame {
    width: calc(100% - 20px);
    margin: 8px auto 16px;
    padding-top: 14px;
    border-radius: 24px;
  }
  .site-header,.site-header.scrolled {
    top: 10px;
  }
  .header-inner {
    width: calc(100% - 24px);
    height: 66px;
    padding: 8px 10px;
    gap: 9px;
    border-radius: 20px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 23px;
  }
  .brand-copy strong {
    font-size: 12px;
    letter-spacing: .055em;
  }
  .brand-copy small {
    font-size: 8px;
    letter-spacing: .12em;
  }
  .theme-toggle,.menu-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .main-nav {
    top: 75px;
    left: 12px;
    right: 12px;
  }
  .hero {
    margin: -80px 5px 0;
    padding-top: 80px;
    min-height: 680px;
    border-radius: 20px;
  }
  .hero-content {
    width: calc(100% - 44px);
    padding-block: 105px 88px;
  }
  .hero h1 {
    font-size: clamp(39px,8.6vw,58px);
    letter-spacing: -.045em;
  }
  .hero-lede {
    font-size: 15px;
    line-height: 1.85;
  }
  .hero .eyebrow {
    font-size: 10px;
    padding: 9px 11px;
    letter-spacing: .02em;
  }
  .hero-note {
    display: none;
  }
  .scroll-cue {
    left: 22px;
    bottom: 25px;
  }
  .intro-strip {
    width: calc(100% - 32px);
    margin-top: 18px;
    border-radius: 16px;
  }
  .intro-grid {
    width: calc(100% - 22px);
  }
  .intro-grid > div {
    gap: 8px;
    padding: 0 3px;
  }
  .intro-grid > div:first-child {
    padding-left: 3px;
  }
  .intro-grid strong {
    font-size: 12px;
  }
  .intro-grid small {
    font-size: 11px;
  }
  .section {
    padding: 70px 0;
  }
  .section-heading h2,.journal-intro h2,.about-content h2,.route-intro h2 {
    font-size: clamp(36px,8vw,49px);
  }
  .journey-grid {
    grid-template-columns: minmax(0,1fr);
    grid-auto-rows: minmax(380px,auto);
    gap: 18px;
  }
  .journey-card,.journey-grid .journey-card:last-child {
    grid-column: auto;
    min-height: 380px;
  }
  .journey-copy {
    padding: 18px;
  }
  .journey-copy strong {
    font-size: 29px;
  }
  .journey-number {
    left: 18px;
    top: 18px;
  }
  .journal-card,.journal-card.journal-feature {
    min-height: 340px;
  }
  .journal-caption {
    padding: 16px;
  }
  .destination-info {
    padding: 22px;
  }
  .about-photo {
    margin: 14px 14px 0;
    min-height: 330px;
  }
  .about-content {
    padding-inline: 26px;
  }
  .route-layout {
    gap: 32px;
  }
  .route-list {
    padding-inline: 48px 20px;
  }
  .route-section,.contact-section {
    padding-block: 70px;
  }
  .contact-layout {
    gap: 35px;
  }
  .contact-card {
    padding: 24px 20px;
  }
  .contact-message h2 {
    font-size: 49px;
  }
  .stat-inner {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px 10px;
  }
  .stat-item {
    flex-direction: column;
    gap: 8px;
    padding-left: 10px;
  }
  .stat-item strong {
    font-size: 31px;
  }
  .stat-item span {
    font-size: 12px;
  }
}
@media(max-width:380px) {
  .brand {
    gap: 7px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 21px;
  }
  .brand-copy strong {
    font-size: 11px;
  }
  .brand-copy small {
    font-size: 7px;
  }
  .header-inner {
    gap: 6px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-content {
    width: calc(100% - 36px);
  }
  .hero-actions .button,.hero-actions .text-link {
    font-size: 13px;
    gap: 14px;
    padding-inline: 17px;
  }
  .social-links > a,.social-links > button {
    padding: 10px 8px;
    gap: 7px;
    font-size: 12px;
  }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .header-inner,.main-nav {
    background: var(--glass-strong);
  }
  .journey-copy,.journal-caption {
    background: rgba(8,18,16,.88);
  }
  .glass-panel {
    background: #14251f;
  }
  html[data-theme='light'] .glass-panel {
    background: #f8f8ec;
  }
}
@media(prefers-reduced-motion:reduce) {
  .theme-toggle:hover {
    transform: none;
  }
}
