/* Opts out of the automatic darkening some in-app browsers apply (Messenger on Android). */
:root {
  color-scheme: only light;
  --parchment: #e7e5d9;
  --espresso: #302620;
  --linen: #e0dbbc;
  --card: #f2f0e6;
  --tile-a: #efe9cb;
  --tile-b: #d7cfab;
  --tile-c: #c9cbb3;
  --sand: #d9b284;
  --gold: #d7cfa4;
  --frontier: #999d7a;
  --deep-frontier: #4f5340;
  --mist: #dcddcc;
  --orange: #e0703a;
  --deep-orange: #b8521f;
  --rust: #a84a1d;
  --rust-dark: #7e3714;
  --teal: #0b7a94;
  --teal-dark: #08647a;
  --soft: #6e5640;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --slab: "Alfa Slab One", Georgia, serif;
  --gl: 20px;
  --gr: 20px;
}
@media (min-width: 1000px) { :root { --gl: 132px; --gr: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Safari before 15.4 has no <dialog>: keep the closed menu hidden. */
dialog:not([open]) { display: none; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--espresso);
  font: 400 16px/1.7 var(--body);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
main a:not(.btn), .book-notes a { color: var(--rust); }
main a:not(.btn):hover { color: var(--rust-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, .track:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px;
}
.dark a:focus-visible, .dark button:focus-visible, .site-foot a:focus-visible, .menu a:focus-visible, .split-text a:focus-visible { outline-color: var(--sand); }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 96px; top: 24px; z-index: 50; background: var(--tile-a); padding: 8px 12px; }

.wrap {
  width: min(1100px, 100% - var(--gl) - var(--gr));
  margin-left: max(var(--gl), (100% - 1100px) / 2);
}

/* Headings */
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.05; text-transform: uppercase; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); }
.aside { display: block; margin: 10px 0 0; font-size: 16px; line-height: 1.4; color: var(--deep-frontier); }

