/* Kohvik Mantelahi – Võru. Night-blue evenings, lantern amber, brick oven, cream paper. */
@font-face { font-family: "Amatic SC"; font-weight: 700; font-display: swap;
  src: url(fonts/amatic-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amatic SC"; font-weight: 700; font-display: swap;
  src: url(fonts/amatic-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 400 700; font-display: swap;
  src: url(fonts/nunito-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-weight: 400 700; font-display: swap;
  src: url(fonts/nunito-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/nunito-400i-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/nunito-400i-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --night: #1b2130;
  --night-2: #252c3d;
  --lamp: #eba650;
  --lamp-soft: #f6d9a8;
  --brick: #a9462f;
  --brick-text: #96391f;
  --cream: #f7f1e6;
  --paper: #fffbf4;
  --sage: #e6e5da;
  --ink: #221d18;
  --muted: #5d554c;
  --line: rgba(34, 29, 24, .14);
  --display: "Amatic SC", "Arial Narrow", sans-serif;
  --text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--text); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--lamp); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .78em 1.3em; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.1; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-lamp { background: var(--lamp); color: var(--night); }
.btn-lamp:hover { background: var(--lamp-soft); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--night); color: var(--cream); }
.btn-dark:hover { background: var(--night-2); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 251, 244, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { display: block; flex: none; }
.brand img { width: 168px; mix-blend-mode: multiply; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: .98rem; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--lamp); }
.lang { display: flex; gap: 4px; font-weight: 700; font-size: .9rem; }
.lang > * { padding: 4px 8px; border-radius: 6px; text-decoration: none; }
.lang [aria-current] { background: var(--night); color: var(--cream); }
.lang a:hover { background: var(--sage); }
.top .btn { padding: .6em 1.05em; }

/* hero */
.hero { background: radial-gradient(900px 520px at 78% 30%, rgba(235,166,80,.20), transparent 70%), var(--night); color: var(--cream); padding: 64px 0 76px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.kicker { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: var(--lamp); margin-bottom: 14px; }
.hero h1 { font-size: clamp(4rem, 8.4vw, 7.4rem); color: #fff; }
.hero h1 small { display: block; font-size: .42em; color: var(--lamp-soft); letter-spacing: .06em; margin-bottom: .1em; }
.lead { font-size: 1.16rem; max-width: 34em; margin: 22px 0 28px; color: #e9e3d6; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 34px; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: .93rem; color: #cfc8ba; }
.facts strong { display: block; font-family: var(--display); font-size: 2.3rem; line-height: 1; color: #fff; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 960 / 719; object-fit: cover; border-radius: 22px 22px 22px 22px; box-shadow: 0 0 0 1px rgba(235,166,80,.35), 0 30px 80px -20px rgba(235,166,80,.35), 0 20px 50px rgba(0,0,0,.45); }
.hero-photo figcaption { margin-top: 14px; font-size: .88rem; color: #b9b2a4; }

/* section basics */
.sec { padding: 96px 0; }
.sec-cream { background: var(--cream); }
.sec-sage { background: var(--sage); }
.sec-night { background: var(--night); color: var(--cream); }
.eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--brick-text); margin-bottom: 10px; }
.sec-night .eyebrow { color: var(--lamp); }
.sec h2 { font-size: clamp(3rem, 5.6vw, 4.6rem); margin-bottom: 22px; }
.intro { max-width: 40em; font-size: 1.1rem; }

/* name story */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.oven { display: flex; align-items: center; gap: 18px; margin: 28px 0 0; padding: 18px 22px; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); }
.oven img { width: 210px; mix-blend-mode: multiply; flex: none; }
.oven p { margin: 0; font-size: .95rem; color: var(--muted); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair figure:nth-child(2) { margin-top: 56px; }
figure { margin: 0; }
.ph img { width: 100%; border-radius: var(--r); }
.ph-34 img { aspect-ratio: 3 / 4; object-fit: cover; }

/* offer cells */
.offer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px 0 46px; }
.cell { background: var(--paper); border-radius: var(--r); padding: 24px 22px; border-top: 4px solid var(--lamp); }
.cell:nth-child(2n) { border-top-color: var(--brick); }
.cell h3 { font-size: 2.2rem; margin-bottom: 8px; }
.cell p { margin: 0; font-size: .97rem; color: var(--muted); }

/* justified galleries: each figure grows by its photo's ratio, so all heights match and nothing is cropped */
.rows { display: grid; gap: 14px; }
.row { display: flex; gap: 14px; }
.row figure { flex: calc(var(--ar)) 1 0; min-width: 0; }
.row img { width: 100%; aspect-ratio: var(--ar); object-fit: cover; border-radius: var(--r); }
.band img { width: 100%; border-radius: var(--r); }
.band-125 img { aspect-ratio: 1600 / 667; object-fit: cover; }
.band-223 img { aspect-ratio: 1600 / 718; object-fit: cover; }
.note { margin-top: 26px; font-size: 1rem; color: var(--muted); }
.note a { color: var(--brick-text); font-weight: 700; }

/* cakes */
.cakes { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.cakes .ph img { aspect-ratio: 1600 / 1288; object-fit: cover; }
.cakes .band { margin-top: 56px; grid-column: 1 / -1; }

/* party */
.party { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.party p { color: #e3ddcf; font-size: 1.08rem; }
.seats { display: flex; gap: 16px; margin: 26px 0 30px; }
.seats div { flex: 1; padding: 18px 20px; border: 1px solid rgba(235,166,80,.4); border-radius: var(--r); font-size: .95rem; color: #cfc8ba; }
.seats strong { display: block; font-family: var(--display); font-size: 2.8rem; line-height: 1; color: var(--lamp); }
.party .ph img { aspect-ratio: 720 / 800; object-fit: cover; max-width: 440px; margin-left: auto; }

/* reviews */
.score { display: flex; align-items: baseline; gap: 14px; margin-bottom: 34px; }
.score strong { font-family: var(--display); font-size: 4.6rem; line-height: 1; color: var(--brick-text); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--paper); border-radius: var(--r); padding: 28px 26px 24px; position: relative; }
.quote::before { content: "\201C"; font-family: Georgia, serif; font-size: 4.4rem; line-height: 1; color: var(--lamp); position: absolute; top: 8px; left: 20px; }
.quote blockquote { margin: 32px 0 14px; font-style: italic; font-size: 1.04rem; }
.quote .orig { font-size: .88rem; color: var(--muted); margin: 0 0 14px; font-style: italic; }
.quote figcaption { font-weight: 700; font-size: .93rem; }
.quote figcaption span { font-weight: 400; color: var(--muted); }
.src { margin-top: 22px; font-size: .92rem; color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin: 6px 0 30px; font-size: 1.05rem; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hours th { font-weight: 600; color: #cfc8ba; }
.hours td { text-align: right; font-weight: 700; color: #fff; }
.lines { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.lines li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.lines span { color: var(--lamp); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.lines a { color: #fff; text-decoration-color: rgba(235,166,80,.6); text-underline-offset: 3px; }
.mapbox { border-radius: var(--r); overflow: hidden; background: var(--night-2); }
.map { display: block; width: 100%; height: 420px; border: 0; }
.mapbox p { margin: 0; padding: 14px 18px; font-size: .95rem; }
.mapbox a { color: var(--lamp-soft); font-weight: 700; }

/* footer */
.foot { background: #12161f; color: #a9a294; font-size: .9rem; padding: 40px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.foot .made { color: #8d877b; }
.foot a { color: #d6cfc1; }

/* responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .offer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap, .story, .cakes, .party, .contact { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { order: -1; }
  .quotes { grid-template-columns: 1fr; }
  .party .ph img { margin: 0; }
  .sec { padding: 68px 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .top .wrap { gap: 12px; min-height: 60px; }
  .brand img { width: 128px; }
  .top .btn .t { display: none; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 10px 14px; font-size: .84rem; }
  .facts strong { font-size: 1.9rem; }
  .offer { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .row figure { flex: none; }
  .pair figure:nth-child(2) { margin-top: 28px; }
  .oven { flex-direction: column; align-items: flex-start; }
  .oven img { width: 180px; }
  .seats { flex-direction: column; }
  .map { height: 320px; }
  .lines li { grid-template-columns: 1fr; gap: 0; }
}
