/* ==========================================================================
   Rihla Hajj & Umrah — "Midnight & Champagne"
   Mobile-first. Sections: tokens · base · header · hero · sections · footer
   ========================================================================== */

/* Self-hosted fonts (variable woff2, latin + latin-ext). Source: Google Fonts, SIL Open Font License. */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500 600; font-display: swap; src: url(/fonts/cormorant-garamond-italic-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500 600; font-display: swap; src: url(/fonts/cormorant-garamond-italic-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/fonts/cormorant-garamond-normal-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/fonts/cormorant-garamond-normal-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --midnight: #0A1220;
  --navy: #0F1C2E;
  --navy-2: #16263D;
  --navy-3: #1E3150;
  --champ: #D6B77E;
  --champ-l: #EBD9B4;
  --bronze: #7A5C24;          /* gold for text on light backgrounds (5.4:1 on sand) */
  --sand: #F5EFE4;
  --stone: #E7DECF;
  --paper: #FBF8F2;
  --ink: #111827;
  --muted: #4B5563;
  --muted-d: #A8B3C4;
  --on-dark: #EEF1F5;
  --line-d: rgba(214, 183, 126, .22);
  --line-l: rgba(17, 24, 39, .12);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --arch: 999px 999px 18px 18px;

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23D6B77E' stroke-width='.8'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 0l22 22M80 0 58 22M0 80l22-22M80 80 58 58M40 0v14.5M40 80V65.5M0 40h14.5M80 40H65.5'/%3E%3C/g%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23D6B77E' stroke-width='1.6'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); }
h4 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
p, li, dd, dt { text-wrap: pretty; }
[data-price-usd], .dep-price b, .pkg-price b, .price-guide dd { font-variant-numeric: lining-nums; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.2em;
}
.sr-only, .js .panel-title {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--champ); color: var(--midnight); padding: .75rem 1.25rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.accredit :focus-visible, .mobile-bar :focus-visible, .answer-card :focus-visible, .docs :focus-visible,
.pkg.is-featured :focus-visible { outline-color: var(--champ); }

/* ---------- shared type ---------- */
.kicker {
  display: flex; align-items: center; gap: .75rem;
  font: 600 .75rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.center .kicker { justify-content: center; }
.center .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.dark .kicker, .answer-card .kicker { color: var(--champ); }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.7; }
.fine { font-size: .8125rem; color: var(--muted); }
.fine.on-dark { color: var(--muted-d); }
.stars { color: var(--champ); letter-spacing: .12em; }

.orn {
  position: relative; display: block; width: 150px; height: 14px; margin: 1.25rem auto; color: var(--champ);
  background:
    linear-gradient(currentColor, currentColor) left center / 56px 1px no-repeat,
    linear-gradient(currentColor, currentColor) right center / 56px 1px no-repeat;
}
.orn::before, .orn::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  border: 1px solid currentColor; translate: -50% -50%;
}
.orn::after { rotate: 45deg; }
.orn-left { margin-left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 46px; padding: .8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .9375rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--champ); color: var(--midnight); box-shadow: 0 12px 30px -14px rgba(214, 183, 126, .7); }
.btn-gold:hover { background: var(--champ-l); }
.btn-ghost { background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(255, 255, 255, .38); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--champ); color: var(--champ-l); }
.btn-dark { background: var(--midnight); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--sand); }
.btn-sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .875rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 0;
  font-weight: 600; text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) left bottom .35rem / 100% 1px no-repeat;
}
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow .i { transition: transform .3s var(--ease); }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 8vw, 8rem); }
.dark { background: var(--navy); color: var(--on-dark); }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark > .container { position: relative; }
.pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background-image: var(--pattern); background-size: 88px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 85% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 85% 0%, #000 0%, transparent 75%);
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin: 0; }
.section-head.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head.center > p { color: var(--muted); max-width: 58ch; margin: 0 auto; }
.section-head.split { display: grid; gap: 1.25rem; align-items: end; }
.section-head.split > p { color: var(--muted); max-width: 48ch; margin: 0; }
.dark .section-head > p { color: var(--muted-d); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.25fr 1fr; gap: 4rem; }
  .section-head.split > :last-child { justify-self: end; }
}

.arch { border-radius: var(--arch); overflow: hidden; }

/* Motion (js/motion.js): above-the-fold hero items wait for the first frame; everything else
   is hidden by motion.js itself, so no-JS and reduced-motion visitors always see the page. */
.m-pending [data-m-hero] { opacity: 0; }
.split-w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Announcement + header
   ========================================================================== */
