@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #faf8f1;
  --white: #fffdf8;
  --ink: #172e26;
  --muted: #535c50;
  --green: #1b4638;
  --deep: #15352b;
  --gold: #f2b95f;
  --accent: #885321;
  --line: #e1dacf;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 108px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ae6627; outline-offset: 4px; }
.wrap { width: min(1240px, 100% - 96px); margin-inline: auto; }
.section { padding-block: clamp(62px, 8vw, 110px); }
.skip { position: fixed; z-index: 10; top: 8px; left: 12px; transform: translateY(-150%); padding: 8px 12px; background: white; }
.skip:focus { transform: translateY(0); }
.header { position: relative; z-index: 2; background: var(--paper); }
.header-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; font: 30px/1 var(--display); text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand em { color: var(--accent); }
.header nav, .header-actions { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 34px); }
.header nav a, .header-call { text-decoration: none; font-size: 14px; font-weight: 650; white-space: nowrap; }
.header nav a:hover, .header-call:hover { text-decoration: underline; }

.button {
  min-height: 49px;
  padding: 11px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.button-small { min-height: 40px; padding: 7px 13px; }
.green { color: white; background: var(--green); }
.green:hover { background: #28604d; }
.saffron { background: var(--gold); color: #2c2012; }
.saffron:hover { background: #ffcf89; }
.glass { color: white; border-color: #fff9; background: #17161038; }
.glass:hover { background: #17161086; }
.button:disabled { opacity: .65; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { margin-bottom: 10px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, .tour-card h3, .booking-form h3 { font-family: var(--display); font-weight: 400; line-height: .99; }
h2 { font-size: clamp(48px, 5.7vw, 77px); letter-spacing: -.018em; }
.hero {
  min-height: clamp(510px, 49vw, 650px);
  display: grid;
  color: var(--white);
  background: linear-gradient(90deg, #17190fe8 0%, #17190fa0 43%, #17190f24 77%),
    #463c24 url("assets/hero.jpg") 55% 49% / cover no-repeat;
}
.hero-inner { position: relative; display: flex; align-items: center; padding-block: 74px; }
.hero-copy { max-width: 690px; }
.hero-label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #ffdda1; }
.hero-label span { width: 30px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(65px, 8.6vw, 120px); letter-spacing: -.022em; }
.hero h1 em { color: #ffe4ae; }
.hero .lead { max-width: 490px; margin: 25px 0 29px; color: #faf4e9; font-size: clamp(16px, 1.5vw, 19px); }
.hero-caption { position: absolute; right: 0; bottom: 18px; padding: 5px 8px; color: white; background: #181b16ac; font-size: 12px; }
.service-strip { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; }
.service-strip li { padding: 4px 8px; font-weight: 650; font-size: 13px; text-align: center; }
.service-strip span { color: var(--accent); margin-right: 5px; }

.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 35px; }
.section-intro > p { max-width: 330px; color: var(--muted); }
.tour-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tour-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); border-radius: 10px; overflow: hidden; }
.tour-card figure { position: relative; background: #c3c6ac; }
.tour-card img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.tour-card figcaption, .feature-photo figcaption { position: absolute; bottom: 12px; left: 12px; max-width: calc(100% - 24px); padding: 5px 8px; color: white; background: #12271de8; border-radius: 3px; font-size: 12px; }
.tour-content { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 19px 15px 17px; }
.tour-card h3 { font-size: clamp(33px, 3vw, 43px); }
.tour-card p { color: var(--muted); font-size: 14px; }
.tour-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border-top: 1px solid var(--line); padding-top: 11px; margin-top: auto; font-size: 13px; font-weight: 700; }
.tour-links a { text-decoration: none; }
.tour-links a:first-child { color: var(--accent); }
.tour-links a:hover { text-decoration: underline; }

.services { background: #f1ebdf; }
.feature { display: grid; grid-template-columns: 1fr .98fr; gap: clamp(34px, 7vw, 100px); align-items: center; }
.feature-photo { position: relative; }
.feature-photo img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; border-radius: 10px; }
.service-list { margin-top: 23px; }
.service-list > div { padding: 13px 0; border-bottom: 1px solid #d7cfc1; }
.service-list dt { margin-bottom: 4px; font-weight: 700; }
.service-list dd { color: var(--muted); }
.service-list a { display: inline-block; }

.hotel-intro { max-width: 330px; color: var(--muted); }
.hotel-intro a { display: inline-block; margin-top: 8px; }
.hotel-photos, .rafting-photos { display: grid; gap: 16px; }
.hotel-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hotel-photos img, .rafting-photos img { width: 100%; height: auto; border-radius: 9px; object-fit: cover; }
.hotel-photos img { aspect-ratio: 4 / 3; background: #e9dfd0; }
.hotel-photos figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.rafting-section { background: #eceee2; }
.rafting-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rafting-photos img { aspect-ratio: 4 / 3; background: #c6d0c5; }
.rafting-actions { margin-top: 24px; }
.outline { color: var(--green); border-color: var(--green); }
.outline:hover { background: #e0e8df; }

.safety { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(30px, 7vw, 100px); align-items: center; }
.safety p { margin: 14px 0; color: var(--muted); }
.text-link { font-weight: 700; color: var(--accent); }
.safety-options { display: grid; gap: 12px; }
.safety-options article { display: flex; gap: 13px; align-items: start; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.safety-options h3 { font-size: 17px; }
.safety-options p { margin: 3px 0 0; }
.safety-icon { width: 37px; height: 37px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #e6eee4; color: var(--green); font-size: 21px; font-weight: 700; }

.booking-section { color: #fcf6ec; background: var(--deep); }
.booking-layout { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(36px, 7vw, 105px); align-items: center; }
.booking-layout > div > p:not(.eyebrow) { margin-top: 17px; color: #e4e8db; }
.booking-layout .eyebrow { color: #efbb74; }
.booking-steps { padding-left: 23px; margin-top: 22px; }
.booking-steps li { padding: 10px 0 10px 7px; border-top: 1px solid #ffffff3b; }
.booking-steps li::marker { color: #efbb74; font-weight: 700; }
.booking-steps span { display: block; color: #e5eadd; }
.booking-form { padding: clamp(18px, 3vw, 33px); border-radius: 10px; background: var(--white); color: var(--ink); }
.booking-form h3 { margin-bottom: 16px; font-size: 41px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form-grid label { display: grid; gap: 5px; min-width: 0; font-size: 13px; font-weight: 700; }
.form-grid .field-wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { min-width: 0; width: 100%; min-height: 43px; padding: 8px 9px; border: 1px solid #c7cbbd; border-radius: 5px; background: white; font-size: 16px; }
.form-grid textarea { resize: vertical; }
.booking-form .button { width: 100%; margin-top: 15px; }
.form-note, #booking-status { margin-top: 6px; color: var(--muted); font-size: 12px; }
#booking-status:empty { margin: 0; }

.route-list { display: grid; gap: 9px; }
.route-list details { padding: 13px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.route-list summary { cursor: pointer; font-weight: 700; }
.route-list summary span { color: var(--muted); font-weight: 400; }
.route-list ol { margin-top: 16px; padding-left: 25px; }
.route-list li { margin-bottom: 10px; }
.route-list li p { color: var(--muted); }
.route-list details a { display: inline-block; margin-top: 9px; font-weight: 700; color: var(--accent); }

.gallery-section { background: #eceee2; }
.journey-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.gallery-stage { position: relative; height: clamp(300px, 39vw, 530px); overflow: hidden; border-radius: 9px; background: #233b31; }
.gallery-image { display: block; padding: 0; height: 100%; width: 100%; border: 0; background: transparent; cursor: zoom-in; }
.gallery-image img { height: 100%; width: 100%; object-fit: contain; }
.gallery-stage { container-type: size; }
.gallery-stage img[data-treatment="rotated"] {
  position: absolute; top: 50%; left: 50%; width: 100cqh; height: 100cqw; max-width: none;
  transform: translate(-50%, -50%) rotate(-90deg);
}
.gallery-stage img[data-treatment="snow"] { object-fit: cover; object-position: 50% 56%; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 49px; border: 0; border-radius: 4px; color: white; background: #162d25e5; font-size: 30px; line-height: 1; }
.gallery-arrow:hover { background: #285b49; }
.prev { left: 8px; }
.next { right: 8px; }
.gallery-caption, .journey-videos figcaption { padding-top: 8px; color: var(--muted); font-size: 13px; text-align: center; }
.journey-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.journey-videos video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 7px; background: #20261e; }

.contact { display: grid; grid-template-columns: 1fr 1.55fr; gap: 30px; align-items: end; }
.contact > div > p:last-child { margin-top: 10px; color: var(--muted); }
.contact-methods { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 15px; }
.contact-methods h3 { font-size: 15px; margin-bottom: 6px; }
.contact-methods a { display: block; color: var(--muted); overflow-wrap: anywhere; }
.footer { padding: 37px 0 32px; background: #18372d; color: #faf5e9; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 17px; align-items: start; }
.footer .brand em { color: #f7cf93; }
.footer .brand + p { margin-top: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.footer p, .credits { font-size: 13px; color: #e1e6da; }
.credits summary { cursor: pointer; }
.credits ul { margin: 7px 0; padding-left: 18px; }
.credits li { margin: 5px 0; }
.copyright { justify-self: end; }

.trip-help { position: fixed; bottom: 17px; right: 17px; z-index: 3; display: grid; gap: 9px; justify-items: end; }
.help-toggle { border-radius: 25px; box-shadow: 0 3px 15px #14332946; }
.help-toggle span { width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; line-height: 1; }
.help-panel { width: min(330px, calc(100vw - 34px)); padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 3px 22px #1433293f; }
.help-panel header { display: flex; justify-content: space-between; align-items: center; }
.icon-button { width: 37px; height: 37px; padding: 0; border: 0; border-radius: 4px; background: #e7ebe3; font-size: 24px; line-height: 1; }
.help-panel > p { margin: 5px 0 12px; font-size: 14px; color: var(--muted); }
.help-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.help-topics button { padding: 6px 8px; border: 1px solid #bdd0c2; border-radius: 5px; background: #ebf0e9; font-size: 13px; }
.help-topics button[aria-pressed="true"] { background: #d1e3d6; border-color: #38604c; }
.photo-dialog { width: min(950px, 96vw); max-height: 95vh; padding: 42px 0 0; border: 0; border-radius: 8px; background: #152c23; }
.photo-dialog::backdrop { background: #061911d9; }
.photo-dialog img { width: 100%; height: min(78vh, 680px); object-fit: contain; }
.photo-dialog:has(img[data-treatment="rotated"]) { height: min(86vh, 722px); container-type: size; }
.photo-dialog img[data-treatment="rotated"] {
  position: absolute; top: calc(50% + 21px); left: 50%; width: 100cqh; height: 100cqw; max-width: none;
  transform: translate(-50%, -50%) rotate(-90deg);
}
.dialog-close { position: absolute; right: 4px; top: 3px; }
.photo-dialog .dialog-close { z-index: 1; }

@media (max-width: 1040px) {
  .wrap { width: min(960px, 100% - 60px); }
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-card img { aspect-ratio: 1.55; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; min-height: 0; gap: 8px 10px; padding-block: 9px; }
  .header-actions { gap: 8px; }
  .header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 6px; border-top: 1px solid var(--line); padding-top: 7px; }
  .header nav a { font-size: 13px; }
  .header-call { display: none; }
  .brand { font-size: 27px; gap: 7px; }
  .brand img { width: 35px; height: 35px; }
  .hero { min-height: 555px; background-position: center, 53% 50%; background-image: linear-gradient(90deg,#16180fd9,#16180f59), url("assets/hero.jpg"); }
  .hero h1 { font-size: clamp(55px, 10.4vw, 80px); }
  .hero-inner { padding-block: 53px; }
  .service-strip { grid-template-columns: 1fr 1fr; gap: 4px; }
  .service-strip li { text-align: left; }
  .section-intro { display: grid; gap: 12px; margin-bottom: 24px; }
  .feature, .safety, .booking-layout, .journey-grid { grid-template-columns: 1fr; }
  .safety { gap: 22px; }
  .contact-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-methods > div:last-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr; }
  .copyright { justify-self: start; }
  .footer { padding-bottom: 75px; }
}
@media (max-width: 460px) {
  .tour-grid { grid-template-columns: 1fr; }
  .hotel-photos, .rafting-photos { grid-template-columns: 1fr; }
  .hero { min-height: 500px; }
  .hero .lead { max-width: 330px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
