:root {
  --cream: #F3EADC;
  --paper: #FBF6EE;
  --espresso: #24170F;
  --espresso-2: #3A271A;
  --caramel: #C47A3D;
  --sage: #7F8F70;
  --muted: #7A6A5C;
  --rule: rgba(36, 23, 15, .18);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --hand: 'Caveat', cursive;
  --mono: 'PT Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--espresso); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); margin: 0; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
em { font-style: italic; color: var(--caramel); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.rubric { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }

/* header: логотип по центру, меню розведене в боки */
.header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--rule); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 1.7rem; letter-spacing: -.02em; }
.logo span { color: var(--caramel); }
.nav { display: none; gap: 28px; font-size: .9rem; font-weight: 600; }
.nav a:hover { color: var(--caramel); }
.mobile-cta { font-weight: 700; font-size: .92rem; border-bottom: 1.5px solid var(--espresso); }

/* обкладинка журналу */
.cover { padding: 18px 0 40px; }
.issue { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 2px solid var(--espresso); border-bottom: 1px solid var(--rule); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.masthead { font-weight: 900; font-size: clamp(5.5rem, 31vw, 22rem); line-height: .86; letter-spacing: -.055em; margin: 6px 0 0 -.04em; }
.masthead span { color: var(--caramel); }
.cover-grid { display: grid; gap: 26px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--rule); }
.cover-photo { margin: 0; }
.cover-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.cover-photo figcaption { margin-top: 8px; font-size: .78rem; font-style: italic; color: var(--muted); }
.cover-story h2 { font-size: clamp(2rem, 8vw, 2.8rem); margin: 10px 0 14px; }
.cover-story p:not(.rubric) { color: var(--muted); }
.link-arrow { display: inline-flex; gap: 10px; margin-top: 20px; padding-bottom: 4px; font-weight: 700; border-bottom: 2px solid var(--espresso); }
.link-arrow::after { content: '→'; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(5px); }
.cover-facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.cover-facts li:first-child { border-top: 1px solid var(--rule); }
.cover-facts span { font-size: .8rem; color: var(--muted); }
.cover-facts b { font-family: var(--serif); font-size: 1.5rem; }

/* ticker */
.ticker { background: var(--espresso); color: var(--cream); overflow: hidden; padding: 12px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; padding: 0 22px; white-space: nowrap; }
.ticker span::after { content: '✦'; font-style: normal; color: var(--caramel); margin-left: 44px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* меню як крейдова дошка */
.menu { padding: 64px 0; background: var(--espresso-2); color: var(--cream); background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 6px 6px; }
.menu-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px; padding-bottom: 18px; border-bottom: 1px dashed rgba(243, 234, 220, .3); }
.menu-head h2 { font-style: italic; font-size: clamp(3rem, 14vw, 6rem); font-weight: 500; }
.menu-head p { font-size: .82rem; opacity: .6; }
.menu-cols { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 20px 8px; margin: 0 -20px; scrollbar-width: none; }
.menu-cols::-webkit-scrollbar { display: none; }
.menu-col { scroll-snap-align: start; }
.menu-col h3 { font-family: var(--hand); font-weight: 700; font-size: 2.2rem; color: #F0B37E; margin-bottom: 10px; }
.menu-col h3 em { font-size: .6em; color: var(--cream); opacity: .6; }
.menu-col li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px; padding: 9px 0; }
.menu-col li span { font-weight: 600; }
.menu-col li i { border-bottom: 1.5px dotted rgba(243, 234, 220, .35); transform: translateY(-4px); }
.menu-col li b { font-family: var(--serif); font-size: 1.15rem; }
.menu-col li small { grid-column: 1 / -1; font-size: .8rem; opacity: .55; margin-top: -4px; }

/* інтерв'ю */
.about { padding: 70px 0; background: var(--paper); }
.about-grid { display: grid; gap: 32px; }
.pull { margin: 14px 0 22px; font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.12; }
.columns p { color: var(--muted); margin-bottom: 12px; }
.columns p:first-child::first-letter { float: left; font-family: var(--serif); font-weight: 900; font-size: 3.6rem; line-height: .8; margin: 6px 8px 0 0; color: var(--caramel); }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: sepia(.15); }
.about-photo figcaption { margin-top: 8px; font-size: .78rem; font-style: italic; color: var(--muted); }

