/* WLS Waiter & Bar Staff · Brand system 3.0 tokens, shared by all concepts */
@import url('https://fonts.googleapis.com/css2?family=Caladea&family=Schibsted+Grotesk:wght@400;500&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap');

:root {
  --cellar: #1D1E1B;
  --graphite: #2E2F2B;
  --stone: #7D7C74;
  --bone: #E6E1D8;
  --paper: #F3F0EA;
  --bottle: #2C3831;
  --brass: #9A8250;
  --tobacco: #5E4633;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Big, regular, tight */
  --display-xl: clamp(64px, 14vw, 240px);
  --display: clamp(52px, 9vw, 152px);
  --h1: clamp(40px, 5.6vw, 88px);
  --h2: clamp(28px, 3.2vw, 44px);
  --h3: clamp(20px, 1.8vw, 26px);
  --body-l: clamp(17px, 1.3vw, 19px);
  --body: 15px;
  --small: 12.5px;

  --gutter: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Type */
.display-xl, .display, .h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  margin: 0;
}
.display-xl { font-size: var(--display-xl); line-height: .86; letter-spacing: -0.055em; }
.display    { font-size: var(--display);    line-height: .9;  letter-spacing: -0.045em; }
.h1         { font-size: var(--h1);         line-height: .95; letter-spacing: -0.035em; }
.h2, .h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
.h2 { font-size: var(--h2); line-height: 1.06; letter-spacing: -0.02em; }
.h3 { font-size: var(--h3); line-height: 1.16; letter-spacing: -0.012em; }
.body-l { font-size: var(--body-l); line-height: 1.55; }
.small { font-size: var(--small); line-height: 1.45; }
.label { font-family: var(--sans); font-weight: 500; font-size: 13px; }
.muted { color: var(--stone); }
.prime { font-family: var(--serif); font-weight: 400; letter-spacing: -0.045em; }

