/* Mandlisaar – Kondiitristuudio. Colours from their logo (heart blue, gold rim), their café wall (chalkboard slate)
   and almond cream. Fonts: Fraunces (headings, chalk lines) + Figtree (text), both SIL OFL, self-hosted. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/fraunces-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: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/fraunces-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: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(fonts/fraunces-italic-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: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(fonts/fraunces-italic-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: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/figtree-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: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/figtree-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 {
  --cream: #f8f1e7;
  --cream-2: #efe4d4;
  --paper: #fffbf5;
  --slate: #39444b;      /* the café's chalkboard wall */
  --slate-2: #2c353b;
  --chalk: #f4f1ea;
  --blue: #1d6fb8;       /* the heart in their logo */
  --blue-deep: #155892;
  --gold: #c39a55;       /* the heart's rim */
  --cocoa: #2b211c;
  --muted: #6d6058;
  --line: #e2d5c2;
  --wrap: 1200px;
  --radius: 18px;
}

* { 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; background: var(--cream); color: var(--cocoa); font: 400 17px/1.6 "Figtree", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-deep); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1em; }
em { font-style: italic; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 1rem; }
.eyebrow.on-dark { color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; line-height: 1.2; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-line { border-color: var(--cocoa); color: var(--cocoa); }
.btn-line:hover { background: var(--cocoa); color: var(--cream); }
.btn-chalk { border-color: var(--chalk); color: var(--chalk); }
.btn-chalk:hover { background: var(--chalk); color: var(--slate); }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(248, 241, 231, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.mark { display: block; flex: none; }
.mark img { width: 84px; height: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--cocoa); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--blue-deep); }
.lang { display: flex; gap: 6px; font-size: .85rem; font-weight: 700; }
.lang span, .lang a { padding: 4px 7px; border-radius: 6px; text-decoration: none; color: var(--muted); }
.lang span { background: var(--cream-2); color: var(--cocoa); }
.head-call { background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; padding: .6em 1.1em; border-radius: 999px; white-space: nowrap; }
.head-call:hover { background: var(--blue-deep); }

/* hero */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 em { color: var(--blue-deep); font-weight: 500; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.lead q { font-style: italic; color: var(--cocoa); quotes: "„" "“"; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.rating-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .95rem; margin: 0; }
.stars { color: var(--gold); letter-spacing: 2px; }
.hero-photo { margin: 0; position: relative; justify-self: end; width: 100%; max-width: 520px; }
.hero-photo img { width: 100%; aspect-ratio: 1100 / 1430; object-fit: cover; border-radius: 260px 260px var(--radius) var(--radius); box-shadow: 0 30px 60px -30px rgba(43, 33, 28, .45); }
.hero-photo::before { content: ""; position: absolute; top: -14px; left: 14px; width: 100%; aspect-ratio: 1100 / 1430; border: 1.5px solid var(--gold); border-radius: 270px 270px 22px 22px; z-index: -1; }
.hero-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: right; }

/* chalkboard band */
.chalk { background: var(--slate); color: var(--chalk); padding: 56px 0; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 6px 6px; }
.chalk .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.chalk blockquote { margin: 0; font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.15; }
.chalk blockquote p { margin: 0 0 .4em; }
.chalk blockquote footer { font-family: "Figtree", sans-serif; font-style: normal; font-size: .95rem; color: rgba(244, 241, 234, .72); }
.chalk .spark { color: var(--gold); }
.hours-mini { border-left: 1.5px solid rgba(195, 154, 85, .7); padding-left: 32px; }
.hours-mini h2 { font-size: 1.1rem; font-family: "Figtree", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .8em; }
.hours-mini dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; font-size: 1.15rem; }
.hours-mini dt { font-weight: 700; }
.hours-mini dd { margin: 0; }

