/* Shared river-blue palette for the landing page and all content pages. */
:root {
  --ink: #173b57;
  --teal: #156aa6;
  --dark: #125b92;
  --blue: #278ac7;
  --mint: #d6edff;
  --pale: #e9f4fc;
  --paper: #f8fbfe;
  --muted: #526c80;
  --line: #d5e4ee;
}
body, body.v2.detail-page { background: #e5eff7; }
.site-shell { box-shadow: 0 15px 60px #173b570a; }
.eyebrow, .story-scribble, .benefit-strip svg, .story-features svg,
.desktop-nav .external-link, .desktop-nav .nav-external a, .mobile-nav .external-link { color: #2679af; }
.eyebrow.light, .hero-side-note { color: #d9efff; }
.brand-icon, .detail-page .brand-icon { background: #e1f1fc; color: #1d72ab; }
.brand-dot, .detail-page .brand-dot { color: #278ac7; }
.button-dark { background: #146ba8; }
.button-dark:hover { background: #105589; }
.button-mint { background: #d6edff; color: #123f61; }
.button-mint:hover { background: #edf7ff; }
.button-circle { background: #175d90; color: #fff; }
.hero-shade { background: linear-gradient(90deg,#082b50e6 0%,#103e65af 34%,#1558870f 77%),linear-gradient(0deg,#062b50cc,transparent 70%); }
.hero h1>span, .river-content h2 span, .contact-text h2>span { color: #caeaff; }
.hero-description { color: #f0f7ff; }
.hero-proof, .hero-bottom { color: #d4e6f5; }
.hero-proof strong { color: #fff; }
.tiny-line { background: #b8def8; }
.hero-wave path { fill: var(--paper); }
.hero-feature small, .feature-meta, .card-meta, .card-bottom>span,
.filter-caption, .more-programs, .story-features span, .base-info .number { color: #54738c; }
.filter { border-color: var(--line); }
.filter:hover { background: #e4f2fc; }
.program-card { border-color: #dce8f1; }
.card-image { background: #dcecf8; }
.card-open { background: #f8fcff; }
.card-body>p, .story-copy>p:not(.eyebrow) { color: #526c80; }
.card-bottom { border-color: #e5eef5; }
.program-resources a { color: #166aa4; text-decoration-color: #a9cfe8; }
.our-story { background: #eaf4fc; }
.story-photo-two, .story-stamp { border-color: #eaf4fc; }
.river-shade { background: linear-gradient(90deg,#072d50ed,#104f7baa 48%,#1269a21a 88%); }
.river-content>p:not(.eyebrow) { color: #e1effc; }
.base-photo>span { color: #254f70; }
.faq-list summary>span { border-color: var(--line); }
.contact-section { background: linear-gradient(125deg,#15517e,#156ba6); }
.contact-text>p:not(.eyebrow) { color: #d0e6f9; }
.contact-card .handwritten { color: #c3e4ff; }
.contact-card svg, .contact-card small, .contact-card>div>span>span { color: #c0def4; }
.contact-card { border-color: #d0e9ff4d; background: #ffffff09; }
dialog::backdrop { background: #082a46d1; }
.dialog-close { border-color: var(--line); }
.inquiry-intro { background: #e0f0fc; }
.inquiry-intro .brand-icon { background: #145b8e; color: #dcefff; }
.inquiry-intro>p:not(.eyebrow), .form-explanation { color: #526c80; }
.inquiry-dialog input, .inquiry-dialog select, .inquiry-dialog textarea { border-color: var(--line); }
.inquiry-dialog input:focus, .inquiry-dialog select:focus, .inquiry-dialog textarea:focus { border-color: #247cb9; outline-color: #badcf5; }
.inquiry-dialog ::placeholder { color: #708a9d; }

/* A persistent, immediately visible route from the popup to the full program. */
.program-dialog { overflow-y: auto; overscroll-behavior: contain; }
.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 12px 18px;
  background: #f8fbfefa;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.detail-topbar .button { margin: 0; min-height: 48px; font-size: 17px; padding: 13px 24px; }
.detail-topbar .dialog-close { position: static; flex: 0 0 44px; margin: 0; box-shadow: none; }
.detail-image { height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 65%; }
.detail-content h2 { margin-bottom: 16px; }
.detail-meta { margin: 0 0 22px; }

/* Content pages retain their original text, prices and forms. */
.detail-page .site-header nav a[target]:after { color: #2679af; }
.detail-page .page-index { flex-wrap: wrap; }
.detail-page .page-index a[href$=".html"]::after { content: "→"; }
.detail-page .v2-section:nth-child(even), .detail-page .v2-map-image { background: #edf5fc !important; }
.detail-page .v2-pricing { background: #e0effb !important; }
.detail-page .v2-form-section { background: #e4f1fb !important; }
.detail-page .u-list-item { background: #edf5fc !important; }
.detail-page .u-list-item:nth-child(3n + 2) { background: #175e94 !important; }
.detail-page .u-list-item:nth-child(3n) { background: #d7ecfc !important; }
.detail-page .u-btn:not(.u-text .u-btn):hover { background: #104f80 !important; }
.detail-page .u-table tbody tr:nth-child(odd):not(:first-child) { background: #eff6fc; }
.detail-page .u-input::placeholder { color: #60798c; }
.detail-page main { border-radius: 0; }

/* A complete photograph in the gallery; no cropped faces at narrow widths. */
.detail-page .u-gallery .u-back-image { object-fit: contain; object-position: center; }
.detail-page .u-gallery-inner { background: #e5eff7; }

/* Shared footer: identical content and appearance throughout the website. */
.shared-footer {
  max-width: 1560px;
  margin: 0 auto;
  padding: 58px 64px 25px;
  background: #0c3153;
  color: #fff;
  font-family: 'DM Sans',sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}
.shared-footer * { box-sizing: border-box; }
.shared-footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 34px; }
.shared-footer h2, .shared-footer h3 { margin: 0 0 17px; font: 650 17px/1.4 'Manrope',sans-serif; letter-spacing: -.3px; color: #fff; }
.shared-footer p { margin: 16px 0 0; font-size: 16px; color: #c7dff1; }
.shared-footer a { color: #e0effa; text-decoration: none; overflow-wrap: anywhere; }
.shared-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.shared-footer a:focus-visible { outline: 3px solid #9bd5ff; outline-offset: 5px; }
.shared-footer ul { margin: 0; padding: 0; list-style: none; }
.shared-footer li { margin: 0 0 9px; padding: 0; font-size: 16px; }
.shared-footer address { font-style: normal; }
.shared-footer :is(.footer-contact,.footer-shops,.footer-nav)>a { display: block; margin-bottom: 9px; }
.shared-footer .brand, .shared-footer .footer-brand>a {
  display: inline-flex; flex-basis: auto; width: auto; align-items: center; gap: 12px;
  color: #fff; text-decoration: none; line-height: 1.2;
}
.shared-footer .brand-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: #234e71; color: #b6dfff; }
.shared-footer .brand-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shared-footer .brand strong, .shared-footer .footer-brand strong { display: block; font: 800 22px/1.2 'Manrope',sans-serif; letter-spacing: -1px; }
.shared-footer .brand small, .shared-footer .footer-brand small { display: block; margin-top: 6px; font-size: 7.5px; letter-spacing: 2.5px; font-weight: 650; }
.shared-footer .brand-dot { color: #74bef1; }
.shared-footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #b3dcf52e; padding-top: 22px; margin-top: 38px; font-size: 14px; color: #bdd4e6; }
.shared-footer-bottom p { margin: 0; font-size: 14px; }

/* The shop promotion appears once, near the bottom of the landing page. */
.shop-section { background: #e4f1fc; padding: 70px 64px; }
.shop-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1296px; margin: auto; }
.shop-section h2 { font-size: clamp(36px,3.5vw,52px); line-height: 1.15; }
.shop-section p { font-size: 18px; line-height: 1.8; color: var(--muted); margin: 22px 0; }
.shop-section .button { margin-top: 4px; }
.shop-section img { width: 100%; height: 350px; object-fit: cover; object-position: 50% 55%; border-radius: 20px; }
@media(max-width:1100px) {
  .shared-footer { padding: 48px 36px 25px; }
  .shared-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .shop-section { padding: 58px 36px; }
  .shop-inner { gap: 36px; }
}
@media(max-width:760px) {
  .hero-shade { background: linear-gradient(90deg,#092f51df,#0d4773a3 65%,#14558680),linear-gradient(0deg,#082c51dd,transparent 80%); }
  .river-shade { background: linear-gradient(90deg,#092f51ed,#105789b3 75%,#156a9e80); }
  .shop-inner { grid-template-columns: 1fr; gap: 28px; }
  .shop-section { padding: 50px 23px; }
  .shop-section img { height: 270px; }
  .shop-section p { font-size: 17px; }
  .detail-topbar { padding: 10px 12px; }
  .detail-topbar .button { font-size: 16px; padding: 13px 20px; }
  .detail-image { height: auto; aspect-ratio: 16 / 10; }
}
@media(max-width:520px) {
  .shared-footer { padding: 42px 24px 23px; }
  .shared-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .shared-footer-bottom { margin-top: 30px; gap: 12px; }
}

/* Individual photo framing and gentle colour rendering; source pixels are unchanged. */
.card-image{height:auto;aspect-ratio:4/3}
.card-image>img{position:absolute;inset:0}
.program-card:hover .card-image>img{transform:none}
.card-image img[src$="/river-trip.webp"]{object-position:56% 75%}
.detail-image[src$="/river-trip.webp"]{object-position:50% 100%}
img[src$="/river-trip.webp"]{filter:saturate(.88) contrast(.96)}
.card-image img[src$="/paddleboard.webp"]{object-position:64% 65%}
.detail-image[src$="/paddleboard.webp"]{object-position:64% 70%}
img[src$="/paddleboard.webp"]{filter:saturate(.88) contrast(.96)}
.card-image img[src$="/school-group.webp"]{object-position:50% 68%}
.detail-image[src$="/school-group.webp"]{object-position:50% 70%}
img[src$="/school-group.webp"]{filter:saturate(.88) contrast(.96)}
.card-image img[src$="/friends-kayaks.webp"]{object-position:50% 62%}
.detail-image[src$="/friends-kayaks.webp"]{object-position:50% 75%}
img[src$="/friends-kayaks.webp"]{filter:saturate(.88) contrast(.96)}
.card-image img[src$="/base.webp"]{object-position:50% 65%}
.detail-image[src$="/base.webp"]{object-position:50% 65%}
img[src$="/base.webp"]{filter:saturate(.88) contrast(.96)}
.card-image img[src$="/base-people.webp"]{object-position:50% 60%}
.detail-image[src$="/base-people.webp"]{object-position:50% 65%}
img[src$="/base-people.webp"]{filter:saturate(.88) contrast(.96)}
.card-image img[src$="/canoe-river.webp"]{object-position:65% 42%}
.detail-image[src$="/canoe-river.webp"]{object-position:65% 42%}
.card-image img[src$="/river-course.webp"]{object-position:45% 58%}
.detail-image[src$="/river-course.webp"]{object-position:45% 60%}
.card-image img[src$="/rafting.webp"]{object-position:55% 55%}
.detail-image[src$="/rafting.webp"]{object-position:55% 60%}
.hero-image{object-position:50% 28%}
.hero-feature>img{object-position:65% 42%}
.river-break>img{object-position:65% 40%}
.story-photo-one{object-position:50% 58%}
.story-photo-two{object-position:50% 60%}
.base-photo img{object-position:50% 60%}
img[src*="/svratka"]{filter:saturate(.88) contrast(.96)}
.detail-page .v2-split .v2-visual .v2-photo{min-height:0;aspect-ratio:4/3;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#e5eff7}
.detail-page .v2-catalogue-intro>.v2-sheet>.v2-photo{background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#e5eff7}
@media(max-width:760px){.hero-image{object-position:61% 35%}}

/* Temporary text logo until the new identity is supplied. */
.brand strong.brand-wordmark,
.detail-page .brand strong.brand-wordmark,
.shared-footer .brand strong.brand-wordmark,
.inquiry-intro .brand-wordmark {
  display: block;
  font: 800 clamp(20px, 1.8vw, 24px)/1.2 'Manrope', sans-serif;
  -webkit-text-stroke: 0.35px currentColor;
  letter-spacing: 0;
  white-space: nowrap;
}

.inquiry-intro .brand-wordmark { margin-bottom: 35px; }
