:root {
  --cream: #f6f0e7;
  --paper: #fffaf3;
  --ink: #27302f;
  --muted: #65706d;
  --terracotta: #b65f47;
  --terracotta-dark: #8f4534;
  --sage: #718073;
  --line: rgba(39, 48, 47, 0.14);
  --white: #fff;
  --midnight: #17201f;
  --gold: #b9965a;
  --gold-pale: #ead9b8;
  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3.5rem;
  --space-6: 6rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --shadow: 0 18px 50px rgba(40, 34, 27, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
img { display: block; width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d48a70; outline-offset: 4px; }

.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 20; padding: 0.75rem 1rem; background: var(--ink); color: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 15; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 90rem; margin: 0 auto; padding: 1.35rem clamp(1.25rem, 4vw, 4.5rem); border-bottom: 1px solid var(--line); background: rgba(246, 240, 231, 0.96); box-shadow: 0 8px 24px rgba(40, 34, 27, 0.06); backdrop-filter: blur(14px); }
#top, #journeys, #founder { scroll-margin-top: 6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; width: max-content; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; text-decoration: none; letter-spacing: 0.03em; }
.brand em { color: var(--terracotta); font-size: 0.72em; font-style: normal; letter-spacing: 0.18em; }
.brand-mark { display: grid; place-items: center; width: 2.4rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.08em; }
nav { display: flex; gap: 2rem; }
nav a { color: var(--muted); font-size: 0.82rem; font-weight: 650; text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em; }
nav a:hover { color: var(--terracotta); }
.nav-matcher { padding: 0; border: 0; border-bottom: 1px solid var(--terracotta); background: transparent; color: var(--terracotta-dark); font: inherit; font-size: 0.82rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.12em; cursor: pointer; }
.header-note { justify-self: end; color: var(--muted); font-family: var(--serif); font-size: 0.88rem; font-style: italic; }

.hero { display: grid; grid-template-columns: minmax(19rem, 0.82fr) minmax(28rem, 1.18fr); gap: clamp(2rem, 5vw, 6rem); max-width: 90rem; min-height: 44rem; margin: 0 auto; padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 4vw, 4.5rem); overflow: hidden; }
.hero-copy { align-self: center; }
.eyebrow { margin: 0 0 var(--space-2); color: var(--terracotta-dark); font-size: 0.72rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.2em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { max-width: 10ch; margin: 0; font-size: clamp(3.6rem, 7vw, 6.8rem); letter-spacing: -0.055em; }
h1 em { color: var(--terracotta); font-weight: 400; }
.hero-intro { max-width: 33rem; margin: var(--space-4) 0; color: var(--muted); font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.4rem; min-height: 3.25rem; padding: 0.85rem 1.35rem; border: 1px solid transparent; border-radius: 100vmax; font: inherit; font-size: 0.78rem; font-weight: 750; text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; }
.button-primary { background: var(--terracotta); color: var(--white); }
.button-primary:hover { background: var(--terracotta-dark); }
.button-secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.button:disabled { cursor: wait; opacity: 0.55; }
.proof { display: flex; flex-wrap: wrap; gap: 0.65rem 1.2rem; margin-top: var(--space-4); color: var(--muted); font-size: 0.75rem; }
.proof span::before { content: "✦"; margin-right: 0.45rem; color: var(--terracotta); }

.hero-mosaic { position: relative; min-height: 38rem; }
.mosaic-item { position: absolute; margin: 0; overflow: hidden; background: #ded5c9; box-shadow: var(--shadow); }
.mosaic-item img { height: 100%; object-fit: cover; transition: transform 700ms ease; }
.mosaic-item:hover img { transform: scale(1.025); }
.mosaic-item figcaption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; color: var(--white); font-family: var(--serif); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); }
.mosaic-item-1 { top: 0; right: 0; width: 70%; height: 72%; border-radius: 8rem 8rem var(--radius-lg) var(--radius-lg); }
.mosaic-item-2 { bottom: 0; left: 0; width: 43%; height: 46%; border: 0.6rem solid var(--cream); border-radius: var(--radius-lg); }
.mosaic-item-3 { right: 2%; bottom: -2%; width: 25%; height: 30%; border: 0.6rem solid var(--cream); border-radius: 50% 50% var(--radius-md) var(--radius-md); }