/* горизонтальна стрічка простору */
.space { padding: 64px 0; }
.space-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.space-head h2 { font-size: clamp(2.4rem, 10vw, 4rem); }
.space-head p { font-family: var(--hand); font-size: 1.5rem; color: var(--caramel); }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 10px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: 0 0 82%; margin: 0; scroll-snap-align: center; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.strip figcaption { display: flex; gap: 10px; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.strip b { font-family: var(--serif); color: var(--espresso); }

/* записки гостей */
.notes { padding: 40px 0 70px; }
.notes h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); text-align: center; margin-bottom: 30px; }
.note-wall { display: grid; gap: 22px; }
.note { position: relative; margin: 0; padding: 26px 22px 20px; background: #FFFBEF; box-shadow: 0 14px 28px -18px rgba(36, 23, 15, .45); }
.note:nth-child(1) { rotate: -2deg; background: #FFF6D6; }
.note:nth-child(2) { rotate: 1.5deg; }
.note:nth-child(3) { rotate: -1deg; background: #F2F0E2; }
.note::before { content: ''; position: absolute; top: -10px; left: 50%; width: 70px; height: 22px; translate: -50% 0; background: rgba(196, 122, 61, .35); rotate: -3deg; }
.note p { font-family: var(--hand); font-size: 1.6rem; line-height: 1.2; }
.note cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--hand); font-size: 1.3rem; color: var(--caramel); }

/* бронювання-чек */
.visit { padding: 70px 0 90px; background: var(--paper); border-top: 1px solid var(--rule); }
.visit-grid { display: grid; gap: 36px; align-items: start; }
.visit h2 { font-size: clamp(2.6rem, 11vw, 4.6rem); font-style: italic; font-weight: 500; }
.visit dl { margin: 24px 0 0; display: grid; grid-template-columns: 90px 1fr; gap: 0; }
.visit dt, .visit dd { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.visit dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.visit dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.receipt { position: relative; display: grid; gap: 12px; max-width: 420px; padding: 28px 24px 34px; background: #fff; font-family: var(--mono); font-size: .9rem; box-shadow: 0 30px 50px -30px rgba(36, 23, 15, .5); rotate: 1deg;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.receipt-head { text-align: center; font-weight: 700; letter-spacing: .12em; }
.receipt-sub, .receipt-foot { text-align: center; font-size: .75rem; color: var(--muted); }
.receipt-sub { padding-bottom: 12px; border-bottom: 1px dashed #999; }
.receipt label { display: grid; gap: 4px; text-transform: uppercase; font-size: .72rem; color: var(--muted); }
.receipt input, .receipt select { width: 100%; padding: 8px 0; border: 0; border-bottom: 1px dashed #aaa; background: transparent; font-family: var(--mono); font-size: 1rem; color: var(--espresso); text-transform: none; }
.receipt input:focus, .receipt select:focus { outline: none; border-bottom-color: var(--caramel); }
.receipt .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.receipt-total { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px dashed #999; border-bottom: 1px dashed #999; font-weight: 700; }
.receipt button { padding: 14px; border: 0; background: var(--espresso); color: var(--cream); font-family: var(--mono); font-size: 1rem; letter-spacing: .08em; cursor: pointer; }
.receipt button:hover { background: var(--caramel); }

.footer { padding: 26px 0; background: var(--espresso); color: rgba(243, 234, 220, .6); font-size: .85rem; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer .logo { color: var(--cream); }

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .header-in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav { display: flex; }
  .nav-right { justify-content: flex-end; }
  .mobile-cta { display: none; }
  .cover-grid { grid-template-columns: 1.1fr .9fr .8fr; gap: 40px; align-items: start; }
  .cover-story { order: -1; padding-top: 10px; }
  .cover-facts { padding-top: 10px; }
  .menu { padding: 90px 0; }
  .menu-cols { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 48px; overflow: visible; padding: 34px 0 0; margin: 0; }
  .menu-col + .menu-col { border-left: 1px dashed rgba(243, 234, 220, .25); padding-left: 48px; }
  .about-grid { grid-template-columns: 1.4fr .9fr; gap: 64px; align-items: center; }
  .columns { column-count: 2; column-gap: 32px; }
  .strip { padding: 0 max(32px, calc((100vw - 1180px) / 2 + 32px)) 10px; }
  .strip figure { flex-basis: 46%; }
  .note-wall { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .receipt { justify-self: end; }
}
