/* ==================================================================
   styles.css — Salmon Arm Tourism
   Kamloops-inspired: warm cream field, big full-bleed photography,
   generous width, editorial hierarchy. Teal-led; orange a rare accent.
================================================================== */

/* ---------------- reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Reveal right-anchored panels (mobile nav drawer + My Trip) with a paint-only clip-path
   instead of translateX(100%). A translated-off-screen fixed panel extends the document's
   scrollable width and shifts the page sideways mid-animation; clip-path never does. */
@keyframes slide-in-right { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ida-blue); text-decoration: none; }
a:hover { color: var(--ida-blue-deep); }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select, button { font: inherit; }
[hidden] { display: none !important; }

/* visible focus everywhere (never bare outline:none) */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-overlay);
  background: var(--ida-blue); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--radius-sm); font-family: var(--font-subhead);
  letter-spacing: .03em; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- typography ---------------- */
.display, h1, h2, h3 { line-height: var(--lh-tight); color: var(--ink); text-wrap: balance; }
.display { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-display); }
h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h1); }
h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); }
h3 { font-family: var(--font-subhead); font-weight: 800; font-size: var(--fs-h3); line-height: var(--lh-snug); }
p { max-width: 70ch; }

.eyebrow {
  font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-size: var(--fs-eyebrow); color: var(--sunset);
  display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; background: var(--sunset); border-radius: 2px;
}
.eyebrow--light { color: #fff; }

/* ---------------- layout primitives ---------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
/* flat sections get a whisper-faint teal dot texture for depth (audit: less flat) */
.section--cream { background-color: var(--cream); background-image: radial-gradient(rgba(0,105,117,.05) 1.5px, transparent 1.6px); background-size: 26px 26px; }
.section--paper { background-color: var(--paper); background-image: radial-gradient(rgba(0,105,117,.04) 1.5px, transparent 1.6px); background-size: 26px 26px; }
.section--wash { background: var(--lakeshore-soft); }
.section--deep { background: var(--ida-blue); color: #fff; }
.section--deep h2, .section--deep h3 { color: #fff; }

.section-head { max-width: 64ch; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-head .lead { color: var(--ink-soft); margin-top: .7rem; font-size: 1.125rem; }
.section--deep .section-head .lead { color: var(--lakeshore); }
.section-head--spread { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }
.section-head--full { max-width: none; }
/* full-width introductory copy (audit: make intro content full width) */
.section-head--full .lead, .section-head--spread .lead { max-width: none; }
.head-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; flex: 0 0 auto; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem,3vw,2.2rem); }
.results-count { color: var(--ink-soft); font-size: 1.05rem; }
.results-count strong { color: var(--ink); font-family: var(--font-subhead); }

/* listing contact rows (results cards) */
.lc-contact { margin: .35rem 0 .9rem; display: flex; flex-direction: column; gap: .3rem; }
.lc-meta { display: flex; align-items: center; gap: .45rem; font-size: .86rem; color: var(--ink-soft); min-width: 0; }
.lc-meta svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--ida-blue); }
.lc-meta a { color: var(--ink-soft); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-meta a:hover { color: var(--ida-blue); text-decoration: underline; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-subhead); font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; font-size: .9rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: 999px; transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--ida-blue); color: #fff; }
.btn--primary:hover { background: var(--ida-blue-deep); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ida-blue); box-shadow: inset 0 0 0 2px var(--ida-blue); }
.btn--outline:hover { background: var(--ida-blue); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: #fff; color: var(--ida-blue); }
/* hero banner scroll CTA: light-blue (lakeshore) instead of white, site-wide */
.banner-scroll.btn--ghost-light { color: var(--lakeshore); box-shadow: inset 0 0 0 2px var(--lakeshore); }
.banner-scroll.btn--ghost-light:hover { background: var(--lakeshore); color: var(--ida-blue); box-shadow: inset 0 0 0 2px var(--lakeshore); }
/* the single hero accent — bold white text ≥18px on orange (large-text AA) */
.btn--accent { background: var(--orange); color: #fff; font-size: 1.05rem; padding: 1.1rem 2rem; box-shadow: 0 10px 26px rgba(255,92,57,.4); }
.btn--accent:hover { background: var(--orange-deep); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: .6rem 1rem; font-size: .78rem; }
.btn--lg { padding: 1.1rem 2.3rem; font-size: 1rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
/* hover tooltip for disabled CTA buttons (e.g. empty itinerary) */
.cta-tip { position: relative; display: inline-flex; }
.cta-tip[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; padding: .42rem .66rem; border-radius: 7px; box-shadow: var(--shadow); z-index: 6; pointer-events: none; }
.cta-tip[data-tip]:hover::before { content: ""; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink); z-index: 6; pointer-events: none; }
/* yellow CTA with brand teal-blue text (amber #EFA63E + #004852 ≈ 4.97:1, AA) */
.btn--sun { background: var(--sunset); color: var(--ida-blue-deep); }
.btn--sun:hover { background: var(--sunset-deep); color: var(--ida-blue-deep); transform: translateY(-2px); }

.link-arrow {
  font-family: var(--font-subhead); font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; font-size: .85rem; color: var(--ida-blue);
  display: inline-flex; align-items: center; gap: .5rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------- topbar (not sticky) ---------------- */
.topbar { background: var(--sunset); color: var(--ida-blue-deep); font-size: .8rem; height: var(--topbar-h); position: relative; z-index: calc(var(--z-header) + 1); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.topbar-contact { display: flex; align-items: center; gap: 1.5rem; }
.topbar-contact a { color: var(--ida-blue-deep); display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; }
.topbar-contact a:hover { color: var(--ink); }
.topbar-contact svg { width: 15px; height: 15px; color: var(--ida-blue-deep); }
.topbar-right { display: flex; align-items: center; gap: clamp(1rem,2vw,1.5rem); }
.topbar-social { display: flex; align-items: center; gap: .4rem; padding-left: clamp(1rem,2vw,1.5rem); border-left: 1px solid rgba(0,72,82,.28); }
.topbar-social a { color: var(--ida-blue-deep); display: inline-grid; place-items: center; transition: color .18s var(--ease), transform .15s var(--ease); }
.topbar-social a:hover { color: var(--ink); transform: translateY(-1px); }
/* language switcher (topbar dropdown) */
.lang-select { position: relative; padding-left: clamp(1rem,2vw,1.5rem); border-left: 1px solid rgba(0,72,82,.28); }
.lang-btn { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; cursor: pointer; color: var(--ida-blue-deep); font: inherit; font-weight: 700; padding: .15rem 0; }
.lang-btn:hover { color: var(--ink); }
.lang-btn svg { width: 14px; height: 14px; }
.lang-btn .caret { width: 11px; height: 11px; transition: transform .2s var(--ease); }
.lang-select.is-open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 7px); min-width: 200px; list-style: none; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: .4rem; display: none; z-index: calc(var(--z-header) + 5); }
.lang-select.is-open .lang-menu { display: block; }
.lang-menu button { display: flex; align-items: center; gap: .55rem; width: 100%; text-align: left; padding: .5rem .7rem; border-radius: 7px; background: none; border: 0; cursor: pointer; color: var(--ink); font: inherit; font-size: .92rem; }
.lang-menu button:hover { background: var(--cream-deep); color: var(--ida-blue); }
.lang-menu button[aria-current="true"] { color: var(--ida-blue); font-weight: 800; }
.lang-flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.topbar-social svg { width: 22px; height: 22px; display: block; }
.topbar-weather { display: flex; align-items: center; gap: .5rem; color: var(--ida-blue-deep); }
.topbar-weather .wx-icon { width: 22px; height: 22px; color: var(--ida-blue-deep); }
.topbar-weather strong { font-family: var(--font-subhead); font-size: 1rem; letter-spacing: .02em; position: relative; top: -2px; }

/* ---------------- header (frosted glass — blurs whatever is behind it) ---------------- */
/* transparent over the hero/banner photos; turns solid white on hover, on scroll,
   or when a mega panel is open (legible nav over both photos and cream content) */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
/* gradient scrim so the white logo/links stay legible over bright photos */
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 220%; pointer-events: none; z-index: 0;
  background: linear-gradient(to bottom, rgba(0,22,26,.5), rgba(0,22,26,0));
  transition: opacity .3s var(--ease);
}
.header-inner { position: relative; z-index: 1; }
.site-header.is-solid, .site-header:hover {
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2);
  border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 40, 45, .1);
}
.site-header.is-solid::before, .site-header:hover::before { opacity: 0; }
/* white logo + links while the header is transparent */
.brand img { transition: filter .3s var(--ease); }
.site-header:not(.is-solid):not(:hover) .brand img { filter: brightness(0) invert(1); }
.site-header:not(.is-solid):not(:hover) .nav-link { color: #fff; text-shadow: 0 1px 10px rgba(0,18,22,.5); }
.site-header:not(.is-solid):not(:hover) .util-btn { color: #fff; }
.site-header .nav-link { transition: color .25s var(--ease); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-solid, .site-header:hover { background: #fff; }
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h); padding-inline: var(--gutter);
  max-width: 1480px; margin-inline: auto;
}
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { height: 48px; width: auto; }

.primary-nav { flex: 1 1 auto; }
.primary-nav > ul { display: flex; gap: clamp(.5rem, 1.4vw, 1.6rem); justify-content: center; }
.nav-item { position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; font-size: 1.02rem; color: var(--ink);
  padding: .6rem .4rem; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: .35rem; right: .35rem; bottom: .15rem; height: 3px;
  background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-item:hover .nav-link, .nav-link[aria-expanded="true"] { color: var(--ida-blue); }
.nav-item:hover .nav-link::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link .caret { width: 12px; height: 12px; transition: transform .22s var(--ease); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.header-utils { flex: 0 0 auto; display: flex; align-items: center; gap: .35rem; }
.util-btn {
  position: relative; /* anchor the My Trip count badge to the button */
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease);
}
.util-btn:hover { background: var(--lakeshore-soft); color: var(--ida-blue); }
.util-btn svg { width: 24px; height: 24px; }
.util-text { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; padding: 0 .6rem; }
.util-flag img { width: 29px; height: auto; border-radius: 3px; }
.trip-badge {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--orange); color: #fff; border-radius: 999px; font-size: .68rem;
  font-weight: 700; display: grid; place-items: center; font-family: var(--font-body);
}
.nav-toggle { display: none; }
.drawer-head { display: none; } /* only shown inside the mobile drawer */

/* ---------------- mega-menu ---------------- */
.mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-mega);
  background: linear-gradient(180deg, #ffffff 0%, var(--cream) 60%, var(--cream-deep) 100%);
  box-shadow: 0 30px 60px rgba(0,40,45,.22);
  opacity: 0; visibility: hidden; transform: translateY(-8px); overflow: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
/* brand chevron-colour accent bar across the top */
.mega::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--sunset) 0%, var(--orange) 50%, var(--ida-blue) 100%); }
.mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  max-width: var(--container); margin-inline: auto; padding: clamp(1.3rem,2vw,2rem) var(--gutter);
  display: grid; grid-template-columns: 1.5fr 1.1fr; gap: clamp(1.5rem,3vw,3rem); align-items: stretch;
}
.mega-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem 2rem; align-content: start; }
.mega-intro { grid-column: 1 / -1; padding-bottom: .8rem; margin-bottom: .3rem; border-bottom: 1px solid var(--line); }
.mega-intro h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin: .25rem 0 .35rem; }
/* no width cap so the blurb sits on one line on desktop (wraps gracefully only on narrow screens) */
.mega-intro p { color: var(--ink-soft); font-size: .9rem; margin-bottom: .45rem; }
.mega-col h4 {
  font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; font-size: .76rem; color: var(--ida-blue); margin-bottom: .35rem; min-height: 1em;
}
.mega-col a {
  display: flex; align-items: center; gap: .55rem; padding: .36rem .6rem; border-radius: 9px;
  color: var(--ida-blue-deep); font-weight: 700; transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.mega-col a::before { content: "›"; color: var(--sunset); font-weight: 700; font-size: 1.05rem; line-height: 1; flex: 0 0 auto; display: inline-block; transition: transform .15s var(--ease); }
.mega-col a:hover { background: #fff; color: var(--ida-blue); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.mega-col a:hover::before { transform: translateX(2px); }
.mega-features { display: grid; grid-auto-rows: 1fr; gap: .8rem; }
.feature-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 118px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm);
}
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s var(--ease); }
.feature-card::after { content: ""; position: absolute; inset: 0; background: var(--scrim); z-index: -1; }
.feature-card:hover img { transform: scale(1.05); }
.feature-card .fc-body { padding: 1.1rem 1.2rem; }
.feature-card h5 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff; line-height: 1.1; }
.feature-card .link-arrow { color: #fff; margin-top: .3rem; }

/* ---------------- hero ---------------- */
/* topbar + glass header + hero == one full viewport: hero fills 100vh minus the topbar,
   and slides up under the header (margin) so the glass header floats over the video. */
.hero { position: relative; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate;
  min-height: calc(100vh - var(--topbar-h));
  min-height: calc(100svh - var(--topbar-h));
  margin-top: calc(-1 * var(--header-h)); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* bottom scrim for headline legibility (glass header handles the top) */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,40,45,.82) 0%, rgba(0,40,45,.32) 45%, rgba(0,40,45,.10) 100%); }