/* offer */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.offer-grid li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.offer-grid li::before { content: ""; display: block; width: 34px; height: 30px; margin-bottom: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cpath d='M17 29 3.4 15.6A8.3 8.3 0 0 1 15 3.8L17 5.8l2-2a8.3 8.3 0 0 1 11.6 11.8Z' fill='%231d6fb8' stroke='%23c39a55' stroke-width='2'/%3E%3Ccircle cx='17' cy='14' r='4' fill='%23fff'/%3E%3C/svg%3E"); }
.offer-grid li.key { background: var(--blue); color: #fff; border-color: var(--blue); }
.offer-grid li.key::before { filter: brightness(0) invert(1); opacity: .9; }
.offer-grid p { margin: 0; color: var(--muted); font-size: .98rem; }
.offer-grid li.key p { color: rgba(255,255,255,.88); }
.offer-note { margin-top: 28px; color: var(--muted); }

/* order */
.order { background: var(--paper); border-block: 1px solid var(--line); }
.order .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.order-photo { margin: 0; }
.order-photo img { width: 100%; max-width: 560px; aspect-ratio: 899 / 720; object-fit: cover; border-radius: var(--radius); }
.order-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.order .tag { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.35rem; color: var(--blue-deep); margin-bottom: .6em; }
.big-phone { display: inline-block; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: var(--cocoa); text-decoration: none; line-height: 1; margin: 10px 0 6px; border-bottom: 3px solid var(--gold); }
.big-phone:hover { color: var(--blue-deep); }
.order-ways { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.order-ways li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.order-ways svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.order-ways a { font-weight: 600; }
.order-ways span { color: var(--muted); flex-basis: 100%; padding-left: 34px; font-size: .95rem; }

/* gallery: justified rows, each tile as wide as its photo's share of the row, so nothing is cropped */
.gallery { background: var(--slate-2); color: var(--chalk); }
.gallery .section-head p { color: rgba(244, 241, 234, .72); }
.g-rows { display: grid; gap: 12px; }
.g-row { display: flex; gap: 12px; }
.g-pair { display: flex; gap: 12px; min-width: 0; }
.g-row > .g-pair:nth-child(1) { flex: var(--s) 1 0; }
.g-row > .g-pair:nth-child(2) { flex: var(--s) 1 0; }
.g-pair figure { margin: 0; flex: var(--r) 1 0; min-width: 0; }
.g-pair img { width: 100%; height: 100%; aspect-ratio: var(--r); object-fit: cover; border-radius: 12px; }
.gallery .more { margin-top: 32px; }

/* reviews */
.reviews .wrap { display: grid; grid-template-columns: .7fr 2fr; gap: 56px; align-items: start; }
.score { font-family: "Fraunces", Georgia, serif; font-size: 5.5rem; font-weight: 600; line-height: 1; color: var(--blue-deep); }
.score + .stars { font-size: 1.4rem; display: block; margin: 8px 0; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quotes figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.quotes blockquote { margin: 0 0 18px; font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; line-height: 1.45; font-variation-settings: "opsz" 24; flex: 1; }
.quotes blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--gold); margin-bottom: 10px; }
.quotes figcaption { font-size: .9rem; color: var(--muted); }
.quotes figcaption b { color: var(--cocoa); }

/* visit */
.visit { padding-top: 0; }
.visit .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.visit-photo { margin: 0; }
.visit-photo img { width: 100%; max-width: 460px; aspect-ratio: 1200 / 1600; object-fit: cover; border-radius: var(--radius); }
.visit-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin: 8px 0 28px; font-size: 1.05rem; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.addr { font-size: 1.15rem; margin-bottom: 6px; }
.addr b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.4rem; }
.map-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.small { font-size: .9rem; color: var(--muted); }

/* footer */
.site-foot { background: var(--slate); color: rgba(244, 241, 234, .82); padding: 56px 0 36px; font-size: .95rem; }
.site-foot a { color: var(--chalk); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot-logo { background: var(--cream); border-radius: 14px; padding: 12px 16px; display: inline-block; margin-bottom: 14px; }
.foot-logo img { width: 110px; }
.site-foot h2 { font-family: "Figtree", sans-serif; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.site-foot p { margin: 0 0 .5em; }
.credit { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(244, 241, 234, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgba(244, 241, 234, .62); }

/* tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .reviews .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 900px) {
  .hero { padding: 36px 0 56px; }
  .hero .wrap, .chalk .wrap, .order .wrap, .visit .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { justify-self: center; max-width: 440px; }
  .hours-mini { border-left: 0; padding-left: 0; border-top: 1.5px solid rgba(195, 154, 85, .7); padding-top: 28px; }
  .section { padding: 72px 0; }
  .visit { padding-top: 0; }
  .order-photo img, .visit-photo img { max-width: 100%; }
  .visit-photo { max-width: 460px; }
  .g-row { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .site-head .wrap { gap: 14px; min-height: 64px; }
  .mark img { width: 66px; }
  .head-call { padding: .55em .9em; font-size: .92rem; }
  .actions .btn { width: 100%; justify-content: center; }
  .offer-grid { grid-template-columns: 1fr; }
  .g-rows, .g-row, .g-pair { gap: 8px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-photo::before { top: -10px; left: 8px; }
}