.announce { background: var(--midnight); color: var(--champ-l); font-size: .8125rem; border-bottom: 1px solid var(--line-d); }
.announce p { margin: 0; padding: .55rem 0; text-align: center; line-height: 1.5; }
.announce .i { color: var(--champ); }
.announce a { color: #fff; text-underline-offset: 3px; text-decoration-color: var(--champ); }
@media (max-width: 640px) { .announce-sep { display: none; } .announce a { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 50; color: #fff;
  background: rgba(10, 18, 32, .78);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line-d);
  transition: background .3s;
}
.site-header.is-scrolled { background: rgba(10, 18, 32, .95); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.footer-brand address a { display: inline-block; padding: 3px 0; min-height: 26px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--champ); text-decoration: none; }
.brand-mark { width: 32px; height: 40px; flex: none; overflow: visible; }
.brand-word { display: flex; flex-direction: column; font: 600 1.5rem/1 var(--serif); letter-spacing: .26em; text-transform: uppercase; color: #fff; margin-right: -.26em; }
.brand-word small {
  display: flex; align-items: center; gap: .45rem; margin-top: .4rem;
  font: 600 .55rem/1 var(--sans); letter-spacing: .34em; color: var(--champ);
}
.brand-word small::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .7; }

.main-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #E6EAF0; text-decoration: none; }
.main-nav ul a { position: relative; display: block; padding: .75rem .8rem; font-size: .9rem; font-weight: 500; }
.main-nav ul a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .45rem; height: 1px;
  background: var(--champ); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { color: #fff; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--champ); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.main-nav ul a:hover { color: #fff; }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: .65rem; margin-left: auto; }
.currency {
  display: flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0 .35rem 0 .75rem;
  border: 1px solid var(--line-d); border-radius: 999px; color: var(--champ);
}
.currency[hidden] { display: none; }
.currency select {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  background: transparent var(--chev) no-repeat right .45rem center; color: #fff;
  font: 600 .8125rem var(--sans); padding: .55rem 1.6rem .55rem .2rem; min-height: 40px;
}
.currency option, .finder option { color: var(--ink); background: #fff; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line-d); border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle .i { width: 1.3rem; height: 1.3rem; }
.nav-toggle .i-shut, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-shut { display: block; }

@media (min-width: 1280px) {
  .main-nav { margin-left: auto; }
  .header-actions { margin-left: .5rem; }
}
@media (min-width: 1280px) and (max-width: 1399px) {
  .main-nav ul a { padding-inline: .62rem; }
  .main-nav ul a::after { left: .62rem; right: .62rem; }
}
@media (max-width: 1279px) {
  .js .nav-toggle { display: inline-flex; }
  .js .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    padding: .5rem var(--gutter) 1.5rem; background: var(--midnight); border-bottom: 1px solid var(--line-d);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .js .main-nav.is-open { display: block; animation: drop .35s var(--ease); }
  .js .main-nav ul { flex-direction: column; gap: 0; }
  .js .main-nav ul a { padding: 1rem 0; font: 500 1.5rem/1.2 var(--serif); border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .js .main-nav ul a::after { display: none; }
  .js .nav-cta { display: flex; width: 100%; margin-top: 1.25rem; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .main-nav { order: 3; width: 100%; overflow-x: auto; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .brand-word { font-size: 1.3rem; }
  .brand-mark { width: 28px; height: 35px; }
}
/* Below ~380px the logo, currency picker and menu button no longer fit side by side:
   tighten the gaps and drop the globe icon (the "USD $" select still labels itself).
   The "Hajj & Umrah" subline gets tighter tracking so it stays on one line. */
@media (max-width: 380px) {
  .header-inner { gap: .75rem; }
  .brand-word small { letter-spacing: .2em; white-space: nowrap; }
  .header-actions { gap: .4rem; }
  .currency { padding-left: .55rem; }
  .currency .i { display: none; }
  .nav-toggle { width: 44px; height: 44px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: calc(100svh - var(--header-h) - 34px);
  padding-top: clamp(6rem, 16vh, 11rem);
  color: #fff; background: var(--midnight);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media, .hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img, .hero-video { object-fit: cover; object-position: center 40%; }
.js .hero-video { opacity: 0; }
.video-toggle {
  position: absolute; top: clamp(1rem, 3vw, 1.75rem); right: var(--gutter); z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 1px solid rgba(214, 183, 126, .45); border-radius: 50%; background: rgba(10, 18, 32, .45); color: var(--champ-l);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, border-color .3s;
}
.video-toggle[hidden] { display: none; }
.video-toggle:hover { background: rgba(10, 18, 32, .75); border-color: var(--champ); }
.video-toggle .i { width: 1.05rem; height: 1.05rem; stroke-width: 2.2; }
.video-toggle .i-play { fill: currentColor; stroke-width: 1.4; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, .5) 0%, rgba(10, 18, 32, .2) 28%, rgba(10, 18, 32, .62) 60%, rgba(10, 18, 32, .97) 100%),
    linear-gradient(90deg, rgba(10, 18, 32, .78) 0%, rgba(10, 18, 32, .2) 55%, rgba(10, 18, 32, 0) 80%);
}
.hero-inner { display: grid; gap: 2.25rem; padding-bottom: 2.25rem; }
.hero-copy { max-width: 860px; }
.eyebrow {
  display: flex; align-items: center; gap: .85rem; margin-bottom: 1.5rem;
  font: 600 .75rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--champ-l);
}
.hair { width: 48px; height: 1px; background: var(--champ); flex: none; }
.hero h1 { font-size: clamp(2.35rem, 1.2rem + 4.8vw, 5.4rem); line-height: 1.02; margin: 0 0 1.5rem; color: #fff; }
.hero h1 em { color: var(--champ); font-weight: 500; }
.hero-sub { max-width: 60ch; font-size: clamp(1.02rem, .98rem + .35vw, 1.22rem); color: #D9DFE8; margin: 0; }
.hero-sub em { font-family: var(--serif); font-size: 1.28em; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: .75rem 2.25rem; list-style: none; margin: 0; padding: 1.4rem 0 0;
  border-top: 1px solid rgba(214, 183, 126, .28); font-size: .875rem; color: #E3E8EF;
}
.trust-row li { display: flex; align-items: center; gap: .55rem; }
.trust-row .i { color: var(--champ); }

.finder-wrap { position: relative; padding-bottom: clamp(2rem, 4vw, 3.25rem); }
.finder {
  display: grid; grid-template-columns: 1.35fr 1fr 1.1fr .7fr auto; align-items: stretch;
  padding: .5rem; border-radius: 24px;
  background: rgba(15, 28, 46, .58); border: 1px solid rgba(214, 183, 126, .32);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .65);
}
.finder-field { display: flex; flex-direction: column; justify-content: center; padding: .6rem 1.15rem; border-right: 1px solid rgba(255, 255, 255, .1); min-width: 0; }
.finder-field label { margin-bottom: .3rem; font: 600 .6875rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champ); }
.finder select, .finder input {
  width: 100%; min-height: 34px; padding: .15rem 0; border: 0; border-radius: 0;
  background: transparent; color: #fff; font: 500 1rem var(--sans);
  appearance: none; -webkit-appearance: none;
}
.finder select { background: transparent var(--chev) no-repeat right .1rem center; padding-right: 1.5rem; cursor: pointer; }
.finder select:focus-visible, .finder input:focus-visible { outline-offset: 6px; }
.finder-btn { margin: .15rem; border-radius: 18px; min-height: 60px; }
.finder-note { min-height: 1.5em; margin: .8rem 0 0; font-size: .875rem; color: var(--champ-l); }
@media (max-width: 700px) {
  .hero { padding-top: 5rem; min-height: 0; }
  .video-toggle { top: 1rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; font-size: .8125rem; }
}
@media (min-width: 961px) and (max-width: 1199px) {
  .finder { grid-template-columns: repeat(4, 1fr); }
  .finder-field:nth-child(4) { border-right: 0; }
  .finder-btn { grid-column: 1 / -1; margin-top: .5rem; }
}
@media (max-width: 1023px) { .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; } }
/* Phones: badges flow inline so the long rating line never gets squeezed into a narrow column */
@media (max-width: 479px) {
  .trust-row { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; }
  .trust-row li { white-space: nowrap; }
}
@media (max-width: 960px) {
  .finder { grid-template-columns: 1fr 1fr; }
  .finder-field { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .finder-field:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .1); }
  .finder-btn { grid-column: 1 / -1; margin-top: .5rem; }
}
@media (max-width: 480px) {
  .finder-field { padding: .6rem .8rem; }
  .finder select, .finder input { font-size: .92rem; }
  .finder select { padding-right: 1.2rem; }
}

/* ==========================================================================
   Accreditation strip
   ========================================================================== */
.accredit { background: var(--midnight); color: var(--muted-d); border-bottom: 1px solid var(--line-d); }
.accredit-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; padding-block: 1.9rem; }
.accredit-label { margin: 0; max-width: 13ch; font: 600 .6875rem/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--champ); }
.accredit-list { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 2.5rem; list-style: none; margin: 0; padding: 0; }
.accredit-list li { display: flex; flex-direction: column; gap: .2rem; }
.lg { color: #fff; opacity: .92; line-height: 1; }
.lg-serif { font: 600 1.65rem/1 var(--serif); letter-spacing: .06em; }
.lg-sans { font: 700 1.25rem/1 var(--sans); letter-spacing: .14em; }
.lg-caps { font: 600 1.05rem/1.15 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.accredit-list small { font-size: .75rem; color: var(--muted-d); }
@media (max-width: 1099px) {
  .accredit-inner { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .accredit-label { max-width: none; text-align: center; }
  .accredit-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; text-align: center; }
  .accredit-list li { align-items: center; }
}
@media (max-width: 767px) {
  .accredit-list { grid-template-columns: 1fr 1fr; }
  .accredit-list li:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   Quick answer
   ========================================================================== */
.answer { background: var(--sand); }
.answer-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .answer-grid { grid-template-columns: 1.25fr 1fr; gap: 5.5rem; } }
.answer h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.3rem); }
.answer .lede { color: #2B3441; }
.answer .lede strong { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 62%, rgba(214, 183, 126, .5) 0); }
.answer-card {
  position: relative; overflow: hidden; color: #fff; background: var(--midnight);
  padding: clamp(3rem, 5vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.25rem);
  border-radius: 180px 180px 28px 28px / 110px 110px 28px 28px;
  box-shadow: 0 50px 90px -50px rgba(10, 18, 32, .8);
}
.answer-card::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid var(--line-d); border-radius: 172px 172px 20px 20px / 104px 104px 20px 20px;
}
.answer-card h3 { text-align: center; font-size: 1.9rem; color: #fff; }
.answer-card h3 span { display: block; margin-top: .45rem; font: 600 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--champ); }
.price-guide { margin: 1.25rem 0 1rem; }
.price-guide div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed rgba(214, 183, 126, .28); }
.price-guide dt { color: #D3DAE4; font-size: .92rem; }
.price-guide dd { margin: 0; font: 600 1.45rem/1 var(--serif); color: var(--champ-l); white-space: nowrap; }
.answer-card .link-arrow { color: var(--champ); position: relative; }

/* ==========================================================================
   Departures
   ========================================================================== */
.departures { background: var(--navy); }
.dep-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.dep-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 1rem 1.25rem; padding: 1.5rem;
  border: 1px solid var(--line-d); border-radius: 22px;
  background: linear-gradient(160deg, var(--navy-2), rgba(22, 38, 61, .35));
  transition: border-color .3s, translate .45s var(--ease), background .3s;
}
.dep-card:hover { border-color: rgba(214, 183, 126, .6); }
.dep-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 74px; height: 92px; border: 1px solid var(--line-d); border-radius: 999px 999px 12px 12px; color: var(--champ);
}
.dep-date b { font: italic 600 2.3rem/1 var(--serif); }
.dep-date span { margin-top: .25rem; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.dep-route { display: flex; align-items: center; gap: .45rem; margin: 0 0 .35rem; font: 700 .75rem/1 var(--sans); letter-spacing: .16em; color: var(--champ); }
.dep-route abbr { text-decoration: none; }
.dep-card h3 { margin: 0 0 .3rem; font-size: 1.5rem; }
.dep-meta { margin: 0; font-size: .84rem; color: var(--muted-d); }
.dep-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.seats { padding: .32rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: .75rem; font-weight: 600; color: #D3DAE4; }
.seats.is-low { background: rgba(214, 183, 126, .16); color: var(--champ-l); }
.seats.is-low::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .45rem; border-radius: 50%; background: var(--champ); vertical-align: .1em; }
.dep-price { display: flex; align-items: baseline; gap: .35rem; }
.dep-price small { font-size: .75rem; color: var(--muted-d); }
.dep-price b { font: 600 1.65rem/1 var(--serif); color: #fff; }
.dep-link { position: absolute; inset: 0; border-radius: inherit; }
.strip-hint { display: none; }
@media (max-width: 1023px) {
  .dep-strip {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(290px, 80%);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: .25rem var(--gutter) 1.25rem; scroll-padding-inline: var(--gutter);
    scrollbar-width: thin; scrollbar-color: var(--line-d) transparent;
  }
  .dep-card { scroll-snap-align: start; }
  .strip-hint { display: block; margin: .5rem 0 0; font-size: .8rem; color: var(--muted-d); }
}
@media (max-width: 1023px) { .dep-strip { grid-auto-columns: min(78vw, 420px); } }
@media (max-width: 480px) { .dep-strip { grid-auto-columns: 86vw; } .dep-card { padding: 1.25rem; } }
/* where columns get narrow, the date becomes a pill above the title so titles keep their width */
@media (min-width: 1024px) and (max-width: 1279px), (max-width: 480px) {
  .dep-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: .9rem; }
  .dep-date { flex-direction: row; align-items: baseline; gap: .5rem; width: auto; height: auto; padding: .45rem 1rem; border-radius: 999px; justify-self: start; }
  .dep-date b { font-size: 1.55rem; }
  .dep-date span { margin-top: 0; }
}

/* ==========================================================================
   Packages
   ========================================================================== */
.packages { background: var(--sand); }
.tabs {
  display: flex; gap: .25rem; width: max-content; max-width: 100%; margin: 0 auto 3.5rem; padding: .35rem;
  background: var(--paper); border: 1px solid var(--line-l); border-radius: 999px; overflow-x: auto;
}
.tabs[hidden] { display: none; }
.tabs button {
  min-height: 46px; padding: .6rem 1.4rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 .9rem var(--sans); color: var(--muted); white-space: nowrap; transition: background .3s, color .3s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--midnight); color: #fff; }
@media (max-width: 480px) {
  .tabs button { padding: .55rem .9rem; font-size: .84rem; }
}
.tab-panel + .tab-panel { margin-top: 4rem; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel[hidden] { display: none; }
.panel-title { font-size: 2rem; margin-bottom: 1.5rem; }
.pkg-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 700px) and (max-width: 1039px) {
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .pkg-grid > .pkg:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .pkg-grid > .pkg:last-child:nth-child(odd) .pkg-media img { height: 100%; aspect-ratio: auto; min-height: 100%; }
}
@media (min-width: 1040px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.pkg {
  display: flex; flex-direction: column; padding: .75rem; border-radius: 28px;
  background: var(--paper); border: 1px solid var(--line-l);
  transition: box-shadow .45s var(--ease);
}
.pkg:hover { box-shadow: 0 34px 60px -34px rgba(10, 18, 32, .4); }
.pkg-media { position: relative; overflow: hidden; }
.pkg-media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.pkg:hover .pkg-media img { transform: scale(1.04); }
.badge {
  display: inline-block; padding: .45rem .8rem; border-radius: 999px; background: var(--champ); color: var(--midnight);
  font: 700 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.pkg-media .badge { position: absolute; left: 1rem; bottom: 1rem; }
.pkg-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1rem 1rem; }
.pkg-tier { margin-bottom: .45rem; font: 600 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.pkg h3, .pkg h4 { margin: 0 0 .55rem; font-size: clamp(1.75rem, 1.5rem + .6vw, 2.05rem); }
.pkg-dur { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.25rem; font-size: .9rem; font-weight: 600; }
.pkg-dur span { font-weight: 400; color: var(--muted); }
.pkg-dur .i { color: var(--bronze); }
.pkg-list { display: grid; gap: .7rem; list-style: none; margin: 0 0 1.5rem; padding: 1.25rem 0 0; border-top: 1px solid var(--line-l); font-size: .9rem; color: #2B3441; }
.pkg-list li { display: flex; align-items: flex-start; gap: .7rem; }
.pkg-list .i { margin-top: .2em; color: var(--bronze); }
.pkg-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line-l); }
.pkg-price { display: flex; flex-direction: column; margin: 0; line-height: 1.15; }
.pkg-price small { font-size: .75rem; color: var(--muted); }
.pkg-price b { font: 600 2.15rem/1.1 var(--serif); color: var(--ink); }
.pkg.is-featured { background: var(--midnight); border-color: transparent; color: #E8ECF2; box-shadow: 0 46px 80px -44px rgba(10, 18, 32, .8); }
.pkg.is-featured .pkg-tier, .pkg.is-featured .pkg-dur .i, .pkg.is-featured .pkg-list .i { color: var(--champ); }
.pkg.is-featured h3, .pkg.is-featured h4 { color: #fff; }
.pkg.is-featured .pkg-dur span, .pkg.is-featured .pkg-price small { color: var(--muted-d); }
.pkg.is-featured .pkg-list { color: #D3DAE4; }
.pkg.is-featured .pkg-list, .pkg.is-featured .pkg-foot { border-color: rgba(255, 255, 255, .1); }
.pkg.is-featured .pkg-price b { color: var(--champ-l); }

.family-note {
  display: flex; align-items: center; gap: 1.5rem; margin-top: 3.5rem; padding: 1.5rem 2rem;
  background: var(--stone); border: 1px solid var(--line-l); border-radius: 22px;
}
.family-note > .i { width: 2.25rem; height: 2.25rem; color: var(--bronze); stroke-width: 1.3; }
.family-note p { flex: 1; margin: 0; }
@media (max-width: 760px) { .family-note { flex-direction: column; align-items: flex-start; padding: 1.5rem; } }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.compare { background: var(--stone); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-l); border-radius: 24px; background: var(--paper); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .92rem; }
.compare-table th, .compare-table td { padding: 1.1rem 1.35rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-l); }
.compare-table thead th { padding-top: 1.6rem; font: 600 1.6rem/1.1 var(--serif); }
.compare-table thead th .badge { margin-left: .5rem; vertical-align: .35em; }
.compare-table tbody th { width: 22%; font-size: .85rem; font-weight: 700; color: var(--ink); }
.compare-table tbody tr:first-child td { font: 600 1.55rem/1 var(--serif); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table .is-featured { background: rgba(214, 183, 126, .16); }
.compare-table thead .is-featured { background: var(--midnight); color: #fff; }
.compare-table td .i { color: var(--bronze); margin-right: .25rem; }
.compare-table tbody th, .compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); }

/* ==========================================================================
   Hajj via Nusuk
   ========================================================================== */
.nusuk { background: var(--midnight); }
.nusuk-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1000px) { .nusuk-grid { grid-template-columns: 1.35fr 1fr; gap: 5.5rem; align-items: start; } .glance { position: sticky; top: 108px; } }
.nusuk h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.3rem); }
.nusuk .lede { color: #D3DAE4; }
.steps-num { list-style: none; margin: 2.5rem 0 1.5rem; padding: 0; }
.steps-num li { display: grid; grid-template-columns: 60px 1fr; gap: 1.25rem; padding: 1.3rem 0; border-top: 1px solid var(--line-d); }
.steps-num .n { font: italic 500 2.8rem/1 var(--serif); color: var(--champ); }
.steps-num h3 { margin: 0 0 .3rem; font-size: 1.45rem; }
.steps-num p { margin: 0; font-size: .95rem; color: var(--muted-d); }
.glance { overflow: hidden; background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 999px 999px 28px 28px; }
.glance-media { border-radius: 0; }
.glance-media img { width: 100%; aspect-ratio: 9 / 8; object-fit: cover; }
.glance-body { padding: 2rem clamp(1.5rem, 3vw, 2.25rem) 2.25rem; }
.glance h3 { font-size: 2rem; }
.glance-list { margin: 1rem 0; }
.glance-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.glance-list dt { color: var(--muted-d); }
.glance-list dd { margin: 0; font-weight: 600; color: var(--champ-l); }

/* ==========================================================================
   Itinerary
   ========================================================================== */
.itinerary { background: var(--sand); }
.itin-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1000px) { .itin-grid { grid-template-columns: .85fr 1.15fr; gap: 6rem; align-items: start; } .itin-media { position: sticky; top: 108px; } }
.itin-media { max-width: 460px; margin-inline: auto; width: 100%; padding: 14px; }
.arch-frame { position: relative; overflow: visible; }
.arch-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--arch); }
.arch-frame::after { content: ""; position: absolute; inset: -14px; border: 1px solid var(--champ); border-radius: 999px 999px 26px 26px; pointer-events: none; }
.itin-caption { margin: 2rem 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
.itin-caption em { font-family: var(--serif); font-size: 1.35em; color: var(--ink); }
.timeline { position: relative; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 6px; top: .6rem; bottom: 1rem; width: 1px; background: linear-gradient(var(--bronze), rgba(122, 92, 36, .1)); }
.timeline li { position: relative; padding: 0 0 2.1rem 2.75rem; }
.timeline li::before { content: ""; position: absolute; left: 1px; top: .45rem; width: 11px; height: 11px; border: 1px solid var(--bronze); background: var(--sand); rotate: 45deg; }
.timeline li:first-child::before, .timeline li:last-child::before { background: var(--bronze); }
.t-day { font: 700 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.timeline h3 { margin: .45rem 0 .35rem; font-size: 1.65rem; }
.timeline p { margin: 0; color: var(--muted); max-width: 56ch; }

/* ==========================================================================
   Hotels & services
   ========================================================================== */
.services { background: var(--navy); }
.stays { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: stretch; margin-bottom: clamp(4rem, 7vw, 6rem); }
@media (min-width: 700px) and (max-width: 1023px) {
  .stays { grid-template-columns: 1fr 1fr; }
  .stays > .stay:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (min-width: 1024px) { .stays { grid-template-columns: repeat(3, 1fr); } }
.stay { padding: .75rem; border: 1px solid var(--line-d); border-radius: 28px; background: var(--navy-2); }
.stay-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.stay:hover .stay-media img { transform: scale(1.04); }
.stay-body { padding: 1.5rem 1rem 1rem; }
.stay h3 { font-size: 1.65rem; }
.stay p { margin: 0; font-size: .95rem; color: var(--muted-d); }
.distance { display: grid; gap: .9rem; list-style: none; margin: 1.1rem 0 0; padding: 0; }
.distance li { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: .85rem; font-size: .85rem; color: #D3DAE4; }
.distance span { grid-column: 1; grid-row: 1; }
.distance b { grid-column: 3; grid-row: 1; font-weight: 600; color: var(--champ-l); }
.distance li::after {
  content: ""; grid-column: 2; grid-row: 1; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--champ) var(--d), rgba(255, 255, 255, .09) var(--d));
}
.services-title { margin-bottom: 2rem; text-align: center; font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.7rem); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 480px) { .svc { padding: 1.4rem 1.1rem; } .svc h4 { font-size: 1.25rem; } }
.svc { padding: 1.85rem 1.5rem; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); transition: background .35s; }
.svc:hover { background: rgba(214, 183, 126, .07); }
.svc .i { width: 2.1rem; height: 2.1rem; margin-bottom: 1.1rem; color: var(--champ); stroke-width: 1.2; }
.svc h4 { margin: 0 0 .35rem; font-size: 1.4rem; }
.svc p { margin: 0; font-size: .875rem; color: var(--muted-d); }