.hero-inner { padding-block: clamp(5rem, 9vw, 7.5rem) clamp(1.75rem, 4vw, 3rem); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.4rem); margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,30,35,.35); max-width: none; }
/* subline: a sunset kicker over an emphasised tagline (no longer a flat sentence) */
.hero-sub { max-width: 42ch; }
.hero-sub-kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .7rem;
  font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; font-size: .92rem; color: var(--sunset);
}
.hero-sub-kicker::before { content: ""; width: 30px; height: 3px; background: var(--sunset); border-radius: 2px; }
.hero-sub-tag {
  display: block; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.35; color: #fff;
  font-weight: 400; margin-bottom: 1.8rem; text-shadow: 0 1px 14px rgba(0,30,35,.4);
}
.hero-sub-tag em { font-style: italic; color: var(--sunset); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: clamp(1.8rem, 3vw, 2.6rem); }
/* both hero buttons the same (smaller) size */
.hero-cta .btn { font-size: .82rem; padding: .85rem 1.6rem; }
.hero-cta .btn--accent { box-shadow: 0 10px 26px rgba(255,92,57,.4); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 1;
  display: grid; place-items: center; gap: .4rem; color: #fff;
}
.scroll-cue img { width: 42px; animation: bob 2.2s var(--ease) infinite; }
.scroll-cue span { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; opacity: .85; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
/* mobile: the centered scroll cue was overlapping the hero CTA buttons — lift the content
   clear of it and tuck the cue lower so they no longer collide. */
@media (max-width: 600px) {
  .hero-inner { padding-bottom: 5.5rem; }
  .scroll-cue { bottom: 1rem; }
  .scroll-cue img { width: 34px; }
}

/* ---------------- weather bar (stub) ---------------- */
.weather-bar { background: var(--ida-blue); color: #fff; }
.weather-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; padding-block: .85rem; }
.weather-now { display: flex; align-items: center; gap: .8rem; }
.weather-now .temp { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.weather-now .wx-icon { width: 34px; height: 34px; }
.weather-meta { font-size: var(--fs-small); color: var(--lakeshore); }
.weather-meta strong { color: #fff; font-family: var(--font-subhead); letter-spacing: .03em; }
.weather-forecast { display: flex; gap: 1.4rem; margin-left: auto; }
.wx-day { text-align: center; font-size: .78rem; color: var(--lakeshore); }
.wx-day b { display: block; color: #fff; font-size: .95rem; }
.wx-day svg { width: 22px; height: 22px; margin: .2rem auto; }

/* ---------------- welcome (editorial intro) ---------------- */
/* head columns match the body columns so the lead lines up with the body copy below */
.welcome-head { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: clamp(1.4rem,2.8vw,2.8rem); align-items: center; }
.welcome-head h2 { max-width: 16ch; }
/* shared indent so the lead, body copy and pull-quote all start on one line,
   with the orange accent bars on a consistent line in the gutter */
.welcome-lead { font-size: 1.22rem; line-height: 1.6; color: var(--ink); border-left: 4px solid var(--sunset); padding-left: 1.5rem; margin-top: 0; margin-bottom: 0; }

.welcome-body { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2.5rem,5vw,5rem); align-items: start; }
.welcome-head .eyebrow { padding-top: 0; }
/* generous, equal breathing room top and bottom */
.welcome { padding-block: clamp(3.5rem, 6vw, 6.5rem); }
/* = lead border + padding, so text edges line up */
.welcome-rail { position: relative; padding: 0 2rem 3rem 0; }
.welcome-img { margin: 0; }
.welcome-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.welcome-img--lg img { aspect-ratio: 4/5; }
.welcome-img--sm { position: absolute; right: 0; bottom: 0; width: 58%; }
.welcome-img--sm img { aspect-ratio: 1/1; border: 7px solid var(--cream); box-shadow: var(--shadow-lg); }
/* wharf as full-width background, opening copy overlaid */
.welcome-feature { position: relative; display: flex; align-items: center; min-height: clamp(500px,74vh,780px);
  margin: clamp(2.2rem,4.5vw,3.6rem) 0; padding-block: clamp(4.5rem,11vh,8.5rem);
  background-color: var(--ida-blue); background-position: center; background-size: cover; background-repeat: no-repeat; }
.welcome-feature::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,30,33,.84) 0%, rgba(8,30,33,.66) 30%, rgba(8,30,33,.32) 60%, rgba(8,30,33,0) 92%); }
.welcome-feature > .container { position: relative; z-index: 1; }
.welcome-feature-copy { max-width: 62ch; color: #fff; display: flex; flex-direction: column; gap: 1.1rem; }
.welcome-feature-copy p { color: rgba(255,255,255,.95); font-size: clamp(1.04rem,1.35vw,1.2rem); line-height: 1.65; text-shadow: 0 1px 18px rgba(0,20,24,.5); }
.welcome-feature-copy a { color: var(--sunset); font-weight: 700; text-decoration: none; box-shadow: inset 0 -2px 0 rgba(239,166,62,.5); transition: box-shadow .2s var(--ease); }
.welcome-feature-copy a:hover { box-shadow: inset 0 -1.05em 0 rgba(239,166,62,.28); }

/* closing copy + image to the right */
.welcome-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.welcome-split .welcome-text p { font-size: clamp(1.18rem, 1.55vw, 1.4rem); line-height: 1.6; }
.welcome-split-media { margin: 0; }
.welcome-split-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 820px) { .welcome-split { grid-template-columns: 1fr; } }
.welcome-text p + p { margin-top: 1rem; }
.welcome-quote {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem,3vw,2.3rem);
  line-height: 1.1; color: var(--ida-blue); margin-top: 1.7rem; padding-left: 1.5rem; border-left: 4px solid var(--sunset);
}
/* experience pillars below the pull-quote — fills the column + ties to the copy above */
.welcome-pillars { margin-top: 1.6rem; }
.welcome-pillars .eyebrow { margin-bottom: .8rem; }
.welcome-pillars .eyebrow:before { display: none; }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.15rem; border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--lakeshore); color: var(--ida-blue);
  font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .82rem;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.pill:hover { background: var(--ida-blue); color: #fff; box-shadow: inset 0 0 0 2px var(--ida-blue); transform: translateY(-2px); }

.welcome-close {
  margin-top: clamp(2.5rem,5vw,4.5rem); display: grid; grid-template-columns: .9fr 1.1fr;
  background: var(--lakeshore-soft); color: var(--ida-blue); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.welcome-close-media { position: relative; min-height: 300px; }
.welcome-close-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.welcome-close-copy { padding: clamp(2rem,4vw,3.5rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.1rem; }
.welcome-close-statement { font-size: clamp(1.2rem,1.8vw,1.55rem); line-height: 1.4; color: var(--ida-blue); max-width: 36ch; }
/* ida-blue text + solid teal button on the soft-lakeshore panel */
.welcome-close .eyebrow { color: var(--ida-blue); }
.welcome-close .btn--ghost-light { background: var(--ida-blue); color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.welcome-close .btn--ghost-light:hover { background: var(--ida-blue-deep); color: #fff; }

/* ---------------- find-us map band ---------------- */
.map-card { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.map-figure { margin: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--paper); padding: clamp(1rem,2.2vw,1.9rem); }
.map-figure img { width: 100%; display: block; border-radius: var(--radius-sm); }
.map-copy h2 { margin: .4rem 0 .7rem; }
.map-copy .lead { color: var(--ink-soft); margin-bottom: 1.4rem; }

/* ---------------- sitemap page ---------------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px,100%), 1fr)); gap: clamp(1.5rem,3vw,2.5rem); }
.sitemap-col h3 { font-family: var(--font-subhead); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ida-blue); margin-bottom: .7rem; }
.sitemap-col h3 a { color: inherit; }
.sitemap-col h3 a:hover { color: var(--orange); }
.sitemap-col ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.sitemap-col ul a { color: var(--ink-soft); }
.sitemap-col ul a:hover { color: var(--ida-blue); }

/* ---------- reusable faded background art for white sections ----------
   add class "section-art" + set --art-img on the section. Photo fades out toward
   the content side; a subtle dot grid is overlaid and feathered top/bottom. */
.section-art { position: relative; overflow: hidden; isolation: isolate; }
.section-art > .container { position: relative; z-index: 1; }
.section-art::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--art-img); background-size: cover; background-position: center right; background-repeat: no-repeat;
  opacity: .32;
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,0) 68%);
  mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,0) 68%);
}
.section-art::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(0,105,117,.14) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
}
.map-band { --art-img: url(../assets/img/plan-your-trip.jpg); }

