/* Vasco da Gama Taverna: the pub window. Tokens from design/vascos.md */
:root {
  --stone: #DAD4C9;
  --stone-2: #CBC3B5;
  --stone-3: #BDB4A4;
  --tile: #141312;
  --tile-2: #1F1D1B;
  --tile-text: #E9E4DA;
  --tile-muted: #A89F92;
  --glass: #E8B42E;
  --red: #A61F18;
  --red-hover: #8A1812;
  --ink: #1B1917;
  --muted: #574F45;
  --sa-accent: #A61F18;
  --sa-accent-ink: #FFFFFF;
  --display: "Besley", Georgia, serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --frame: 14px;
  --wrap: 1200px;
  --stipple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='2' seed='7'/%3E%3CfeDiffuseLighting lighting-color='%23fff3cf' surfaceScale='2.6'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.65;
  font-feature-settings: "kern";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible, .floor :focus-visible, .sport :focus-visible { outline-color: var(--glass); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: 23px; }
p { margin: 0 0 1em; max-width: 66ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Buttons: solid, rectangular, no icons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 3px; font: 500 17px/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ink { background: var(--tile); color: var(--tile-text); }
.btn-ink:hover { background: #2c2926; }
.btn-glass { background: var(--glass); color: var(--tile); }
.btn-glass:hover { background: #f0c24a; }
.textlink { font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }

/* Fascia: the black board above the window */
.fascia { background: var(--tile); color: var(--tile-text); position: relative; z-index: 20; }
.fascia .wrap { display: flex; align-items: center; gap: 36px; height: 76px; max-width: none; padding: 0 var(--frame) 0 calc(var(--frame) + 8px); }
.roundel { flex: none; width: 104px; height: 104px; margin-bottom: -40px; align-self: flex-start; margin-top: 8px; border-radius: 50%; }
.roundel img { width: 104px; height: 104px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 16px; color: var(--tile-text); padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--glass); }
.fascia .tel { margin-left: auto; font-family: var(--display); font-size: 21px; text-decoration: none; white-space: nowrap; color: var(--glass); }
.menu-btn { display: none; }

/* The window */
.window { position: relative; background: var(--tile); padding: 0 var(--frame) var(--frame); }
.window-inner { position: relative; overflow: hidden; height: min(calc(100svh - 76px - 96px), 860px); min-height: 600px; }
.panes { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: var(--frame); }
.pane { margin: 0; overflow: hidden; background: var(--tile-2); }
.pane img { width: 100%; height: 100%; object-fit: cover; }
.glass {
  position: absolute; left: 0; right: 0; bottom: 0; height: 52%;
  border-top: var(--frame) solid var(--tile);
  background: rgba(232, 180, 46, .7);
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
  color: var(--tile);
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px clamp(24px, 4vw, 64px);
  animation: rise .55s cubic-bezier(.2,.7,.2,1) both .1s;
}
.glass::before { content: ""; position: absolute; inset: 0; background-image: var(--stipple); background-size: 220px; mix-blend-mode: multiply; opacity: .5; pointer-events: none; }
.glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,240,190,.35), rgba(255,240,190,0) 40%, rgba(120,70,0,.10)); pointer-events: none; }
.glass > * { position: relative; z-index: 1; }
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
.signwriting { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -0.02em; margin: 0 0 12px; }
.glass .sub { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); margin: 0 0 26px; max-width: none; }
.glass .textlink { color: var(--tile); }

/* The sill */
.sill { background: var(--stone-2); border-top: 1px solid #e6e0d5; box-shadow: 0 10px 18px -12px rgba(20,19,18,.45) inset, 0 -1px 0 #9d9383; }
.sill .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding-top: 20px; padding-bottom: 20px; max-width: none; padding-left: calc(var(--frame) + 32px); }
.sill .today { font-family: var(--display); font-size: 22px; font-weight: 500; }
.sill .note { color: var(--muted); font-size: 16px; }

/* Inner page window */
.window--page .window-inner { height: 420px; min-height: 0; }
.window--page .glass { height: 46%; padding-top: 18px; padding-bottom: 18px; }
.window--page h1 { font-size: clamp(38px, 4.6vw, 64px); margin: 0; }
.crumbs { font-size: 15px; margin: 0 0 6px; }
.crumbs a { color: var(--tile); }
.crumbs span[aria-hidden] { margin: 0 8px; }

