/* HI Boston Hostel — site stylesheet
   Palette taken from the hostel interior: aubergine lobby ottomans, the lime Green G,
   poured-concrete floors, and the HI orange of the logo. Transit colours appear only
   where they carry meaning (the walking-distance line to the T). */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-italic-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --plum: #3d1f45;
  --plum-deep: #2a1430;
  --plum-soft: #efe8f0;
  --lime: #8dc63f;
  --lime-deep: #4f7a1c;
  --lime-soft: #e9f3dc;
  --orange: #d24300;
  --orange-hover: #b03800;
  --concrete: #edeeeb;
  --rule: #d6d7d2;
  --paper: #ffffff;
  --ink: #2a1430;
  --ink-2: #5b4c60;

  --t-orange: #ed8b00;
  --t-red: #da291c;
  --t-green: #00843d;
  --t-silver: #7c878e;
  --t-blue: #003da5;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4rem, 9vw, 7.5rem);
  --radius-s: 3px;
  --radius-m: 6px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--plum-deep); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); font-weight: 800; font-stretch: 72%; letter-spacing: -.012em; line-height: .98; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.9rem); font-weight: 780; font-stretch: 75%; letter-spacing: -.008em; line-height: 1.02; }
h3 { font-size: 1.35rem; font-weight: 700; font-stretch: 88%; line-height: 1.2; }
h4 { font-size: 1.08rem; font-weight: 700; font-stretch: 92%; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong, b { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--space-4) 0; }

