/* Söuke Sääre kohvik — preview site. Colours from their own photos:
   slate = the dark clapboard house, chalk = the hand-written boards,
   paper = the newsprint the burgers come in, sage = the garden chairs, red = the bicycle by the door. */
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap;
  src: url("fonts/caveat-600-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: "Caveat"; font-weight: 600; font-display: swap;
  src: url("fonts/caveat-600-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: "Outfit"; font-weight: 300 700; font-display: swap;
  src: url("fonts/outfit-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: "Outfit"; font-weight: 300 700; font-display: swap;
  src: url("fonts/outfit-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 {
  --slate: #2a303b;
  --slate-2: #353c49;
  --chalk: #f4f1ea;
  --paper: #f2ecdf;
  --paper-2: #e8dfcc;
  --sage: #8f9b8b;
  --sage-dark: #56634f;
  --red: #b83a2a;
  --red-dark: #962c1f;
  --ink: #1f242c;
  --mute: #5a5f68;
  --line: #d9cfbb;
  --gold: #e3a92f;
  --hand: "Caveat", "Segoe Print", cursive;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

* { 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-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--chalk); color: var(--ink); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* header */
.top { background: var(--slate); color: var(--chalk); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(244,241,234,.12); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.brand .word { font-family: var(--hand); font-size: 40px; line-height: 1; }
.brand .sub { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang { font-size: 14px; display: flex; gap: 6px; align-items: center; }
.lang a, .lang span { text-decoration: none; padding: 2px 4px; }
.lang [aria-current] { font-weight: 600; border-bottom: 2px solid var(--chalk); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; line-height: 1.2; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(244,241,234,.1); }
.top .btn { padding: 9px 16px; font-size: 15px; }
.call-short { display: none; }

/* hero */
.hero { background: var(--slate); color: var(--chalk); }
.hero .grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.hand { font-family: var(--hand); font-weight: 600; }
.eyebrow { font-family: var(--hand); font-size: 34px; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.hero h1 { font-size: 54px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 18px; }
.hero .lead { font-size: 19px; color: rgba(244,241,234,.88); max-width: 30em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 26px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: rgba(244,241,234,.85); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts b { color: var(--chalk); font-weight: 600; }
.star { color: var(--gold); }
.hero-photo { margin: 0; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* season strip */
.strip { background: var(--red); color: #fff; font-size: 16px; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; padding-top: 14px; padding-bottom: 14px; text-align: center; }
.strip a { font-weight: 600; }

/* sections */
section { padding: 84px 0; }
.kicker { font-family: var(--hand); font-size: 30px; color: var(--red); line-height: 1; margin-bottom: 6px; }
h2 { font-size: 40px; font-weight: 600; margin-bottom: 18px; letter-spacing: -.01em; }
.muted { color: var(--mute); }
.small { font-size: 14px; }

/* about */
.about .grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 64px; align-items: center; }
.board { margin: 0; }
.board img { width: 100%; aspect-ratio: 640 / 780; object-fit: cover; border-radius: 4px; box-shadow: 0 14px 34px rgba(31,36,44,.25); transform: rotate(-1.2deg); }
.board figcaption { font-size: 13px; color: var(--mute); margin-top: 14px; }
.quote-hand { font-family: var(--hand); font-size: 30px; line-height: 1.25; color: var(--slate); margin: 0 0 22px; padding-left: 18px; border-left: 4px solid var(--sage); }
.chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--paper-2); border-radius: 999px; padding: 6px 14px; font-size: 15px; }

/* menu */
.menu { background: var(--chalk); }
.menu .grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.chalkboard { background: var(--slate); color: var(--chalk); border-radius: 6px; padding: 36px 36px 30px; border: 10px solid #6e5a43; box-shadow: inset 0 0 60px rgba(0,0,0,.35); }
.chalkboard h2 { font-family: var(--hand); font-size: 46px; font-weight: 600; text-align: center; margin-bottom: 18px; }
.chalkboard ul { list-style: none; margin: 0; padding: 0; }
.chalkboard li { padding: 12px 0; border-bottom: 1px dashed rgba(244,241,234,.28); }
.chalkboard li:last-child { border-bottom: 0; }
.chalkboard h3 { font-family: var(--hand); font-size: 31px; font-weight: 600; line-height: 1.1; }
.chalkboard p { margin: 2px 0 0; font-size: 15px; color: rgba(244,241,234,.8); }
.chalkboard .note { margin-top: 18px; font-size: 14px; color: rgba(244,241,234,.75); text-align: center; }

/* justified photo rows: each tile grows by its photo's aspect ratio, so tiles share one height */
.jrow { display: flex; gap: 12px; margin: 0 0 12px; }
.jrow:last-child { margin-bottom: 0; }
.jrow figure { margin: 0; flex: var(--r) 1 0; aspect-ratio: var(--r); min-width: 0; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.jrow img { width: 100%; height: 100%; object-fit: cover; }
.photos-note { font-size: 13px; color: var(--mute); margin-top: 12px; }

/* gallery */
.gallery .m-only { display: none; }

/* reviews */
.reviews { background: var(--slate); color: var(--chalk); }
.reviews .kicker { color: var(--gold); }
.reviews .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.score { font-size: 17px; }
.score b { font-size: 34px; font-weight: 600; margin-right: 6px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--slate-2); border-radius: 6px; padding: 24px; margin: 0; display: flex; flex-direction: column; }
.card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.card blockquote { margin: 0 0 12px; font-size: 17px; line-height: 1.5; }
.card .tr { font-size: 14px; color: rgba(244,241,234,.7); margin: 0 0 14px; }
.card figcaption { margin-top: auto; font-size: 14px; color: rgba(244,241,234,.75); }
.card figcaption b { color: var(--chalk); font-weight: 600; display: block; }
.reviews .more { margin-top: 28px; }
.reviews a { color: var(--chalk); }

/* visit: hours + location */
.visit .grid { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 40px; align-items: start; }
.box { background: var(--chalk); border-radius: 6px; padding: 30px; border: 1px solid var(--line); }
.box h2 { font-size: 32px; }
.hours { width: 100%; border-collapse: collapse; margin: 6px 0 16px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.grid > * { min-width: 0; }
.lighthouse { margin: 0; max-width: 300px; }
.lighthouse img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.lighthouse figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
.box .btn { margin-top: 6px; }
.box .btn-red { color: #fff; }
.btn-dark { border-color: var(--slate); color: var(--slate); }
.btn-dark:hover { background: var(--slate); color: var(--chalk); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* contact */
.contact { background: var(--sage-dark); color: var(--chalk); text-align: center; }
.contact .hand-big { font-family: var(--hand); font-size: 58px; line-height: 1; margin-bottom: 8px; }
.contact p { color: rgba(244,241,234,.88); }
.contact ul { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact li a { display: block; background: rgba(0,0,0,.18); border-radius: 6px; padding: 16px 24px; text-decoration: none; min-width: 240px; }
.contact li a:hover { background: rgba(0,0,0,.3); }
.contact li span { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.contact li b { font-size: 19px; font-weight: 600; }

footer { background: var(--slate); color: rgba(244,241,234,.75); font-size: 14px; padding: 26px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
footer a { color: var(--chalk); }

/* tablet */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hero h1 { font-size: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .visit .grid { grid-template-columns: 1fr 1fr; }
  .visit .lighthouse { grid-column: 1 / -1; max-width: 300px; }
}
@media (max-width: 900px) {
  .hero .grid, .menu .grid, .about .grid { grid-template-columns: 1fr; gap: 32px; }
  .hero .grid { padding-top: 0; }
  .hero-photo { order: -1; margin: 0 -24px; border-radius: 0; box-shadow: none; }
  .about .board { max-width: 380px; }
}
/* phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-photo { margin: 0 -16px; }
  .top .wrap { gap: 12px; min-height: 60px; }
  .brand .word { font-size: 34px; }
  .brand .sub { display: none; }
  .call-long { display: none; }
  .call-short { display: inline; }
  .hero h1 { font-size: 36px; }
  .eyebrow { font-size: 30px; }
  .hero .lead { font-size: 17px; }
  section { padding: 60px 0; }
  h2 { font-size: 32px; }
  .quote-hand { font-size: 26px; }
  .chalkboard { padding: 26px 20px 22px; border-width: 8px; }
  .cards { grid-template-columns: 1fr; }
  .visit .grid { grid-template-columns: 1fr; gap: 24px; }
  .box { padding: 24px 20px; }
  .gallery .d-only { display: none; }
  .gallery .m-only { display: flex; }
  .contact .hand-big { font-size: 46px; }
  .contact li a { min-width: 0; width: 100%; }
  .contact ul { flex-direction: column; }
  .strip { font-size: 15px; }
}
