/* Northstar Horizon Travel - design system */
:root {
  --smoke-900: #1c1b19;
  --smoke-800: #2b2926;
  --smoke-700: #45423d;
  --paper: #f4efe6;
  --paper-dim: #e8e0d1;
  --amber: #e8a33d;
  --amber-deep: #c77f1f;
  --indigo: #3c5a78;
  --indigo-deep: #28405a;
  --line: #d8cdb8;
  --radius: 14px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;
  --measure: 68ch;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--smoke-900);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo-deep); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
.icon { width: 1.3em; height: 1.3em; stroke: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 0; background: var(--amber); color: var(--smoke-900); padding: 0.5em 1em; z-index: 999; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- layout helpers ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--space-3); }
.section { padding: var(--space-5) 0; }
.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.mt-1 { margin-top: var(--space-1); } .mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); }
.mb-1 { margin-bottom: var(--space-1); } .mb-2 { margin-bottom: var(--space-2); } .mb-3 { margin-bottom: var(--space-3); }
.flex { display: flex; gap: var(--space-2); align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--smoke-900); color: var(--paper);
  border-bottom: 3px solid var(--amber);
}
.header-inner { max-width: 1180px; margin: 0 auto; padding: 0.6rem var(--space-3); display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.logo-mark { width: 180px; height: 39px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--paper); display: block; }
.nav-primary { display: flex; align-items: center; gap: var(--space-3); }
.nav-primary ul { list-style: none; display: flex; gap: var(--space-3); margin: 0; padding: 0; }
.nav-primary a { color: var(--paper); font-weight: 500; position: relative; padding: 0.4em 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav-primary a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--amber); transition: width 0.25s; }
.nav-primary a:hover::after, .nav-primary a.is-active::after { width: 100%; }
.nav-primary a.is-active { color: var(--amber); }
.cart-link { position: relative; color: var(--paper); display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
.cart-count { position: absolute; top: -2px; right: -8px; background: var(--amber); color: var(--smoke-900); font-size: 0.7rem; font-weight: 700; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.cart-count.bump { animation: cartBump 0.4s ease; }
@keyframes cartBump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav-primary { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); background: var(--smoke-900); flex-direction: column; align-items: flex-start; padding: var(--space-4) var(--space-3); transform: translateX(100%); visibility: hidden; transition: transform 0.3s ease; }
  .nav-primary.is-open { transform: translateX(0); visibility: visible; }
  .nav-primary ul { flex-direction: column; gap: var(--space-2); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--smoke-900), var(--indigo-deep)); color: var(--paper); padding: var(--space-5) 0; }
.hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 var(--space-3); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-4); align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.3rem, 5vw + 1rem, 4.2rem); margin-bottom: 0.4em; }
.hero-lede { font-size: 1.15rem; max-width: 42ch; color: var(--paper-dim); }
.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-shapes [data-parallax] { position: absolute; transition: transform 0.1s linear; }
.hero-art { position: relative; z-index: 2; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 44px; padding: 0.7em 1.6em; border-radius: 999px; font-weight: 600; border: 2px solid transparent; cursor: pointer; position: relative; overflow: hidden; font-size: 1rem; }
.btn-fill { background: var(--amber); color: var(--smoke-900); }
.btn-fill::after { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--amber-deep); z-index: -1; transition: left 0.3s ease; }
.btn-fill:hover::after { left: 0; }
.btn-outline { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn-outline:hover { background: rgba(244,239,230,0.12); }
.btn-dark { background: var(--smoke-900); color: var(--paper); border-color: var(--smoke-900); }
.btn-dark:hover { background: var(--indigo-deep); }
.btn-sm { padding: 0.45em 1.1em; font-size: 0.9rem; min-height: 36px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- masonry gallery ---------- */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 10px; gap: var(--space-2); }
.masonry-item { grid-row-end: span 20; position: relative; border-radius: var(--radius); overflow: hidden; }
.masonry-item:nth-child(2) { grid-row-end: span 28; }
.masonry-item:nth-child(3) { grid-row-end: span 24; }
.masonry-item:nth-child(4) { grid-row-end: span 16; }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.masonry-item:hover img { transform: scale(1.08); }
.masonry-caption { position: absolute; inset: auto 0 0 0; padding: var(--space-2); background: linear-gradient(to top, rgba(28,27,25,0.85), transparent); color: var(--paper); transform: translateY(60%); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.masonry-item:hover .masonry-caption, .masonry-item:focus-within .masonry-caption { transform: translateY(0); opacity: 1; }
@media (max-width: 860px) { .masonry { grid-template-columns: repeat(2, 1fr); } }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 32px -16px rgba(28,27,25,0.35); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: var(--space-2) var(--space-3) var(--space-3); }
.card-price { color: var(--amber-deep); font-weight: 700; }
.tag { display: inline-block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--indigo); color: var(--paper); padding: 0.25em 0.7em; border-radius: 999px; }