.skip { position: absolute; left: -999px; top: 0; background: var(--plum-deep); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font-weight: 700; font-size: 1.0625rem; font-stretch: 90%; letter-spacing: .005em;
  border-radius: var(--radius-s); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.15;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-book { background: var(--orange); color: #fff; }
.btn-book:hover { background: var(--orange-hover); color: #fff; }
.btn-line { border-color: currentColor; color: var(--plum-deep); background: transparent; }
.btn-line:hover { background: var(--plum-deep); color: #fff; border-color: var(--plum-deep); }
.on-dark .btn-line { color: #fff; }
.on-dark .btn-line:hover { background: #fff; color: var(--plum-deep); border-color: #fff; }
.btn-small { min-height: 40px; padding: .5rem 1rem; font-size: .98rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.text-link { font-weight: 650; }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--plum-deep); color: #e7dcea; font-size: .875rem; }
.utility .wrap { display: flex; justify-content: space-between; gap: 1rem; min-height: 36px; align-items: center; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; color: #fff; }
.utility-left, .utility-right { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.utility-right a { color: #e7dcea; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-bottom-color: var(--rule); box-shadow: 0 6px 20px rgba(42,20,48,.07); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; align-items: center; }
.main-nav li { margin: 0; position: relative; }
.main-nav a, .main-nav .nav-parent {
  display: block; padding: .6rem .7rem; text-decoration: none; color: var(--plum-deep);
  font-weight: 620; font-stretch: 90%; font-size: 1rem; border-radius: var(--radius-s); background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .main-nav .nav-parent:hover { color: var(--orange); }
.main-nav [aria-current="page"], .main-nav .is-section > a, .main-nav .is-section > .nav-parent { box-shadow: inset 0 -3px 0 var(--lime); border-radius: 0; }
.nav-parent::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.sub {
  list-style: none; margin: 0; padding: .5rem; position: absolute; left: -.25rem; top: 100%; min-width: 250px;
  background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--lime); border-radius: 0 0 var(--radius-m) var(--radius-m);
  box-shadow: 0 16px 36px rgba(42,20,48,.14);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub a { font-weight: 500; font-stretch: 100%; padding: .5rem .75rem; font-size: .975rem; }
.sub a:hover { background: var(--concrete); color: var(--plum-deep); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.header-book { flex: 0 0 auto; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--plum-deep); border-radius: var(--radius-s); min-height: 44px; padding: .4rem .8rem; font-weight: 700; color: var(--plum-deep); cursor: pointer; }
.nav-toggle-bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; vertical-align: middle; margin-right: .45rem; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-inner { flex-wrap: wrap; gap: .75rem; }
  .header-book { order: 2; }
  .nav-toggle { order: 3; margin-left: 0; }
  .brand { margin-right: auto; }
  .main-nav { order: 4; flex-basis: 100%; margin: 0; display: none; padding-bottom: 1rem; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--rule); }
  .main-nav > ul > li { border-bottom: 1px solid var(--rule); }
  .main-nav a, .main-nav .nav-parent { padding: .85rem .25rem; width: 100%; text-align: left; font-size: 1.08rem; }
  .main-nav [aria-current="page"], .main-nav .is-section > a, .main-nav .is-section > .nav-parent { box-shadow: none; color: var(--orange); }
  .nav-parent::after { float: right; margin-top: .45em; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; display: none; min-width: 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.is-open > .sub { display: block; }
}
@media (max-width: 560px) {
  .utility-right { display: none; }
  .brand img { height: 38px; }
  .header-book .btn { padding: .55rem .9rem; min-height: 44px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--plum-deep); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,20,48,0) 30%, rgba(42,20,48,.55) 62%, rgba(42,20,48,.92) 100%), linear-gradient(90deg, rgba(42,20,48,.55) 0%, rgba(42,20,48,0) 60%); }
.hero-inner { position: relative; z-index: 1; padding-block: var(--space-5) clamp(3rem, 7vw, 5rem); }
.hero h1 { color: #fff; font-size: clamp(3rem, 9vw, 7.6rem); font-stretch: 66%; font-weight: 820; letter-spacing: -.02em; line-height: .9; margin-bottom: .3em; max-width: 11ch; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 40rem; color: #f3ecf4; margin-bottom: 1.75rem; }
.hero-caption { position: absolute; right: var(--gutter); bottom: 1rem; z-index: 1; font-size: .8125rem; color: rgba(255,255,255,.78); max-width: 22rem; text-align: right; }
@media (max-width: 700px) { .hero-caption { display: none; } .hero { min-height: 78vh; } }

/* ---------- Walking line to the T (signature) ---------- */
.tline { padding-block: var(--space-5) var(--space-5); border-bottom: 1px solid var(--rule); }
.tline-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: var(--space-4); }
.tline-head h2 { margin: 0; max-width: 18ch; }
.tline-head p { margin: 0; color: var(--ink-2); max-width: 30rem; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr repeat(5, 1fr); position: relative; }
.stops::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; height: 8px; border-radius: 4px; background: var(--plum); transform-origin: left center; }
.stop { position: relative; margin: 0; padding: 44px .9rem 0 0; }
.stop::before { content: ""; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 6px solid var(--plum); }
.stop-home::before { width: 34px; height: 34px; top: -2px; border-color: var(--orange); border-width: 8px; }
.stop-name { display: block; font-weight: 750; font-stretch: 85%; font-size: 1.12rem; line-height: 1.15; color: var(--plum-deep); }
.stop-dist { display: block; font-size: 2rem; font-weight: 800; font-stretch: 70%; line-height: 1; color: var(--plum-deep); margin-top: .35rem; }
.stop-home .stop-dist { font-size: 1rem; font-weight: 600; font-stretch: 100%; color: var(--ink-2); margin-top: .3rem; }
.lines { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.line { display: inline-block; font-size: .78rem; font-weight: 700; font-stretch: 90%; color: #fff; padding: .12rem .45rem; border-radius: 99px; line-height: 1.35; }
.line-orange { background: #b86a00; } .line-red { background: var(--t-red); } .line-green { background: var(--t-green); }
.line-silver { background: #5f6a70; } .line-blue { background: var(--t-blue); } .line-rail { background: var(--plum); }
.js .tline .stops::before { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.3,.7,.2,1); }
.js .tline .stop { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.js .tline.is-in .stops::before { transform: scaleX(1); }
.js .tline.is-in .stop { opacity: 1; transform: none; }
.js .tline.is-in .stop:nth-child(2) { transition-delay: .25s; } .js .tline.is-in .stop:nth-child(3) { transition-delay: .4s; }
.js .tline.is-in .stop:nth-child(4) { transition-delay: .55s; } .js .tline.is-in .stop:nth-child(5) { transition-delay: .7s; }
.js .tline.is-in .stop:nth-child(6) { transition-delay: .85s; }
.tline-foot { margin: var(--space-4) 0 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) {
  .stops { grid-template-columns: 1fr; }
  .stops::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 8px; height: auto; transform-origin: center top; }
  .js .tline .stops::before { transform: scaleY(0); }
  .js .tline.is-in .stops::before { transform: scaleY(1); }
  .stop { padding: 0 0 1.6rem 3.25rem; display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; }
  .stop:last-child { padding-bottom: 0; }
  .stop-name { grid-column: 1; grid-row: 1; }
  .stop .lines { grid-column: 1; grid-row: 2; }
  .stop-dist { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: start; }
  .stop-home .stop-dist { grid-column: 1; grid-row: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-6); }
.section-tight { padding-block: var(--space-5); }
.bg-concrete { background: var(--concrete); }
.bg-plum { background: var(--plum); color: #efe6f1; }
.bg-plum h2, .bg-plum h3, .bg-plum h4 { color: #fff; }
.bg-plum a:not(.btn) { color: #fff; }
.bg-plum a:not(.btn):hover { color: var(--lime); }
.section-head { max-width: 46rem; margin-bottom: var(--space-4); }
.section-head p { color: var(--ink-2); font-size: 1.12rem; }
.bg-plum .section-head p { color: #e2d6e5; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--ink); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split-top { align-items: start; }
@media (max-width: 860px) { .split, .split-wide-left { grid-template-columns: 1fr; } }

figure { margin: 0; }
figcaption { font-size: .875rem; color: var(--ink-2); margin-top: .6rem; }
.bg-plum figcaption { color: #cdbfd1; }
.photo-tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-wide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Free-with-every-stay */
.reasons { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.free-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2.5rem; }
.free-list li { break-inside: avoid; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 780; font-stretch: 72%; line-height: 1.1; padding: .55rem 0; margin: 0; border-bottom: 2px solid var(--lime); color: var(--plum-deep); }
.also-list { list-style: none; padding: 0; margin: 0; }
.also-list li { padding: .6rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.also-list li:first-child { border-top: 1px solid var(--rule); }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .free-list { columns: 1; } }

/* Rooms */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3.5vw, 3rem); }
.room { display: flex; flex-direction: column; }
.room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room-body { padding-top: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.room h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-stretch: 75%; font-weight: 780; margin-bottom: .6rem; }
.room ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.room li { padding: .45rem 0 .45rem 1.6rem; position: relative; margin: 0; border-bottom: 1px solid var(--rule); }
.room li::before { content: ""; position: absolute; left: 0; top: .95em; width: .7rem; height: .7rem; border-radius: 50%; border: 3px solid var(--lime); }
.room .btn-row { margin-top: auto; }
@media (max-width: 760px) { .rooms { grid-template-columns: 1fr; } }
.note { background: var(--lime-soft); border-left: 5px solid var(--lime); padding: 1rem 1.25rem; margin: 0 0 var(--space-4); }
.note p:last-child { margin: 0; }

/* Photo strip */
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; grid-template-rows: 220px 220px; gap: .6rem; }
.strip a { display: block; overflow: hidden; background: var(--concrete); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.strip a:hover img { transform: scale(1.03); }
.strip a:nth-child(1) { grid-row: span 2; }
.strip a:nth-child(4) { grid-row: span 2; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); } .strip a:nth-child(1), .strip a:nth-child(4) { grid-row: auto; } .strip a:nth-child(1) { grid-column: span 2; } }

/* Green ledger */
.green-mark { width: 72px; height: 72px; margin-bottom: 1.25rem; }
.ledger { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.ledger div { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.ledger dt { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; font-stretch: 68%; color: var(--lime); line-height: 1; }
.ledger dd { margin: .35rem 0 0; color: #e2d6e5; font-size: .98rem; }
@media (max-width: 520px) { .ledger { grid-template-columns: 1fr; } }

/* Distances */
.distances { list-style: none; padding: 0; margin: 0; }
.distances li { display: flex; align-items: baseline; gap: .6rem; padding: .55rem 0; margin: 0; border-bottom: 1px solid var(--rule); }
.distances li span:first-child { flex: 1; }
.distances li span:last-child { font-weight: 750; font-stretch: 85%; white-space: nowrap; color: var(--plum-deep); }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--concrete); border: 1px solid var(--rule); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Activities list */
.acts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.acts li { margin: 0; padding: 1rem 0; border-top: 2px solid var(--plum-deep); }
.acts h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.acts p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 620px) { .acts { grid-template-columns: 1fr; } }

/* News list */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid var(--rule); margin: 0; }
.news-item:last-child { border-bottom: 1px solid var(--rule); }
.news-item time { font-weight: 650; font-stretch: 85%; color: var(--ink-2); padding-top: .2rem; }
.news-item h3 { margin-bottom: .35rem; font-size: 1.3rem; }
.news-item h3 a { text-decoration: none; color: var(--plum-deep); }
.news-item h3 a:hover { color: var(--orange); text-decoration: underline; }
.news-item p { margin: 0; color: var(--ink-2); }
@media (max-width: 620px) { .news-item { grid-template-columns: 1fr; gap: .25rem; } }

/* Good to know */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; margin: 0; }
.facts div { padding: 1.1rem 0; border-top: 2px solid var(--plum-deep); }
.facts dt { font-weight: 750; font-stretch: 85%; font-size: 1.05rem; color: var(--plum-deep); }
.facts dd { margin: .2rem 0 0; color: var(--ink-2); }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--plum); color: #efe6f1; padding-block: var(--space-5); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: #d9cddc; max-width: 36rem; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--concrete); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { margin-bottom: .25em; max-width: 20ch; }
.page-head .lede { margin: 0; max-width: 44rem; color: var(--ink-2); }
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: var(--ink-2); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #9c8fa0; }
.crumbs a { color: var(--ink-2); }
.page-photo { position: relative; background: var(--plum-deep); }
.page-photo img { width: 100%; height: clamp(260px, 42vw, 520px); object-fit: cover; }
.page-photo figcaption { position: absolute; right: var(--gutter); bottom: .75rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.6); margin: 0; }

.page-body { padding-block: var(--space-5) var(--space-6); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } }

.prose { max-width: none; min-width: 0; }
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3, .prose > blockquote, .prose > figure, .prose > .note, .prose > .faq, .prose > .form, .prose > .audio { max-width: 48rem; }
.prose-wide { max-width: none; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose > img, .prose > p > img { margin: 1.5rem 0; }
.prose figure { margin: 2rem 0; }
.prose figure img { margin: 0; }
.prose ul li::marker { color: var(--lime-deep); }
.prose ol li::marker { color: var(--plum); font-weight: 700; }
.prose blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.25rem; border-left: 5px solid var(--lime); font-size: 1.15rem; color: var(--plum-deep); }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-stretch: 88%; color: var(--plum-deep); }
.table-scroll { overflow-x: auto; }
.meta { color: var(--ink-2); font-size: .95rem; margin-bottom: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.tags li { margin: 0; }
.tags a, .tags span { display: inline-block; font-size: .875rem; padding: .2rem .65rem; border: 1px solid var(--rule); border-radius: 99px; text-decoration: none; color: var(--ink-2); }
.tags a:hover { border-color: var(--plum); color: var(--plum); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 860px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }
.col-block { border-top: 2px solid var(--plum-deep); padding-top: 1rem; }
.col-block h3 { margin-top: 0; }

/* Aside */
.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.aside-box { border: 1px solid var(--rule); padding: 1.35rem; background: #fff; }
.aside-book { background: var(--plum); border-color: var(--plum); color: #efe6f1; }
.aside-book h2 { color: #fff; font-size: 1.7rem; margin-bottom: .35rem; }
.aside-book p { font-size: .98rem; color: #e2d6e5; }
.aside-box h2 { font-size: 1.35rem; font-stretch: 85%; }
.aside-box address { font-style: normal; font-size: .98rem; }
.aside-nav { list-style: none; padding: 0; margin: 0; }
.aside-nav li { margin: 0; border-top: 1px solid var(--rule); }
.aside-nav a { display: block; padding: .5rem 0; text-decoration: none; font-size: .98rem; }
.aside-nav a[aria-current="page"] { font-weight: 700; color: var(--orange); }
@media (max-width: 960px) { .aside { position: static; } }

/* FAQ accordion */
.faq { border-top: 2px solid var(--plum-deep); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 2.5rem 1.05rem 0; font-weight: 700; font-stretch: 90%; font-size: 1.12rem; position: relative; color: var(--plum-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 3px solid var(--plum); border-bottom: 3px solid var(--plum); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq summary:hover { color: var(--orange); }
.faq .answer { padding: 0 0 1.2rem; max-width: 44rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .6rem; }
.gallery a { display: block; overflow: hidden; background: var(--concrete); aspect-ratio: 4 / 3; }
.gallery a.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,10,24,.94); display: none; align-items: center; justify-content: center; padding: 3.5rem 4.5rem; }
.lightbox.is-open { display: flex; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; }
.lightbox figcaption { color: #e2d6e5; text-align: center; margin-top: .8rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; margin-top: -24px; }
.lb-next { right: 1rem; top: 50%; margin-top: -24px; }
@media (max-width: 600px) { .lightbox { padding: 3.5rem .5rem; } .lb-prev, .lb-next { top: auto; bottom: 1rem; } }

/* Green tour */
.tour-list { list-style: none; padding: 0; margin: 0; counter-reset: stop; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 2rem; }
.tour-list li { counter-increment: stop; margin: 0; border-top: 2px solid var(--plum-deep); padding: 1rem 0 1.4rem; }
.tour-list a { text-decoration: none; display: block; }
.tour-list li > a::before, .tour-list li > div::before { content: counter(stop, decimal-leading-zero); display: block; font-size: 2.2rem; font-weight: 800; font-stretch: 66%; color: var(--lime-deep); line-height: 1; margin-bottom: .35rem; }
.tour-list strong { display: block; font-size: 1.2rem; font-stretch: 85%; color: var(--plum-deep); }
.tour-list span { display: block; color: var(--ink-2); font-size: .98rem; }
.tour-list a:hover strong { color: var(--orange); }
.stop-badge { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.stop-badge img { width: 56px; height: 56px; }
.stop-badge span { font-weight: 700; font-stretch: 85%; color: var(--lime-deep); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: var(--space-4); border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.pager a { text-decoration: none; display: block; }
.pager small { display: block; color: var(--ink-2); font-size: .875rem; }
.pager strong { font-size: 1.15rem; font-stretch: 85%; }
.pager .next { text-align: right; grid-column: 2; }

/* Forms */
.form { display: grid; gap: 1.1rem; max-width: 44rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.form legend { font-size: 1.35rem; font-weight: 750; font-stretch: 85%; color: var(--plum-deep); margin-bottom: .5rem; padding: 0; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field .label { font-weight: 650; font-size: .98rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid #b9b3bb; border-radius: var(--radius-s); background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lime); outline-offset: 0; border-color: var(--plum); }
.checks { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; }
.checks label { font-weight: 400; display: inline-flex; gap: .45rem; align-items: center; }
.req { color: var(--orange); }
.form-help { font-size: .92rem; color: var(--ink-2); }
.form-status { font-weight: 650; color: var(--lime-deep); }

/* Audio */
.audio { background: var(--plum); color: #efe6f1; padding: 1.5rem; margin: 1.5rem 0 2rem; }
.audio h3 { color: #fff; margin-top: 0; }
.audio audio { width: 100%; margin: .5rem 0 1rem; }
.audio a { color: #fff; }

/* Seasons */
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 1.75rem; }
.seasons > div { border-top: 6px solid var(--plum); padding-top: 1rem; }
.seasons > div:nth-child(2) { border-color: var(--lime); }
.seasons > div:nth-child(3) { border-color: var(--orange); }
.seasons > div:nth-child(4) { border-color: var(--t-silver); }
.seasons ul { padding-left: 1.1em; font-size: 1rem; }
@media (max-width: 900px) { .seasons { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.75rem; } }
@media (max-width: 520px) { .seasons { grid-template-columns: 1fr; } }

/* Sights table-like list */
.sights { list-style: none; padding: 0; margin: 0; }
.sights li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: .25rem 2rem; padding: 1rem 0; border-top: 1px solid var(--rule); margin: 0; }
.sights li:last-child { border-bottom: 1px solid var(--rule); }
.sights strong { display: block; font-size: 1.12rem; font-stretch: 88%; color: var(--plum-deep); }
.sights .how { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 700px) { .sights li { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 4px solid var(--plum); }
.timeline li { position: relative; padding: 0 0 1.4rem 1.6rem; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -12px; top: .3rem; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--plum); }
.timeline strong { display: block; font-stretch: 85%; font-size: 1.1rem; color: var(--plum-deep); }

.video { position: relative; aspect-ratio: 16 / 9; background: #000; margin: 1.5rem 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: #d9cddc; font-size: .98rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: var(--space-5); }
.footer-logo { display: inline-block; background: #fff; padding: .55rem .8rem; border-radius: var(--radius-m); margin-bottom: 1.1rem; }
.footer-logo img { height: 40px; width: auto; }
.site-footer h2 { color: #fff; font-size: 1.15rem; font-stretch: 85%; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .45rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--lime); }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.social { display: flex; gap: 1.1rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* 404 */
.notfound { padding-block: var(--space-6); }
.notfound h1 { font-size: clamp(3rem, 10vw, 7rem); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .tline .stops::before { transform: none !important; }
  .js .tline .stop { opacity: 1 !important; transform: none !important; }
}
@media print {
  .utility, .site-header, .site-footer, .aside, .cta-band { display: none; }
}

/* Components inside prose keep their own spacing */
.prose .room h3, .prose .acts h3, .prose .seasons h3, .prose .col-block h3, .prose .col-block h2 { margin-top: 0; }
.prose .rooms { margin-top: 1.5rem; }
.prose figure img { max-height: 640px; width: auto; }
.prose .seasons { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.75rem; }
@media (max-width: 520px) { .prose .seasons { grid-template-columns: 1fr; } }
.field input[type="checkbox"], .field input[type="radio"] { width: 1.1rem; height: 1.1rem; padding: 0; flex: 0 0 auto; accent-color: var(--plum); }
.checks label { align-items: flex-start; }
.checks input { margin-top: .3rem; }
