/* Uhkolan Grillikioski — roadside grilli at dusk.
   Palette: dusk blue #14203A / ink #0E1626, bulb amber #FFC24B,
   ketchup red #C6382C, lightbox warm white #FFF6E2, wrap paper #F5EFE3. */

@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --dusk: #14203A;
  --ink: #0E1626;
  --amber: #FFC24B;
  --red: #C6382C;
  --warmwhite: #FFF6E2;
  --paper: #F5EFE3;
  --paper-line: #E2D8C4;
  --text: #22293A;
  --text-dim: #5B6172;
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Work Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
}

a { color: inherit; }
a:focus-visible, .cta:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---- draft banner ---- */
.draft-banner {
  display: block;
  background: var(--red);
  color: var(--warmwhite);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  text-decoration: none;
}
.draft-banner:hover { background: #A82E24; }

/* ---- hero ---- */
.hero {
  background:
    radial-gradient(120% 90% at 50% 0%, #1C2C4E 0%, var(--dusk) 55%, #101A30 100%);
  color: var(--warmwhite);
  overflow: hidden;
}
.hero-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 3rem;
  align-items: center;
}
.hero-sign svg { width: 100%; height: auto; display: block; }

.sign-word {
  font-family: var(--display);
  fill: var(--ink);
  font-size: 56px;
  letter-spacing: 0.06em;
}
.sign-word.bottom { fill: var(--red); font-size: 62px; }
.sign-bulbs circle { animation: bulb 2.4s ease-in-out infinite; }
.sign-bulbs.alt circle { animation-delay: 1.2s; }
@keyframes bulb {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.sign-glow { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.07; }
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.lede {
  font-size: 1.1875rem;
  color: #D9D4C5;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}
.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--amber);
  margin-bottom: 2rem;
}
.hero-meta a { color: inherit; text-decoration: none; }
.hero-meta a:hover { text-decoration: underline; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--amber);
  transition: transform 120ms ease, background 120ms ease;
}
.cta:hover { transform: translateY(-2px); background: #FFCF6F; }
.cta.ghost {
  background: transparent;
  color: var(--warmwhite);
  border-color: rgba(255, 246, 226, 0.45);
}
.cta.ghost:hover { background: rgba(255, 246, 226, 0.08); }

/* ---- sections ---- */
main section { padding: 4.5rem max(1.5rem, calc((100% - 68rem) / 2)); }

.section-label {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-intro { max-width: 40rem; color: var(--text-dim); margin-bottom: 2.5rem; }

/* ---- menu letter board ---- */
.board {
  background: var(--ink);
  color: var(--warmwhite);
  border-radius: 12px;
  border: 6px solid #2A3550;
  box-shadow: 0 24px 48px -24px rgba(14, 22, 38, 0.5);
  overflow: hidden;
}
.board-head, .board-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  padding: 1rem 1.75rem;
  color: var(--amber);
}
.board-head { border-bottom: 1px dashed rgba(255, 246, 226, 0.25); }
.board-foot {
  border-top: 1px dashed rgba(255, 246, 226, 0.25);
  text-transform: uppercase;
}
.board-foot a { color: var(--amber); }
.board-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.board-list li {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px dashed rgba(255, 246, 226, 0.18);
}
.board-list li:nth-child(odd) { border-right: 1px dashed rgba(255, 246, 226, 0.18); }
.board-list li:nth-last-child(-n+2) { border-bottom: none; }
.board-list h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.35rem;
}
.board-list p { font-size: 0.9375rem; color: #C9C4B4; }

/* ---- tarina ---- */
.tarina { background: var(--warmwhite); }
.tarina-body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}
.tarina-body p { max-width: 40rem; margin-bottom: 1rem; }

/* ---- galleria ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.gallery-grid figure { margin: 0; }
.ph {
  background: var(--warmwhite);
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
}
.ph svg { display: block; width: 100%; height: auto; }
.gallery-grid figcaption {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
  padding-top: 0.5rem;
}
.photo-note {
  border-left: 4px solid var(--amber);
  background: var(--warmwhite);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-dim);
  border-radius: 0 8px 8px 0;
}

/* ---- käynti ---- */
.kaynti { background: var(--warmwhite); }
.visit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.visit-block h3 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.hours { border-collapse: collapse; }
.hours th {
  text-align: left;
  font-weight: 600;
  padding: 0.15rem 1.25rem 0.15rem 0;
}
.hours td { padding: 0.15rem 0; }
.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--red); }
.small { font-size: 0.875rem; color: var(--text-dim); }

/* ---- footer ---- */
.footer {
  background: var(--dusk);
  color: #C9C4B4;
  text-align: center;
  padding: 3rem 1.5rem;
  font-size: 0.9375rem;
}
.footer-mark {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.footer a { color: var(--warmwhite); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }
  .hero-sign { max-width: 22rem; margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: repeat(2, 1fr); }
  .board-list { grid-template-columns: 1fr; }
  .board-list li:nth-child(odd) { border-right: none; }
  .board-list li:nth-last-child(-n+2) { border-bottom: 1px dashed rgba(255, 246, 226, 0.18); }
  .board-list li:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .visit-grid { grid-template-columns: 1fr; }
  main section { padding: 3.25rem 1.25rem; }
  .board-head, .board-foot, .board-list li { padding-left: 1.25rem; padding-right: 1.25rem; }
}
