/* TOM Coffee + Friends demo
   A white gallery wall, one black line, and the outline lettering from their window.
   Colour only comes from real things: Tom's yellow shirt (the @dodici.art drawing) and their own event posters. */

:root {
  --wall: #ffffff;
  --ink: #000000;
  --concrete: #ececE8;
  --shirt: #f5d33a;
  --muted: #555555;
  --on-shirt-muted: #3d3a2a;
  --line: 2px;
  /* owner-admin banner colours (the banner only exists when the owner switches it on) */
  --banner-bg: var(--shirt);
  --banner-fg: var(--ink);

  --font: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2.75rem);
  --wrap: 84rem;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  --step-3: clamp(2.2rem, 1.5rem + 3vw, 4rem);
  --space-section: clamp(4rem, 3rem + 5vw, 8.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.55; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
strong { font-weight: 650; }

html[lang="nl"] [data-lang="en"],
html[lang="en"] [data-lang="nl"] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--wall); padding: .6rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: .75rem; outline-color: var(--shirt); }

.h2 { font-size: var(--step-3); font-weight: 650; font-stretch: 78%; line-height: .98; letter-spacing: -0.01em; text-wrap: balance; }
.h3 { font-size: var(--step-2); font-weight: 650; font-stretch: 84%; line-height: 1.1; }
.lead { font-size: var(--step-1); line-height: 1.5; }
p + p { margin-top: 1em; }
p, li, figcaption { text-wrap: pretty; }
.link { text-decoration-thickness: 2px; text-underline-offset: .18em; }
.link:hover { background: var(--shirt); }
figcaption { margin-top: .6rem; font-size: var(--step--1); line-height: 1.4; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: .65rem 1.3rem;
  border: var(--line) solid var(--ink); border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, transform .15s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--ink { background: var(--ink); color: var(--wall); }
.btn--line { background: var(--wall); color: var(--ink); }
.btn--ink:hover, .btn--line:hover { background: var(--shirt); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--big { font-size: clamp(1rem, .9rem + .5vw, 1.3125rem); min-height: 3.5rem; padding-inline: 1.4rem; }

/* ---------- Demo strip (try mode only) ----------
   Not in the built page: the try Worker puts try-strip.html after the skip link. In the flow above the
   header, so it never covers content; a quiet outline pill on phones, the site's ink pill above. */
.demo-strip { background: var(--concrete); border-bottom: var(--line) solid var(--ink); padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }
.demo-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; min-height: 3.25rem; padding-block: .3rem; }
.demo-strip__text { flex: 1 1 auto; min-width: 0; font-size: var(--step--1); font-weight: 600; line-height: 1.25; text-wrap: balance; }
.demo-strip__edit {
  display: inline-flex; flex: none; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .35rem .95rem;
  border: var(--line) solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s;
}
.demo-strip__edit svg { width: 1.1em; height: 1.1em; flex: none; }
.demo-strip__edit:hover { background: var(--shirt); color: var(--ink); }
.demo-strip__edit:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 29.99em) { .demo-strip__site { display: none; } }
@media (min-width: 48em) {
  .demo-strip__edit { background: var(--ink); color: var(--wall); }
  .demo-strip__edit:hover { background: var(--shirt); color: var(--ink); }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--wall); border-bottom: var(--line) solid var(--ink); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; padding-block: .5rem; color: var(--ink); text-decoration: none; }
.brand__mark { width: auto; height: 1.7rem; }
.brand__mark .lk-tom { stroke: currentColor; }
.brand__name { max-width: 5em; font-size: .875rem; font-weight: 500; line-height: 1.05; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav__list { display: flex; gap: 1.6rem; }
.site-nav__list a {
  display: block; padding: .35rem 0; font-weight: 550; text-decoration: none;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 2px no-repeat; transition: background-size .2s var(--ease);
}
.site-nav__list a:hover { background-size: 100% 2px; }
.lang { display: inline-flex; border: var(--line) solid var(--ink); border-radius: 999px; overflow: hidden; }
.lang button { min-width: 2.75rem; min-height: 2.75rem; padding: .3rem .7rem; border: 0; background: none; color: var(--ink); font: inherit; font-size: .875rem; font-weight: 650; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--wall); }
.lang button:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 6px var(--shirt); }
.no-js .lang { display: none; }
.nav-toggle { display: none; }

