/* Hotel Tri Buki – beech forest at 1,680 m in the Osogovo Mountains.
   Palette: forest night and beech green of the woods around the hotel, the copper of beech leaves in
   autumn, bark grey as the page, and the black and red of the hotel's own logo.
   Fonts: Rubik Mono One (display, heavy block letters like the logo), Fira Sans Condensed (text). */

@font-face {
    font-family: "Rubik Mono One";
    src: url("../fonts/rubik-mono-one.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Fira Sans Condensed";
    src: url("../fonts/fira-sans-condensed-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Fira Sans Condensed";
    src: url("../fonts/fira-sans-condensed-semibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --bark: #eef0eb;
    --bark-2: #e2e6df;
    --sheet: #ffffff;
    --ink: #1a211c;
    --muted: #5a665d;
    --line: #c9d0c8;
    --forest: #14241b;
    --forest-2: #1c3326;
    --forest-3: #284534;
    --beech: #2f5e37;
    --leaf: #a9d16a;
    --copper: #a24d18;
    --copper-deep: #7a3a12;
    --amber: #e9a46a;
    --logo-red: #ff1d25;
    --on-dark: #e6ebe4;
    --on-dark-muted: #b9c4bb;
    --display: "Rubik Mono One", "Arial Black", sans-serif;
    --text: "Fira Sans Condensed", "Arial Narrow", Arial, sans-serif;
    --radius: 18px;
    --wrap: 1180px;
    --lb-bg: rgba(10, 20, 14, .94);
    --lb-accent: #a9d16a;
    --lb-accent-soft: rgba(169, 209, 106, .2);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }

body {
    margin: 0;
    background: var(--bark);
    color: var(--ink);
    font-family: var(--text);
    font-size: clamp(1.06rem, 1rem + .25vw, 1.18rem);
    line-height: 1.6;
    overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--beech); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .foot :focus-visible, .call-band :focus-visible, .winter :focus-visible, .page-head :focus-visible { outline-color: var(--leaf); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; word-spacing: -.38em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.35rem, 1rem + 1.6vw, 2.2rem); }
h3 { font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--sheet); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
    font: 600 1.05rem/1.2 var(--text); text-decoration: none; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-deep); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.text-link { font-weight: 600; }

/* ---- header */
.top {
    position: sticky; top: 0; z-index: 20;
    background: rgba(238, 240, 235, .9);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-block: 12px; }
.brand { display: block; flex: 0 1 auto; margin-right: auto; }
.brand img { width: 200px; height: auto; }
.call {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px;
    border-radius: 999px; background: var(--forest); color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap;
}
.call:hover { background: var(--beech); }
.lang { display: flex; gap: 2px; font-weight: 600; font-size: .95rem; }
.lang a, .lang span { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; border-radius: 999px; text-decoration: none; color: var(--ink); }
.lang span { background: var(--bark-2); }
.lang a:hover { background: var(--bark-2); }
.menu-btn {
    display: none; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-radius: 999px;
    border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 600 1rem var(--text); cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
.nav a {
    white-space: nowrap;
    padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600;
}
.nav a:hover { background: var(--bark-2); }
.nav a[aria-current] { background: var(--beech); color: #fff; }

@media (min-width: 1100px) {
    .top-row { padding-bottom: 6px; }
    .nav { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; }
}
@media (max-width: 1099px) {
    .js .menu-btn { display: inline-flex; }
    .js .nav { display: none; padding-bottom: 6px; }
    .js .nav.open { display: flex; flex-direction: column; }
    .js .nav.open a { padding: 10px 12px; font-size: 1.1rem; }
}
@media (max-width: 560px) {
    .brand img { width: 168px; }
    .call-label { display: none; }
    .top-row { gap: 8px 10px; }
    .call { padding: 6px 12px; }
}

/* ---- hero */
.hero {
    background:
        radial-gradient(120% 80% at 85% 0%, rgba(169, 209, 106, .16), transparent 60%),
        linear-gradient(180deg, var(--forest) 0%, var(--forest-2) 100%);
    color: var(--on-dark);
    padding: clamp(32px, 6vw, 80px) 0 clamp(20px, 3vw, 36px);
    overflow: hidden;
}
.hero a:not(.btn) { color: var(--leaf); }
.hero-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero-place { color: var(--amber); font-weight: 600; margin-bottom: .8em; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-dark-muted); max-width: 36em; font-size: 1.12em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); width: 100%; }
.hero-photo::before {
    content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 2px solid rgba(169, 209, 106, .45);
    border-radius: calc(var(--radius) + 6px); pointer-events: none;
}

.hero-text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---- panorama: the signature */
.panorama { margin: clamp(28px, 4vw, 48px) 0 0; }
.pano-scroll {
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--forest-3) transparent;
    border-top: 1px solid rgba(230, 235, 228, .18); border-bottom: 1px solid rgba(230, 235, 228, .18);
}
.pano-svg { display: block; width: 100%; min-width: 980px; height: auto; }
.pano-far { fill: none; stroke: var(--leaf); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 2.6s .3s cubic-bezier(.45, .1, .25, 1) both; }
.pano-near { fill: rgba(169, 209, 106, .12); }
.pano-ticks line { stroke: rgba(230, 235, 228, .45); stroke-width: 1.5; }
.pano-dirs text { fill: var(--on-dark-muted); font: 600 15px var(--text); }
.pk circle { fill: var(--logo-red); stroke: var(--forest); stroke-width: 2; }
.pk line { stroke: rgba(230, 235, 228, .5); stroke-width: 1; stroke-dasharray: 3 3; }
.pk text { fill: #fff; font: 400 17px var(--display); letter-spacing: -.02em; word-spacing: -.38em; }
.pk { animation: fade .6s both; }
.pk1 { animation-delay: 1.1s; } .pk2 { animation-delay: 1.5s; } .pk3 { animation-delay: 2s; } .pk4 { animation-delay: 2.3s; }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes fade { from { opacity: 0; } }
.panorama figcaption { margin-top: 10px; font-size: .95rem; color: var(--on-dark-muted); }
.panorama figcaption strong { color: var(--amber); margin-right: .4em; }

/* ---- notice */
.notice { background: var(--amber); color: var(--forest); }
.notice-row { display: flex; gap: 16px; align-items: flex-start; padding-block: 20px; }
.notice svg { flex: none; margin-top: 4px; }
.notice h2 { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); margin-bottom: .3em; }
.notice p { margin: 0; max-width: 60em; }
.notice-inline { background: #f7dcc3; border-left: 6px solid var(--copper); padding: 14px 18px; border-radius: 10px; }

/* ---- sections */
.stay, .leisure, .story, .sheet, .others { padding: clamp(48px, 7vw, 96px) 0; }
.sheet { background: var(--sheet); }
.section-head { display: grid; gap: 4px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; } .section-head p { margin: 0; } }
.section-head p { color: var(--muted); }

