/* ============================================================
   Sidecar Coffee | Chamblee, GA
   Palette pulled from the shop: periwinkle tile, mint column,
   kraft + gold packaging, cream quartz, blond wood.
   ============================================================ */

:root {
  --cream: #faf6ee;
  --cream-deep: #f3ecdd;
  --ink: #2e4057;
  --peri: #7d9bc1;
  --peri-soft: #aebedd;
  --peri-pale: #e3e9f4;
  --mint: #b9d4b4;
  --mint-deep: #93ad74;
  --mint-pale: #e7f0e2;
  --kraft: #c8a06a;
  --gold: #b78f3d;
  --tan-pale: #f0e4d0;
  --white: #fffdf9;
  --shadow: 0 10px 26px -14px rgba(46, 64, 87, .22);
  --radius: 18px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
.hero-photo img, .split-photo img, .stack-photo img {
  width: 100%; height: 100%; object-fit: cover;
}

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .12s; }
.reveal:nth-child(3) { transition-delay: .24s; }
.reveal:nth-child(4) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none !important; }
  .brand-mark { animation: none !important; }
}

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(1.2rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 64, 87, .08);
}

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark {
  height: 68px; width: auto;
  animation: ride 1.9s ease-in-out infinite;
  transform-origin: 50% 92%;
}
@keyframes ride {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  22% { transform: translateY(-2.5px) rotate(-1.2deg); }
  48% { transform: translateY(1px) rotate(.5deg); }
  72% { transform: translateY(-1.5px) rotate(-.7deg); }
}
.brand-text {
  font-family: var(--display); font-weight: 500;
  font-size: 2.1rem; line-height: 1; color: #4a72a8;
  display: flex; flex-direction: column;
}
.brand-text small {
  font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .46em; text-transform: uppercase;
  color: var(--gold); margin-top: .3rem;
}

