@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --paper: #f4efe7;
  --paper-strong: #fffdf8;
  --ink: #171615;
  --muted: #746a61;
  --line: #d8cfc5;
  --accent: #e95035;
  --accent-strong: #b93425;
  --accent-soft: #f9d48a;
  --dark: #20201d;
  --dark-line: #47443e;
  --display: "Space Grotesk", "Arial Narrow", "Bahnschrift SemiCondensed", sans-serif;
  --body: "DM Sans", "Segoe UI", "Microsoft YaHei", sans-serif;
  --max: 1240px;
  --gutter: 24px;
  --shadow: 0 16px 32px rgba(20, 17, 14, .12);
}

body[data-theme="street"] {
  --paper: #f4efe7;
  --paper-strong: #fffdf8;
  --ink: #171615;
  --muted: #746a61;
  --line: #d8cfc5;
  --accent: #e95035;
  --accent-strong: #b93425;
  --accent-soft: #f9d48a;
  --dark: #20201d;
  --dark-line: #47443e;
}

body[data-theme="mestre"] {
  --paper: #f0eee5;
  --paper-strong: #fbfaf4;
  --ink: #0d2d27;
  --muted: #63736d;
  --line: #d1d9d2;
  --accent: #e1a72d;
  --accent-strong: #b97c15;
  --accent-soft: #e3efe1;
  --dark: #0b211e;
  --dark-line: #3f6259;
  --coral: #ec6c50;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body, a, button { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

figure, h1, h2, h3, p { margin: 0; }

h1, h2, h3, strong, .brand { font-family: var(--display); }

h1, h2, h3 { font-weight: 700; }

::selection { color: var(--paper-strong); background: var(--accent); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 16px max(var(--gutter), calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background: color-mix(in srgb, var(--paper-strong) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--paper-strong);
  background: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

body[data-theme="mestre"] .brand-mark {
  color: var(--dark);
  background: var(--accent);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 18px;
  color: var(--paper-strong);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-2px); }
.button-light { color: var(--dark); background: var(--paper-strong); border-color: var(--paper-strong); }
.button-light:hover { color: var(--dark); background: var(--accent-soft); border-color: var(--accent-soft); }
.button-arrow { font-size: 18px; line-height: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  width: min(100%, 1440px);
  min-height: 680px;
  margin: 0 auto;
  color: var(--paper-strong);
  background: var(--dark);
}

.hero-copy {
  display: flex;
  min-height: 680px;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
}

.eyebrow, .section-label, .page-kicker, .photo-credit, .detail-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 560px;
  margin: 24px 0 28px;
  color: var(--paper-strong);
  font-size: 88px;
  letter-spacing: 0;
  line-height: .91;
}

.hero h1 em { color: var(--accent); font-style: normal; }

.hero-intro {
  max-width: 420px;
  color: rgba(255, 253, 248, .78);
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }

.text-link {
  color: var(--paper-strong);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 253, 248, .55);
}

.text-link:hover { color: var(--accent-soft); border-color: var(--accent-soft); }

.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 50px;
  color: rgba(255, 253, 248, .68);
  font-size: 12px;
}

.hero-rating strong { color: var(--paper-strong); font-size: 25px; line-height: 1; }

.hero-media {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--accent-soft);
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-media figcaption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  color: rgba(255, 253, 248, .88);
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.hero-badge {
  position: absolute;
  right: 28px;
  top: 28px;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  color: var(--dark);
  background: var(--accent-soft);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transform: rotate(8deg);
}

.hero-badge strong { display: block; font-size: 30px; }

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  color: var(--ink);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-item { padding: 20px 24px; border-right: 1px solid var(--line); }
.info-item:last-child { border-right: 0; }
.info-item strong { display: block; margin-bottom: 4px; font-size: 16px; }
.info-item span { color: var(--muted); font-size: 12px; }

.section { padding: 104px 0; }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section-dark { color: var(--paper-strong); background: var(--dark); }
.section-paper-strong { background: var(--paper-strong); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head h2, .story-copy h2, .menu-intro h2, .visit-copy h2, .page-hero h1 {
  margin-top: 16px;
  font-size: 58px;
  letter-spacing: 0;
  line-height: .98;
}

.section-head > p, .story-copy > p, .menu-intro > p { color: var(--muted); font-size: 16px; }
.section-dark .section-head > p, .section-dark .menu-intro > p { color: rgba(255, 253, 248, .7); }

.story-section { background: var(--paper-strong); }

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 100px;
  align-items: end;
}