@media (max-width: 56em) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .4rem 1rem .4rem .85rem;
    border: var(--line) solid var(--ink); border-radius: 999px; background: var(--wall); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
  }
  .nav-toggle__bars { position: relative; width: 1.1rem; height: 2px; background: currentColor; }
  .nav-toggle__bars::before { content: ""; position: absolute; left: 0; right: 0; top: -5px; height: 2px; background: currentColor; }
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: currentColor; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + var(--line)); display: none; flex-direction: column; align-items: stretch; gap: 1rem;
    max-height: calc(100dvh - 4.5rem); overflow-y: auto; overscroll-behavior: contain;
    padding: .25rem var(--gutter) 1.5rem; background: var(--wall); border-bottom: var(--line) solid var(--ink);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__list a { padding: .85rem 0 .75rem; border-bottom: 1px solid rgba(0, 0, 0, .18); background: none; font-size: 1.25rem; }
  .js .lang { align-self: flex-start; }
  .no-js .site-header { position: relative; }
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: .5rem; }
  .no-js .site-nav { width: 100%; }
  .no-js .site-nav__list { flex-wrap: wrap; gap: .25rem 1.1rem; }
}

/* ---------- The lockup (outline lettering) ---------- */
.lockup { display: block; width: 100%; height: auto; overflow: visible; color: var(--ink); }
.lockup, .outline-title, .move__svg { -webkit-user-select: none; user-select: none; }
.lockup .lk-tom { stroke: currentColor; }
.lockup .lk-words { stroke: currentColor; fill: var(--wall); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(3.5rem, 2.5rem + 4vw, 6.5rem); overflow: clip; }
.hero__inner { display: grid; gap: 2.5rem; }
/* Phones and tablets: the lettering at two thirds of the width, Tom standing next to it on the sill line */
.hero__brand { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; border-bottom: var(--line) solid var(--ink); }
.lockup--hero { flex: 0 1 auto; width: min(64%, 20rem); margin-bottom: .9rem; }
.hero__mascot-side { flex: none; width: 33%; max-width: 9.5rem; }
.hero__lead { margin-top: clamp(1.25rem, 1rem + 1.5vw, 2rem); max-width: 31ch; font-size: clamp(1.2rem, 1.1rem + .6vw, 1.5rem); font-weight: 450; line-height: 1.32; text-wrap: pretty; }
.hero__facts { display: grid; gap: .3rem; margin-top: 1.1rem; font-weight: 550; }
.hero__facts li { display: flex; align-items: flex-start; gap: .55rem; }
.hero__facts svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .15em; }

.open-pill { display: inline-flex; align-items: flex-start; gap: .6rem; margin-top: 1.1rem; padding: .45rem 1rem .45rem .75rem; border: var(--line) solid var(--ink); border-radius: 1.4rem; font-weight: 650; line-height: 1.3; }
.open-pill::before, .visit__now::before { content: ""; flex: none; width: .8rem; height: .8rem; margin-top: calc((1lh - .8rem) / 2); border: var(--line) solid var(--ink); border-radius: 50%; background: var(--wall); }
.open-pill.is-open { background: var(--shirt); }
.open-pill.is-open::before, .visit__now.is-open::before { background: var(--ink); }
.no-js [data-open-state] { display: none; }
.js [data-open-state]:empty { visibility: hidden; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }

.hero__photo { width: 100%; max-width: 34rem; margin-inline: auto 0; }
.hero__frame { position: relative; }
.hero__img { width: 100%; border: var(--line) solid var(--ink); }
.hero__mascot { display: none; }
/* the drawing's credit on its own line: the photo's caption above it may be the owner's (or gone) */
.hero__credit { display: block; }

@media (min-width: 48em) {
  .hero__inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: start; gap: clamp(2rem, 1rem + 4vw, 6rem); }
}
@media (min-width: 60em) {
  .hero__brand { display: block; border-bottom: 0; }
  .lockup--hero { width: 100%; max-width: 33rem; margin-bottom: 0; }
  .hero__mascot-side { display: none; }
  /* Tom stands behind the "counter": the bottom edge of the photo, drawn on out to the left */
  .hero__frame::after { content: ""; position: absolute; left: -12%; right: 0; bottom: 0; height: var(--line); background: var(--ink); }
  .hero__mascot { display: block; position: absolute; z-index: 1; left: -11%; bottom: var(--line); width: 42%; }
  .hero__caption { padding-left: 30%; }
}
@media (min-width: 75em) {
  .hero__frame::after { left: -30%; }
  .hero__mascot { left: -27%; width: 46%; }
  .hero__caption { padding-left: 22%; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .lockup--hero .lk-tom path { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: tom-draw 1s var(--ease) .1s forwards; }
  .js .lockup--hero .lk-tom path:nth-child(2) { animation-delay: .22s; }
  .js .lockup--hero .lk-tom path:nth-child(3) { animation-delay: .3s; }
  .js .lockup--hero .lk-tom path:nth-child(4) { animation-delay: .4s; }
  .js .lockup--hero .lk-words { opacity: 0; animation: words-in .5s ease .85s forwards; }
}
@keyframes tom-draw {
  99.9% { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
  100% { stroke-dasharray: none; stroke-dashoffset: 0; }
}
@keyframes words-in { to { opacity: 1; } }

/* ---------- Coffee ---------- */
.coffee { padding-block: var(--space-section); border-top: var(--line) solid var(--ink); }
.coffee__inner { display: grid; gap: 2.5rem; }
.coffee__text { max-width: 36rem; }
.coffee__text .h2 { margin-bottom: 1.5rem; }
.coffee__machine { max-width: 32rem; }   /* the source is 512px wide: never shown larger than 1:1 */
.coffee__machine img, .coffee__room img { width: 100%; border: var(--line) solid var(--ink); }
.coffee__room { width: min(100%, 22rem); justify-self: end; }

@media (min-width: 60em) {
  /* heading + lead left, the shorter paragraphs right; both photos underneath on one top line */
  .coffee__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: clamp(3rem, 2rem + 2vw, 4.5rem); align-items: start; }
  .coffee__text { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; max-width: none; }
  .coffee__text .h2 { grid-column: 1 / span 6; grid-row: 1; }
  .coffee__text .lead { grid-column: 1 / span 5; grid-row: 2 / span 2; }
  .coffee__text > p:not(.lead) { grid-column: 7 / span 5; margin-top: 0; }
  .coffee__text > p:nth-of-type(2) { grid-row: 2; }
  .coffee__text > p:nth-of-type(3) { grid-row: 3; margin-top: 1em; }
  .coffee__room { grid-column: 1 / span 5; grid-row: 2; width: 100%; justify-self: start; }
  .coffee__room img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 78%; }
  .coffee__machine { grid-column: 7 / span 6; grid-row: 2; justify-self: start; width: 100%; }
}

/* ---------- + Friends: the wall ---------- */
.friends { padding-block: var(--space-section); border-top: var(--line) solid var(--ink); }
.friends__head { display: grid; gap: 1.75rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.outline-title { width: 100%; max-width: 44rem; height: auto; overflow: visible; }
.outline-title text, .move__num text {
  font-family: var(--font); font-weight: 400; fill: var(--wall); stroke: var(--ink); paint-order: stroke; stroke-linejoin: round;
}
.outline-title text { font-size: 100px; letter-spacing: -1px; stroke-width: 3.4px; }
.friends__intro { max-width: 40rem; }

@media (min-width: 60em) {
  .friends__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; column-gap: 4rem; }
}

