/* De Akker, hand built. Colours from the badge (ink and whitewash) and the beer (amber). */
:root {
  --bark: #14110D;
  --bark-2: #1E1913;
  --oak: #212819;
  --wash: #F2ECE1;
  --wash-2: #E8E0D1;
  --ink: #1F1A14;
  --ink-soft: #4A4137;
  --wash-soft: #C9BEAC;
  --amber: #E3A23B;
  --amber-deep: #8A5512;
  --head: 76px;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1320px;
  --f-display: "Grenze Gotisch", "Old English Text MT", Georgia, serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-text: "Instrument Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --scoop-r: 10px;
}
@media (max-width: 899px) { :root { --head: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bark); color: var(--wash);
  font: 400 1.0625rem/1.6 var(--f-text);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
[id] { scroll-margin-top: var(--head); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--bark); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.display { font: 700 clamp(2.6rem, 5.4vw, 4.6rem)/0.98 var(--f-display); letter-spacing: 0; text-wrap: balance; }
.lead { font: 500 clamp(1.15rem, 1.6vw, 1.35rem)/1.5 var(--f-serif); text-wrap: pretty; }
p { text-wrap: pretty; }

/* The badge's scooped corners, used on buttons and photos */
.scoop, .btn::before, .about__img img, .scene img, .strip__item img, .find__map {
  --m: radial-gradient(circle var(--scoop-r) at 0 0, #0000 98%, #000) top left,
       radial-gradient(circle var(--scoop-r) at 100% 0, #0000 98%, #000) top right,
       radial-gradient(circle var(--scoop-r) at 0 100%, #0000 98%, #000) bottom left,
       radial-gradient(circle var(--scoop-r) at 100% 100%, #0000 98%, #000) bottom right;
  -webkit-mask: var(--m); mask: var(--m);
  -webkit-mask-size: 51% 51%; mask-size: 51% 51%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* Buttons */
.btn {
  --b-bg: transparent; --b-line: transparent; --b-ink: currentColor;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; color: var(--b-ink); text-decoration: none;
  font: 600 .82rem/1.2 var(--f-text); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  --ring: #0000 var(--scoop-r), var(--b-line) var(--scoop-r), var(--b-line) calc(var(--scoop-r) + 2px), #0000 calc(var(--scoop-r) + 2px);
  background:
    radial-gradient(circle at 0 0, var(--ring)), radial-gradient(circle at 100% 0, var(--ring)),
    radial-gradient(circle at 0 100%, var(--ring)), radial-gradient(circle at 100% 100%, var(--ring)),
    var(--b-bg);
  box-shadow: inset 0 0 0 2px var(--b-line);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--amber { --b-bg: var(--amber); --b-ink: var(--bark); }
.btn--amber:hover { --b-bg: #F0B85A; }
.btn--line { --b-line: var(--wash); --b-ink: var(--wash); }
.btn--line:hover { --b-bg: rgba(242, 236, 225, .12); }
.btn--ink { --b-bg: var(--ink); --b-ink: var(--wash); }
.btn--ink:hover { --b-bg: #3A3127; }
.btn--outline { --b-line: var(--ink); --b-ink: var(--ink); }
.btn--outline:hover { --b-bg: rgba(31, 26, 20, .08); }

/* Header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  --logo-bg: var(--bark);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.top.is-solid { background: var(--bark); box-shadow: 0 1px 0 rgba(242, 236, 225, .1); }
.top__brand { display: block; color: var(--wash); flex: none; }
.top__brand .mark { display: block; width: 88px; height: 56px; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.top.is-solid .mark { opacity: 1; transform: none; }
.top__nav { margin-left: auto; }
.top__menu { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.top__menu a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 8px 0; background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.top__menu a:not(.btn):hover { background-size: 100% 2px; }
.top__wa { display: inline-flex; align-items: center; gap: 8px; color: var(--wash); text-decoration: none; font-weight: 600; font-size: .9rem; min-height: 44px; }
.top__wa svg { width: 22px; height: 22px; color: var(--amber); }
.top__burger { display: none; }

@media (max-width: 899px) {
  .top { gap: 8px; }
  .top__nav { order: 3; margin-left: 0; }
  .top__wa { margin-left: auto; }
  .top__wa span { display: none; }
  .top__wa { width: 44px; justify-content: center; }
  .top__burger {
    display: grid; place-content: center; gap: 7px; width: 44px; height: 44px;
    background: none; border: 0; color: var(--wash); cursor: pointer;
  }
  .top__burger span:not(.sr) { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .top__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .top__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .top__menu {
    position: fixed; inset: var(--head) 0 0; background: var(--bark);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 32px var(--gutter);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .top__menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .top__menu a:not(.btn) { font: 700 2.4rem/1.25 var(--f-display); }
  .top__menu-call { margin-top: 24px; }
  body.menu-open .top { background: var(--bark); }
  body.menu-open .top .mark { opacity: 1; transform: none; }
}

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1200px; overflow: hidden; background: var(--bark); --logo-bg: var(--bark); }
.hero__sky, .hero__stars, .hero__far, .hero__near, .hero__street { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.hero__sky { background: linear-gradient(180deg, var(--sky-top, #101629) 0%, var(--sky-bot, #3a2c3c) 62%); height: 70%; }
.hero__stars { height: 60%; opacity: var(--night, 1); }
.hero__street {
  top: auto; height: 46%;
  background:
    radial-gradient(60% 70% at 78% 100%, rgba(227, 162, 59, calc(.08 + .22 * var(--night, 1))), transparent 70%),
    radial-gradient(40% 50% at 18% 100%, rgba(227, 162, 59, calc(.04 + .12 * var(--night, 1))), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(20, 17, 13, .85) 34%, var(--bark) 62%);
}
.hero__near { pointer-events: none; }
.hero__copy {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 96px); z-index: 3;
  max-width: 640px; will-change: transform;
}
.hero__copy::before { /* scrim only where the text sits */
  content: ""; position: absolute; inset: -12% -30% -20% -20%; z-index: -1;
  background: radial-gradient(closest-side, rgba(20, 17, 13, .78), rgba(20, 17, 13, 0));
}
.hero__logo { display: block; width: clamp(250px, 32vw, 440px); height: auto; color: var(--wash); margin: 14px 0 18px -6px; overflow: visible; }
.hero__line { font: 500 clamp(1.15rem, 1.7vw, 1.45rem)/1.4 var(--f-serif); max-width: 30ch; color: var(--wash); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; letter-spacing: .04em; color: var(--wash); background: rgba(20, 17, 13, .7); padding: 6px 14px 6px 10px; border-radius: 99px; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wash-soft); }
.status.is-open .status__dot { background: #7FCB6B; box-shadow: 0 0 0 4px rgba(127, 203, 107, .2); }
.hero__time { position: absolute; right: var(--gutter); bottom: clamp(40px, 8vh, 96px); z-index: 3; font: 500 .85rem/1.3 var(--f-text); letter-spacing: .06em; color: var(--wash-soft); text-align: right; max-width: 16ch; }
@media (max-width: 899px) {
  .hero { min-height: 600px; }
  .hero__time { display: none; }
  .hero__copy { bottom: 32px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Reveal on entry */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* About */
.about { background: var(--wash); color: var(--ink); padding: clamp(80px, 11vw, 150px) 0; }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__text .display { margin-bottom: 28px; max-width: 12ch; }
.about__text .lead { margin-bottom: 18px; color: var(--ink); }
.about__text > p:not(.lead) { color: var(--ink-soft); max-width: 46ch; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--ink); }
.facts dt { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { font: 600 1.15rem/1.3 var(--f-serif); margin-top: 4px; }
.about__img img, .scene img, .strip__item img, .find__map { --scoop-r: 18px; }
.about__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__img { order: -1; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* The day: the signature */
.day { position: relative; background: var(--bark); }
.day__pin { position: relative; }
.day__sky { position: absolute; left: 0; right: 0; top: 0; height: 52%; background: linear-gradient(180deg, var(--d-top, #5d8fc4), var(--d-bot, #cfe0ea)); }
.day__sky::after { content: ""; position: absolute; inset: auto 0 0; height: 60%; background: linear-gradient(180deg, transparent, var(--bark)); }
.day__side { position: relative; z-index: 2; }
.clock { display: flex; align-items: center; gap: 18px; }
.clock__face { width: 112px; height: 112px; flex: none; }
.clock__rim { fill: var(--bark-2); stroke: var(--wash); stroke-width: 2; }
.clock__ticks line { stroke: var(--wash-soft); stroke-width: 2; stroke-linecap: round; }
.clock__ticks line.major { stroke: var(--wash); stroke-width: 3; }
.clock__h { stroke: var(--wash); stroke-width: 5; stroke-linecap: round; transform-origin: 60px 60px; }
.clock__m { stroke: var(--amber); stroke-width: 3; stroke-linecap: round; transform-origin: 60px 60px; }
.clock__pin { fill: var(--amber); }
.clock__read { font: 700 clamp(2.4rem, 4vw, 3.4rem)/1 var(--f-display); font-variant-numeric: tabular-nums; min-width: 4.2ch; }
.day__note { color: var(--wash-soft); max-width: 30ch; }
.scene { position: relative; z-index: 1; }
.scene img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bark-2); }
.scene__text { padding-top: 22px; }
.scene__hour { font: 600 .8rem/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.scene h3 { font: 700 clamp(1.9rem, 2.6vw, 2.5rem)/1 var(--f-display); margin-bottom: 10px; }
.scene p:not(.scene__hour) { color: var(--wash-soft); max-width: 34ch; }

@media (min-width: 900px) {
  .day__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
  .day__side {
    flex: none; width: clamp(320px, 31vw, 460px); height: 100%; padding: calc(var(--head) + 4vh) var(--gutter) 6vh;
    background: var(--bark); display: flex; flex-direction: column; justify-content: center; gap: 32px;
  }
  .day__side .display { max-width: 9ch; }
  .day__side::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 48px; background: linear-gradient(90deg, var(--bark), transparent); pointer-events: none; }
  .day__track { display: flex; gap: clamp(28px, 3vw, 56px); padding: var(--head) var(--gutter) 0 clamp(28px, 3vw, 56px); will-change: transform; }
  .scene { flex: none; width: clamp(280px, 26vw, 420px); }
  .scene img { max-height: 56vh; aspect-ratio: auto; height: 56vh; }
  .scene:nth-child(even) { margin-top: 8vh; }
}
@media (min-width: 900px) and (max-height: 800px) {
  .scene img { height: 50vh; }
  .scene:nth-child(even) { margin-top: 4vh; }
}
@media (max-width: 899px) {
  .day { padding: 72px 0 56px; }
  .day__sky { display: none; }
  .day__side { display: contents; }
  .day__side .display { position: relative; z-index: 2; padding: 0 var(--gutter); margin-bottom: 20px; }
  .day__note { position: relative; z-index: 2; padding: 0 var(--gutter); margin-bottom: 28px; }
  .clock {
    position: sticky; top: var(--head); z-index: 5; margin: 0 0 24px; padding: 10px var(--gutter);
    background: var(--bark); border-bottom: 1px solid rgba(242, 236, 225, .14);
  }
  .clock::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--d-top, #5d8fc4), var(--d-bot, #cfe0ea)); }
  .clock__face { width: 56px; height: 56px; }
  .clock__read { font-size: 2.2rem; }
  .day__track { display: grid; gap: 48px; padding: 0 var(--gutter); }
  .scene img { aspect-ratio: 4 / 3; }
}

/* Taps and kitchen */
.taps { background: var(--wash); color: var(--ink); padding: clamp(80px, 11vw, 150px) 0; }
.taps__head { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: 48px; }
.taps__head .lead { color: var(--ink-soft); max-width: 40ch; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.tabs__list button {
  font: 600 .82rem/1.2 var(--f-text); letter-spacing: .08em; text-transform: uppercase;
  min-height: 48px; padding: 12px 22px; cursor: pointer; color: var(--ink); background: transparent;
  border: 2px solid var(--ink); border-radius: 0; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tabs__list button:hover { background: rgba(31, 26, 20, .08); }
.tabs__list button[aria-selected="true"] { background: var(--ink); color: var(--wash); }
.tabs__panel { display: grid; grid-template-columns: 5fr 6fr; gap: 16px clamp(24px, 6vw, 96px); padding-top: 40px; align-items: start; }
.tabs__panel[hidden] { display: none; }
.tabs__big { font: 700 clamp(2.2rem, 4.4vw, 3.8rem)/1 var(--f-display); grid-row: span 2; text-wrap: balance; }
.tabs__panel > p:not(.tabs__big) { color: var(--ink-soft); max-width: 46ch; }
.tabs__panel .btn { justify-self: start; }
@media (max-width: 899px) {
  .taps__head, .tabs__panel { grid-template-columns: 1fr; }
  .tabs__big { grid-row: auto; }
  .tabs__list button { flex: 1 1 auto; padding: 12px 14px; }
}

/* Gallery */
.gallery { background: var(--oak); padding: clamp(72px, 9vw, 120px) 0; }
.gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.gallery__hint { color: var(--wash-soft); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.strip { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--amber) transparent; cursor: grab; scroll-snap-type: x proximity; padding-bottom: 18px; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip.is-drag img { pointer-events: none; }
.strip__row { display: flex; gap: 16px; padding: 0 var(--gutter); width: max-content; }
.strip__item { flex: none; height: clamp(300px, 54vh, 540px); scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.strip__item img { height: 100%; width: auto; aspect-ratio: 2 / 3; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.strip__item--wide img { aspect-ratio: 3 / 2; }

/* Find us */
.find { background: var(--wash); color: var(--ink); padding: clamp(80px, 11vw, 150px) 0; }
.find__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.find__text .display { max-width: 10ch; margin-bottom: 28px; }
.find address { font: 500 1.25rem/1.5 var(--f-serif); }
.find__sub { font: 600 .8rem/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 36px 0 10px; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; }
.hours th, .hours td { text-align: left; padding: 9px 10px; border-bottom: 1px solid rgba(31, 26, 20, .18); font-weight: 400; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--ink); color: var(--wash); }
.hours tr.is-today th::after { content: " today"; font-weight: 400; color: var(--amber); }
.find__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.find__map { min-height: 460px; background: var(--wash-2); }
.find__map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.35) sepia(.18) contrast(1.02); }
@media (max-width: 899px) {
  .find__grid { grid-template-columns: 1fr; }
  .find__map, .find__map iframe { min-height: 360px; }
}

/* Close */
.close { position: relative; overflow: hidden; padding: clamp(96px, 14vw, 180px) 0; text-align: center; background: #0B0E18; --logo-bg: #0B0E18; }
.close__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff8, transparent), radial-gradient(1px 1px at 28% 12%, #fff9, transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, #fff7, transparent), radial-gradient(1px 1px at 62% 16%, #fffa, transparent),
    radial-gradient(1.5px 1.5px at 78% 26%, #fff8, transparent), radial-gradient(1px 1px at 90% 10%, #fff9, transparent),
    radial-gradient(1px 1px at 8% 48%, #fff6, transparent), radial-gradient(1px 1px at 86% 52%, #fff6, transparent),
    radial-gradient(70% 60% at 50% 120%, rgba(227, 162, 59, .32), transparent 70%),
    linear-gradient(180deg, #0B0E18, #18142A 70%, #2A1D22);
}
.close__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.close__acorn { width: 72px; height: 72px; color: var(--amber); margin-bottom: 18px; --logo-bg: #0B0E18; }
.close__title { font-size: clamp(3rem, 8vw, 7rem); max-width: 12ch; }
.close__status { margin-top: 22px; font: 500 clamp(1.1rem, 1.6vw, 1.35rem)/1.5 var(--f-serif); color: var(--wash); max-width: 36ch; }
.close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* Footer */
.foot { background: var(--bark); color: var(--wash); padding: 72px 0 32px; --logo-bg: var(--bark); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.foot__logo { width: 168px; height: auto; color: var(--wash); }
.foot__h { font: 600 .78rem/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.foot p { color: var(--wash-soft); }
.foot .foot__gap { margin-top: 10px; }
.foot__links a { display: inline-block; padding: 4px 0; color: var(--wash); text-decoration-color: rgba(242, 236, 225, .35); text-underline-offset: 4px; }
.foot__links a:hover { text-decoration-color: var(--amber); }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(242, 236, 225, .14); font-size: .88rem; }
@media (max-width: 899px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__logo { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
