/* Curb Cafe. Colours come from the trailer and the logo. */
:root {
  --teal: #5bbfc2;
  --teal-dark: #2f8f93;
  --mint: #d9efed;
  --cream: #fbf6ea;
  --peach: #f6d4ad;
  --ink: #33363a;
  --muted: #5f6468;
  --board: #23272a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(35, 39, 42, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h1 span { color: var(--teal-dark); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 0 0 .6em;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: .85em 1.5em;
  border-radius: 999px;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-small { padding: .55em 1.1em; font-size: .9rem; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(251, 246, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(51, 54, 58, .08);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Fraunces", serif; font-weight: 800; font-size: 1.25rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand img { border-radius: 50%; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav nav a:hover { color: var(--teal-dark); }
.langs { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px; padding: 6px 10px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .85rem; color: var(--ink);
  background: #fff; border: 1px solid rgba(51, 54, 58, .15); border-radius: 999px;
}
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { border-color: var(--teal-dark); }
.lang-flag svg, .lang-menu svg { display: block; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(51, 54, 58, .15); }
.caret { width: 10px; height: 6px; transition: transform .15s; }
.lang-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  list-style: none; margin: 0; padding: 6px; min-width: 160px;
  background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(35, 39, 42, .18);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px;
  font: inherit; font-size: .95rem; color: var(--ink); text-align: left;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--mint); outline: none; }
.lang-menu button[aria-checked="true"] { font-weight: 700; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 48px);
  max-width: 1240px; margin: 0 auto;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  border-radius: 28px; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: var(--teal); border-radius: 28px; z-index: -1;
}

/* Strip */
.strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  background: var(--teal); color: #fff;
  padding: 16px; font-weight: 700; letter-spacing: .04em;
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.section-tint { max-width: none; background: var(--mint); }
.section-tint > * { max-width: 1144px; margin-left: auto; margin-right: auto; }
.section-dark { max-width: none; background: var(--ink); color: #fff; }
.section-dark .eyebrow { color: var(--peach); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p:last-child { color: var(--muted); }

/* Menu */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.menu-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.menu-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.menu-card-body { padding: 22px 24px 26px; }
.menu-card-body p { color: var(--muted); margin: 0 0 .6em; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed rgba(51, 54, 58, .15); font-weight: 700; }
.items li:last-child { border-bottom: 0; }
.items b { font-weight: 700; }
.items span { font-weight: 400; color: var(--muted); text-align: right; }
.extras { margin: 14px 0 0 !important; font-size: .95rem; }

.chalkboard {
  margin: 48px auto 0; max-width: 960px;
  background: var(--board); color: #f1efe8;
  border: 10px solid #8a6a46; border-radius: 12px;
  padding: 28px clamp(20px, 4vw, 44px);
  font-family: "Caveat", cursive; font-size: 1.55rem;
  box-shadow: var(--shadow);
}
.chalkboard h3 { font-family: "Caveat", cursive; font-size: 2.4rem; margin: 0 0 .2em; color: var(--peach); }
.chalkboard h3 small { font-size: 1.5rem; color: #f1efe8; opacity: .8; }
.chalkboard h4 { font-family: "Caveat", cursive; font-size: 1.75rem; font-weight: 700; color: var(--teal); margin: .6em 0 .1em; }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.chalkboard ul { list-style: none; margin: 0; padding: 0; }
.chalkboard li { break-inside: avoid; line-height: 1.5; }

/* Slushies */
.slushie {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center;
  max-width: 960px; margin: 48px auto 0; padding: 24px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.slushie img { border-radius: 12px; }
.slushie h3 { font-size: 1.8rem; }
.slushie p:not(.eyebrow) { color: var(--muted); }

/* News */
.news { padding-bottom: 0; }
.news-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.news-card img { width: 100%; height: 100%; object-fit: cover; }
.news-text { padding: 32px 40px 32px 0; }
.news-text .eyebrow { color: var(--peach); }
.news-date { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--teal); margin: 0 0 .6em; }
.news-text p:last-child { color: rgba(255,255,255,.8); }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 48px auto 0; }
.photo-pair img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow); }

/* Events */
.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.event { background: #fff; border-radius: var(--radius); padding: 24px; }
.event .icon { font-size: 2rem; }
.event h3 { margin-top: .4em; }
.event p { margin: 0; color: var(--muted); }
.cta-box {
  margin-top: 32px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--peach);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cta-box p { margin: 0; max-width: 40em; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.story-photo { margin: 0; }
.story-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.story-text p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.gallery img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1144px; margin: 0 auto; align-items: center; }
.contact p { color: rgba(255,255,255,.8); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 20px; border-radius: 12px;
  background: rgba(255,255,255,.07); color: #fff; text-decoration: none; font-weight: 700;
  transition: background .15s;
}
.contact-list a:hover { background: var(--teal-dark); }
.contact-list span { font-weight: 400; opacity: .7; }

/* Footer */
.footer { text-align: center; padding: 40px 16px 48px; color: var(--muted); }
.footer img { margin: 0 auto 12px; border-radius: 50%; }
.footer p { margin: 0; }
.footer .small { font-size: .9rem; }
.footer .credit { margin-top: 20px; font-size: .8rem; opacity: .75; }
.footer .credit a { color: inherit; text-decoration: none; }
.footer .credit a:hover { text-decoration: underline; }

/* Narrow screens */
@media (max-width: 900px) {
  .hero, .story, .contact { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; max-width: 520px; }
  .news-card { grid-template-columns: 1fr; gap: 0; }
  .news-text { padding: 28px; }
  .event-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav nav { display: none; }
  .nav { gap: 12px; }
  .langs { margin-left: auto; }
  .lang-toggle { padding: 5px 8px; }
  .brand { font-size: 1.05rem; }
  .photo-pair { gap: 12px; }
  .event-grid, .board-cols, .slushie { grid-template-columns: 1fr; }
  .slushie img { max-width: 280px; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:last-child { display: none; }
  .hero-photo::before { inset: 12px -8px -12px 12px; }
  .contact-list a { flex-direction: column; gap: 0; }
}