/* The tray: the brand's call to action. Words resting on a brass rule. */
.tray {
  display: inline-flex; align-items: baseline; gap: 22px;
  font-family: var(--serif); font-weight: 600; font-size: var(--h3); letter-spacing: -0.012em;
  text-decoration: none; padding: 6px 0 12px; background: none; border: 0; cursor: pointer;
  border-bottom: 4px solid var(--brass);
  transition: gap .4s var(--ease), border-color .3s;
}
.tray .arrow { color: var(--brass); transition: transform .4s var(--ease); }
.tray:hover { gap: 30px; }
.tray:hover .arrow { transform: translateX(4px); }
.tray.quiet { border-bottom-color: currentColor; border-bottom-width: 1px; }
.tray.small-tray { font-size: 17px; border-bottom-width: 3px; padding-bottom: 8px; gap: 14px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

/* Seal (inline SVG built in markup) */
.seal { display: block; width: 100%; height: auto; overflow: visible; }
.seal text { font-family: 'Caladea', Georgia, serif; font-weight: 400; }

/* Film grain for depth, very low */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Forms */
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid currentColor;
  padding: 10px 0 12px; font-size: 18px; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Reveal on scroll (JS adds .in) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Founder note: a composed portrait. Photo overlaps a tonal panel; quote set large; tray rule and the seal sign it off. */
.founder { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  padding-block: clamp(80px, 10vw, 150px); max-width: 1240px; margin-inline: auto; box-sizing: content-box; }
.founder.wrapx { padding-left: var(--gutter); padding-right: var(--gutter); }
.founder img { position: relative; z-index: 2; width: 100%; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.founder > div { position: relative; z-index: 1; margin-left: -12%; padding: clamp(40px, 5vw, 76px) clamp(28px, 5vw, 80px) clamp(40px, 5vw, 76px) calc(12% + clamp(28px, 4vw, 64px)); }
.founder blockquote { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 50px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.founder cite { display: block; margin-top: clamp(24px, 3vw, 40px); font-style: normal; font-size: 13px; color: var(--stone); }
.founder cite::before { content: ""; display: block; width: 56px; height: 4px; background: var(--brass); margin-bottom: 16px; }
.founder .founder-seal { position: absolute; width: clamp(72px, 7vw, 104px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); opacity: .9; }
.founder.dark > div { background: var(--graphite); }
.founder.dark blockquote { color: var(--paper); }
.founder.light > div { background: var(--bone); }
.founder.light blockquote { color: var(--cellar); }
.founder.light cite { color: var(--graphite); }
.founder.menu { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 620px; padding-inline: 0; }
.founder.menu img { width: 180px; box-shadow: none; }
.founder.menu > div { margin: 0; padding: 28px 0 0; background: none; }
.founder.menu blockquote { font-size: clamp(24px, 2.6vw, 36px); }
.founder.menu cite::before { margin-inline: auto; }
.founder.menu .founder-seal { display: none; }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder img { width: 72%; }
  .founder > div { margin: -48px 0 0; padding: 72px 24px 96px; }
  .founder .founder-seal { width: 64px; right: 20px; bottom: 20px; }
}

/* See us at work: real WLS photos and clips, editorial masonry */
.work { padding-block: clamp(64px, 8vw, 120px); padding-left: var(--gutter); padding-right: var(--gutter); }
.work .head { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.work .head p { margin: 0; font-size: 14.5px; }
.work-grid { columns: 4 200px; column-gap: 12px; max-width: 1240px; }
.work-grid figure { margin: 0 0 12px; break-inside: avoid; }
.work-grid img, .work-grid video { display: block; width: 100%; height: auto; max-width: 100%; }
.work-grid video { filter: saturate(.62) sepia(.12) contrast(1.04) brightness(.88); background: #111; }
.work-grid figcaption { font-size: 12.5px; padding-top: 8px; display: flex; justify-content: space-between; gap: 12px; }
.work-grid figcaption span:last-child { opacity: .7; }
.work.dark { background: var(--cellar); color: var(--paper); }
.work.dark .head p, .work.dark figcaption { color: var(--bone); }
.work.light { background: var(--paper); color: var(--cellar); }
.work.light .head p, .work.light figcaption { color: var(--graphite); }
@media (max-width: 700px) { .work .head { grid-template-columns: 1fr; } .work-grid { columns: 2; column-gap: 10px; } .work-grid figure { margin-bottom: 10px; } .work-grid figcaption span:last-child { display: none; } }

/* Booking band after the work */
.book { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: end; padding-block: clamp(56px, 7vw, 96px); padding-left: var(--gutter); padding-right: var(--gutter); }
.book .display { max-width: 11em; }
.book .acts { display: grid; gap: 22px; justify-items: start; }
.book .acts small { font-size: 13px; opacity: .75; }
.book.dark { background: var(--bottle); color: var(--paper); }
.book.light { background: var(--bone); color: var(--cellar); }
@media (max-width: 820px) { .book { grid-template-columns: 1fr; } }

/* Mobile: a slim, persistent way to book */
.book-bar { display: none; }
@media (max-width: 820px) {
  .book-bar { display: flex; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; justify-content: space-between; align-items: center; gap: 16px;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--cellar); color: var(--paper); border-top: 1px solid var(--graphite); transform: translateY(110%); transition: transform .45s var(--ease); }
  .book-bar.on { transform: none; }
  .book-bar a { color: inherit; }
  .book-bar .main { font-family: var(--serif); font-weight: 600; font-size: 18px; text-decoration: none; border-bottom: 3px solid var(--brass); padding-bottom: 4px; }
  .book-bar .alt { font-size: 14px; }
}

.work.menu-work { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.nav ul li.hide-m { }


/* Depth: header photos drift very slightly behind the type. Nothing else moves. */
[data-depth] { will-change: transform; }
@media (prefers-reduced-motion: reduce) { [data-depth] { transform: none !important; } }
