/*
 * hs_sitepackage — layout.css
 * Site package for Highland Stays (highland-hotel.com)
 * Structure: 1 tokens · 2 base · 3 page header · 4 language menu · 5 breadcrumb
 *            6 content elements (frame / ce-*) · 7 checklist home · 8 inner pages
 *            9 venues · 10 search · 11 footer · 12 responsive · 13 print
 */

/* 1 — tokens */
:root {
  --hs-granite: #2e3337;
  --hs-granite-2: #474e54;
  --hs-granite-3: #6b7379;
  --hs-mica: #e8e5de;
  --hs-paper: #f5f3ed;
  --hs-white: #fffdf8;
  --hs-ink: #1c2023;
  --hs-muted: #5a6166;
  --hs-sea: #1d5c63;
  --hs-sea-dark: #164a50;
  --hs-gold: #b8901d;
  --hs-gold-soft: #e3c565;
  --hs-heather: #75557f;
  --hs-rule: #d6d1c6;
  --hs-radius: 6px;
  --hs-wrap: 1180px;
  --hs-measure: 68ch;
  --hs-display: "Fraunces", Georgia, "Times New Roman", serif;
  --hs-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

/* 2 — base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--hs-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--hs-ink);
  background-color: var(--hs-paper);
  background-image:
    radial-gradient(rgba(46, 51, 55, .07) 1px, transparent 1.4px),
    radial-gradient(rgba(117, 85, 127, .05) 1px, transparent 1.6px);
  background-size: 23px 23px, 37px 37px;
  background-position: 0 0, 11px 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hs-sea); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--hs-sea-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--hs-display); font-weight: 700; line-height: 1.18; color: var(--hs-granite); margin: 1.6em 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: .2em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.skiplink { position: absolute; left: -999px; top: .5rem; background: var(--hs-gold-soft); color: var(--hs-ink); padding: .5rem .9rem; z-index: 20; }
.skiplink:focus { left: .5rem; }
:focus-visible { outline: 3px solid var(--hs-gold); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3 — page header (not sticky) */
.page-header {
  background: var(--hs-granite);
  color: var(--hs-mica);
  border-bottom: 3px solid var(--hs-gold);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.page-header__inner {
  max-width: var(--hs-wrap);
  margin: 0 auto;
  padding: .85rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--hs-white); text-decoration: none; }
.brand:hover { color: var(--hs-white); }
.brand__mark { color: var(--hs-sea); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--hs-display); font-size: 1.38rem; font-weight: 700; letter-spacing: .01em; }
.brand__tag { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #b9b5ab; }
.mainnav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .35rem; }
.mainnav__link {
  display: inline-flex; align-items: baseline; gap: .38rem;
  padding: .4rem .55rem; border-radius: 999px;
  color: var(--hs-mica); text-decoration: none; font-size: .92rem; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.mainnav__link:hover { background: var(--hs-granite-2); color: var(--hs-white); }
.mainnav__no { font-family: var(--hs-display); font-size: .78rem; color: var(--hs-gold-soft); font-variant-numeric: tabular-nums; }
.mainnav__item--active .mainnav__link { background: var(--hs-mica); color: var(--hs-granite); }
.mainnav__item--active .mainnav__no { color: var(--hs-gold); }
.mainnav__toggle { display: none; }

/* 4 — language menu */
.language-menu__list { list-style: none; margin: 0; padding: 2px; display: flex; border: 1px solid var(--hs-gold); border-radius: 4px; }
.language-menu__item { margin: 0; }
.language-menu__link { display: block; padding: .2rem .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--hs-mica); text-decoration: none; border-radius: 3px; }
a.language-menu__link:hover { background: var(--hs-granite-2); color: var(--hs-white); }
.language-menu__item--active .language-menu__link { background: var(--hs-gold-soft); color: var(--hs-granite); }

/* 5 — breadcrumb */
.breadcrumb { max-width: var(--hs-wrap); margin: 0 auto; padding: .8rem 1.25rem 0; font-size: .86rem; }
.breadcrumb__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; color: var(--hs-muted); }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; margin-right: .3rem; color: var(--hs-rule); }