/* Letter tiles */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 6px; margin: 0; }
.word { display: flex; gap: 6px; }
.word + .word { margin-left: clamp(14px, 3vw, 36px); }
.tile {
  --r: 0deg;
  display: grid; place-items: center;
  width: clamp(46px, 7.4vw, 96px); aspect-ratio: 1;
  background: var(--tile-a);
  color: var(--espresso);
  font: 400 clamp(30px, 5vw, 64px)/1 var(--slab);
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: inset 0 -4px 0 rgba(48,38,32,.22), 0 6px 14px rgba(0,0,0,.28);
  transform: rotate(var(--r));
}
.tile:nth-child(3n+1) { --r: -2.5deg; }
.tile:nth-child(3n+2) { --r: 1.5deg; background: var(--tile-b); }
.tile:nth-child(3n) { background: var(--tile-c); }
.tile:nth-child(4n) { --r: -1deg; }
.tile:nth-child(5n+2) { color: var(--deep-orange); }
.tile:nth-child(7n+4) { color: var(--deep-frontier); }
/* "Backpackers" sits on its own row; on narrow screens its tiles shrink so all 11 fit. */
.word.long { flex-basis: 100%; justify-content: center; margin-left: 0; }
.word.long .tile { width: min(clamp(46px, 7.4vw, 96px), calc((100vw - 40px - 10 * 6px) / 11)); font-size: min(clamp(30px, 5vw, 64px), calc((100vw - 40px - 10 * 6px) / 11 * .66)); }
@media (prefers-reduced-motion: no-preference) {
  .hero .tile, .page-top .tile { animation: drop .5s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
  @keyframes drop { from { opacity: 0; transform: translateY(-12px) rotate(var(--r)); } }
}

/* Fixed brand tiles and round buttons */
.rail { position: fixed; left: 32px; top: 50%; transform: translateY(-50%); z-index: 20; display: none; flex-direction: column; gap: 6px; text-decoration: none; }
.rail .tile { width: 40px; font-size: 22px; box-shadow: inset 0 -3px 0 rgba(48,38,32,.22), 0 3px 8px rgba(0,0,0,.25); }
@media (min-width: 1000px) { .rail { display: flex; } }

.round {
  position: fixed; left: 16px; z-index: 30;
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  border: 0; cursor: pointer;
  font: 500 14px/1.2 var(--body); text-align: center; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.menu-btn { top: 16px; background: var(--linen); color: var(--espresso); }
.menu-btn svg { width: 28px; height: 28px; }
.book-btn { bottom: 16px; background: var(--teal); color: #fff; width: 80px; height: 80px; }
.book-btn:hover { background: var(--teal-dark); }
.dock { display: contents; }
@media (max-width: 699px) {
  body { padding-bottom: 64px; }
  .dock { display: flex; justify-content: space-between; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 64px; padding: 0 12px; background: var(--espresso); box-shadow: 0 -2px 12px rgba(0,0,0,.2); }
  .dock .round { position: static; width: 48px; height: 48px; box-shadow: none; }
  .dock .menu-btn svg { width: 22px; height: 22px; }
  .dock .book-btn { width: auto; height: 44px; padding: 0 24px; border-radius: 999px; font-size: 15px; }
  .dock .book-btn br { display: none; }
  /* On phones the TBB tiles sit in the bottom bar as the way home. */
  .rail { display: flex; flex-direction: row; top: auto; bottom: 14px; left: 74px; transform: none; z-index: 31; gap: 4px; }
  .rail .tile { width: 32px; font-size: 18px; }
  /* Longest page title is ESSENTIAL: nine tiles must fit the width. */
  .tiles.sm .word { gap: 4px; }
  .tiles.sm .tile { width: min(clamp(36px, 5.2vw, 66px), calc((100vw - 40px - 8 * 4px) / 9)); font-size: min(clamp(22px, 3.4vw, 42px), calc((100vw - 40px - 8 * 4px) / 9 * .62)); }
}

/* Buttons: pills. Teal is only ever for booking. */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--espresso); color: var(--parchment);
  font: 500 15px/1.2 var(--body); text-decoration: none;
}
.btn:hover { background: #000; }
.btn.book { background: var(--teal); color: #fff; }
.btn.book:hover { background: var(--teal-dark); }
.btn.linen { background: var(--linen); color: var(--espresso); }
.btn.linen:hover { background: #d3cda9; }
.btn.line { background: transparent; color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.btn.line:hover { background: rgba(48,38,32,.08); }
.btn, .round, .foot-nav a, .menu nav a, .nav-btn { transition: background-color .15s ease-out, color .15s ease-out; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 110px 20px 120px;
  color: var(--card); background: var(--espresso);
  isolation: isolate; overflow: hidden;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%; z-index: -2; filter: brightness(1.08); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 52% 46% at 50% 52%, rgba(38,30,25,.5), rgba(38,30,25,0) 100%),
    linear-gradient(rgba(38,30,25,.6), rgba(38,30,25,.56) 40%, rgba(38,30,25,.66)); }
.hero-inner { max-width: 720px; text-align: center; }
.hero .sub { margin: 0 0 28px; font-size: 15px; letter-spacing: 4px; text-transform: uppercase; color: var(--sand); }
.hero .lede { margin: 32px auto 30px; max-width: 34em; font-size: 18px; line-height: 1.6; color: var(--card); }
.hero .sub, .hero .lede, .hero-scores { text-shadow: 0 1px 2px rgba(20,14,10,.8), 0 0 18px rgba(20,14,10,.6); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-scores { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--card); }
.hero-scores b { font: 600 20px/1 var(--head); color: var(--sand); margin-right: 4px; }

/* Our place */
.place { background: var(--linen); border-top: 6px solid var(--orange); border-bottom: 4px solid var(--frontier); padding: 96px 20px; text-align: center; }
.place-inner { max-width: 880px; margin: 0 auto; }
.place h2 { font-size: 22px; letter-spacing: 3px; color: var(--rust); margin-bottom: 28px; }
.place p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.8; }
.place .closing { margin: 28px auto; max-width: 30em; font: 600 clamp(22px, 2.2vw, 30px)/1.35 var(--head); color: var(--deep-frontier); }
.place p:last-child { margin-bottom: 0; }

/* Rows: photo beside text */
.section { padding: 96px 0; }
.section.tight-top { padding-top: 0; }
.row { display: grid; gap: 28px; align-items: center; }
.row + .row { margin-top: 96px; }
/* Rows with a list that opens stay top-aligned, or the photo moves as the text grows. */
.row:has(.acc) { align-items: start; }
@media (min-width: 860px) {
  .row { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .row.flip > .media { order: 2; }
  .row.flip { grid-template-columns: 1fr 1.1fr; }
}
.row .text > p:first-of-type { margin-top: 24px; }
.row .text .btn { margin-top: 8px; }
.intro { max-width: 640px; margin-bottom: 72px; }
.intro p { margin-top: 20px; }

/* The little white tags */
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { padding: 5px 13px; border-radius: 4px; background: rgba(255,255,255,.62); font-size: 14px; line-height: 1.4; }

/* Carousel */
.carousel { position: relative; border-radius: 14px; overflow: hidden; background: var(--tile-b); }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 36px; color: #fff; font-size: 14px; line-height: 1.4;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}
.carousel.single figcaption { padding-bottom: 16px; }
.nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(48,38,32,.55); color: #fff;
}
.nav-btn:hover { background: rgba(48,38,32,.8); }
.nav-btn svg { width: 18px; height: 18px; }
.nav-btn.prev { left: 12px; }
.nav-btn.next { right: 12px; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); }
.dots span.on { background: #fff; }
.carousel.single .nav-btn, .carousel.single .dots { display: none; }

/* Plus circles */
.plus { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--frontier); color: var(--espresso); }
.plus::before, .plus::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; background: currentColor; transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0); }
@media (prefers-reduced-motion: reduce) { .plus::before, .plus::after { transition: none; } }