/* ---------------- visitor centre "Here to Help You Explore" ---------------- */
.vc-prose { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,3.5vw,3.2rem);
  margin: clamp(1.4rem,2.6vw,2.2rem) 0 clamp(2rem,4vw,3.2rem); }
.vc-prose p { font-size: 1.08rem; line-height: 1.64; color: var(--ink); }
.vc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,2vw,1.5rem); }
.vc-fig { margin: 0; }
.vc-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.vc-fig figcaption { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: .5rem; font-weight: 600; }
.vc-contact { display: flex; flex-wrap: wrap; gap: 1.6rem 4rem; align-items: center; justify-content: space-between;
  margin-top: clamp(2rem,4vw,3.4rem); padding-top: clamp(1.8rem,3.5vw,2.8rem); border-top: 1px solid var(--line); }
.vc-contact h3 { font-family: var(--font-display); font-weight: 700; color: var(--ida-blue); font-size: 1.5rem; }
.vc-contact-msg p { margin-top: .3rem; }
.vc-hashtag { color: var(--ida-blue); font-weight: 800; font-family: var(--font-subhead); letter-spacing: .02em; margin-top: .6rem !important; }
.vc-contact-info p { margin: .25rem 0; }
.vc-contact-info b { color: var(--ida-blue); }
@media (max-width: 880px) { .vc-prose { grid-template-columns: 1fr; } .vc-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vc-gallery { grid-template-columns: 1fr; } }

