/* ==========================================================================
   SSWAN Holidays — pages.css
   Page sections: home (hero, finder, proof, season rail, route map, spreads, bento,
   strip, reviews, plan, branches), and inner page layouts. Loaded after site.css.
   ========================================================================== */

/* ---------- Button text roll + shortlist pill ---------- */
.btn__label { position: relative; }
.btn__label .roll { display: block; transition: transform .45s var(--ease-out-expo); }
.btn__label .roll + .roll { position: absolute; left: 0; top: 100%; }
.btn:hover .btn__label .roll { transform: translateY(-100%); }
.shortlist-pill { position: fixed; left: 50%; bottom: calc(72px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 56; display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 10px 10px 16px; border-radius: 999px; box-shadow: var(--shadow-float); opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s var(--ease-out-quint); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.shortlist-pill.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.shortlist-pill .btn { min-height: 38px; padding: 0 14px; font-size: .85rem; }
@media (min-width: 900px) { .shortlist-pill { bottom: 28px; left: auto; right: 104px; transform: translateY(20px); } .shortlist-pill.is-visible { transform: none; } }

/* ---------- The journey path (dotted road with a travelling pin) ---------- */
.home { position: relative; }
.thread { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; display: none; }
.thread__path { fill: none; stroke: var(--royal); stroke-opacity: .35; stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.thread__plane { fill: var(--royal); opacity: 0; filter: drop-shadow(0 4px 6px rgba(15, 26, 58, .3)); }
.thread__halo { fill: var(--sun); fill-opacity: .25; transform-box: fill-box; transform-origin: center; animation: halo 2.2s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.thread__plane.is-on { opacity: 1; }
@media (min-width: 1000px) { .js .thread { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-content: start; padding-top: calc(var(--header-h) + 4vh); overflow: visible; background: linear-gradient(180deg, #5aa9e2 0%, #8fc6ee 32%, #cfe6f7 62%, #f1f6fb 100%); isolation: isolate; z-index: 2; }
.hero__scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__sky { position: absolute; inset: 0; }
.hero__skyimg { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform-origin: 50% 40%; animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
.hero__glow { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: radial-gradient(ellipse at 50% 100%, rgba(255, 210, 63, .35) 0%, rgba(255, 210, 63, 0) 60%); }
.hero__skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: min(50vh, 500px); }
.hero__layer { will-change: transform; }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(260px, 42vh, 460px); }
.hero__text { max-width: 980px; }
.hero__kicker { font-family: var(--font-script); font-size: var(--text-script); color: var(--royal); line-height: 1; margin-bottom: 10px; }
.hero__title { font-size: clamp(2rem, 0.9rem + 3.6vw, 4.6rem); font-weight: 700; line-height: .98; letter-spacing: .005em; text-transform: uppercase; color: var(--navy); font-variation-settings: 'opsz' 28; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: block; }
.hero__title .line--signal > span { color: var(--signal); }
.hero__sub { font-size: var(--text-lede); line-height: 1.5; color: var(--ink); max-width: 46ch; margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; align-items: center; }
.hero__call { background: rgba(252, 251, 248, .55); backdrop-filter: blur(6px); gap: 8px; }
.hero__call-top { display: inline-flex; align-items: center; gap: 6px; }
.hero__branch { font-weight: 700; color: var(--royal); }
@media (max-width: 639px) {
  .hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
  .hero__actions > :first-child { grid-column: 1 / -1; }
  .hero__call { flex-direction: column; justify-content: center; gap: 3px; min-height: 54px; padding: 7px 10px; text-align: center; }
  .hero__call-top { gap: 5px; }
  .hero__call .icon { width: 13px; height: 13px; color: var(--royal); }
  .hero__branch { font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; line-height: 1; }
  .hero__call .btn__label { font-size: .95rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
}
@media (max-width: 320px) {
  .hero__actions { grid-template-columns: 1fr; }
}
.js [data-hero-kicker], .js [data-hero-sub], .js [data-hero-actions], .js [data-hero-finder] { opacity: 0; }
.js .hero__title .line > span { transform: translateY(110%); }
.js .hero.is-ready [data-hero-kicker], .js .hero.is-ready [data-hero-sub], .js .hero.is-ready [data-hero-actions], .js .hero.is-ready [data-hero-finder] { opacity: 1; }
.js .hero.is-ready .hero__title .line > span { transform: none; }

/* finder: a boarding pass across the horizon line */
.finder { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr; gap: 10px; width: calc(100% - 2 * var(--gutter)); margin: -56px auto 0; padding: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-float); }
.finder__field { display: grid; gap: 4px; padding: 6px 10px 8px; border-bottom: 1px dashed var(--rule-strong); }
.finder__field label { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.finder__field label .icon { color: var(--royal); }
.finder__field select { appearance: none; border: 0; padding: 4px 24px 4px 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231c3f93' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right center; font-weight: 600; font-size: 1rem; color: var(--navy); cursor: pointer; }
.finder__field select:focus { outline: none; }
.finder__go { min-height: 52px; }
@media (min-width: 1000px) {
  .hero { min-height: 100svh; overflow: visible; }
  .finder { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); width: min(980px, calc(100% - 2 * var(--gutter))); grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 0; padding: 14px 14px 14px 10px; margin: 0; z-index: 3; }
  .finder__field { border-bottom: 0; border-right: 1px dashed var(--rule-strong); padding: 6px 16px 4px; }
  .finder__field:nth-child(3) { border-right: 0; }
  .finder__go { margin-left: 8px; }
  .hero__inner { padding-bottom: clamp(300px, 46vh, 520px); }
}
@media (max-width: 999px) {
  .hero { min-height: 0; padding-bottom: 0; }
  .hero__inner { padding-bottom: clamp(230px, 36vh, 360px); }
  .hero__skyline { height: min(39vh, 365px); }
  .hero__text { padding-top: 4vh; }
}

/* ---------- Proof line ---------- */
.proof { padding: 18px 0 0; position: relative; z-index: 1; }
@media (min-width: 1000px) { .proof { padding-top: 110px; } }
.proof__line { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 16px; text-align: center; font-size: 1.05rem; color: var(--ink-2); padding: 22px 0; border-bottom: 1px solid var(--rule); }
.proof__item strong { font-size: 1.9rem; color: var(--navy); margin-right: 6px; }
.proof__sep { color: var(--sun-deep); font-size: 1.4rem; }

/* ---------- This season (sticky intro + rail) ---------- */
.season__grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .season__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; } .season__intro { position: sticky; top: 110px; align-self: start; } }
.season__floor { font-size: 1rem; color: var(--ink-2); }
.season__floor .numeral { font-size: 1.7rem; color: var(--royal); }

/* ---------- Where will you go: route map ---------- */
.where { padding-top: 0; }
.where__horizon { margin-bottom: clamp(24px, 4vw, 56px); }
.where__horizon .horizon { height: clamp(40px, 7vw, 110px); }
.rmap { display: grid; gap: 24px; position: relative; }
@media (min-width: 1000px) { .rmap { grid-template-columns: 8fr 4fr; gap: 40px; align-items: start; } }
.rmap__canvas { position: relative; border-radius: var(--radius); overflow: hidden; background: radial-gradient(ellipse at 50% 60%, rgba(46, 159, 216, .18), rgba(15, 26, 58, 0) 70%), rgba(15, 26, 58, .35); border: 1px solid rgba(255, 255, 255, .08); }
.rmap__svg { width: 100%; height: auto; display: block; }
.rmap__origin-label { font-family: var(--font-body); font-weight: 700; font-size: 22px; fill: #fff; letter-spacing: .02em; }
.rmap__pulse { animation: pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.rmap__arc { fill: none; stroke: #ffd23f; stroke-opacity: .32; stroke-width: 1.6; stroke-dasharray: 5 9; stroke-linecap: round; transition: stroke-opacity .3s, stroke-width .3s; }
.rmap__arc.is-active { stroke-opacity: 1; stroke-width: 2.6; stroke-dasharray: none; }
.rmap__pin { cursor: pointer; outline: none; }
.rmap__hit { fill: transparent; }
.rmap__dot { fill: #9cc8ef; stroke: var(--navy); stroke-width: 2; transition: fill .3s, r .3s; }
.rmap__pin--international .rmap__dot { fill: #fff; }
.rmap__pin:hover .rmap__dot, .rmap__pin.is-active .rmap__dot, .rmap__pin:focus-visible .rmap__dot { fill: var(--sun); r: 7; }
.rmap__label { font-family: var(--font-body); font-weight: 600; font-size: 19px; fill: rgba(255, 255, 255, .78); pointer-events: none; transition: fill .3s; paint-order: stroke; stroke: rgba(15, 26, 58, .7); stroke-width: 4px; stroke-linejoin: round; }
.rmap__pin:hover .rmap__label, .rmap__pin.is-active .rmap__label { fill: #fff; }
.rmap__flyer { transform-box: fill-box; transform-origin: center; }
.rmap__tabs { display: flex; gap: 6px; padding: 4px; background: rgba(255, 255, 255, .08); border-radius: 999px; margin-bottom: 14px; }
.rmap__tab { flex: 1; min-height: 42px; border-radius: 999px; font-weight: 700; color: rgba(255, 255, 255, .75); transition: background-color .3s, color .3s; }
.rmap__tab span { font-weight: 500; opacity: .7; margin-left: 4px; }
.rmap__tab.is-active { background: var(--sun); color: var(--navy); }
.rmap__list { display: none; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.rmap__list.is-active { display: grid; }
@media (min-width: 1000px) { .rmap__list { grid-template-columns: 1fr; max-height: 520px; overflow-y: auto; scrollbar-width: thin; padding-right: 6px; } }
.rmap__item { display: grid; grid-template-columns: 30px 1fr; grid-template-areas: "idx name" "idx meta"; column-gap: 8px; align-items: center; width: 100%; text-align: left; padding: 9px 10px; border-radius: var(--radius-btn); color: #fff; transition: background-color .25s; }
.rmap__item:hover, .rmap__item.is-active { background: rgba(255, 255, 255, .1); }
.rmap__item.is-active .rmap__name { color: var(--sun); }
.rmap__idx { grid-area: idx; font-size: 1rem; color: rgba(255, 255, 255, .45); }
.rmap__name { grid-area: name; font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.rmap__meta { grid-area: meta; font-size: .78rem; color: rgba(255, 255, 255, .65); }
.rmap__cards { position: absolute; inset: 0; pointer-events: none; }
.rmap__card { position: absolute; z-index: 3; width: 280px; display: grid; grid-template-rows: 150px auto; background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-float); pointer-events: auto; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .3s var(--ease-out-quint), transform .3s var(--ease-out-quint); }
.rmap__card[hidden] { display: none; }
.rmap__card.is-visible { opacity: 1; transform: none; }
.rmap__card-img, .rmap__card .img-missing { width: 100%; height: 100%; object-fit: cover; }
.rmap__card-close { display: none; position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(15, 26, 58, .7); color: #fff; place-items: center; }
@media (max-width: 999px) { .rmap__card-close { display: grid; } }
.rmap__card-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.rmap__card-name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--navy); }
.rmap__card-line { font-size: .88rem; color: var(--ink-2); }
.rmap__card-meta { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--ink-3); margin-top: 4px; }
.rmap__card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.rmap__card-price { color: var(--royal); font-weight: 700; }
.rmap__card .link-arrow { margin-top: 6px; font-size: .9rem; }
@media (max-width: 999px) {
  .rmap__cards { position: fixed; inset: auto 0 0 0; z-index: 75; }
  .rmap__card { position: relative; width: 100%; max-width: 520px; margin: 0 auto; border-radius: 16px 16px 0 0; grid-template-rows: 180px auto; transform: translateY(100%); }
  .rmap__card.is-visible { transform: none; }
  .rmap__label { display: none; }
  .rmap__pin:hover .rmap__label, .rmap__pin.is-active .rmap__label { display: block; }
}

/* ---------- Editorial spreads ---------- */
.spread { display: grid; gap: 28px; align-items: center; }
.spread + .spread { margin-top: clamp(64px, 10vw, 140px); }
@media (min-width: 900px) {
  .spread { grid-template-columns: 7fr 5fr; gap: 56px; }
  .spread--flip .spread__media { order: 2; }
  .spread__media { margin-left: calc(-1 * var(--gutter)); }
  .spread--flip .spread__media { margin-left: 0; margin-right: calc(-1 * var(--gutter)); }
}
.spread__frame { position: relative; aspect-ratio: 4 / 3; border-radius: 0 var(--radius) var(--radius) 0; overflow: hidden; background: var(--sky-100); }
.spread--flip .spread__frame { border-radius: var(--radius) 0 0 var(--radius); }
@media (max-width: 899px) { .spread__frame { border-radius: var(--radius); } }
.spread__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease-out-quint), transform 8s linear; }
.spread__img.is-active { opacity: 1; }
.spread__frame .img-missing { position: absolute; inset: 0; }
.spread__caption { margin-top: 10px; color: var(--ink-3); }
.spread__list { counter-reset: none; display: grid; }
.spread__list li { border-top: 1px solid var(--rule); }
.spread__list li:last-child { border-bottom: 1px solid var(--rule); }
.spread__list a { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 12px 6px; transition: padding-left .3s var(--ease-out-quint), color .2s; }
.spread__list a:hover, .spread__list a.is-active { padding-left: 14px; color: var(--royal); }
.spread__idx { font-size: 1rem; color: var(--rule-strong); }
.spread__list a:hover .spread__idx, .spread__list a.is-active .spread__idx { color: var(--sun-deep); }
.spread__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--navy); }
.spread__meta { font-size: .82rem; color: var(--ink-3); }
.spread__text .btn { margin-top: 24px; }

/* ---------- Bento: how do you want to travel ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } .bento__tile--1 { grid-column: span 2; grid-row: span 2; } .bento__tile--2 { grid-column: span 2; } .bento__tile--3 { grid-column: span 1; } .bento__tile--4 { grid-column: span 1; } .bento__tile--5 { grid-column: span 2; } }
@media (min-width: 1100px) { .bento { grid-auto-rows: 240px; } }
.bento__tile { position: relative; display: block; min-height: 200px; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.bento__img, .bento__tile .img-missing { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out-quint); z-index: 0; }
.bento__tile:hover .bento__img { transform: scale(1.05); }
.bento__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 26, 58, .88) 0%, rgba(15, 26, 58, .2) 50%, rgba(15, 26, 58, 0) 75%); z-index: 1; }
.bento__body { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: grid; gap: 4px; }
.bento__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); line-height: 1; }
.bento__line { font-size: .9rem; color: rgba(255, 255, 255, .85); max-width: 36ch; }

/* ---------- Gallery strip ---------- */
.strip { overflow: hidden; }
.strip__track { display: flex; gap: 14px; width: max-content; padding: 6px var(--gutter); animation: drift 60s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.strip__item { position: relative; flex: 0 0 auto; height: clamp(180px, 26vw, 300px); aspect-ratio: var(--r, 1.5); border-radius: var(--radius); overflow: hidden; background: var(--dom, var(--sky-100)); }
.strip__item img { width: 100%; height: 100%; object-fit: cover; }
.strip__cap { position: absolute; left: 10px; bottom: 10px; font-size: .75rem; font-weight: 600; background: rgba(15, 26, 58, .75); color: #fff; padding: 5px 8px; border-radius: 4px; }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: 1.4fr 1fr; grid-auto-rows: auto; } .reviews__grid .review--large { grid-row: span 2; } }
.reviews__google { margin-top: 20px; font-weight: 600; }
.reviews__google a { display: inline-flex; align-items: center; gap: 6px; color: var(--royal); }

/* ---------- Plan band ---------- */
.plan { padding-top: 0; }
.plan__horizon { margin-bottom: clamp(24px, 4vw, 56px); }
.plan__grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .plan__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.plan__title { font-size: var(--text-h2); color: #fff; margin: 8px 0 24px; line-height: 1.1; }
.steps--big { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 8px; }
.steps--big li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n t" "n e"; column-gap: 12px; align-items: start; }
.steps--big li .numeral { grid-area: n; font-size: 1.6rem; color: var(--sun); }
.steps--big li strong { grid-area: t; color: #fff; font-size: 1.05rem; }
.steps--big li em { grid-area: e; font-style: normal; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.form--quick { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }

/* ---------- Team and branches ---------- */
.team { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-bottom: 40px; }
.team__member { display: grid; justify-items: center; text-align: center; gap: 4px; width: 150px; }
.team__member .porthole { margin-bottom: 8px; }
.team__name { font-weight: 700; color: var(--navy); }
.team__role { font-size: .82rem; color: var(--ink-3); }
.team__phone { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--royal); margin-top: 4px; }
.branch-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .branch-grid { grid-template-columns: 1fr 1fr; } }
.branch { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px 26px; display: grid; gap: 8px; }
.branch__name { font-size: 1.8rem; display: flex; align-items: baseline; gap: 10px; }
.branch__name small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--ink-3); }
.branch__addr { color: var(--ink-2); }
.branch__hours, .branch__person { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.branch__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.home__faq { margin-top: clamp(40px, 6vw, 80px); max-width: 820px; }

/* pale wash so the navy headline reads on the photographed sky (brochure look: bright, airy, ink on sky) */
.hero__sky::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(241, 246, 251, .7) 0%, rgba(241, 246, 251, 0) 22%),
    linear-gradient(100deg, rgba(241, 246, 251, .94) 0%, rgba(241, 246, 251, .82) 30%, rgba(241, 246, 251, .35) 52%, rgba(241, 246, 251, 0) 70%); }
.hero__skyimg { filter: saturate(.8) brightness(1.08); }
@media (max-width: 899px) {
  .hero__sky::after { background: linear-gradient(180deg, rgba(241, 246, 251, .9) 0%, rgba(241, 246, 251, .82) 55%, rgba(241, 246, 251, .3) 80%, rgba(241, 246, 251, 0) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero__skyimg { animation: none; } }

/* the touring coach on the horizon road, and a small flock in the sky */
.hero__birds { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__flock { transform: translate(-80px, 230px); animation: flock 46s linear infinite; }
.hero__bird { transform-box: fill-box; transform-origin: center; animation: flap 1.1s ease-in-out infinite; }
@keyframes flock { from { transform: translate(-80px, 240px); } to { transform: translate(1700px, 120px); } }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.hero__lane { stroke: #ffffff; stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 14 16; animation: lane 1.6s linear infinite; }
@keyframes lane { to { stroke-dashoffset: -30; } }
.coach { filter: drop-shadow(0 6px 6px rgba(15, 26, 58, .28)); }
.coach__body { animation: coach-bob .5s ease-in-out infinite alternate; }
@keyframes coach-bob { from { transform: translateY(0); } to { transform: translateY(-1.2px); } }
.coach__wheel { transform-box: fill-box; transform-origin: center; animation: wheel .55s linear infinite; }
@keyframes wheel { to { transform: rotate(360deg); } }
.coach__word { font-family: var(--font-body); font-size: 6.5px; font-weight: 800; font-style: italic; letter-spacing: .08em; fill: #1c3f93; }
.coach__puff { transform-box: fill-box; transform-origin: center; opacity: 0; animation: puff 1.35s ease-out infinite; }
@keyframes puff { 0% { opacity: .7; transform: translate(0, 0) scale(.4); } 100% { opacity: 0; transform: translate(-26px, -10px) scale(1.8); } }
.coach.is-parked .coach__wheel, .coach.is-parked .coach__puff, .coach.is-parked .coach__body { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero__flock, .hero__bird, .hero__lane, .coach__body, .coach__wheel, .coach__puff { animation: none !important; } .coach__puff { opacity: 0; } }

/* phones: the finder sits on the navy globe below the horizon instead of covering the skyline */
@media (max-width: 999px) {
  .hero__scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--finder-band, 0px); background: #152552; }
  .hero__skyline { bottom: calc(var(--finder-band, 0px) - 1px); }
  .hero__inner { padding-bottom: clamp(210px, 34vh, 330px); }
  .finder { margin-top: 0; margin-bottom: 24px; }
}

/* team: centred, even columns on phones and tablets */
@media (max-width: 700px) {
  .team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; gap: 28px 16px; }
  .team__member { width: 100%; max-width: 220px; }
  .team__member:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 340px) { .team { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 701px) and (max-width: 999px) { .team { justify-content: center; } }