/* ---------- product strip (mobile scroll-snap) ---------- */
.strip { display: flex; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-1); }
.strip .card { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 860px) { .strip { overflow: visible; display: grid; grid-template-columns: repeat(3,1fr); } .strip .card { flex: initial; } }

/* ---------- compass feature ---------- */
.compass { background: var(--smoke-800); color: var(--paper); border-radius: var(--radius); padding: var(--space-4); position: relative; overflow: hidden; }
.compass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: center; }
@media (max-width: 860px) { .compass-grid { grid-template-columns: 1fr; } }
.month-dial { display: flex; flex-wrap: wrap; gap: 0.5em; }
.month-dial button { background: var(--smoke-900); color: var(--paper-dim); border: 1px solid var(--smoke-700); border-radius: 999px; padding: 0.5em 1em; cursor: pointer; min-height: 44px; }
.month-dial button.is-active { background: var(--amber); color: var(--smoke-900); border-color: var(--amber); }
.compass-result { background: var(--smoke-900); border-radius: var(--radius); padding: var(--space-3); border: 1px solid var(--smoke-700); min-height: 160px; }
.compass-result h3 { color: var(--amber); }

/* ---------- reveal / scroll ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in-view { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: 0.08s; }
  .reveal[data-delay="2"] { transition-delay: 0.16s; }
  .reveal[data-delay="3"] { transition-delay: 0.24s; }
}

/* ---------- dividers / ornaments ---------- */
.divider { width: 100%; height: 40px; display: block; color: var(--amber); }
.ornament { width: 64px; height: 64px; color: var(--amber); }
.seal { width: 96px; height: 96px; color: var(--indigo); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--smoke-900); color: var(--paper); padding: var(--space-4) 0; border-bottom: 3px solid var(--amber); }
.page-hero h1 { font-size: clamp(1.9rem, 3vw + 1rem, 3rem); margin-bottom: 0.3em; }
.page-hero p { color: var(--paper-dim); max-width: var(--measure); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { list-style: none; display: flex; gap: 0.5em; padding: 0; margin: 0 0 var(--space-2); font-size: 0.9rem; color: var(--smoke-700); flex-wrap: wrap; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5em; color: var(--line); }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-4); font-size: 1.5rem; }
.prose h3 { margin-top: var(--space-3); font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- legal toc ---------- */
.legal-toc { background: var(--paper-dim); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); margin-bottom: var(--space-4); }
.legal-toc h2 { font-size: 1.1rem; }
.legal-toc ol { margin: 0; padding-left: 1.4em; }