/* Editorial luxury layer: visual-only enhancement over the existing Phase 1–4 structure. */
.site-header { max-width: none; padding-block: 1rem; border-bottom-color: rgba(185, 150, 90, 0.25); background: rgba(246, 240, 231, 0.9); }
.brand-mark { border-color: var(--gold); color: var(--gold); }
.hero { position: relative; min-height: calc(100vh - 4.8rem); align-items: center; }
.hero::before { display: none; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy::after { display: block; width: 3.5rem; height: 3.5rem; margin-top: 2.5rem; border: 1px solid rgba(185, 150, 90, 0.55); border-radius: 50%; content: ""; }
.hero h1 { max-width: 9ch; font-size: clamp(4.2rem, 7.4vw, 7.4rem); }
.hero h1 em { color: var(--gold); }
.hero-intro { padding-left: 1.2rem; border-left: 1px solid var(--gold); }
.hero-mosaic::after { position: absolute; inset: 8% 4% 3% 12%; z-index: -1; border: 1px solid rgba(185, 150, 90, 0.35); border-radius: 12rem 12rem 2rem 2rem; content: ""; }
.mosaic-item { box-shadow: 0 28px 70px rgba(23, 32, 31, 0.18); }
.mosaic-item figcaption { padding-top: 2rem; font-size: 1.05rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.5)); }
.button-primary { background: var(--midnight); }
.button-primary:hover { background: #263432; }

.matcher-callout { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; max-width: 76rem; margin: -3.5rem auto 0; padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid rgba(185, 150, 90, 0.35); background: rgba(255, 250, 243, 0.94); box-shadow: 0 24px 70px rgba(23, 32, 31, 0.16); backdrop-filter: blur(18px); }
.matcher-callout-copy h2 { max-width: 18ch; margin: 0; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.matcher-callout-copy > p:last-child { max-width: 42rem; margin: 1rem 0 0; color: var(--muted); }
.matcher-callout-action { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 2rem; min-width: 17rem; padding: 1.25rem 1.4rem; border: 0; border-radius: 0; background: var(--midnight); color: var(--white); text-align: left; cursor: pointer; }
.matcher-callout-action span:first-child { grid-column: 1 / -1; color: var(--gold-pale); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; }
.matcher-callout-action strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.matcher-callout-action span:last-child { color: var(--gold-pale); font-size: 1.2rem; }

.bespoke-process { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(3rem, 7vw, 7rem); max-width: 82rem; margin: 0 auto; padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 4vw, 4.5rem); }
.process-intro h2 { max-width: 11ch; margin: 0; font-size: clamp(2.5rem, 4.8vw, 4.8rem); }
.process-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.process-steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.2rem 1.3rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.process-steps li:last-child { border-bottom: 1px solid var(--line); }
.process-steps span { grid-row: 1 / 3; color: var(--gold); font-family: var(--serif); font-size: 1.15rem; }
.process-steps strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.process-steps p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.86rem; }

.recommendations { position: relative; overflow: hidden; background: var(--midnight); }
.recommendations::before { position: absolute; top: -14rem; right: -10rem; width: 34rem; height: 34rem; border: 1px solid rgba(234, 217, 184, 0.18); border-radius: 50%; pointer-events: none; content: ""; }
.match-badge { top: 1rem; right: 1rem; padding: 0.6rem 0.85rem; border: 1px solid rgba(255,255,255,0.5); background: var(--gold); box-shadow: 0 8px 24px rgba(23,32,31,0.25); }
.match-rationale::before { display: block; margin-bottom: 0.4rem; color: var(--gold); font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; content: "Why it fits"; }

