/* Бащината къща – lime plaster and stained timber, the facade of the house itself.
   Alegreya SC for headings, Libertinus Sans for text. One theme (light plaster, dark timber bands). */

@font-face { font-family: "Alegreya SC"; src: url("/fonts/alegreya-sc-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Alegreya SC"; src: url("/fonts/alegreya-sc-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Libertinus Sans"; src: url("/fonts/libertinus-sans.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libertinus Sans"; src: url("/fonts/libertinus-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Libertinus Sans"; src: url("/fonts/libertinus-sans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
    --plaster: #f7f2e9;
    --plaster-2: #efe6d6;
    --paper: #fffdf8;
    --timber: #2a1b12;
    --timber-2: #3b281b;
    --timber-3: #5a3f2b;
    --ink: #24170f;
    --ink-soft: #5a4838;
    --tile: #8f2b1e;
    --tile-deep: #6e1f15;
    --spruce: #1d3a2e;
    --spruce-2: #2b5141;
    --spruce-3: #3f6b56;
    --meadow: #7e8f33;
    --amber: #b47810;
    --amber-lit: #e0a33a;
    --cream: #f4e8d0;
    --cream-soft: #d9c8aa;
    --line: #d9ccb6;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 18px 40px -22px rgb(42 27 18 / .45);
    --display: "Alegreya SC", "Libertinus Sans", Georgia, serif;
    --text: "Libertinus Sans", "Segoe UI", system-ui, sans-serif;
    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --lb-bg: rgb(26 17 11 / .94);
    --lb-text: #f4e8d0;
    --lb-accent: #e0a33a;
    --lb-accent-soft: rgb(224 163 58 / .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--plaster);
    color: var(--ink);
    font-family: var(--text);
    font-size: clamp(1.06rem, 1rem + .25vw, 1.19rem);
    line-height: 1.6;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tile); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--tile-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.6rem + 5vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--timber); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.kicker {
    display: inline-flex; align-items: center; gap: .6em;
    font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: .06em;
    color: var(--tile); margin: 0 0 .9rem;
}
.kicker::before { content: ""; width: 34px; height: 3px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); max-width: 38em; }

/* buttons */
.btn {
    display: inline-flex; align-items: center; gap: .55em; justify-content: center;
    min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
    background: var(--tile); color: #fff; font: 700 1.05rem/1.2 var(--text); text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
    box-shadow: 0 10px 22px -12px rgb(143 43 30 / .8);
    cursor: pointer;
}
.btn:hover { background: var(--tile-deep); color: #fff; transform: translateY(-2px); }
.btn svg { flex: none; }
.btn-ghost { background: transparent; color: var(--timber); border-color: var(--timber); box-shadow: none; }
.btn-ghost:hover { background: var(--timber); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--timber); box-shadow: none; }
.btn-cream:hover { background: #fff; color: var(--timber); }
.btn-line { background: transparent; color: var(--cream); border-color: var(--cream-soft); box-shadow: none; }
.btn-line:hover { background: var(--cream); color: var(--timber); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* header */
.top {
    position: sticky; top: 0; z-index: 50;
    background: rgb(247 242 233 / .9);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-bottom: 1px solid rgb(42 27 18 / .12);
}
.top-row { display: flex; align-items: center; gap: 12px 20px; min-height: 76px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: auto; height: 68px; }
.brand-text { display: flex; flex-direction: column; font-family: var(--display); font-weight: 500; line-height: 1.15; font-size: .98rem; }
.brand-text span:last-child { color: var(--ink-soft); font-size: .88rem; }
.top-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.call {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
    background: var(--timber); color: var(--cream); text-decoration: none; font-weight: 700; white-space: nowrap;
}
.call:hover { background: var(--tile); color: #fff; }
.lang { display: flex; border: 1px solid rgb(42 27 18 / .25); border-radius: 999px; overflow: hidden; font-size: .92rem; font-weight: 700; }
.lang a, .lang span { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 8px; text-decoration: none; }
.lang a { color: var(--ink); }
.lang a:hover { background: var(--plaster-2); color: var(--tile); }
.lang span { background: var(--timber); color: var(--cream); }
.nav { display: flex; gap: 2px; }
.nav a {
    position: relative; padding: 10px 11px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; white-space: nowrap;
    border-radius: 10px;
}
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 3px; border-radius: 2px; background: var(--tile); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--tile); }
.nav-wide { display: none; }
.menu { width: 100%; }
.menu summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
    padding: 0 16px; border-radius: 999px; border: 1px solid rgb(42 27 18 / .25); font-weight: 700;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 18px; height: 12px; background: linear-gradient(var(--ink) 0 0) top / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) center / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) bottom / 100% 2px no-repeat; }
.menu[open] summary { background: var(--timber); color: var(--cream); }
.menu[open] summary::before { filter: invert(1); }
.nav-narrow { flex-direction: column; padding: 8px 0 12px; }
.nav-narrow a { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
.nav-narrow a::after { display: none; }
.top .wrap { width: min(100% - 2 * var(--gutter), 1360px); }
@media (min-width: 1220px) {
    .nav-wide { display: flex; order: 2; }
    .top-tools { order: 3; }
    .brand { margin-right: 0; }
    .nav-wide { margin-left: auto; }
    .menu { display: none; }
}
@media (min-width: 1220px) and (max-width: 1499px) { .brand-text { display: none; } .nav a { padding-inline: 9px; } }
@media (max-width: 520px) {
    .brand-text { display: none; }
    .brand img { height: 52px; }
    .top-row { gap: 10px; }
    .call { padding: 0 12px; }
}

/* the timber belt: dark-stained beams with their ends, as between the floors of the facade */
.belt {
    height: 22px;
    background:
        radial-gradient(circle at 50% 50%, rgb(0 0 0 / .35) 0 2px, transparent 2.5px) 0 50% / 64px 22px repeat-x,
        repeating-linear-gradient(90deg, transparent 0 63px, rgb(0 0 0 / .45) 63px 64px),
        repeating-linear-gradient(0deg, rgb(255 255 255 / .03) 0 2px, transparent 2px 5px),
        linear-gradient(var(--timber-2), var(--timber));
}

/* home hero */
.hero { position: relative; overflow: clip; padding: clamp(28px, 5vw, 72px) 0 clamp(130px, 17vw, 250px); }
.hero-grid { position: relative; z-index: 2; display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero h1 { margin-bottom: .25em; }
.hero h1 .h1-small { display: block; font-size: .36em; font-weight: 500; letter-spacing: .02em; color: var(--tile); margin-bottom: .35em; }
.motto { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--spruce-2); margin: 0 0 1rem; line-height: 1.25; }
.ridges { position: absolute; inset: auto 0 0 0; z-index: 1; width: 100%; height: clamp(150px, 20vw, 280px); }
.ridges path { transform-box: fill-box; }

/* the window: the photo of the house behind two timber shutters that open */
.window { position: relative; justify-self: center; width: min(100%, 560px); }
.window-frame {
    position: relative; padding: 12px; border-radius: 22px 22px 8px 8px;
    background: linear-gradient(var(--timber-2), var(--timber)); box-shadow: var(--shadow), inset 0 0 0 2px rgb(255 255 255 / .06);
}
.window-frame > a { display: block; overflow: hidden; border-radius: 12px 12px 4px 4px; }
.window-frame img { width: 100%; }
.shutter {
    position: absolute; top: 12px; bottom: 12px; width: calc(50% - 12px); z-index: 2; pointer-events: none;
    background:
        repeating-linear-gradient(180deg, rgb(255 255 255 / .06) 0 3px, transparent 3px 16px),
        linear-gradient(90deg, var(--timber-3), var(--timber-2));
    border: 2px solid var(--timber);
}
.shutter-l { left: 12px; transform-origin: left center; border-radius: 12px 0 0 4px; }
.shutter-r { right: 12px; transform-origin: right center; border-radius: 0 12px 4px 0; }
.shutter { transform: perspective(900px) rotateY(-100deg); opacity: 0; }
.shutter-r { transform: perspective(900px) rotateY(100deg); }
.sill {
    height: 18px; margin: 0 -14px; border-radius: 4px;
    background: repeating-linear-gradient(90deg, var(--timber-2) 0 9px, var(--timber-3) 9px 12px);
    box-shadow: 0 10px 20px -10px rgb(42 27 18 / .6);
}
.window figcaption { margin-top: 12px; font-size: .95rem; color: var(--ink-soft); text-align: center; }

@media (prefers-reduced-motion: no-preference) {
    .shutter { animation: shutter-l 1.5s cubic-bezier(.6, .05, .2, 1) .35s both; }
    .shutter-r { animation-name: shutter-r; }
    .ridges .r1 { animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) .1s both; }
    .ridges .r2 { animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) .25s both; }
    .ridges .r3 { animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) .4s both; }
    .hero-copy > * { animation: fade-up .8s ease both; }
    .hero-copy > :nth-child(2) { animation-delay: .1s; }
    .hero-copy > :nth-child(3) { animation-delay: .2s; }
    .hero-copy > :nth-child(4) { animation-delay: .3s; }
    .hero-copy > :nth-child(5) { animation-delay: .4s; }
}
@keyframes shutter-l { from { transform: perspective(900px) rotateY(0); opacity: 1; } 70% { opacity: 1; } to { transform: perspective(900px) rotateY(-100deg); opacity: 0; } }
@keyframes shutter-r { from { transform: perspective(900px) rotateY(0); opacity: 1; } 70% { opacity: 1; } to { transform: perspective(900px) rotateY(100deg); opacity: 0; } }
@keyframes rise { from { transform: translateY(60%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* figures in a timber band */
.band-timber {
    position: relative; background:
        repeating-linear-gradient(0deg, rgb(255 255 255 / .025) 0 2px, transparent 2px 6px),
        linear-gradient(var(--timber-2), var(--timber));
    color: var(--cream);
}
.band-timber a { color: var(--amber-lit); }
.band-timber a:hover { color: #fff; }
.band-timber h2, .band-timber h3 { color: var(--cream); }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.figures li { padding: clamp(18px, 3vw, 30px) clamp(14px, 2vw, 24px); container-type: inline-size; border-left: 1px solid rgb(244 232 208 / .16); border-top: 1px solid rgb(244 232 208 / .16); }
.figures b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 22cqi, 4.2rem); line-height: 1; color: var(--amber-lit); }
.figures span { display: block; margin-top: 6px; font-size: 1rem; color: var(--cream); }
@media (min-width: 760px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } .figures li { border-top: 0; padding-block: 8px 34px; } }

/* sections */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { max-width: 44em; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { color: var(--ink-soft); }
.on-plaster-2 { background: var(--plaster-2); }

.duo { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 880px) { .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .duo-wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.photo { margin: 0; position: relative; }
.photo a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; transition: transform .5s ease; }
.photo a:hover img { transform: scale(1.04); }
.photo figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: 10px; }
.quote { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); color: var(--spruce-2); margin: 1.2rem 0 0; line-height: 1.1; }