/* Accordions */
.acc { margin-top: 30px; border-top: 1px solid var(--frontier); }
.acc details { border-bottom: 1px solid var(--frontier); }
.acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 4px 12px 12px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500;
}
.acc summary::-webkit-details-marker { display: none; }
.acc .body { padding: 0 12px 20px; }
.acc ul { margin: 0 0 14px; padding-left: 1.2em; }
.acc .more { font-weight: 500; }
.acc .body p { margin: 0 0 12px; }

/* Quotes */
.quote.one { padding: 0; }
.quote blockquote, .reviews blockquote { margin: 0; max-width: 900px; }
.quote blockquote p { font: 600 clamp(22px, 2.4vw, 30px)/1.35 var(--head); color: var(--deep-frontier); }
.quote footer, .reviews footer { font-size: 15px; color: var(--soft); }

/* Review scores */
.reviews { padding: 96px 0; background: var(--card); border-top: 1px solid var(--frontier); border-bottom: 1px solid var(--frontier); }
.reviews h2 { margin-bottom: 36px; }
.scores { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .scores { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.scores li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 18px 22px; background: var(--parchment); border: 1px solid var(--frontier); border-radius: 12px; }
.scores .score { grid-row: span 2; font: 700 44px/1 var(--head); color: var(--deep-frontier); }
.scores .score small { font-size: 18px; font-weight: 500; color: var(--soft); margin-left: 2px; }
.scores .where { font-weight: 600; font-size: 17px; line-height: 1.3; }
.scores .count { font-size: 14px; line-height: 1.3; color: var(--soft); }
.scores-date { margin: 12px 0 0; font-size: 13px; color: var(--soft); }
.quote-pair { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 860px) { .quote-pair { grid-template-columns: 1fr 1fr; gap: 72px; } }
.reviews blockquote p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; }

