/* Hotel Fors: the word on the restaurant wall.
   Logo stone #515046 (the ink of the Fors logo) and the logo's black band, the ivory of the restaurant's
   wall panel, the lime of its ceiling. Libertinus Serif Display + Italic for headings and the dictionary
   entry, Zen Kaku Gothic New for text. */

@font-face {
    font-family: "Libertinus Display";
    src: url("/fonts/libertinus-serif-display.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Libertinus Italic";
    src: url("/fonts/libertinus-serif-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
/* Zen Kaku Gothic New has no ѝ (U+045D): it is left out of the range, so the letter falls back. */
@font-face {
    font-family: "Zen Kaku";
    src: url("/fonts/zen-kaku-gothic-new.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-007E, U+00A0-00FF, U+0400-045C, U+045E-045F, U+2010-2026, U+2030, U+2039-203A, U+20AC, U+2116, U+2122;
}
@font-face {
    font-family: "Zen Kaku";
    src: url("/fonts/zen-kaku-gothic-new-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-007E, U+00A0-00FF, U+0400-045C, U+045E-045F, U+2010-2026, U+2030, U+2039-203A, U+20AC, U+2116, U+2122;
}

:root {
    --stone: #515046;
    --stone-deep: #3d3c34;
    --night: #2a2924;
    --black: #000;
    --ivory: #f1ece2;
    --sheet: #faf7f0;
    --line-ivory: #d8d0bf;
    --lime: #c9cf4f;
    --lime-soft: #e3e79a;
    --olive: #5a6114;
    --ink: #24231e;
    --muted: #5c5a50;
    --on-dark: #f1ece2;
    --on-dark-muted: #d9d4c6;
    --display: "Libertinus Display", "Libertinus Italic", Georgia, serif;
    --italic: "Libertinus Italic", Georgia, serif;
    --text: "Zen Kaku", "Segoe UI", Arial, sans-serif;
    --wrap: 1180px;
    --radius: 18px;
    --focus: var(--olive);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: clip;
}

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

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

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3, .h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }

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

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

.skip {
    position: absolute; left: 16px; top: -100px; z-index: 100;
    background: var(--lime); color: var(--black); padding: .6em 1em; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Dark surfaces: stone, black, night. */
.top, .hero, .page-hero, .house, .callband, .foot { --focus: var(--lime); color: var(--on-dark); }

/* ---------- header ---------- */

.top {
    position: sticky; top: 0; z-index: 50;
    background: rgb(81 80 70 / .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgb(241 236 226 / .14);
}
.top-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px 24px;
    min-height: 72px;
}
/* The logo hangs on an ivory plate, as it hangs on the wall panel of the restaurant. */
.brand {
    align-self: start;
    background: var(--ivory);
    padding: 10px 14px 12px;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 24px -14px rgb(0 0 0 / .6);
}
.brand img { width: 124px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: center; font-size: .97rem; }
.nav a { color: var(--on-dark); text-decoration: none; padding: .35em 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: rgb(201 207 79 / .6); }
.nav a[aria-current] { border-bottom-color: var(--lime); color: #fff; }
.top-tools { display: flex; align-items: center; gap: 14px; }
.call {
    display: inline-flex; align-items: center; gap: .45em;
    background: var(--lime); color: var(--black); font-weight: 700; text-decoration: none;
    padding: .5em .95em; border-radius: 999px; white-space: nowrap;
}
.call:hover { background: var(--lime-soft); }
.lang { display: flex; gap: 2px; font-size: .9rem; }
.lang a, .lang span { padding: .3em .5em; border-radius: 6px; }
.lang a { color: var(--on-dark); text-decoration: none; }
.lang a:hover { background: rgb(241 236 226 / .12); }
.lang span { background: var(--black); color: var(--lime); font-weight: 700; }

@media (max-width: 1060px) {
    .top-row { grid-template-columns: auto 1fr; }
    .top-tools { justify-self: end; grid-row: 1; grid-column: 2; }
    .nav {
        grid-column: 1 / -1; justify-content: flex-start;
        flex-wrap: nowrap; overflow-x: auto; gap: 4px 18px; padding-bottom: 6px;
        scrollbar-width: thin;
    }
}
@media (max-width: 480px) {
    .brand { padding: 8px 10px 10px; }
    .brand img { width: 96px; }
    .top-tools { gap: 8px; }
    .call { padding: .45em .75em; font-size: .92rem; }
    .lang { font-size: .85rem; }
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font: 700 1rem/1.2 var(--text);
    padding: .95em 1.4em; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--black); }
.btn-lime:hover { background: var(--lime-soft); }
.btn-line { border-color: var(--on-dark); color: var(--on-dark); }
.btn-line:hover { background: rgb(241 236 226 / .1); }
.btn-ink { background: var(--stone); color: var(--on-dark); }
.btn-ink:hover { background: var(--black); }

/* ---------- hero: the dictionary entry from the restaurant wall ---------- */

.hero { background: var(--stone); padding-top: clamp(28px, 5vw, 64px); overflow: clip; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: end;
}
.entry { padding-bottom: clamp(12px, 3vw, 36px); }
.entry-word {
    font-family: var(--display);
    font-size: clamp(7rem, 26vw, 17rem);
    line-height: .78;
    letter-spacing: -.03em;
    margin: 0 0 .12em -.04em;
    color: var(--on-dark);
}
.entry-meta {
    font-family: var(--italic); font-style: italic;
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    color: var(--lime); margin: 0 0 .2em; display: flex; gap: 1.2em;
}
.entry-gloss {
    font-family: var(--italic); font-style: italic;
    font-size: clamp(1.45rem, 3.4vw, 2.5rem);
    line-height: 1.15; margin: 0; color: var(--on-dark);
}
.entry-source { margin: 1.1em 0 0; font-size: .95rem; color: var(--on-dark-muted); }
.entry-source::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--lime); vertical-align: middle; margin-right: 10px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo a { display: block; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

/* The black band of the logo: it starts at the left edge of the page and stops short of the right. */
.band {
    background: var(--black);
    width: min(100%, calc(50% + var(--wrap) / 2 - 80px));
    padding: clamp(14px, 2.2vw, 22px) 0;
    position: relative;
}
.band .wrap { width: auto; margin-left: max(16px, calc(50vw - var(--wrap) / 2)); margin-right: 24px; }
.band h1 {
    font-size: clamp(1.45rem, 3.2vw, 2.45rem);
    color: var(--on-dark); margin: 0; line-height: 1.15;
}
.hero-foot {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center;
    padding: clamp(24px, 4vw, 44px) 0 clamp(40px, 6vw, 72px);
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark-muted); margin: 0; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-photo a { border-radius: var(--radius); }
    .hero-photo img { aspect-ratio: 16 / 11; }
    .band { width: calc(100% - 24px); margin-top: 24px; }
    .hero-foot { grid-template-columns: minmax(0, 1fr); }
}

/* One orchestrated moment: the word settles, then the band runs in from the left. */
@media (prefers-reduced-motion: no-preference) {
    .entry-word { animation: word-in 1.1s cubic-bezier(.2, .7, .2, 1) both; }
    .entry-meta, .entry-gloss, .entry-source { animation: fade-in .7s ease .55s both; }
    .hero .band, .page-hero .band { animation: band-in .9s cubic-bezier(.7, 0, .2, 1) .35s both; }
    .hero .band h1 { animation: fade-in .6s ease 1.05s both; }
}
@keyframes word-in {
    from { opacity: 0; letter-spacing: .14em; filter: blur(6px); }
    to { opacity: 1; letter-spacing: -.03em; filter: blur(0); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes band-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- walk: what is near the hotel ---------- */

.walk { padding: clamp(56px, 8vw, 110px) 0; }
.walk-intro { max-width: 54ch; color: var(--muted); font-size: 1.1rem; }
.line {
    list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
    position: relative;
}
.line::before, .line::after {
    content: ""; position: absolute; left: 11px; right: 11px; top: 10px; height: 4px; border-radius: 2px;
}
.line::before { background: var(--line-ivory); }
.line::after { background: var(--stone); transform-origin: left center; }
.stop { position: relative; padding-top: 44px; }
.stop-dot {
    position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%;
    background: var(--ivory); border: 4px solid var(--stone); z-index: 1;
}
.stop-home .stop-dot { background: var(--black); border-color: var(--black); box-shadow: 0 0 0 5px var(--lime); }
.stop-sea .stop-dot { background: var(--lime); }
.stop-when { font-family: var(--italic); font-style: italic; font-size: 1.15rem; color: var(--olive); margin: 0 0 .25em; }
.stop h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); margin-bottom: .3em; }
.stop p:last-child { color: var(--muted); font-size: .97rem; }

@media (max-width: 860px) {
    .line { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-left: 44px; }
    .line::before, .line::after { left: 10px; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; }
    .line::after { transform-origin: center top; }
    .stop { padding-top: 0; }
    .stop-dot { left: -44px; top: 2px; }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .line::after { animation: line-fill linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
        .stop { animation: stop-in linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
        @media (max-width: 860px) {
            .line::after { animation-name: line-fill-down; }
        }
    }
}
@keyframes line-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes line-fill-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes stop-in { from { opacity: .25; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* ---------- house: restaurant, garden, rooms, events ---------- */

.house { background: var(--stone-deep); padding: clamp(56px, 8vw, 110px) 0; }
.bento {
    display: grid; gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(240px, auto));
}
.tile {
    position: relative; display: flex; align-items: flex-end; overflow: hidden;
    border-radius: var(--radius); color: var(--on-dark); text-decoration: none; min-height: 240px;
    background: var(--black);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .92) 0%, rgb(0 0 0 / .6) 38%, rgb(0 0 0 / 0) 72%); }
.tile:hover img { transform: scale(1.04); }
.tile-body { position: relative; z-index: 1; padding: 22px; display: grid; gap: 4px; }
.figure { font-family: var(--display); font-size: clamp(4rem, 9vw, 7rem); line-height: .85; color: var(--lime); }
.tile-title { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.tile-text { color: var(--on-dark-muted); font-size: .97rem; max-width: 36ch; }
.tile-restaurant { grid-column: span 2; grid-row: span 2; }
.tile-garden { grid-column: span 2; }
@media (max-width: 860px) {
    .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
    .tile-restaurant, .tile-garden { grid-column: auto; grid-row: auto; }
    .tile { min-height: 280px; }
    .tile-restaurant { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
    .tile img { transition: none; }
    .tile:hover img { transform: none; }
}

/* ---------- offers ---------- */

.offers-strip { padding: clamp(56px, 8vw, 110px) 0; }
.offer-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 40px;
}
.offer-list a {
    display: grid; gap: 2px; padding: 18px 0 20px 18px; text-decoration: none; color: var(--ink);
    border-top: 1px solid var(--line-ivory); position: relative;
}
.offer-list a::before {
    content: ""; position: absolute; left: 0; top: 20px; bottom: 22px; width: 4px; border-radius: 2px;
    background: var(--line-ivory); transition: background-color .2s ease;
}
.offer-list a:hover::before, .offer-list a:focus-visible::before { background: var(--olive); }
.offer-name { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; }
.offer-note { color: var(--muted); font-size: .97rem; }

/* ---------- call band: the logo's black band, full width ---------- */

.callband { background: var(--black); padding: clamp(44px, 6vw, 72px) 0; }
.callband-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; }
.callband h2 { margin: 0; }
.call-phones { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-end; }
.call-phones a { color: var(--lime); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.7rem); text-decoration: none; white-space: nowrap; }
.call-phones a:hover { text-decoration: underline; }
.callband-more { grid-column: 1 / -1; margin: 0; color: var(--on-dark-muted); }
.callband-more a { color: var(--on-dark); }
@media (max-width: 860px) {
    .callband-grid { grid-template-columns: minmax(0, 1fr); }
    .call-phones { justify-content: flex-start; flex-direction: column; }
}

/* ---------- EU project ---------- */

.eu { background: var(--sheet); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line-ivory); }
.eu-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.eu-doc {
    display: grid; gap: 10px; justify-items: start; color: var(--olive); font-size: .95rem;
    background: #fff; padding: 16px; border-radius: 12px; border: 1px solid var(--line-ivory);
}
.eu-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.eu-programme { color: var(--muted); }
.eu dl { margin: 0; display: grid; gap: 10px; }
.eu dl div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; border-top: 1px solid var(--line-ivory); padding-top: 10px; }
.eu dt { font-weight: 700; }
.eu dd { margin: 0; }
@media (max-width: 760px) {
    .eu-grid { grid-template-columns: minmax(0, 1fr); }
    .eu dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- inner pages ---------- */

.page-hero { background: var(--stone); padding: clamp(40px, 6vw, 80px) 0 0; overflow: clip; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .25em; max-width: 18ch; }
.page-hero .lead { margin-bottom: clamp(28px, 4vw, 44px); max-width: 58ch; }
.page-hero .band { height: clamp(22px, 3vw, 34px); padding: 0; }

.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-sheet { background: var(--sheet); }
.section + .section-sheet, .section-sheet + .section { border-top: 1px solid var(--line-ivory); }
.prose { max-width: 66ch; }
.prose p { font-size: 1.1rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.facts { list-style: none; margin: 0 0 1.4em; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.facts li { background: var(--stone); color: var(--on-dark); border-radius: 14px; padding: 14px 18px; min-width: 150px; }
.facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--lime); }
.facts span { font-size: .95rem; color: var(--on-dark-muted); }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.gallery figure { margin: 0; position: relative; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--stone); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease, opacity .2s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
@media (prefers-reduced-motion: reduce) {
    .gallery img { transition: none; }
    .gallery a:hover img { transform: none; }
}

.room-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.room-types li { border-top: 4px solid var(--stone); padding: 16px 0 0; }
.room-types h3 { margin-bottom: .25em; }
.room-types p { color: var(--muted); margin: 0; }

.note {
    border-left: 4px solid var(--olive); background: var(--sheet); padding: 14px 18px; border-radius: 0 12px 12px 0;
    max-width: 66ch;
}

.wall-quote {
    margin: 0; padding: clamp(24px, 4vw, 40px); background: var(--sheet); border-radius: var(--radius);
    border: 1px solid var(--line-ivory);
}
.wall-quote p { font-family: var(--italic); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; margin: 0 0 .6em; }
.wall-quote .wall-word { font-family: var(--display); font-style: normal; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; margin-bottom: .1em; }
.wall-quote figcaption { color: var(--muted); font-size: .95rem; }

/* offer pages */
.crumb { margin: 0 0 .6em; font-size: .95rem; }
.crumb a { color: var(--lime); }
.offer-page { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.offer-page .prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.offer-page .prose li { margin-bottom: .3em; font-size: 1.1rem; }
.offer-page .prose li::marker { color: var(--olive); }
.price-ask { font-weight: 700; }
.offer-ask { background: var(--stone); color: var(--on-dark); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); --focus: var(--lime); }
.offer-ask a { color: var(--on-dark); }
.offer-ask .btn-lime { color: var(--black); }
.ask-phones { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 4px; }
.ask-phones a { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2rem); color: var(--lime); text-decoration: none; line-height: 1.2; }
.ask-phones a:hover { text-decoration: underline; }
.offers-intro { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.6em; }
.more-all { margin: 1.4em 0 0; }
@media (max-width: 860px) { .offer-page { grid-template-columns: minmax(0, 1fr); } }

/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.big-phones { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 6px; }
.big-phones a { font-family: var(--display); font-size: clamp(1.9rem, 4.6vw, 2.8rem); color: var(--ink); text-decoration: none; line-height: 1.15; }
.big-phones a:hover { color: var(--olive); }
.contact-list { margin: 0 0 1.6em; display: grid; gap: 14px; }
.contact-list dt { font-weight: 700; }
.contact-list dd { margin: 0; }
.form-card { background: var(--sheet); border: 1px solid var(--line-ivory); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }

.contact-form { display: grid; gap: 16px; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fff;
    border: 1px solid #9c9686; border-radius: 10px; padding: .75em .9em;
}
.contact-form textarea { resize: vertical; min-height: 9em; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--olive); outline-offset: 1px; }
.contact-form ul { margin: 6px 0 0; padding-left: 1.2em; color: #8a1c12; }
.form-hint { color: var(--muted); font-size: .92rem; margin: 0; }
.contact-sent { background: #e9eccb; border-left: 4px solid var(--olive); padding: 14px 18px; border-radius: 0 12px 12px 0; margin-bottom: 18px; }
.contact-sent strong { display: block; }

/* ---------- footer ---------- */

.foot { background: var(--night); padding-top: clamp(48px, 6vw, 72px); font-size: .97rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.foot h2 { font-family: var(--text); font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: var(--lime); margin: 0 0 .5em; }
.foot address { font-style: normal; margin-bottom: 1.2em; }
.foot a { color: var(--on-dark); }
.foot p { color: var(--on-dark-muted); }
.foot-plate { display: inline-block; background: var(--ivory); padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; }
.foot-plate img { width: 150px; }
.foot-phones { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 4px; }
.foot-phones a { font-weight: 700; text-decoration: none; font-size: 1.08rem; }
.foot-phones a:hover { text-decoration: underline; }
.foot-book { color: var(--lime) !important; }
.foot-eu-thumb { display: inline-block; background: #fff; padding: 6px; border-radius: 8px; margin-bottom: 10px; }
.foot-eu-thumb img { width: 122px; }
.foot-eu p { font-size: .9rem; }
.foot-band { background: var(--black); padding: 14px 0; }
.foot-band p { margin: 0; font-size: .88rem; color: var(--on-dark-muted); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */

.not-found { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; background: var(--stone); color: var(--on-dark); --focus: var(--lime); }
.not-found > div { max-width: 640px; }
.not-found .foot-plate { margin-bottom: 28px; }
.not-found h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.not-found h2 { font-size: 1.8rem; margin-top: 1.4em; }
.not-found a:not(.btn) { color: var(--lime); }
.not-found p { color: var(--on-dark-muted); }
/* ---- 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;
    }
}

/* Lightbox colours: the night stone and the lime of the site. */
:root { --lb-bg: rgb(30 29 25 / .96); --lb-text: #f1ece2; --lb-accent: #c9cf4f; --lb-accent-soft: rgb(201 207 79 / .2); }

/* Inner page heroes: the heading on the left, the page's own photo on the right, standing on the band. */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.page-hero-photo { margin: 0; }
.page-hero-photo a { display: block; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.page-hero-photo img { width: 100%; max-height: 380px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) {
    .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .page-hero-photo img { max-height: 240px; aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) { .page-hero .band { margin-top: 0; } }

/* ---------- 20 years: the owner's anniversary letter ---------- */

.years { background: var(--sheet); padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line-ivory); }
.years-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.years-figure { font-family: var(--display); font-size: clamp(7rem, 16vw, 12rem); line-height: .8; color: var(--stone); margin: 0 0 .1em; letter-spacing: -.03em; }
.years-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.years-head p:not(.years-figure) { max-width: 56ch; }
.years-quote { margin: 0; background: var(--stone); color: var(--on-dark); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); --focus: var(--lime); }
.years-quote blockquote { margin: 0; }
.years-quote blockquote p { font-family: var(--italic); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; margin: 0 0 .8em; }
.years-quote figcaption { color: var(--on-dark-muted); font-size: .92rem; margin-bottom: 18px; }
.letter-pages { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.letter-pages a { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6); }
.letter-pages img { width: 112px; height: auto; }
@media (max-width: 860px) { .years-grid { grid-template-columns: minmax(0, 1fr); } }

.page-hero-photo-tall { justify-self: end; }
.page-hero-photo-tall img { width: auto; max-width: 100%; max-height: 440px; aspect-ratio: auto; }
@media (max-width: 860px) {
    .page-hero-photo-tall { justify-self: start; }
    .page-hero-photo-tall img { max-height: 300px; aspect-ratio: auto; }
}