/* bento */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bento .tile-wide { grid-column: span 2; } }
.tile {
    position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--paper); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); min-height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
a.tile:hover { transform: translateY(-4px); color: var(--ink); box-shadow: 0 26px 50px -24px rgb(42 27 18 / .55); }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 1080px) { .tile-wide img { aspect-ratio: 2 / 1; } }
.tile-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile-body h3 { margin: 0; }
.tile-body p { margin: 0; color: var(--ink-soft); }
.tile-more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--tile); }
.tile-dark { background: var(--spruce); color: var(--cream); }
.tile-dark .tile-body p { color: var(--cream-soft); }
.tile-dark .tile-more { color: var(--amber-lit); }
a.tile-dark:hover { color: var(--cream); }
.tile-price { background: var(--tile); color: #fff; }
.tile-price .tile-body p { color: #f6dcd5; }
.tile-price .tile-more { color: #fff; }
a.tile-price:hover { color: #fff; }
.tile-price b { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 2.4rem + 2vw, 4.4rem); line-height: 1; }
.tile-list { list-style: none; margin: 4px 0 0; padding: 0; }
.tile-list li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px solid rgb(244 232 208 / .14); }
.tile-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 12px; height: 12px; border-radius: 3px; background: var(--amber-lit); transform: rotate(45deg); }

/* the road: kilometre stones from Mogilitsa */
.road-band { background: var(--spruce); color: var(--cream); overflow: clip; }
.road-band h2 { color: var(--cream); }
.road-band .section-head p { color: var(--cream-soft); }
.road-wrap { position: relative; }
.road { position: relative; list-style: none; margin: 0; padding: 0; }
.road-svg { display: none; }
.road li { position: relative; padding: 0 0 22px 64px; }
.road li::before {
    content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 18px;
    background: linear-gradient(var(--cream-soft) 0 0) center / 2px 100% no-repeat, #15291f;
}
.road li:last-child::before { bottom: auto; height: 30px; }
.stone {
    position: absolute; left: 12px; top: 2px; width: 34px; height: 40px; border-radius: 16px 16px 4px 4px;
    background: linear-gradient(var(--tile) 0 38%, #f4efe6 38%); box-shadow: 0 6px 10px -6px rgb(0 0 0 / .7);
}
.road .km { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.7rem); line-height: 1; color: var(--amber-lit); }
.road .to { display: block; font-size: 1.08rem; color: var(--cream); }
.road .start .km { color: var(--cream); }
.road .start .stone { background: var(--amber-lit); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); width: 30px; height: 30px; left: 14px; }
.road-note { font-size: .95rem; color: var(--cream-soft); margin-top: 18px; }
@media (min-width: 900px) {
    .road-wrap, .road { height: 300px; }
    .road-svg { display: block; position: absolute; left: 0; right: 0; top: 112px; width: 100%; height: 76px; }
    .road li { position: absolute; top: 0; left: calc(var(--x) * (100% - 150px)); width: 150px; padding: 0; height: 300px; }
    .road li::before { display: none; }
    .road .stone { left: 0; top: 122px; }
    .road .start .stone { left: 2px; top: 126px; }
    .road .label { position: absolute; left: 0; width: 150px; }
    .road li:nth-child(odd) .label { top: 186px; }
    .road .start .label { width: 240px; }
    .road li:nth-child(even) .label { bottom: 196px; }
    .road li:nth-child(odd) .label::before, .road li:nth-child(even) .label::before {
        content: ""; position: absolute; left: 16px; width: 2px; background: rgb(244 232 208 / .35);
    }
    .road li:nth-child(odd) .label::before { top: -22px; height: 18px; }
    .road li:nth-child(even) .label::before { bottom: -30px; height: 26px; }
}
.road-svg .lane { stroke-dasharray: 18 14; }
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .road-svg .lane { animation: lane-draw linear both; animation-timeline: view(); animation-range: entry 10% cover 55%; }
        .road .stone { animation: stone-up linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    }
}
@keyframes lane-draw { from { stroke-dashoffset: 1400; opacity: .2; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes stone-up { from { transform: translateY(16px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* the Agushev konak: the figures the original gives */
.konak { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 960px) { .konak { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; } }
.konak-figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.konak-figures li { border-top: 3px solid var(--tile); padding-top: 10px; container-type: inline-size; }
.konak-figures b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 30cqi, 5rem); line-height: .95; color: var(--timber); }
.konak-figures span { color: var(--ink-soft); }

/* a sideways strip of photos */
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 18px; list-style: none; margin: 0; scrollbar-color: var(--timber-3) transparent; }
.strip li { flex: 0 0 auto; width: min(78vw, 420px); scroll-snap-align: start; position: relative; }
.strip a { display: block; border-radius: var(--radius); overflow: hidden; }
.strip img { width: 100%; aspect-ratio: 500 / 355; object-fit: cover; transition: transform .4s ease; }
.strip a:hover img { transform: scale(1.05); }

/* call band */
.cta { background: var(--tile); color: #fff; padding: clamp(44px, 6vw, 80px) 0; position: relative; overflow: clip; }
.cta::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: repeating-linear-gradient(90deg, var(--tile-deep) 0 18px, transparent 18px 30px); }
.cta-row { display: grid; gap: 20px; align-items: center; }
@media (min-width: 880px) { .cta-row { grid-template-columns: minmax(0, 1fr) auto; } }
.cta h2 { color: #fff; margin-bottom: .2em; }
.cta p { margin: 0; color: #fbe7e2; }
.cta-phone { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); color: #fff; text-decoration: none; white-space: nowrap; line-height: 1.1; }
.cta-phone:hover { color: var(--cream); text-decoration: underline; }
.cta .btn-cream { margin-top: 12px; }

/* inner page hero */
.page-hero { position: relative; overflow: clip; padding: clamp(36px, 6vw, 80px) 0 clamp(80px, 10vw, 130px); background: var(--plaster); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.8rem); }
.page-hero .ridges { height: clamp(70px, 10vw, 140px); }

.prose { max-width: 44em; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { margin-top: 1.2em; }
.marks { list-style: none; padding: 0; margin: 0 0 1em; }
.marks li { position: relative; padding: 6px 0 6px 28px; }
.marks li::before { content: ""; position: absolute; left: 3px; top: .9em; width: 11px; height: 11px; background: var(--tile); transform: rotate(45deg); border-radius: 2px; }

/* rooms */
.facts { list-style: none; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.facts li { background: var(--paper); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); container-type: inline-size; }
.facts b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 26cqi, 3.2rem); line-height: 1; color: var(--tile); }
.grid-photos { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.grid-photos li { position: relative; }
.grid-photos a { display: block; border-radius: 14px; overflow: hidden; background: var(--plaster-2); }
.grid-photos img { width: 100%; aspect-ratio: 500 / 355; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.grid-photos a:hover img { transform: scale(1.05); }

/* price list: one line per room type, the price large on the right */
.prices { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--timber); }
.prices li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.prices .room { font-family: var(--display); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.15; }
.prices .incl { grid-column: 1; font-size: .98rem; color: var(--ink-soft); }
.prices .eur { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); color: var(--tile); white-space: nowrap; }
.prices .eur small { font-family: var(--text); font-weight: 400; font-size: .9rem; color: var(--ink-soft); display: block; text-align: right; }
.notes { background: var(--paper); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.notes h3 { font-size: 1.3rem; }

/* tavern / services */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.service-list li { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 5px solid var(--spruce-2); }
.service-list h3 { font-size: 1.35rem; margin-bottom: .3em; }
.service-list p { margin: 0; color: var(--ink-soft); }

/* area */
.place { scroll-margin-top: 100px; }
.sights { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); counter-reset: sight; }
.sights > li { background: var(--paper); border-radius: var(--radius); padding: 20px 22px 22px; box-shadow: var(--shadow); counter-increment: sight; position: relative; }
.sights > li::before { content: counter(sight, decimal-leading-zero); font-family: var(--display); font-weight: 800; color: var(--amber); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.sights h3 { font-size: 1.3rem; margin-bottom: .3em; }
.sights p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.lakes { columns: 2 140px; margin: .6em 0 0; font-size: 1rem; }
.lakes li { break-inside: avoid; padding-block: 3px; }
.grid-photos.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.subnav a { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.subnav a:hover { background: var(--timber); color: var(--cream); }

/* routes: a numbered trail */
.trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 900px) { .trail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.route { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px clamp(18px, 3vw, 30px) 26px; position: relative; overflow: clip; }
.route-no { position: absolute; right: 18px; top: 6px; font-family: var(--display); font-weight: 800; font-size: 5.4rem; line-height: 1; color: rgb(143 43 30 / .13); }
.route h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); padding-right: 56px; }
.steps { list-style: none; margin: 0; padding: 0; border-left: 3px dotted var(--timber-3); }
.steps li { position: relative; padding: 0 0 12px 22px; }
.steps li::before { content: ""; position: absolute; left: -8px; top: .45em; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--tile); }
.steps li:first-child::before, .steps li:last-child::before { background: var(--tile); }
.steps time, .steps .time { display: block; font-weight: 700; color: var(--spruce-2); font-size: .98rem; }
.route-foot { margin: 8px 0 0; font-size: .95rem; color: var(--ink-soft); }

/* gallery */
.albums-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2rem; }
.albums-nav a { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.albums-nav a:hover { background: var(--timber); color: var(--cream); }
.album { scroll-margin-top: 100px; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.album h2 { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.album h2 small { font-family: var(--text); font-weight: 400; font-size: 1rem; color: var(--ink-soft); }
.doc { display: grid; gap: 20px; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 28px); box-shadow: var(--shadow); margin-bottom: 22px; }
@media (min-width: 880px) { .doc { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); align-items: start; } }
.doc figure { margin: 0; }
.doc a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.doc h3 { font-size: 1.35rem; }
.doc dl { margin: 0; display: grid; gap: 8px; }
.doc dt { font-weight: 700; }
.doc dd { margin: 0 0 6px; color: var(--ink-soft); }

/* contact */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow); }
.card-dark { background: var(--timber); color: var(--cream); }
.card-dark h2, .card-dark h3 { color: var(--cream); }
.card-dark a { color: var(--amber-lit); }
.card-dark a:hover { color: #fff; }
.card-dark p, .card-dark dd { color: var(--cream-soft); }
.people { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 14px; }
.people li { border-bottom: 1px solid rgb(244 232 208 / .18); padding-bottom: 14px; container-type: inline-size; }
.people .who { display: block; font-weight: 700; color: var(--cream); }
.big-phone { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 11cqi, 2.6rem); line-height: 1.1; text-decoration: none; white-space: nowrap; }
.card-dark .big-phone { color: var(--amber-lit); }
.card-dark .big-phone:hover { color: #fff; }
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list dt { font-weight: 700; color: var(--cream); }
.contact-list dd { margin: 2px 0 0; }
.note { border-left: 4px solid var(--amber); padding: 6px 0 6px 14px; color: var(--ink-soft); }
.card-dark .note { border-color: var(--amber-lit); }

.contact-form { display: grid; gap: 14px; }
.contact-form label { font-weight: 700; display: block; margin-bottom: 4px; }
.contact-form input, .contact-form textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b9a88d; border-radius: 12px; padding: 12px 14px;
}
.contact-form textarea { resize: vertical; min-height: 170px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--timber); }
.contact-form ul { list-style: none; margin: 4px 0 0; padding: 0; color: var(--tile-deep); font-weight: 700; }
.contact-form .btn { justify-self: start; }
.form-hint { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.contact-sent { background: #e7efe1; border-left: 5px solid var(--spruce-2); padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; }
.contact-sent strong { display: block; }

/* footer */
.foot { background: var(--timber); color: var(--cream-soft); margin-top: 0; }
.foot .belt { height: 14px; }
.foot-grid { display: grid; gap: 30px; padding: clamp(40px, 6vw, 70px) 0 30px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: auto minmax(0, 1fr) auto; gap: 56px; } }
.foot h2 { overflow-wrap: break-word; hyphens: auto; }
.foot-brand img { width: 200px; }
.foot h2 { font-size: 1.4rem; color: var(--cream); margin-bottom: .6em; }
.foot a { color: var(--amber-lit); }
.foot a:hover { color: #fff; }
.foot-phone { font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-decoration: none; }
.foot-nav { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.foot-nav li { padding: 3px 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0 28px; border-top: 1px solid rgb(244 232 208 / .16); font-size: .95rem; }
.foot-bottom p { margin: 0; }

/* scroll reveal, finished state without support */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reveal { animation: fade-up linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .shutter { display: none; }
}

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}

/* 404 */
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 48px 0; background: var(--plaster); }
.not-found .wrap { max-width: 640px; }
.not-found-logo { width: 200px; margin-bottom: 24px; }
.not-found h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); }
.not-found h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* buttons keep their own colours inside dark cards and bands */
.card-dark a.btn, .road-band a.btn { color: #fff; }
.card-dark a.btn-cream, .band-timber a.btn-cream, .foot a.btn-cream, .cta a.btn-cream { color: var(--timber); }
.card-dark a.btn-cream:hover, .cta a.btn-cream:hover { color: var(--timber); background: #fff; }