/* ---------------- cards / grids ---------------- */
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  background: var(--paper); color: var(--ida-blue); padding: .35rem .7rem; border-radius: 999px;
  font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem;
}
.card-tag--accent { background: var(--orange); color: #fff; }
/* on event cards the date-chip sits top-left, so the price moves top-right */
.event-card .card-tag { left: auto; right: .9rem; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { font-size: 1.18rem; }
.card-body p { color: var(--ink-soft); font-size: .95rem; }
.card-foot { margin-top: auto; padding-top: .4rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.card-foot .add-stop { margin-left: auto; }   /* keep Add pinned right even when there's no Visit button */

.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* editorial overlay card (used for Start Here / audience) */
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  min-height: 280px; display: flex; align-items: flex-end; color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: var(--scrim); z-index: -1; }
.tile:hover img { transform: scale(1.05); }
.tile .tile-body { padding: 1.3rem 1.4rem; }
.tile h3 { color: #fff; font-size: 1.35rem; font-family: var(--font-display); font-weight: 700; }
.tile p { color: rgba(255,255,255,.9); font-size: .9rem; margin-top: .25rem; }
.tile--tall { min-height: 380px; }

/* ---------------- carousel ---------------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 320px);
  gap: clamp(1rem, 2vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 1rem; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
/* Top 5: one card at a time on mobile (swipe); on desktop two rows (3 + 2 centred), no scroll */
.carousel-track[data-carousel="top5"] { grid-auto-columns: 100%; }
@media (min-width: 901px) {
  .carousel-track[data-carousel="top5"] { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; }
  .carousel-track[data-carousel="top5"] > * { grid-column: span 2; }
  .carousel-track[data-carousel="top5"] > :nth-child(4) { grid-column: 2 / span 2; }
  .carousel-track[data-carousel="top5"] > :nth-child(5) { grid-column: 4 / span 2; }
  .carousel-nav[data-carousel-nav="top5"] { display: none; }
}
.carousel-nav { display: flex; gap: .6rem; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); box-shadow: var(--shadow-sm); color: var(--ida-blue);
  transition: background .2s var(--ease), color .2s, transform .2s;
}
.carousel-btn:hover { background: var(--ida-blue); color: #fff; transform: translateY(-2px); }
.carousel-btn:disabled { opacity: .35; cursor: default; transform: none; background: var(--paper); color: var(--ida-blue); }
.section--deep .carousel-btn { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.section--deep .carousel-btn:hover { background: #fff; color: var(--ida-blue); }

/* "Add Stop" mini button on experience cards */
.add-stop {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-subhead);
  font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .76rem;
  color: var(--ida-blue); padding: .45rem .8rem; border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--lakeshore); transition: all .2s var(--ease);
}
.add-stop svg { width: 15px; height: 15px; }
.add-stop:hover { background: var(--ida-blue); color: #fff; box-shadow: inset 0 0 0 2px var(--ida-blue); }
.add-stop.is-added { background: var(--sunset); color: var(--ink); box-shadow: none; }
.card-mail {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; flex: 0 0 auto;
  color: var(--ida-blue); box-shadow: inset 0 0 0 2px var(--lakeshore);
  transition: all .2s var(--ease);
}
.card-mail:hover { background: var(--ida-blue); color: #fff; box-shadow: inset 0 0 0 2px var(--ida-blue); }
.card-mail svg { width: 17px; height: 17px; }
.event-add { margin-top: .8rem; align-self: flex-start; background: var(--paper); }
.event-row .event-add { margin-top: .5rem; }

/* ---------------- itineraries (label overlaid) ---------------- */
.itin-card { position: relative; }
.itin-card .card-tag { font-size: .78rem; }

/* ---------------- trails strip ---------------- */
.trails-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,2vw,1.5rem); }
.trail-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.trail-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s var(--ease); }
.trail-card::after { content: ""; position: absolute; inset: 0; background: var(--scrim); z-index: -1; }
.trail-card:hover img { transform: scale(1.05); }
.trail-card .tc-body { padding: 1.1rem 1.2rem; }
.trail-card .eyebrow { color: var(--sunset); }
.trail-card h3 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

/* ---------------- newsletter (soft-blue + teal + orange) ---------------- */
.newsletter { background: var(--lakeshore-soft); color: var(--ink); position: relative; overflow: hidden; }
.newsletter-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.newsletter .eyebrow { color: var(--sunset-deep); }
.newsletter h2 { color: var(--ida-blue); }
.newsletter p { color: var(--ink-soft); margin-top: .8rem; }
.newsletter-form { display: flex; flex-direction: column; gap: .9rem; }
.field-row { display: flex; gap: .7rem; flex-wrap: wrap; }
.field {
  flex: 1 1 240px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 1rem 1.1rem; border-radius: 999px; min-width: 0;
}
.field::placeholder { color: rgba(255,255,255,.7); }
.field:focus-visible { outline-color: var(--sunset); background: rgba(255,255,255,.18); }
/* light-scheme fields inside the newsletter */
.newsletter .field { background: var(--paper); border: 1px solid var(--lakeshore); color: var(--ink); }
.newsletter .field::placeholder { color: var(--ink-soft); }
.newsletter .field:focus-visible { outline-color: var(--sunset); background: #fff; }
.form-note { font-size: var(--fs-small); color: var(--lakeshore); }
.newsletter .form-note { color: var(--ink-soft); }
.form-success { display: none; align-items: center; gap: .6rem; background: rgba(255,255,255,.14); padding: 1rem 1.2rem; border-radius: var(--radius); }
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--sunset); flex: 0 0 auto; }
.newsletter .form-success { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.newsletter .form-success svg { color: var(--ida-blue); }
.field-error { font-size: var(--fs-small); color: #ffd9cf; }
.newsletter .field-error { color: var(--orange-deep); }

/* ---------------- footer ---------------- */
.site-footer { background: var(--ida-blue-deep); color: #fff; }
.footer-main { padding-block: clamp(3rem,6vw,5rem) 2.5rem; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 2.5rem; }
.footer-brand img { height: 54px; margin-bottom: 1.1rem; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--lakeshore); font-size: .95rem; max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .2s var(--ease); }
.footer-social a:hover { background: var(--orange); color: #fff; }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.02rem; color: var(--sunset); margin-bottom: 1rem; }
.footer-col li + li { margin-top: .35rem; }
.footer-col a {
  display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.82);
  font-size: .95rem; padding: .15rem 0; transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer-col a::before {
  content: "›"; color: var(--sunset); font-weight: 700; font-size: 1.05rem; line-height: 1;
  transition: transform .18s var(--ease); display: inline-block;
}
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-col a:hover::before { transform: translateX(2px); }
.footer-watermark {
  font-family: var(--font-display); font-weight: 700; line-height: .9;
  font-size: clamp(2.1rem, 9.25vw, 8rem); /* 128px cap; clips gracefully */ letter-spacing: -.02em;
  color: rgba(255, 255, 255, .05); /* barely-there ghost over the deep teal */
  margin: clamp(1.5rem, 4vw, 3.5rem) 0 .5rem; white-space: nowrap; overflow: hidden; text-align: center;
  user-select: none; pointer-events: none;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-block: 1.8rem 2.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2.5rem; }
.footer-bottom-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 1rem; }
.footer-ack { color: var(--lakeshore); font-size: .92rem; max-width: 72ch; }
.footer-copy { color: rgba(255,255,255,.7); font-size: .88rem; }
.footer-bottom a { color: rgba(255,255,255,.85); }
.footer-partners { flex: 0 0 auto; }
.footer-partners { display: flex; align-items: center; gap: 1.8rem; }
/* white/reversed logos sit directly on the dark footer — no white chip */
.footer-partners img { height: clamp(64px, 7vw, 92px); width: auto; opacity: .9; transition: opacity .2s var(--ease); }
.footer-partners a:hover img { opacity: 1; }

/* ---------------- back-to-top ---------------- */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: var(--z-header);
  width: 50px; height: 50px; border-radius: 50%; background: var(--ida-blue); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 22px; height: 22px; }

/* ---------------- toast ---------------- */
.toast-wrap { position: fixed; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: var(--z-toast); display: flex; flex-direction: column; gap: .6rem; align-items: center; }
.toast {
  background: var(--ink); color: #fff; padding: .9rem 1.3rem; border-radius: 999px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .6rem;
  font-weight: 700; transform: translateY(20px); opacity: 0; transition: all .3s var(--ease);
}
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast svg { width: 20px; height: 20px; color: var(--sunset); }

/* ---------------- My Trip slide-out ---------------- */
/* closed = display:none so it never extends the page width (keeps sticky working) */
/* The panel sits fully inside the viewport (right:0, width <= 92vw → left edge always > 0) and
   fades in. It never extends past the right edge, so it cannot add horizontal scroll on any
   browser (incl. iOS Safari, where overflow:hidden doesn't reliably clip transformed fixed kids). */
.trip-panel {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(420px, 92vw); z-index: var(--z-overlay);
  background: var(--paper); box-shadow: -20px 0 50px rgba(0,40,45,.25);
  flex-direction: column; display: none;
}
.trip-panel.is-open { display: flex; animation: panel-fade .24s var(--ease); }
@keyframes panel-fade { from { opacity: 0; } to { opacity: 1; } }
.trip-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; background: var(--ida-blue); color: #fff; }
.trip-head h3 { color: #fff; }
.trip-body { padding: 1.2rem 1.4rem; overflow-y: auto; flex: 1; }
.trip-empty { color: var(--ink-soft); text-align: center; padding: 2.5rem 1rem; }
.trip-empty > svg { width: 54px; height: 54px; color: var(--lakeshore); margin: 0 auto 1rem; }
.trip-stop { display: flex; gap: .9rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.trip-stop img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; }
.trip-stop .ts-name { font-family: var(--font-subhead); font-weight: 800; }
.trip-stop .ts-cat { font-size: .8rem; color: var(--ink-soft); }
.trip-stop .ts-remove { margin-left: auto; color: var(--ink-soft); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.trip-stop .ts-remove:hover { background: #ffe8e2; color: var(--orange-deep); }
.trip-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); }

/* ---------------- search overlay ---------------- */
.overlay-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(0,40,45,.6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; }
.overlay-backdrop.is-open { opacity: 1; visibility: visible; }
.search-panel { max-width: 720px; margin: 12vh auto 0; padding: 0 var(--gutter); }
.search-box { display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 999px; padding: .4rem .5rem .4rem 1.4rem; box-shadow: var(--shadow-lg); }
.search-box svg { width: 24px; height: 24px; color: var(--ida-blue); flex: 0 0 auto; }
.search-box input { flex: 1 1 auto; min-width: 0; border: 0; padding: 1rem 0; font-size: 1.2rem; background: none; } /* min-width:0 lets the input shrink so the Search + close buttons stay on-screen */
.search-box [data-search-go], .search-box [data-search-close] { flex: 0 0 auto; }
.search-box input:focus-visible { outline: none; }
.search-pop { margin-top: 1.6rem; color: #fff; }
.search-pop h4 { color: #fff; font-family: var(--font-subhead); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: .8rem; }
.search-pop a { display: inline-block; background: rgba(255,255,255,.14); color: #fff; padding: .5rem 1rem; border-radius: 999px; margin: 0 .5rem .5rem 0; }
.search-pop a:hover { background: #fff; color: var(--ida-blue); }

/* ---------------- search RESULTS hero (the /results/?q= page) ---------------- */
.search-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(2.6rem, 6vw, 4.4rem) clamp(2.4rem, 5vw, 3.4rem);
  background: linear-gradient(150deg, var(--ida-blue) 0%, var(--ida-blue-deep) 100%);
  color: #fff;
}
.search-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.06) 1.6px, transparent 1.7px);
  background-size: 26px 26px;
}
.search-hero .eyebrow { color: var(--sunset); }
.search-hero-title { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.2rem); margin: .55rem 0 0; max-width: 22ch; }
.search-hero-title em { font-style: normal; color: var(--lakeshore); }
.search-hero-form { margin-top: clamp(1.4rem, 3vw, 2rem); max-width: 640px; }
.search-hero-box {
  display: flex; align-items: center; gap: .55rem;
  background: #fff; border-radius: 999px;
  padding: .45rem .5rem .45rem 1.4rem;
  box-shadow: 0 18px 40px rgba(0,26,30,.32);
  transition: box-shadow .2s var(--ease);
}
.search-hero-box:focus-within { box-shadow: 0 0 0 3px var(--sunset), 0 18px 40px rgba(0,26,30,.32); }
.search-hero-ic { width: 23px; height: 23px; color: var(--ida-blue); flex: 0 0 auto; }
.search-hero-box input {
  flex: 1 1 auto; min-width: 0; border: 0; background: none;
  padding: .95rem .3rem; font-size: 1.1rem; color: var(--ink); font-family: var(--font-body);
}
.search-hero-box input::placeholder { color: var(--ink-soft); opacity: .75; }
.search-hero-box input:focus-visible { outline: none; }
.search-hero-btn { flex: 0 0 auto; }
@media (max-width: 560px) {
  .search-hero-box { flex-wrap: wrap; border-radius: 20px; padding: .85rem 1rem; }
  .search-hero-box input { flex-basis: 100%; padding: .4rem .3rem; }
  .search-hero-btn { width: 100%; justify-content: center; }
}

/* ---------------- scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* photo credit caption */
.credit { font-size: .72rem; color: var(--ink-soft); margin-top: .4rem; }
.credit--on-photo { position: absolute; right: .7rem; bottom: .6rem; color: rgba(255,255,255,.85); z-index: 2; font-size: .68rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

/* ============================================================
   LANDING / SECTION PAGES
============================================================ */
/* full-bleed banner (sits under the glass header like the hero) */
/* tall, cinematic banner — client wants the header photo to be prominent */
.page-banner { position: relative; margin-top: calc(-1 * var(--header-h)); min-height: calc(100vh - var(--topbar-h)); min-height: calc(100svh - var(--topbar-h)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.page-banner .banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,40,45,.85) 0%, rgba(0,40,45,.38) 50%, rgba(0,40,45,.12) 100%); }
.banner-inner { padding-block: clamp(6rem, 10vw, 8rem) clamp(2.6rem, 5vw, 4rem); }
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 16ch; margin: .5rem 0 0; text-shadow: 0 2px 20px rgba(0,30,35,.4); }
.banner-sub { font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.35; color: #fff; max-width: none; white-space: nowrap; margin-top: .9rem; text-shadow: 0 1px 12px rgba(0,30,35,.4); }
@media (max-width: 640px) { .banner-sub { white-space: normal; } }
.banner-sub-kicker { display: block; }
.banner-blurb { font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.55; color: rgba(255,255,255,.92); max-width: 56ch; margin-top: 1rem; text-shadow: 0 1px 10px rgba(0,30,35,.4); }
.banner-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.banner-scroll { gap: .65rem; }
.banner-scroll svg { width: 1.1em; height: 1.1em; animation: bob 2.2s var(--ease) infinite; }

/* client: remove breadcrumbs site-wide + the banner blurb, so more of the photo shows */
.breadcrumb, .banner-blurb { display: none !important; }

/* intro lead block */
.page-intro { max-width: 72ch; }
.page-intro .lead-xl { font-size: clamp(1.2rem,2vw,1.55rem); line-height: 1.5; color: var(--ink); }

/* alternating image + copy band */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4.5rem); align-items: center; }
.split + .split { margin-top: clamp(2.5rem,5vw,4.5rem); }
.split:nth-of-type(even) .split-media { order: -1; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.split-copy h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); margin-bottom: .7rem; }
.split-copy p { color: var(--ink-soft); margin-bottom: 1.2rem; }

