/* Café site template. Brand colours come from cafe.config.json (inline :root in index.html). */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 "Bricolage Grotesque", system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* A little paper grain over everything, so flat colour doesn't look digital. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: "Gloock", Georgia, serif; font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--warm); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--ink); color: var(--cream); padding: 10px 16px; }
.skip:focus { top: 12px; }
.hand { font-family: "Nanum Pen Script", "Comic Sans MS", cursive; font-weight: 400; letter-spacing: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 4px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn.sm { padding: 10px 16px; font-size: 15px; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-light { background: var(--paper); color: var(--ink); }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--warm); }

/* header */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 26px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: color-mix(in srgb, var(--ink) 14%, transparent); }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Gloock", Georgia, serif; font-size: 23px; text-decoration: none; margin-right: auto; }
.brand .mark { width: 34px; height: 34px; }
.nav { display: flex; gap: 24px; font-size: 16px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; white-space: nowrap; margin: 0; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #9a9a9a; flex: none; }
.status.open i { background: #3E9B57; }
.status.closed i { background: #C4513A; }
.burger { display: none; width: 44px; height: 44px; border-radius: 4px; border: 0; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); transition: transform .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 5vw, 70px) clamp(16px, 4vw, 48px) clamp(40px, 5vw, 70px);
  max-width: 1400px; margin: 0 auto;
}
.where { font-size: 15px; color: color-mix(in srgb, var(--ink) 65%, transparent); }
.hero h1 { font-size: clamp(46px, 6.2vw, 96px); margin: 18px 0 26px; max-width: 12ch; }
.mark-word { position: relative; white-space: nowrap; }
.scribble { position: absolute; left: -2%; right: -4%; bottom: -.08em; width: 106%; height: .2em; color: var(--warm); }
.lede { font-size: clamp(17px, 1.35vw, 20px); max-width: 40ch; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.also { margin-top: 20px; font-size: 15px; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.also a { text-underline-offset: 3px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.sticky {
  position: absolute; left: -38px; bottom: 34px; width: 210px; padding: 18px 18px 14px;
  background: #F4E6B8; color: #3a2b12; font-size: 27px; line-height: 1.05;
  transform: rotate(-4deg); box-shadow: 0 10px 18px -8px #0000004d;
}
.sticky::before { content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: #ffffff8c; transform: rotate(3deg); box-shadow: 0 1px 2px #0000001a; }

/* photo strip */
.strip { display: grid; grid-template-columns: 1.7fr 1fr .8fr 1.1fr; gap: 10px; padding: 0 clamp(16px, 4vw, 48px); max-width: 1496px; margin: 0 auto; }
.strip img { width: 100%; height: clamp(180px, 22vw, 320px); object-fit: cover; border-radius: 3px; }
.strip .s3 { height: clamp(200px, 25vw, 360px); margin-top: -40px; }

/* menu: printed list with dotted leaders, every section visible like a real menu */
.menu { padding: clamp(70px, 8vw, 120px) clamp(16px, 4vw, 48px); max-width: 1400px; margin: 0 auto; }
.menu-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 38px; }
.menu-head h2 { font-size: clamp(54px, 8vw, 120px); line-height: .9; }
.now { color: color-mix(in srgb, var(--ink) 65%, transparent); }
.mcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.mcol h3 { font-size: 30px; margin-bottom: 14px; position: relative; }
.now-note { display: inline-block; margin-left: 10px; font-size: 27px; color: var(--warm); transform: rotate(-6deg) translateY(-4px); white-space: nowrap; }
.now-note[hidden] { display: none !important; }
.mcol ul { list-style: none; margin: 0; padding: 0; }
.mcol li { padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.row { display: flex; align-items: baseline; gap: 8px; }
.nm { font-weight: 600; font-size: 18px; }
.lead { flex: 1; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 30%, transparent); transform: translateY(-4px); min-width: 20px; }
.pr { font-variant-numeric: tabular-nums; font-weight: 500; }
.mcol li p { font-size: 15px; color: color-mix(in srgb, var(--ink) 62%, transparent); margin-top: 2px; }
.tag { font-size: 12px; font-weight: 600; padding: 1px 6px; border: 1.5px solid var(--warm); color: var(--warm); border-radius: 3px; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }
.tag.diet { border-color: color-mix(in srgb, var(--ink) 30%, transparent); color: color-mix(in srgb, var(--ink) 60%, transparent); }
.fine { margin-top: 34px; font-size: 14px; color: color-mix(in srgb, var(--ink) 58%, transparent); max-width: 70ch; }

/* build your usual */
.usual { background: var(--blush); padding: clamp(60px, 7vw, 100px) clamp(16px, 4vw, 48px); display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: center; }
.usual-copy h2 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 16px; }
.usual-copy p { max-width: 30ch; color: color-mix(in srgb, var(--ink) 75%, transparent); }
.builder { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 8px; max-width: 860px; }
.stage { position: relative; height: 420px; display: grid; place-items: center; }
.halo { position: absolute; inset: 10% 4% 8%; border-radius: 50%; background: radial-gradient(closest-side, #ffffff99, transparent); transition: background .8s; }
.glass-wrap { position: relative; z-index: 2; }
.rim { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; overflow: visible; }
.glass {
  position: relative; width: 168px; height: 262px; z-index: 2;
  clip-path: polygon(0 0, 100% 0, 89% 100%, 11% 100%);
  background: linear-gradient(90deg, #ffffffb3, #ffffff70 40%, #ffffffa6);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.glass::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px #ffffffaa, inset 0 -10px 0 #ffffff66; clip-path: inherit; pointer-events: none; }
.glass.pour { transform: rotate(-2deg) scale(1.02); }
/* z-index matters: without it Chrome paints the liquid over the ice cubes. */
.fill { position: absolute; inset: 0 0 10px 0; z-index: 1; display: flex; flex-direction: column-reverse; }
.layer { width: 100%; height: 0; transition: height .9s cubic-bezier(.3, .7, .2, 1), background .6s; position: relative; }
.layer.top::before {
  content: ""; position: absolute; left: -10%; right: -10%; top: -7px; height: 14px; background: inherit;
  -webkit-mask: radial-gradient(10px 7px at 50% 100%, #000 98%, #0000) 0 0 / 20px 14px repeat-x;
  mask: radial-gradient(10px 7px at 50% 100%, #000 98%, #0000) 0 0 / 20px 14px repeat-x;
  animation: wave 3s linear infinite;
}
@keyframes wave { to { transform: translateX(20px); } }
.shine { position: absolute; top: 6%; bottom: 10%; left: 16%; width: 10px; border-radius: 10px; background: linear-gradient(#ffffffcc, #ffffff00); z-index: 3; }
.ice { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ice b { position: absolute; width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, #ffffffe6, #ffffff80); box-shadow: inset 0 0 0 2px #fff, 0 4px 10px #3a221630; opacity: 0; transform: translateY(-120px) rotate(0deg); transition: transform .8s cubic-bezier(.4, 1.4, .5, 1), opacity .3s; }
.ice b:nth-child(1) { left: 30px; top: 70px; } .ice b:nth-child(2) { left: 84px; top: 92px; } .ice b:nth-child(3) { left: 52px; top: 124px; }
.iced .ice b { opacity: 1; }
.iced .ice b:nth-child(1) { transform: rotate(14deg); transition-delay: .05s; }
.iced .ice b:nth-child(2) { transform: rotate(-12deg); transition-delay: .15s; }
.iced .ice b:nth-child(3) { transform: rotate(22deg); transition-delay: .25s; }
.steam { position: absolute; top: calc(50% - 200px); left: 50%; transform: translateX(-50%); display: flex; gap: 18px; z-index: 1; transition: opacity .5s; }
.steam span { width: 10px; height: 70px; border-radius: 10px; background: linear-gradient(transparent, color-mix(in srgb, var(--ink) 22%, transparent)); filter: blur(6px); animation: steam 3.2s ease-in-out infinite; }
.steam span:nth-child(2) { animation-delay: .9s; height: 90px; } .steam span:nth-child(3) { animation-delay: 1.7s; }
@keyframes steam { 0% { transform: translateY(20px) scaleX(1); opacity: 0; } 40% { opacity: .9; } 100% { transform: translateY(-40px) scaleX(1.8); opacity: 0; } }
.builder.iced .steam { opacity: 0; }
.coaster { position: absolute; bottom: 64px; width: 220px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 14%, transparent); filter: blur(6px); z-index: 0; }

/* the ticket looks like an order slip */
.ticket { background: var(--paper); border-radius: 3px; padding: 22px 22px 20px; box-shadow: 0 1px 0 #0000000d, 0 18px 40px -24px #3a221659; position: relative; }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: radial-gradient(circle at 6px 0, transparent 6px, var(--paper) 6.5px) -6px 0 / 12px 8px repeat-x; }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.ticket-head strong { font-family: "Gloock", Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.1; }
.price { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.group { margin-top: 14px; }
.group > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.group.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.group.row > span { margin: 0 4px 0 0; }
.group.row .btn { margin-left: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent); background: #fff; border-radius: 4px; padding: 6px 11px 6px 8px; font-size: 15px; transition: border-color .2s, background .2s; }
.chip i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px #0000001f; }
.chip i.none { background: repeating-linear-gradient(135deg, #fff 0 3px, #d8cfc4 3px 4.5px); }
.chip:hover { border-color: color-mix(in srgb, var(--ink) 45%, transparent); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.toggle { display: inline-flex; border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 4px; overflow: hidden; }
.toggle button { border: 0; background: #fff; padding: 6px 14px; font-size: 15px; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.toggle button:disabled { opacity: .4; cursor: not-allowed; }

/* owner */
.owner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(70px, 8vw, 120px) clamp(16px, 4vw, 48px); max-width: 1300px; margin: 0 auto; }
.owner-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.letter p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; margin-bottom: 18px; max-width: 34ch; }
.letter p:first-child::first-letter { font-family: "Gloock", Georgia, serif; float: left; font-size: 3.3em; line-height: .8; padding: 6px 10px 0 0; color: var(--accent); }
.sign { display: flex; flex-direction: column; margin-top: 8px; font-size: 15px !important; color: color-mix(in srgb, var(--ink) 65%, transparent); }
.sign .hand { font-size: 64px; line-height: .8; color: var(--accent); transform: rotate(-4deg); transform-origin: left; display: inline-block; margin-bottom: 6px; }

/* reviews */
.reviews { border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); padding: clamp(50px, 6vw, 80px) clamp(16px, 4vw, 48px); max-width: 1400px; margin: 0 auto; }
.reviews h2 { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; letter-spacing: 0; }
.reviews h2 a { text-underline-offset: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--warm); }
.stars svg { width: 18px; height: 18px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 30px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-family: "Gloock", Georgia, serif; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; }
.quote figcaption { font-size: 15px; color: color-mix(in srgb, var(--ink) 60%, transparent); }

/* visit */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--ink); color: var(--cream); }
.visit-photo { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 60%; }
.visit-body { padding: clamp(50px, 6vw, 90px) clamp(20px, 4vw, 64px); }
.visit-body h2 { font-size: clamp(40px, 5vw, 70px); margin-bottom: 36px; }
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.loc h3 { font-size: 30px; margin-bottom: 8px; }
.loc .status { font-size: 15px; color: #f3ede3cc; }
.addr { margin: 12px 0 18px; font-size: 16px; }
.addr span { color: #f3ede399; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid #f3ede31f; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: #fff; }
.hours tr.today th::after { content: " (today)"; font-weight: 400; color: #f3ede399; }
.loc-actions { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.loc-actions a { font-weight: 600; text-underline-offset: 4px; }

/* catering + gift cards */
.extras { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 40px); padding: clamp(70px, 8vw, 120px) clamp(16px, 4vw, 48px); max-width: 1400px; margin: 0 auto; align-items: start; }
.extras h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 12px; }
.cater { background: var(--accent); color: #fff; padding: clamp(26px, 3.4vw, 48px); border-radius: 3px; }
.cater > p { color: #ffffffd9; max-width: 48ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.form label span { display: block; font-size: 14px; margin-bottom: 6px; color: #ffffffd9; }
.form input { width: 100%; padding: 12px 14px; border-radius: 3px; border: 0; border-bottom: 2px solid #ffffff66; background: #ffffff1a; color: #fff; font: inherit; font-size: 16px; }
.form input:focus { outline: none; border-bottom-color: #fff; background: #ffffff26; }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.sent { grid-column: 1 / -1; }
.gift-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; margin-bottom: 22px; }
.gift p { margin-bottom: 14px; color: color-mix(in srgb, var(--ink) 75%, transparent); }

.foot { background: var(--ink); color: var(--cream); padding: 50px clamp(16px, 4vw, 48px) 30px; overflow: hidden; border-top: 1px solid #f3ede31a; }
.foot-big span { display: inline-block; font-family: "Gloock", Georgia, serif; font-size: 160px; line-height: 1; white-space: nowrap; }
.foot-row { display: flex; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; margin-top: 30px; padding-top: 20px; border-top: 1px solid #f3ede326; font-size: 14px; color: #f3ede3aa; }
.foot-row a { text-underline-offset: 3px; }

/* responsive */
@media (max-width: 1100px) {
  .usual { grid-template-columns: 1fr; }
  .mcols { grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .mcols .mcol:last-child { grid-column: 1 / -1; }
  .visit { grid-template-columns: 1fr; }
  .visit-photo { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .nav { position: fixed; top: 72px; left: 12px; right: 12px; flex-direction: column; gap: 0; background: var(--ink); padding: 8px; border-radius: 4px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { color: var(--cream); padding: 14px 14px; font-size: 19px; }
  .burger { display: block; }
  .top > .btn { display: none; }
  .top { gap: 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 520px; margin-left: 30px; }
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .strip img { flex: 0 0 72%; height: 240px; scroll-snap-align: start; }
  .strip .s3 { height: 240px; margin-top: 0; }
  .owner { grid-template-columns: 1fr; }
  .owner-photo { aspect-ratio: 4 / 3; }
  .quotes { grid-template-columns: 1fr; gap: 28px; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top .status { display: none; }
  .mcols { grid-template-columns: 1fr; }
  .mcol { margin-bottom: 34px; }
  .builder { grid-template-columns: 1fr; }
  .stage { height: 350px; }
  .locs { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .sticky { left: -22px; width: 180px; font-size: 24px; }
  .hero-photo { margin-left: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
