/* Self-hosted fonts: no requests to third parties */
@font-face { font-family: Cormorant; font-weight: 300 700; font-display: swap; src: url(fonts/cormorant-garamond-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD; }
@font-face { font-family: Cormorant; font-weight: 300 700; font-display: swap; src: url(fonts/cormorant-garamond-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0; }
@font-face { font-family: Cormorant; font-weight: 300 700; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Cormorant; font-style: italic; font-weight: 300 700; font-display: swap; src: url(fonts/cormorant-garamond-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD; }
@font-face { font-family: Cormorant; font-style: italic; font-weight: 300 700; font-display: swap; src: url(fonts/cormorant-garamond-latin-ext-wght-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0; }
@font-face { font-family: Cormorant; font-style: italic; font-weight: 300 700; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-wght-italic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Mulish; font-weight: 200 900; font-display: swap; src: url(fonts/mulish-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD; }
@font-face { font-family: Mulish; font-weight: 200 900; font-display: swap; src: url(fonts/mulish-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0; }
@font-face { font-family: Mulish; font-weight: 200 900; font-display: swap; src: url(fonts/mulish-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  /* Colours taken from the TKF logo */
  --umber: #4e2a1e;
  --umber-deep: #3a1f16;
  --taupe: #a08a80;
  --stone: #e8dedd;
  --paper: #f8f4f1;
  --white: #fffdfb;
  --ink: #2b1c16;
  --muted: #6b5a52;
  --line: #d9cdc8;
  --serif: Cormorant, Georgia, "Times New Roman", serif;
  --sans: Mulish, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --gap: clamp(56px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); overflow-wrap: break-word; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--umber); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--umber); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.section { margin-block: var(--gap); }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40em; }
.fine { font-size: .875rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 16px; }
.skip:focus { left: 8px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 30px; background: var(--umber); color: var(--white); border: 1px solid var(--umber); border-radius: 2px; font: 700 .9375rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--umber-deep); }
.btn-small { min-height: 42px; padding: 8px 22px; font-size: .875rem; }
.btn-quiet { background: transparent; color: var(--umber); }
.btn-quiet:hover { background: var(--stone); }
.btn-light { background: var(--paper); color: var(--umber); border-color: var(--paper); }
.btn-light:hover { background: var(--stone); }
.link { display: inline-block; padding: 6px 0; font-weight: 700; font-size: .9375rem; color: var(--umber); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link:hover { text-decoration-thickness: 2px; }
.link-light { color: var(--paper); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; margin-right: auto; }
.brand small { font-size: .6875rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.brand span { font: 500 1.625rem/1.1 var(--serif); color: var(--umber); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav ul { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: .9375rem; font-weight: 600; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--umber); color: var(--umber); }
.nav .langs { gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.nav .langs a { font-size: .8125rem; }
.nav-toggle { display: none; min-height: 44px; padding: 8px 14px; background: none; border: 1px solid var(--line); border-radius: 2px; color: var(--umber); font: 700 .875rem var(--sans); cursor: pointer; }

/* Gallery and enlarged photo */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); margin-top: 24px; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.gallery img { transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.03); }
.lightbox { width: 94vw; max-width: 94vw; height: 94vh; max-height: 94vh; padding: 0; background: transparent; border: 0; overflow: hidden; cursor: zoom-out; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgb(43 28 22 / .85); }
.lightbox img { width: auto; height: auto; max-width: 94vw; max-height: 94vh; }
.lightbox .dialog-close { z-index: 1; color: var(--white); background: rgb(43 28 22 / .75); text-decoration: none; }
.frame { overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(86vh, 820px); }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px) clamp(40px, 6vw, 72px) max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); }
.hero-photo { min-height: 320px; overflow: hidden; background: var(--stone); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 12px 0 44px; }
.scores { display: flex; flex-wrap: wrap; gap: 20px 44px; margin: 0; padding-top: 26px; border-top: 1px solid var(--line); }
.scores dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.scores dd { margin: 2px 0 0; color: var(--muted); font-size: .9375rem; }
.scores b { font: 500 2rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--umber); margin-right: 4px; }

/* Intro */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 110px); align-items: center; margin-block: var(--gap); }
.intro-text p { max-width: 34em; }
.intro-photo { aspect-ratio: 5 / 4; overflow: hidden; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head h2 { margin: 0; }

/* Room teasers */
.room-teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.room-teaser { text-decoration: none; display: block; }
.room-teaser img { transition: transform .6s ease; }
.room-teaser:hover img { transform: scale(1.03); }
.room-teaser h3 { margin: 18px 0 0; }
.room-teaser p { margin: 2px 0 0; color: var(--muted); }

/* Food band */
.band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--umber); color: var(--paper); }
.band-photo { min-height: 420px; overflow: hidden; }
.band-text { align-self: center; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 96px); }
.band .eyebrow { color: var(--stone); }
.band-text p:not(.eyebrow) { max-width: 32em; }

/* Places */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--line); }
.places li { position: relative; padding: 24px 76px 22px 0; border-bottom: 1px solid var(--line); }
.places h2, .places h3 { font-size: 1.6rem; margin: 0 0 .25em; }
.places p { margin: 0; color: var(--muted); font-size: 1rem; }
.dist { position: absolute; top: 28px; right: 0; font-size: .875rem; font-weight: 700; color: var(--umber); white-space: nowrap; }
.places-photos li { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 20px; align-items: start; padding-right: 0; }
.places-photos img { display: block; width: 100%; height: auto; }
.places-photos div { position: relative; min-width: 0; }
.places-photos .has-dist { padding-right: 64px; }
.places-photos .dist { top: 5px; }

