/* Café Boerenhof x WebAthletes: demo homepage.
   Concept: the objects of a real bruin café. A framed facade sign, an OPEN
   sign hanging on the door, the menu on a chalkboard ("op de lei"), steps on
   beer coasters, a striped terrace awning, posters on a cork board and an
   enamel opening-hours plate. Dark wood, beer amber, cream and bordeaux. */

@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/zilla-slab-normal-500.woff2') format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/zilla-slab-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/zilla-slab-normal-700.woff2') format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/zilla-slab-italic-500.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/source-sans-3-normal-400-700.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/caveat-variable.woff2') format('woff2'); }

:root {
  --wood: #2e1d14;
  --wood-deep: #1f130d;
  --wood-mid: #4a2f1e;
  --wood-light: #6b4429;
  --amber: #d8962b;
  --amber-deep: #b87618;
  --amber-light: #f0c46a;
  --foam: #fbf1dc;
  --cream: #f6ecd9;
  --paper: #fcf6ea;
  --bordeaux: #7c2230;
  --bordeaux-deep: #5e1824;
  --slate: #2b2f2c;
  --chalk: #f2eee4;
  --cork: #b98b5c;
  --ink: #2a1a12;
  --body: #4a3a2e;
  --muted: #6b5a4b;
  --line: #e2cfae;
  --on-wood: #f1e6d3;
  --on-wood-muted: #c9b59b;
  --open: #2f6b3a;

  --font-display: 'Zilla Slab', Rockwell, Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-chalk: 'Caveat', 'Segoe Print', cursive;

  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 6.5rem);

  /* Subtle wood grain and chalk/cork textures, all inline (no image requests). */
  --grain: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 23px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --speckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .15 0 0 0 0 .05 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--wood-deep); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 1.07rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--bordeaux); text-decoration: none; }