/* Posters pinned up with black tape, a wall label under each.
   Phones: a swipeable strip. From 48em: three per row, posters on one bottom line, labels on one top line. */
.wall-hint { display: flex; align-items: center; gap: .45rem; margin-bottom: .25rem; font-size: var(--step--1); font-weight: 600; }
.wall-hint svg { width: 1.25rem; height: 1.25rem; }
.wall-scroller { margin-inline: calc(-1 * var(--gutter)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
.wall-scroller:focus-visible { outline-offset: -4px; }
.friends .wall { display: grid; grid-auto-flow: column; grid-auto-columns: 72vw; gap: 1.5rem; width: max-content; padding: 1.25rem var(--gutter) 1.75rem; }
.work { scroll-snap-align: start; }
.work__paper { position: relative; width: fit-content; max-width: 100%; transform: rotate(-1.5deg); }
.work:nth-child(even) .work__paper { transform: rotate(1.5deg); }
.work__paper img { width: auto; max-width: 100%; max-height: min(26rem, 64vh); box-shadow: 0 1px 1px rgba(0, 0, 0, .18), 0 14px 22px -16px rgba(0, 0, 0, .55); }
.work__paper::before, .work__paper::after { content: ""; position: absolute; z-index: 1; top: -.4rem; width: 3.2rem; height: .9rem; background: rgba(0, 0, 0, .88); }
.work__paper::before { left: -.95rem; transform: rotate(-38deg); }
.work__paper::after { right: -.95rem; transform: rotate(38deg); }
.work:nth-child(3n+2) .work__paper::before { left: 50%; top: -.5rem; width: 4.2rem; transform: translateX(-50%) rotate(-3deg); }
.work:nth-child(3n+2) .work__paper::after { display: none; }
.label { display: grid; align-content: start; gap: .2rem; margin-top: 1.1rem; padding-left: .65rem; border-left: var(--line) solid var(--ink); font-size: .875rem; line-height: 1.35; }
.label__title { font-size: 1rem; line-height: 1.2; }
.label__date { font-weight: 600; }

.also { margin-top: 1.5rem; border: var(--line) solid var(--ink); }
.also__title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; padding: .7rem 1.1rem; font-size: 1.15rem; font-weight: 650; font-stretch: 84%; line-height: 1.15; cursor: pointer; list-style: none; }
.also__title::-webkit-details-marker { display: none; }
.also__title::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; }
.also[open] .also__title::after { content: "\2013"; }
.also .note-list { padding: 0 1.1rem .5rem; }
.note-list li { padding: .55rem 0; border-top: 1px solid rgba(0, 0, 0, .22); font-size: .9375rem; line-height: 1.35; break-inside: avoid; }
.note-date { display: block; color: var(--muted); font-size: .8125rem; }

