/* Boat Shed Cafe. A dark harbour-at-night page that opens on the name. Sea blue is only ever Book a table; sunset orange is only ever live info. */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }

:root {
  --night: #0b1430;
  --night-2: #111d42;
  --night-3: #18264f;
  --line: rgba(222, 232, 248, 0.14);
  --text: #e9eef6;
  --soft: #aebbd2;
  --sea: #267698;
  --sea-hi: #2f8ab0;
  --sun: #f08a4b;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; scrollbar-color: #2b3b6b var(--night); }
body { margin: 0; background: var(--night); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--sea); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.serif { font-family: var(--display); font-weight: 400; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--night); padding: 10px 14px; border-radius: 30px; }
.skip:focus { left: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons: pill for every action ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 28px; border-radius: 999px; font: 600 1rem/1 var(--sans); letter-spacing: .01em; white-space: nowrap; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-book { background: var(--sea); color: #fff; box-shadow: 0 8px 24px -10px rgba(38, 118, 152, .9); }
.btn-book:hover { background: var(--sea-hi); }
.btn-line { border-color: rgba(233, 238, 246, .5); color: var(--text); }
.btn-line:hover { border-color: var(--text); background: rgba(233, 238, 246, .06); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--nav-h); transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(11, 20, 48, .94); border-color: var(--line); }
.nav .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-l, .nav-r { display: flex; align-items: center; gap: 30px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.nav-r { justify-content: flex-end; }
.nav-l a, .nav-r > a:not(.btn) { text-decoration: none; opacity: .92; padding: 8px 0; }
.nav-l a:hover, .nav-r > a:not(.btn):hover { opacity: 1; text-decoration: underline; }
.nav .brand img { height: 30px; width: auto; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: .92rem; letter-spacing: .01em; text-transform: none; }
.nav-toggle { display: none; }
.nav-sheet { display: none; }
.nav.is-hidden { transform: translateY(-100%); }

@media (max-width: 900px) {
  .nav .wrap { grid-template-columns: auto 1fr auto; }
  .nav-l, .nav-r > a:not(.btn) { display: none; }
  .nav .brand { order: -1; }
  .nav .brand img { height: 24px; }
  .nav-r { gap: 10px; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--text); cursor: pointer; }
  .nav-toggle .icon { width: 26px; height: 26px; }
  .nav-sheet { position: fixed; inset: var(--nav-h) 0 auto; background: var(--night); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
  .nav-sheet.open { display: block; }
  .nav-sheet a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 1.6rem/1.2 var(--display); text-decoration: none; }
}

/* ---------- hero pieces shared by all three versions ---------- */
.hero-ui { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 24px) 0 clamp(28px, 5vh, 56px); }
.hero-ui .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero-h { font: 400 clamp(3.2rem, 7.6vw, 6rem)/.98 var(--display); letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 2px 24px rgba(8, 14, 40, .35); }
.hero-h em { display: block; font-style: italic; padding-bottom: .06em; }
.hero-deck { margin-top: 18px; max-width: 42ch; font-size: 1.08rem; line-height: 1.5; color: #eef2f8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-live { text-align: right; font-size: .92rem; color: #eef2f8; }
.hero-live b { display: block; font: 400 2.1rem/1.1 var(--display); color: #fff; }
.hero-live b span { color: var(--sun); }
.scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 14, 40, .55), rgba(8, 14, 40, 0) 22%, rgba(8, 14, 40, 0) 44%, rgba(8, 14, 40, .82)); }
@media (max-width: 760px) {
  .hero-ui .wrap { grid-template-columns: 1fr; gap: 22px; }
  .hero-live { display: none; }
  .hero-h { font-size: clamp(2.5rem, 10.5vw, 3.2rem); }
  .scrim { background: linear-gradient(180deg, rgba(8, 14, 40, .5), rgba(8, 14, 40, 0) 16%, rgba(8, 14, 40, .3) 36%, rgba(8, 14, 40, .9) 72%); }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- sections ---------- */
section { position: relative; }
.pad { padding-block: clamp(80px, 12vw, 150px); }
.h2 { font: 400 clamp(2.4rem, 5vw, 4.2rem)/1.02 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.h2 em { font-style: italic; padding-bottom: .06em; }
.lede { font-size: 1.14rem; line-height: 1.6; color: var(--soft); max-width: 46ch; margin-top: 20px; }

/* intro: one statement and three plain facts */
.intro .statement { font: 400 clamp(1.9rem, 3.6vw, 3rem)/1.18 var(--display); max-width: 24ch; text-wrap: balance; }
.intro .statement em { font-style: italic; color: #cfe3ee; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(48px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-size: .9rem; color: var(--soft); }
.facts dd { font: 400 1.5rem/1.3 var(--display); margin-top: 6px; }
.facts dd .sun { color: var(--sun); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 22px; } }

/* oysters: bleed photo with the copy sitting in the night beside it */
.oysters { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 0; background: var(--night-2); }
.oysters figure { height: 100%; min-height: 560px; }
.oysters figure img { width: 100%; height: 100%; object-fit: cover; }
.oysters .copy { padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 96px) clamp(40px, 6vw, 88px); }
.price-line { display: flex; align-items: baseline; gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-line b { font: 400 3.4rem/1 var(--display); }
.price-line span { color: var(--soft); }
.bistrot { margin-top: 30px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; }
.bistrot h3 { font: 400 1.5rem/1.2 var(--display); }
.bistrot p { color: var(--soft); margin-top: 6px; }
.bistrot .btn { margin-top: 18px; }
@media (max-width: 900px) { .oysters { grid-template-columns: 1fr; } .oysters figure { min-height: 0; aspect-ratio: 4 / 3; } }

/* menus: tabs, because it is three long lists */
.menus-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--night-2); }
.tabs button { font: 500 .98rem/1 var(--sans); color: var(--soft); background: none; border: 0; border-radius: 999px; padding: 15px 22px; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--night); }
.panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); margin-top: 48px; }
.panel[hidden] { display: none; }
.panel figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.panel figure figcaption { margin-top: 12px; color: var(--soft); font-size: .94rem; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 48px; align-content: start; }
.group h3 { font: 400 1.45rem/1.2 var(--display); padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.group + .group { margin-top: 30px; }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; }
.dish h4 { font: 600 1rem/1.35 var(--sans); }
.dish .p { font-variant-numeric: tabular-nums; font-weight: 500; }
.dish p { grid-column: 1 / -1; color: var(--soft); font-size: .95rem; line-height: 1.45; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border: 1px solid rgba(233, 238, 246, .4); border-radius: 999px; font: 600 .68rem/1.4 var(--sans); letter-spacing: .06em; vertical-align: 2px; color: var(--text); }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--soft); font-size: .92rem; }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; } .panel figure img { aspect-ratio: 16 / 10; } .cols { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tabs { width: 100%; } .tabs button { flex: 1; padding: 15px 8px; } }