/* 6 — content elements */
.main-content { display: block; }
.frame { max-width: var(--hs-wrap); margin: 0 auto; padding: 0 1.25rem; }
.frame-space-after-large { margin-bottom: 3.2rem; }
.page-body .frame, .page-grid .frame { padding: 0; max-width: none; margin-left: 0; margin-right: 0; }
.ce-bodytext > :first-child { margin-top: 0; }
.ce-bodytext ul, .ce-bodytext ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.ce-bodytext li { margin-bottom: .35em; }
.ce-bodytext li strong:first-child { color: var(--hs-granite); }
.ce-gallery { margin: 1.6rem 0; }
.ce-gallery figure, figure.image { margin: 0; }
.ce-gallery img, figure.image img { border-radius: var(--hs-radius); background: var(--hs-mica); }
figcaption, .image-caption { font-size: .82rem; color: var(--hs-muted); margin-top: .45rem; }
.ce-textpic-wide img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.ce-gallery--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ce-gallery--pair img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ce-callout {
  border-left: 4px solid var(--hs-gold);
  background: var(--hs-white);
  padding: 1rem 1.2rem;
  margin: 1.6rem 0;
  border-radius: 0 var(--hs-radius) var(--hs-radius) 0;
}
.ce-callout__title { font-family: var(--hs-display); font-weight: 700; color: var(--hs-granite); margin-bottom: .35rem; }
.ce-callout ul { margin-bottom: 0; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 1rem/1.2 var(--hs-body);
  padding: .78rem 1.25rem .72rem;
  color: var(--hs-white); background: var(--hs-sea);
  border: 0; border-bottom: 4px solid var(--hs-gold);
  border-radius: 3px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease;
}
.btn:hover { background: var(--hs-sea-dark); color: var(--hs-white); transform: translateY(-1px); }
.btn__box { width: 1.05rem; height: 1.05rem; border: 2px solid currentColor; border-radius: 2px; display: inline-block; position: relative; }
.btn__box::after { content: ""; position: absolute; left: .2rem; top: -.12rem; width: .35rem; height: .7rem; border: solid var(--hs-gold-soft); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.btn--quiet { background: transparent; color: var(--hs-sea); border: 1px solid var(--hs-sea); border-bottom-width: 4px; }
.btn--quiet:hover { background: var(--hs-white); color: var(--hs-sea-dark); }

/* 7 — checklist home */
.intro { max-width: var(--hs-wrap); margin: 0 auto; padding: 2.6rem 1.25rem 2rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2.4rem; align-items: center; }
.intro__kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hs-heather); font-weight: 700; margin-bottom: .6rem; }
.intro__lede { font-size: 1.18rem; color: var(--hs-granite-2); max-width: 46ch; }
.intro__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.intro__figure img { aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; border-radius: var(--hs-radius); box-shadow: 10px 10px 0 var(--hs-mica); }

.checklist { max-width: var(--hs-wrap); margin: 0 auto 3rem; padding: 0 1.25rem; }
.checklist__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--hs-granite); padding-bottom: .7rem; }
.checklist__head h2 { margin: 0; }
.checklist__progress { position: sticky; top: 0; z-index: 5; background: var(--hs-paper); padding: .6rem 0; display: flex; align-items: center; gap: .8rem; font-size: .9rem; color: var(--hs-muted); }
.checklist__meter { flex: 1; height: 8px; background: var(--hs-mica); border-radius: 99px; overflow: hidden; }
.checklist__meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--hs-sea), var(--hs-gold)); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.checklist__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.checklist__step {
  display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) 13rem; gap: 1.4rem;
  padding: 2rem 0; border-bottom: 1px solid var(--hs-rule);
  opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease;
}
.js .checklist__step.is-pending { opacity: 0; transform: translateY(18px); }
.checklist__num {
  font-family: var(--hs-display); font-size: 4.2rem; line-height: .9; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px var(--hs-granite-3);
  font-variant-numeric: tabular-nums;
}
.checklist__step.is-done .checklist__num { color: var(--hs-gold-soft); -webkit-text-stroke-color: var(--hs-gold); }
.checklist__body h3 { margin: 0 0 .45rem; font-size: 1.45rem; }
.checklist__body p { max-width: 62ch; }
.checklist__links { list-style: none; padding: 0; margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.checklist__links a { display: inline-block; padding: .25rem .7rem; border: 1px solid var(--hs-rule); background: var(--hs-white); border-radius: 3px; font-size: .9rem; text-decoration: none; }
.checklist__links a:hover { border-color: var(--hs-sea); }
.checklist__tick { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .9rem; color: var(--hs-muted); cursor: pointer; }
.checklist__tick input { width: 1.15rem; height: 1.15rem; accent-color: var(--hs-sea); }
.checklist__aside img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--hs-radius); filter: saturate(.92); }
.checklist__aside figcaption { font-size: .78rem; }
.venue-rows { width: 100%; border-collapse: collapse; margin: .8rem 0 .2rem; font-size: .95rem; background: var(--hs-white); }
.venue-rows th, .venue-rows td { text-align: left; padding: .5rem .65rem; border-bottom: 1px solid var(--hs-rule); vertical-align: top; }
.venue-rows thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hs-muted); border-bottom: 2px solid var(--hs-granite); }