/* ==========================================================================
   Why Rihla
   ========================================================================== */
.why { background: var(--sand); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-block: 1px solid var(--line-l); }
.stats li { padding: 2.6rem 1.25rem; text-align: center; border-right: 1px solid var(--line-l); }
.stats li:last-child { border-right: 0; }
.stat-num { display: block; font: italic 500 clamp(3.2rem, 1.8rem + 4vw, 5.6rem)/1 var(--serif); color: var(--midnight); font-variant-numeric: lining-nums tabular-nums; }
.stat-lbl { display: block; max-width: 20ch; margin: .8rem auto 0; font-size: .875rem; color: var(--muted); }
.stat-note { margin: 1rem 0 4.5rem; text-align: center; font-size: .75rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n + 2) { border-bottom: 1px solid var(--line-l); }
}
.why-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
/* subgrid keeps numerals, headings and text on shared baselines across each row */
@supports (grid-template-rows: subgrid) {
  .why-item { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .svc { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .member { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  @media (min-width: 1140px) { .howto li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; } }
}
.why-item { padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.why-n { display: block; margin-bottom: .75rem; font: italic 600 1.5rem/1 var(--serif); color: var(--bronze); }
.why-item h3 { font-size: 1.6rem; }
.why-item p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ==========================================================================
   Planning guide
   ========================================================================== */
.guide { background: var(--stone); }
.howto { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; margin: 0 0 clamp(3.5rem, 6vw, 5rem); padding: 0; }
@media (max-width: 1139px) {
  .howto li { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1.25rem; align-items: start; }
  .howto .h-n { grid-row: span 2; margin: 0; }
  .howto h3 { margin-top: .2rem; }
}
@media (min-width: 1140px) { .howto { grid-template-columns: repeat(5, 1fr); } }
.howto li { position: relative; padding: 1.8rem 1.5rem; border: 1px solid var(--line-l); border-radius: 24px; background: var(--paper); }
.h-n { display: block; margin-bottom: 1.4rem; font: italic 500 2.7rem/1 var(--serif); color: var(--bronze); }
.howto h3 { margin-bottom: .45rem; font-size: 1.45rem; }
.howto p { margin: 0; font-size: .9rem; color: var(--muted); }
.docs {
  position: relative; overflow: hidden; display: grid; gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: 32px; background: var(--midnight); color: #E8ECF2;
}
.docs::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: var(--pattern); background-size: 88px; pointer-events: none; }
.docs > * { position: relative; }
@media (min-width: 920px) { .docs { grid-template-columns: 1fr 1.15fr; gap: 4.5rem; } }
.docs h3 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); color: #fff; }
.docs-copy p { margin: 0; color: #C9D1DC; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: .9rem; padding: .95rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .95rem; color: #C9D1DC; }
.checklist li:last-child { border-bottom: 0; }
.checklist strong { color: #fff; font-weight: 600; }
.checklist .i { width: 1.45rem; height: 1.45rem; padding: 4px; margin-top: .1rem; border-radius: 50%; background: var(--champ); color: var(--midnight); stroke-width: 2.6; }

/* ==========================================================================
   Key dates
   ========================================================================== */
.dates { background: var(--midnight); }
.date-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.date-grid li {
  padding: 2.4rem 1rem 1.6rem; text-align: center;
  border: 1px solid var(--line-d); border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(214, 183, 126, .1), rgba(214, 183, 126, 0) 70%);
}
.date-grid time { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.date-grid b { display: block; margin-bottom: .35rem; font: italic 500 3.5rem/1 var(--serif); letter-spacing: 0; color: var(--champ); }
.date-grid span { display: block; margin-top: 1rem; font: 500 1.35rem/1.2 var(--serif); color: #fff; }
@media (max-width: 1023px) { .date-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .date-grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Team & testimonials
   ========================================================================== */
.people { background: var(--sand); }
.team { display: grid; gap: 2.75rem 2rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 520px) { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { text-align: center; }
.mono {
  position: relative; display: grid; place-items: center; width: 144px; height: 176px; margin: 0 auto 1.5rem;
  border-radius: 999px 999px 14px 14px; color: var(--champ);
  background: radial-gradient(circle at 50% 28%, var(--navy-3), var(--midnight) 70%);
  font: italic 500 3.1rem/1 var(--serif); letter-spacing: .02em;
  box-shadow: 0 24px 40px -26px rgba(10, 18, 32, .7);
}
.mono::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(214, 183, 126, .45); border-radius: 999px 999px 9px 9px; }
.member h3 { margin: 0 0 .2rem; font-size: 1.55rem; }
.role { margin-bottom: .75rem; font: 700 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.member p:last-child { max-width: 30ch; margin: 0 auto; font-size: .9rem; color: var(--muted); }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; }
.reviews-title { margin: 0; font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.7rem); }
.rating { margin: 0; color: var(--muted); }
.rating .stars { color: var(--bronze); }
.rating strong { color: var(--ink); }
.quotes { display: grid; gap: 1.5rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; align-items: stretch; }
@media (min-width: 700px) and (max-width: 1023px) {
  .quotes { grid-template-columns: 1fr 1fr; }
  .quotes > .quote:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { position: relative; display: flex; flex-direction: column; padding: 4.25rem 2rem 2rem; border: 1px solid var(--line-l); border-radius: 26px; background: var(--paper); }
.quote::before { content: "\201C"; position: absolute; top: .4rem; left: 1.6rem; font: 500 6rem/1 var(--serif); color: var(--champ); }
.quote blockquote { margin: 0 0 1.5rem; }
.quote blockquote p { margin: 0; font: 500 1.38rem/1.45 var(--serif); color: var(--ink); }
.who { margin: auto 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line-l); font-size: .85rem; color: var(--muted); }
.who strong { display: block; font-size: .95rem; color: var(--ink); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { background: var(--midnight); }
.masonry { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(150px, 34vw, 220px); grid-auto-flow: dense; gap: .75rem; }
.masonry figure { margin: 0; overflow: hidden; border-radius: 20px; }
.masonry figure:nth-child(1) { grid-column: span 2; grid-row: span 2; border-radius: var(--arch); }
.masonry figure:nth-child(4), .masonry figure:nth-child(7) { grid-column: span 2; }
.masonry img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (min-width: 900px) { .masonry { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 17vw, 250px); gap: 1rem; } }
.masonry figure:hover img { transform: scale(1.05); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--sand); }
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 6rem; } .faq-side { position: sticky; top: 108px; align-self: start; } }
.faq-side p { color: var(--muted); max-width: 36ch; }
.qa { border-bottom: 1px solid var(--line-l); }
.qa:first-child { border-top: 1px solid var(--line-l); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); font-weight: 600; }
.qa summary .i { width: 2.4rem; height: 2.4rem; padding: .55rem; border: 1px solid var(--line-l); border-radius: 50%; transition: transform .35s var(--ease), background .3s, color .3s; }
.qa summary:hover .i { border-color: var(--ink); }
.qa[open] summary .i { transform: rotate(45deg); background: var(--midnight); border-color: var(--midnight); color: var(--champ); }
.qa-a { overflow: hidden; }
.qa-a p { max-width: 64ch; margin: 0 0 1.6rem; color: var(--muted); }