/* Split: the little things */
.split { display: grid; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-text { background: var(--deep-frontier); color: var(--linen); padding: 96px 20px; }
.split-text h2 { color: var(--parchment); }
.split-text .inner { max-width: 480px; }
@media (min-width: 900px) { .split-text .inner { position: sticky; top: 110px; } }
.split-text p:first-of-type { margin-top: 24px; }
.split-text .btn { margin-top: 12px; }
.split-list { background: var(--linen); padding: 72px 20px; }
@media (min-width: 900px) {
  .split-text { padding: 96px 56px 96px var(--gl); }
  .split-list { padding: 96px var(--gr) 96px 64px; }
}
.house { max-width: 520px; }
.house details { border-bottom: 2px solid var(--orange); }
.house summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; cursor: pointer; list-style: none;
  font: 700 clamp(24px, 2.4vw, 30px)/1.1 var(--head); text-transform: uppercase; color: var(--deep-orange);
}
.house summary::-webkit-details-marker { display: none; }
.house .body { padding: 0 4px 22px; }
.house .body img { margin-top: 6px; border-radius: 14px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.house .body img.tall { aspect-ratio: 4 / 5; max-width: 340px; }
.house .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.house .pics img { aspect-ratio: 1; }

/* About us */
.about { max-width: 760px; }
.about h2 { margin-bottom: 24px; }
.about p { font-size: 18px; line-height: 1.75; }
.about .sign { font: 600 24px/1 var(--head); color: var(--deep-frontier); margin-top: 8px; }

/* Essential info band */
.info { background: var(--mist); border-top: 6px solid var(--orange); padding: 96px 0; }
.info h2 { text-align: center; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-bottom: 40px; }
.cards > div { background: var(--card); border: 1px solid var(--frontier); border-radius: 12px; padding: 22px 22px 8px; }
.cards h3 { font: 500 17px/1.3 var(--body); text-transform: none; color: var(--deep-frontier); margin-bottom: 8px; }
.cards p { font-size: 15px; line-height: 1.7; }
.info .center { text-align: center; margin: 0; }

/* Find us */
.contact { margin: 24px 0 28px; padding: 0; list-style: none; }
.contact li { padding: 8px 0; border-bottom: 1px solid var(--frontier); }
.contact li:first-child { border-top: 1px solid var(--frontier); }
.contact li { display: grid; grid-template-columns: 6.5em 1fr; column-gap: 12px; }
.contact li > span:first-child { color: var(--soft); }
.contact .v { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 699px) {
  .contact li { grid-template-columns: 1fr; padding: 10px 0; }
  .contact li > span:first-child { font-size: 14px; line-height: 1.4; }
}

/* Booking band */
.book-band { background: var(--orange); color: var(--espresso); padding: 64px 0; }
.book-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.book-band h2 { margin-bottom: 8px; }
.book-band p { margin: 0; font-size: 17px; font-weight: 500; }
.book-band .btn { padding: 18px 34px; font-size: 16px; }

/* Footer */
.site-foot { background: var(--espresso); color: var(--parchment); padding: 96px 0 120px; }
.foot-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr; } }
.site-foot .slogan { font-size: clamp(34px, 4vw, 48px); color: var(--gold); max-width: 12em; margin-bottom: 28px; }
.site-foot .logo { display: inline-block; margin: 0 0 28px; padding: 14px 18px; background: var(--parchment); border-radius: 10px; }
.site-foot .logo img { height: 76px; width: auto; }
.foot-contact p { margin: 0 0 4px; font-size: 15px; line-height: 1.6; }
.social { display: flex; gap: 12px; margin: 24px 0 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--espresso); }
.social svg { width: 20px; height: 20px; }
.social .fb { background: var(--frontier); }
.social .ig { background: var(--orange); }
.foot-nav { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
@media (min-width: 900px) { .foot-nav { align-items: flex-end; } }
.foot-nav > a { font: 600 20px/1.3 var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--orange); text-decoration: none; }
.foot-nav > a:hover, .foot-nav > a[aria-current] { color: var(--sand); }
.foot-small { margin-top: 56px; font-size: 14px; color: var(--gold); }