.topbar-actions { display: flex; align-items: center; gap: .9rem; }
.btn-small { padding: .55rem 1.1rem; font-size: .8rem; }
.order-link {
  display: inline-flex; align-items: center; gap: .55rem;
  color: #4a72a8; text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}
.order-link:hover { color: var(--gold); transform: translateY(-2px); }
.order-link svg { width: 26px; height: 26px; flex: none; }
.order-text {
  display: flex; flex-direction: column; text-align: left;
  font-size: .78rem; line-height: 1.25; letter-spacing: .22em; font-weight: 600;
  text-transform: lowercase;
}
.iglink { color: #4a72a8; display: inline-flex; transition: color .25s ease, transform .25s ease; }
.iglink svg { width: 22px; height: 22px; }
.iglink:hover { color: var(--gold); transform: translateY(-2px); }

.topnav { display: flex; gap: clamp(.8rem, 2.5vw, 1.8rem); flex-wrap: wrap; }
.topnav a {
  text-decoration: none; font-size: 1.1rem; letter-spacing: .14em;
  font-weight: 500; padding-bottom: .15rem;
  border-bottom: 2px solid transparent;
  transition: border-color .25s ease, color .25s ease;
}
.topnav a:hover { color: #4a72a8; border-color: var(--peri); }
/* seven nav links: tighten on laptop widths so they stay on one line */
@media (max-width: 1380px) {
  .topnav { gap: clamp(.7rem, 1.6vw, 1.4rem); }
  .topnav a { font-size: 1rem; letter-spacing: .1em; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
}
/* full periwinkle tile backsplash, staggered like the bar's backsplash */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='212' height='224'%3E%3Crect x='2' y='2' width='49' height='106' rx='4' fill='%23b3c2e0'/%3E%3Crect x='2' y='114' width='49' height='106' rx='4' fill='%23aabcdc'/%3E%3Crect x='55' y='-54' width='49' height='106' rx='4' fill='%23bac8e4'/%3E%3Crect x='55' y='58' width='49' height='106' rx='4' fill='%23a8b9d9'/%3E%3Crect x='55' y='170' width='49' height='106' rx='4' fill='%23bac8e4'/%3E%3Crect x='108' y='2' width='49' height='106' rx='4' fill='%23aabcdc'/%3E%3Crect x='108' y='114' width='49' height='106' rx='4' fill='%23b6c4e1'/%3E%3Crect x='161' y='-54' width='49' height='106' rx='4' fill='%23adbedd'/%3E%3Crect x='161' y='58' width='49' height='106' rx='4' fill='%23b8c6e3'/%3E%3Crect x='161' y='170' width='49' height='106' rx='4' fill='%23adbedd'/%3E%3C/svg%3E");
  background-size: 212px 224px;
  opacity: .42;
}
/* cream veil: keeps the copy side readable, lets tile glow behind the photo */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    var(--cream) 8%,
    rgba(250, 246, 238, .92) 34%,
    rgba(250, 246, 238, .55) 62%,
    rgba(250, 246, 238, .18) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem) clamp(2.5rem, 6vw, 5rem);
  max-width: 1280px; margin: 0 auto;
}

.kicker {
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: #6b8544; font-weight: 600; margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: #3d5b88;
  margin-bottom: 1.4rem;
}

.hours-note {
  font-family: var(--display); font-style: italic; font-weight: 450;
  font-size: 1.35rem; letter-spacing: .01em;
  color: var(--gold); margin-bottom: 1.9rem;
}
.hours-note:empty { display: none; }

/* mobile-only section tabs after the menu */
.mtabs { display: none; }
@media (max-width: 860px) {
  .mtabs {
    display: flex; overflow-x: auto; gap: .5rem;
    padding: 1.1rem clamp(1.2rem, 4vw, 3rem) 1.8rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mtabs::-webkit-scrollbar { display: none; }
  .mtab {
    flex: none; display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--sans); font-size: .9rem; font-weight: 600;
    letter-spacing: .14em; text-transform: lowercase;
    padding: .55rem 1.15rem; border-radius: 999px;
    border: 1.5px solid var(--peri); color: #4a72a8;
    background: transparent; cursor: pointer;
    transition: background .25s ease, color .25s ease;
  }
  .mtab svg { width: 15px; height: 15px; flex: none; }
  .mtab.active { background: var(--peri); color: var(--white); }
  body.mtabs-on #space:not(.m-active), body.mtabs-on #beans:not(.m-active),
  body.mtabs-on #why:not(.m-active), body.mtabs-on #events:not(.m-active),
  body.mtabs-on #reviews:not(.m-active), body.mtabs-on #visit:not(.m-active),
  body.mtabs-on #gram:not(.m-active) { display: none; }
}

/* order links asleep outside of hours */
.is-closed { opacity: .5; pointer-events: none; cursor: default; }
/* sleeping z's ride as superscripts after the text */
.zzz { width: 13px; height: 8px; margin-left: .25rem; flex: none; }
.order-link .zzz { width: 13px; height: 8px; align-self: flex-start; margin-top: 3px; }
.footer-links .zzz, .btn .zzz { vertical-align: super; display: inline-block; }

/* live weather line above the hero paragraph */
.weather-line {
  font-size: 1rem; font-weight: 500; letter-spacing: .08em;
  color: rgba(46, 64, 87, .85);
  margin: -1.1rem 0 1.7rem;
}

.lede {
  font-size: 1.15rem; font-weight: 400;
  max-width: 32rem; margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none;
  font-size: .9rem; letter-spacing: .16em; font-weight: 500;
  padding: .8rem 1.6rem; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--peri); color: var(--white); box-shadow: var(--shadow); }
.btn-solid:hover { background: #6c8db8; }
.btn-line { border: 1.5px solid var(--peri); color: #4a72a8; }
.btn-line:hover { background: var(--peri-pale); }

.hero-photo {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}


/* ============================================================
   Ticker
   ============================================================ */
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: .55rem 0;
}
.ticker-track {
  display: flex; width: max-content;
  animation: slide 38s linear infinite;
  font-size: .85rem; letter-spacing: .22em; text-transform: lowercase;
}
.ticker-track span { white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(3rem, 8vw, 6rem) clamp(1.2rem, 4vw, 3rem); }
.section > * { max-width: 1280px; margin-inline: auto; }

.section-cream {
  background-color: var(--cream-deep);
  background-image:
    repeating-linear-gradient(90deg, rgba(125, 155, 193, .055) 0 1.5px, transparent 1.5px 54px),
    repeating-linear-gradient(0deg, rgba(125, 155, 193, .035) 0 1.5px, transparent 1.5px 88px);
}
.section-kraft {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(200, 160, 106, .25), transparent 55%),
    var(--tan-pale);
}