/* bento grid (varied tile spans) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2vw,1.5rem); grid-auto-rows: clamp(260px, 24vw, 340px); }
.bento .tile { min-height: 0; }
.bento .span-2 { grid-column: span 2; }
.bento .row-2 { grid-row: span 2; }

/* big horizontal "list" cards (Stay) */
.stack-card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.stack-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.stack-card + .stack-card { margin-top: clamp(1.4rem,2.5vw,2rem); }
.stack-card:nth-child(even) .stack-media { order: 2; }
.stack-media { position: relative; min-height: 290px; overflow: hidden; }
.stack-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.stack-card:hover .stack-media img { transform: scale(1.04); }
.stack-num { position: absolute; top: 1rem; left: 1.1rem; font-family: var(--font-display); font-size: 2.4rem; color: rgba(255,255,255,.9); text-shadow: 0 2px 14px rgba(0,30,35,.5); z-index: 1; }
.stack-body { padding: clamp(1.6rem,3vw,2.8rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .9rem; }
.stack-body h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); }
.stack-body p { color: var(--ink-soft); }

/* event cards with date chip + filter bar (visual stub) */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(1.6rem,3vw,2.4rem); }
.filter-chip { padding: .55rem 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--lakeshore); font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; color: var(--ida-blue); cursor: pointer; transition: all .2s var(--ease); }
.filter-chip:hover, .filter-chip.is-active { background: var(--ida-blue); color: #fff; box-shadow: inset 0 0 0 2px var(--ida-blue); }
.event-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.2rem,2vw,1.6rem); }
.date-chip { position: absolute; top: .9rem; left: .9rem; z-index: 2; background: var(--paper); border-radius: 12px; text-align: center; padding: .45rem .65rem; line-height: 1; box-shadow: var(--shadow-sm); }
.date-chip .d { font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); display: block; }
.date-chip .m { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; font-size: .66rem; letter-spacing: .08em; color: var(--orange); }
.event-meta { font-size: .85rem; color: var(--ink-soft); display: flex; align-items: center; gap: .4rem; }
.event-meta svg { width: 15px; height: 15px; color: var(--ida-blue); }

/* two big CTA cards (events) */
.cta-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,2vw,1.5rem); }
.cta-card { position: relative; min-height: 210px; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.cta-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition: transform .4s var(--ease); }
.cta-card::after { content:""; position:absolute; inset:0; background: var(--scrim); z-index:-1; }
.cta-card:hover img { transform: scale(1.05); }
.cta-card .cta-body { padding: 1.6rem 1.8rem; }
.cta-card h3 { color:#fff; font-family: var(--font-display); font-weight:700; font-size: 1.8rem; margin-bottom: .3rem; }
.cta-card p { color: rgba(255,255,255,.9); font-size: .95rem; }

/* season cards (Plan Your Trip) */
.season-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1.2rem,2.5vw,2rem); }
.season-card { min-height: 360px; }
.season-card .tile-body h3 { font-size: 1.8rem; }

/* "keep exploring" related siblings — overlay tiles with a hover arrow (not a card grid) */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(.9rem, 1.6vw, 1.3rem); }
/* fixed 3-up variant — balanced 2 rows of 3 (e.g. "More ways to get out") */
.related-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .related-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .related-grid--3 { grid-template-columns: 1fr; } }
/* fixed height so tiles match across categories (width fills the row regardless of count) */
.related-tile { position: relative; height: clamp(190px, 15vw, 230px); border-radius: var(--radius); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.related-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .45s var(--ease); }
.related-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,40,45,.82), rgba(0,40,45,.15) 58%, transparent); z-index: -1; }
.related-tile:hover img { transform: scale(1.06); }
.related-tile .rt-body { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; padding: 1.05rem 1.15rem; }
.related-tile h3 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.05; }
.related-tile .rt-arrow { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; transition: background .2s var(--ease), transform .2s var(--ease); }
.related-tile:hover .rt-arrow { background: var(--orange); transform: translateX(2px); }
.related-tile .rt-arrow svg { width: 18px; height: 18px; }

/* category cards (Shop — text-forward, branded accents instead of photos) */
.cat-card { display: flex; flex-direction: column; gap: .6rem; min-height: 180px; padding: 1.5rem 1.6rem;
  border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--sunset); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cat-card:nth-child(3n+1) { border-bottom-color: var(--ida-blue); }
.cat-card:nth-child(3n+2) { border-bottom-color: var(--orange); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.cat-card p { color: var(--ink-soft); font-size: .92rem; }
.cat-card .link-arrow { margin-top: auto; }
/* full-bleed photo at the top of each category card */
.cat-card { overflow: hidden; }
.cat-card-media { margin: -1.5rem -1.6rem .9rem; height: clamp(190px, 17vw, 240px); overflow: hidden; }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.cat-card:hover .cat-card-media img { transform: scale(1.06); }

/* ---------------- full-width parallax photo break ---------------- */
.photo-break { position: relative; display: flex; align-items: center; min-height: clamp(440px, 66vh, 760px);
  padding-block: clamp(5rem, 13vh, 10rem); background-color: var(--ida-blue);
  background-position: center; background-size: cover; background-repeat: no-repeat; }
.photo-break::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(8,30,33,.82) 0%, rgba(8,30,33,.5) 48%, rgba(8,30,33,.12) 100%); }
.photo-break > .container { position: relative; z-index: 1; }
.photo-break .pb-inner { max-width: 48ch; color: #fff; }
.photo-break h2 { color: #fff; font-size: var(--fs-h1); text-shadow: 0 2px 24px rgba(0,20,24,.45); }
.photo-break p { color: rgba(255,255,255,.94); margin-top: .8rem; font-size: 1.12rem; max-width: 42ch; }
.photo-break .banner-cta { margin-top: 1.4rem; }
@media (min-width: 901px) { .photo-break { background-attachment: fixed; } }
@media (prefers-reduced-motion: reduce) { .photo-break { background-attachment: scroll; } }

/* ---------------- longform editorial layout (footer pages + posts) ---------------- */
.lf-intro { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.lf-lead { max-width: 64ch; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--ink); }
.lf-lead + .lf-lead { margin-top: 1.1rem; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-soft); }
.lf-lead strong { color: var(--ida-blue); }
/* intro with a companion photo — text left, tall image right */
.lf-intro--split > .container { display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.lf-intro--split .lf-lead { max-width: none; }
.lf-intro--split .lf-intro-copy { align-self: center; }
.lf-intro--split .lf-intro-copy .eyebrow { display: block; margin-bottom: 1rem; }
/* image matches the height of the text column for a balanced row */
.lf-intro-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
/* landscape variant — image keeps a wide ratio instead of stretching to text height */
.lf-intro--landscape > .container { align-items: center; }
.lf-intro--landscape .lf-intro-media img { height: auto; min-height: 0; aspect-ratio: 3/2; }
@media (max-width: 820px) {
  .lf-intro--split > .container { grid-template-columns: 1fr; gap: clamp(1.6rem, 6vw, 2.4rem); }
  .lf-intro-media { order: -1; }
  .lf-intro-media img { height: auto; aspect-ratio: 16/10; }
}

/* land acknowledgement — full-width editorial statement framed by hairlines, marked by the brand chevron device */
.lf-intro--ack { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.lf-ack { max-width: none; text-align: center; }
.lf-ack .eyebrow { display: block; margin-bottom: 1rem; }
.lf-ack .lf-lead { max-width: none; font-size: clamp(1.4rem, 2.7vw, 1.95rem); line-height: 1.45; color: var(--ink); }
.lf-ack .lf-lead strong { color: var(--ida-blue); }

/* experience card grid — 3 across, last two centred (Beach It) */
.exp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1.1rem, 2vw, 1.6rem); }
.exp-grid > * { grid-column: span 2; }
.exp-grid > :nth-child(4) { grid-column: 2 / span 2; }
.exp-grid > :nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 900px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid > * , .exp-grid > :nth-child(4), .exp-grid > :nth-child(5) { grid-column: auto; }
}
@media (max-width: 560px) { .exp-grid { grid-template-columns: 1fr; } }

/* ===== Explore content pages (explore2) — place cards, meta, principles ===== */
.place-addr { display: flex; align-items: center; gap: .4rem; margin: 0 0 .55rem; color: var(--ida-blue);
  font-family: var(--font-subhead); font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; }