a:hover { color: var(--wood); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--wood-deep); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); scroll-margin-top: 70px; }
.slab { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -.005em; text-wrap: balance; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.1; }
.overline { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bordeaux); }
.overline::before, .overline::after { content: '✦'; font-size: .65em; opacity: .7; }
.overline--light { color: var(--amber-light); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.2rem); color: var(--body); max-width: 54ch; }
.head { display: grid; gap: .9rem; justify-items: center; text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head .lead { margin-inline: auto; }

/* Buttons: amber like a tap handle, cream, bordeaux */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: 0 1.45rem; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .01em; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }
.btn--amber { background: linear-gradient(180deg, var(--amber-light), var(--amber)); color: var(--wood-deep); box-shadow: 0 3px 0 var(--amber-deep); }
.btn--amber:hover { color: var(--wood-deep); box-shadow: 0 5px 0 var(--amber-deep); }
.btn--cream { background: var(--foam); color: var(--wood); box-shadow: 0 3px 0 #cdb58e; }
.btn--cream:hover { color: var(--wood); }
.btn--bordeaux { background: var(--bordeaux); color: var(--foam); box-shadow: 0 3px 0 var(--bordeaux-deep); }
.btn--bordeaux:hover { color: var(--foam); }
.btn--line { border-color: rgba(241, 230, 211, .55); color: var(--on-wood); }
.btn--line:hover { color: var(--on-wood); background: rgba(241, 230, 211, .08); }

/* Photos and placeholders */
.photo { position: relative; overflow: hidden; background: var(--wood-mid); }
.photo picture, .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo__tag { position: absolute; left: .6rem; bottom: .6rem; z-index: 2; background: rgba(31, 19, 13, .85); color: var(--foam); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .55rem; border-radius: 4px; white-space: nowrap; }
.ph { position: relative; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(135deg, #e8d6b5 0 14px, #efe1c6 14px 28px); }
.ph__label { display: grid; gap: .25rem; padding: 1rem; }
.ph__title { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wood); }
.ph__sub { font-size: .88rem; color: var(--muted); }
.ph__tag { position: absolute; top: .6rem; left: .6rem; background: var(--wood); color: var(--foam); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .55rem; border-radius: 4px; }
.ph--slate { background: repeating-linear-gradient(135deg, #3a2518 0 14px, #412a1c 14px 28px); }
.ph--slate .ph__title { color: var(--amber-light); }
.ph--slate .ph__sub { color: var(--on-wood-muted); }

/* Polaroid */
.polaroid { background: #fffdf8; padding: .6rem .6rem 2.4rem; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); position: relative; }
.polaroid .photo, .polaroid .ph { aspect-ratio: 1; }
.polaroid__caption { position: absolute; left: 0; right: 0; bottom: .55rem; text-align: center; font-family: var(--font-chalk); font-size: 1.35rem; color: var(--wood); line-height: 1; }
.tape { position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: rgba(240, 196, 106, .55); transform: rotate(-4deg); z-index: 3; }

/* ---------- Header: dark wooden bar ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--wood); background-image: var(--grain); color: var(--on-wood); border-bottom: 3px solid var(--amber); }
.header__bar { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--foam); min-height: 48px; }
.logo:hover { color: var(--foam); }
.logo__plate { border: 2px solid var(--amber); outline: 1px solid var(--amber); outline-offset: 2px; border-radius: 4px; padding: .15rem .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.logo__sub { font-family: var(--font-chalk); font-size: 1.3rem; color: var(--amber-light); line-height: 1; }
.nav { display: flex; align-items: center; gap: 1rem; }
.nav__links { position: relative; display: flex; align-items: center; gap: .1rem; align-self: stretch; }
.nav__links a { position: relative; z-index: 1; display: inline-flex; align-items: center; align-self: stretch; padding: 0 .8rem; color: var(--on-wood); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--amber-light); }
/* Scroll-spy "bierlijn": amber bar with a foam top slides under the active link. */
.nav__pill { position: absolute; left: 0; bottom: 10px; height: 7px; width: 0; border-radius: 4px; background: var(--amber); box-shadow: inset 0 3px 0 var(--foam), 0 0 10px rgba(216, 150, 43, .55); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.3, .5, 1), width .45s cubic-bezier(.3, 1.3, .5, 1), opacity .25s; pointer-events: none; }
.nav__pill.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nav__pill { transition: opacity .2s; } }
.nav .btn { min-height: 46px; font-size: 1rem; padding: 0 1.1rem; }
.menu-btn { display: none; min-height: 46px; padding: 0 1.1rem; border-radius: 10px; border: 2px solid var(--amber); background: transparent; color: var(--foam); font-family: var(--font-display); font-weight: 700; cursor: pointer; }
.mobile-nav { display: grid; padding: .4rem var(--gutter) 1.2rem; background: var(--wood); border-top: 1px solid var(--wood-light); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--on-wood); padding: .65rem 0; border-bottom: 1px dashed var(--wood-light); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a::before { content: ''; width: 18px; height: 6px; border-radius: 3px; background: transparent; }
.mobile-nav a[aria-current="true"] { color: var(--amber-light); }
.mobile-nav a[aria-current="true"]::before { background: var(--amber); box-shadow: inset 0 2px 0 var(--foam); }
@media (max-width: 1000px) { .nav { display: none; } .menu-btn { display: inline-flex; align-items: center; } }
@media (min-width: 1001px) { .mobile-nav { display: none !important; } }

/* ---------- Hero: facade sign + framed photo with a hanging OPEN sign ---------- */
.hero { background: var(--wood); background-image: var(--grain), radial-gradient(120% 90% at 70% 10%, #5a3a24 0%, var(--wood) 55%, var(--wood-deep) 100%); color: var(--on-wood); padding-block: clamp(2.2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__copy { display: grid; gap: 1.3rem; justify-items: start; }
.facade { border: 3px solid var(--amber); outline: 1.5px solid var(--amber); outline-offset: 5px; border-radius: 6px; padding: .6rem 1.2rem .7rem; text-align: center; background: rgba(31, 19, 13, .35); }
.facade__small { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; color: var(--amber-light); }
.facade__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .12em; text-transform: uppercase; color: var(--foam); line-height: 1.05; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--foam); }
.hero__title em { font-style: italic; font-weight: 500; color: var(--amber-light); }
.hero .lead { color: var(--on-wood); }
.hero__hours { font-size: .98rem; color: var(--on-wood-muted); }
.hero__hours a { color: var(--amber-light); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__media { position: relative; padding-top: 70px; }
.frame { padding: 14px; background: linear-gradient(135deg, #7a4d2c, #4a2f1e 40%, #6b4429 70%, #3a2518); border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(0, 0, 0, .35); transform: rotate(1.2deg); }
.frame .photo { aspect-ratio: 4 / 3; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .3); }

/* Hanging door sign */
.doorsign { position: absolute; top: 0; left: 50%; z-index: 4; width: 230px; margin-left: -115px; transform-origin: 50% 0; animation: swing 5s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@media (prefers-reduced-motion: reduce) { .doorsign { animation: none; } }
.doorsign__strings { position: relative; height: 62px; }
.doorsign__strings::before, .doorsign__strings::after { content: ''; position: absolute; top: 8px; width: 2px; height: 66px; background: #c9a36b; }
.doorsign__strings::before { left: 50%; transform-origin: top; transform: rotate(38deg); }
.doorsign__strings::after { right: 50%; transform-origin: top; transform: rotate(-38deg); }
.doorsign__nail { position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e8d3a8, #8a6a3a); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); z-index: 1; }
.doorsign__board { background: var(--foam); border: 3px solid var(--open); border-radius: 10px; padding: .55rem .8rem .6rem; text-align: center; box-shadow: 0 12px 20px -10px rgba(0, 0, 0, .6); }
.doorsign__word { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: .18em; color: var(--open); line-height: 1; }
.doorsign__detail { display: block; font-family: var(--font-chalk); font-size: 1.3rem; color: var(--wood); line-height: 1.1; margin-top: .15rem; }
.doorsign.is-closed .doorsign__board { border-color: var(--bordeaux); }
.doorsign.is-closed .doorsign__word { color: var(--bordeaux); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; padding-top: 58px; }
  .doorsign { width: 190px; margin-left: -95px; }
  .doorsign__strings { height: 50px; }
  .doorsign__word { font-size: 1.6rem; }
  .facade { justify-self: stretch; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Welkom: paper with polaroids ---------- */
.welkom { background: var(--paper); }
.welkom__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.welkom__copy { display: grid; gap: 1.2rem; }
.welkom__copy p { color: var(--body); max-width: 56ch; }
.namecard { display: inline-block; font-family: var(--font-chalk); font-size: 1.45rem; color: var(--bordeaux); border-bottom: 2px dashed var(--bordeaux); line-height: 1.1; }
.stamps { display: flex; flex-wrap: wrap; gap: .5rem; }
.stamp { border: 2px solid var(--bordeaux); color: var(--bordeaux); border-radius: 6px; padding: .2rem .65rem; font-family: var(--font-display); font-weight: 600; font-size: .95rem; transform: rotate(-1deg); }
.stamp:nth-child(even) { transform: rotate(1.2deg); }
.stamps__label { font-size: .9rem; color: var(--muted); margin-bottom: .45rem; }
.welkom__photos { position: relative; min-height: 420px; }
.welkom__photos .polaroid { position: absolute; width: 62%; }
.welkom__photos .polaroid:first-child { left: 0; top: 0; transform: rotate(-4deg); }
.welkom__photos .polaroid:last-child { right: 0; bottom: 0; transform: rotate(5deg); }
@media (max-width: 860px) { .welkom__grid { grid-template-columns: 1fr; } .welkom__photos { min-height: 380px; } }

/* ---------- Kaart: chalkboard ---------- */
.kaart { background: var(--cream); }
.board { position: relative; padding: clamp(12px, 2vw, 20px); border-radius: 8px; background: linear-gradient(135deg, #7a4d2c, #4a2f1e 45%, #6b4429 75%, #3a2518); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.board__slate { position: relative; background: var(--slate); background-image: var(--noise), radial-gradient(120% 90% at 30% 20%, #394038 0%, var(--slate) 60%, #222624 100%); border-radius: 3px; color: var(--chalk); padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.board__title { font-family: var(--font-chalk); font-weight: 700; font-size: clamp(2.8rem, 6vw, 4.2rem); line-height: .9; color: var(--chalk); text-shadow: 0 0 1px rgba(242, 238, 228, .6); }
.board__title small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .08em; color: #b9bdb3; margin-top: .6rem; }
.chalk-tabs { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 1.4rem 0 1rem; }
.chalk-tab { background: none; border: 0; min-height: 44px; padding: 0 .2rem; font-family: var(--font-chalk); font-weight: 600; font-size: 1.55rem; color: #b9bdb3; cursor: pointer; position: relative; }
.chalk-tab:hover { color: var(--chalk); }
.chalk-tab[aria-selected="true"] { color: var(--amber-light); }
.chalk-tab[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 3px; background: var(--amber-light); opacity: .85; transform: rotate(-1deg); }
.panel[hidden] { display: none; }
.chalk-list { list-style: none; display: grid; gap: .25rem; }
.chalk-item { display: grid; grid-template-columns: auto minmax(1rem, 1fr) auto; gap: .6rem; align-items: baseline; font-family: var(--font-chalk); font-size: 1.7rem; line-height: 1.35; }
.chalk-item__dots { border-bottom: 2px dotted rgba(242, 238, 228, .35); transform: translateY(-.35em); }
.chalk-item__price { color: #b9bdb3; }
.chalk-item--ph .chalk-item__name { color: #b9bdb3; }
.chalk-item--star .chalk-item__name { position: relative; color: var(--amber-light); font-weight: 700; }
.chalk-item--star .chalk-item__name::before { content: ''; position: absolute; left: -.5em; right: -.5em; top: -.05em; bottom: -.1em; border: 2px solid var(--chalk); border-radius: 50%; transform: rotate(-3deg); opacity: .8; }
.chalk-note { display: inline-block; font-family: var(--font-chalk); font-size: 1.35rem; color: var(--chalk); transform: rotate(-4deg); margin: .3rem 0 0 1.2rem; }
.board__side { display: grid; gap: 1.2rem; align-content: start; justify-items: center; }
.board__side .polaroid { width: min(100%, 300px); transform: rotate(3deg); }
.board__price { font-family: var(--font-chalk); font-size: 1.45rem; color: var(--chalk); text-align: center; }
.board__foot { margin-top: 1.4rem; font-size: .95rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .board__slate { grid-template-columns: 1fr; } .board__side .polaroid { width: 70%; } }

/* ---------- Afhalen & bezorgen: beer coasters ---------- */
.order { background: var(--bordeaux); background-image: var(--noise); color: var(--foam); }
.order .overline { color: var(--amber-light); }
.order .h2 { color: var(--foam); }
.coasters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); list-style: none; justify-items: center; }
.coaster { position: relative; width: min(100%, 290px); aspect-ratio: 1; border-radius: 50%; background: var(--foam); color: var(--wood); display: grid; place-content: center; justify-items: center; text-align: center; gap: .35rem; padding: 2.2rem 2rem; box-shadow: 0 0 0 7px var(--foam), 0 0 0 9px var(--amber), 0 22px 40px -18px rgba(0, 0, 0, .6); }
.coaster:nth-child(1) { transform: rotate(-5deg); }
.coaster:nth-child(2) { transform: rotate(3deg) translateY(1rem); }
.coaster:nth-child(3) { transform: rotate(-2deg); }
.coaster::after { content: ''; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; right: -6%; top: -4%; border: 5px solid rgba(184, 118, 24, .22); pointer-events: none; }
.coaster__n { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--bordeaux); }
.coaster__title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.coaster p { font-size: .95rem; color: var(--body); line-height: 1.35; }
.ph-inline { font-weight: 700; color: var(--bordeaux); border: 1.5px dashed var(--bordeaux); border-radius: 5px; padding: 0 .3rem; }
.order__ctas { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 860px) { .coasters { grid-template-columns: 1fr; gap: 1.6rem; } .coaster { width: min(78%, 280px); } .coaster:nth-child(2) { transform: rotate(3deg); } }

/* ---------- Terras: striped awning + polaroids ---------- */
.terras { position: relative; background: #f4e3bd; padding-top: calc(var(--section) + 30px); }
.awning { position: absolute; top: 0; left: 0; right: 0; height: 46px; background: repeating-linear-gradient(90deg, var(--bordeaux) 0 60px, var(--foam) 60px 120px); }
.awning::after { content: ''; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; background: radial-gradient(circle at 30px 0, var(--bordeaux) 30px, transparent 31px) 0 0 / 120px 18px repeat-x, radial-gradient(circle at 90px 0, var(--foam) 30px, transparent 31px) 0 0 / 120px 18px repeat-x; }
.terras__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); align-items: start; margin-top: 1rem; }
.terras__row .polaroid:nth-child(1) { transform: rotate(-3deg); }
.terras__row .polaroid:nth-child(2) { transform: rotate(2deg) translateY(1.2rem); }
.terras__row .polaroid:nth-child(3) { transform: rotate(-1.5deg); }
.terras__row .polaroid .photo { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .terras__row { grid-template-columns: 1fr 1fr; } .terras__row .polaroid:first-child { grid-column: 1 / -1; width: 80%; justify-self: center; } .terras__row .polaroid:first-child .photo { aspect-ratio: 4 / 3; } .terras__row .polaroid:nth-child(2) { transform: rotate(2deg); } }

/* ---------- Agenda: posters on a cork board ---------- */
.agenda { background: var(--cork); background-image: var(--speckle); }
.agenda .overline { color: var(--wood); }
.posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem); list-style: none; }
.poster { position: relative; background: var(--paper); padding: .8rem .8rem 1.2rem; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); display: grid; gap: .7rem; }
.poster:nth-child(1) { transform: rotate(-2deg); }
.poster:nth-child(2) { transform: rotate(1.5deg); }
.poster:nth-child(3) { transform: rotate(-1deg); }
.poster::before { content: ''; position: absolute; top: -9px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e05a5a, #8e1d1d); box-shadow: 0 3px 4px rgba(0, 0, 0, .45); z-index: 3; }
.poster .photo { aspect-ratio: 16 / 11; }
.poster__date { justify-self: start; font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: .1em; color: var(--foam); background: var(--bordeaux); padding: .2rem .6rem; border-radius: 3px; }
.poster__title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.poster p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .posters { grid-template-columns: 1fr; } .poster:nth-child(n) { transform: rotate(0deg); } }

/* ---------- Uren: enamel plate + contact ---------- */
.info { background: var(--wood); background-image: var(--grain); color: var(--on-wood); }
.info .overline { color: var(--amber-light); }
.info .h2 { color: var(--foam); }
.info__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.enamel { position: relative; background: linear-gradient(180deg, #fffaf0, #f3e8d3); color: var(--ink); border-radius: 22px; padding: 2rem 2rem 1.6rem; box-shadow: inset 0 0 0 6px var(--foam), inset 0 0 0 9px var(--bordeaux), 0 24px 44px -24px rgba(0, 0, 0, .8); }
.enamel::before, .enamel::after, .enamel__bolts::before, .enamel__bolts::after { content: ''; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9c8f7a); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.enamel::before { top: 16px; left: 16px; }
.enamel::after { top: 16px; right: 16px; }
.enamel__bolts::before { bottom: 16px; left: 16px; }
.enamel__bolts::after { bottom: 16px; right: 16px; }
.enamel__title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .22em; color: var(--bordeaux); margin-bottom: 1rem; }
.hours { list-style: none; display: grid; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .4rem; border-bottom: 1px solid #e3d5bb; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.hours li:last-child { border-bottom: 0; }
.hours .closed { color: var(--bordeaux); }
.hours li.is-today { background: var(--amber-light); border-radius: 8px; border-bottom-color: transparent; }
.hours li:has(+ li.is-today) { border-bottom-color: transparent; }
.contact { display: grid; gap: 1.2rem; }
.contact__card { background: var(--wood-mid); border-radius: 14px; padding: 1.4rem 1.4rem 1.5rem; }
.contact__list { list-style: none; display: grid; gap: .2rem; }
.contact__list a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--foam); font-weight: 600; font-size: 1.08rem; }
.contact__list a:hover { color: var(--amber-light); }
.services { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.services span { border: 1px solid rgba(241, 230, 211, .35); border-radius: 999px; padding: .25rem .75rem; font-size: .9rem; }
.map { min-height: 240px; border-radius: 14px; overflow: hidden; }
@media (max-width: 860px) { .info__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--wood-deep); background-image: var(--grain); color: var(--on-wood-muted); font-size: .96rem; }
.footer__grid { padding-block: 3rem 2.2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 2rem; }
.footer__col { display: grid; gap: .4rem; align-content: start; }
.footer__title { font-family: var(--font-display); font-weight: 700; color: var(--amber-light); letter-spacing: .06em; }
.footer a { color: var(--on-wood); display: inline-flex; align-items: center; min-height: 44px; }
.footer a:hover { color: var(--amber-light); }
.footer__hours { display: grid; grid-template-columns: auto auto; gap: .1rem 1rem; justify-content: start; }
.socials { display: flex; gap: .5rem; margin-top: .3rem; }
.socials a { width: 46px; height: 46px; justify-content: center; border-radius: 50%; border: 1px solid rgba(241, 230, 211, .3); }
.footer__bottom { border-top: 1px solid rgba(241, 230, 211, .12); }
.footer__bottom-inner { padding-block: .9rem; display: flex; justify-content: space-between; align-items: center; gap: .4rem 1rem; flex-wrap: wrap; font-size: .82rem; color: #a8957c; }
.footer__bottom-inner > a { color: #cdbb9f; }
.footer__credits { flex-basis: 100%; order: 3; font-size: .74rem; color: #a8957c; }
.footer__credits a { min-height: 0 !important; display: inline !important; color: #cdbb9f; text-decoration: underline; text-decoration-color: rgba(205, 187, 159, .4); }
@media (max-width: 1000px) { .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* ---------- Mobile bar: Bel | Route | Kaart (tap handles) ---------- */
.actionbar { display: none; }
@media (max-width: 1000px) {
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; padding: .55rem .55rem calc(.55rem + env(safe-area-inset-bottom)); background: var(--wood); background-image: var(--grain); border-top: 3px solid var(--amber); }
  .actionbar a { min-height: 56px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
  .actionbar__call { background: linear-gradient(180deg, var(--amber-light), var(--amber)); color: var(--wood-deep); box-shadow: 0 3px 0 var(--amber-deep); }
  .actionbar__call:hover { color: var(--wood-deep); }
  .actionbar__route, .actionbar__menu { background: var(--wood-mid); color: var(--foam); }
  .actionbar__route:hover, .actionbar__menu:hover { color: var(--foam); }
}

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
/* Rotated items keep their rotation once revealed */
.coaster[data-reveal].is-visible, .poster[data-reveal].is-visible { transform: none; }
.coasters .coaster.is-visible:nth-child(1) { transform: rotate(-5deg); }
.coasters .coaster.is-visible:nth-child(2) { transform: rotate(3deg) translateY(1rem); }
.coasters .coaster.is-visible:nth-child(3) { transform: rotate(-2deg); }
.posters .poster.is-visible:nth-child(1) { transform: rotate(-2deg); }
.posters .poster.is-visible:nth-child(2) { transform: rotate(1.5deg); }
.posters .poster.is-visible:nth-child(3) { transform: rotate(-1deg); }
@media (max-width: 860px) { .coasters .coaster.is-visible:nth-child(2) { transform: rotate(3deg); } .posters .poster.is-visible:nth-child(n) { transform: none; } }

/* Device-preview dock + gate (shared behaviour with the other prospects) */
.control-dock { position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 999; display: flex; gap: 2px; background: var(--wood); border: 2px solid var(--amber); border-radius: 999px; padding: 3px; }
.control-dock__btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; color: var(--foam); cursor: pointer; }
.control-dock__btn[aria-pressed="true"] { background: var(--amber); color: var(--wood-deep); }
@media (max-width: 1000px) { .page-demo .control-dock { bottom: calc(88px + env(safe-area-inset-bottom)); } }
@media (max-width: 600px) { .control-dock { display: none; } }
html[data-device] body { overflow: hidden; }
.device-stage { display: none; }
html[data-device] .device-stage { display: grid; place-items: center; position: fixed; inset: 0; z-index: 900; background: var(--wood); padding: 2rem; }
.device-frame { background: #111; border-radius: 40px; padding: 16px 10px; display: flex; flex-direction: column; }
.device-frame__screen { flex: 1; overflow: hidden; border-radius: 28px; background: var(--cream); }
.device-frame__screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.device-frame__home { display: block; width: 90px; height: 4px; border-radius: 999px; background: #555; margin: 10px auto 0; }
.device-stage--mobile .device-frame { width: 390px; height: min(760px, 84vh); }
.device-stage--tablet .device-frame { width: min(844px, 92vw); height: min(900px, 84vh); border-radius: 26px; padding: 12px; }
.gate-overlay { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1.5rem; background: var(--wood); background-image: var(--grain); }
.gate-overlay[hidden] { display: none; }
.gate-box { width: 100%; max-width: 390px; text-align: center; background: var(--paper); border-radius: 18px; padding: 2.2rem 1.8rem 1.6rem; box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 7px var(--bordeaux); }
.gate-box__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.gate-box__logo i { font-style: normal; color: var(--bordeaux); }
.gate-box h1 { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; }
.gate-box p { color: var(--muted); margin-top: .4rem; }
.gate-box__inputs { display: flex; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.gate-box__digit { width: 54px; height: 62px; text-align: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.gate-box__digit:focus { outline: none; border-color: var(--amber); }
.gate-box__error { color: var(--bordeaux) !important; font-weight: 700; min-height: 1.3em; margin-top: 1rem !important; }

/* Start page: the facade sign, large, on dark wood */
.home { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; background: var(--wood); background-image: var(--grain), radial-gradient(100% 80% at 50% 0%, #5a3a24 0%, var(--wood) 60%, var(--wood-deep) 100%); color: var(--on-wood); }
.home__hero { display: grid; place-items: center; padding: 2.5rem var(--gutter); }
.home__col { display: grid; justify-items: center; text-align: center; gap: 1.6rem; max-width: 560px; width: 100%; }
.home .facade { padding: 1rem 1.6rem 1.1rem; }
.home .facade__name { font-size: clamp(2.2rem, 9vw, 3.6rem); }
.home__lede { font-family: var(--font-chalk); font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.15; color: var(--amber-light); }
.home__actions { display: grid; gap: .8rem; width: 100%; max-width: 340px; }
.home__actions .btn { width: 100%; }
.home__footer { padding: 1.2rem; text-align: center; font-size: .92rem; color: var(--on-wood-muted); }
.home__footer a { color: var(--on-wood-muted); display: inline-flex; gap: .35em; min-height: 44px; align-items: center; }
.home__footer b { color: var(--foam); }
.home__heart { color: var(--amber-light); }
/* Welkom polaroids: spread out so the captions never overlap */
.welkom__photos { min-height: 520px; }
.welkom__photos .polaroid { width: 56%; }
.welkom__photos .polaroid:first-child { left: 0; top: 0; }
.welkom__photos .polaroid:last-child { right: 0; bottom: 0; }
@media (max-width: 860px) { .welkom__photos { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .welkom__photos .polaroid { position: relative; width: auto; } }