/* trust the chef: one full-bleed plate, centred message */
.chef { min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.chef > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.chef::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(8, 14, 40, .62), rgba(8, 14, 40, .9)); }
.chef .inner { position: relative; z-index: 1; padding: 120px var(--gutter); max-width: 900px; }
.chef .h2 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); }
.chef .lede { margin-inline: auto; color: #d9e1ee; }
.chef-prices { display: inline-grid; grid-template-columns: 1fr 1fr; margin: 44px auto 36px; border-block: 1px solid rgba(233, 238, 246, .3); }
.chef-prices div { padding: 20px 40px; }
.chef-prices div + div { border-left: 1px solid rgba(233, 238, 246, .3); }
.chef-prices b { display: block; font: 400 3rem/1 var(--display); }
.chef-prices span { display: block; margin-top: 8px; font-size: .95rem; color: #d9e1ee; }
@media (max-width: 560px) { .chef-prices div { padding: 18px 16px; } .chef-prices b { font-size: 2.3rem; } }

/* functions and vouchers: two plain columns under one photo */
.gather .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.gather figure img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 4px; }
.offer + .offer { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.offer h3 { font: 400 2rem/1.1 var(--display); }
.offer p { color: var(--soft); margin-top: 12px; max-width: 52ch; }
.rooms { margin-top: 20px; }
.rooms li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.rooms b { font-weight: 600; }
.rooms span { color: var(--soft); }
.offer .btn { margin-top: 24px; }
@media (max-width: 900px) { .gather .grid { grid-template-columns: 1fr; } .gather figure img { aspect-ratio: 16 / 10; } .rooms li { grid-template-columns: 1fr; gap: 2px; } }

/* visit */
.visit { background: var(--night-2); border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: 40px; margin-top: 56px; }
.visit h3 { font-size: .92rem; font-weight: 600; color: var(--soft); margin-bottom: 10px; }
.visit address { font-style: normal; font-size: 1.1rem; line-height: 1.55; }
.hours li { display: flex; justify-content: space-between; gap: 18px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.contact a { display: inline-flex; align-items: center; min-height: 40px; }
.socials { display: flex; gap: 18px; margin-top: 4px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.visit .btn-line { margin-top: 18px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 72px; padding: 24px 0 36px; border-top: 1px solid var(--line); color: var(--soft); font-size: .88rem; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; } .visit-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .visit-grid { grid-template-columns: 1fr; } }

/* one quiet entrance for section content, visible by default without JS */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rise.in { opacity: 1; transform: none; }

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