/* Hallmark · shape: Catalogue · genre: editorial · theme: brand (pinned by the owner's colour file) · redesign: full · job: hire · draw: 48c845
 * paper: #FAF8F4 · accent: #C8202A · display: Cormorant Garamond · body: Outfit · hero: Ledge · nav: edge-aligned quiet bar, swapped from floating pill for the editorial register · footer: index columns, the page's real sitemap · signature: the eight-country route map, compact beside the description
 * axes: light/high-contrast-serif/chromatic-red · posture: restrained · contrast: pass · fold: pass · imagery: photographs, user 5, library 1 (Scotland), natural · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a catalogue could sell anything; the route map of the real offices and countries stays beside the description */
/* Hallmark · dismissed 19 · the footer line is the owner's legal text, carried over unchanged from the home page */
/* Hallmark · dropped #heroPhoto · it only served the parallax script, and the redesign has no parallax */
/* Hallmark · dismissed 58 · the card sentences are the owner's words, and a redesign keeps them; the budget is a note here */
/* Hallmark · reworded "Your people on the ground, wherever your events or trips take you." to the head "Your people on the ground" and a lead naming the business · 58 names the hero */
/* Hallmark · hero-review: not run separately, folded into the finish review · finish-review: subagent · 8 findings · 5 resolved, 1 dismissed (58, the owner's words), 2 to the owner (dead footer links, hero file size) · gap: none */
/* Hallmark · waive 65 · ivory paper, serif display and red come from scancoming-colors example.css · the owner's brand file pins this palette and Cormorant Garamond for Scancoming */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- shared ---------- */
.lead { color: var(--color-ink-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), scale 150ms ease-out; }
@media (hover: hover) { .btn:hover { background: var(--color-accent-deep); } }
.btn:active { background: var(--color-accent-deep); scale: 0.97; }
.btn:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; scale: none; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule-strong); }
@media (hover: hover) { .btn--quiet:hover { background: var(--color-paper-2); } }
.btn--quiet:active { background: var(--color-paper-2); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* the wordmark: fills are the brand's, set through tokens */
.logo-ink { fill: var(--color-ink); }
.logo-red { fill: var(--color-accent); }
.logo-sub { fill: var(--color-logo-sub); }
.logo { display: block; height: 44px; width: auto; }
img.logo { min-width: 0; object-fit: contain; object-position: left center; }
.nav-bar .logo { height: 50px; }
.mm-head .logo { height: 30px; }

/* ---------- nav ---------- */
.nav-bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.nav-bar.scrolled { border-bottom-color: var(--color-rule); }
.nav-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); height: var(--nav-height); }
.nav-bar__links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-bar__links a:not(.btn) { color: var(--color-ink-2); text-decoration: none; }
@media (hover: hover) { .nav-bar__links a:not(.btn):hover { color: var(--color-accent-deep); } }
.nav-bar__links a:not(.btn):active { color: var(--color-accent-deep); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-card); background: transparent; color: var(--color-ink); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
@media (hover: hover) { .menu-btn:hover { background: var(--color-paper-2); } }
.menu-btn:active { background: var(--color-paper-2); }

/* ---------- hero: a ledge of ivory under the photograph ---------- */
.hero { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: calc(100svh - var(--nav-height)); }
.hero__photo { margin: 0; min-height: 260px; }
.hero__photo > img { transition: opacity var(--dur-fade) var(--ease-in-out); }
.js #heroRotator > img:not(.is-active) { opacity: 0; }
.hero__bar { position: absolute; right: var(--space-md); bottom: var(--space-md); z-index: var(--z-raised); display: flex; align-items: center; gap: var(--space-sm); min-height: 44px; padding-inline: var(--space-md) var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper); font-size: var(--text-sm); color: var(--color-ink-2); }
.icon-toggle { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .icon-toggle:hover { background: var(--color-paper-2); } }
.icon-toggle:active { background: var(--color-paper-3); }
.icon-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.icon-toggle .icon-play, .icon-toggle.is-held .icon-pause { display: none; }
.icon-toggle.is-held .icon-play { display: block; }
html:not(.js) .hero__toggle { display: none; }
html:not(.js) .hero__bar { padding-right: var(--space-md); }
.hero__base { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-xl) var(--gap-columns); align-items: end; padding-block: var(--space-xl); }
.hero h1 { max-width: none; line-height: 1.02; }
.swoosh { width: min(100%, 420px); height: 10px; margin-top: var(--space-md); color: var(--color-accent); }
.swoosh path { fill: currentColor; }
.dest .swoosh, .contact .swoosh { width: min(100%, 300px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }

/* ---------- about ---------- */
.about { padding-block: var(--section-gap-s) var(--section-gap); }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.about__text > .lead { margin-top: var(--space-lg); max-width: 58ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-xl) 0 0; }
.facts > div { padding-inline: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule-strong); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font: var(--display-weight) var(--text-2xl)/1.1 var(--font-display); }
.facts dd { margin: var(--space-2xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); }