.stay-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stay-card { background: var(--sheet); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.stay-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.stay-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.stay-body p { margin-bottom: .6em; }
.stay-count { color: var(--copper); font-weight: 600; }
.stay-card h3 a { color: var(--ink); text-decoration: none; }
.stay-card h3 a::after { content: ""; position: absolute; inset: 0; }
.stay-card:hover h3 a { text-decoration: underline; }
.stay-card:focus-within { outline: 3px solid var(--copper); outline-offset: 3px; }
.stay-card h3 a:focus-visible { outline: none; }
.price { margin-top: auto; font-family: var(--display); font-size: 1.35rem; color: var(--forest); letter-spacing: -.06em; word-spacing: -.4em; }
.price small { display: block; font-family: var(--text); font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.stay-house { background: var(--forest); color: var(--on-dark); }
.stay-house h3 a, .stay-house .price { color: #fff; }
.stay-house .stay-count { color: var(--amber); }
.stay-house .price small { color: var(--on-dark-muted); }

.leisure { background: var(--bark-2); }
.bento { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
    .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
    .bento-1 { grid-column: span 2; grid-row: span 2; }
    .bento-4, .bento-5, .bento-6 { grid-column: span 2; }
}
.bento a { position: relative; display: block; height: 100%; min-height: 200px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--forest); }
.bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bento a:hover img { transform: scale(1.04); }
.bento-text {
    position: absolute; inset: auto 0 0; padding: 40px 16px 14px;
    background: linear-gradient(transparent, rgba(12, 22, 16, .92) 45%);
    display: flex; flex-direction: column; gap: 2px;
}
.bento-text strong { font: 400 1.02rem/1.2 var(--display); letter-spacing: -.02em; word-spacing: -.38em; }
.bento-text span { font-size: .95rem; color: #e3e9e1; line-height: 1.35; }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento-text span { display: block; } }
.more-line { margin-top: 24px; color: var(--muted); }

.winter { background: var(--forest-2); color: var(--on-dark); padding: clamp(48px, 7vw, 96px) 0; }
.winter h2 { color: #fff; }
.winter p { color: var(--on-dark-muted); max-width: 40em; }
.winter a { color: var(--leaf); }
.winter-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .winter-grid { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.figures { margin: 0; display: grid; gap: 14px; }
.figures div { border-left: 4px solid var(--leaf); padding: 4px 0 4px 18px; }
.figures dt { color: var(--on-dark-muted); font-size: .95rem; }
.figures dd { margin: 0; font: 400 clamp(1.8rem, 1.2rem + 2.4vw, 3rem)/1.1 var(--display); color: #fff; letter-spacing: -.05em; word-spacing: -.4em; }

.trail { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: none; }
@media (min-width: 900px) { .trail { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.trail li { position: relative; padding: 0 0 28px 28px; border-left: 3px solid var(--beech); }
@media (min-width: 900px) { .trail li { border-left: 0; border-top: 3px solid var(--beech); padding: 22px 0 0; } }
.trail li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--logo-red); border: 3px solid var(--bark); }
@media (min-width: 900px) { .trail li::before { left: 0; top: -9px; } }
.trail-year { display: block; font: 400 1.6rem/1.1 var(--display); letter-spacing: -.04em; color: var(--beech); margin-bottom: 8px; }

/* ---- call band */
.call-band { background: linear-gradient(120deg, var(--copper-deep), var(--copper)); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.call-band h2 { color: #fff; }
.call-band p { color: #fbe9db; max-width: 36em; margin: 0; }
.call-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .call-grid { grid-template-columns: 1.2fr 1fr; } }
.call-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.big-phone { font: 400 clamp(1.5rem, 1.1rem + 2vw, 2.4rem)/1.1 var(--display); color: #fff; text-decoration: none; letter-spacing: -.05em; word-spacing: -.4em; white-space: nowrap; }
.big-phone:hover { text-decoration: underline; }
.call-band .btn-ghost { color: #fff; }

/* ---- page heads, sub-pages */
.page-head {
    background: linear-gradient(180deg, var(--forest) 0%, var(--forest-2) 100%);
    color: var(--on-dark); padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 4vw, 48px);
}
.page-head h1 { color: #fff; }
.page-head .lead { color: var(--on-dark-muted); max-width: 40em; font-size: 1.1em; margin: 0; }
.page-head a { color: var(--leaf); }
.crumbs { font-size: .95rem; margin-bottom: 16px; color: var(--on-dark-muted); }
.crumbs a { color: var(--leaf); }
.crumbs [aria-current] { color: var(--on-dark); }

.item-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .item-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.item-text { max-width: 38em; }
.facts { margin: 0 0 24px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(8em, 40%) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.item-photos { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.item-photos li:first-child { grid-column: 1 / -1; }
.item-photos.count-2 li:first-child { grid-column: auto; }
.item-photos.count-1 { grid-template-columns: 1fr; }
.item-photos figure { margin: 0; height: 100%; }
.item-photos a { display: block; height: 100%; }
.item-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

.others { background: var(--bark); padding-block: 40px 56px; }
.others h2 { font-size: 1.2rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--beech); text-decoration: none; font-weight: 600; }
.chips a:hover { background: var(--beech); color: #fff; }
.chips a[aria-current] { background: var(--beech); color: #fff; }

/* ---- rooms page */
.room { padding: clamp(40px, 6vw, 80px) 0; }
.room:nth-of-type(even) { background: var(--sheet); }
.room-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .room-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.room-tag { display: inline-block; color: var(--copper); font-weight: 600; margin-bottom: 6px; }
.room-price { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0; padding: 0; list-style: none; }
.room-price li { background: var(--forest); color: #fff; border-radius: 14px; padding: 12px 18px; }
.room-price strong { display: block; font: 400 1.4rem/1.1 var(--display); letter-spacing: -.05em; word-spacing: -.4em; }
.room-price span { font-size: .95rem; color: var(--on-dark-muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--beech); border-bottom: 2.5px solid var(--beech); transform: rotate(-45deg); }
.small-note { color: var(--muted); font-size: .98rem; }

/* ---- price list */
.price-table { width: 100%; border-collapse: collapse; background: var(--sheet); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.price-table caption { text-align: left; font: 400 1.2rem/1.2 var(--display); letter-spacing: -.02em; word-spacing: -.38em; padding: 0 0 12px; }
.price-table th, .price-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--forest); color: #fff; font-weight: 600; }
.price-table td:last-child { font-weight: 600; white-space: nowrap; }
.price-table tbody tr:last-child td, .price-table tbody tr:last-child th { border-bottom: 0; }
.price-table tbody th { font-weight: 400; }
@media (max-width: 560px) {
    .price-table td:last-child { white-space: normal; }
    .price-table th, .price-table td { padding: 10px 12px; }
}

/* ---- sports overview */
.sport-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sport-card { background: var(--sheet); border-radius: var(--radius); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.sport-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.sport-card div { padding: 16px 18px 20px; }
.sport-card h3 a { color: var(--ink); text-decoration: none; }
.sport-card h3 a::after { content: ""; position: absolute; inset: 0; }
.sport-card:hover h3 a { text-decoration: underline; }
.sport-card:focus-within { outline: 3px solid var(--copper); outline-offset: 3px; }
.sport-card h3 a:focus-visible { outline: none; }
.sport-card p { margin: 0; color: var(--muted); }
.extras { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.extra { background: var(--sheet); border-radius: var(--radius); padding: 18px; }
.extra h3 { margin-bottom: .3em; }
.extra p { margin: 0 0 .6em; color: var(--muted); }
.extra-photos { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; }
.extra-photos li { flex: 1; min-width: 0; }
.extra-photos img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---- gallery */
.gallery-grid { list-style: none; padding: 0; margin: 0; columns: 3 260px; column-gap: 12px; }
.gallery-grid li { break-inside: avoid; margin-bottom: 12px; }
.gallery-grid figure { margin: 0; }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; }
.gallery-grid img { width: 100%; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.03); }

/* ---- contact */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.card { background: var(--sheet); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.contact-list { margin: 0; }
.contact-list div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: .95rem; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-phone { font: 400 clamp(1.4rem, 1.1rem + 1.6vw, 2.1rem)/1.15 var(--display); letter-spacing: -.05em; word-spacing: -.4em; color: var(--forest); text-decoration: none; }
.contact-phone:hover { text-decoration: underline; }
.contact-photo { margin: 20px 0 0; }
.contact-photo img { border-radius: 12px; }

.contact-form { display: grid; gap: 14px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--bark);
    font: inherit; color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--beech); outline: 3px solid rgba(47, 94, 55, .25); outline-offset: 0; }
.contact-form ul { margin: 4px 0 0; padding-left: 1.1em; color: #9b1c1c; }
.contact-form .btn { justify-self: start; }
.form-hint { color: var(--muted); font-size: .95rem; margin: 0; }
.contact-sent { background: #e3f0d3; border-left: 6px solid var(--beech); padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; }
.contact-sent strong { display: block; }

.prose { max-width: 42em; }
.prose h2 { margin-top: 1.2em; }

/* ---- footer */
.foot { background: var(--forest); color: var(--on-dark-muted); padding: 56px 0 28px; font-size: 1rem; }
.foot a { color: var(--on-dark); }
.foot a:hover { color: var(--leaf); }
.foot h2 { font: 600 1rem var(--text); color: var(--amber); letter-spacing: 0; margin-bottom: .6em; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot-brand img { width: 238px; margin-bottom: 14px; }
.foot-phone { font: 400 1.3rem var(--display); letter-spacing: -.05em; word-spacing: -.4em; text-decoration: none; white-space: nowrap; }
.foot-nav { list-style: none; padding: 0; margin: 0; columns: 2; }
.foot-nav li { margin-bottom: 4px; }
.foot address { font-style: normal; }
.foot-bottom { border-top: 1px solid rgba(230, 235, 228, .16); margin-top: 40px; padding-top: 20px; font-size: .95rem; }
.foot-bottom p { margin: 0; }

/* ---- 404 */
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; background: var(--bark); }
.not-found > div { max-width: 38em; }
.not-found img { width: 238px; margin-bottom: 24px; }
.not-found [lang="en"] { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .btn:hover, .bento a:hover img, .gallery-grid a:hover img { transform: 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;
    }
}

/* ---- late additions */
.h3 { font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); }
.prose-wide { max-width: 880px; }
.price small { word-spacing: normal; letter-spacing: normal; }
.sport-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.item-photos.count-4 li:first-child { grid-column: auto; }
@media (max-width: 560px) { .pano-svg { min-width: 1100px; } }