/* Menu dialog */
.menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; padding: 0;
  background: var(--espresso); color: var(--parchment);
}
.menu::backdrop { background: rgba(0,0,0,.5); }
.menu .inner { min-height: 100%; padding: 120px var(--gr) 120px var(--gl); display: grid; gap: 40px; align-content: start; }
@media (min-width: 900px) { .menu .inner { grid-template-columns: 1.3fr 1fr; align-content: center; } }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav > a { font: 700 clamp(34px, 5vw, 56px)/1.1 var(--head); text-transform: uppercase; text-decoration: none; color: var(--linen); }
.menu nav > a:hover { color: var(--sand); }
/* Two groups, so it's clear which links scroll this page and which open another. */
.menu-label { margin: 0 0 6px; font-size: 15px; color: var(--gold); }
.menu-label.pages { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(215,207,164,.3); }
.menu nav > a.page { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; color: var(--sand); }
.menu nav > a.page svg { width: .6em; height: .6em; flex: none; }
.menu nav > a.page:hover { color: #fff; }
.menu .close { top: 16px; background: var(--linen); color: var(--espresso); position: absolute; }
.menu .insta { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); }
.menu .insta svg { width: 22px; height: 22px; flex: none; }

/* Sub-links under "Essential info" in the menu and footer */
.sub-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 2px 0 12px; }
.menu nav .sub-links a, .foot-nav .sub-links a { font: 400 16px/1.4 var(--body); color: var(--gold); }
.menu nav .sub-links a:hover, .foot-nav .sub-links a:hover { color: #fff; }
.foot-nav .sub-links a { font-size: 15px; }
@media (min-width: 900px) { .foot-nav .sub-links { justify-content: flex-end; } }

/* Info and booking page top */
.page-top { background: var(--espresso); color: var(--card); padding: 140px 20px 88px; text-align: center; }
.tiles.sm { column-gap: clamp(14px, 3vw, 36px); }
.tiles.sm .word + .word { margin-left: 0; }
.tiles.sm .tile { width: clamp(36px, 5.2vw, 66px); font-size: clamp(22px, 3.4vw, 42px); }
.page-top .sub { margin: 28px 0 0; font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: var(--sand); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 28px auto 0; padding: 0; list-style: none; max-width: 720px; }
.jump a { color: var(--linen); }

/* Info page blocks */
.narrow { max-width: 820px; }
.terms { margin: 32px 0 32px; border-top: 1px solid var(--frontier); }
.terms > div { display: grid; gap: 4px 32px; padding: 18px 12px; border-bottom: 1px solid var(--frontier); }
@media (min-width: 700px) { .terms > div { grid-template-columns: 13em 1fr; } }
.terms dt { font-weight: 600; color: var(--deep-frontier); }
.terms dd { margin: 0; }
.terms dd p:last-child { margin-bottom: 0; }
.offer { background: var(--linen); border-top: 6px solid var(--orange); padding: 96px 0; }
.offer h2 { margin-bottom: 48px; }
.offer .row { align-items: start; }
.ticks { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--orange); }
.ticks li { padding: 10px 4px; border-bottom: 1px solid rgba(48,38,32,.2); line-height: 1.5; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.row + .narrow { margin-top: 56px; }

/* Booking page */
.page-top.compact { padding: 64px 20px 40px; }
@media (max-width: 699px) { .page-top.compact { padding: 36px 16px 28px; } .page-top.compact .sub { margin-top: 18px; font-size: 13px; } }
.booking { padding: 36px 0 96px; }
@media (max-width: 699px) { .booking .wrap { width: calc(100% - 24px); margin-left: 12px; } }
.book-notes { display: grid; gap: 20px 40px; margin-bottom: 28px; font-size: 15px; line-height: 1.6; }
@media (min-width: 860px) { .book-notes { grid-template-columns: 1fr 1.25fr 1fr; } }
.book-notes > div { border-top: 2px solid var(--orange); padding-top: 14px; }
.book-notes p { margin: 0 0 8px; }
.book-notes strong { font-weight: 600; }
.book-notes details { border-bottom: 1px solid var(--frontier); }
.book-notes details:first-child { margin-top: -6px; }
.book-notes summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; cursor: pointer; list-style: none; font-weight: 600; }
.book-notes summary::-webkit-details-marker { display: none; }
.book-notes .plus { width: 26px; height: 26px; }
.book-notes .plus::before, .book-notes .plus::after { left: 7px; right: 7px; top: 12px; }
.book-notes details > div { padding: 0 0 12px; }
.book-notes details ul { margin: 0; padding-left: 1.1em; }
.book-notes details li + li { margin-top: 6px; }
.book-notes a { overflow-wrap: anywhere; }
.phone-only { display: none; }
@media (max-width: 699px) { .phone-only { display: block; } }
.rack { padding: 12px; background: var(--linen); border: 1px solid var(--frontier); border-radius: 14px; }
/* Starting heights close to SmartBooking's calendar (about 564px on a computer, 1,290px on a phone),
   so the frame barely moves when iframe-resizer sets the exact height. */