/* route map: a diagram of the real network */
.map { margin: 0; justify-self: end; width: 100%; max-width: 480px; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .path { fill: none; stroke: var(--color-rule-strong); stroke-width: 1.7; stroke-dasharray: 2.5 6; stroke-linecap: round; }
.map .dot { fill: var(--color-accent); }
.map .ring { fill: none; stroke: var(--color-accent); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; opacity: 0; animation: map-ring 12s var(--ease-out) infinite; animation-delay: var(--d, 0s); }
.map text { font: 500 16px var(--font-body); fill: var(--color-ink-2); }
.map__toggle { margin-top: var(--space-sm); }
.map .vehicle { pointer-events: none; }
.map .vehicle--coach, .map .vehicle--plane { stroke: var(--color-paper); stroke-width: 1.4; stroke-linejoin: round; paint-order: stroke; }
.map .vehicle--coach { fill: var(--color-accent); }
.map .vehicle--coach .vehicle__glass { fill: var(--color-paper); stroke: none; }
.map .vehicle--plane { fill: var(--color-accent); }
.map .vehicle--bike { stroke-linecap: round; stroke-linejoin: round; }
.map .vehicle--bike .vehicle__body { fill: var(--color-accent); }
.map .vehicle--bike .vehicle__body path { fill: none; stroke: var(--color-accent); stroke-width: 0.9; }
.map .vehicle--bike .vehicle__halo { fill: var(--color-paper); stroke: var(--color-paper); stroke-width: 2.6; }
@keyframes map-ring { 0% { transform: scale(1); opacity: 0.8; } 22%, 100% { transform: scale(3.6); opacity: 0; } } /* each country rings once every 12s; the delays space them 1.5s apart */

/* ---------- destinations: the catalogue ---------- */
.dest { padding-block: var(--section-gap-s) var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule); }
.dest__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.dest__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.card { display: block; height: 100%; color: var(--color-ink); text-decoration: none; }
.card__photo, .card__plate { aspect-ratio: 4 / 5; margin: 0; border-radius: var(--radius-card); }
.card__photo > img { outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.card__plate { display: flex; align-items: flex-end; padding: var(--space-lg); background: var(--color-paper-2); font: 500 var(--text-xl)/1.3 var(--font-display); color: var(--color-ink-2); }
.card h3 { margin-top: var(--space-md); font-size: var(--text-2xl); transition: color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .card:hover h3 { color: var(--color-accent-deep); } }
.card:active h3 { color: var(--color-accent-deep); }
.card__places { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.card__line { margin-top: var(--space-xs); font-size: var(--text-md); color: var(--color-ink-2); }
.card__link { display: inline-block; margin-top: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-accent-deep); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- contact ---------- */
.contact { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.contact__head .lead { margin-top: var(--space-md); }
.offices { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule-strong); }
.office { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr); gap: var(--gap-columns); align-items: center; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
.office__name { display: flex; align-items: center; gap: var(--space-sm); }
.office__flags { display: flex; gap: var(--space-2xs); flex-shrink: 0; }
.office__flags img { width: 30px; height: 20px; border-radius: 2px; }
.office h3 { font-size: var(--text-2xl); }
.office__countries { margin: 0; color: var(--color-ink-2); }
.office a { color: var(--color-ink); overflow-wrap: anywhere; text-underline-offset: 0.2em; }
@media (hover: hover) { .office a:hover { color: var(--color-accent-deep); } }
.office a:active { color: var(--color-accent-deep); }
.office__phone { color: var(--color-ink); }
.enquire { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap-columns); align-items: end; margin-top: var(--space-3xl); }
.enquire h3 { max-width: none; font-size: var(--text-section); }
.enquire p { margin-top: var(--space-md); max-width: 52ch; color: var(--color-ink-2); }
.enquire__action { justify-self: end; }

/* ---------- enquiry picker ---------- */
.enquiry-modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--space-lg); opacity: 0; visibility: hidden; transition: opacity var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.enquiry-modal.open { opacity: 1; visibility: visible; transition: opacity var(--dur-short) var(--ease-out), visibility 0s; }
.enquiry-backdrop { position: absolute; inset: 0; background: color-mix(in oklab, var(--color-ink) 45%, transparent); }
.enquiry-dialog { position: relative; width: min(520px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); }
.enquiry-dialog h3 { font-size: var(--text-2xl); padding-right: var(--space-2xl); }
.enquiry-dialog > p { margin-top: var(--space-sm); color: var(--color-ink-2); }
.enquiry-close { position: absolute; top: var(--space-md); right: var(--space-md); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-card); background: transparent; color: var(--color-ink); font-size: var(--text-lg); line-height: 1; cursor: pointer; }
@media (hover: hover) { .enquiry-close:hover { background: var(--color-paper-2); } }
.enquiry-close:active { background: var(--color-paper-2); }
.enquiry-choices { margin-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.enquiry-choice { display: flex; align-items: center; gap: var(--space-md); width: 100%; min-height: 56px; padding: var(--space-xs) 0; border: 0; border-bottom: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); text-align: left; cursor: pointer; font-size: var(--text-lg); }
@media (hover: hover) { .enquiry-choice:hover { color: var(--color-accent-deep); } }
.enquiry-choice:active { color: var(--color-accent-deep); }
.enquiry-choice .flags { display: flex; gap: var(--space-2xs); flex-shrink: 0; }
.enquiry-choice img { width: 30px; height: 20px; border-radius: 2px; }
.enquiry-choice:has(.enquiry-choice__head) { flex-direction: column; align-items: flex-start; gap: var(--space-2xs); padding-block: var(--space-sm); }
.enquiry-choice__head { display: flex; align-items: center; gap: var(--space-sm); }
.enquiry-choice__countries { font-size: var(--text-sm); color: var(--color-muted); }
@media (hover: hover) { .enquiry-choice:hover .enquiry-choice__countries { color: inherit; } }
.enquiry-choice:active .enquiry-choice__countries { color: inherit; }

