/* Kawiarnia — cream paper, coffee brown, terracotta; soft serif headings, round shapes */
:root {
  --bg: #fbf6ee; --surface: #fffdf9; --ink: #3a2a20; --muted: #7d6a5c; --line: #eadfce;
  --accent: #c8693f; --accent-ink: #fffaf3; --accent-hover: #a9532d;
  --coffee: #4a3226;
  --head: "DM Serif Display", Georgia, serif; --body: "Inter", system-ui, sans-serif;
  --radius: 22px; --btn-radius: 999px;
  --header-bg: rgba(251, 246, 238, 0.94); --header-ink: var(--ink); --header-ink-top: var(--ink);
  --focus: rgba(200, 105, 63, 0.2);
}
h1, h2, h3 { font-family: var(--head); font-weight: 400; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); filter: none; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; padding: 7px; border-radius: 50%; background: var(--accent); fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; }
.logo > span { display: flex; flex-direction: column; line-height: 1.1; }
.logo b { font-family: var(--head); font-size: 24px; font-weight: 400; }
.logo small { font-size: 12px; color: var(--muted); }

/* hero */
.hero { padding: calc(var(--header-h) + 40px) 0 clamp(60px, 8vw, 100px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; min-height: calc(100svh - var(--header-h) - 80px); }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: 1.02; margin-bottom: 20px; }
.hero h1 em { color: var(--accent); }
.hero__lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 48ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: #f1e6d5; font-size: 14px; font-weight: 500; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 28px 28px; box-shadow: 0 30px 60px rgba(74, 50, 38, 0.18); }
.sticker { position: absolute; left: -36px; bottom: 40px; width: clamp(110px, 12vw, 150px); animation: spin 18s linear infinite; }
.sticker circle { fill: var(--accent); }
.sticker text { font: 600 10.5px var(--body); letter-spacing: 1.6px; text-transform: uppercase; fill: var(--accent-ink); }
.sticker__cup { fill: none; stroke: var(--accent-ink); stroke-width: 2.5; stroke-linecap: round; animation: spin 18s linear infinite reverse; transform-origin: 60px 60px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* menu card with tabs */
.section--paper { background: #f4ebde; }
.menu-card { max-width: 860px; margin: 0 auto; padding: clamp(22px, 4vw, 44px); border-radius: 28px; background: var(--surface); box-shadow: 0 20px 50px rgba(74, 50, 38, 0.08); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tabs button { padding: 10px 20px; border-radius: 999px; font-weight: 600; color: var(--muted); background: #f4ebde; transition: background-color 0.3s, color 0.3s; }
.tabs button[aria-selected="true"] { background: var(--coffee); color: var(--accent-ink); }
.dishes { list-style: none; display: grid; gap: 4px; }
.dishes li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.dishes li:last-child { border-bottom: 0; }
.dishes h3 { font-size: 22px; }
.dishes p { color: var(--muted); font-size: 14.5px; }
.dishes i { flex: 1; }
.dishes b { font-family: var(--head); font-weight: 400; font-size: 22px; color: var(--accent); white-space: nowrap; }

/* about */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.about h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.1; margin-bottom: 16px; }
.about p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts li { padding: 18px; border-radius: 18px; background: #f4ebde; display: grid; gap: 2px; }
.facts b { font-family: var(--head); font-weight: 400; font-size: 30px; color: var(--accent); }
.facts li > span { font-size: 14px; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { overflow: hidden; border-radius: 24px; aspect-ratio: 3 / 4; }
.gallery figure:nth-child(even) { margin-top: 40px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery figure:hover img { transform: scale(1.06) rotate(1deg); }

/* hours + quotes */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.visit__card { padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--coffee); color: #f6ebdd; }
.visit__card .eyebrow { color: #f0b48f; }
.visit__card h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
.hours { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.hours b { font-weight: 600; }
.visit__address { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.quotes { display: grid; gap: 24px; }
.quote { padding: 28px; border-radius: 28px; background: #f4ebde; }
.quote p { font-family: var(--head); font-size: clamp(21px, 2vw, 26px); line-height: 1.3; margin-bottom: 12px; }
.quote footer { color: var(--muted); font-size: 14px; }

/* reservation */
.section--coffee { background: var(--coffee); color: #f6ebdd; --muted: #d4c2b0; --line: rgba(255, 255, 255, 0.16); }
.section--coffee .eyebrow { color: #f0b48f; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 12px; }
.contact__info > p { color: var(--muted); margin-bottom: 20px; font-size: 17px; }
.contact__line { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__line small { display: block; color: #f0b48f; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.contact__line > span { font-size: 19px; }
.panel { padding: clamp(24px, 4vw, 38px); border-radius: 28px; background: var(--surface); color: var(--ink); --line: #eadfce; }
.form__status { color: var(--accent); }

.footer { padding: 28px 0 90px; color: var(--muted); font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer b { color: var(--ink); }

@media (max-width: 900px) {
  .hero__grid, .about, .visit, .contact { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .hero__media { max-width: 420px; margin: 0 auto; width: 100%; }
  .sticker { left: -10px; }
  .about__img { max-width: 360px; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .dishes h3, .dishes b { font-size: 19px; }
  .hero__actions .btn { flex: 1 1 100%; }
}