.collection { padding-top: clamp(7rem, 10vw, 10rem); }
.section-heading { align-items: start; }
.section-heading h2 { max-width: 12ch; }
.filter-panel { position: static; backdrop-filter: blur(18px); }
.trip-card { border-radius: 0; border-color: rgba(39,48,47,0.1); box-shadow: 0 10px 30px rgba(23,32,31,0.05); }
.trip-media { aspect-ratio: 3 / 4; }
.trip-content { padding: 1.5rem; }
.trip-content h3 { font-size: 1.7rem; }
.badge { top: 1rem; left: 1rem; border: 1px solid rgba(255,255,255,0.45); }
.badge-signature { background: var(--gold); }
.badge-partner { background: rgba(23,32,31,0.84); color: var(--white); backdrop-filter: blur(8px); }
.trip-footer { border-top-color: rgba(185,150,90,0.28); }
.trip-card:hover { transform: translateY(-7px); box-shadow: 0 24px 60px rgba(23,32,31,0.14); }

.collection { padding: var(--space-6) clamp(1.25rem, 5vw, 6rem); background: var(--paper); }
.recommendations { padding: var(--space-5) clamp(1.25rem, 5vw, 6rem); background: var(--ink); color: var(--white); }
.recommendations-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; max-width: 78rem; margin: 0 auto 1rem; }
.recommendations-heading h2 { max-width: 14ch; margin: 0; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.recommendations-heading .eyebrow { color: #e5a38e; }
.recommendations-heading .button-secondary { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.recommendations-summary { max-width: 78rem; margin: 0 auto 2rem; color: rgba(255, 255, 255, 0.68); }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: 78rem; margin: 0 auto; color: var(--ink); }
.match-badge { position: absolute; top: 0.8rem; right: 0.8rem; padding: 0.42rem 0.7rem; border-radius: 100vmax; background: var(--ink); color: var(--white); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.match-rationale { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); max-width: 78rem; margin: 0 auto var(--space-5); }
.section-heading h2, .founder h2 { max-width: 14ch; margin: 0; font-size: clamp(2.3rem, 4.5vw, 4.5rem); letter-spacing: -0.035em; }
.section-heading > p { max-width: 28rem; margin: 0; color: var(--muted); }
.collection-heading { align-items: start; }
.collection-heading-aside { display: grid; justify-items: end; gap: 1rem; max-width: 28rem; }
.collection-heading-aside p { margin: 0; color: var(--muted); }
.filter-panel { display: grid; grid-template-columns: minmax(16rem, 1.65fr) repeat(2, minmax(10rem, 0.8fr)) minmax(12rem, 1fr); gap: 0.75rem; align-items: end; max-width: 78rem; margin: 0 auto 1.5rem; padding: 0.85rem; border: 1px solid rgba(39, 48, 47, 0.08); border-radius: 24px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); backdrop-filter: blur(18px); }
.filter-panel label { display: grid; gap: 0.45rem; color: var(--muted); font-size: 0.67rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.1em; }
.filter-panel input[type="search"], .filter-panel select { width: 100%; min-height: 2.8rem; padding: 0 0.9rem; border: 0; border-radius: 14px; outline: 0; background: rgba(39, 48, 47, 0.035); color: var(--ink); font: inherit; font-size: 0.86rem; text-transform: none; letter-spacing: 0; transition: background 180ms ease, box-shadow 180ms ease; }
.filter-panel input[type="search"] { padding-left: 2.65rem; }
.filter-panel input[type="search"]:hover, .filter-panel select:hover { background: rgba(39, 48, 47, 0.065); }
.filter-panel input[type="search"]:focus, .filter-panel select:focus { background: var(--paper); box-shadow: 0 0 0 2px rgba(182, 95, 71, 0.22); }
.search-control { position: relative; display: block; }
.search-icon { position: absolute; top: 50%; left: 0.9rem; z-index: 1; display: grid; place-items: center; color: var(--terracotta); transform: translateY(-50%); pointer-events: none; }
.search-icon svg { stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.filter-panel input[type="range"] { width: 100%; height: 1rem; margin: 0.85rem 0 0.35rem; background: transparent; accent-color: var(--terracotta); -webkit-appearance: none; appearance: none; }
.filter-panel input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 100vmax; background: rgba(39, 48, 47, 0.16); }
.filter-panel input[type="range"]::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -6.5px; border: 0; border-radius: 50%; background: var(--terracotta); box-shadow: 0 2px 8px rgba(39, 48, 47, 0.2); -webkit-appearance: none; }
.filter-panel input[type="range"]::-moz-range-track { height: 3px; border: 0; border-radius: 100vmax; background: rgba(39, 48, 47, 0.16); }
.filter-panel input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--terracotta); box-shadow: 0 2px 8px rgba(39, 48, 47, 0.2); }
.filter-panel output { color: var(--ink); }
.filter-reset { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.72rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: color 180ms ease; }
.filter-reset:hover { color: var(--terracotta-dark); }
.filter-reset span { font-size: 1rem; line-height: 1; }
.filter-panel :disabled { cursor: wait; opacity: 0.58; }
.status { max-width: 78rem; min-height: 1.6rem; margin: 0 auto var(--space-3); color: var(--muted); font-size: 0.86rem; }
.status-error { padding: 1rem; border-left: 4px solid var(--terracotta); background: #f9e7df; color: #713629; }
.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; max-width: 78rem; min-height: 16rem; margin: 0 auto; }
.results[aria-busy="true"] { opacity: 0.58; }
.trip-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.trip-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #d8d2c8; }
.trip-media img { height: 100%; object-fit: cover; transition: transform 500ms ease; }
.trip-card:hover .trip-media img { transform: scale(1.035); }
.trip-media.image-unavailable img { visibility: hidden; }
.badge { position: absolute; top: 0.8rem; left: 0.8rem; padding: 0.42rem 0.7rem; border-radius: 100vmax; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.badge-signature { background: var(--terracotta); color: var(--white); }
.badge-partner { background: rgba(255, 250, 243, 0.93); color: var(--ink); }
.trip-content { padding: 1.35rem; }
.trip-meta { margin: 0; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.trip-content h3 { min-height: 2.4em; margin: 0.65rem 0; font-size: 1.55rem; }
.trip-title-link { text-decoration: none; }
.trip-title-link::after { position: absolute; inset: 0; content: ""; }
.trip-card { position: relative; transition: transform 220ms ease, box-shadow 220ms ease; }
.trip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trip-description { display: -webkit-box; min-height: 4.8em; margin: 0; overflow: hidden; color: var(--muted); font-size: 0.86rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.trip-footer { display: flex; align-items: end; justify-content: space-between; gap: 0.5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.trip-price { margin: 0; font-family: var(--serif); font-size: 1.1rem; }
.trip-price span { color: var(--muted); font-family: var(--sans); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; }
.card-action { color: var(--terracotta-dark); font-size: 0.68rem; font-weight: 750; text-align: right; }
.card-action-link { position: relative; z-index: 1; text-decoration: none; }
.empty-state { grid-column: 1 / -1; align-self: center; padding: var(--space-5); border: 1px dashed var(--line); border-radius: var(--radius-md); text-align: center; }
.empty-state h3 { margin: 0.5rem 0; font-size: 1.6rem; }
.empty-state p { margin: 0; color: var(--muted); }
.empty-symbol { color: var(--terracotta); font-size: 2.5rem; }
.retry { max-width: 78rem; margin: var(--space-3) auto 0; }

.trip-detail { min-height: 100vh; padding: 2rem clamp(1.25rem, 5vw, 6rem) var(--space-6); background: var(--paper); }
#detail-content { max-width: 78rem; margin: 0 auto; }
.detail-back { display: inline-block; margin: 0.5rem 0 1.5rem; color: var(--muted); font-size: 0.76rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; }
.detail-back:hover { color: var(--terracotta-dark); }
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 14rem); gap: 0.75rem; overflow: hidden; border-radius: var(--radius-lg); }
.detail-image { min-width: 0; height: 100%; margin: 0; overflow: hidden; background: #d8d2c8; }
.detail-image-main { grid-row: 1 / 3; }
.detail-image img { height: 100%; object-fit: cover; }
.detail-image.image-unavailable img { visibility: hidden; }
.detail-header { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.7fr); gap: 1rem 4rem; align-items: end; padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.detail-identity { display: flex; align-items: center; gap: 1rem; grid-column: 1 / -1; }
.detail-identity .badge { position: static; }
.detail-identity .eyebrow { margin: 0; }
.detail-header h1 { max-width: 14ch; margin: 0; font-size: clamp(3rem, 6vw, 6rem); }
.detail-lead { align-self: center; max-width: 34rem; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 1.22rem; }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); grid-column: 1 / -1; gap: 1rem; margin: 1rem 0 0; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.detail-facts div { display: grid; gap: 0.25rem; }
.detail-facts dt { color: var(--muted); font-size: 0.65rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.1em; }
.detail-facts dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; }
.detail-action { display: flex; grid-column: 1 / -1; align-items: center; gap: 1rem; }
.detail-action > span { color: var(--muted); font-size: 0.74rem; }
.route-section { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 4rem; padding: var(--space-6) 0; }
.route-heading { position: sticky; top: 2rem; align-self: start; }
.route-heading h2, .materials-section h2 { max-width: 8ch; margin: 0; font-size: clamp(2.3rem, 4vw, 4rem); }
.route-timeline { margin: 0; padding: 0; list-style: none; counter-reset: route; }
.route-stop { display: grid; grid-template-columns: 5rem 1fr; gap: 1.5rem; padding: 0 0 2rem; }
.route-stop:not(:last-child) { border-left: 1px solid var(--line); }
.route-day { align-self: start; margin-left: -1px; padding: 0.35rem 0.55rem; background: var(--terracotta); color: var(--white); font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.route-stop h3 { margin: 0 0 0.4rem; font-size: 1.35rem; }
.route-stop p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.detail-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--line); }
.detail-list { padding: 2rem; background: var(--white); }
.detail-list h3 { margin: 0 0 1.2rem; font-size: 1.7rem; }
.detail-list ul, .materials-grid { display: grid; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.detail-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.5rem; color: var(--muted); font-size: 0.88rem; }
.list-symbol { color: var(--terracotta); font-weight: 800; }
.materials-section { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 4rem; padding: var(--space-6) 0 2rem; }
.materials-grid { grid-template-columns: repeat(2, 1fr); }
.materials-grid li { display: flex; gap: 1rem; align-items: baseline; padding: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }
.material-number { color: var(--terracotta); font-family: var(--serif); font-size: 1.2rem; }
.detail-loading, .detail-error { max-width: 40rem; margin: 15vh auto; text-align: center; }
.detail-error h1 { max-width: none; margin: 0.5rem 0 1rem; font-size: clamp(3rem, 7vw, 6rem); }
.detail-error > p:not(.eyebrow) { margin-bottom: 2rem; color: var(--muted); }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.field-grid-thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-grid label { display: grid; align-content: start; gap: 0.4rem; color: var(--muted); font-size: 0.72rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }
.field-grid input, .field-grid select, .field-grid textarea, .chat-form input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: inherit; font-size: 0.9rem; text-transform: none; letter-spacing: 0; }
.field-grid input, .field-grid select { min-height: 2.8rem; padding: 0.6rem 0.75rem; }
.field-grid textarea { min-height: 6rem; padding: 0.75rem; resize: vertical; }
.field-grid small { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field-wide { grid-column: 1 / -1; }
.field-grid .checkbox-field { display: flex; grid-column: 1 / -1; flex-direction: row; align-items: center; }
.field-grid .checkbox-field input { width: 1.1rem; min-height: 0; accent-color: var(--terracotta); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.consultation-dialog, .matcher-dialog { width: min(42rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; overflow: auto; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(25, 29, 28, 0.35); }
.consultation-dialog::backdrop, .matcher-dialog::backdrop { background: rgba(20, 27, 26, 0.68); backdrop-filter: blur(3px); }
.consultation-form, .matcher-form { padding: clamp(1.35rem, 5vw, 2.8rem); }
.matcher-fields { margin-top: 1.5rem; }
.dialog-heading, .chat-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.dialog-heading h2, .chat-heading h2 { margin: 0; font-size: 2rem; }
.icon-button { display: grid; flex: 0 0 auto; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.consultation-trip { margin: 1.4rem 0 0.4rem; font-family: var(--serif); font-size: 1.15rem; }
.privacy-note { margin: 0 0 1.5rem; color: var(--muted); font-size: 0.78rem; }
.dialog-message { margin: 1.5rem 0; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; }
.dialog-actions { margin-top: 1.5rem; }

.chat-widget { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 10; display: grid; justify-items: end; gap: 0.75rem; }
.chat-toggle { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3rem; padding: 0.65rem 1rem; border: 0; border-radius: 100vmax; background: var(--ink); color: var(--white); font: inherit; font-size: 0.76rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; box-shadow: var(--shadow); cursor: pointer; }
.chat-toggle span { color: #e5a38e; }
.chat-panel { width: min(23rem, calc(100vw - 2rem)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 24px 70px rgba(25, 29, 28, 0.25); }
.chat-heading { padding: 1.2rem; border-bottom: 1px solid var(--line); }
.chat-heading .eyebrow { margin-bottom: 0.25rem; }
.chat-heading h2 { font-size: 1.35rem; }
.chat-heading .icon-button { width: 2rem; height: 2rem; font-size: 1.1rem; }
.chat-messages { display: grid; gap: 0.7rem; max-height: 18rem; padding: 1rem; overflow-y: auto; }
.chat-message { max-width: 88%; margin: 0; padding: 0.7rem 0.85rem; border-radius: 0.9rem; font-size: 0.82rem; }
.chat-message-advisor { justify-self: start; border-bottom-left-radius: 0.2rem; background: #ebe5db; }
.chat-message-traveler { justify-self: end; border-bottom-right-radius: 0.2rem; background: var(--terracotta); color: var(--white); }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 0.55rem; padding: 0.8rem; border-top: 1px solid var(--line); }
.chat-form input { min-width: 0; padding: 0.65rem 0.75rem; }
.chat-form .button { min-height: 2.7rem; padding: 0.6rem 0.8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.founder { display: grid; grid-template-columns: minmax(18rem, 0.85fr) minmax(22rem, 1.15fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: center; max-width: 82rem; margin: 0 auto; padding: var(--space-6) clamp(1.25rem, 4vw, 4.5rem); }
.founder-portrait { min-height: 35rem; border-radius: 12rem 12rem var(--radius-lg) var(--radius-lg); background-color: #c9c0b4; background-position: center; background-size: cover; box-shadow: var(--shadow); }
.founder-copy { max-width: 36rem; }
.founder-lead { margin: var(--space-4) 0 var(--space-3); color: var(--ink); font-family: var(--serif); font-size: 1.35rem; }
.founder-copy > p:not(.eyebrow, .founder-lead, .signature) { color: var(--muted); }
.signature { margin-top: var(--space-4); color: var(--terracotta-dark); font-family: var(--serif); font-size: 1.4rem; font-style: italic; }
.signature span { display: block; color: var(--muted); font-family: var(--sans); font-size: 0.65rem; font-style: normal; text-transform: uppercase; letter-spacing: 0.13em; }

footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 2rem clamp(1.25rem, 4vw, 4.5rem); background: var(--ink); color: rgba(255, 255, 255, 0.68); font-size: 0.75rem; }
.brand-light { color: var(--white); }
footer p { margin: 0; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-mosaic { min-height: 32rem; }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recommendation-grid { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: repeat(2, 1fr); }
  .filter-search { grid-column: 1 / -1; }
  .detail-header { grid-template-columns: 1fr; }
  .detail-lead { grid-row: auto; }
  .matcher-callout { margin-inline: 1.25rem; }
  .bespoke-process { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html { scroll-behavior: auto; }
  .site-header { padding: 1rem 1.1rem; }
  nav { gap: 0.9rem; }
  nav a { font-size: 0.64rem; }
  nav a:nth-of-type(n+2) { display: none; }
  .nav-matcher { font-size: 0.64rem; }
  .hero { min-height: auto; padding-top: 3.5rem; }
  h1 { font-size: clamp(3.2rem, 18vw, 5rem); }
  .proof { display: grid; }
  .hero-mosaic { min-height: 25rem; margin-top: 1rem; }
  .mosaic-item-1 { width: 82%; height: 72%; }
  .mosaic-item-2 { width: 48%; height: 43%; }
  .mosaic-item-3 { right: 0; width: 30%; }
  .collection { padding-block: 4.5rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1.25rem; }
  .collection-heading-aside { justify-items: start; margin-top: 1.25rem; }
  .results { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: 1fr; padding: 1rem; }
  .filter-search { grid-column: auto; }
  .trip-content h3, .trip-description { min-height: 0; }
  .detail-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 20rem 8rem; }
  .detail-image-main { grid-column: 1 / -1; grid-row: auto; }
  .detail-header { padding: 2.5rem 0; }
  .detail-facts { grid-template-columns: 1fr; }
  .detail-action { align-items: flex-start; flex-direction: column; }
  .route-section, .materials-section { grid-template-columns: 1fr; gap: 2rem; padding-block: 4rem; }
  .route-heading { position: static; }
  .detail-lists { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
  .field-grid, .field-grid-thirds { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .consultation-dialog, .matcher-dialog { width: calc(100% - 1rem); max-height: calc(100vh - 1rem); }
  .consultation-form .field-grid { grid-template-columns: 1fr; }
  .matcher-form .field-grid { grid-template-columns: 1fr; }
  .recommendations-heading { align-items: flex-start; flex-direction: column; }
  .chat-widget { right: 0.5rem; bottom: 0.5rem; }
  .chat-panel { width: calc(100vw - 2rem); }
  .founder { grid-template-columns: 1fr; padding-block: 4.5rem; }
  .founder-portrait { min-height: 28rem; }
  footer { align-items: flex-start; flex-direction: column; }
  .matcher-callout { grid-template-columns: 1fr; gap: 1.5rem; margin-top: -1rem; }
  .matcher-callout-action { width: 100%; min-width: 0; }
  .bespoke-process { padding-block: 5rem; }
  .hero-copy::after { display: none; }
  .filter-panel { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* High-contrast editorial cover: keeps the same content and interactions while
   making the visual redesign unmistakable on the first viewport. */
.hero {
  max-width: none;
  padding-inline: max(clamp(1.25rem, 5vw, 6rem), calc((100vw - 90rem) / 2));
  background:
    radial-gradient(circle at 72% 28%, rgba(185, 150, 90, 0.18), transparent 28rem),
    linear-gradient(135deg, #111918 0%, var(--midnight) 58%, #25302d 100%);
  color: var(--white);
}
.hero .eyebrow { color: var(--gold-pale); }
.hero h1 { color: #fffdf8; }
.hero-intro { color: rgba(255, 255, 255, 0.72); }
.hero .button-primary { border: 1px solid var(--gold); background: var(--gold); color: var(--midnight); }
.hero .button-primary:hover { background: var(--gold-pale); }
.hero .proof { color: rgba(255, 255, 255, 0.68); }
.hero-copy::after { border-color: rgba(234, 217, 184, 0.5); }
.mosaic-item-2, .mosaic-item-3 { border-color: var(--midnight); }
.matcher-callout { margin-top: -4.5rem; }

@media (min-width: 761px) and (max-width: 980px) {
  .hero { grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr); gap: 2.5rem; min-height: 48rem; }
  .hero h1 { font-size: clamp(3.5rem, 7.8vw, 5rem); }
  .hero-mosaic { min-height: 34rem; }
  .mosaic-item-1 { width: 82%; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-mosaic { min-height: 28rem; }
  .matcher-callout { margin-top: -2rem; }
}