/* ==========================================================================
   Learning centre
   ========================================================================== */
.learn { background: var(--stone); }
.articles { display: grid; gap: 2rem 1.75rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) and (max-width: 1023px) {
  .articles { grid-template-columns: 1fr 1fr; }
  .articles > .article:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .articles > .article:last-child:nth-child(odd) a { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.75rem; align-items: center; }
  .articles > .article:last-child:nth-child(odd) .article-media { grid-row: span 2; margin: 0; }
}
@media (min-width: 1024px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.article a { display: block; color: inherit; text-decoration: none; }
.article-media { margin-bottom: 1.25rem; overflow: hidden; border-radius: 24px; }
.article-media img { width: 100%; aspect-ratio: 16 / 10.4; object-fit: cover; transition: transform 1.2s var(--ease); }
.article a:hover img { transform: scale(1.05); }
.article-meta { margin-bottom: .5rem; font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.article h3 { font-size: 1.65rem; transition: color .3s; }
.article a:hover h3 { color: var(--bronze); }
.newsletter {
  display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper); border: 1px solid var(--line-l); border-radius: 28px;
}
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }
.newsletter h3 { margin-bottom: .35rem; font-size: 2rem; }
.newsletter p { margin: 0; color: var(--muted); }
.nl-field { display: flex; gap: .5rem; padding: .35rem; background: #fff; border: 1px solid var(--line-l); border-radius: 999px; }
.nl-field:focus-within { outline: 2px solid var(--bronze); outline-offset: 2px; }
.newsletter > * { min-width: 0; }
.nl-field input { flex: 1; width: 0; min-width: 0; min-height: 46px; padding: 0 1rem; border: 0; background: transparent; font: 500 1rem var(--sans); color: var(--ink); }
.nl-field input:focus { outline: none; }
.nl-field input::placeholder { color: #6B7280; }
.nl-msg { grid-column: 1 / -1; margin: 0; font-size: .9rem; font-weight: 600; color: var(--bronze); }
.nl-msg:empty { display: none; }

/* ==========================================================================
   Enquiry
   ========================================================================== */
.enquire { overflow: hidden; background: var(--midnight); }
.enquire-bg { position: absolute; inset: 0; }
.enquire-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.enquire-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 32, .96) 10%, rgba(10, 18, 32, .7) 60%, rgba(10, 18, 32, .9)); }
.enquire-grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .enquire-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; } }
.enquire .lede { color: #D3DAE4; }
.contact-lines { display: grid; gap: .5rem; list-style: none; margin: 2rem 0; padding: 0; }
.contact-lines li { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; font-size: .85rem; color: var(--muted-d); }
.contact-lines .i { width: 1.3rem; height: 1.3rem; color: var(--champ); }
.contact-lines a { display: inline-block; padding: .4rem 0; font-size: 1.05rem; font-weight: 600; color: #fff; text-decoration: none; }
.contact-lines a:hover { color: var(--champ-l); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; list-style: none; margin: 0; padding: 1.75rem 0 0; border-top: 1px solid var(--line-d); font-size: .85rem; color: var(--muted-d); }
.offices strong { display: block; font: 600 1.35rem/1.2 var(--serif); color: var(--champ-l); }
.enquiry {
  padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line-d); border-radius: 28px;
  background: rgba(22, 38, 61, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .8);
}
.enquiry h3 { margin-bottom: 1.5rem; font-size: 2.1rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
.field-row.three { grid-template-columns: 1.3fr 1.3fr .8fr; }
@media (max-width: 600px) { .field-row, .field-row.three { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; min-width: 0; }
.field label { font: 700 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--champ-l); }
.opt { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted-d); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
  background: rgba(10, 18, 32, .55); color: #fff; font: 500 1rem var(--sans); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; background: rgba(10, 18, 32, .55) var(--chev) no-repeat right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.field select option { color: var(--ink); background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
.field ::placeholder { color: #8390A5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--champ); box-shadow: 0 0 0 3px rgba(214, 183, 126, .25); }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: .5rem 0 1rem; }
.enquiry-actions .btn { flex: 1 1 210px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: clamp(4rem, 7vw, 5.5rem) 0 2.5rem; background: #070D18; color: var(--muted-d); font-size: .9rem; }
.footer-grid { display: grid; gap: 2.75rem 2.5rem; grid-template-columns: 1.6fr 1fr 1fr 1.35fr; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col:last-child { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }
.footer-sub { margin-top: 2rem; }
.footer-brand p { max-width: 46ch; margin: 1.5rem 0 1rem; }
.site-footer address { font-style: normal; line-height: 1.85; }
.site-footer a { color: #E3E8EF; text-decoration: none; }
.site-footer a:hover { color: var(--champ-l); }
.footer-col h2 { margin-bottom: 1.25rem; font: 700 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--champ); }
.footer-col ul { display: grid; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.footer-col li a { display: inline-block; padding: .3rem 0; }
.socials { display: flex !important; gap: .5rem !important; margin-top: 1.5rem !important; }
.footer-col .socials a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-d); border-radius: 50%; }
.socials a:hover { border-color: var(--champ); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; }
.footer-base p { margin: 0; }
.demo-note { color: var(--champ-l); }

/* ==========================================================================
   Page rhythm: background tones set per page by the build
   ========================================================================== */
.section.tone-sand { background: var(--sand); }
.section.tone-stone { background: var(--stone); }
.section.tone-paper { background: var(--paper); }
.section-more { display: flex; justify-content: center; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.section-more .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
.dark .section-more .btn-ghost { border-color: var(--line-d); }
.faq-side-link { margin-left: 1.25rem; }
.people .team + .reviews { margin-top: clamp(4rem, 7vw, 6rem); }
.learn-newsletter .newsletter { margin: 0; }

/* ==========================================================================
   Inner page hero + breadcrumbs
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(380px, 56vh, 560px); padding: clamp(5rem, 12vh, 8rem) 0 clamp(2.75rem, 6vw, 4.5rem);
  background: var(--midnight); color: #fff; border-bottom: 1px solid var(--line-d);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, .55) 0%, rgba(10, 18, 32, .35) 35%, rgba(10, 18, 32, .92) 100%),
    linear-gradient(90deg, rgba(10, 18, 32, .85) 0%, rgba(10, 18, 32, .35) 60%, rgba(10, 18, 32, .15) 100%);
}
.page-hero .pattern { z-index: -1; opacity: .07; }
.page-hero-inner { position: relative; max-width: var(--container); }
.page-hero h1 { max-width: 22ch; margin: 0; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.04; color: #fff; }
.page-hero-lede { max-width: 62ch; margin: 1.5rem 0 0; font-size: clamp(1rem, .96rem + .3vw, 1.15rem); line-height: 1.7; color: #D9DFE8; }
.page-hero-lede strong { color: var(--champ-l); font-weight: 600; }
.page-hero .eyebrow { margin-bottom: 1.1rem; }
.page-hero--plain { min-height: clamp(300px, 40vh, 400px); }
.page-hero--plain .page-hero-shade { background: radial-gradient(ellipse 80% 90% at 85% 0%, rgba(30, 49, 80, .9), transparent 70%); }
.page-hero--article h1 { max-width: 24ch; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem); }
.byline { margin: 1.5rem 0 0; font-size: .875rem; color: var(--muted-d); }
.byline strong { color: #fff; font-weight: 600; }
.crumbs { margin-bottom: 1.75rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; font-size: .8125rem; color: var(--muted-d); }
.crumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1px solid var(--champ); border-right: 1px solid var(--champ); rotate: 45deg; margin-right: .35rem; }
.crumbs a { display: inline-block; padding: 3px 2px; min-height: 26px; color: #E3E8EF; text-decoration: none; }
.crumbs a:hover { color: var(--champ-l); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--champ-l); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--midnight); }
.cta-band-inner { display: grid; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: .75rem; }
.cta-band-copy p:last-child { max-width: 56ch; margin: 0; color: var(--muted-d); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
@media (min-width: 1000px) {
  .cta-band-inner { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
  .cta-band-actions { justify-content: flex-end; }
}
@media (max-width: 600px) { .cta-band-actions .btn { flex: 1 1 100%; } }

/* ==========================================================================
   About: story + milestones
   ========================================================================== */
.story { background: var(--sand); }
.story-grid { display: grid; gap: 3.5rem; align-items: center; }
.story-media { max-width: 440px; width: 100%; margin-inline: auto; padding: 14px; }
.story-copy h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.3rem); }
.story-copy > p { color: #2B3441; }
@media (min-width: 1000px) { .story-grid { grid-template-columns: .85fr 1.15fr; gap: 6rem; } }
.milestones { display: grid; gap: 0; list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line-l); }
.milestones li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line-l); }
.milestones b { font: italic 600 1.7rem/1 var(--serif); color: var(--bronze); }
.milestones span { color: var(--muted); }

/* ==========================================================================
   Contact: offices + map
   ========================================================================== */
.contact-offices { background: var(--sand); }
.offices-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .offices-grid { grid-template-columns: 1fr 1.15fr; gap: 5rem; } }
.offices-copy h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.3rem); }
.offices-copy .lede { color: #2B3441; }
.hours { margin: 2rem 0 0; border-top: 1px solid var(--line-l); }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line-l); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); text-align: right; }
.map { overflow: hidden; border-radius: 28px; border: 1px solid var(--line-l); background: var(--stone); box-shadow: 0 40px 80px -50px rgba(10, 18, 32, .6); }
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; filter: grayscale(.25) contrast(1.05); }