.place-addr svg { width: 15px; height: 15px; flex: 0 0 auto; }
.place-addr a { color: inherit; display: inline-flex; align-items: center; gap: .4rem; }
.place-addr--soft { color: var(--ink-soft); }
.place-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: 0 0 .5rem; font-size: .82rem; color: var(--ink-soft); }
.place-meta b { color: var(--ink); font-weight: 800; }
.place-best { margin-top: .55rem; font-size: .92rem; color: var(--ink-soft); }
.place-best b { color: var(--ida-blue); text-transform: uppercase; letter-spacing: .03em; font-family: var(--font-subhead); font-size: .76rem; font-weight: 800; }
.card .place-link { margin-top: .7rem; }
/* flexible place-card grid — cards stretch to fill the row (auto-fit), image height fixed, width flexes */
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(1.1rem, 2vw, 1.6rem); }
/* full-width BC Ale Trail feature (Dine) — two-tone photo + panel */
.ale-trail-feature { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: stretch;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper); }
.atf-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.atf-body { padding: clamp(1.8rem, 4vw, 3.6rem); display: flex; flex-direction: column; justify-content: center;
  background: var(--lakeshore-soft); border-left: 6px solid var(--sunset); }
.atf-body .eyebrow { display: block; margin-bottom: .6rem; color: var(--sunset-deep); }
.atf-body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: .8rem; color: var(--ink); }
.atf-body p { color: var(--ink-soft); max-width: 54ch; margin-bottom: 1.5rem; }
@media (max-width: 760px) { .ale-trail-feature { grid-template-columns: 1fr; } .atf-media img { min-height: 220px; } .atf-body { border-left: 0; border-top: 6px solid var(--sunset); } }
.places .card-media { aspect-ratio: auto; height: 300px; }
@media (max-width: 560px) { .places .card-media { height: 230px; } }
/* principle cards (text only, no photo) */
.principle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.principle-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: clamp(1.3rem, 2.4vw, 1.9rem); border-top: 4px solid var(--sunset); }
.principle-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; margin: .35rem 0 .55rem; color: var(--ink); }
.principle-card p { color: var(--ink-soft); font-size: .95rem; }
/* principles band — a soft Shuswap vista sits behind the list under a cream wash (kept light for ≥4.5:1 contrast) */
.principle-section { position: relative; isolation: isolate; }
.principle-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(250,247,242,.90), rgba(250,247,242,.82)), url(../assets/img/viktoria-haack-6879.jpg);
  background-size: cover; background-position: center; }
/* plain principles list (no numbers, no tiles) — clean editorial list with hairline dividers */
.principle-list { max-width: none; }
.principle-item { padding: clamp(1rem, 2vw, 1.4rem) 0; border-bottom: 1px solid var(--line); }
.principle-item:first-child { border-top: 1px solid var(--line); }
.principle-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: var(--ida-blue); margin-bottom: .35rem; }
.principle-item p { color: var(--ink-soft); font-size: 1rem; max-width: none; }
/* Know Before You Go — row of external resource buttons */
.res-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.res-btns .btn { font-size: .92rem; }
/* centred section CTA (e.g. Family Friendly -> Explore) */
.explore-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }
.explore-cta p { color: var(--ink-soft); font-size: 1.08rem; margin: 0 auto 1.1rem; max-width: 52ch; }

