/* taibatrip.com: road-atlas page. Tokens in DESIGN.md. */
@font-face {
  font-family: "Overpass";
  src: url("../fonts/overpass-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("../fonts/overpass-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --ink: #17171A;
  --ink-2: #48433F;
  --land: #FBE4D5;
  --land-2: #FDF2EA;
  --sea: #D3EAF2;
  --sea-ink: #1F5F86;
  --route: #C8202F;
  --route-deep: #A11824;
  --shield: #1D4E9E;
  --shield-deep: #153B7A;
  --hair: #D9CCC2;
  --gutter: 16px;
  --wrap: 1200px;
  --s1: .5rem; --s2: .75rem; --s3: 1rem; --s4: 1.5rem; --s5: 2rem; --s6: 3rem; --s7: 4.5rem; --s8: 6rem;
  --font: "Overpass", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
  accent-color: var(--route);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink-2) var(--land-2); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--land); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.08; margin: 0; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.005em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--shield); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--shield-deep); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--shield); outline-offset: 3px; border-radius: 2px; }
strong { font-weight: 800; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.ico { flex: none; }

.skip { position: absolute; left: var(--s3); top: -100px; background: var(--ink); color: #fff; padding: var(--s2) var(--s3); z-index: 10; font-weight: 700; }
.skip:focus { top: var(--s3); color: #fff; }

/* Running head */
.head { border-bottom: 3px solid var(--ink); background: var(--paper); }
.head__in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s2) var(--s4); padding-top: var(--s2); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; min-height: 48px; }
.brand:hover { color: var(--ink); }
.brand__word { font-weight: 900; font-size: 1.45rem; letter-spacing: -.03em; }
.brand, .head__wa { white-space: nowrap; }
.brand__shield { flex: none; }
.head__wa { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 var(--s3); background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; border-radius: 3px; }
.head__wa:hover { background: var(--shield); color: #fff; }
.nav { grid-column: 1 / -1; margin-inline: calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: var(--s1); white-space: nowrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .6rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; border-bottom: 4px solid transparent; }
.nav a:hover { border-bottom-color: var(--hair); color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--route); font-weight: 800; }
.nav .nav__plan { color: var(--route); font-weight: 800; }
@media (min-width: 1180px) {
  .head__in { grid-template-columns: auto 1fr auto; padding-block: var(--s2); }
  .nav { grid-column: 2; grid-row: 1; margin: 0; overflow: visible; justify-self: end; }
  .nav ul { padding: 0; gap: 0; }
  .head__wa { grid-column: 3; }
}

/* Breadcrumb */
.crumbs { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: var(--s3) auto 0; font-size: .95rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 18px; height: 2px; background: var(--ink-2); margin: 0 .5rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); }
.crumbs a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: none; }

