/* Boutique-hotel layout: full photographs, a fine serif, warm beige and deep brown. */
:root {
  --ink: #181310;
  --text: #62564a;
  --gold: #99621f;
  --gold-dark: #7d4f17;
  --brown: #43280f;
  --beige: #f3ebe2;
  --ivory: #fdf9f4;
  --line: #e9e0d5;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.7 var(--sans); color: var(--text); background: #fff; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; border-radius: 6px; }
a { color: inherit; text-underline-offset: 5px; }
h1, h2, h3, h4 { margin: 0 0 .45em; color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #c58a3e; outline-offset: 3px; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--text); }
.center { text-align: center; margin-top: 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 60; padding: 10px 18px; background: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid var(--gold); border-radius: 4px; background: var(--gold); color: #fff; font: 600 .78rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--gold-dark); }
.btn.outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn.outline:hover { background: var(--beige); }
.btn.pale { background: rgb(255 255 255 / 90%); border-color: transparent; color: var(--ink); }
.btn.pale:hover { background: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.btn.big { width: 100%; min-height: 58px; font-size: .9rem; }
.more { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--gold); font-weight: 500; text-decoration: none; }
.more::after { content: ""; width: 30px; height: 7px; background: currentColor; clip-path: polygon(0 43%, 80% 43%, 74% 0, 100% 50%, 74% 100%, 80% 57%, 0 57%); transition: width .15s; }
.more:hover::after { width: 42px; }
.textlink { display: inline-block; padding: 6px 0; border-bottom: 2px solid var(--ink); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.label { margin: 0 0 12px; color: var(--gold); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.display { max-width: 17ch; margin-inline: auto; text-align: center; font-size: clamp(2.4rem, 5.2vw, 3.9rem); }

/* Header: clear over the photograph, solid after scrolling */
header.site { position: absolute; z-index: 30; left: 0; right: 0; top: 0; color: #fff; }
header.site .top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 14px clamp(16px, 4vw, 56px); border-bottom: 1px solid rgb(255 255 255 / 20%); }
.start, .end { display: flex; align-items: center; gap: 22px; }
.end { justify-content: flex-end; gap: 12px; }
.burger { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 600 .78rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.burger i { width: 30px; height: 11px; border-block: 1px solid currentColor; }
.logo span { display: block; width: 62px; height: 69px; background: currentColor; -webkit-mask: url(/images/system/altai-logo-white.png) center / contain no-repeat; mask: url(/images/system/altai-logo-white.png) center / contain no-repeat; }
.lang { display: flex; align-items: center; margin-right: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; }
.lang a { display: grid; place-items: center; min-width: 40px; min-height: 44px; text-decoration: none; opacity: .65; }
.lang a + a { border-left: 1px solid currentColor; border-image: linear-gradient(transparent 28%, currentColor 28% 72%, transparent 72%) 1; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
header.site .btn.outline { color: inherit; }
header.site .btn.outline:hover { background: rgb(255 255 255 / 15%); }
header.site.stuck { position: fixed; color: var(--ink); background: #fff; box-shadow: 0 2px 18px rgb(40 22 8 / 10%); animation: drop .25s ease-out; }
header.site.stuck .top { padding-block: 6px; border: 0; }
header.site.stuck .logo span { width: 48px; height: 53px; color: var(--brown); }
@keyframes drop { from { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { header.site.stuck { animation: none; } html { scroll-behavior: auto; } }


/* Full-screen menu that drops down from the top */
dialog.drawer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--beige); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
dialog.drawer[open] { animation: unfold .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes unfold { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) { dialog.drawer[open] { animation: none; } }
.drawer .inner { display: flex; flex-direction: column; width: min(1380px, 100% - 11vw); min-height: 100%; margin-inline: auto; padding: 24px 0 28px; }
.drawer .close { position: relative; align-self: flex-end; width: 52px; height: 52px; margin-right: -12px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.drawer .close::before, .drawer .close::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; rotate: 45deg; }
.drawer .close::after { rotate: -45deg; }
.drawer .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.drawer .bar .btn { min-width: 160px; }
.drawer .columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: clamp(24px, 4vh, 52px); align-items: start; }
.drawer .primary { display: flex; flex-direction: column; }
.drawer .primary > a, .drawer summary { padding: 2px 0; color: #81766c; font: 400 clamp(1.9rem, 5.2vh, 3rem)/1.4 var(--serif); text-decoration: none; transition: color .15s; }
.drawer summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font: 200 2.2rem/1 var(--sans); }
.drawer details[open] summary::after { content: "−"; }
.drawer details div { display: flex; flex-direction: column; padding: 0 0 10px 22px; }
.drawer details a { padding: 3px 0; color: #6f645a; font: 400 clamp(1.4rem, 3.4vh, 1.75rem)/1.4 var(--serif); text-decoration: none; }
.drawer .primary a:hover, .drawer .primary a:focus-visible, .drawer .primary a[aria-current], .drawer summary:hover, .drawer details[open] summary { color: var(--ink); }
.drawer .preview img { width: 100%; height: min(580px, 62vh); object-fit: cover; border-radius: 10px; }
.drawer .quick { display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.drawer .quick div { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.drawer .quick a { text-decoration: none; font-size: 1.05rem; }
.drawer .quick div + div a { font-size: .95rem; }
.drawer .quick a:hover, .drawer .bottom a:hover { text-decoration: underline; }
.drawer .bottom { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: end; margin-top: auto; padding-top: 40px; }
.drawer .social { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; }
.drawer .bottom a { text-decoration: none; }
.drawer address { font-style: normal; font-size: .95rem; }
.drawer address strong { display: block; margin-bottom: 6px; font: 500 1.7rem/1.3 var(--serif); }
@media (max-width: 1000px) {
  .drawer .columns { grid-template-columns: 1fr; }
  .drawer .preview, .drawer .quick { display: none; }
  .drawer .bottom { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .drawer .inner { width: calc(100% - 40px); }
  .drawer .bar .actions { width: 100%; }
  .drawer .bar .btn { flex: 1; min-width: 0; }
}

/* Rooms: framed rows; the photo slides open on the row being looked at */
.roomlist { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.roomlist article { position: relative; display: flex; align-items: stretch; min-height: 282px; transition: background .3s; }
.roomlist article + article { border-top: 1px solid var(--line); }
.roomlist article.active { background: var(--beige); }
.shot { position: relative; flex: 0 0 0%; overflow: hidden; transition: flex-basis .45s cubic-bezier(.2, .7, .2, 1); }
.roomlist .active .shot { flex-basis: 30%; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.roomlist .info { flex: 1; min-width: 0; align-self: center; padding: 32px 24px 32px clamp(28px, 6vw, 88px); transition: padding .45s; }
.roomlist .active .info { padding-left: clamp(24px, 3.5vw, 56px); }
.roomlist h3 { margin-bottom: 12px; font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 500; }
.roomlist h3 a { text-decoration: none; }
.roomlist h3 a::after { content: ""; position: absolute; inset: 0; }
.roomlist article:focus-within { outline: 3px solid #c58a3e; outline-offset: -3px; }
.roomlist h3 a:focus-visible { outline: 0; }
.roomlist p { max-width: 52ch; margin: 0; }
.roomlist .price { margin-top: 14px; }
.price { margin: 0; color: var(--ink); font: 500 1.6rem/1.25 var(--serif); }
.badge { display: grid; place-items: center; align-self: center; flex: none; width: 56px; height: 28px; margin-right: clamp(20px, 3.5vw, 56px); background: var(--brown); color: #fff; font-size: .85rem; letter-spacing: .06em; }
.badge b { font-weight: 600; }
.active .badge { background: var(--ink); }
.active .badge b { width: 28px; height: 9px; overflow: hidden; background: #fff; color: transparent; clip-path: polygon(0 42%, 80% 42%, 72% 0, 100% 50%, 72% 100%, 80% 58%, 0 58%); }
@media (prefers-reduced-motion: reduce) { .shot, .roomlist .info, .shot img { transition: none; } }
/* Touch screens and narrow windows: every photo is visible, nothing depends on hovering */
@media (hover: none), (max-width: 820px) {
  .roomlist article { flex-direction: column; min-height: 0; }
  .roomlist article.active { background: transparent; }
  .shot, .roomlist .active .shot { flex: none; width: 100%; aspect-ratio: 16/9; }
  .roomlist .info, .roomlist .active .info { align-self: stretch; padding: 22px 22px 28px; }
  .badge { display: none; }
}

/* Rooms page: large photo cards */
.roomcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.roomcards article { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; transition: box-shadow .25s, background .25s; }
.roomcards article:hover { background: var(--ivory); box-shadow: 0 18px 44px rgb(67 40 15 / 12%); }
.roomcards .picture { position: relative; overflow: hidden; }
.roomcards img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0; transition: transform .45s; }
.roomcards article:hover img { transform: scale(1.04); }
.roomcards .tag { position: absolute; left: 16px; bottom: 16px; padding: 5px 14px; background: var(--brown); color: #fff; font-size: .8rem; font-weight: 600; }
.roomcards .body { display: flex; flex: 1; flex-direction: column; padding: 24px 28px 28px; }
.roomcards h2 { margin-bottom: 10px; font-size: clamp(1.45rem, 2.1vw, 1.9rem); }
.roomcards h2 a { text-decoration: none; }
.roomcards h2 a::after { content: ""; position: absolute; inset: 0; }
.roomcards article:focus-within { outline: 3px solid #c58a3e; outline-offset: 2px; }
.roomcards h2 a:focus-visible { outline: 0; }
.roomcards p { margin-bottom: 20px; font-size: .95rem; }
.roomcards .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.roomcards .foot .btn { position: relative; z-index: 1; }
@media (max-width: 820px) { .roomcards { grid-template-columns: 1fr; gap: 28px; } .roomcards .body { padding: 20px 20px 24px; } }
@media (prefers-reduced-motion: reduce) { .roomcards img, .roomcards article { transition: none; } .roomcards article:hover img { transform: none; } }

/* What is included: four quiet columns on a soft panel */
.perks { padding-block: 96px; }
.perks ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; }
.perks li { display: flex; flex-direction: column; align-items: center; padding: 44px 18px 40px; text-align: center; }
.perks li + li { border-left: 1px solid var(--line); }
.perks span { display: grid; place-items: center; width: 104px; height: 104px; margin-bottom: 26px; border-radius: 50%; background: var(--beige); color: var(--gold); transition: background .25s, color .25s; }
.perks li:hover span { background: var(--brown); color: #f6dfc0; }
.perks svg { width: 56px; height: 56px; }
.perks h3 { margin-bottom: 8px; font-size: 1.5rem; }
.perks p { max-width: 30ch; margin: 0; font-size: .95rem; }
@media (max-width: 1080px) {
  .perks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks li:nth-child(odd) { border-left: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .perks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .perks { padding-block: 64px; }
  .perks ul { grid-template-columns: 1fr; }
  .perks li { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 24px 20px; text-align: left; }
  .perks li + li { border-left: 0; border-top: 1px solid var(--line); }
  .perks span { grid-row: span 2; width: 72px; height: 72px; margin: 0; }
  .perks svg { width: 40px; height: 40px; }
  .perks h3 { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .perks span { transition: none; } }

/* Guest voices: a large quotation beside a photo */
.voices { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 112px; background: var(--beige); }
.voices .photo { position: relative; min-height: 640px; }
.voices .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; border-radius: 0; }
.voices .talk { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 80px clamp(24px, 6vw, 104px); }
.voices h2 { margin-bottom: 8px; color: var(--gold); font-size: 1.7rem; font-weight: 500; }
.quotes { display: grid; gap: 40px; }
.voices.ready .quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 10px; transition: opacity .45s, translate .45s, visibility .45s; }
.voices.ready .quote.on { opacity: 1; visibility: visible; translate: 0 0; }
.quote { display: flex; flex-direction: column; justify-content: flex-start; gap: 28px; margin: 0; }
.quote blockquote { margin: 0; color: var(--ink); font: 400 clamp(1.55rem, 2.5vw, 2.35rem)/1.38 var(--serif); }
.quote blockquote::before { content: "\201C"; display: block; height: .62em; margin-top: .1em; color: var(--gold); font-size: 3.4em; line-height: 1; }
.quote blockquote p { margin: 0; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption b { color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.quote figcaption span { font-size: .9rem; }
.voices .controls { display: none; }
.voices.ready .controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #d9cbbb; }
.people, .arrows { display: flex; flex-wrap: wrap; gap: 10px; }
.controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #c9b8a5; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.people button { font: 500 1.35rem/1 var(--serif); }
.people button:hover, .arrows button:hover { background: #fff; }
.people button[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.arrows button { font-size: 1.15rem; }
.voices .all { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin: 32px 0 0; }
.voices .all span { font-size: .85rem; }
@media (max-width: 900px) {
  .voices { grid-template-columns: 1fr; margin-top: 72px; }
  .voices .photo { min-height: 260px; }
  .voices .talk { padding: 48px 20px 56px; }
}
@media (max-width: 400px) { .controls button { width: 44px; height: 44px; } .people { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .voices.ready .quote { transition: none; translate: 0 0; } }

/* Hero and booking bar */
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: max(620px, 94vh); padding: 140px 24px 110px; color: #fff; text-align: center; background: var(--brown) center / cover; position: relative; isolation: isolate; transition: background-image 1s; }
.hero::before, .finale::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(35 20 8 / 52%); }
.hero h1 { max-width: 21ch; margin: 10px 0 18px; color: #fff; font-size: clamp(2.7rem, 6.4vw, 5rem); font-weight: 400; }
.hero p { margin-bottom: 28px; font-size: 1.05rem; }
.hero .kicker { margin: 0; font-size: 1.1rem; }
.bookbar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr .7fr auto; gap: 0; width: min(1020px, 100% - 32px); margin: -52px auto 0; padding: 12px; background: #fff; border-radius: 8px; box-shadow: 0 18px 50px rgb(40 22 8 / 16%); }
.bookbar label { gap: 0; padding: 6px 22px; border-right: 1px solid var(--line); }
.bookbar input { min-height: 36px; padding: 0; border: 0; background: transparent; }
.bookbar .btn { min-height: 66px; margin-left: 12px; padding-inline: 34px; }

.section { padding-top: 112px; }
.section.tight { padding-top: 96px; }
.collage { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; margin-top: 40px; align-items: start; }
.collage p { max-width: 44ch; }
.collage > div:first-child > img { width: 100%; aspect-ratio: 4/3; margin-top: 36px; object-fit: cover; }
.collage > div:last-child { display: flex; flex-direction: column; gap: 32px; padding-top: 18px; }
.collage > div:last-child img:first-child { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.collage > div:last-child img:last-child { width: 68%; aspect-ratio: 3/4; object-fit: cover; }


.around { display: grid; grid-template-columns: 1fr minmax(0, 1.6fr) 1fr; gap: 24px; margin-top: 112px; background: var(--beige); }
.stack { display: flex; flex-direction: column; gap: 28px; padding: 28px 0; }
.stack:last-child { padding-top: 96px; }
.stack a { position: relative; }
.stack img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0 6px 6px 0; }
.stack:nth-child(3) img { border-radius: 6px 0 0 6px; }
.stack a:nth-child(even) img { aspect-ratio: 4/5; }
.stack span { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; padding: 4px 12px; background: rgb(255 255 255 / 92%); color: var(--ink); font-size: .8rem; border-radius: 3px; }
.centre { align-self: center; position: sticky; top: 28vh; max-width: 460px; margin: auto; padding: 40px 12px; text-align: center; }
.centre ul { margin: 0 0 28px; padding: 0; list-style: none; }
.centre li b { color: var(--ink); font: 500 1.5rem var(--serif); }


.concept { padding-top: 24px; }
.statement { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
.statement .label { grid-area: 1 / 2 / 2 / 8; align-self: end; margin-top: 64px; }
.statement h2 { grid-area: 2 / 2 / 3 / 10; z-index: 1; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.22; }
.statement img { grid-area: 1 / 9 / 3 / 13; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.statement h2 { grid-column: 2 / 9; padding-right: 24px; }
.trio { display: grid; grid-template-columns: 1fr 1.3fr .85fr; gap: 72px; align-items: start; margin-top: 56px; }
.trio > img:first-child { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.trio > img:last-child { width: 100%; aspect-ratio: 1; margin-top: 72px; object-fit: cover; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; margin-top: 112px; }
.split.reverse > img { order: 2; }
.split > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split ul { margin: 0 0 20px; padding: 0; list-style: none; }
.split li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }

.feature { display: flex; justify-content: flex-end; align-items: center; min-height: 620px; margin-top: 112px; padding: 48px clamp(16px, 5vw, 72px); background: var(--brown) center / cover; }
.feature > div { display: flex; flex-direction: column; align-items: center; max-width: 540px; padding: 48px 40px; background: rgb(255 255 255 / 94%); border-radius: 6px; text-align: center; }
.feature .btn { margin-top: 14px; }

.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; align-items: start; }
.review { display: flex; flex-direction: column; margin: 0; padding: 30px; background: var(--ivory); border: 1px solid var(--line); border-radius: 8px; font-size: .95rem; }
.review footer { order: -1; display: flex; flex-direction: column; margin-bottom: 14px; color: var(--ink); }
.review footer b { font: 600 1.35rem/1.3 var(--serif); }
.review footer span { color: var(--text); font-size: .8rem; }
.review p { margin: 0; }
.review .reply { margin-top: 18px; padding: 14px 16px; background: var(--beige); border-radius: 6px; font-size: .88rem; }

.faq { margin-top: 96px; padding: 96px 0; background: var(--ivory); }
.faq .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.pics { position: relative; padding: 0 22% 72px 0; }
.pics img:first-child { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pics img:last-child { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--ivory); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 44px 20px 0; color: var(--ink); font: 600 1.35rem/1.35 var(--serif); list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font: 300 1.6rem var(--sans); }
.faq details[open] summary::after { content: "−"; }

.finale { display: flex; flex-direction: column; align-items: center; padding: 140px 24px; color: #fff; text-align: center; background: var(--brown) center / cover; position: relative; isolation: isolate; }
.finale h2 { max-width: 15ch; color: #fff; font-size: clamp(2.5rem, 5.4vw, 4rem); font-weight: 400; }
.finale p { margin-bottom: 28px; }

/* Inner pages */
.page { padding: 56px 0 0; }
.block { margin-top: 64px; }
.block > h2 { text-align: center; }
.text { max-width: 68ch; margin-inline: auto; font-size: 1.05rem; }
.text img { width: 100%; margin: 32px 0; }
.text h2 { margin-top: 1.6em; font-size: 2rem; }
.page > .roomlist { margin-top: 0; }

.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photos a:only-child { grid-column: 1 / -1; justify-self: center; width: min(100%, 820px); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.videos a { position: relative; display: block; text-decoration: none; }
.videos img, .videos iframe { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 0; border-radius: 6px; background: var(--beige); }
.videos a::before { content: "▶"; position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brown); font-size: 13px; }
.videos span { display: block; padding-top: 10px; font-size: .95rem; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 52px 28px; }
.posts img { width: 100%; aspect-ratio: 4/3; margin-bottom: 18px; object-fit: cover; }
.posts h2 { font-size: 1.75rem; }
.posts h2 a { text-decoration: none; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; }

.box { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--ivory); border: 1px solid var(--line); border-radius: 8px; }
.box p { margin: 0; }
.facts { margin: 6px 0; font-size: .92rem; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts dd { margin: 0; color: var(--ink); text-align: right; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; text-align: center; }
.contacts .box { align-items: center; }

/* Forms */
label { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--ink); font-size: .82rem; font-weight: 500; }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid #d9cdbf; border-radius: 4px; background: #fff; color: var(--ink); font: 400 1rem var(--sans); }
fieldset { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; min-width: 0; margin: 0; padding: 30px; background: var(--ivory); border: 1px solid var(--line); border-radius: 8px; }
legend { float: left; grid-column: 1 / -1; width: 100%; padding: 0; color: var(--ink); font: 500 1.75rem var(--serif); }
.wide { grid-column: 1 / -1; }
.trap { position: absolute; left: -9999px; }
.msg { max-width: 800px; margin: 0 auto 22px; padding: 16px 22px; border-radius: 6px; color: var(--ink); }
.msg.ok { background: #e7f0e2; }
.msg.error { background: #f9e4dd; }
.cta { text-align: center; }

footer.site { margin-top: 112px; padding: 72px 0 28px; background: var(--brown); color: #cbb9a6; font-size: .95rem; }
.finale + * { margin-top: 0; }
body.home footer.site { margin-top: 0; }
footer.site .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr .7fr; gap: 40px; }
footer.site .logo { color: #fff; }
footer.site .brand p { margin-top: 18px; }
footer.site h2 { color: #fff; font: 600 1rem var(--sans); }
footer.site ul { margin: 0; padding: 0; list-style: none; line-height: 2; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer .strong { color: #fff; font-weight: 600; }
footer .links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .85rem; }
footer .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 20px 0 0; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 14%); font-size: .85rem; }

.thumbbar { display: none; }
dialog.zoom { max-width: 96vw; max-height: 96vh; padding: 0; border: 0; background: transparent; overflow: visible; }
dialog.zoom::backdrop { background: rgb(24 14 6 / 90%); }
dialog.zoom img { max-width: 96vw; max-height: 90vh; }
dialog.zoom button { position: fixed; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; font-size: 20px; cursor: pointer; }
dialog.zoom .close { top: 12px; right: 12px; }
dialog.zoom .prev { left: 8px; top: 50%; }
dialog.zoom .next { right: 8px; top: 50%; }

@media (max-width: 1080px) {
  .trio { gap: 32px; }
  .faq .wrap { gap: 48px; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .section, .section.tight { padding-top: 72px; }
  .collage, .split, .faq .wrap, .contacts { grid-template-columns: 1fr; }
  .collage { gap: 24px; }
  .collage > div:last-child { padding: 0; }
  .split { gap: 24px; margin-top: 72px; }
  .split.reverse > img { order: 0; }
  .around { grid-template-columns: 1fr 1fr; margin-top: 72px; gap: 12px; padding: 0 12px; }
  .centre { grid-column: 1 / -1; order: -1; position: static; }
  .stack, .stack:last-child { gap: 12px; padding: 0 0 24px; }
  .stack img, .stack:nth-child(3) img, .stack a:nth-child(even) img { aspect-ratio: 4/3; border-radius: 6px; }
  .statement { display: flex; flex-direction: column; }
  .statement img { order: 3; margin-top: 12px; }
  .statement .label { margin-top: 0; }
  .trio { grid-template-columns: 1fr; }
  .trio > img:first-child { aspect-ratio: 4/3; }
  .trio > img:last-child { display: none; }
  .feature { min-height: 520px; margin-top: 72px; align-items: flex-end; justify-content: center; }
  .faq { margin-top: 64px; padding: 64px 0; }
  .finale { padding-block: 96px; }
  .bookbar { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: -40px; }
  .bookbar label { padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; }
  .bookbar label:nth-of-type(3), .bookbar .btn { grid-column: 1 / -1; margin: 0; }
  fieldset { grid-template-columns: 1fr; padding: 20px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1280px, 100% - 32px); }
  header.site .top { padding-inline: 16px; }
  .burger span { display: none; }
  .lang { margin: 0; }
  .end .book { display: none; }
  .logo span { width: 50px; height: 56px; }
  .hero { min-height: 82vh; padding-top: 130px; }
  .picks, .reviews, .videos { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr; gap: 24px; }
  .thumbbar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .thumbbar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 4px; background: var(--beige); color: var(--brown); font-size: .85rem; font-weight: 600; text-decoration: none; }
  .thumbbar a.main { background: var(--gold); color: #fff; }
  body:not([data-no-bar]) { padding-bottom: 76px; }
  body[data-no-bar] .thumbbar { display: none; }
}

/* One room: photographs, what is included, then the details */
.shots { position: relative; display: grid; gap: 12px; height: clamp(320px, 44vw, 560px); margin-top: 40px; }
.shots a { min-width: 0; min-height: 0; overflow: hidden; border-radius: 12px; background: var(--beige); box-shadow: 0 18px 44px rgb(40 22 8 / 18%); }
.shots img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .45s; }
.shots a:hover img { transform: scale(1.03); }
.shots-1 { grid-template-columns: minmax(0, 1fr); width: min(1040px, 100%); margin-inline: auto; }
.shots-2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.shots-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.shots-3 a:first-child { grid-row: span 2; }
.shots .more-shot { display: none; }
.shots-count { position: absolute; right: 16px; bottom: 16px; padding: 5px 14px; border-radius: 99px; background: rgb(24 14 6 / 75%); color: #fff; font-size: .8rem; font-weight: 600; pointer-events: none; }
.shots-1 .shots-count { display: none; }
.highlights { display: flex; flex-wrap: wrap; margin: 28px 0 0; padding: 0; overflow: hidden; list-style: none; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; }
.highlights li { display: flex; flex: 1 1 160px; flex-direction: column; align-items: center; gap: 4px; padding: 24px 14px; text-align: center; box-shadow: 1px 1px 0 var(--line); }
.highlights svg { width: 40px; height: 40px; margin-bottom: 6px; color: var(--gold); }
.highlights span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.highlights b { color: var(--ink); font: 500 1.25rem/1.25 var(--serif); }
.highlights li.no svg { color: #9c8f83; }
.room-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 64px; align-items: start; margin-top: 72px; }
.room-columns article { grid-column: 1; grid-row: 1; min-width: 0; }
.room-columns article section + section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.room-columns h2 { font-size: 2.1rem; }
.room-columns .lead { font-size: 1.08rem; }
.ticks { columns: 2 230px; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.ticks li, .included li { position: relative; padding-left: 28px; break-inside: avoid; }
.ticks li { padding-block: 5px; }
.ticks li::before, .included li::before { content: ""; position: absolute; left: 4px; top: .95em; width: 11px; height: 6px; border: solid var(--gold); border-width: 0 0 2px 2px; translate: 0 -5px; rotate: -45deg; }
.rules details { border-bottom: 1px solid var(--line); }
.rules summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; color: var(--ink); font: 500 1.35rem var(--serif); list-style: none; cursor: pointer; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after { content: "+"; font: 400 1.5rem var(--sans); color: var(--gold); }
.rules details[open] summary::after { content: "–"; }
.bookcard { grid-column: 2; grid-row: 1; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgb(67 40 15 / 10%); }
.bookcard p { margin: -8px 0 0; }
.bookcard .price { margin: 0; font-size: 2.3rem; }
.included { margin: 0; padding: 14px 0; list-style: none; border-block: 1px solid var(--line); }
.included li { padding-block: 3px; color: var(--ink); }
.included li.no { color: var(--text); }
.included li.no::before { left: 5px; width: 10px; height: 0; border-width: 0 0 2px; translate: 0; rotate: none; border-color: #9c8f83; }
.included li.info::before { left: 6px; width: 7px; height: 7px; border: 0; border-radius: 50%; background: var(--gold); translate: 0 -4px; rotate: none; }
.bookcard form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.bookcard .facts { margin: 0; }
.reach { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reach a { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--brown); font-size: .85rem; font-weight: 600; text-decoration: none; }
.reach a:hover { background: var(--beige); }
.others { padding-top: 112px; }
.others .display { margin-bottom: 40px; }
.roomcards.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.roomcards.compact .body { padding: 20px 20px 24px; }
.roomcards.compact h2 { font-size: 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.chips li { display: flex; align-items: center; gap: 7px; padding: 4px 12px 4px 9px; border-radius: 99px; background: var(--beige); color: var(--brown); font-size: .8rem; font-weight: 500; }
.chips svg { width: 20px; height: 20px; flex: none; }
/* A pinned card taller than the window could never be scrolled to its end. */
@media (max-height: 959px) { .bookcard { position: static; } }
.bookcard .dr-field { padding-inline: 12px; }
@media (max-width: 1080px) { .roomcards.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .room-columns { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 32px; }
  .bookcard { grid-column: 1; position: static; }
  .room-columns article { grid-row: 2; }
}
@media (max-width: 640px) {
  /* Photographs are swiped sideways on a phone */
  .shots { display: flex; gap: 10px; height: auto; margin-top: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shots a, .shots .more-shot { display: block; flex: 0 0 100%; aspect-ratio: 4/3; scroll-snap-align: center; box-shadow: none; }
  .shots:not(.shots-1) a { flex-basis: 90%; }
  .shots-count { position: sticky; right: 10px; align-self: flex-end; flex: none; margin-left: -96px; margin-bottom: 10px; }
  .highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights li { padding: 18px 10px; }
  .highlights li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bookcard { padding: 22px 18px; }
  .reach { display: none; } /* the bar at the bottom of the screen already has both */
  .others { padding-top: 72px; }
}
@media (max-width: 700px) { .roomcards.compact { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .shots img { transition: none; } .shots a:hover img { transform: none; } }

/* Booking in three steps */
.booking { max-width: 820px; margin-inline: auto; }
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.stepper li { display: flex; justify-content: center; padding-bottom: 12px; border-bottom: 3px solid var(--line); font-weight: 600; font-size: .9rem; }
.stepper li, .stepper li > a { align-items: center; }
.stepper li > a { display: flex; text-decoration: none; }
.stepper li > a:hover span { text-decoration: underline; }
.stepper b { display: grid; flex: none; place-items: center; width: 30px; height: 30px; margin-right: 10px; border: 1px solid #c9b8a5; border-radius: 50%; font-size: .8rem; }
.stepper .now { border-color: var(--gold); color: var(--ink); }
.stepper .now b { background: var(--gold); border-color: var(--gold); color: #fff; }
.stepper .done { border-color: var(--brown); color: var(--ink); }
.stepper .done b { background: var(--brown); border-color: var(--brown); color: #fff; }
.booking .msg { margin-inline: 0; }
.staybar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 18px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 10px; }
.staybar b { color: var(--ink); }
.staybar a { color: var(--gold); font-weight: 600; }
.stepcard { display: flex; flex-direction: column; gap: 18px; padding: 34px; background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; }
.stepcard h2 { margin: 0; font-size: 2rem; }
.stepcard > p { margin: -6px 0 0; }
.stepcard > .btn.outline { margin-top: -6px; }
.counter { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 8px; }
.counter input { text-align: center; font-size: 1.3rem; appearance: textfield; grid-column: 2; }
.counter input::-webkit-inner-spin-button { appearance: none; }
.counter button { border: 1px solid #d9cdbf; border-radius: 4px; background: #fff; color: var(--ink); font: 400 1.6rem/1 var(--sans); cursor: pointer; }
.counter button:hover { background: var(--beige); }
.counter button:first-child { grid-column: 1; grid-row: 1; }
.counter input { grid-row: 1; }
.counter button:last-child { grid-column: 3; grid-row: 1; }
.counter button[hidden] { display: none; }
.choose { display: flex; flex-direction: column; gap: 10px; }
.choice { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; grid-template-areas: "photo about take" "photo more take"; grid-template-rows: 1fr auto; gap: 0 16px; align-items: center; overflow: hidden; padding-right: 16px; background: #fff; border: 2px solid var(--line); border-radius: 12px; }
.choice.taken, .choice:has(input:checked) { border-color: var(--gold); background: var(--beige); }
.choice > img { grid-area: photo; width: 100%; height: 100%; min-height: 112px; object-fit: cover; border-radius: 0; }
.choice .about { grid-area: about; min-width: 0; align-self: end; padding-top: 10px; }
.choice h3 { margin: 0 0 3px; font-size: 1.18rem; }
.choice p { margin: 0; font-size: .82rem; line-height: 1.45; }
.choice .cost { margin-top: 3px; color: var(--ink); font-weight: 600; }
/* The whole card ticks the room; the link to the room stays pressable on top of it */
.choice .details-link { position: relative; z-index: 1; grid-area: more; justify-self: start; align-self: start; padding: 4px 0 10px; font-size: .78rem; color: var(--gold); }
.take { grid-area: take; }
.take label { align-items: center; cursor: pointer; }
.take label:has(input[type="checkbox"])::after { content: ""; position: absolute; inset: 0; }
.take input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.take input + span, .take input ~ .on { min-width: 112px; padding: 9px 14px; border: 1px solid var(--gold); border-radius: 4px; color: var(--gold); font: 600 .72rem var(--sans); letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.take .on { display: none; }
.take input:checked ~ .off { display: none; }
.take input:checked ~ .on { display: block; background: var(--gold); color: #fff; }
.take input:checked ~ .on::before { content: "✓ "; }
.take input:focus-visible ~ span { outline: 3px solid #c58a3e; outline-offset: 2px; }
.take select { width: 96px; min-height: 42px; padding-block: 6px; text-align: center; font-size: 1.05rem; }
/* The total and the buttons stay at the bottom of the window while rooms are being chosen */
.step-bar { position: sticky; bottom: 0; z-index: 20; display: flex; flex-direction: column; gap: 8px; margin: 0 -34px -34px; padding: 12px 34px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 -10px 28px rgb(40 22 8 / 12%); }
.choice-total { min-height: 1.4em; margin: 0; color: var(--ink); font: 500 1.15rem/1.3 var(--serif); text-align: center; }
.choice-total.short { color: #a52a1d; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; }
.step-actions .btn:last-child { flex: 0 1 340px; min-height: 52px; }
.chosen { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.chosen li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.chosen .sum { font: 500 1.35rem var(--serif); }
@media (max-width: 640px) {
  .stepcard { padding: 22px 16px; }
  .stepper li { font-size: .75rem; }
  .stepper li, .stepper li > a { flex-direction: column; text-align: center; line-height: 1.3; }
  .stepper b { margin: 0 0 6px; }
  .choice { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "photo about about" "photo more take"; padding-right: 8px; column-gap: 10px; }
  .choice > img { min-height: 100%; position: static; }
  .choice .about { padding-top: 8px; }
  .choice h3 { font-size: 1.05rem; line-height: 1.2; }
  .choice p { font-size: .76rem; }
  .take { justify-self: end; padding-block: 6px 8px; }
  .take input + span, .take input ~ .on { min-width: 92px; padding: 7px 10px; }
  .take select { width: 70px; min-height: 36px; }
  .take label { font-size: .7rem; }
  .choice .details-link { align-self: center; padding: 6px 0 8px; font-size: .72rem; }
  .step-bar { margin: 0 -16px -22px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
  .choice-total { font-size: 1rem; }
  .step-actions .btn:last-child { flex: 1; }
}

/* Where we are */
.findus-wrap { padding-bottom: 96px; } /* breathing room before the closing photograph */
@media (max-width: 820px) { .findus-wrap { padding-bottom: 72px; } }
.findus { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); overflow: hidden; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; }
.findus > div { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 4vw, 52px); }
.findus h2 { margin: 0; }
.findus p { margin: 0; }
.findus .code b { color: var(--ink); white-space: nowrap; }
.findus iframe { width: 100%; height: 100%; min-height: 440px; border: 0; background: var(--beige); }
@media (max-width: 820px) { .findus { grid-template-columns: minmax(0, 1fr); } .findus iframe { height: 340px; min-height: 0; } }

/* Pages other than the home page: a light title area without photographs */
body:not(.home) header.site:not(.stuck) { color: var(--brown); }
body:not(.home) header.site:not(.stuck) .top { border-bottom-color: rgb(67 40 15 / 12%); }
body:not(.home) header.site:not(.stuck) .burger { color: var(--ink); }
.pagehead { position: relative; isolation: isolate; overflow: hidden; padding: 160px 0 48px; background: var(--beige); }
/* The ornament from the top of the logo, large and faint */
.pagehead::after { content: ""; position: absolute; z-index: -1; right: calc(max(0px, (100% - 1280px) / 2) - 20px); bottom: -34px; width: clamp(260px, 38vw, 520px); aspect-ratio: 2.1; background: var(--gold); opacity: .13; -webkit-mask: url(/images/system/altai-logo-white.png) top center / 100% auto no-repeat; mask: url(/images/system/altai-logo-white.png) top center / 100% auto no-repeat; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-inline: 12px; color: #b8a48f; }
.crumbs a { display: inline-block; padding-block: 6px; color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pagehead h1 { max-width: 18ch; margin: 14px 0 0; font-size: clamp(3rem, 7.4vw, 5.6rem); font-weight: 400; line-height: 1; text-wrap: balance; overflow-wrap: anywhere; }
.pagehead.long h1 { max-width: 26ch; font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.08; }
.pagehead .intro { max-width: 52ch; margin: 22px 0 0; padding-left: 18px; border-left: 2px solid var(--gold); color: var(--ink); font-size: 1.08rem; white-space: pre-wrap; }
.pagehead .tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pagehead .tabs a { display: flex; flex: none; align-items: center; min-height: 44px; padding: 0 22px; border: 1px solid #d6c4ae; border-radius: 99px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none; }
.pagehead .tabs a:hover { border-color: var(--gold); }
.pagehead .tabs a[aria-current] { border-color: var(--brown); background: var(--brown); color: #fff; }
@media (max-width: 640px) {
  .pagehead { padding: 108px 0 30px; }
  .pagehead::after { bottom: -18px; opacity: .1; }
  .pagehead .intro { margin-top: 16px; font-size: 1rem; }
  .pagehead .tabs { flex-wrap: nowrap; gap: 8px; margin: 22px -16px 0; padding: 2px 16px; overflow-x: auto; scrollbar-width: none; }
}