/* ---------- notice ---------- */
.notice { border-left: 4px solid var(--indigo); background: #eef2f5; padding: var(--space-2) var(--space-3); border-radius: 0 var(--radius) var(--radius) 0; margin: var(--space-2) 0; }
.notice.notice-warn { border-color: var(--amber-deep); background: #fbf1df; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: var(--space-2); max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 0.35em; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea { font: inherit; padding: 0.65em 0.8em; border: 1px solid var(--line); border-radius: 8px; background: #fff; accent-color: var(--amber-deep); min-height: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); }
.field-error { color: #a4263a; font-size: 0.85rem; min-height: 1.2em; }
.form-msg { min-height: 1.4em; font-weight: 600; }
.form-msg.is-success { color: #2f7a4d; }
.form-msg.is-error { color: #a4263a; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- newsletter ---------- */
.newsletter-form { display: flex; gap: 0.5em; flex-wrap: wrap; }
.newsletter-form input[type="email"] { flex: 1; min-width: 180px; padding: 0.6em 0.9em; border-radius: 999px; border: 1px solid var(--smoke-700); background: var(--smoke-900); color: var(--paper); min-height: 44px; }

/* ---------- product detail / cart ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail .price { font-size: 1.6rem; color: var(--amber-deep); font-weight: 700; }
.product-detail .highlights { list-style: none; padding: 0; }
.product-detail .highlights li { padding-left: 1.6em; position: relative; margin-bottom: 0.5em; }
.product-detail .highlights li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 0.9em; height: 0.9em; background: var(--amber); border-radius: 2px; transform: rotate(45deg); }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: 0.8em; border-bottom: 1px solid var(--line); }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-summary { background: var(--paper-dim); border-radius: var(--radius); padding: var(--space-3); max-width: 360px; margin-left: auto; }
.cart-summary .total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px dashed var(--line); }
.qty-input { width: 3.5em; }

/* ---------- contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info ul { list-style: none; padding: 0; }
.contact-info li { display: flex; gap: 0.7em; align-items: flex-start; margin-bottom: var(--space-2); }

/* ---------- faq ---------- */
.faq { max-width: var(--measure); }
.faq-item { border-bottom: 1px solid var(--line); padding: 0.9em 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1em; min-height: 44px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--amber-deep); transition: transform 0.25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.6em; color: var(--smoke-700); }

/* ---------- footer ---------- */
.site-footer { background: var(--smoke-900); color: var(--paper-dim); }
.footer-divider { width: 100%; height: 40px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: var(--space-4) var(--space-3); display: grid; grid-template-columns: 1.2fr 2fr 1.2fr; gap: var(--space-4); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-mark { width: 40px; height: 40px; margin-bottom: 0.5em; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.footer-links h3 { color: var(--paper); font-size: 1rem; font-family: var(--font-body); }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5em; }
.footer-links a { color: var(--paper-dim); }
.footer-links a:hover { color: var(--amber); }
.footer-newsletter h3 { color: var(--paper); font-family: var(--font-body); }
.muted { color: var(--smoke-700); font-size: 0.9rem; }
.footer-bottom { text-align: center; padding: var(--space-2) 0; border-top: 1px solid var(--smoke-700); font-size: 0.85rem; }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; left: var(--space-2); right: var(--space-2); bottom: var(--space-2); z-index: 100; background: var(--smoke-900); color: var(--paper); border: 1px solid var(--amber); border-radius: var(--radius); padding: var(--space-2) var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; justify-content: space-between; max-width: 720px; margin: 0 auto; }
.cookie-banner a { color: var(--amber); }
.cookie-actions { display: flex; gap: 0.6em; }

/* COMPONENTS: .class - what it is
.container - centered max-width content wrapper
.section - vertical page section spacing
.grid / .grid-2 / .grid-3 / .grid-4 - responsive grid layouts
.site-header / .header-inner - sticky top navigation bar
.logo-mark - inline SVG wordmark size control
.menu-toggle - mobile hamburger button
.nav-primary - main nav (becomes off-canvas drawer on mobile)
.cart-link / .cart-count - header cart icon and animated badge
.hero / .hero-inner / .hero-shapes / .hero-art - home hero with parallax shapes
.btn / .btn-fill / .btn-outline / .btn-dark / .btn-sm - button variants
.masonry / .masonry-item / .masonry-caption - home masonry gallery with hover reveal
.card / .card-media / .card-body / .card-price / .tag - product/tour card
.strip - horizontal scroll-snap card strip on mobile
.compass / .compass-grid / .month-dial / .compass-result - signature Season Compass feature
.reveal - scroll-reveal animation hook (IntersectionObserver)
.divider / .ornament / .seal - decorative bespoke SVGs
.page-hero - inner page header band
.breadcrumbs - breadcrumb trail list
.prose - readable long-form legal/text content
.legal-toc - table of contents box for legal pages
.notice / .notice-warn - callout box
.form-grid / .field / .field-error - form layout and field wrapper
.form-msg - inline success/error message under a form
.hp-field - visually hidden honeypot input
.newsletter-form - footer newsletter subscribe form
.product-detail / .highlights - product/tour detail layout
.cart-table / .cart-summary / .qty-input - booking basket table and totals
.contact-layout / .contact-info - contact page split layout
.faq / .faq-item - FAQ accordion (details/summary)
.site-footer / .footer-inner / .footer-links / .footer-newsletter - site footer
.cookie-banner / .cookie-actions - cookie consent banner
*/

/* ---------- missing utility & component styles ---------- */
.logo {
  display: inline-flex;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.mt-5 {
  margin-top: var(--space-5);
}

.filter-buttons {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* wg-contrast-autofix */
footer.site-footer div.footer-inner div.footer-brand p.muted { color: #ffffff !important; }
footer.site-footer div.footer-inner div.footer-newsletter p.muted { color: #ffffff !important; }
div.footer-inner div.footer-newsletter p.muted a { color: #ffffff !important; }