/* Map plate (home hero) */
.plate { padding: var(--s3) var(--gutter) 0; }
.plate__frame {
  max-width: 1280px; margin-inline: auto;
  border: 3px solid var(--ink);
  outline: 1px solid var(--ink); outline-offset: 4px;
  display: grid; grid-template-columns: 0 1fr; grid-template-rows: 0 auto;
  margin-top: 6px;
}
.refs { display: none; }
.plate__body { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; }
.plate__map { position: relative; order: 2; height: 300px; background: var(--land); border-block: 2px solid var(--ink); overflow: hidden; }
.plate__map .map { position: absolute; left: 0; bottom: 0; width: 100%; height: 340px; }
.plate__note { position: absolute; right: var(--s2); top: var(--s2); font-style: italic; font-size: .85rem; background: var(--paper); padding: .1rem .5rem; color: var(--ink); border: 1px solid var(--ink); }
.cartouche { order: 1; padding: var(--s4) var(--s3) var(--s4); background: var(--paper); }
.cartouche p { margin-top: var(--s3); max-width: 46ch; color: var(--ink-2); }
.cartouche .cartouche__price { color: var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; font-size: 1rem; }
.cartouche__price strong { font-size: 2.4rem; line-height: 1; color: var(--route); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.planner--hero { order: 3; }

.map__water { font: italic 600 26px var(--font); fill: var(--sea-ink); letter-spacing: .3em; text-transform: uppercase; }
.map__town { font: 600 24px var(--font); fill: var(--ink); paint-order: stroke; stroke: var(--land); stroke-width: 6px; }
.map__city { font: 900 32px var(--font); fill: var(--ink); letter-spacing: .06em; paint-order: stroke; stroke: var(--land); stroke-width: 7px; }
.map__alt { font: italic 600 21px var(--font); fill: var(--ink); paint-order: stroke; stroke: var(--land); stroke-width: 6px; }
.map__tag text { font: 800 22px var(--font); fill: #fff; font-variant-numeric: tabular-nums; }
.map__n { font: 800 22px var(--font); fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .map__route { stroke-dasharray: 1; animation: draw 1.8s cubic-bezier(.16, 1, .3, 1) .2s both; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

@media (min-width: 1000px) {
  .plate { padding-top: var(--s4); }
  .plate__frame { grid-template-columns: 28px 1fr; grid-template-rows: 28px auto; }
  .refs { display: grid; list-style: none; margin: 0; padding: 0; font-weight: 800; font-size: .85rem; color: var(--ink); }
  .refs li { display: grid; place-items: center; }
  .refs--x { grid-column: 2; grid-row: 1; grid-template-columns: repeat(6, 1fr); border-bottom: 2px solid var(--ink); }
  .refs--x li + li { border-left: 1px solid var(--ink); }
  .refs--y { grid-column: 1; grid-row: 2; grid-template-rows: repeat(4, 1fr); border-right: 2px solid var(--ink); }
  .refs--y li + li { border-top: 1px solid var(--ink); }
  .plate__body { display: grid; grid-template-columns: 1fr 400px; grid-template-rows: auto 1fr; height: clamp(600px, calc(100vh - 150px), 680px); }
  .plate__map { grid-column: 1; grid-row: 1 / 3; height: auto; border: 0; }
  .plate__map .map { height: 100%; }
  .cartouche { grid-column: 1; grid-row: 1; z-index: 1; align-self: start; margin: var(--s4) 0 0 var(--s4); width: min(720px, calc(100% - 3rem)); padding: var(--s4) var(--s5) var(--s5); border: 2px solid var(--ink); box-shadow: 0 10px 28px -14px rgb(23 23 26 / .45); }
  .cartouche h1 { font-size: clamp(2.4rem, 1.2rem + 2.2vw, 3.4rem); }
  .planner--hero { grid-column: 2; grid-row: 1 / 3; border: 0; border-left: 3px solid var(--ink); display: flex; flex-direction: column; }
  .planner--hero .planner__body { flex: 1; align-content: center; padding: var(--s4); }
  .plate__note { right: var(--s3); top: auto; bottom: var(--s3); }
  .cartouche p { max-width: 60ch; }
}

/* Planner (legend box) */
.planner { background: var(--paper); border: 2px solid var(--ink); }
.planner__head { background: var(--ink); color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .55rem var(--s3) .4rem; }
.planner__body { padding: var(--s3); display: grid; gap: var(--s3); }
.planner__fine { font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.fld { display: grid; gap: .3rem; }
.fld label, .split legend, .step label, .opt legend { font-weight: 700; font-size: 1rem; }
.fld--short input { max-width: 7rem; }
select, input[type="number"], input[type="text"], textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 3px; min-height: 46px; padding: .4rem .6rem; width: 100%;
}
select { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2317171A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .6rem center; background-size: 20px; }
textarea { min-height: 6rem; resize: vertical; line-height: 1.5; }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--shield); outline-offset: 2px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.split { display: grid; gap: .6rem; }
.split__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.step { display: grid; gap: .3rem; }
.step__ctl { display: grid; grid-template-columns: 44px 1fr 44px; border: 2px solid var(--ink); border-radius: 3px; }
.step__ctl input { border: 0; text-align: center; font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; padding: 0; min-width: 0; -moz-appearance: textfield; border-radius: 0; }
.step__ctl input::-webkit-inner-spin-button, .step__ctl input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step__btn { display: grid; place-items: center; min-height: 44px; border: 0; background: var(--land-2); color: var(--ink); cursor: pointer; }
.step__btn:hover { background: var(--land); }
.step__btn:disabled { color: #8E8580; cursor: not-allowed; background: var(--paper); }
.step__btn:focus-visible { outline-offset: -3px; }
html:not(.js) .step__btn { visibility: hidden; }
.bar { display: flex; height: 12px; border: 2px solid var(--ink); }
.bar span { display: block; flex: 1 1 0; transition: flex-grow .4s cubic-bezier(.16, 1, .3, 1); }
.bar__mk { background: var(--route); }
.bar__md { background: var(--shield); border-left: 2px solid var(--paper); }
.split__sum { font-size: .95rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .7rem 1.3rem .6rem; font: inherit; font-weight: 800; font-size: 1.05rem; line-height: 1.2; text-decoration: none; border-radius: 3px; cursor: pointer; border: 2px solid transparent; text-align: center; }
.btn--route { background: var(--route); color: #fff; }
.btn--route:hover { background: var(--route-deep); color: #fff; }
.btn--route:focus-visible { outline-color: var(--ink); }
.btn--line { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--land-2); color: var(--ink); }
.arrowlink { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 800; color: var(--shield); }
.arrowlink::after { content: ""; width: 26px; height: 12px; background: currentColor; clip-path: polygon(0 40%, 70% 40%, 70% 0, 100% 50%, 70% 100%, 70% 60%, 0 60%); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.arrowlink:hover::after { transform: translateX(4px); }

/* Sheets (sections) */
.sheet { padding-block: var(--s7); }
.sheet + .sheet { border-top: 2px solid var(--ink); }
.lede { margin-top: var(--s3); max-width: 62ch; color: var(--ink-2); font-size: 1.2rem; }

.legend { display: grid; gap: var(--s5); }
.legend__intro p { margin-top: var(--s3); max-width: 56ch; color: var(--ink-2); }
.legend__list { list-style: none; margin: 0; padding: 0; border: 2px solid var(--ink); }
.legend__list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s3); padding: var(--s3); align-items: start; }
.legend__list li + li { border-top: 1px solid var(--hair); }
.legend__list p { margin-top: .25rem; color: var(--ink-2); font-size: 1.05rem; }
@media (min-width: 900px) { .legend { grid-template-columns: 5fr 7fr; gap: var(--s6); } .legend__list li { padding: var(--s3) var(--s4); } }

.sheet--chart { background: var(--land-2); }
.chart { margin-top: var(--s5); overflow-x: auto; border: 2px solid var(--ink); background: var(--paper); }
.chart table { border-collapse: collapse; width: 100%; min-width: 760px; font-variant-numeric: tabular-nums; }
.chart th, .chart td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-right: 1px solid var(--hair); }
.chart thead th { background: var(--ink); color: #fff; font-size: .95rem; font-weight: 700; line-height: 1.3; border-right-color: #4A4744; }
.chart tbody th { font-weight: 800; }
.chart tbody tr + tr > * { border-top: 1px solid var(--hair); }
.chart tbody tr:nth-child(even) { background: var(--land-2); }
.chart .num { font-weight: 700; }
.chart td, .chart tbody th { white-space: nowrap; }
.chart td.num:nth-child(2) { color: var(--route); font-weight: 900; font-size: 1.3rem; }
.chart__note { margin-top: var(--s3); max-width: 75ch; color: var(--ink-2); font-size: 1rem; }

.taiba { display: grid; gap: var(--s4); align-items: end; }
.taiba__word { font-size: clamp(5rem, 2rem + 14vw, 13rem); font-weight: 900; line-height: .8; letter-spacing: -.05em; color: var(--shield); font-style: italic; }
.taiba__text p { margin-top: var(--s3); max-width: 58ch; }
.taiba__text .arrowlink { margin-top: var(--s3); }
@media (min-width: 900px) { .taiba { grid-template-columns: 1fr 1fr; gap: var(--s6); } }

.gazetteer { display: grid; gap: var(--s4); }
.gazetteer p { margin-top: var(--s3); color: var(--ink-2); max-width: 46ch; }
.leaders { list-style: none; margin: 0; padding: 0; columns: 1; }
.leaders li { display: flex; align-items: baseline; gap: .5rem; padding: .45rem 0; break-inside: avoid; font-weight: 600; }
.leaders li::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted var(--ink-2); min-width: 1.5rem; transform: translateY(-.3em); }
.leaders .code { order: 2; font-weight: 900; letter-spacing: .06em; }
@media (min-width: 700px) { .leaders { columns: 2; column-gap: var(--s5); } }
@media (min-width: 900px) { .gazetteer { grid-template-columns: 5fr 7fr; gap: var(--s6); } }

.sheet--detour { background: var(--sea); }
.detour { display: grid; grid-template-columns: 64px 1fr; gap: var(--s4); align-items: start; }
.detour p { margin-top: var(--s3); max-width: 62ch; }
.detour .arrowlink { margin-top: var(--s2); color: var(--shield-deep); }

.sheet--end { background: var(--ink); color: #fff; }
.sheet--end + .foot { border-top: 0; }
.end p { margin-top: var(--s3); max-width: 58ch; color: #E9E4DF; }
.end__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.end .btn--line { background: transparent; color: #fff; border-color: #fff; }
.end .btn--line:hover { background: #fff; color: var(--ink); }
.end .btn:focus-visible { outline-color: #fff; }

/* Inner page head: a smaller plate */
.phead { padding: var(--s4) var(--gutter) 0; }
.phead__frame { max-width: 1280px; margin-inline: auto; border: 3px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 4px; margin-top: 6px; display: grid; }
.phead__text { padding: var(--s5) var(--s3); }
.phead__text p { margin-top: var(--s3); max-width: 60ch; color: var(--ink-2); font-size: 1.2rem; }
.phead__strip { background: #D3EAF2; border-top: 2px solid var(--ink); position: relative; overflow: hidden; }
/* Natural 4:3 map pinned to the bottom; the sea colour fills any height above it, so labels are never cropped. */
.phead__strip svg { width: 100%; height: auto; position: absolute; left: 0; bottom: 0; }
@media (min-width: 900px) {
  .phead__frame { grid-template-columns: 7fr 4fr; }
  .phead__text { padding: var(--s6) var(--s5); }
  .phead__strip { border-top: 0; border-left: 2px solid var(--ink); min-height: 100%; }
}

/* Prose sections on inner pages */
.cols { display: grid; gap: var(--s4) var(--s6); }
@media (min-width: 900px) { .cols { grid-template-columns: 4fr 7fr; } }
.cols > div > p + p, .prose p + p { margin-top: var(--s3); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--s6); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s5); }
.prose h2 + p, .prose h3 + p { margin-top: var(--s2); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: var(--s3) 0 0; }
.prose li + li { margin-top: .4rem; }
.cols h2 + p { margin-top: var(--s3); }
.muted { color: var(--ink-2); }
.ticks { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li + li { margin-top: .55rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 7px #fff; }
.ticks--no li::before { border-radius: 0; background: transparent; box-shadow: none; border: 0; width: 16px; height: 3px; top: .65em; background: var(--route); }

/* Trip blocks on Umrah page: map-legend rows, not cards */
.trips { margin-top: var(--s5); border-top: 3px solid var(--ink); }
.trip { display: grid; gap: var(--s3) var(--s5); padding-block: var(--s5); border-bottom: 1px solid var(--hair); }
.trip__name { display: flex; align-items: center; gap: var(--s2); }
.trip__mark { flex: none; width: 40px; height: 44px; }
.trip__price { font-size: 2.3rem; font-weight: 900; color: var(--route); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.trip__price small { display: block; font-size: 1rem; color: var(--ink-2); font-weight: 600; letter-spacing: 0; margin-top: .35rem; }
.trip dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem var(--s3); font-size: 1.05rem; }
.trip dt { font-weight: 800; }
.trip dd { margin: 0; color: var(--ink-2); }
.trip p { color: var(--ink-2); max-width: 54ch; }
@media (min-width: 900px) { .trip { grid-template-columns: 3fr 2fr 5fr; align-items: start; } }

/* How it works: strip map of stations */
.strip { list-style: none; margin: var(--s5) 0 0; padding: 0; position: relative; }
.strip::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 6px; background: var(--route); }
.strip > li { position: relative; padding: 0 0 var(--s5) 72px; }
.strip > li:last-child { padding-bottom: 0; }
.strip__stop { position: absolute; left: 0; top: -4px; width: 48px; height: 52px; }
.strip__stop text { font: 900 20px var(--font); fill: #fff; }
.strip h3 { font-size: 1.4rem; }
.strip p { margin-top: .4rem; max-width: 62ch; color: var(--ink-2); }
.strip .strip__check { margin-top: var(--s2); padding: .6rem .9rem; background: var(--land-2); border: 1px solid var(--hair); color: var(--ink); font-size: 1rem; max-width: 62ch; }

/* Boxed notes */
.box { border: 2px solid var(--ink); padding: var(--s4); background: var(--paper); }
.box--sea { background: var(--sea); }
.box--land { background: var(--land-2); }
.box h2, .box h3 { margin-bottom: var(--s2); }
.box p + p { margin-top: var(--s2); }
.box .src { margin-top: var(--s3); font-size: .95rem; color: var(--ink-2); }
.box--sea .src { color: var(--ink); }
.review { display: inline-block; margin-top: var(--s3); font-size: .95rem; font-style: italic; color: var(--ink); }

/* FAQ index */
.faqs { display: grid; gap: var(--s6); }
.faqgroup h2 { padding-bottom: var(--s2); border-bottom: 3px solid var(--ink); }
.qa { padding-block: var(--s4); border-bottom: 1px solid var(--hair); display: grid; gap: var(--s2); }
.qa h3 { font-size: 1.25rem; }
.qa p { color: var(--ink-2); max-width: 68ch; }
@media (min-width: 900px) { .qa { grid-template-columns: 5fr 7fr; gap: var(--s5); } }

/* Contact */
.contactgrid { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 1000px) { .contactgrid { grid-template-columns: 7fr 4fr; gap: var(--s6); } }
.planner--full .planner__body { padding: var(--s4); gap: var(--s4); }
.pair { display: grid; gap: var(--s3); }
@media (min-width: 620px) { .pair { grid-template-columns: 1fr 1fr; } }
.opt__row { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: .35rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem; border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; font-weight: 600; background: var(--paper); }
.chip:hover { background: var(--land-2); }
.chip input { width: 18px; height: 18px; margin: 0; }
.chip:has(input:checked) { background: var(--ink); color: #fff; }
.chip:has(input:focus-visible) { outline: 3px solid var(--shield); outline-offset: 3px; }
.hint { font-size: .95rem; color: var(--ink-2); }
.preview { border: 2px dashed var(--ink); background: var(--land-2); padding: var(--s3); }
.preview__label { font-weight: 800; font-size: .95rem; }
.preview output { display: block; margin-top: .4rem; white-space: pre-line; font-size: 1rem; line-height: 1.55; }
.planner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
.textlink { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.cardlist { margin: 0; display: grid; gap: 0; border: 2px solid var(--ink); }
.cardlist > div { padding: var(--s3); }
.cardlist > div + div { border-top: 1px solid var(--hair); }
.cardlist dt { font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.cardlist dd { margin: .2rem 0 0; font-size: 1.15rem; }
.cardlist a { font-weight: 700; display: inline-flex; min-height: 32px; align-items: center; }

/* Legal and 404 */
.draftflag { border: 2px solid var(--route); background: var(--land-2); padding: var(--s3) var(--s4); font-weight: 600; }

/* Footer: the atlas back cover */
.foot { background: var(--ink); color: #fff; }
.foot__in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding-block: var(--s6) var(--s5); display: grid; gap: var(--s5); }
.foot__name { font-weight: 900; font-size: 1.6rem; letter-spacing: -.02em; }
.foot__id p + p { margin-top: var(--s2); color: #E9E4DF; max-width: 44ch; }
.foot a { color: #fff; }
.foot a:hover { color: #FBE4D5; }
.foot a:focus-visible { outline-color: #fff; }
.foot__contact { margin: 0; display: grid; gap: var(--s2); }
.foot__contact dt { font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #F4B9B3; }
.foot__contact dd { margin: 0; }
.foot__contact a { display: inline-flex; min-height: 32px; align-items: center; font-weight: 700; }
.foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.foot__nav a { display: inline-flex; min-height: 36px; align-items: center; }
.foot__small { grid-column: 1 / -1; font-size: .95rem; color: #E9E4DF; border-top: 1px solid #4A4744; padding-top: var(--s4); max-width: 90ch; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 5fr 4fr 4fr; gap: var(--s6); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.vgap { margin-top: var(--s5); }
.cols .ticks + p { margin-top: var(--s3); }
@media (min-width: 900px) { .cols--even { grid-template-columns: 1fr 1fr; } }
.contactside h2 { font-size: 1.6rem; margin-bottom: var(--s3); }
.vgap-s { margin-top: var(--s3); }
.box .ticks { margin-top: var(--s2); }
.phead__strip { min-height: 160px; }
.trip dl + p { margin-top: var(--s2); }
.ticks a { display: inline-flex; align-items: center; min-height: 32px; }
.foot { border-top: 1px solid #4A4744; }