/* ---------- mobile drawer ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: var(--z-modal); visibility: hidden; }
.mobile-menu.open { visibility: visible; }
.mm-backdrop { position: absolute; inset: 0; opacity: 0; background: color-mix(in oklab, var(--color-ink) 45%, transparent); transition: opacity var(--dur-short) var(--ease-out); }
.mm-panel { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(360px, 87%); height: 100%; padding: var(--space-md) var(--space-lg) var(--space-lg); overflow-y: auto; overscroll-behavior: contain; background: var(--color-paper); transform: translateX(100%); transition: transform var(--dur-long) var(--ease-out); }
.mobile-menu.open .mm-backdrop { opacity: 1; }
.mobile-menu.open .mm-panel { transform: none; }
.mm-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.mm-close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-card); background: transparent; color: var(--color-ink); font-size: var(--text-xl); line-height: 1; cursor: pointer; }
@media (hover: hover) { .mm-close:hover { background: var(--color-paper-2); } }
.mm-close:active { background: var(--color-paper-2); }
.mm-links { display: flex; flex-direction: column; }
.mm-links a { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); font: var(--display-weight) var(--text-xl)/1.2 var(--font-display); color: var(--color-ink); text-decoration: none; }
.mm-links a:active { color: var(--color-accent-deep); }
.mm-cta { display: flex; flex-direction: column; margin-top: auto; padding-top: var(--space-lg); }
body.menu-open { overflow-y: hidden; }

/* ---------- footer: index columns ---------- */
.footer { padding-block: var(--space-2xl) var(--space-lg); border-top: 3px solid var(--color-accent); }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: var(--gap-columns); padding-bottom: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.footer .logo { height: 56px; max-width: 100%; }
.footer__blurb { margin-top: var(--space-md); max-width: 38ch; font-size: var(--text-sm); color: var(--color-muted); }
.footer h3 { margin-bottom: var(--space-sm); font: 500 var(--text-sm)/1.3 var(--font-body); letter-spacing: 0; color: var(--color-muted); }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: var(--space-xs); }
.footer li a { white-space: nowrap; }
.footer__top a { color: var(--color-ink); text-decoration: none; }
@media (hover: hover) { .footer__top a:hover { color: var(--color-accent-deep); text-decoration: underline; } }
.footer__top a:active { color: var(--color-accent-deep); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.footer__bottom p a { color: inherit; text-underline-offset: 0.2em; }
@media (hover: hover) { .footer__bottom p a:hover { color: var(--color-accent-deep); } }
.footer__bottom p a:active { color: var(--color-accent-deep); }
.footer-social { display: flex; gap: var(--space-xs); }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-card); color: var(--color-ink); }
@media (hover: hover) { .footer-social a:hover { background: var(--color-paper-2); } }
.footer-social a:active { background: var(--color-paper-2); }
.footer-social svg { width: 20px; height: 20px; }

