/* Modern British editorial restaurant system */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@300;400;500;600&display=swap");

:root {
  color-scheme: light;
  --ink: #1a1815;
  --ink-soft: #2b2721;
  --muted: #6b645a;
  --line: #d9d1c2;
  --line-soft: #e8e2d4;
  --paper: #f4efe4;
  --cream: #f9f5eb;
  --forest: #70472c;
  --forest-deep: #16241d;
  --oxblood: #7a2e26;
  --white: #fffdf7;
  --radius: 4px;
  --radius-lg: 8px;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.skip-link { position: fixed; left: 16px; top: 16px; z-index: 40; padding: 10px 14px; background: var(--ink); color: var(--white); transform: translateY(-150%); font-size: .85rem; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px var(--gutter); border-bottom: 1px solid transparent; transition: background 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease, padding 300ms ease; }
.site-header.is-compact { padding-block: 14px; border-bottom-color: var(--line-soft); background: rgb(249 245 235 / .92); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.brand-mark { display: inline-flex; align-items: baseline; gap: 10px; color: var(--white); transition: color 300ms ease; }
.site-header.is-compact .brand-mark { color: var(--ink); }
.brand-mark span { font-family: var(--serif); font-size: 1.05rem; font-style: italic; font-weight: 400; letter-spacing: .04em; opacity: .7; }
.brand-mark strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 34px; color: rgb(255 253 247 / .86); font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transition: color 300ms ease; }
.site-header.is-compact nav { color: var(--ink-soft); }
nav a { position: relative; padding-bottom: 4px; }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: 0; transform: scaleX(.2); transition: opacity 200ms ease, transform 200ms ease; }
nav a:hover::after, nav a:focus-visible::after { opacity: 1; transform: scaleX(1); }
.header-cta { justify-self: end; display: inline-flex; align-items: center; min-height: 40px; padding: 0 22px; border: 1px solid rgb(255 253 247 / .55); border-radius: 999px; color: var(--white); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease; }
.site-header.is-compact .header-cta { border-color: var(--ink); color: var(--ink); }
.header-cta:hover { border-color: var(--white); background: var(--white); color: var(--ink); transform: translateY(-1px); }
.site-header.is-compact .header-cta:hover { background: var(--ink); color: var(--white); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 7.2vw, 6.2rem); line-height: 1.02; }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.08; }
h3 { margin-bottom: 10px; font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: 0; }
p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--oxblood); font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-inner { width: min(var(--max), calc(100vw - var(--gutter) * 2)); margin: 0 auto; }
section { scroll-margin-top: 80px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px; font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .18em; line-height: 1; text-transform: uppercase; transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--white); color: var(--forest-deep); }
.button.primary:hover { background: var(--oxblood); color: var(--white); }
.button.secondary { border-color: rgb(255 253 247 / .65); color: var(--white); }
.button.secondary:hover { background: var(--white); color: var(--ink); }
.button.ghost-dark { border-color: var(--ink); color: var(--ink); }
.button.ghost-dark:hover { background: var(--ink); color: var(--white); }

