/* DRIP BAR — shared styles */
@font-face {
  font-family: "Bristol";
  src: url("fonts/Bristol.woff2") format("woff2");
  font-display: block;
}

:root {
  --brown: #341816;
  --blue: #BED9E2;
  --white: #FFFFFF;
  --line: rgba(190,217,226,.2);
  --script: "Bristol", cursive;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--brown);
  color: var(--white);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nav: centred logo, links either side ---------- */
.nav {
  background: var(--brown);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 48px;
  height: 84px;
}
.nav-logo img { height: 54px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-links a, .nav-drop a {
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: rgba(190,217,226,.6); }
.nav-links a[aria-current="page"], .nav-drop a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

/* phone dropdown (details/summary, no JS) — hidden on desktop */
.nav-drop { display: none; }
.nav-drop summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-left: -10px;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .2s, background .2s;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.nav-drop[open] .burger { background: transparent; }
.nav-drop[open] .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-drop[open] .burger::after { transform: translateY(-7px) rotate(-45deg); }
.nav-drop ul {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--brown);
  border-bottom: 1px solid var(--line);
  padding: 4px 20px 16px;
}
.nav-drop li + li { border-top: 1px solid var(--line); }
.nav-drop a { display: block; padding: 16px 0; font-size: 14px; border-bottom: 0; }

/* ---------- shared type ---------- */
.script {
  font-family: var(--script);
  font-weight: normal;
  color: var(--blue);
  text-transform: lowercase;
  letter-spacing: .077em;
  line-height: 1;
}
.page-title { font-size: clamp(64px, 11vw, 120px); }
.label {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pill {
  display: inline-block;
  white-space: nowrap;
  color: var(--blue);
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: lowercase;
  text-decoration: none;
}
a.pill:hover { background: var(--blue); color: var(--brown); border-color: var(--blue); }

/* one brown ground everywhere; sections are split by a thin blue rule */
.band { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }

/* ---------- mascots: small narrators in a section's corner ---------- */
.mascot { width: clamp(52px, 6.5vw, 80px); flex: none; }
.mascot[src*="/dee-"] { transform: scale(1.12); transform-origin: 50% 100%; }
.narrator { display: flex; align-items: flex-start; gap: 10px; flex: none; }
.narrator figcaption {
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 14px 14px 4px 14px;
  padding: 7px 12px;
  margin-top: 2px;
  max-width: 17ch;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .02em;
  text-transform: lowercase;
}
.narrator .mascot + figcaption { border-radius: 14px 14px 14px 4px; }
.cast { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sign-off { display: flex; justify-content: flex-end; margin-top: clamp(32px, 5vw, 48px); }

/* heading on the left, narrator in the top-right corner */
.head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.head-row p { max-width: 46ch; margin-top: 14px; }

/* ---------- home ---------- */
.hero { text-align: center; padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 64px); }
.hero-logo { width: clamp(260px, 44vw, 520px); margin: 0 auto; }
.tagline { margin-top: clamp(36px, 5vw, 56px); }
.tagline span { color: var(--blue); padding: 0 .6em; }
.hero .pill { margin-top: 28px; }
.hero .cast { max-width: 640px; margin: clamp(40px, 6vw, 64px) auto 0; text-align: left; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.trio h2 { font-size: 48px; margin-bottom: 10px; }
.trio p { max-width: 28ch; margin: 0 auto; }
.trio .pill { margin-top: 18px; }

/* ---------- page heads ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); }

/* ---------- menu ---------- */
.menu-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.menu-jump a { padding: 7px 16px; font-size: 12px; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 72px; }
.menu-sec { scroll-margin-top: 100px; }
.menu-sec h2 { font-size: 46px; }
.menu-sec .note { font-size: 13px; opacity: .75; margin: 2px 0 16px; }
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  padding: 11px 0;
}
.item + .item { border-top: 1px solid var(--line); }
.item h3 { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.item .price { font-weight: 800; font-size: 16px; color: var(--blue); }
.item p { grid-column: 1 / -1; font-size: 13.5px; opacity: .8; line-height: 1.5; }
.step { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 14px 0 4px; }
.step + p { font-size: 13.5px; opacity: .8; margin-bottom: 6px; }
.sides li { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 14px; }
.sides li + li { border-top: 1px solid var(--line); }
.sides b { font-weight: 800; color: var(--blue); }
.menu-cols .sign-off { align-items: flex-end; margin-top: 0; }

#gelato { scroll-margin-top: 84px; }
.flavours { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; }
.flavour {
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.flavour.sorbet { background: var(--blue); color: var(--brown); }
.flavour.special { border-style: dashed; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; font-size: 13px; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--blue); margin-right: 8px; vertical-align: -1px; }
.legend .s::before { background: var(--blue); }
.legend .x::before { border-style: dashed; }
.fine { font-size: 12.5px; opacity: .7; margin-top: 40px; }

/* ---------- about ---------- */
.prose { padding-bottom: clamp(56px, 8vw, 96px); }
.prose > * { max-width: 60ch; }
.prose p + p { margin-top: 1.1em; }
.prose .lead { font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--blue); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.facts .big { font-family: var(--script); color: var(--blue); font-size: 64px; line-height: 1; text-transform: lowercase; }
.facts p { margin-top: 8px; }
.meet { justify-content: center; gap: clamp(24px, 6vw, 64px); margin-top: 56px; }

/* ---------- contact ---------- */
.contact-body { padding-bottom: clamp(56px, 8vw, 96px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list > div + div { margin-top: 28px; }
.contact-list h2 { font-size: 34px; margin-bottom: 4px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(190,217,226,.5); }
.contact-list a:hover { border-bottom-color: var(--blue); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 18px; filter: grayscale(.35); }

/* ---------- footer ---------- */
footer { padding: 44px 0 32px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot h2 { font-family: var(--script); font-weight: normal; color: var(--blue); font-size: 30px; letter-spacing: .077em; text-transform: lowercase; margin-bottom: 6px; line-height: 1.2; }
.foot a { text-decoration: none; border-bottom: 1px solid rgba(190,217,226,.5); }
.foot a:hover { border-bottom-color: var(--blue); }
.legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; color: var(--blue); opacity: .8; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .nav-bar { height: 64px; column-gap: 12px; }
  .nav-logo img { height: 42px; }
  .nav-links { display: none; }
  .nav-drop { display: block; }
  .trio, .facts, .foot, .menu-cols, .contact-grid { grid-template-columns: 1fr; }
  .trio, .foot { text-align: center; }
  .menu-cols { gap: 48px; }
  /* narrator moves above the heading, still in the right-hand corner */
  .head-row { flex-direction: column-reverse; gap: 16px; }
  .head-row .narrator { align-self: flex-end; }
  .flavour { font-size: 12px; padding: 10px 12px; }
  .menu-sec { scroll-margin-top: 80px; }
  #gelato { scroll-margin-top: 64px; }
}