/* ---------- map loop control ---------- */
[data-loop]:not(.is-running) .ring { animation-play-state: paused; }
html:not(.js) [data-loop-toggle], html:not(.js) .map .vehicle { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 75rem) {
  .dest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__photo, .card__plate { aspect-ratio: 3 / 2; }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .map { display: none; }
  .office { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs) var(--gap-columns); }
}
@media (max-width: 60rem) {
  .nav-bar__links { display: none; }
  .menu-btn { display: inline-flex; }
  .hero__base, .dest__head, .enquire { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .office { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .office__name { margin-bottom: var(--space-2xs); }
  .enquire__action { justify-self: start; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .logo { height: 36px; }
  .nav-bar .logo { height: 40px; }
  .dest__grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { padding: var(--space-sm) 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
  .facts > div:first-child { border-top: 0; }
  .hero__actions .btn { flex: 1 1 auto; }
  .enquire__action .btn { width: 100%; }
  .enquire__action { justify-self: stretch; }
}
@media (max-width: 24rem) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .map .ring { animation: none; opacity: 0; }
  .map .vehicle { display: none; }
  [data-loop-toggle], .hero__toggle { display: none; }
  .hero__bar { padding-right: var(--space-md); }
  .hero__photo > img { transition: none; }
  .btn, .enquiry-modal, .mm-panel, .mm-backdrop, .nav-bar, .card h3 { transition: none; }
  .menu-btn, .mm-close, .enquiry-close, .enquiry-choice, .icon-toggle { transition: none; }
}

/* Press feedback: buttons shrink slightly while pressed (scale 0.97, 150ms ease-out) */
.menu-btn, .mm-close, .enquiry-close, .enquiry-choice { transition: scale 150ms ease-out; }
.icon-toggle { transition: background-color var(--dur-short) var(--ease-out), scale 150ms ease-out; }
.menu-btn:active, .mm-close:active, .enquiry-close:active, .enquiry-choice:active, .icon-toggle:active { scale: 0.97; }

/* Wide screens: larger logos, so the thin serifs and small lettering get enough pixels.
   63px top and 66px footer put the red line on whole pixels; the 87px bar centres the logo on a whole pixel. */
@media (min-width: 90rem) {
  :root { --nav-height: 87px; }
  .nav-bar .logo { height: 63px; }
  .footer .logo { height: 66px; }
}
/* Footer list items without a page of their own */
.footer__top li:not(:has(a)) { color: var(--color-muted); }