.hero { position: relative; isolation: isolate; min-height: 100dvh; display: grid; align-items: end; padding: 120px var(--gutter) 72px; overflow: hidden; background: var(--forest-deep); color: var(--white); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(22 36 29 / .12) 0%, rgb(22 36 29 / .44) 58%, rgb(22 36 29 / .92) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, #16241d 0%, #20352b 48%, #7a2e26 100%); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { filter: saturate(.9) contrast(1.03) brightness(.94); }
.hero-content { width: min(760px, 100%); }
.hero .kicker { color: #e8b8b0; margin-bottom: 28px; }
.hero h1 { color: var(--white); font-weight: 300; letter-spacing: -.015em; }
.hero h1 em { color: #d9c8a9; font-style: italic; font-weight: 300; }
.hero-copy { max-width: 560px; margin-bottom: 40px; color: rgb(255 253 247 / .86); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { position: absolute; right: var(--gutter); bottom: 72px; z-index: 1; width: min(230px, calc(100vw - var(--gutter) * 2)); padding: 20px 22px; border-top: 1px solid rgb(255 253 247 / .4); color: var(--white); font-family: var(--sans); }
.hero-note span { display: block; color: rgb(255 253 247 / .7); font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.hero-note strong { display: block; margin: 10px 0 6px; font-family: var(--serif); font-size: 3.4rem; font-weight: 300; line-height: .95; letter-spacing: -.02em; }
.hero-note small { display: block; color: rgb(255 253 247 / .68); font-size: .78rem; line-height: 1.5; }

.intro-band { padding: clamp(80px, 12vw, 140px) 0; background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 100px); align-items: start; }
.intro-lead h2 { margin-bottom: 0; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.12; }
.intro-copy { padding-top: 12px; }
.intro-copy p { max-width: 56ch; margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; }
.intro-marks { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.intro-marks span { display: block; margin-bottom: 6px; color: var(--muted); font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.intro-marks strong { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }

.gallery-band { padding: 0; background: var(--paper); }
.gallery-track { width: min(1360px, calc(100vw - var(--gutter) * 2)); margin: 0 auto; display: grid; grid-template-columns: 1.55fr .7fr 1fr; gap: 20px; }
.gallery-track figure { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--forest); }
.gallery-track figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px; background: linear-gradient(180deg, transparent, rgb(22 36 29 / .76)); color: var(--white); font-family: var(--serif); font-size: .95rem; font-style: italic; letter-spacing: .01em; }
.gallery-track .wide { aspect-ratio: 4 / 5; }
.gallery-track .tall { aspect-ratio: 3 / 5; }
.gallery-track .square { aspect-ratio: 4 / 5; }

.menu-section, .reviews, .visit-section { padding: clamp(90px, 13vw, 150px) 0; }
.menu-section, .visit-section { background: var(--paper); }
.reviews { background: var(--cream); }
.section-heading { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.section-heading .kicker { justify-content: center; }
.section-heading .kicker::before { display: none; }
.section-heading p { max-width: 58ch; margin: 0 auto; font-size: 1.05rem; }
.menu-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.menu-layout article { min-width: 0; padding: 32px 30px 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.menu-layout article:first-child { background: var(--forest); color: var(--white); }
.menu-layout article:first-child h3, .menu-layout article:first-child p { color: var(--white); }
.menu-layout span { display: block; margin-bottom: 42px; color: var(--oxblood); font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.menu-layout article:first-child span { color: #d9c8a9; }
.menu-layout h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.14; }
.menu-layout p { margin-bottom: 0; }

.review-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.review-grid article { min-width: 0; padding: 28px 24px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.review-grid span { display: block; margin-bottom: 20px; color: var(--oxblood); font-size: .82rem; letter-spacing: .08em; }
.review-grid p { margin-bottom: 0; font-size: .96rem; line-height: 1.7; }
.review-grid small { display: block; margin-top: 22px; color: var(--muted); font-size: .68rem; font-weight: 500; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }

.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(34px, 6vw, 74px); align-items: stretch; }
.visit-card { padding: 42px 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.visit-list { margin: 32px 0 34px; }
.visit-list div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.visit-list div:last-child { border-bottom: 1px solid var(--line); }
.visit-list dt, .visit-list dd { margin: 0; }
.visit-list dt { color: var(--muted); font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.visit-list dd { color: var(--ink); font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; overflow-wrap: anywhere; }
.map-frame { min-height: 540px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
iframe { width: 100%; height: 100%; min-height: 540px; border: 0; }

.site-footer { padding: 34px 0 96px; background: var(--forest-deep); color: rgb(255 253 247 / .72); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border-top: 1px solid rgb(255 253 247 / .2); padding-top: 28px; }
.footer-inner strong { color: var(--white); font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.footer-inner span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.mobile-actions { position: fixed; z-index: 35; right: 12px; bottom: 12px; left: 12px; display: none; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-actions a { display: flex; align-items: center; justify-content: center; min-height: 49px; border-radius: 999px; background: var(--oxblood); color: var(--white); font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 12px 30px rgb(0 0 0 / .22); }
.mobile-actions a:last-child { background: var(--forest); }

@media (max-width: 1080px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .review-grid article:last-child { grid-column: 1 / -1; } }
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .site-header { grid-template-columns: 1fr auto; padding: 16px 20px; }
  nav { display: none; }
  .hero { padding: 108px 24px 200px; }
  .hero-note { left: 24px; right: auto; bottom: 40px; width: auto; max-width: calc(100vw - 48px); padding: 18px 0 0; }
  .intro-grid, .visit-grid { grid-template-columns: 1fr; gap: 44px; }
  .gallery-track { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gallery-track .wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .gallery-track .tall, .gallery-track .square { aspect-ratio: 4 / 5; }
  .menu-layout { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 620px) {
  :root { --gutter: 20px; }
  body { overflow-x: hidden; }
  .site-header { grid-template-columns: 1fr; padding: 12px 16px; }
  .brand-mark span { display: none; }
  .brand-mark strong { font-size: 1.05rem; }
  .header-cta { display: none; }
  .hero { min-height: 100svh; padding: 92px 20px 180px; }
  .hero::after { background: linear-gradient(180deg, rgb(22 36 29 / .35) 0%, rgb(22 36 29 / .28) 45%, rgb(22 36 29 / .92) 100%); }
  .hero-content { min-width: 0; width: min(100%, 320px); max-width: calc(100vw - 40px); }
  .hero h1 { max-width: 100%; margin-bottom: 20px; font-size: clamp(1.92rem, 8.2vw, 2.65rem); line-height: 1.05; }
  .hero-copy { max-width: 100%; margin-bottom: 28px; font-size: .92rem; line-height: 1.55; }
  .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-note { left: 20px; right: 20px; bottom: 24px; width: auto; padding: 14px 0 0; }
  .hero-note strong { font-size: 2.6rem; }
  h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); line-height: 1.1; }
  .kicker { margin-bottom: 16px; font-size: .66rem; letter-spacing: .22em; }
  .intro-band, .menu-section, .reviews, .visit-section { padding-block: 68px; }
  .section-heading { margin-bottom: 40px; text-align: left; }
  .section-heading .kicker { justify-content: flex-start; }
  .section-heading .kicker::before { display: inline-block; }
  .section-heading p { margin: 0; }
  .gallery-track { width: calc(100vw - 40px); grid-template-columns: 1fr; gap: 12px; }
  .gallery-track .wide, .gallery-track .tall, .gallery-track .square { aspect-ratio: 4 / 5; }
  .gallery-track figcaption { padding: 16px 18px; font-size: .9rem; }
  .menu-layout article, .visit-card { padding: 28px 24px 30px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid article:last-child { grid-column: auto; }
  .visit-list div { grid-template-columns: 1fr; gap: 8px; }
  .map-frame, iframe { min-height: 360px; }
  .footer-inner { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .mobile-actions { display: grid; }
}

/* =====================================================================
   Polish additions for independent restaurant websites.
   Additive only: improves mobile wrapping, hero readability, review
   rhythm, Visit map/card balance, and long contact string safety.
   ===================================================================== */
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
h1 { hyphens: manual; }
p { overflow-wrap: break-word; }
.intro-marks strong,
.visit-list dd,
.visit-list dd a,
.footer-inner strong {
  overflow-wrap: anywhere;
}
.intro-marks strong {
  font-size: clamp(1.02rem, 1.55vw, 1.3rem);
  line-height: 1.3;
}
.intro-marks div { min-width: 0; }

.hero .kicker,
.hero h1,
.hero .hero-copy { text-shadow: 0 1px 22px rgb(0 0 0 / .32); }
.hero-note,
.hero-note span,
.hero-note strong,
.hero-note small { text-shadow: 0 1px 16px rgb(0 0 0 / .36); }

@media (max-width: 620px) {
  .hero { padding-bottom: 224px; }
  .hero-note { bottom: 88px; padding-top: 12px; }
  .hero-note strong { font-size: 2.2rem; margin: 6px 0 4px; }
  .hero-note small { font-size: .74rem; line-height: 1.45; }
  .mobile-actions a { box-shadow: 0 -1px 0 rgb(255 253 247 / .06), 0 14px 34px rgb(0 0 0 / .3); }
}

.review-grid article {
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
}
.review-grid span {
  margin-bottom: 14px;
  font-size: .9rem;
  letter-spacing: .16em;
}
.review-grid h3 {
  margin-bottom: 10px;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.28;
  text-wrap: balance;
}
.review-grid p {
  color: var(--ink-soft);
  font-size: .94rem;
  line-height: 1.62;
}
.review-grid small {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 1080px) and (min-width: 621px) {
  .review-grid article:last-child {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
  }
  .review-grid article:last-child small { border-top-color: var(--line); }
}

.menu-layout article {
  display: flex;
  flex-direction: column;
}
.menu-layout article p { margin-top: auto; }
.menu-layout article:first-child {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgb(255 253 247 / .1), 0 14px 34px rgb(22 36 29 / .16);
}

.visit-card {
  display: flex;
  flex-direction: column;
}
.visit-card > .hero-actions { margin-top: auto; }
@media (min-width: 961px) {
  .visit-grid > .map-frame { min-height: 100%; }
  .visit-grid > .map-frame iframe { height: 100%; }
}

@media (max-width: 620px) {
  .section-heading { margin-bottom: 44px; }
  .section-heading h2 { text-wrap: balance; }
  .hero h1 { line-height: 1.04; letter-spacing: -.01em; }
  .visit-list dd { font-size: 1.08rem; }
}

@media (max-width: 380px) {
  .brand-mark strong { font-size: 1rem; letter-spacing: 0; }
}
