/* Ashri Travels & Operators
   Version 2: a modern, immersive look. Dark first screens, rounded pictures and panels, pill controls.
   Type: Plus Jakarta Sans (Noto Sans Tamil for the Tamil lines). Colour: the brand's navy and red, on night and paper. */

/* ---------- tokens ---------- */
:root {
  --night: #070b1d;
  --night-2: #0f1634;
  --night-3: #18204a;
  --navy: #0d1640;
  --paper: #f5f6f9;
  --surface: #e9ecf3;
  --white: #ffffff;
  --red: #e1283b;
  --red-strong: #c11a2c;
  --sky: #8fb7ff;

  --bg: var(--paper);
  --ink: #0b1230;
  --muted: #434b67;
  --tone: var(--surface);
  --raise: var(--white);
  --accent: var(--red);
  --accent-ink: #ffffff;

  --font: "Plus Jakarta Sans", "Noto Sans Tamil", system-ui, sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --step-lead: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem);
  --step-head: clamp(1.875rem, 1.25rem + 2.2vw, 3.25rem);
  --step-display: clamp(2.75rem, 1.3rem + 5vw, 6rem);
  --step-mega: clamp(3.25rem, 0.6rem + 9vw, 10rem);

  --margin: clamp(1.125rem, 3vw, 3rem);
  --gutter: clamp(0.75rem, 1.6vw, 1.5rem);
  --section: clamp(5.5rem, 11vw, 11rem);
  --header-h: 4.5rem;
  --r-lg: 28px;
  --r-md: 14px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --t-press: 140ms;
  --t-hover: 200ms;
}