.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head p { max-width: 46rem; }
.section-head h2, .split-copy h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  color: #3d5b88; line-height: 1.08;
  margin-bottom: .7rem;
}
.section-head p { font-weight: 400; font-size: 1.1rem; }

/* ============================================================
   Menu boards
   ============================================================ */
/* cup sizes, drawn to scale (heights in 10:12:16 ratio) */
.sizes { margin: 0 auto clamp(1.8rem, 4vw, 3rem); text-align: center; }
.sizes-cups {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(1.4rem, 4vw, 2.6rem);
}
.cup { display: flex; flex-direction: column; align-items: center; gap: .45rem; color: var(--peri); }
.cup svg { width: auto; display: block; }
.cup span {
  font-size: .78rem; letter-spacing: .22em; font-weight: 600; color: var(--ink);
}
.sizes-note {
  margin-top: .9rem; font-size: .9rem; font-weight: 400;
  color: rgba(46, 64, 87, .9); letter-spacing: .06em;
}

/* menu tabs: one board at a time */
.board-tabs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: .7rem; margin-bottom: clamp(1.4rem, 3vw, 2rem);
}
.tab {
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  letter-spacing: .22em; text-transform: lowercase;
  padding: .7rem 1.7rem; border-radius: 999px;
  background: transparent; cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.tab:hover { transform: translateY(-2px); }
.tab-blue  { border: 1.5px solid #6b8cb5; color: #4a72a8; }
.tab-green { border: 1.5px solid #7f9c60; color: #62793f; }
.tab-tan   { border: 1.5px solid #b08347; color: #8f6a35; }
.tab-cocoa { border: 1.5px solid #9c6b4a; color: #7d5237; }
.tab-blue.active  { background: #6b8cb5; color: var(--white); }
.tab-green.active { background: #7f9c60; color: var(--white); }
.tab-tan.active   { background: #b08347; color: var(--white); }
.tab-cocoa.active { background: #9c6b4a; color: var(--white); }
.board-cocoa .board-title { background: #9c6b4a; }

.boards { max-width: 700px; margin-inline: auto; }
.board { display: none; }
.board.active { display: block; animation: boardIn .35s ease; }
@keyframes boardIn { from { opacity: 0; transform: translateY(10px); } }

.mini-glass {
  width: 28px; height: auto; margin-right: .6rem;
  vertical-align: -6px; display: inline-block;
}

.board {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-bottom: 1.4rem;
}

.board-title {
  font-size: 1rem; font-weight: 500;
  letter-spacing: .38em; text-transform: lowercase;
  color: var(--white); text-align: center;
  padding: .75rem 1rem;
  margin-bottom: 1.1rem;
}
.board-blue  .board-title { background: #6b8cb5; }
.board-green .board-title { background: #7f9c60; }
.board-tan   .board-title { background: #b08347; }

.until {
  display: block; font-size: .68rem; letter-spacing: .2em;
  opacity: .85; margin-top: .15rem;
}

.menu-list { list-style: none; padding: 0 1.4rem; }
.menu-list li {
  display: flex; align-items: baseline; gap: .5rem;
  padding: .55rem 0;
}
.menu-list li + li { border-top: 1px dashed rgba(46, 64, 87, .12); }

.menu-list .item { font-weight: 500; letter-spacing: .04em; font-size: 1.12rem; }
.menu-list .item em { font-style: normal; font-size: .85rem; color: var(--gold); font-weight: 600; }
.menu-list .item small {
  display: block; font-weight: 400; font-size: .98rem;
  color: rgba(46, 64, 87, .85); letter-spacing: 0; max-width: 24rem;
}
.menu-list .dots { flex: 1; border-bottom: 2px dotted rgba(46, 64, 87, .25); transform: translateY(-4px); min-width: 1rem; }
.price { font-family: var(--display); font-size: 1.15rem; color: #3d5b88; white-space: nowrap; }

.board-foot { padding: 1rem 1.4rem 0; font-size: .92rem; font-weight: 400; }
.board-foot p + p { margin-top: .5rem; }
.board-foot strong { font-weight: 600; letter-spacing: .12em; text-transform: lowercase; }
.fine { font-size: .8rem; opacity: .8; }

.syrup-cloud { line-height: 1.8; }

.specials {
  margin: 1.1rem 1.4rem 0;
  background: var(--mint-pale);
  border-radius: 12px;
  padding: .9rem 1.1rem;
}
.specials h4 {
  font-size: .94rem; letter-spacing: .3em; text-transform: lowercase;
  color: #6b8544; margin-bottom: .4rem;
}
.specials ul { list-style: none; font-size: .95rem; font-weight: 400; }
.specials li + li { margin-top: .3rem; }

/* ============================================================
   Pastry case: letter-tile chips like the case labels
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s ease;
}
.case-card:hover { transform: translateY(-6px) rotate(-.4deg); }
.case-card img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; }

.case-card figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .85rem .95rem;
}

.tiles { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.tiles .tw { display: inline-flex; gap: 3px; white-space: nowrap; }
.tiles .tw + .tw { margin-left: .4rem; }
.tiles i {
  font-style: normal; font-size: .72rem; font-weight: 600;
  width: 1.35em; height: 1.35em;
  display: inline-grid; place-items: center;
  background: var(--cream);
  border: 1px solid rgba(46, 64, 87, .18);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(46, 64, 87, .18);
  text-transform: uppercase; letter-spacing: 0;
}

.case-card b { font-family: var(--display); font-weight: 500; color: #3d5b88; }

/* ============================================================
   Splits (grab & go / beans / visit)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
}
.split-rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }

.split-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.6;
  border: 6px solid var(--white);
}

.section-note { font-weight: 400; font-size: 1.08rem; margin-bottom: 1.3rem; max-width: 34rem; }

.jar-list { list-style: none; }
.jar-list > li { padding: .85rem 0; }
.jar-list > li + li { border-top: 1px dashed rgba(46, 64, 87, .15); }
.jar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.jar-head h3 { font-size: 1.02rem; font-weight: 500; letter-spacing: .05em; }
.jar-list p { font-weight: 400; font-size: .95rem; color: rgba(46, 64, 87, .9); }

.tag {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  background: var(--mint); color: var(--ink);
  border-radius: 999px; padding: .15rem .55rem;
  vertical-align: middle; margin-left: .3rem; font-weight: 600;
}

.bean-list { list-style: none; margin-bottom: 1.3rem; }
.bean-list li { padding: .45rem 0; font-weight: 400; }
.bean-list li + li { border-top: 1px dashed rgba(46, 64, 87, .15); }
.bean-list strong { font-weight: 600; letter-spacing: .08em; }

/* overlapping photo stack */
.stack { position: relative; min-height: 480px; }
.stack-photo {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid var(--white);
}
.stack-a { width: 78%; top: 0; left: 0; aspect-ratio: 4 / 3; transform: rotate(-2deg); }
.stack-b { width: 55%; bottom: 0; right: 0; aspect-ratio: 4 / 3.4; transform: rotate(2.5deg); }

/* visit facts */
.visit-facts { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.visit-facts dt {
  font-size: .92rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .15rem;
}
.visit-facts dd { font-weight: 400; }
.visit-facts a { color: #4a72a8; }

/* ============================================================
   Case extras / newsletter / subpages
   ============================================================ */
.case-extras {
  margin-top: 1.6rem; font-weight: 400; font-size: 1rem;
  letter-spacing: .03em;
}
.case-extras strong {
  font-weight: 600; letter-spacing: .18em; text-transform: lowercase;
  color: var(--gold);
}

/* why drop by */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: stretch;
}
.why-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem 1.6rem 1.5rem;
}
.why-card svg { width: 40px; height: 40px; color: var(--peri); margin-bottom: .8rem; }
.why-card h3 {
  font-family: var(--display); font-weight: 500; font-size: 1.25rem;
  color: #3d5b88; margin-bottom: .5rem;
}
.why-card p { font-size: .98rem; }
.why-card em {
  display: block; margin-top: .55rem; font-style: italic;
  font-family: var(--display); color: rgba(46, 64, 87, .85); font-size: .95rem;
}

.quote-inline { font-family: var(--display); color: rgba(46, 64, 87, .9); }

/* drink anatomy diagrams */
.anatomy { margin-top: clamp(2.2rem, 5vw, 3.6rem); text-align: center; }
.anatomy-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem);
  color: #3d5b88; margin-bottom: .3rem;
}
.anatomy-note { font-size: .98rem; margin-bottom: 1.6rem; color: rgba(46, 64, 87, .9); }
.drink-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(.8rem, 2vw, 1.3rem); align-items: stretch;
  max-width: 980px; margin-inline: auto;
}
@media (max-width: 860px) { .drink-grid { grid-template-columns: repeat(2, 1fr); } }
.drink {
  margin: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1rem 1.1rem;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  transition: transform .3s ease;
}
.drink:hover { transform: translateY(-4px); }
.drink svg { width: 84px; height: auto; }
.drink figcaption strong {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: 1.08rem; color: #3d5b88; letter-spacing: .02em;
  margin-bottom: .2rem;
}
.drink figcaption span {
  display: block; font-size: .82rem; color: rgba(46, 64, 87, .85);
  line-height: 1.4;
}
.drink figcaption { text-align: center; }
.drink-legend {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem 1.5rem; margin-top: 1.4rem; font-size: .88rem;
}
.drink-legend .chip {
  width: .95rem; height: .95rem; border-radius: 3px; display: inline-block;
  vertical-align: -2px; margin-right: .4rem; border: 1px solid rgba(46, 64, 87, .18);
}

/* reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: stretch;
}
.review-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem 1.6rem; margin: 0;
  display: flex; flex-direction: column;
}
.review-card cite { margin-top: auto; }
.review-card .stars { color: var(--gold); letter-spacing: .2em; margin-bottom: .6rem; }
.review-card p {
  font-family: var(--display); font-weight: 400; font-size: 1.08rem;
  line-height: 1.5; color: var(--ink); margin-bottom: .8rem;
}
.review-card cite {
  font-style: normal; font-size: .82rem; letter-spacing: .18em;
  font-weight: 600; color: var(--peri);
}

/* instagram strip */
.ig-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: clamp(.6rem, 1.5vw, 1rem);
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
}
.ig-strip a {
  border-radius: 12px; overflow: hidden; display: block;
  aspect-ratio: 1; scroll-snap-align: start;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.ig-strip a:hover { transform: translateY(-5px) rotate(-.5deg); }
.ig-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

.newsletter {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center;
}
.newsletter h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: #3d5b88;
  margin-bottom: .5rem;
}
.newsletter .section-note { margin-bottom: 0; }
.newsletter-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 220px;
  font-family: var(--sans); font-size: .95rem;
  padding: .8rem 1.1rem;
  border: 1.5px solid var(--peri-soft); border-radius: 999px;
  background: var(--cream); color: var(--ink);
}
.newsletter-form input:focus { outline: 2px solid var(--peri); outline-offset: 1px; }
.newsletter-form .btn { border: 0; cursor: pointer; font-family: var(--sans); }

/* subpage hero */
.page-hero {
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1.2rem, 4vw, 3rem) 0;
  max-width: calc(1280px + 2 * clamp(1.2rem, 4vw, 3rem));
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4rem); color: #3d5b88; line-height: 1.05;
  margin-bottom: .6rem;
}
.page-hero .lede { margin-bottom: 0; }

.map-embed {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid var(--white);
  aspect-ratio: 4 / 3.4;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.parking-figure {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid var(--white);
  max-width: 720px;
}
.parking-figure img { width: 100%; height: auto; }

.parking-legend { list-style: none; margin: 1.4rem auto 0; max-width: 1280px; }
.parking-legend li { display: flex; align-items: center; gap: .7rem; padding: .35rem 0; font-weight: 400; }
.parking-legend .swatch {
  width: 1.1rem; height: 1.1rem; border-radius: 4px; flex: none;
  border: 1px solid rgba(46, 64, 87, .2);
}
.swatch-green { background: #cfe2c1; border-color: #7fa767; }
.swatch-stripe {
  background: repeating-linear-gradient(90deg, #6f9a55 0 5px, transparent 5px 9px) center / 100% 3px no-repeat;
}
.swatch-blue { background: #d6e0f1; border-color: #7d9bc1; }

.illustrated-map {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid var(--white);
}
.illustrated-map img, .illustrated-map svg { display: block; width: 100%; height: auto; }

/* parking map sits beside its legend, sized like the Google map above it and
   capped by viewport height so the whole map is visible without scrolling */
.parking-split .parking-legend { margin: 1.2rem 0 0; max-width: none; }
.parking-map-figure {
  width: 100%; justify-self: center;
  max-width: calc((100svh - 8rem) * 1.281);
  position: relative; cursor: zoom-in;
}
.map-expand {
  position: absolute; right: .8rem; bottom: .8rem;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .9rem; border-radius: 999px;
  background: rgba(255, 253, 249, .94); color: var(--ink);
  border: 1px solid rgba(46, 64, 87, .15); box-shadow: var(--shadow);
  font: 500 .78rem/1 var(--sans); letter-spacing: .12em;
  cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease;
}
.map-expand svg { width: 15px; height: 15px; }
.parking-map-figure:hover .map-expand, .map-expand:focus-visible { background: var(--ink); color: var(--white); transform: translateY(-1px); }

/* expanded parking map: full-screen dialog, closes on esc, the x, or a click outside */
html:has(.map-lightbox[open]) { overflow: hidden; }
.map-lightbox {
  border: 0; padding: 1rem; margin: 0; background: transparent;
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
}
.map-lightbox[open] { display: grid; place-items: center; overflow: auto; }
.map-lightbox::backdrop { background: rgba(30, 42, 58, .78); backdrop-filter: blur(4px); }
.map-lightbox-inner {
  width: min(100%, calc((100dvh - 3rem) * 1.281));
  background: var(--white); border-radius: var(--radius); padding: 6px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
}
.map-lightbox-inner svg { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) - 6px); }
.map-lightbox-close {
  position: fixed; top: 1rem; right: 1rem; z-index: 1;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--white); color: var(--ink); border: 0; box-shadow: var(--shadow);
}
.map-lightbox-close svg { width: 18px; height: 18px; }
.map-lightbox-close:hover, .map-lightbox-close:focus-visible { background: var(--ink); color: var(--white); }
/* phones: open the map wide enough to read the labels, swipe to look around */
@media (max-width: 700px) and (orientation: portrait) {
  .map-lightbox[open] { place-items: center start; }
  .map-lightbox-inner { width: 210vw; }
}

.kitchen-note { display: inline-block; margin-top: .3rem; font-size: .92em; font-style: italic; opacity: .85; }

.contact-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.contact-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem 1.6rem;
}
.contact-card h3 {
  font-size: .98rem; letter-spacing: .3em; text-transform: lowercase;
  color: var(--gold); font-weight: 600; margin-bottom: .6rem;
}
.contact-card p, .contact-card a { font-weight: 400; }
.card-link { margin-top: .7rem; font-weight: 600; }
.card-link + .card-link { margin-top: .3rem; }
.card-fine { margin-top: .5rem; font-size: .88rem; color: rgba(46, 64, 87, .8); }
.mail-copied {
  display: block; margin-top: .35rem; font-size: .85rem; font-weight: 400;
  color: #4f7a3c; transition: opacity .4s ease;
}
.mail-copied.fade { opacity: 0; }

/* the menu: one menu, run through Toast */
.menu-cta {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.8rem, 4vw, 2.8rem);
}
.menu-cta h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.1rem); color: #3d5b88; margin-bottom: .6rem;
}
.menu-cta .section-note { margin: 0 auto 1.2rem; }
.menu-cats {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem; margin-bottom: 1.6rem;
}
.menu-cats li {
  font-size: .9rem; font-weight: 500; letter-spacing: .1em;
  padding: .35rem .9rem; border-radius: 999px;
  background: var(--peri-pale); color: #3d5b88;
}
.menu-cta .hero-actions { justify-content: center; }
.contact-card a { color: #4a72a8; }

/* ============================================================
   Coffee Notes (blog)
   ============================================================ */
.post-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.8rem); align-items: stretch;
  max-width: 900px;
  margin-inline: 0;
}
.post-card {
  display: grid; grid-template-columns: minmax(180px, 260px) 1fr;
  text-decoration: none;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .3s ease;
}
.post-card:hover { transform: translateY(-5px); }
.post-thumb { margin: 0; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: 1.8rem 1.8rem 1.6rem; }
@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; }
  .post-thumb img { aspect-ratio: 16 / 9; height: auto; }
}
.post-date {
  font-size: .92rem; letter-spacing: .28em; text-transform: lowercase;
  color: var(--gold); font-weight: 600; margin-bottom: .5rem;
}
.post-card h2 {
  font-family: var(--display); font-weight: 400; font-size: 1.7rem;
  color: #3d5b88; margin-bottom: .5rem; line-height: 1.15;
}
.post-card p { color: var(--ink); }
.post-more {
  display: inline-block; margin-top: .9rem; font-size: .88rem;
  letter-spacing: .16em; font-weight: 600; color: #4a72a8;
}

.prose {
  max-width: 46rem; margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1.2rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}
.prose h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem); color: #3d5b88;
  line-height: 1.08; margin: .4rem 0 1.4rem;
}
.prose p { margin-bottom: 1.1rem; font-size: 1.08rem; }
.prose .kicker a { color: inherit; text-decoration: none; }
.prose .kicker a:hover { text-decoration: underline; }
.prose-hero {
  margin: .4rem 0 1.8rem; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--white);
}
.prose-hero img { width: 100%; height: auto; display: block; }
.prose-diagram { text-align: center; margin: 1.8rem auto; }
.prose-diagram svg { width: 96px; height: auto; }
.prose-diagram figcaption {
  font-size: .88rem; color: rgba(46, 64, 87, .85); margin-top: .4rem;
  font-style: italic;
}
.prose .btn { margin-top: .6rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 3.8rem 1.2rem 3.4rem;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px;
  background:
    repeating-linear-gradient(90deg,
      #dcc094 0 9px, #cbaa79 9px 11px, #d5b789 11px 13px, #c5a371 13px 14px);
}
.footer-word { font-family: var(--display); font-size: 1.6rem; }
.footer-word span {
  font-family: var(--sans); font-size: .78rem;
  letter-spacing: .32em; text-transform: uppercase; color: var(--kraft);
  margin-left: .35rem;
}
.footer-note { font-size: .85rem; letter-spacing: .18em; opacity: .78; margin-top: .5rem; }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .4rem 1.6rem; margin-top: 1.1rem;
}
.footer-links a {
  color: var(--cream); text-decoration: none; font-size: .88rem;
  letter-spacing: .12em; opacity: .85;
  border-bottom: 1px solid transparent; transition: opacity .25s, border-color .25s;
}
.footer-links a:hover { opacity: 1; border-color: var(--kraft); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy .hero-actions { justify-content: center; }
  .hero-photo { max-width: 480px; }
  .split, .split-rev { grid-template-columns: 1fr; }
  .split-photo { aspect-ratio: 4 / 3.2; }
  .stack { min-height: 0; height: 420px; }
}

@media (max-width: 960px) {
  .topnav { display: none; }
}

@media (max-width: 560px) {
  .topbar { flex-wrap: nowrap; justify-content: space-between; gap: .5rem; padding-inline: 1rem; }
  .brand { gap: .5rem; }
  .brand-mark { height: 42px; }
  .brand-text { font-size: 1.35rem; }
  .brand-text small { font-size: .58rem; }
  .topbar-actions { gap: .75rem; }
  .order-link { gap: .35rem; }
  .order-link svg { width: 20px; height: 20px; }
  .order-text { font-size: .62rem; letter-spacing: .14em; }
  .stack { height: 330px; }
}