@media (min-width: 48em) {
  .wall-hint { display: none; }
  .wall-scroller { margin-inline: 0; overflow: visible; scroll-snap-type: none; }
  .friends .wall { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; width: auto; padding: .75rem 0 0; }
  .work { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
  .work__paper { align-self: end; justify-self: center; }
  .work__paper img { max-height: min(31rem, 80vh); }
  /* pasted up close together: the outer posters lean in over the middle ones */
  .work:nth-child(3n+1) .work__paper { z-index: 2; translate: 2.25rem 0; }
  .work:nth-child(3n) .work__paper { z-index: 2; translate: -2.25rem 0; }
  .label { align-self: start; margin-right: 1.75rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
  .also { margin-top: 0; }
  .note-list { columns: 2; column-gap: 2rem; }
}
@media (min-width: 75em) { .note-list { columns: 4; } }

/* ---------- Shop ---------- */
.shop { padding-block: var(--space-section); background: var(--concrete); border-block: var(--line) solid var(--ink); }
.shop__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1rem; align-items: start; }
.shop__text { grid-column: 1 / -1; max-width: 36rem; }
.shop__text .h2 { margin-bottom: 1.5rem; }
.shop__aside { max-width: 28rem; margin-top: 1.75rem; padding-top: 1rem; border-top: var(--line) solid var(--ink); color: var(--muted); font-size: var(--step--1); }
.shop__photo img { width: 100%; border: var(--line) solid var(--ink); }
.shop__photo--cup { margin-top: 3rem; }

@media (min-width: 60em) {
  .shop__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; }
  .shop__text { grid-column: 1 / span 5; }
  .shop__photo--wall { grid-column: 7 / span 3; }
  .shop__photo--cup { grid-column: 10 / span 3; margin-top: 6rem; }
}

/* ---------- Story ---------- */
.story { padding-block: var(--space-section); }
.story__head { display: grid; gap: 2rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.move { max-width: 40rem; }
.move__svg { width: 100%; height: auto; overflow: visible; }
.move__num text { font-size: 120px; letter-spacing: -2px; stroke-width: 3.6px; }
.move__arrow, .move__kade { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.move__water { fill: none; stroke: var(--ink); stroke-width: 1.6; }

@media (min-width: 60em) {
  .story__head { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; column-gap: 4rem; }
}

.timeline { border-top: var(--line) solid var(--ink); }
.moment { display: grid; gap: .4rem 2rem; padding-block: 1.4rem 1.6rem; border-bottom: var(--line) solid var(--ink); }
.moment__date { font-size: var(--step-2); font-weight: 650; font-stretch: 80%; line-height: 1.1; }
.moment__body { max-width: 36rem; }
.moment__photo { max-width: 13rem; margin-top: 1.1rem; }
.moment__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border: var(--line) solid var(--ink); }
.story__coda { max-width: 40rem; margin-top: 2rem; font-size: var(--step-1); }

@media (min-width: 48em) { .moment { grid-template-columns: 13rem minmax(0, 1fr); } }
@media (min-width: 60em) {
  .moment { grid-template-columns: 16rem minmax(0, 1fr); }
  .moment__body { display: grid; grid-template-columns: minmax(0, 34rem) 13rem; justify-content: space-between; gap: 2rem; max-width: none; }
  .moment__body > p { font-size: var(--step-1); }
  .moment__photo { margin-top: 0; }
}

/* ---------- Reviews, on Tom's yellow shirt ---------- */
.reviews { padding-block: var(--space-section); background: var(--shirt); border-block: var(--line) solid var(--ink); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.reviews__score { font-weight: 600; }
.reviews__note { margin-top: .2rem; color: var(--on-shirt-muted); font-size: var(--step--1); }
.nw { white-space: nowrap; }
.review--lead blockquote > p:first-child { max-width: 32ch; font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3.4rem); font-weight: 600; font-stretch: 80%; line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
.review__translation { margin-top: .6rem; color: var(--on-shirt-muted); }
.review--lead .review__translation { max-width: 52ch; margin-top: 1rem; font-size: var(--step-1); }
.review figcaption { margin-top: .9rem; color: var(--ink); font-weight: 600; }
.stars { margin-right: .3rem; letter-spacing: .08em; }
.reviews__list { display: grid; gap: 2rem 2.5rem; margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); }
.reviews__list .review { padding-top: 1.1rem; border-top: var(--line) solid var(--ink); }
.reviews__list blockquote > p:first-child { font-size: var(--step-1); line-height: 1.45; }

@media (min-width: 48em) { .reviews__list { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 1rem + 3vw, 5rem); } }