/* Sections */
.section { padding: 96px 0; }
.section + .section { padding-top: 0; }
.band { background: var(--stone-2); }
.band + .section, .section + .band { padding-top: 96px; }
.lede { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; max-width: 30ch; margin-bottom: 28px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split--rev { grid-template-columns: 7fr 5fr; }
.photo { margin: 0; }
.photo img { width: 100%; border: 10px solid var(--tile); }
.photo figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* Materials list */
.materials { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.materials li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; }
.swatch { width: 56px; height: 56px; border-radius: 2px; }
.sw-stone { background: #9b9181 radial-gradient(circle at 30% 30%, #b9ae9b 0 18%, transparent 19%), radial-gradient(circle at 70% 65%, #7f7667 0 22%, transparent 23%); background-color: #9b9181; box-shadow: inset 0 0 0 2px #7f7667; }
.sw-glass { background: var(--glass) var(--stipple); background-size: 120px; background-blend-mode: multiply; }
.sw-tile { background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 45%), var(--tile); background-size: 28px 28px; box-shadow: inset 0 0 0 1px #3a3632; }
.sw-tank { background: linear-gradient(90deg, #6e3b1d, #c07a43 40%, #e0a26b 55%, #8a4a24); }
.materials b { font-family: var(--display); font-weight: 500; font-size: 20px; display: block; line-height: 1.25; }
.materials span { color: var(--muted); font-size: 16px; }

/* Kitchen favourites */
.dishes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin: 36px 0 32px; }
.dish img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.dish h3 { font-size: 20px; margin: 14px 0 2px; }
.dish p { font-size: 16px; color: var(--muted); margin: 0; }
.dish .price { font-family: var(--display); font-size: 19px; color: var(--ink); }

/* Sport band */
.sport { background: var(--tile); color: var(--tile-text); padding: 96px 0; }
.sport .muted { color: var(--tile-muted); }
.sport .screen { margin: 0; border: 10px solid #2a2724; border-radius: 6px; box-shadow: 0 0 0 1px #3d3935, 0 30px 60px -30px rgba(232,180,46,.35); }
.sport .screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sport h2 { color: #fff; }
.sport .big { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); color: var(--glass); line-height: 1.25; margin-bottom: 20px; }
.sport a:not(.btn) { color: var(--tile-text); }

/* Reviews */
.rating { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.rating .score { font-family: var(--display); font-size: clamp(72px, 9vw, 120px); line-height: .9; font-weight: 500; }
.rating .of { font-family: var(--display); font-size: 26px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-family: var(--display); font-size: 21px; line-height: 1.45; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.stars { color: var(--red); letter-spacing: 2px; font-size: 15px; }
.reply { margin-top: 16px; padding: 14px 16px; background: var(--stone); border-left: 3px solid var(--glass); font-size: 16px; }
.band .reply { background: #d6cfc3; }
.reply b { display: block; font-weight: 500; font-size: 14px; color: var(--muted); margin-bottom: 4px; }

/* Rooms */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 32px 0; }
.room { border-top: 2px solid var(--tile); padding-top: 18px; }
.room dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: 17px; margin: 10px 0 0; }
.room dt { color: var(--muted); }
.room dd { margin: 0; }

/* Find us */
.findus { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: stretch; }
.map { width: 100%; min-height: 380px; height: 100%; border: 10px solid var(--tile); display: block; background: var(--stone-3); }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 17px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--stone-3); vertical-align: top; }
.hours th { font-weight: 500; padding-right: 16px; }
.addr { font-style: normal; font-size: 19px; line-height: 1.6; margin-bottom: 18px; }
.big-tel { font-family: var(--display); font-size: 32px; text-decoration: none; display: inline-block; margin: 4px 0 16px; }

/* Menu page */
.menu-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.menu-index { position: sticky; top: 24px; }
.menu-index ul { list-style: none; margin: 0 0 24px; padding: 0; }
.menu-index a { display: block; padding: 7px 0; text-decoration: none; font-size: 16px; border-bottom: 1px solid var(--stone-3); }
.menu-index a:hover { color: var(--red); }
.course { margin-bottom: 56px; }
.course h2 { font-size: 34px; margin-bottom: 4px; }
.course .served { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.items { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.item { break-inside: avoid; display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; padding: 12px 0; border-bottom: 1px solid var(--stone-3); }
.item .n { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.3; }
.item .p { font-variant-numeric: tabular-nums lining-nums; font-weight: 500; white-space: nowrap; }
.item .d { grid-column: 1 / -1; color: var(--muted); font-size: 16px; line-height: 1.5; }
.tag { font-size: 13px; font-weight: 500; background: var(--tile); color: var(--tile-text); padding: 1px 6px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; }
.small-print { font-size: 15px; color: var(--muted); }

/* Gallery */
.gallery { columns: 3; column-gap: 20px; }
.gallery figure { break-inside: avoid; margin: 0 0 20px; }
.gallery img { width: 100%; border: 8px solid var(--tile); }
.gallery figcaption { font-size: 15px; color: var(--muted); margin-top: 6px; }
.gallery-group { margin-bottom: 72px; }

/* Reviews page */
.review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.review { background: var(--stone-2); padding: 24px 26px; }
.review .who { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.mono { width: 44px; height: 44px; border-radius: 50%; background: var(--tile); color: var(--glass); display: grid; place-items: center; font-family: var(--display); font-size: 18px; flex: none; }
.review .who b { font-weight: 500; display: block; line-height: 1.2; }
.review .who small { color: var(--muted); font-size: 14px; }
.review .text { white-space: pre-line; }
.review .text.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.more { background: none; border: 0; padding: 8px 0; font: 500 16px var(--body); color: var(--red); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 24px; list-style: none; padding: 0; margin: 20px 0 0; font-size: 16px; }
.wall li { padding: 8px 0; border-bottom: 1px solid var(--stone-3); }
.wall small { color: var(--muted); display: block; font-size: 14px; }

/* Form */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 16px; }
.form input, .form textarea { font: 400 18px var(--body); padding: 12px 14px; border: 2px solid var(--tile); border-radius: 3px; background: #efebe4; color: var(--ink); min-height: 52px; }
.form textarea { min-height: 140px; resize: vertical; }
.form-msg { font-weight: 500; min-height: 1.6em; }
.form-msg.ok { color: #1e5b2e; }
.form-msg.err { color: var(--red); }

/* The floor: black tiles */
.floor {
  background-color: var(--tile); color: var(--tile-text);
  background-image: linear-gradient(135deg, rgba(255,255,255,.045), transparent 38%), linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px);
  background-size: 96px 96px; padding: 72px 0 110px; font-size: 16px;
}
.floor .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.floor h2 { font-size: 20px; color: #fff; margin-bottom: 12px; }
.floor ul { list-style: none; margin: 0; padding: 0; }
.floor li { margin: 0 0 6px; }
.floor a { color: var(--tile-text); }
.floor .muted { color: var(--tile-muted); }
.floor .brand img { width: 120px; height: 120px; margin-bottom: 14px; }
.concept { margin-top: 48px; padding-top: 20px; border-top: 1px solid #34302c; color: var(--tile-muted); font-size: 14px; max-width: none; }
.concept a { color: var(--tile-text); }

/* Mobile talk bar */
.talkbar { display: none; }

@media (max-width: 1100px) {
  .dishes { grid-template-columns: repeat(3, 1fr); }
  .dishes .dish:nth-child(n+4) { display: none; }
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  :root { --frame: 8px; }
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .fascia .wrap { height: 64px; gap: 12px; padding: 0 12px; }
  .roundel, .roundel img { width: 76px; height: 76px; }
  .roundel { margin-bottom: -28px; margin-top: 6px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--tile); flex-direction: column; gap: 0; padding: 36px 20px 16px; border-bottom: 1px solid #34302c; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid #2c2926; }
  .fascia .tel { font-size: 18px; }
  .menu-btn { display: inline-flex; min-height: 44px; padding: 0 16px; background: var(--glass); color: var(--tile); border: 0; border-radius: 3px; font: 500 16px var(--body); align-items: center; cursor: pointer; }
  .window-inner { height: calc(100svh - 64px - 130px); min-height: 560px; }
  .panes { grid-template-columns: 1fr 1fr 1fr; }
  .glass { height: 60%; padding: 20px; }
  .signwriting { font-size: clamp(40px, 11.5vw, 60px); }
  .glass .sub { margin-bottom: 18px; }
  .glass .actions { gap: 12px 20px; }
  .window--page .window-inner { height: 300px; min-height: 0; }
  .window--page .glass { height: 58%; }
  .section { padding: 64px 0; }
  .band + .section, .section + .band { padding-top: 64px; }
  .split, .split--rev, .findus, .menu-layout { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .photo { order: -1; }
  .dishes { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dishes .dish:nth-child(n+4) { display: block; }
  .dishes .dish:nth-child(5) { display: none; }
  .quotes, .rooms, .review-list { grid-template-columns: 1fr; gap: 28px; }
  .items { columns: 1; }
  .menu-index { position: static; }
  .menu-index ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .menu-index a { border: 1px solid var(--stone-3); padding: 10px 12px; min-height: 44px; }
  .gallery { columns: 2; column-gap: 12px; }
  .gallery img { border-width: 5px; }
  .wall { grid-template-columns: 1fr 1fr; }
  .floor .cols { grid-template-columns: 1fr; gap: 28px; }
  .sport { padding: 64px 0; }
  .talkbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--tile); border-top: 1px solid #34302c; }
  .talkbar .btn { min-height: 48px; padding: 0 10px; }
  body { padding-bottom: 70px; }
  .sill .wrap { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