.rack iframe { display: block; width: 100%; height: 600px; border: 0; border-radius: 8px; background: #fff; }
@media (max-width: 699px) {
  .rack { padding: 6px; }
  .rack iframe { height: 1250px; }
}
.frame-help { margin: 14px 0 0; font-size: 15px; }
.book-ask { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--frontier); }

/* Must come after the base .menu .close rule, which otherwise wins on phones. */
@media (max-width: 699px) {
  .menu .close { position: fixed; top: auto; bottom: 8px; left: 12px; width: 48px; height: 48px; }
  .menu .inner { padding-bottom: 88px; }
  .hero::after { background:
    radial-gradient(ellipse 95% 50% at 50% 55%, rgba(38,30,25,.5), rgba(38,30,25,0) 100%),
    linear-gradient(rgba(38,30,25,.62), rgba(38,30,25,.58) 40%, rgba(38,30,25,.68)); }
  .hero .lede { font-size: 17px; }
}

/* Dorm list: pick a room to see its photo. Rows select, they don't open. */
.room-picks { margin: 16px 0 0; border-top: 1px solid var(--frontier); }
.room-picks button {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 13px 12px; border: 0; border-bottom: 1px solid var(--frontier); background: none;
  color: var(--espresso); font: 400 17px/1.3 var(--body); text-align: left; cursor: pointer;
}
.room-picks .name { font-weight: 500; }
.room-picks .beds { margin-left: auto; color: var(--soft); font-size: 15px; }
.room-picks button:hover { background: rgba(153,157,122,.12); }
.room-picks button[aria-pressed="true"] { background: rgba(153,157,122,.18); }
.room-picks button[aria-pressed="true"] .name { color: var(--rust-dark); font-weight: 700; }
.room-picks button:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }

/* Phones: the desktop spacing leaves half a screen of nothing between sections. */
@media (max-width: 699px) {
  .section, .reviews, .info, .offer { padding-top: 64px; padding-bottom: 64px; }
  .section.tight-top { padding-top: 0; }
  .row + .row { margin-top: 72px; }
  .row { gap: 24px; }
  .intro { margin-bottom: 44px; }
  .place { padding: 64px 20px; }
  .split-text { padding: 64px 20px 56px; }
  .split-list { padding: 48px 20px 56px; }
  .book-band { padding: 48px 0; }
  .site-foot { padding: 64px 0 96px; }
  .foot-small { margin-top: 40px; }
  .quote-pair { margin-top: 40px; }
  .page-top { padding: 72px 20px 56px; }
  .offer h2 { margin-bottom: 32px; }
}

/* The logo: light version on dark backgrounds, black and orange on light ones. */
.rail-logo { display: none; }
@media (max-width: 699px) {
  .rail .tile { display: none; }
  /* Centred in the gap between the 60px menu button and the ~125px Book button (12px edges);
     bottom 10px puts the lettering, not the image box, on the bar's middle. */
  .rail { left: calc((100% - 77px) / 2); bottom: 10px; transform: translateX(-50%); }
  .rail .rail-logo { display: block; height: 44px; width: auto; }
}
.hero > img.hero-logo { position: absolute; inset: 24px auto auto 112px; z-index: 1; width: auto; height: 58px; filter: none; object-fit: contain; }
@media (max-width: 699px) { .hero > img.hero-logo { display: none; } }
.sign-logo { display: block; height: 70px; width: auto; margin-top: 14px; }
.page-logo { display: block; width: max-content; margin: 0 auto 36px; }
.page-logo img { height: 64px; width: auto; }
.page-top { padding-top: 90px; }
.page-top.compact .page-logo { margin-bottom: 24px; }
.page-top.compact .page-logo img { height: 52px; }
@media (max-width: 699px) {
  .page-top { padding-top: 40px; }
  .page-logo { margin-bottom: 24px; }
  .page-logo img { height: 48px; }
  .page-top.compact .page-logo { margin-bottom: 16px; }
  .page-top.compact .page-logo img { height: 40px; }
}