.qa { max-width: var(--hs-wrap); margin: 0 auto 3rem; padding: 0 1.25rem; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; }
.qa h2 { margin-top: 0; }
.qa details { border-top: 1px solid var(--hs-rule); padding: .85rem 0; }
.qa details:last-child { border-bottom: 1px solid var(--hs-rule); }
.qa summary { cursor: pointer; font-family: var(--hs-display); font-weight: 700; font-size: 1.12rem; color: var(--hs-granite); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--hs-gold); font-size: 1.4rem; line-height: 1; transition: transform .25s ease; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin: .6rem 0 0; }

/* 8 — inner pages */
.page-intro { max-width: var(--hs-wrap); margin: 0 auto; padding: 1.6rem 1.25rem 1rem; }
.page-intro__kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hs-heather); font-weight: 700; margin: 0 0 .4rem; }
.page-intro__lede { font-size: 1.15rem; color: var(--hs-granite-2); max-width: 60ch; }
.page-grid { max-width: var(--hs-wrap); margin: 0 auto 3rem; padding: 0 1.25rem; display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 2.6rem; }
.page-rail { font-size: .92rem; }
.page-rail__step { border: 1px solid var(--hs-rule); background: var(--hs-white); padding: .9rem 1rem; border-radius: var(--hs-radius); }
.page-rail__no { font-family: var(--hs-display); font-size: 2.4rem; line-height: 1; color: var(--hs-gold); }
.page-rail__label { display: block; font-weight: 700; color: var(--hs-granite); margin: .2rem 0 .4rem; }
.page-rail__list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.page-rail__list li { border-top: 1px solid var(--hs-rule); padding: .45rem 0; }
.page-rail__title { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hs-muted); margin: 1.4rem 0 .2rem; }
.page-body { max-width: var(--hs-measure); }
.page-body .ce-bodytext h2:first-child { margin-top: 0; }
.page-meta { font-size: .88rem; color: var(--hs-muted); border-top: 1px solid var(--hs-rule); margin-top: 2rem; padding-top: .8rem; }
.hub-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.hub-list__item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--hs-rule); align-items: start; }
.hub-list__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.hub-list__item h3 { margin: 0 0 .3rem; font-size: 1.12rem; }
.hub-list__item p { margin: 0; font-size: .96rem; color: var(--hs-granite-2); }
.hub-list__step { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hs-heather); font-weight: 700; }
.article-dateline { font-size: .9rem; color: var(--hs-muted); margin-bottom: 1.4rem; }
.article-dateline time { font-weight: 700; color: var(--hs-granite); }

/* 9 — venues */
.venue-facts { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); margin: 0 0 1.8rem; border-top: 2px solid var(--hs-granite); background: var(--hs-white); }
.venue-facts dt, .venue-facts dd { margin: 0; padding: .55rem .75rem; border-bottom: 1px solid var(--hs-rule); }
.venue-facts dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hs-muted); font-weight: 700; }

/* 10 — search (indexed search vocabulary) */
.tx-indexedsearch-searchbox { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.6rem; }
.tx-indexedsearch-searchbox input[type="search"] { flex: 1 1 16rem; font: inherit; padding: .7rem .8rem; border: 1px solid var(--hs-granite-3); border-radius: 3px; background: var(--hs-white); }
.tx-indexedsearch-info-sword { font-weight: 700; }
.tx-indexedsearch-res { list-style: none; padding: 0; margin: 0; }
.tx-indexedsearch-res li { padding: .9rem 0; border-bottom: 1px solid var(--hs-rule); }
.tx-indexedsearch-title { font-family: var(--hs-display); font-weight: 700; font-size: 1.1rem; }
.tx-indexedsearch-descr { margin: .25rem 0 0; font-size: .95rem; color: var(--hs-granite-2); }
.tx-indexedsearch-path { font-size: .8rem; color: var(--hs-muted); }
.tx-indexedsearch-noresults { padding: 1rem 1.2rem; background: var(--hs-white); border-left: 4px solid var(--hs-heather); }

.form-contact { display: grid; gap: 1rem; max-width: 34rem; margin: 1.2rem 0; }
.form-contact label { font-weight: 700; font-size: .92rem; display: block; margin-bottom: .25rem; }
.form-contact input, .form-contact textarea, .form-contact select { width: 100%; font: inherit; padding: .65rem .75rem; border: 1px solid var(--hs-granite-3); border-radius: 3px; background: var(--hs-white); }
.form-contact__notice { padding: .9rem 1.1rem; background: var(--hs-white); border-left: 4px solid var(--hs-sea); }