.lf-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--sunset-deep); letter-spacing: .12em; margin-bottom: .45rem; }
.lf-feature .split { align-items: center; }
.lf-feature .split-media { order: 0; }
.lf-feature--right .split-media { order: 1; }
.lf-feature .split-media img { aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
/* framed media — padded white mat around a graphic (e.g. the map) */
.lf-feature .split-media.is-framed { background: var(--paper); padding: clamp(1.1rem, 2.4vw, 2.2rem);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lf-feature .split-media.is-framed img { aspect-ratio: auto; border-radius: var(--radius-sm); box-shadow: none; }
.lf-copy h2, .lf-head h2 { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem); margin-bottom: .6rem; color: var(--ink); }
.lf-text { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: clamp(1.2rem, 5vw, 4rem); align-items: start; }
.lf-prose { max-width: 66ch; }
.lf-cta-row { margin-top: clamp(1.2rem, 2.5vw, 1.8rem); }
/* rental cards (Beach It) — address line under the title */
.rental-card .rental-addr { display: flex; align-items: center; gap: .4rem; margin: -.2rem 0 .6rem;
  color: var(--ida-blue); font-family: var(--font-subhead); font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; }
.rental-card .rental-addr svg { width: 15px; height: 15px; flex: 0 0 auto; }
.rental-card .link-arrow { margin-top: .9rem; }
@media (max-width: 900px) { .lf-feature .split-media { order: 0; } }
@media (max-width: 760px) { .lf-text { grid-template-columns: 1fr; gap: .3rem; } }

/* ============================================================
   DETAIL / TEMPLATE PAGES (listing · event · venue · itinerary)
============================================================ */
.detail-head { background: var(--cream); padding-block: clamp(1.6rem,3vw,2.4rem) clamp(1.4rem,2.5vw,2rem); }
.detail-head-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.detail-head-main { flex: 1 1 460px; min-width: 0; }
.detail-head-cta { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: .8rem; }
.detail-head-cta .add-stop--lg, .detail-head-cta .banner-cta { margin-top: 0; }
.detail-head .breadcrumb { color: var(--ink-soft); margin-bottom: .8rem; }
.detail-head .breadcrumb a { color: var(--ida-blue); }
.detail-head .breadcrumb .sep, .detail-head .breadcrumb .here { color: var(--orange); }
.detail-title { font-size: clamp(2rem,4vw,3rem); max-width: 22ch; }
.detail-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.tag { background: var(--lakeshore-soft); color: var(--ida-blue-deep); border-radius: 999px; padding: .32rem .85rem; font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; }
.tag--accent { background: var(--orange); color: #fff; }

/* contact row at the very top (QA fix) */
.contact-row { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.contact-row a, .contact-row span { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 700; }
.contact-row a:hover { color: var(--ida-blue); }
.contact-row svg { width: 18px; height: 18px; color: var(--ida-blue); flex: 0 0 auto; }
.add-stop--lg { background: var(--ida-blue); color: #fff; box-shadow: none; font-size: .95rem; padding: .95rem 1.8rem; margin-top: 1.4rem; }
.add-stop--lg:hover { background: var(--ida-blue-deep); color: #fff; box-shadow: none; transform: translateY(-2px); }
.add-stop--lg.is-added { background: var(--sunset); color: var(--ink); }
.add-stop--lg svg { width: 18px; height: 18px; }

/* body: main + sticky sidebar */
.detail-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.detail-main > * + * { margin-top: 1.6rem; }
.detail-photo { margin: 0; }
.detail-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; }
.detail-prose p + p { margin-top: 1rem; }
.detail-prose h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); margin: 1.4rem 0 .5rem; }
.amenities { display: flex; flex-wrap: wrap; gap: .6rem; }
.amenity { display: inline-flex; align-items: center; gap: .45rem; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .85rem; }
.amenity svg { width: 15px; height: 15px; color: var(--ida-blue); }

.detail-aside { position: sticky; top: calc(var(--header-h) + 1rem); display: flex; flex-direction: column; gap: 1.2rem; }
.info-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.info-card .info-body { padding: 1.2rem 1.3rem; }
.info-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.info-row { display: flex; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.info-row:last-child { border-bottom: 0; }
.info-row .k { color: var(--ink-soft); min-width: 78px; font-weight: 800; font-family: var(--font-subhead); text-transform: uppercase; letter-spacing: .03em; font-size: .76rem; padding-top: .15rem; }

/* map stub (visual only — see spec §7) */
.map-stub { position: relative; aspect-ratio: 4/3; background: var(--lakeshore-soft); }
.map-stub img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.map-pin { position: absolute; left: 50%; top: 48%; transform: translate(-50%,-100%); color: var(--orange); filter: drop-shadow(0 3px 5px rgba(0,0,0,.35)); }
.map-pin svg { width: 42px; height: 42px; }
.map-note { font-size: .72rem; color: var(--ink-soft); padding: .5rem .9rem; background: var(--paper); border-top: 1px solid var(--line); }

/* itinerary timeline */
.itin-day { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem,2vw,1.8rem); }
.itin-day + .itin-day { margin-top: clamp(1.6rem,3vw,2.4rem); }
.day-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 18px; background: var(--ida-blue); color: #fff; flex: 0 0 auto; position: sticky; top: calc(var(--header-h) + 1rem); }
.day-badge .lbl { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; font-size: .66rem; letter-spacing: .08em; color: var(--lakeshore); }
.day-badge .num { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.itin-stops .stop { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.itin-stops .stop:last-child { border-bottom: 0; }
.itin-stops .stop img { width: 92px; height: 72px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.itin-stops .stop h4 { font-family: var(--font-subhead); font-weight: 800; font-size: 1.05rem; }
.itin-stops .stop .when { font-size: .8rem; color: var(--orange); font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.itin-stops .stop p { font-size: .9rem; color: var(--ink-soft); margin-top: .2rem; }

/* event detail hero meta */
.event-facts { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; }
.event-facts .fact { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.event-facts svg { width: 19px; height: 19px; color: var(--sunset); }

/* events: Planning-an-Event directory (venues + caterers cards · photographers chips) */
.plan-services { margin-top: clamp(2.2rem,4vw,3.4rem); padding-top: clamp(2.2rem,4vw,3.2rem);
  border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: clamp(2.2rem,4vw,3.2rem); }
.plan-col-head { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  font-size: .95rem; color: var(--ida-blue); margin-bottom: 1.1rem; padding-bottom: .55rem;
  border-bottom: 2px solid var(--sunset); display: inline-block; }
.svc-group .plan-col-head { display: block; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2vw,1.5rem); }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-media { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.svc-body h4 { font-family: var(--font-subhead); font-weight: 800; font-size: 1.08rem; line-height: 1.25; color: var(--ink); }
.svc-meta { font-size: .85rem; color: var(--ink-soft); }
.svc-link { margin-top: .5rem; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ida-blue); display: inline-flex; align-items: center; gap: .4rem; }
.svc-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

.photog-intro { color: var(--ink-soft); margin: -.3rem 0 1.2rem; font-size: 1.02rem; }
.photog-cloud { display: flex; flex-wrap: wrap; gap: .7rem; }
.photog-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.05rem;
  border-radius: 999px; border: 1.5px solid var(--lakeshore); background: var(--cream);
  font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.photog-chip svg { width: 16px; height: 16px; color: var(--ida-blue); transition: color .2s var(--ease); }
a.photog-chip:hover, a.photog-chip:focus-visible { background: var(--ida-blue); border-color: var(--ida-blue); color: #fff; transform: translateY(-2px); }
a.photog-chip:hover svg, a.photog-chip:focus-visible svg { color: #fff; }
.photog-chip--plain { opacity: .8; cursor: default; }
@media (max-width: 720px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .svc-grid { grid-template-columns: 1fr; } }

/* events intro: verbatim copy left, stacked quick-link cards right */
.ev-intro-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.cta-duo--stack { grid-template-columns: 1fr; }
.cta-duo--stack .cta-card { min-height: 340px; }
@media (max-width: 880px) { .ev-intro-split { grid-template-columns: 1fr; } }

/* ---------------- events page: filters + grid/list/calendar ---------------- */
.events-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem,3vw,2.5rem); align-items: start; }
/* events hero slider — crossfading slides, no parallax zoom */
.hero-slider .slide { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slider .slide.is-active { opacity: 1; }
.hero-slider .banner-bg { transform: none !important; }
.events-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); display: flex; flex-direction: column; gap: 1.3rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.filter-group { display: flex; flex-direction: column; gap: .5rem; }
.filter-group > label { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; color: var(--ida-blue); }
.ev-dates { display: flex; flex-direction: column; align-items: stretch; gap: .4rem; }
.ev-dates span { color: var(--ink-soft); font-size: .78rem; align-self: flex-start; }
/* the base .field is styled for dark backgrounds — reset it for the light sidebar */
.events-sidebar .field { flex: none; width: 100%; background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: .6rem .75rem; }
.events-sidebar .field::placeholder { color: var(--ink-soft); }
.events-sidebar .field:focus-visible { outline: 2px solid var(--sunset); background: #fff; }
.ev-dates .field { padding: .5rem .55rem; font-size: .82rem; min-width: 0; }
.ev-cats { display: flex; flex-direction: column; gap: .55rem; }
.ev-cat { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink); cursor: pointer; }
.ev-cat span { color: var(--ink-soft); font-size: .82rem; }
.ev-cat input { accent-color: var(--ida-blue); width: 16px; height: 16px; }
.events-main { min-width: 0; }
.events-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.view-toggle button { border: 0; background: none; padding: .5rem 1.05rem; font-family: var(--font-subhead); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.view-toggle button.is-active { background: var(--ida-blue); color: #fff; }
.ev-empty { color: var(--ink-soft); padding: 2.5rem 0; }
.link-btn { background: none; border: 0; color: var(--ida-blue); text-decoration: underline; cursor: pointer; font: inherit; }
.events-main .event-grid { grid-template-columns: repeat(auto-fill, minmax(min(255px,100%),1fr)); }
.ev-cat-tag { display: inline-block; font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .66rem; color: var(--sunset-deep); margin-bottom: .3rem; }
/* list view */
.event-list-view { display: flex; flex-direction: column; gap: 1rem; }
.event-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 1.2rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem .8rem .8rem; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.event-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.er-media { position: relative; }
.er-media img { width: 100%; height: 104px; object-fit: cover; border-radius: 10px; display: block; }
.er-media .date-chip { position: absolute; top: 8px; left: 8px; }
.er-body { min-width: 0; }
.er-body h3 { font-family: var(--font-subhead); font-weight: 800; font-size: 1.1rem; }
.event-row .link-arrow { white-space: nowrap; }
@media (max-width: 620px) { .event-row { grid-template-columns: 92px 1fr; } .event-row .link-arrow { display: none; } }
/* calendar view */
.cal { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.cal-head { display: flex; align-items: center; justify-content: center; gap: 1.2rem; padding: 1rem; background: var(--cream); }
.cal-head strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; min-width: 11ch; text-align: center; }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ida-blue); cursor: pointer; display: grid; place-items: center; }
.cal-nav:hover { background: var(--ida-blue); color: #fff; }
.cal-nav svg { width: 14px; height: 14px; }
.cal-nav[data-cal-prev] svg { transform: rotate(90deg); }
.cal-nav[data-cal-next] svg { transform: rotate(-90deg); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { text-align: center; padding: .5rem; font-family: var(--font-subhead); font-weight: 800; font-size: .7rem; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.cal-cell { min-height: 98px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .35rem; display: flex; flex-direction: column; gap: .2rem; }
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-empty { background: var(--cream); }
.cal-date { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.cal-event { display: block; font-size: .7rem; line-height: 1.25; padding: .15rem .35rem; border-radius: 5px; background: var(--lakeshore-soft); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-left: 3px solid var(--ida-blue); }
.cal-event:hover { background: var(--ida-blue); color: #fff; }
.cal-event.cat-music { border-left-color: var(--orange); }
.cal-event.cat-arts { border-left-color: var(--sunset); }
.cal-event.cat-fooddrink { border-left-color: var(--sunset-deep); }
.cal-event.cat-sport { border-left-color: #6FA63C; }
.cal-more { font-size: .65rem; color: var(--ink-soft); padding-left: .35rem; }

/* ---------------- account button + modals + multi-itinerary ---------------- */
.acct-initials { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ida-blue); color: #fff; font-family: var(--font-subhead); font-weight: 800; font-size: .82rem; }
.util-account.is-authed:hover .acct-initials, .util-account.is-authed .acct-initials { background: var(--ida-blue); color: #fff; }
.acct-initials.lg { width: 50px; height: 50px; font-size: 1.15rem; flex: 0 0 auto; }
body.modal-lock { overflow: hidden; }
.modal-overlay { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(0,30,34,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 1.2rem; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; }
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal { position: relative; width: 100%; max-width: 430px; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.6rem,3vw,2.2rem); max-height: 90vh; overflow-y: auto; transform: translateY(14px); transition: transform .25s var(--ease); }
.modal-overlay.is-open .modal { transform: none; }
.modal-close { position: absolute; top: .8rem; right: .8rem; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 1; }
.modal-close:hover { background: var(--orange); color: #fff; }
.modal-close svg { width: 18px; height: 18px; }
.modal-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.modal-sub { color: var(--ink-soft); margin: .4rem 0 1.2rem; }
.auth-tabs { display: flex; gap: .3rem; background: var(--cream); border-radius: 999px; padding: .3rem; margin-bottom: 1.3rem; }
.auth-tabs button { flex: 1; border: 0; background: none; padding: .55rem; border-radius: 999px; font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; color: var(--ink-soft); cursor: pointer; }
.auth-tabs button.is-active { background: var(--ida-blue); color: #fff; }
.auth-form { display: flex; flex-direction: column; gap: .9rem; }
.auth-form label { display: flex; flex-direction: column; gap: .35rem; font-family: var(--font-subhead); font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ida-blue); }
.auth-form input { font: inherit; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink); padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); }
.auth-form input:focus-visible { outline: 2px solid var(--sunset); background: #fff; }

/* submit-an-event modal form */
.ev-submit-btn { margin-bottom: 1.1rem; }
.modal--event { max-width: 560px; }
.event-form select, .event-form textarea { font: inherit; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink); padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); width: 100%; }
.event-form textarea { resize: vertical; min-height: 72px; }
.event-form select:focus-visible, .event-form textarea:focus-visible { outline: 2px solid var(--sunset); background: #fff; }
.event-form input[type="file"] { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); padding: .5rem .6rem; border: 1px dashed var(--line); border-radius: 10px; background: var(--cream); cursor: pointer; }
.event-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.event-form-error { color: var(--orange); font-weight: 700; min-height: 1.1em; margin: 0; }
.event-success { text-align: center; }
.event-success-mark { width: 64px; height: 64px; margin: .4rem auto 1.1rem; border-radius: 50%; background: var(--ida-blue); color: #fff; display: grid; place-items: center; }
.event-success-mark svg { width: 30px; height: 30px; }
.event-loading { text-align: center; padding-block: 1.8rem; }
.event-spinner { width: 54px; height: 54px; margin: .5rem auto 1.2rem; border-radius: 50%; border: 5px solid var(--lakeshore-soft); border-top-color: var(--ida-blue); animation: ev-spin .8s linear infinite; }
.event-loading-text { color: var(--ink-soft); font-weight: 700; margin: 0; }
@keyframes ev-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .event-spinner { animation-duration: 2.4s; } }
@media (max-width: 480px) { .event-form-row { grid-template-columns: 1fr; } }
.auth-note { font-size: .8rem; color: var(--ink-soft); text-align: center; margin-top: .2rem; }
.auth-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.auth-head h3 { font-size: 1.3rem; }
.auth-head p { color: var(--ink-soft); font-size: .9rem; word-break: break-word; }
.auth-trips h4 { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .75rem; color: var(--ida-blue); margin-bottom: .6rem; }
.auth-trips ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; margin-bottom: .9rem; }
.auth-trips li button { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); font: inherit; cursor: pointer; }
.auth-trips li button span { color: var(--ink-soft); font-size: .82rem; white-space: nowrap; }
.auth-trips li.active button { border-color: var(--ida-blue); background: var(--lakeshore-soft); font-weight: 700; }
.auth-trips li button:hover { border-color: var(--ida-blue); }
.auth-logout { display: block; width: 100%; margin-top: 1.2rem; background: none; border: 0; color: var(--orange); text-decoration: underline; cursor: pointer; font: inherit; }
.trip-foot-row { display: flex; gap: .5rem; }
.trip-foot-row .btn { flex: 1; justify-content: center; }
/* itinerary switcher on the planner */
.itin-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem; margin-top: 1.3rem; }
.itin-select { display: flex; flex-direction: column; gap: .3rem; font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--ida-blue); }
.itin-select select { font: inherit; font-size: .95rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink); padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); min-width: 230px; cursor: pointer; }
.itin-actions { display: flex; gap: .4rem; flex-wrap: wrap; }

/* ---------------- account page ---------------- */
.acct-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.acct-profile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; position: sticky; top: calc(var(--header-h) + 1rem); }
.acct-avatar { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--ida-blue); color: #fff; font-family: var(--font-display); font-size: 1.8rem; margin-bottom: .8rem; }
.acct-profile h2 { font-size: 1.4rem; }
.acct-profile p { color: var(--ink-soft); margin-top: .2rem; word-break: break-word; }
.acct-profile .muted { color: var(--ink-soft); font-style: italic; }
.acct-profile .btn--block { margin-top: 1.1rem; }
.acct-meta-list { list-style: none; text-align: left; margin-top: 1.2rem; display: flex; flex-direction: column; gap: .6rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.acct-meta-list li { display: flex; align-items: center; gap: .55rem; color: var(--ink-soft); font-size: .92rem; }
.acct-meta-list svg { width: 18px; height: 18px; color: var(--ida-blue); }
.acct-itins { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px,100%),1fr)); gap: 1rem; }
.acct-itin { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.acct-itin.active { border-color: var(--ida-blue); box-shadow: 0 0 0 1px var(--ida-blue); }
.acct-itin-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.acct-itin-top h3 { font-family: var(--font-subhead); font-weight: 800; font-size: 1.15rem; }
.acct-active-tag { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .6rem; color: #fff; background: var(--ida-blue); padding: .2rem .5rem; border-radius: 999px; }
.acct-itin-meta { display: flex; align-items: center; gap: .4rem; color: var(--ink-soft); font-size: .9rem; }
.acct-itin-meta svg { width: 16px; height: 16px; color: var(--sunset-deep); }
.acct-itin-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.acct-main .muted { color: var(--ink-soft); }
@media (max-width: 820px) { .acct-grid { grid-template-columns: 1fr; } .acct-profile { position: static; } }
@media (max-width: 860px) {
  .events-layout { grid-template-columns: 1fr; }
  .events-sidebar { position: static; flex-flow: row wrap; }
  .events-sidebar .filter-group { flex: 1 1 180px; }
  .cal-cell { min-height: 64px; }
  .cal-event { font-size: 0; height: 7px; padding: 0; border-left: 0; border-radius: 3px; }
  .cal-more { font-size: .6rem; }
}

/* ---------------- My Trip panel additions ---------------- */
.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; }
.btn--block { width: 100%; justify-content: center; }
.trip-day-label { font-family: var(--font-subhead); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; color: var(--ida-blue); margin: 1rem 0 .4rem; }
.trip-day-label:first-child { margin-top: 0; }
.trip-foot { display: flex; flex-direction: column; gap: .6rem; }
.trip-clear { background: none; border: 0; color: var(--ink-soft); font-size: .85rem; cursor: pointer; padding: .3rem; text-decoration: underline; }
.trip-clear:hover { color: var(--orange); }

/* ---------------- My Trip planner page ---------------- */
.planner-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.4rem,3vw,2rem); }
.planner-tools { display: flex; gap: .6rem; flex-wrap: wrap; }
.planner-day { align-items: start; }
.planner-day .day-badge { position: sticky; }
.day-badge { position: relative; }
.day-remove { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; cursor: pointer; }
.day-remove svg { width: 13px; height: 13px; }
.planner-stops { min-height: 76px; border-radius: 14px; transition: background .15s, box-shadow .15s; }
.planner-stops.drop-target { background: var(--lakeshore-soft); box-shadow: inset 0 0 0 2px var(--lakeshore); }
.planner-hint { color: var(--ink-soft); font-size: .9rem; font-style: italic; padding: 1.1rem .4rem; }
.planner-stop { display: flex; gap: 1rem; align-items: center; padding: .9rem .6rem; border-bottom: 1px solid var(--line); background: #fff; }
.planner-stop:last-child { border-bottom: 0; }
.planner-stop.dragging { opacity: .5; }
.planner-stop img { width: 84px; height: 64px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.planner-stop .ps-main { flex: 1 1 auto; min-width: 0; }
.planner-stop h4 { font-family: var(--font-subhead); font-weight: 800; font-size: 1.02rem; }
.drag-grip { color: var(--ink-soft); cursor: grab; flex: 0 0 auto; touch-action: none; }
.drag-grip svg { width: 18px; height: 18px; }
.planner-stop:active .drag-grip { cursor: grabbing; }
.ps-controls { display: flex; align-items: center; gap: .3rem; flex: 0 0 auto; }
.ps-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.ps-btn:hover { border-color: var(--ida-blue); color: var(--ida-blue); }
.ps-btn svg { width: 15px; height: 15px; }
.ps-btn[data-move="up"] svg { transform: rotate(180deg); }
.ps-remove:hover { border-color: var(--orange); color: var(--orange); }
.ps-day select { font: inherit; font-size: .82rem; padding: .25rem .4rem; border-radius: 8px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); cursor: pointer; }
@media (max-width: 560px) {
  .planner-stop { flex-wrap: wrap; }
  .planner-stop .ps-controls { width: 100%; justify-content: flex-end; }
}
@media print {
  .topbar, .site-header, .site-footer, .newsletter, .trip-panel, .overlay-backdrop, .to-top, .planner-toolbar, .ps-controls, .drag-grip, .detail-head-cta, .breadcrumb, .banner-cta { display: none !important; }
  .planner-stop { break-inside: avoid; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .split, .stack-card, .cta-duo, .season-grid { grid-template-columns: 1fr; }
  .stack-card:nth-child(even) .stack-media { order: 0; }
  .stack-media { min-height: 220px; }
  .split:nth-of-type(even) .split-media { order: 0; }
  .bento { grid-template-columns: repeat(2,1fr); }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .day-badge { position: static; width: 64px; height: 64px; border-radius: 14px; }
  .day-badge .num { font-size: 1.6rem; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .bento .span-2, .bento .row-2 { grid-column: span 1; grid-row: span 1; }
  .event-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE (core)
============================================================ */
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  /* nav becomes drawer */
  .primary-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 90vw); height: 100dvh;
    background: var(--paper); z-index: var(--z-drawer); display: none;
    overflow-y: auto; padding: 1.2rem; box-shadow: -20px 0 50px rgba(0,40,45,.25); }
  .primary-nav.is-open { display: block; animation: slide-in-right .3s var(--ease); }
  .primary-nav > ul { flex-direction: column; gap: 0; justify-content: flex-start; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1rem .4rem; font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .nav-link .caret { width: 16px; height: 16px; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
  .mega.is-open { max-height: 1400px; }
  .mega-inner { grid-template-columns: 1fr; padding: .5rem .4rem 1.2rem; gap: 1.4rem; }
  .mega-cols { grid-template-columns: 1fr; gap: 1.2rem; }
  .mega-features { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-grid; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
  body.nav-open { overflow: hidden; }
  .util-text { display: none; }
  .header-utils .util-newsletter,
  .header-utils .util-webcam,
  .header-utils .util-flag { display: none; }
}

@media (max-width: 820px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .welcome-head { grid-template-columns: 1fr; gap: 1rem; }
  .welcome-body { grid-template-columns: 1fr; gap: 2rem; }
  .welcome-rail { padding: 0; }
  .welcome-img--sm { position: static; width: 66%; margin: -2.5rem 0 0 auto; }
  .welcome-close { grid-template-columns: 1fr; }
  .welcome-close-media { min-height: 220px; }
  .map-card { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .trails-grid { grid-template-columns: 1fr 1fr; }
  .section-head--spread { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .topbar-contact a:nth-child(2) { display: none; } /* hide email, keep phone */
  .topbar-social { display: none; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .trails-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .mega-features { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .topbar-weather span { display: none; } /* keep just the temp on tiny screens */
}

/* show poster instead of video on small screens (perf) — JS also enforces */
.hero-media .hero-poster { display: none; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .hero-media video { display: none; }
  .hero-media .hero-poster { display: block; }
}

/* ---- mobile header fit: keep the logo + all utility icons (incl. the menu toggle) on-screen ---- */
@media (max-width: 480px) {
  .header-inner { gap: .5rem; }
  .brand img { height: 40px; }
  .header-utils { gap: .1rem; margin-left: auto; } /* flush the icons to the right edge */
  .util-btn { width: 42px; height: 42px; }
  .util-btn svg { width: 22px; height: 22px; }
}
@media (max-width: 374px) {
  .brand img { height: 33px; }
  .util-btn { width: 38px; height: 38px; }
  .util-btn svg { width: 20px; height: 20px; }
}