/* Phones: start the hero near the top so the buttons and scores sit above the bottom bar. */
@media (max-width: 699px) {
  .hero { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); place-items: start center; padding: 28px 20px 40px; }
  .hero .sub { margin-bottom: 18px; }
  .hero .lede { margin: 20px auto 20px; font-size: 16px; line-height: 1.5; }
  .hero-scores { margin-top: 16px; }
}

/* Desktop: a larger intro under the name. */
@media (min-width: 700px) { .hero .lede { font-size: 21px; max-width: 32em; } }

/* Round buttons float over both dark and light areas: a two-colour focus ring shows on either. */
.round:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; box-shadow: 0 0 0 6px var(--espresso); }

/* Bigger tap areas for the small text links. */
.menu nav .sub-links a, .foot-nav .sub-links a, .jump a { display: inline-block; padding: 8px 0; }

@media (max-width: 699px) {
  /* Must come after the base .tiles.sm rule. ESSENTIAL (nine tiles) has to fit at 320px. */
  .tiles.sm .tile { width: min(clamp(36px, 5.2vw, 66px), calc((100vw - 40px - 8 * 4px) / 9)); font-size: min(clamp(22px, 3.4vw, 42px), calc((100vw - 40px - 8 * 4px) / 9 * .62)); }
  /* TASMAN (six tiles) has to fit at 320px too. */
  .hero .word:not(.long) .tile { width: min(clamp(46px, 7.4vw, 96px), calc((100vw - 40px - 5 * 6px) / 6)); font-size: min(clamp(30px, 5vw, 64px), calc((100vw - 40px - 5 * 6px) / 6 * .66)); }
}

/* Tablets and narrow windows (700-999px) get the phone's bottom bar too: the floating
   round buttons only fit beside the content from 1000px. Same rules as the phone block. */
@media (min-width: 700px) and (max-width: 999px) {
  body { padding-bottom: 64px; }
  .dock { display: flex; justify-content: space-between; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 64px; padding: 0 12px; background: var(--espresso); box-shadow: 0 -2px 12px rgba(0,0,0,.2); }
  .dock .round { position: static; width: 48px; height: 48px; box-shadow: none; }
  .dock .menu-btn svg { width: 22px; height: 22px; }
  .dock .book-btn { width: auto; height: 44px; padding: 0 24px; border-radius: 999px; font-size: 15px; }
  .dock .book-btn br { display: none; }
  .rail { display: flex; flex-direction: row; top: auto; bottom: 10px; left: calc((100% - 77px) / 2); transform: translateX(-50%); z-index: 31; gap: 4px; }
  .rail .tile { display: none; }
  .rail .rail-logo { display: block; height: 44px; width: auto; }
  .menu .close { position: fixed; top: auto; bottom: 8px; left: 12px; width: 48px; height: 48px; }
  .menu .inner { padding-bottom: 88px; }
  .hero > img.hero-logo { display: none; }
}

/* Short screens (phones held sideways): a slimmer bar leaves more of the page visible. */
@media (max-width: 999px) and (max-height: 500px) {
  body { padding-bottom: 48px; }
  .dock { height: 48px; padding: 0 10px; }
  .dock .menu-btn { width: 38px; height: 38px; }
  .dock .menu-btn svg { width: 20px; height: 20px; }
  .dock .book-btn { height: 36px; padding: 0 18px; font-size: 14px; }
  .rail { bottom: 6px; }
  .rail .rail-logo { height: 36px; }
  .menu .close { bottom: 5px; width: 38px; height: 38px; }
}