.credits-table { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--hs-white); }
.credits-table th, .credits-table td { padding: .5rem .6rem; border-bottom: 1px solid var(--hs-rule); text-align: left; vertical-align: top; }
.credits-table img { width: 72px; height: 54px; object-fit: cover; border-radius: 3px; }
.sitemap-cols { columns: 2 18rem; column-gap: 2.4rem; }
.sitemap-cols section { break-inside: avoid; margin-bottom: 1.6rem; }
.sitemap-cols h2 { margin-top: 0; font-size: 1.2rem; }

/* 11 — footer (end-band + colophon + utility row) */
.page-footer { margin-top: 3rem; background: var(--hs-granite); color: var(--hs-mica); font-size: .93rem; }
.page-footer a { color: var(--hs-mica); }
.page-footer a:hover { color: var(--hs-gold-soft); }
.page-footer__band { background: var(--hs-sea); padding: 1.4rem 1.25rem; border-top: 4px solid var(--hs-gold); }
.page-footer__band-title { max-width: var(--hs-wrap); margin: 0 auto .7rem; font-family: var(--hs-display); font-size: 1.15rem; color: var(--hs-white); }
.page-footer__steps { list-style: none; max-width: var(--hs-wrap); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem 1rem; }
.page-footer__steps a { display: flex; gap: .55rem; align-items: center; text-decoration: none; color: var(--hs-white); }
.page-footer__tick { flex: none; width: 1.6rem; height: 1.6rem; display: inline-grid; place-items: center; border: 1.5px solid var(--hs-gold-soft); border-radius: 3px; font-size: .8rem; font-weight: 700; color: var(--hs-gold-soft); }
.page-footer__colophon { max-width: var(--hs-wrap); margin: 0 auto; padding: 1.6rem 1.25rem .6rem; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; }
.page-footer__brand strong { font-family: var(--hs-display); color: var(--hs-white); font-size: 1.05rem; }
.page-footer__note { color: #b9b5ab; }
.page-footer__utility { max-width: var(--hs-wrap); margin: 0 auto; padding: .6rem 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; border-top: 1px solid var(--hs-granite-2); }
.page-footer__utility ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.page-footer__langs a { font-weight: 700; }
.page-footer__copy { max-width: var(--hs-wrap); margin: 0 auto; padding: .4rem 1.25rem 1.4rem; color: #8f948f; font-size: .82rem; }

/* 12 — responsive */
@media (max-width: 980px) {
  .page-header__inner { grid-template-columns: 1fr auto; }
  .mainnav__toggle { display: inline-block; justify-self: end; font: 700 .85rem var(--hs-body); background: transparent; color: var(--hs-mica); border: 1px solid var(--hs-granite-3); border-radius: 3px; padding: .4rem .75rem; cursor: pointer; }
  .mainnav { grid-column: 1 / -1; order: 3; }
  .js .mainnav { display: none; }
  .js .mainnav.is-open { display: block; }
  .mainnav__list { justify-content: flex-start; flex-direction: column; }
  .language-menu { grid-column: 1 / -1; order: 2; justify-self: start; }
  .checklist__step { grid-template-columns: 4rem minmax(0, 1fr); }
  .checklist__aside { grid-column: 2; max-width: 16rem; }
  .checklist__num { font-size: 3rem; }
  .page-footer__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .intro, .qa, .page-grid, .page-footer__colophon { grid-template-columns: minmax(0, 1fr); }
  .credits-table td { overflow-wrap: anywhere; }
  .page-grid { gap: 1.2rem; }
  .page-rail { order: 2; }
  .hub-list__item { grid-template-columns: 6rem minmax(0, 1fr); }
  .venue-facts { grid-template-columns: 1fr; }
  .venue-facts dt { border-bottom: 0; padding-bottom: 0; }
  .ce-gallery--pair { grid-template-columns: 1fr; }
  .venue-rows thead { display: none; }
  .venue-rows tr { display: block; border-bottom: 1px solid var(--hs-rule); padding: .4rem 0; }
  .venue-rows td { display: block; border: 0; padding: .1rem .65rem; }
  .credits-table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .checklist__step.is-pending { opacity: 1; transform: none; }
}

/* 13 — print: the checklist prints as a clean list */
@media print {
  .page-header, .page-footer, .breadcrumb, .board, .checklist__aside, .checklist__progress, .intro__figure { display: none !important; }
  body { background: #fff; }
  .checklist__step { break-inside: avoid; opacity: 1 !important; transform: none !important; }
}