.story-copy p { max-width: 690px; font-size: 24px; line-height: 1.42; }
.story-copy p em { color: var(--accent); font-style: normal; }

.story-note { padding: 24px 0 0 26px; border-left: 3px solid var(--accent); }
.story-note strong { display: block; margin-bottom: 10px; font-size: 24px; }
.story-note p { color: var(--muted); font-size: 14px; }

.photo-section { background: var(--paper); }

.photo-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr;
  grid-auto-rows: 250px;
  gap: 12px;
}

.photo-card { position: relative; min-height: 250px; overflow: hidden; background: var(--line); }
.photo-card:first-child { grid-row: span 2; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.photo-card:hover img { transform: scale(1.035); }
.photo-card figcaption { position: absolute; right: 18px; bottom: 16px; left: 18px; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.photo-card figcaption span { display: block; margin-top: 5px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 500; }

.menu-section { background: var(--paper-strong); }

.menu-layout { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: 80px; }
.menu-intro { align-self: start; }
.menu-intro h2 { font-size: 54px; }
.menu-intro > p { max-width: 320px; margin-top: 24px; }
.menu-link { display: inline-flex; margin-top: 30px; color: var(--accent-strong); font-size: 13px; font-weight: 700; border-bottom: 1px solid currentColor; }

.menu-list { border-top: 1px solid var(--line); }

.menu-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.menu-item-number { color: var(--accent); font-size: 11px; font-weight: 700; }
.menu-item h3 { font-size: 24px; line-height: 1.1; }
.menu-item p { max-width: 540px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.menu-item-meta { color: var(--accent-strong); font-size: 11px; font-weight: 700; text-align: right; white-space: nowrap; }
.menu-footnote { margin-top: 18px; color: var(--muted); font-size: 12px; }

.review-section { color: var(--paper-strong); background: var(--dark); }

.review-summary { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.rating-large { color: var(--accent); font-family: var(--display); font-size: 96px; font-weight: 700; line-height: .82; }
.rating-caption { margin-top: 18px; color: rgba(255,253,248,.68); font-size: 12px; line-height: 1.6; }
.review-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review-highlight { padding-top: 16px; border-top: 1px solid var(--dark-line); }
.review-highlight strong { display: block; font-size: 20px; }
.review-highlight p { margin-top: 10px; color: rgba(255,253,248,.68); font-size: 13px; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 38px; }

.visit-section { background: var(--paper); }

.visit-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 72px; align-items: stretch; }
.visit-copy h2 { max-width: 480px; font-size: 54px; }
.visit-details { margin-top: 38px; border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.detail-label { color: var(--muted); font-size: 10px; }
.detail-row p, .detail-row a { font-size: 15px; font-weight: 600; }
.detail-row a { color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.map-panel { display: flex; min-height: 430px; flex-direction: column; justify-content: space-between; padding: 28px; color: var(--paper-strong); background: var(--dark); }
.map-art { position: relative; height: 225px; overflow: hidden; border: 1px solid var(--dark-line); background: #26332f; }
.map-art::before { position: absolute; inset: 22px 13%; border: 1px solid rgba(255,253,248,.2); content: ""; transform: rotate(-7deg); }
.map-art::after { position: absolute; top: -20%; bottom: -20%; left: 47%; border-left: 2px solid rgba(255,253,248,.2); content: ""; transform: rotate(24deg); }
.map-road { position: absolute; height: 1px; background: rgba(255,253,248,.2); }
.map-road-one { top: 32%; right: -8%; left: 11%; transform: rotate(9deg); }
.map-road-two { top: 70%; right: 10%; left: -8%; transform: rotate(-12deg); }
.map-pin { position: absolute; top: 49%; left: 52%; width: 20px; height: 20px; background: var(--accent); border: 5px solid var(--paper-strong); border-radius: 50%; transform: translate(-50%, -50%); }
.map-panel h3 { margin-top: 22px; font-size: 27px; line-height: 1.1; }
.map-panel p { max-width: 480px; margin-top: 10px; color: rgba(255,253,248,.68); font-size: 13px; }
.map-panel .button { margin-top: 22px; }

.callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px max(var(--gutter), calc((100vw - var(--max)) / 2)); color: var(--dark); background: var(--accent); }
.callout h2 { font-size: 48px; line-height: 1; }
.callout p { margin-top: 10px; color: rgba(32,32,29,.74); font-size: 14px; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px max(var(--gutter), calc((100vw - var(--max)) / 2)); color: var(--paper-strong); background: var(--dark); font-size: 12px; }
.site-footer strong { font-size: 16px; }
.site-footer p { color: rgba(255,253,248,.62); }
.footer-link { justify-self: end; color: var(--accent-soft); font-weight: 700; }

.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: 72px; align-items: end; padding: 78px max(var(--gutter), calc((100vw - var(--max)) / 2)) 72px; color: var(--paper-strong); background: var(--dark); }
.page-hero h1 { max-width: 720px; color: var(--paper-strong); font-size: 76px; }
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p { max-width: 370px; color: rgba(255,253,248,.7); font-size: 16px; }

.subpage-section { padding: 92px 0; }
.back-link { display: inline-flex; margin-bottom: 42px; color: var(--accent-strong); font-size: 13px; font-weight: 700; }
.subpage-section .section-head { margin-bottom: 42px; }
.subpage-section .section-head h2 { font-size: 52px; }
.subpage-photos { background: var(--paper-strong); }
.subpage-photos .photo-grid { max-width: 960px; }
.subpage-review { color: var(--paper-strong); background: var(--dark); }
.subpage-review .review-summary { max-width: 1060px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 20px; order: 3; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 54px 40px; }
  .hero h1 { font-size: 68px; }
  .hero-media, .hero-copy { min-height: 600px; }
  .section { padding: 84px 0; }
  .section-head { gap: 36px; }
  .story-grid { gap: 52px; }
  .menu-layout { gap: 44px; }
  .review-summary { gap: 40px; }
  .review-highlights { grid-template-columns: repeat(2, 1fr); }
  .visit-layout { gap: 42px; }
}

@media (max-width: 700px) {
  :root { --gutter: 18px; }
  .site-header { gap: 14px; padding: 13px var(--gutter); }
  .brand { font-size: 16px; }
  .brand-mark { width: 29px; height: 29px; }
  .site-header > .button { min-height: 40px; padding: 0 12px; font-size: 11px; }
  .nav-links { justify-content: space-between; gap: 8px; width: 100%; font-size: 11px; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { min-height: 0; padding: 58px 24px 52px; }
  .hero h1 { margin-top: 20px; font-size: 56px; }
  .hero-intro { font-size: 16px; }
  .hero-rating { margin-top: 36px; }
  .hero-media { min-height: 360px; }
  .hero-badge { right: 18px; top: 18px; width: 92px; height: 92px; font-size: 11px; }
  .hero-badge strong { font-size: 25px; }
  .info-strip { grid-template-columns: 1fr; width: calc(100% - 36px); }
  .info-item { padding: 15px 17px; border-right: 0; border-bottom: 1px solid var(--line); }
  .info-item:last-child { border-bottom: 0; }
  .section-shell { width: calc(100% - 36px); }
  .section { padding: 68px 0; }
  .section-head, .story-grid, .menu-layout, .review-summary, .visit-layout, .page-hero { grid-template-columns: 1fr; gap: 30px; }
  .section-head { margin-bottom: 34px; }
  .section-head h2, .story-copy h2, .menu-intro h2, .visit-copy h2 { font-size: 43px; }
  .story-copy p { font-size: 20px; }
  .story-grid { gap: 32px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 8px; }
  .photo-card { min-height: 180px; }
  .photo-card:first-child { grid-column: span 2; grid-row: auto; }
  .menu-layout { gap: 18px; }
  .menu-item { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 21px 0; }
  .menu-item-meta { grid-column: 2; text-align: left; }
  .menu-item h3 { font-size: 21px; }
  .review-summary { gap: 38px; }
  .rating-large { font-size: 78px; }
  .review-highlights { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .review-highlight strong { font-size: 18px; }
  .visit-copy h2 { font-size: 43px; }
  .map-panel { min-height: 390px; padding: 22px; }
  .callout { align-items: flex-start; flex-direction: column; padding: 44px 18px; }
  .callout h2 { font-size: 38px; }
  .site-footer { grid-template-columns: 1fr; gap: 10px; padding: 26px 18px; }
  .footer-link { justify-self: start; }
  .page-hero { gap: 26px; padding: 60px 18px 52px; }
  .page-hero h1 { font-size: 55px; }
  .subpage-section { padding: 68px 0; }
  .subpage-section .section-head h2 { font-size: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .photo-card img { transition: none; }
}