/* ---------- Visit ---------- */
.visit { padding-block: var(--space-section); }
.visit__inner { display: grid; gap: 3rem; }
.visit__now { display: flex; align-items: flex-start; gap: .65rem; margin: 1.25rem 0 1.5rem; font-size: var(--step-2); font-weight: 650; line-height: 1.2; }
.visit__now.is-open { text-decoration: underline var(--shirt) .35em; text-underline-offset: -.12em; text-decoration-skip-ink: none; }
.hours { width: 100%; max-width: 28rem; border-collapse: collapse; font-size: var(--step-1); }
.hours th, .hours td { padding: .55rem .75rem; border-bottom: var(--line) solid var(--ink); font-weight: 500; text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:first-child > * { border-top: var(--line) solid var(--ink); }
.hours .is-shut { color: var(--muted); }
.hours .is-today > * { background: var(--shirt); color: var(--ink); font-weight: 700; }
.visit__note { max-width: 28rem; margin-top: 1.25rem; }
.visit__chef { float: right; width: 8rem; margin: -1.25rem -.5rem .5rem 1rem; }
.visit__contact .h3 { margin-bottom: .75rem; }
.visit__contact > p { max-width: 30rem; }
.visit__actions { margin-top: 1.25rem; }
.visit__handle a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.visit__handle svg { width: 1.25rem; height: 1.25rem; }
.visit__address { margin-top: 2.25rem; font-size: var(--step-1); font-style: normal; font-weight: 550; line-height: 1.4; }
.visit__hint { margin-top: .75rem; }
.visit__contact > p:last-child { margin-top: 1.25rem; }

.map { border: var(--line) solid var(--ink); }
.map__frame {
  position: relative; aspect-ratio: 4 / 3; background-color: var(--concrete);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16' viewBox='0 0 40 16'%3E%3Cpath d='M0 8q10-6 20 0t20 0' fill='none' stroke='%23000' stroke-opacity='.16' stroke-width='1.5'/%3E%3C/svg%3E");
}
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__frame.is-loaded .map__panel { display: none; }
.map__panel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .75rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.map__title { font-size: var(--step-3); font-weight: 650; font-stretch: 78%; line-height: 1; }
.map__title, .map__note, .map__panel .link { padding: .1rem .35rem; margin-left: -.35rem; background: var(--concrete); }
.map__note { color: var(--muted); font-size: var(--step--1); }
.map__panel .link { display: inline-block; padding-block: .6rem; font-weight: 600; }

@media (min-width: 60em) {
  .visit__chef { width: 10rem; }
  .visit__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 1rem + 4vw, 6rem); }
  .map { grid-column: 1 / -1; }
  .map__frame { aspect-ratio: 3 / 1; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem; background: var(--ink); color: var(--wall); }
