/* The Trek Blog: restrained typography, reading and atmosphere refinements. */
:root {
  --trek-ink: #172329;
  --trek-muted: #53636b;
  --trek-line: #dfe5e7;
  --trek-accent: #23556a;
  --trek-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --trek-serif: "Cormorant Garamond", Georgia, serif;
}
body { font-family: var(--trek-sans); color: var(--trek-ink); }
button, input, textarea, select { font-family: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #36778f; outline-offset: 4px;
}
header.header { border-bottom-color: var(--trek-line); }
header.header .nav-links a { font-weight: 600; letter-spacing: -.015em; }
header.header .logo .word { font-family: var(--trek-sans); font-weight: 900; }
header.header .menu-toggle { box-shadow: none; border-color: var(--trek-line); }
header.header .menu-panel { border-radius: 0 0 14px 14px; }
header.header .menu-panel a { min-height: 44px; display: flex; align-items: center; }
header.header .search-dropdown { background: #112a36; border-radius: 0 0 14px 14px; box-shadow: 0 16px 32px rgb(17 35 41 / 18%); }
.button { font-weight: 600; letter-spacing: -.01em; box-shadow: none; min-height: 46px; }
.button:hover { box-shadow: 0 4px 14px rgb(17 35 41 / 12%); }
.badge, .year-indicator .pill { font-weight: 600; letter-spacing: .09em; }
.title:not(.font-serif), .font-display { font-family: var(--trek-sans); font-weight: 700; letter-spacing: -.035em; }
h1, h2, h3 { text-wrap: balance; }
h2.title, section.years h2.title { font-size: clamp(27px, 3.1vw, 40px); line-height: 1.2; font-weight: 650; }
.sub { color: var(--trek-muted); font-weight: 400; line-height: 1.75; max-width: 65ch; }
.section { padding-block: clamp(44px, 6vw, 84px); }
.qcard, .about-card, .year-block { box-shadow: none !important; border-color: var(--trek-line) !important; }
.qcard { background: #fafbfb; padding: clamp(22px, 3vw, 34px); }
.qcard .q { line-height: 1.55; font-weight: 500; }
.reels .cap h3 { font-weight: 600; line-height: 1.3; text-wrap: pretty; }
.reels .swiper-slide { box-shadow: 0 10px 25px rgb(17 35 41 / 10%); border-radius: 14px; }
.year-block { background: #fff !important; border-radius: 12px; }
.year-top .year { font-weight: 650; letter-spacing: -.035em; }
.trip-list { line-height: 1.65; }
.trip-list li { padding-block: 4px; }
.trip-list a { color: #435660 !important; text-underline-offset: 4px; }
.trip-list a:hover { color: #17485d !important; text-decoration: underline !important; }
.region-group { border-bottom: 1px solid var(--trek-line); }
.region-group ul { line-height: 1.7; }
.region-group li { margin-block: 8px; }
.region-group a:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.reading { font-family: var(--trek-sans); }
.reading :is(p, .numblock) { font-size: 18px; line-height: 1.8; color: #29383f; }
.reading article > :is(p, .numblock) { max-width: 68ch; margin-inline: auto; }
.reading .meta { font-size: 12px; line-height: 1.6; letter-spacing: .075em; color: var(--trek-muted); }
.reading :is(h1,h2).font-serif { font-family: var(--trek-serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.12; letter-spacing: -.025em; max-width: 25ch; }
.reading figcaption { font-size: 14px; line-height: 1.65; color: var(--trek-muted); }
.reading article > figure { max-width: 1000px; margin-inline: auto; }
.reading figure::before { opacity: .2; }
.reading figure::after { box-shadow: none; }
.cinema-img { filter: none; border-radius: 12px; }
.toc a { font-size: 14px; line-height: 1.5; }
.editor-content { font-family: var(--trek-sans); }
.editor-content :is(p,ul,ol) { max-width: 68ch; margin-inline: auto; font-size: 18px; line-height: 1.8; color: #29383f; }
.editor-content p + p { margin-top: 1.1em; }
.editor-content :is(h1,h2,h3,h4) { max-width: 68ch; margin: 1.4em auto .65em; font-family: var(--trek-sans); font-weight: 650; line-height: 1.25 !important; }
.editor-content :is(h1,h2) { font-size: clamp(27px, 3vw, 36px) !important; }
.editor-content h3 { font-size: clamp(23px, 2.4vw, 28px) !important; }
.editor-content h4 { font-size: 21px !important; }
.editor-content iframe { max-width: 100%; }
main#content h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.12; font-weight: 650; max-width: 24ch; }
section.subscribe .panel { border-radius: 16px; padding: clamp(24px, 3.2vw, 42px); background: rgb(12 27 35 / 87%); box-shadow: none; }
section.subscribe h2.title { font-size: clamp(25px, 2.5vw, 34px); line-height: 1.25; font-weight: 650; }
section.subscribe .sub { color: #e4eaed; font-size: 16px; font-weight: 400; }
section.subscribe input[type="email"] { font-size: 16px; font-weight: 400; border-radius: 10px; }
section.subscribe .sub-note { color: #d5dfe4; font-weight: 400; line-height: 1.65; }
.footer { font-size: 14px; padding-block: 30px; }
.trek-contact-section { padding-block: clamp(32px, 5vw, 64px) !important; background: #fff !important; }
.trek-contact-card { max-width: 920px; margin-inline: auto; padding: clamp(20px, 4vw, 48px) !important; border-radius: 14px !important; box-shadow: none !important; }
.trek-contact-card h1 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.15; letter-spacing: -.035em; }
#contact-form label { color: #53616a !important; font-size: 13px !important; line-height: 1.4; }
#contact-form input, #contact-form textarea { color: #172329; font-size: 16px; line-height: 1.65; border-color: #b7c4ca; border-radius: 9px; }
#contact-form textarea { padding-top: 48px; }
#contact-form button[type="submit"] { min-height: 48px; font-weight: 600; border-radius: 9px; }
.trek-contact-card .mb-10 { margin-bottom: 24px; }
#contact-form .relative:has(> label) { display: flex; flex-direction: column; gap: 8px; }
#contact-form .relative > label { position: static !important; order: -1; transform: none !important; font-size: 14px !important; padding: 0 !important; }
#contact-form input, #contact-form textarea { padding: 12px 14px; }
#contact-form input:focus, #contact-form textarea:focus { box-shadow: none; }
/* Keep original mountain photographs and copy; use transparent photographic mist. */
.hero .hero-box { max-width: 740px; padding: clamp(20px, 2.5vw, 32px); border-radius: 12px; background: linear-gradient(110deg, rgb(8 24 34 / 76%), rgb(8 24 34 / 53%)); border-color: rgb(255 255 255 / 16%); box-shadow: none; }
.hero h1.title, .hero .title[role="heading"] { font-size: clamp(34px, 4.25vw, 60px); line-height: 1.12; font-weight: 650; letter-spacing: -.035em; text-shadow: 0 2px 14px rgb(0 0 0 / 35%); }
.hero p.lead { max-width: 57ch; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; font-weight: 400; text-shadow: 0 1px 8px rgb(0 0 0 / 30%); margin: 18px 0 24px; }
.hero .bg { animation-duration: 70s; }
.trek-home-hero { min-height: min(88svh, 900px); isolation: isolate; }
.trek-home-hero .content { padding-bottom: clamp(68px, 7vw, 100px); }
.trek-home-hero .bg { animation: trek-mountain-drift 70s ease-in-out infinite alternate; }
.trek-home-hero .gradient { background: linear-gradient(90deg, rgb(3 15 26 / 18%), transparent 68%), linear-gradient(0deg, rgb(3 15 26 / 50%), transparent 65%); }
.trek-home-hero .frame::before, .trek-home-hero .frame::after { opacity: .4; }
.trek-clouds { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.trek-cloud { position: absolute; width: 140%; height: 130%; inset: -20% auto auto -25%; background: url('../images/alpine-mist-20260924.webp') center 64% / 100% auto no-repeat; --cloud-strength: .92; opacity: var(--cloud-strength); animation: trek-cloud-far 60s linear -12s infinite; will-change: transform; }
.trek-cloud--near { width: 155%; height: 150%; left: -18%; top: 0; background-position: center 70%; --cloud-strength: .78; animation: trek-cloud-near 60s linear -42s infinite; }
.trek-home-hero .swiper-slide:not(.swiper-slide-active) .bg,
.trek-home-hero[data-motion]:not([data-motion="running"]) .trek-cloud,
.trek-home-hero[data-motion]:not([data-motion="running"]) .bg { animation-play-state: paused; }
.trek-home-hero .swiper-slide:not(.swiper-slide-active) .trek-cloud { will-change: auto; }
@keyframes trek-mountain-drift { from { transform: scale(1); } to { transform: scale(1.05) translate3d(.5%, .3%, 0); } }
@keyframes trek-cloud-far {
  0% { transform: translate3d(-25%, 0, 0) scale(1.03); opacity: 0; }
  15%, 85% { opacity: var(--cloud-strength); }
  100% { transform: translate3d(25%, 0, 0) scale(1.03); opacity: 0; }
}
@keyframes trek-cloud-near {
  0% { transform: translate3d(-38%, 0, 0) scale(1.08); opacity: 0; }
  15%, 85% { opacity: var(--cloud-strength); }
  100% { transform: translate3d(22%, 0, 0) scale(1.08); opacity: 0; }
}
@media (max-width: 767px) {
  .reading :is(p,.numblock), .editor-content :is(p,ul,ol) { font-size: 17px; line-height: 1.78; }
  .editor-content { padding-inline: 4px; }
  .hero .hero-box { max-width: 100%; }
  .hero .content { padding-inline: 5vw; }
  .trek-home-hero { min-height: max(640px, calc(100svh - 69px)); }
  .trek-home-hero .content { padding-top: 90px; padding-bottom: 80px; }
  .trek-home-hero .title[role="heading"] { font-size: clamp(31px, 8vw, 42px); }
  .trek-cloud { width: 260%; height: 120%; left: -95%; top: -48%; background-position: center 64%; --cloud-strength: .92; }
  .trek-cloud--near { width: 285%; height: 135%; top: -23%; left: -100%; background-position: center 70%; --cloud-strength: .76; }
  .trek-contact-card { border-inline: 0 !important; padding-inline: 4px !important; }
  .trek-contact-section { padding-inline: 4px !important; }
  section.subscribe .panel { padding: 22px 18px; }
}
@media (max-height: 560px) and (min-width: 768px) {
  .trek-home-hero { min-height: 570px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .hero .bg, .trek-cloud { animation: none !important; }
  .reveal, .year-block { opacity: 1 !important; transform: none !important; transition: none !important; }
  .swiper-wrapper { transition-duration: 0ms !important; }
}