/* ==========================================================================
   Articles & legal pages
   ========================================================================== */
.article-body { padding-block: clamp(3.5rem, 7vw, 6rem); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: start; }
.article-layout > * { min-width: 0; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 5rem; } .article-aside { position: sticky; top: 108px; } }
.article-layout--narrow { max-width: 820px; }
@media (min-width: 1040px) { .article-layout--narrow { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.8; color: #2B3441; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.75rem 0 .9rem; font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.35rem); color: var(--ink); scroll-margin-top: 110px; }
.prose h3 { margin: 2rem 0 .6rem; font-size: 1.5rem; color: var(--ink); }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.25rem; }
.prose li { margin-bottom: .55em; padding-left: .25rem; }
.prose li::marker { color: var(--bronze); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--champ); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--bronze); }
.prose-answer { padding: 1.5rem 1.6rem; border-left: 3px solid var(--champ); border-radius: 0 18px 18px 0; background: var(--sand); font-size: 1.1rem; }
.prose-small { margin-top: 2.5rem !important; font-size: .875rem; color: var(--muted); }
.prose-table { margin: 1.75rem 0; border-radius: 18px; }
.prose-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose-table th, .prose-table td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-l); }
.prose-table thead th { background: var(--midnight); color: #fff; font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.prose-table tbody th { font-weight: 700; color: var(--ink); }
.prose-table tbody tr:last-child > * { border-bottom: 0; }
.prose-note { margin-top: 3rem; padding: 1.75rem 2rem; border: 1px solid var(--line-l); border-radius: 22px; background: var(--sand); }
.prose-note h3 { margin-top: 0; }
.prose-note ul { margin: 0; }
.article-aside { display: grid; gap: 1.25rem; }
.toc { padding: 1.5rem 1.6rem; border: 1px solid var(--line-l); border-radius: 22px; background: var(--sand); }
.toc-title, .aside-cta-title { margin: 0 0 .9rem; font: 700 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.toc ol { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 1.6rem 1fr; padding: .4rem 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: italic 600 1rem/1.5 var(--serif); color: var(--bronze); }
.toc a:hover { color: var(--bronze); }
.aside-cta { padding: 1.75rem 1.6rem; border-radius: 22px; background: var(--midnight); color: var(--muted-d); }
.aside-cta-title { font: 600 1.6rem/1.15 var(--serif); letter-spacing: 0; text-transform: none; color: #fff; }
.aside-cta p { font-size: .925rem; }
@media (max-width: 1039px) { .article-aside { grid-template-columns: 1fr 1fr; align-items: stretch; } }
@media (max-width: 640px) { .article-aside { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating WhatsApp, mobile bar, toast
   ========================================================================== */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  display: flex; align-items: center; gap: .6rem; padding: .45rem 1.15rem .45rem .45rem;
  border-radius: 999px; background: #25D366; color: #06281A; font-size: .875rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .5); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float .i { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 50%; background: #fff; color: #128C7E; stroke-width: 1.8; }
.mobile-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .wa-float { display: none; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: grid; grid-template-columns: 1fr 1.15fr 1.2fr; gap: .5rem;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(10, 18, 32, .96); border-top: 1px solid var(--line-d);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px;
    border: 1px solid var(--line-d); border-radius: 14px; color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none;
  }
  .mobile-bar .i { color: var(--champ); }
  .mobile-bar .is-primary { background: var(--champ); border-color: transparent; color: var(--midnight); }
}
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 70; max-width: calc(100% - 2rem); margin: 0;
  padding: .8rem 1.3rem; border-radius: 999px; background: var(--champ); color: var(--midnight);
  font-size: .9rem; font-weight: 600; text-align: center;
  opacity: 0; visibility: hidden; transform: translate(-50%, 1rem);
  transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: transform .45s var(--ease), opacity .3s; }
@media (max-width: 767px) { .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)); } }

@media print {
  .site-header, .announce, .wa-float, .mobile-bar, .finder-wrap, .enquiry, .toast { display: none !important; }
  .reveal, [data-m-hero] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* ---------- wide screens: container grows with the screen from 1920px (1440px wide) to 2560px+ (1920px cap) ---------- */
@media (min-width: 1920px) { :root { --container: min(1920px, 75vw); } }
/* readable line length on wide screens */
@media (min-width: 1920px) { .answer-copy p, .story-copy p, .nusuk-copy p, .docs-copy p, .itin-copy p { max-width: 72ch; } }
.enquire-bg picture { display: contents; }
.page-hero-bg picture { display: contents; }