/* Inner pages */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-head h1 { margin-bottom: .25em; }
.rooms { display: grid; gap: var(--gap); }
.room { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.room:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.room:nth-child(even) .frame { order: 2; }
.ticks li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 7px; height: 7px; background: var(--taupe); transform: rotate(45deg); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); margin: 24px 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(110px, 2fr) 3fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--umber); font-size: .9375rem; }
.facts dd { margin: 0; color: var(--muted); }
.facts-tight { grid-template-columns: minmax(0, 1fr); }
.closing { background: var(--stone); padding-block: clamp(48px, 7vw, 88px); text-align: center; }
.closing p { color: var(--muted); }
.closing .btn-light { background: var(--umber); border-color: var(--umber); color: var(--white); }
.closing .btn-light:hover { background: var(--umber-deep); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.duo h2 { margin-top: 24px; }
.notice { margin-top: var(--gap); padding: clamp(28px, 4vw, 52px); background: var(--stone); border-left: 3px solid var(--umber); }
.notice h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.notice p { max-width: 44em; margin-bottom: .6em; }
.notice-phone { font-weight: 700; color: var(--umber); margin: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); }
.wide-photo { aspect-ratio: 21 / 9; padding: 0; width: calc(100% - 2 * var(--gutter)); }
.not-found { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: var(--gap); }
.prose { max-width: 800px; margin-bottom: var(--gap); }
.prose h2 { font-size: 1.75rem; margin-top: 1.4em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 96px); }
.contact-side section + section { margin-top: 44px; }
.contact-grid h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.field label { font-size: .875rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 13px; background: var(--white); border: 1px solid #bcaca4; border-radius: 2px; color: var(--ink); font: 400 1rem/1.4 var(--sans); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--umber); outline-offset: 0; border-color: var(--umber); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { color: var(--muted); max-width: 40em; }
.status { display: none; padding: 14px 18px; border-left: 3px solid; font-weight: 600; }
.status:target { display: block; }
.status-ok { background: #e7efe3; border-color: #3f6b34; color: #2a4a22; }
.status-err { background: #f6e4e0; border-color: #9b2f1d; color: #6e1f12; }
.book-list > li { border-top: 1px solid var(--line); }
.book-list > li:last-child { border-bottom: 1px solid var(--line); }
.book-list a { display: block; padding: 11px 0; color: var(--umber); text-decoration: none; }
.book-list a:hover strong, .book-group a:hover { text-decoration: underline; text-underline-offset: 4px; }
.book-list strong { display: block; font-weight: 700; color: var(--ink); }
.book-list a strong { color: var(--umber); }
.book-list small { display: block; color: var(--muted); font-size: .875rem; }
.book-group { padding: 11px 0; }
.book-group a { padding: 3px 0; font-size: .9375rem; }
.map { position: relative; min-height: 380px; background: var(--stone); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { margin: 14px 0 0; }

/* Footer */
.site-footer { background: var(--umber-deep); color: var(--stone); padding-block: clamp(48px, 6vw, 72px) 28px; font-size: .9375rem; margin-top: var(--gap); }
.closing + .site-footer, .closing ~ .site-footer { margin-top: 0; }
main:has(> .closing:last-child) + .site-footer { margin-top: 0; }
.site-footer a { text-underline-offset: 3px; }
.site-footer h2 { font: 700 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; color: var(--taupe); filter: brightness(1.25); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px clamp(32px, 6vw, 96px); }
.footer-logo { width: 84px; height: 84px; margin-bottom: 16px; }
.footer-grid p { max-width: 26em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgb(232 222 221 / .22); font-size: .8125rem; }

/* Mobile reserve bar */
.mobile-bar { display: none; }

/* Reservation dialog */
.reserve-dialog { width: min(92vw, 480px); max-height: 90vh; padding: clamp(24px, 5vw, 40px); background: var(--paper); color: var(--ink); border: 0; border-radius: 3px; box-shadow: 0 24px 70px rgb(43 28 22 / .35); }
.reserve-dialog::backdrop { background: rgb(43 28 22 / .55); }
.reserve-dialog h2 { font-size: 2rem; margin-right: 56px; }
.dialog-close { position: absolute; top: 14px; right: 14px; min-height: 40px; padding: 4px 12px; background: none; border: 0; color: var(--umber); font: 700 .875rem var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

@media (max-width: 1240px) {
  .bar { gap: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 28px rgb(43 28 22 / .1); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 12px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav .langs { flex-direction: row; flex-wrap: wrap; gap: 18px; padding: 12px 0 0; border: 0; }
  .nav .langs a { border: 0; }
}

@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .hero-text { padding: 32px var(--gutter) 44px; }
  .intro, .band, .room, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .band-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .room:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .room:nth-child(even) .frame { order: 0; }
  .facts, .places, .split { grid-template-columns: minmax(0, 1fr); }
  .contact-side { order: -1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { padding-bottom: 74px; }
  .header-cta { display: none; }
  .bar { min-height: 66px; }
  .brand span { font-size: 1.45rem; }
  .room-teasers, .duo, .cols, .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide-photo { aspect-ratio: 4 / 3; }
  .places li { padding-right: 64px; }
  .places-photos li { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; padding-right: 0; }
  .places-photos h2 { font-size: 1.35rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; inset: auto 0 0 0; z-index: 15; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-bar .btn { padding-inline: 12px; }
  .site-footer { padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .mobile-bar, .map { display: none; }
}