.on-paper { --bg: var(--paper); --ink: #0b1230; --muted: #434b67; --tone: var(--surface); --raise: var(--white); }
.on-white, .on-sky { --bg: var(--white); --ink: #0b1230; --muted: #434b67; --tone: var(--paper); --raise: var(--paper); }
.on-surface { --bg: var(--surface); --ink: #0b1230; --muted: #3f4864; --tone: #dce1ea; --raise: var(--white); }
.on-dark { --bg: var(--night); --ink: #f3f5fb; --muted: #a9b2cf; --tone: var(--night-2); --raise: var(--night-2); }
.on-navy { --bg: var(--navy); --ink: #f3f5fb; --muted: #b3bcd8; --tone: #19235a; --raise: #19235a; }
.on-paper, .on-white, .on-sky, .on-surface, .on-dark, .on-navy { background-color: var(--bg); color: var(--ink); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.6; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 6rem; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; letter-spacing: -0.025em; line-height: 1.1; }
.display { font-size: var(--step-display); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.head { font-size: var(--step-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; }
.lead { font-size: var(--step-lead); line-height: 1.45; letter-spacing: -0.012em; }
.small { font-size: var(--step-small); line-height: 1.5; letter-spacing: 0; }
.muted { color: var(--muted); }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
.nums { font-variant-numeric: tabular-nums; }
.ta { font-family: "Noto Sans Tamil", var(--font); letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.sec-head { align-items: end; row-gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head > :first-child { grid-column: 1 / span 6; }
.sec-head > :nth-child(2) { grid-column: 8 / span 5; color: var(--muted); }
@media (max-width: 56em) { .sec-head > :first-child, .sec-head > :nth-child(2) { grid-column: 1 / -1; } }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 3.25rem; padding: 0 1.6rem; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button--light { background: #fff; color: var(--night); }
.button--tone { background: var(--tone); color: var(--ink); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; text-decoration-thickness: 0.08em; font-weight: 600; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background-color: var(--red-strong); }
  .button--light:hover { background-color: #dfe6f5; }
  .button--tone:hover { background-color: #d6dce8; }
  .link:hover { text-decoration-color: currentColor; }
}
.field { width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; background: var(--tone); border: 0; border-radius: var(--r-md); font-size: max(1rem, var(--step-body)); color: var(--ink); }
.field::placeholder { color: var(--muted); }
textarea.field { min-height: 8rem; resize: vertical; }
select.field { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23778' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.on-dark .field, .on-navy .field { color-scheme: dark; }
label { display: block; font-weight: 600; font-size: var(--step-small); margin-bottom: 0.45rem; }

.skip { position: fixed; z-index: 60; left: var(--margin); top: 0.5rem; padding: 0.6rem 1rem; border-radius: var(--r-pill); background: var(--red); color: #fff; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 40; inset: 0 0 auto; height: var(--header-h); display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--margin); background: var(--paper); color: #0b1230; view-transition-name: site-header; transition: background-color 300ms ease, color 300ms ease; }
.dark-top .site-header:not(.is-solid) { background-color: transparent; color: #fff; }
.brand { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.brand img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; background: #fff; }
.site-nav { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); font-size: 0.9375rem; font-weight: 500; }
.site-nav a { text-decoration: none; text-underline-offset: 0.45em; text-decoration-thickness: 0.1em; opacity: 0.86; transition: opacity var(--t-hover) ease; }
.site-nav a[aria-current="page"] { text-decoration: underline; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { opacity: 1; text-decoration: underline; } }
.site-header .button { min-height: 2.75rem; padding: 0 1.25rem; font-size: 0.9375rem; }
.burger { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(11, 18, 48, 0.07); place-items: center; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.dark-top .site-header:not(.is-solid) .burger { background: rgba(255, 255, 255, 0.14); }
.burger:active { transform: scale(0.94); }
.burger__lines { display: grid; gap: 5px; }
.burger__lines span { display: block; width: 1.125rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .burger:hover .burger__lines span:last-child { transform: translateX(3px); } }
@media (max-width: 64em) {
  .site-nav, .site-header .button { display: none; }
  .burger { display: grid; }
}
@media (max-width: 26em) { .brand__long { display: none; } }

/* the menu, a full screen dialog */
.menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--night); color: #f3f5fb; }
.menu::backdrop { background: transparent; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; padding: 0.875rem var(--margin) 2rem; }
.menu__top { display: flex; justify-content: space-between; align-items: center; min-height: 2.875rem; }
.menu__close { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; }
.menu__close span { grid-area: 1 / 1; width: 1.125rem; height: 2px; border-radius: 2px; background: currentColor; }
.menu__close span:first-child { transform: rotate(45deg); }
.menu__close span:last-child { transform: rotate(-45deg); }
.menu__links { margin-top: auto; display: grid; gap: 0.25rem; }
.menu__links a { font-size: clamp(2.25rem, 9vw, 3.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.04em; text-decoration: none; }
.menu__links a[aria-current="page"] { color: var(--sky); }
.menu__foot { margin-top: 2.5rem; display: grid; gap: 0.25rem; color: #a9b2cf; }
.menu__foot a { text-decoration: none; font-weight: 600; color: #f3f5fb; }
.menu .button { margin-top: 1.5rem; justify-self: start; }

/* ---------- home: the first screen ---------- */
.hero { position: relative; min-height: max(100svh, 46rem); overflow: hidden; padding-top: var(--header-h); display: flex; align-items: center; }
.hero__inner { width: 100%; align-items: center; row-gap: 2rem; padding-block: clamp(2rem, 6vh, 4rem); }
.hero__copy { grid-column: 1 / span 6; position: relative; z-index: 2; }
.hero__title { font-size: var(--step-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.045em; }
.hero__lead { margin-top: 1.5rem; max-width: 34em; color: #c7cee6; }
.hero__ta { margin-top: 0.75rem; color: #a9b2cf; font-size: var(--step-body); }
.hero__globe { grid-column: 7 / span 6; position: relative; z-index: 1; width: min(125%, 80svh, 58rem); max-width: none; aspect-ratio: 1; justify-self: center; transform: translateX(6%); }
.hero__globe canvas { width: 100% !important; height: 100% !important; touch-action: pan-y; cursor: grab; }
.hero__globe canvas:active { cursor: grabbing; }
.routes__fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); }
.globe-ready .routes__fallback { display: none; }
.globe-label { position: absolute; left: 0; top: 0; margin: -2.6rem 0 0 0.6rem; padding: 0.25rem 0.7rem; border-radius: var(--r-pill); background: #fff; color: #0b1230; font-size: var(--step-small); font-weight: 600; pointer-events: none; white-space: nowrap; opacity: 0; transition: opacity 200ms ease; }

/* the fare request: a booking bar that writes the WhatsApp message */
.fare { margin-top: 2.25rem; display: grid; grid-template-columns: 1.6fr 1.2fr 0.9fr; gap: 0.75rem; padding: 0.875rem; border-radius: var(--r-lg); background: var(--night-2); max-width: 40rem; }
.fare label { color: #a9b2cf; font-weight: 500; margin: 0.25rem 0 0.35rem 0.25rem; }
.fare .field { background-color: var(--night-3); color: #f3f5fb; }
.fare__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.25rem 0.25rem 0; }
.fare__facts { font-size: var(--step-small); color: #a9b2cf; max-width: none; }
.fare__facts strong { color: #f3f5fb; font-weight: 600; }
@media (max-width: 56em) {
  .hero { min-height: 0; }
  .hero__copy, .hero__globe { grid-column: 1 / -1; }
  .hero__inner { padding-top: 2rem; }
  .hero__globe { width: 100%; margin: 0 auto -10%; max-width: 34rem; justify-self: center; }
  .fare { grid-template-columns: 1fr 1fr; }
  .fare__to { grid-column: 1 / -1; }
  .fare__foot .button { width: 100%; }
}

/* ---------- airlines: a slow strip of names ---------- */
.airlines { padding: 0 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.marquee { display: grid; gap: 0.75rem; }
.marquee__row { display: flex; width: max-content; gap: 0.75rem; }
.marquee__row li { display: flex; align-items: center; justify-content: center; height: 5rem; min-width: 11rem; padding: 0 2.25rem; border-radius: var(--r-pill); background: #fff; }
.marquee__row img { height: var(--h, 2.1rem); width: auto; max-width: 13rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .marquee__row { animation: marquee 60s linear infinite; }
  .js .marquee__row--back { animation-direction: reverse; animation-duration: 70s; }
  .marquee:hover .marquee__row { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__row { flex-wrap: wrap; width: auto; padding-inline: var(--margin); } .marquee__row [aria-hidden] { display: none; } }

/* ---------- services: tiles of unlike sizes ---------- */
.bento-wrap { padding-block: calc(var(--section) / 2); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(13rem, 19vw, 17rem); gap: var(--gutter); }
.btile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: var(--r-lg); padding: clamp(1.25rem, 2.2vw, 2rem); color: #fff; text-decoration: none; background: var(--night-2); isolation: isolate; }
.btile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-expo); }
.btile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 8, 16, 0.82), rgba(6, 8, 16, 0.25) 55%, rgba(6, 8, 16, 0) 80%); } /* taste-skill-ignore: neutral scrim under text on a photo */
.btile h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; }
.btile p { margin-top: 0.4rem; color: rgba(255, 255, 255, 0.84); max-width: 36ch; }
.btile__go { position: absolute; top: clamp(1rem, 1.8vw, 1.5rem); right: clamp(1rem, 1.8vw, 1.5rem); width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b1230; transition: transform 300ms var(--ease-out); }
.btile__go svg { width: 1.1rem; height: 1.1rem; }
@media (hover: hover) and (pointer: fine) {
  .btile:hover img { transform: scale(1.06); }
  .btile:hover .btile__go { transform: rotate(-45deg); }
}
.btile--a { grid-column: span 7; grid-row: span 2; }
.btile--b { grid-column: span 5; grid-row: span 2; }
.btile--c, .btile--d, .btile--e, .btile--f { grid-column: span 3; }
.btile--plain { background: var(--navy); }
.btile--plain::before { display: none; }
.btile--red { background: var(--red); }
.btile--red::before { display: none; }
@media (max-width: 56em) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 15rem; }
  .btile--a, .btile--b { grid-column: 1 / -1; grid-row: span 1; }
  .btile--c, .btile--d, .btile--e, .btile--f { grid-column: span 1; }
}
@media (max-width: 34em) {
  .bento { grid-template-columns: 1fr; }
  .btile--c, .btile--d, .btile--e, .btile--f { grid-column: 1 / -1; }
}

/* ---------- Hajj & Umrah plate ---------- */
.plate { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding: calc(var(--section) / 2) var(--margin); align-items: center; }
.plate__photo { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); background: var(--tone); }
.plate__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate__text { display: flex; flex-direction: column; gap: 2.5rem; padding: 1rem 0 1rem clamp(0rem, 4vw, 4rem); }
.plate__tabs { display: inline-flex; align-self: flex-start; gap: 0.25rem; padding: 0.3rem; border-radius: var(--r-pill); background: var(--tone); }
.plate__tab { min-height: 2.75rem; padding: 0 1.25rem; border-radius: var(--r-pill); color: var(--muted); font-weight: 600; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.plate__tab[aria-selected="true"] { background: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) { .plate__tab:hover { color: var(--ink); } .plate__tab[aria-selected="true"]:hover { color: #fff; } }
.plate__panel h2 { font-size: var(--step-head); }
.plate__panel p { margin-top: 1.25rem; max-width: 40ch; color: var(--muted); font-size: var(--step-lead); line-height: 1.45; }
.plate__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cell { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.6rem; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cell:active { transform: scale(0.97); }
.cell--ink { background: var(--accent); color: #fff; }
.cell--tone { background: var(--tone); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .cell--ink:hover { background: var(--red-strong); } .cell--tone:hover { background: #d6dce8; } }
@media (max-width: 56em) {
  .plate { grid-template-columns: 1fr; }
  .plate__text { padding: 1rem 0 0; gap: 1.75rem; }
}

/* ---------- destinations carousel ---------- */
.dest { padding-block: calc(var(--section) / 2); }
.dest .sec-head > :nth-child(2) { grid-column: 7 / span 4; }
.dest__controls { grid-column: 11 / span 2; justify-self: end; display: flex; gap: 0.5rem; }
.dest__controls button { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--raise); color: var(--ink); display: grid; place-items: center; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, opacity var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.dest__controls button:active { transform: scale(0.94); }
.dest__controls button:disabled { opacity: 0.35; cursor: default; }
.dest__controls svg { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) and (pointer: fine) { .dest__controls button:not(:disabled):hover { background: var(--navy); color: #fff; } }
.dest__row { display: flex; gap: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); padding: 0 var(--margin) 0.5rem; scrollbar-width: none; }
.dest__row::-webkit-scrollbar { display: none; }
.dest__card { flex: 0 0 clamp(16rem, 26vw, 23rem); scroll-snap-align: start; }
.dest__card a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); padding: 1.5rem; color: #fff; text-decoration: none; isolation: isolate; background: var(--night-2); }
.dest__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-expo); }
.dest__card a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 8, 16, 0.8), rgba(6, 8, 16, 0) 55%); } /* taste-skill-ignore: neutral scrim under text on a photo */
.dest__card h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem); letter-spacing: -0.03em; }
.dest__card p { margin-top: 0.25rem; color: rgba(255, 255, 255, 0.84); font-size: var(--step-small); }
@media (hover: hover) and (pointer: fine) { .dest__card a:hover img { transform: scale(1.06); } }
@media (max-width: 56em) { .dest__controls { display: none; } .dest .sec-head > :nth-child(2) { grid-column: 1 / -1; } .dest__card { flex-basis: 72vw; } }

/* ---------- how a booking works ---------- */
.steps { padding-block: calc(var(--section) / 2); }
.steps__grid { align-items: start; }
.steps__title { grid-column: 7 / span 6; grid-row: 1; font-size: var(--step-head); }
.step-media { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--tone); }
.step-media img, .step-media video { width: 100%; height: 100%; object-fit: cover; }
.step-media--1 { grid-column: 1 / span 5; grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
.step-text--1 { grid-column: 7 / span 4; grid-row: 2; align-self: start; margin-top: 2rem; }
.step-media--2 { grid-column: 6 / span 3; grid-row: 3; aspect-ratio: 1; margin-top: -3rem; }
.step-text--2 { grid-column: 9 / span 4; grid-row: 3; margin-top: -3rem; }
.step-media--3 { grid-column: 6 / span 7; grid-row: 4; aspect-ratio: 16 / 9; margin-top: 5rem; }
.step-text--3 { grid-column: 1 / span 4; grid-row: 4; margin-top: 5rem; }
.step-text { max-width: 36ch; font-size: var(--step-lead); line-height: 1.45; color: var(--muted); }
.step-text strong { font-weight: 600; color: var(--ink); }
@media (max-width: 56em) {
  .steps__title { grid-column: 1 / -1; grid-row: auto; margin-bottom: 2rem; }
  .step-media, .step-text { grid-row: auto !important; margin-top: 0 !important; }
  .step-media--1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .step-media--2 { grid-column: 4 / -1; }
  .step-media--3 { grid-column: 1 / span 11; }
  .step-text--1 { grid-column: 1 / -1; margin-top: 1rem !important; }
  .step-text--2 { grid-column: 4 / -1; margin-top: 1rem !important; }
  .step-text--3 { grid-column: 1 / span 11; margin-top: 1rem !important; }
  .step-media--2, .step-media--3 { margin-top: 3.5rem !important; }
}

/* ---------- visit us: a dark rounded panel ---------- */
.visit-wrap { padding: 0 var(--margin) calc(var(--section) / 2); }
.visit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; border-radius: calc(var(--r-lg) + 8px); padding: clamp(1.5rem, 4vw, 4rem); overflow: hidden; }
.visit__text { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 1.5rem; }
.visit__text .lead { color: var(--muted); }
.visit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem var(--gutter); }
.visit__list dt { font-size: var(--step-small); color: var(--muted); }
.visit__list dd a { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .visit__list dd a:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
.visit__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }
.visit__photo { grid-column: 8 / span 5; margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 22rem; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 56em) {
  .visit__text, .visit__photo { grid-column: 1 / -1; }
  .visit__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .visit__list { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: calc(var(--section) / 2) var(--margin) 0; }
.site-footer__top { align-items: start; row-gap: 2.5rem; }
.site-footer__invite { grid-column: 1 / span 7; }
.site-footer__invite h2 { font-size: var(--step-display); letter-spacing: -0.045em; line-height: 1; }
.site-footer__invite .ta { display: block; margin-top: 1.5rem; color: var(--muted); }
.site-footer__invite .button { margin-top: 2rem; }
.site-footer__links { grid-column: 9 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem var(--gutter); }
.site-footer__links div { display: grid; gap: 0.2rem; align-content: start; }
.site-footer__links dt { font-size: var(--step-small); color: var(--muted); }
.site-footer__links a { text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .site-footer__links a:hover { text-decoration: underline; text-underline-offset: 0.25em; } }
.site-footer__airlines { margin-top: clamp(3rem, 6vw, 5rem); }
.site-footer__airlines h3 { font-size: var(--step-small); font-weight: 500; color: var(--muted); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer__airlines ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer__airlines li { display: flex; align-items: center; justify-content: center; height: 3.5rem; min-width: 7.5rem; padding: 0 1.25rem; border-radius: var(--r-pill); background: #fff; }
.site-footer__airlines img { height: calc(var(--h, 2.1rem) * 0.66); width: auto; max-width: 9.5rem; }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__brand img { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
@media (max-width: 34em) { .site-footer__airlines li { height: 3rem; min-width: 0; padding: 0 1rem; } }
.site-footer__legal { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: var(--step-small); color: var(--muted); position: relative; z-index: 1; }
.site-footer__legal p { max-width: none; }
.site-footer__name { font-size: clamp(7rem, 30vw, 31rem); font-weight: 700; line-height: 0.8; letter-spacing: -0.06em; white-space: nowrap; margin: 2rem 0 0 -0.05em; transform: translateY(16%); user-select: none; color: #4c5cab; }
@media (max-width: 56em) {
  .site-footer__invite, .site-footer__links { grid-column: 1 / -1; }
  .site-footer__invite .button { display: flex; width: 100%; }
}

/* ---------- inner pages: a full-screen picture with the title in white ---------- */
.page-hero { position: relative; min-height: min(92svh, 62rem); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 4rem) 0 clamp(2rem, 5vw, 4rem); overflow: hidden; isolation: isolate; --bg: var(--night); --ink: #f6f7fb; --muted: rgba(246, 247, 251, 0.82); background: var(--night); color: #f6f7fb; }
.page-hero__media { position: absolute; inset: 0; margin: 0; z-index: -1; overflow: hidden; }
.page-hero__media img { width: 100%; height: 115%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 8, 16, 0.9) 0%, rgba(6, 8, 16, 0.6) 32%, rgba(6, 8, 16, 0.18) 64%, rgba(6, 8, 16, 0.45) 100%); } /* taste-skill-ignore: neutral scrim under text on a photo */
.page-hero__title { order: 1; padding: 0 var(--margin); font-size: var(--step-mega); font-weight: 600; line-height: 0.98; letter-spacing: -0.05em; margin-left: -0.04em; text-wrap: balance; }
.page-hero__row { order: 2; align-items: end; row-gap: 1.5rem; padding-top: 2rem; }
.page-hero__row .lead { grid-column: 1 / span 6; max-width: 36ch; color: #e7ebf7; }
.page-hero__side { grid-column: 9 / span 4; display: grid; gap: 1rem; justify-items: start; }
.page-hero__side p { color: rgba(246, 247, 251, 0.8); }
@media (max-width: 56em) {
  .page-hero { min-height: 82svh; }
  .page-hero__row .lead, .page-hero__side { grid-column: 1 / -1; }
}

/* ---------- services: stacking sheets ---------- */
.sheets { padding: calc(var(--section) / 2) var(--margin); }
.sheets__head { margin-bottom: 3rem; align-items: end; row-gap: 1rem; }
.sheets__head h2 { grid-column: 1 / span 7; font-size: var(--step-display); letter-spacing: -0.045em; line-height: 1; }
.sheets__head p { grid-column: 9 / span 4; color: var(--muted); }
.sheet { position: sticky; top: calc(var(--header-h) + var(--i) * 3.75rem); height: calc(100svh - var(--header-h) - var(--i) * 3.75rem - 1rem); min-height: 26rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 3.75rem 1fr; column-gap: var(--gutter); padding: 0 clamp(1.25rem, 2.5vw, 2.25rem) clamp(1.25rem, 2.5vw, 2.25rem); border-radius: var(--r-lg); margin-bottom: 1rem; }
.sheet__name { grid-column: 1 / span 6; grid-row: 1; align-self: center; font-size: var(--step-lead); letter-spacing: -0.02em; }
.sheet__count { grid-column: 7 / span 6; grid-row: 1; align-self: center; justify-self: end; font-size: var(--step-small); color: var(--muted); }
.sheet__body { grid-column: 1 / span 5; grid-row: 2; align-self: end; }
.sheet__body p { max-width: 42ch; color: var(--muted); }
.sheet__body ul { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.sheet__body li { padding: 0.45rem 0.9rem; border-radius: var(--r-pill); background: var(--tone); font-size: var(--step-small); font-weight: 600; }
.sheet__body .link { display: inline-block; margin-top: 1.5rem; }
.sheet__photo { grid-column: 7 / span 6; grid-row: 2; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--tone); }
.sheet__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 56em) {
  .sheets__head h2, .sheets__head p { grid-column: 1 / -1; }
  .sheet { position: relative; top: auto; height: auto; min-height: 0; grid-template-rows: 3.75rem auto auto; }
  .sheet__name { grid-column: 1 / -1; }
  .sheet__count { display: none; }
  .sheet__photo { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 4 / 3; }
  .sheet__body { grid-column: 1 / -1; grid-row: 3; padding-top: 1.25rem; }
}

/* ---------- what to bring ---------- */
.bring { padding-block: calc(var(--section) / 2); }
.bring__head { margin-bottom: 2.5rem; row-gap: 1rem; align-items: end; }
.bring__head h2 { grid-column: 1 / span 6; }
.bring__head p { grid-column: 8 / span 5; color: var(--muted); }
.bring__table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--raise); border-radius: var(--r-lg); overflow: hidden; }
.bring__table th, .bring__table td { text-align: left; vertical-align: top; padding: 1.1rem var(--gutter) 1.1rem 0; font-weight: 400; }
.bring__table thead th { font-size: var(--step-small); color: var(--muted); padding-top: 1.5rem; }
.bring__table tbody th { width: 34%; padding-left: clamp(1.25rem, 2.5vw, 2rem); font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.bring__table thead th:first-child { padding-left: clamp(1.25rem, 2.5vw, 2rem); }
.bring__table tbody tr:nth-child(odd) { background: var(--tone); }
@media (max-width: 56em) {
  .bring__head h2, .bring__head p { grid-column: 1 / -1; }
  .bring__table thead { display: none; }
  .bring__table, .bring__table tbody, .bring__table tr { display: block; }
  .bring__table tr { padding: 1.1rem 1.25rem; }
  .bring__table tbody th { display: block; width: auto; padding: 0 0 0.5rem; }
  .bring__table td { display: grid; grid-template-columns: 7rem 1fr; gap: 0.75rem; padding: 0.2rem 0; }
  .bring__table td::before { content: attr(data-col); font-size: var(--step-small); color: var(--muted); padding-top: 0.15em; }
}

/* ---------- questions ---------- */
.qa { padding-block: calc(var(--section) / 2); }
.qa__row { align-items: baseline; }
.qa__row + .qa__row { margin-top: 4rem; }
.qa__q { grid-column: 1 / span 6; font-size: var(--step-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; }
.qa__a { grid-column: 8 / span 5; max-width: 40ch; color: var(--muted); font-size: var(--step-lead); line-height: 1.5; }
.qa__row--head .qa__q { color: var(--muted); }
@media (max-width: 56em) {
  .qa__q, .qa__a { grid-column: 1 / -1; }
  .qa__a { margin-top: 0.75rem; }
  .qa__row + .qa__row { margin-top: 3rem; }
}

/* ---------- Hajj & Umrah: packages on tickets ---------- */
.tickets { padding-block: calc(var(--section) / 2); }
.tickets__head { margin-bottom: 3rem; row-gap: 1rem; align-items: end; }
.tickets__head h2 { grid-column: 1 / span 6; }
.tickets__head p { grid-column: 8 / span 5; color: var(--muted); }
.ticket { --notch: 2rem; position: relative; width: min(68rem, 100%); margin-inline: auto; display: grid; grid-template-columns: 7fr 3fr; background: var(--raise); border-radius: var(--r-lg); color: var(--ink); }
.ticket + .ticket { margin-top: 1.5rem; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 70%; width: var(--notch); height: var(--notch); margin-left: calc(var(--notch) / -2); border-radius: 50%; background: var(--bg); }
.ticket::before { top: calc(var(--notch) / -2); }
.ticket::after { bottom: calc(var(--notch) / -2); }
.ticket__main { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.ticket__main h3 { font-size: var(--step-head); letter-spacing: -0.035em; }
.ticket__lines { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; }
.ticket__lines dt { font-size: var(--step-small); color: var(--muted); }
.ticket__lines dd { font-weight: 600; }
.ticket__stub { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: 2.5rem 1.25rem 1.25rem; }
.ticket__stub::before { content: ""; position: absolute; left: -1px; top: 1.75rem; bottom: 1.75rem; width: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='12'%3E%3Crect width='2' height='6' rx='1' fill='%23c6ccdb'/%3E%3C/svg%3E") 0 0 / 2px 12px repeat-y; }
.ticket__big { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; }
.ticket__unit { display: block; font-size: var(--step-body); font-weight: 500; letter-spacing: -0.01em; color: var(--muted); margin-top: 0.6rem; }
.ticket__stub .button { width: 100%; }
@media (max-width: 56em) {
  .tickets__head h2, .tickets__head p { grid-column: 1 / -1; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { top: auto; bottom: auto; margin: 0; }
  .ticket::before { left: calc(var(--notch) / -2); top: var(--stub-top, 64%); }
  .ticket::after { left: auto; right: calc(var(--notch) / -2); top: var(--stub-top, 64%); }
  .ticket__main { padding-bottom: 2.25rem; }
  .ticket__lines { grid-template-columns: 1fr; }
  .ticket__stub { padding: 3.5rem 1.25rem 1.25rem; gap: 1.25rem; }
  .ticket__stub::before { left: 1.5rem; right: 1.5rem; top: -1px; bottom: auto; width: auto; height: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='2'%3E%3Crect width='6' height='2' rx='1' fill='%23c6ccdb'/%3E%3C/svg%3E") 0 0 / 12px 2px repeat-x; }
}

/* ---------- itinerary ---------- */
.poster { padding: calc(var(--section) / 2) var(--margin); }
.poster__head { margin-bottom: 3rem; row-gap: 1rem; }
.poster__head h2 { grid-column: 1 / span 6; }
.poster__head p { grid-column: 8 / span 5; color: var(--muted); }
.poster__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-block: 0.25rem; }
.poster__item { font-size: var(--step-mega); font-weight: 600; letter-spacing: -0.05em; line-height: 1; transition: color var(--t-hover) ease; }
.poster__detail { font-size: var(--step-lead); font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .poster__list li:hover .poster__item { color: var(--sky); } }
@media (max-width: 56em) {
  .poster__head h2, .poster__head p { grid-column: 1 / -1; }
  .poster__list li { display: block; margin-bottom: 1.25rem; }
  .poster__item { display: block; }
  .poster__detail { display: block; text-align: left; font-size: var(--step-small); margin-top: 0.375rem; }
}

/* ---------- a picture with its caption ---------- */
.rest { padding-block: calc(var(--section) / 2); }
.rest .grid { align-items: end; row-gap: 1.5rem; }
.rest figure { grid-column: 1 / span 8; margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.rest img { width: 100%; background: var(--tone); }
.rest__cap { grid-column: 9 / span 4; }
.rest__cap p { margin-top: 1rem; color: var(--muted); }
@media (max-width: 56em) { .rest figure, .rest__cap { grid-column: 1 / -1; } }

/* ---------- questions beside a tall photograph ---------- */
.prep { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: calc(var(--section) / 2) var(--margin); align-items: center; }
.prep__text { grid-column: 1 / span 5; }
.prep__facts { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.prep__facts li { padding: 0.5rem 0.95rem; border-radius: var(--r-pill); background: var(--raise); font-size: var(--step-small); font-weight: 600; }
.prep__qs { margin-top: 2.25rem; display: grid; gap: 0.5rem; }
.prep__qs details { background: var(--raise); border-radius: var(--r-md); padding: 0 1.25rem; }
.prep__qs summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; font-weight: 600; cursor: pointer; list-style: none; }
.prep__qs summary::-webkit-details-marker { display: none; }
.prep__qs summary::after { content: ""; flex: none; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 240ms var(--ease-out); }
.prep__qs details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.prep__qs details p { padding-bottom: 1.1rem; color: var(--muted); }
.prep__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.prep__photos { grid-column: 7 / span 6; position: relative; padding-bottom: 4rem; }
.prep__tall { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--tone); }
.prep__tall img, .prep__square img { width: 100%; height: 100%; object-fit: cover; }
.prep__square { position: absolute; width: 38%; aspect-ratio: 1; left: -2.5rem; bottom: 0; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--tone); }
@media (max-width: 56em) {
  .prep__photos { grid-column: 1 / -1; grid-row: 1; padding-bottom: 3rem; }
  .prep__square { left: auto; right: 1rem; width: 40%; }
  .prep__text { grid-column: 1 / -1; padding-top: 2rem; }
}

/* ---------- tours: sticky photograph, active list ---------- */
.atlas { padding-block: calc(var(--section) / 2); }
.atlas__grid { align-items: start; }
.atlas__photo { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 2rem); margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--tone); }
.atlas__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 400ms ease; }
.atlas__photo img.is-active { opacity: 1; }
.atlas__photo figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: 0.35rem 0.8rem; border-radius: var(--r-pill); background: rgba(8, 10, 20, 0.62); color: #fff; font-size: var(--step-small); font-weight: 600; }
.atlas__list { grid-column: 7 / span 6; }
.atlas__list h2 { margin-bottom: 2rem; }
.atlas__list ul, .enquiry__side ul { list-style: none; padding: 0; margin: 0; }
.atlas__item { border-radius: var(--r-md); padding: 1rem 1.25rem; transition: background-color var(--t-hover) ease; }
.atlas__item.is-active { background: var(--raise); }
.atlas__row { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; min-height: 2.75rem; text-align: left; color: var(--muted); transition: color var(--t-hover) ease; }
.atlas__name { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.atlas__len { font-size: var(--step-small); font-variant-numeric: tabular-nums; padding: 0.25rem 0.7rem; border-radius: var(--r-pill); background: var(--tone); }
.atlas__item.is-active .atlas__row { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .atlas__row:hover { color: var(--ink); } }
.atlas__desc { max-width: 44ch; margin-top: 0.4rem; }
.atlas__desc p { color: var(--muted); }
.atlas__desc a { display: inline-block; margin-top: 0.6rem; }
@media (max-width: 56em) {
  .atlas__photo { grid-column: 1 / -1; grid-row: 2; position: relative; top: auto; aspect-ratio: 4 / 3; }
  .atlas__list { display: contents; }
  .atlas__list h2 { grid-column: 1 / -1; grid-row: 1; }
  .js .atlas__item:not(.is-active) .atlas__desc { display: none; }
  .atlas__list ul { grid-column: 1 / -1; grid-row: 3; padding-top: 1rem; }
}

/* ---------- tiles of unlike sizes (tours) ---------- */
.mosaic { padding-block: calc(var(--section) / 2); }
.mosaic__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 6rem; grid-auto-flow: dense; gap: var(--gutter); }
.tile { padding: clamp(1.25rem, 2.2vw, 2rem); overflow: hidden; margin: 0; border-radius: var(--r-lg); background: var(--raise); }
.tile--head { grid-column: span 6; grid-row: span 3; background: transparent; padding-left: 0; }
.tile--head h2 { font-size: var(--step-head); }
.tile--head p { margin-top: 1.25rem; max-width: 38ch; color: var(--muted); }
.tile--photo { grid-column: span 6; grid-row: span 5; padding: 0; position: relative; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--figure { grid-column: span 3; grid-row: span 3; background: var(--navy); color: #fff; }
.tile--figure strong { display: block; font-size: var(--step-display); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; }
.tile--figure p { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.82); }
.tile--list { grid-column: span 3; grid-row: span 3; background: var(--red); color: #fff; }
.tile--list ul { display: grid; gap: 0.35rem; font-weight: 600; list-style: none; padding: 0; }
.tile--line { grid-column: span 6; grid-row: span 3; }
.tile--line p, .tile--line-b p { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.tile--line-b { grid-column: span 6; grid-row: span 2; }
@media (max-width: 56em) {
  .mosaic__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .tile--head, .tile--photo, .tile--line, .tile--line-b { grid-column: 1 / -1; grid-row: auto; }
  .tile--head { padding: 0 0 1rem; }
  .tile--photo { aspect-ratio: 4 / 3; }
  .tile--figure, .tile--list { grid-column: span 1; grid-row: auto; aspect-ratio: 1; padding: 1.1rem; }
}

/* ---------- about: side facts, wide paragraph ---------- */
.facts-wide { padding-block: calc(var(--section) / 2); }
.facts-wide__row { display: grid; grid-template-columns: 32% 1fr; padding-inline: var(--margin); column-gap: var(--gutter); }
.facts-wide__row + .facts-wide__row { margin-top: 6rem; }
.facts-wide__side { display: grid; gap: 1.25rem; align-content: start; max-width: 17rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--raise); }
.facts-wide__side dt { font-size: var(--step-small); color: var(--muted); }
.facts-wide__side dd { font-weight: 600; }
.facts-wide__para h2 { margin-bottom: 1.5rem; }
.facts-wide__para > p { font-size: var(--step-lead); line-height: 1.45; max-width: 52ch; color: var(--muted); }
.facts-wide__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 22rem)); column-gap: 3rem; row-gap: 2.5rem; margin-top: 3rem; }
.facts-wide__lists h3 { font-size: var(--step-body); margin-bottom: 0.75rem; }
.facts-wide__lists li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.3rem; }
.facts-wide__lists li span:last-child { color: var(--muted); }
.facts-wide__pic { margin: 0; max-width: 17rem; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--tone); }
.facts-wide__pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 56em) {
  .facts-wide__row { grid-template-columns: 1fr; row-gap: 2rem; }
  .facts-wide__row + .facts-wide__row { margin-top: 4rem; }
  .facts-wide__side { grid-template-columns: 1fr 1fr; max-width: none; order: 2; }
  .facts-wide__lists { grid-template-columns: 1fr; }
}

/* ---------- about: a paragraph with picture words ---------- */
.picwords { padding-block: calc(var(--section) / 2); }
.picwords__para { grid-column: 1 / span 11; font-size: clamp(1.4375rem, 0.95rem + 1.9vw, 2.25rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.03em; max-width: none; }
.slot { display: inline-block; width: 2.2em; height: 1.1em; vertical-align: -0.18em; overflow: hidden; border-radius: var(--r-pill); background: var(--tone); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.picwords__after { grid-column: 7 / span 6; margin-top: 4rem; display: grid; gap: 1.25rem; justify-items: start; }
.picwords__after p { color: var(--muted); }
@media (max-width: 56em) { .picwords__para { grid-column: 1 / -1; } .slot { width: 1.7em; } .picwords__after { grid-column: 1 / -1; } }

/* ---------- two or three photographs ---------- */
.duo, .trio { padding-block: calc(var(--section) / 2); }
.duo figure, .trio figure { margin: 0; }
.duo img, .trio img { width: 100%; object-fit: cover; border-radius: var(--r-lg); background: var(--tone); }
.duo figcaption, .trio figcaption { margin-top: 0.75rem; font-size: var(--step-small); color: var(--muted); }
.duo__grid { align-items: start; row-gap: 2rem; }
.duo__text { grid-column: 1 / span 4; }
.duo__text p { margin-top: 1rem; color: var(--muted); }
.duo__a { grid-column: 5 / span 4; }
.duo__a img { aspect-ratio: 3 / 4; }
.duo__b { grid-column: 9 / span 4; margin-top: 7rem !important; }
.duo__b img { aspect-ratio: 4 / 5; }
.trio__head { margin-bottom: 2.5rem; row-gap: 1rem; align-items: end; }
.trio__head h2 { grid-column: 1 / span 6; }
.trio__head p { grid-column: 8 / span 5; color: var(--muted); }
.trio__row { align-items: end; row-gap: 2rem; }
.trio__a { grid-column: 1 / span 5; }
.trio__a img { aspect-ratio: 4 / 3; }
.trio__b { grid-column: 6 / span 3; }
.trio__b img { aspect-ratio: 3 / 4; }
.trio__c { grid-column: 9 / span 4; }
.trio__c img { aspect-ratio: 1; }
@media (max-width: 56em) {
  .duo__text, .trio__head h2, .trio__head p { grid-column: 1 / -1; }
  .duo__a { grid-column: 1 / span 8; }
  .duo__b { grid-column: 4 / -1; margin-top: 0 !important; }
  .trio__a { grid-column: 1 / -1; }
  .trio__b { grid-column: 1 / span 6; }
  .trio__c { grid-column: 7 / -1; }
}

/* ---------- about: the old map ---------- */
.map-old { padding-block: calc(var(--section) / 2); }
.map-old__grid { align-items: start; row-gap: 2rem; }
.map-old__text { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); }
.map-old__text h2 { margin-bottom: 1.25rem; }
.map-old__text p { color: var(--muted); }
.map-old figure { grid-column: 5 / span 8; margin: 0; }
.map-old img { width: 100%; border-radius: var(--r-lg); background: var(--tone); }
.map-old figcaption { margin-top: 0.75rem; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 56em) { .map-old__text, .map-old figure { grid-column: 1 / -1; position: static; } }

/* ---------- contact ---------- */
.enquiry { padding-block: calc(var(--section) / 2); }
.enquiry__grid { align-items: start; row-gap: 3rem; }
.enquiry__form { grid-column: 1 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem var(--gutter); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--raise); }
.enquiry__form h2 { grid-column: 1 / -1; margin-bottom: 0.5rem; }
.enquiry__form .wide { grid-column: 1 / -1; }
.enquiry__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; }
.enquiry__note { grid-column: 1 / -1; font-size: var(--step-small); color: var(--muted); }
.enquiry__side { grid-column: 9 / span 4; display: grid; gap: 2rem; padding-top: 1rem; }
.enquiry__side h3 { font-size: var(--step-small); color: var(--muted); font-weight: 500; margin-bottom: 0.35rem; }
.enquiry__side a { font-size: var(--step-lead); font-weight: 600; text-decoration: none; letter-spacing: -0.02em; }
.enquiry__side li + li { margin-top: 0.2rem; }
@media (hover: hover) and (pointer: fine) { .enquiry__side a:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
@media (max-width: 56em) { .enquiry__form, .enquiry__side { grid-column: 1 / -1; } .enquiry__form { grid-template-columns: 1fr; } }
.map-live { padding: calc(var(--section) / 2) var(--margin); }
.map-live__head { margin-bottom: 2rem; row-gap: 1rem; align-items: end; }
.map-live__head h2 { grid-column: 1 / span 6; }
.map-live__head p { grid-column: 8 / span 5; color: var(--muted); }
.map-live iframe { display: block; width: 100%; height: 70svh; min-height: 22rem; border: 0; border-radius: var(--r-lg); background: var(--tone); }
@media (max-width: 56em) { .map-live__head h2, .map-live__head p { grid-column: 1 / -1; } .map-live iframe { height: 60svh; } }

/* ---------- credits ---------- */
.credits { padding: calc(var(--header-h) + 4rem) var(--margin) calc(var(--section) / 2); }
.credits h1 { margin-bottom: 1.5rem; }
.credits > p { margin-bottom: 3rem; color: var(--muted); }
.credits__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.credits__list li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: start; padding: 1rem; border-radius: var(--r-lg); background: var(--white); }
.credits__list img { width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: var(--r-md); background: var(--tone); }
.credits__list strong { display: block; font-weight: 600; line-height: 1.3; }
.credits__list span { display: block; font-size: var(--step-small); color: var(--muted); }

/* ---------- motion ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-leave 200ms var(--ease-exit) both; }
::view-transition-new(root) { animation: vt-arrive 380ms var(--ease-out) 60ms both; }
@keyframes vt-leave { to { opacity: 0; } }
@keyframes vt-arrive { from { opacity: 0; transform: translateY(16px); } }

.mask { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.mask > [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .mask > [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(120ms + var(--i, 0) * 110ms); }
  .js [data-load] { opacity: 0; transform: translateY(14px); animation: load-rise 650ms var(--ease-out) forwards; animation-delay: var(--d, 420ms); }
  .js [data-open] { clip-path: inset(0 0 100% 0); animation: load-open 1100ms var(--ease-in-out) 150ms forwards; }
  .js [data-open] img { transform: scale(1.08); animation: load-settle 1400ms var(--ease-expo) 100ms forwards; }
  .motion [data-reveal], .motion .dest__card { opacity: 0; transform: translateY(24px); }
  .motion [data-shutter] { clip-path: inset(0 0 100% 0); transition: clip-path 1150ms var(--ease-in-out); }
  .motion [data-shutter] > img, .motion [data-shutter] > video { transform: scale(1.1); transition: transform 1500ms var(--ease-expo); }
  .motion [data-shutter].is-in { clip-path: inset(-2px -2px -2px -2px); }
  .motion [data-shutter].is-in > img, .motion [data-shutter].is-in > video { transform: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes load-rise { to { opacity: 1; transform: none; } }
@keyframes load-open { to { clip-path: inset(0); } }
@keyframes load-settle { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .page-hero__media img { height: 100%; }
}