.site-footer__inner { display: grid; gap: 2rem; }
.lockup--footer { max-width: 15rem; color: var(--wall); }
.lockup--footer .lk-words { fill: var(--ink); }
.site-footer__col { font-size: .9375rem; font-style: normal; line-height: 1.6; }
.site-footer__links li + li { margin-top: -.3rem; }
.site-footer__link { display: inline-block; padding-block: .6rem; color: var(--wall); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.site-footer__link:hover { color: var(--shirt); }
.site-footer :focus-visible { outline-color: var(--shirt); }
.site-footer__credit { padding-top: 1.25rem; border-top: 1px solid #4a4a4a; color: #bdbdbd; font-size: .8125rem; }

@media (min-width: 48em) {
  .site-footer__inner { grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; align-items: start; }
  .site-footer__credit { grid-column: 1 / -1; }
}

/* ---------- Owner admin slots (only filled on the admin-enabled site) ----------
   The highlight card sits in the hero like one of their posters: Tom's yellow, a black line, black tape.
   The agenda borrows the wall labels (black left line) and the outline lettering for the day numbers. */
[data-slot][hidden], [data-slot]:empty { display: none; }

.hero__highlight { max-width: 34rem; }
@media (min-width: 48em) {
  /* wider screens: text on the left over two rows, the photo and then the card on the right */
  .hero__inner:has(> .hero__highlight:not([hidden])) .hero__text { grid-row: 1 / span 2; }
  .hero__inner:has(> .hero__highlight:not([hidden])) .hero__photo { grid-column: 2; grid-row: 1; }
  .hero__highlight { grid-column: 2; grid-row: 2; justify-self: end; width: 100%; }
}
.nx-highlight { position: relative; display: grid; background: var(--shirt); border: var(--line) solid var(--ink); }
.nx-highlight::before { content: ""; position: absolute; z-index: 1; top: -.5rem; left: 1.4rem; width: 4rem; height: .9rem; background: rgba(0, 0, 0, .88); transform: rotate(-4deg); }
.nx-highlight__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: var(--line) solid var(--ink); }
.nx-highlight__body { display: grid; gap: .55rem; align-content: start; padding: 1.1rem 1.15rem 1.2rem; }
.nx-highlight__title { font-size: var(--step-2); font-weight: 650; font-stretch: 80%; line-height: 1.05; text-wrap: balance; }
.nx-highlight__text { font-size: 1rem; line-height: 1.45; color: var(--on-shirt-muted); }
.nx-highlight__action { margin-top: .35rem; }
.nx-highlight__button {
  display: inline-flex; align-items: center; min-height: 2.9rem; padding: .6rem 1.2rem; border: var(--line) solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--wall); font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .15s, color .15s;
}
.nx-highlight__button:hover { background: var(--wall); color: var(--ink); }
.nx-highlight__button:focus-visible { outline-color: var(--ink); }
@media (min-width: 30em) {
  .nx-highlight--photo { grid-template-columns: 10rem minmax(0, 1fr); }
  .nx-highlight--photo .nx-highlight__photo { height: 100%; aspect-ratio: auto; border-bottom: 0; border-right: var(--line) solid var(--ink); }
}

.friends__agenda { margin-bottom: clamp(2.5rem, 2rem + 3vw, 4rem); }
/* "Eerder bij Tom": the posters below are past events (the agenda above is what is coming) */
.friends__past { font-size: var(--step-1); font-weight: 650; font-stretch: 84%; line-height: 1.1; margin-bottom: .75rem; }
.nx-agenda__title { font-size: var(--step-2); font-weight: 650; font-stretch: 84%; line-height: 1.1; margin-bottom: 1rem; }
.nx-agenda__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; align-items: start; }
.nx-agenda__item { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: .25rem 1rem; padding: .9rem 1rem .95rem .75rem; border: var(--line) solid var(--ink); background: var(--wall); }
.nx-agenda__item:first-child { background: var(--shirt); }
.nx-agenda__when { display: grid; justify-items: center; align-content: start; text-align: center; }
.nx-agenda__day {
  font-size: 2.9rem; font-weight: 700; font-stretch: 78%; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke;
}
@supports not (-webkit-text-stroke: 1px black) { .nx-agenda__day { color: var(--ink); } }
.nx-agenda__meta { margin-top: .3rem; font-size: .8125rem; font-weight: 600; line-height: 1.25; }
.nx-agenda__body { padding-left: .9rem; border-left: var(--line) solid var(--ink); }
/* item headings are one level below the slot heading (h4 here), which the reset above doesn't cover */
.nx-agenda__name { margin: 0; font-size: 1.125rem; font-weight: 650; font-stretch: 90%; line-height: 1.2; }
.nx-agenda__link { text-decoration-thickness: 2px; text-underline-offset: .18em; }
.nx-agenda__link:hover { background: var(--wall); }
.nx-agenda__item:not(:first-child) .nx-agenda__link:hover { background: var(--shirt); }
.nx-agenda__text { margin-top: .35rem; font-size: .9375rem; line-height: 1.45; }
@media (min-width: 48em) {
  .nx-agenda__list { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.25rem; }
}
