/* La Piazza Twickenham */

:root {
  --red: #e93434;        /* brand red, from the logo and menus */
  --wine: #6e1b21;       /* the chair covers */
  --wine-deep: #3a0f13;
  --cream: #f6eee2;
  --paper: #fbf7f0;
  --ink: #2a1d19;
  --ink-soft: #46362f;
  --gold: #e2b56b;       /* fairy lights */
  --line: rgba(42, 29, 25, 0.14);

  --display: "Bodoni Moda", "Bodoni 72", "Didot", Georgia, serif;
  --body: "EB Garamond", Garamond, Georgia, serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.2rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;  /* plain, full-height digits everywhere */
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }

.eyebrow {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--gold);
}
.eyebrow.red { color: var(--red); }

.lead { font-size: 1.35rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-variant-numeric: lining-nums;
  padding: 0.85em 1.6em;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--red);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn:hover { background: #c92424; border-color: #c92424; transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-small { padding: 0.6em 1.1em; font-size: 0.75rem; }
.btn-num { font-family: var(--body); font-size: 1.2em; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }

/* ---------- header ---------- */

/* The logo is the brand's own lettering (images/logo.svg), inlined as a symbol so it takes the text colour */
.logo { display: block; font-size: 1.15rem; color: var(--red); text-decoration: none; }
.logo-svg { display: block; height: 1em; width: 9.7em; fill: currentColor; }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem var(--gutter);
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
.site-header .logo { color: #fff; transition: color 0.35s; }
.site-header.scrolled {
  background: rgba(251, 247, 240, 0.97);
  padding-block: 0.7rem;
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled .logo { color: var(--red); }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: color 0.35s;
}
.site-header.scrolled .nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn):hover { color: var(--gold); }
.site-header.scrolled .nav a:not(.btn):hover { color: var(--red); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; margin: 5px 0;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s, background 0.35s;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 1.8rem;
    background: var(--wine-deep);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav a:not(.btn), .site-header.scrolled .nav a:not(.btn) { color: var(--cream); font-size: 1.1rem; }
  .nav .btn { font-size: 0.9rem; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .nav-toggle span { background: var(--cream); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open .logo { color: var(--cream) !important; position: relative; z-index: 2; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: var(--wine-deep);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
  animation: slow-zoom 22s ease-out both;
}
@keyframes slow-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(30, 8, 10, 0.35) 0%, rgba(30, 8, 10, 0.75) 100%),
    linear-gradient(to bottom, rgba(20, 6, 8, 0.55), rgba(20, 6, 8, 0.2) 40%, rgba(20, 6, 8, 0.7));
}
.hero-content {
  position: relative;
  padding: 7rem var(--gutter) 5rem;
  max-width: 900px;
  animation: rise 1.2s 0.2s ease-out both;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-title {
  font-size: clamp(1.9rem, 8vw, 5.2rem);
  margin: 0 0 1.6rem;
  color: #fff;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.45));
}
.hero-title .logo-svg { margin: 0 auto; max-width: 100%; }
.hero-sub { font-size: clamp(1.15rem, 2.4vw, 1.45rem); margin: 0 0 2.2rem; font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.hero-hours {
  margin: 2rem 0 0;
  font-family: var(--display);
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}

.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%;
  width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255,255,255,0.6); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px;
  animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- sections ---------- */

.section { padding: clamp(4.5rem, 10vw, 8rem) var(--gutter); }

.split {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split-text p { color: var(--ink-soft); }
.split-text .lead { color: var(--ink); }
.split-img { margin: 0; position: relative; }
.split-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.split-img::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--red); z-index: -1;
}

.plates {
  max-width: var(--max); margin: clamp(3.5rem, 8vw, 6rem) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.plates figure { margin: 0; overflow: hidden; position: relative; }
.plates img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.8s ease-out; }
.plates figure:hover img { transform: scale(1.05); }
.plates figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(30, 8, 10, 0.8), transparent);
  color: #fff; font-family: var(--display); font-style: italic; font-size: 1.05rem;
}
.plates figure:nth-child(2) { transition-delay: 0.1s; }
.plates figure:nth-child(3) { transition-delay: 0.2s; }
.plates figure:nth-child(4) { transition-delay: 0.3s; }
@media (max-width: 900px) { .plates { grid-template-columns: 1fr 1fr; } }

.promises {
  list-style: none; padding: 0; margin: 2.4rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 1.8rem;
}
.promises li { font-size: 1rem; line-height: 1.3; color: var(--ink-soft); }
.promises span {
  display: block;
  font-family: var(--display); font-weight: 900;
  font-size: 2.6rem; color: var(--red); line-height: 1.1;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-img { max-width: 520px; margin-right: 1.2rem; }
}

/* ---------- menu ---------- */

.menu { background: var(--cream); }
.rugby { background: var(--paper); }
.rugby .menu-card { background: #fff; }
.rugby-extra {
  margin: -0.7rem 0 0.8rem; text-align: center;
  font-family: var(--display); font-weight: 900; font-size: 1.12rem;
}
.rugby-book { margin: 1.4rem 0 0; text-align: center; }
.menu-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.menu-head p:last-child { color: var(--ink-soft); }

.tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem;
  margin: 0 auto 2rem; max-width: 900px;
}
.tabs button {
  font-family: var(--display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.75em 1.3em;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.tabs button:hover { border-color: var(--red); color: var(--red); }
.tabs button[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.menu-card {
  max-width: 880px; margin: 0 auto;
  background: var(--paper);
  padding: clamp(1.6rem, 5vw, 3.5rem);
  box-shadow: 0 30px 60px -30px rgba(58, 15, 19, 0.35);
  border-top: 4px solid var(--red);
}
.tab-panel { animation: fade 0.45s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tab-panel h3 {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1.6rem;
}
.tab-panel h3:not(:first-of-type) { margin-top: 2.8rem; }
.tab-panel h3 em {
  display: block;
  font-family: var(--body); font-weight: 400; font-size: 1rem;
  letter-spacing: 0.08em; text-transform: none; color: var(--ink-soft);
  margin-top: 0.3rem;
}

.dishes { list-style: none; margin: 0; padding: 0; }
.dishes li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--line);
}
.dishes li:last-child { border-bottom: 0; }
.dishes li > div { flex: 1; }
.dishes strong { font-family: var(--display); font-weight: 900; font-size: 1.12rem; }
.dishes small { color: var(--ink-soft); font-size: 0.95rem; margin-left: 0.2rem; }
.dishes p { margin: 0.15rem 0 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.4; }
.dishes p.also { font-style: italic; color: var(--red); }
.price {
  font-family: var(--body); font-weight: 600; font-size: 1.1rem;
  font-variant-numeric: lining-nums;
  white-space: nowrap; color: var(--ink);
}
.wines .price { width: 4.2rem; text-align: right; }
.wine-cols {
  display: flex; justify-content: flex-end; gap: 0;
  font-family: var(--display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  position: sticky; top: 64px;
}
.wine-cols span { width: 5.2rem; text-align: right; }

.tag {
  display: inline-grid; place-items: center;
  width: 1.3em; height: 1.3em; border-radius: 50%;
  font-family: var(--body); font-size: 0.8rem; font-weight: 500;
  background: #4f7a3a; color: #fff;
  vertical-align: middle;
}

.cocktails {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2.5rem;
}
.cocktails strong { font-family: var(--display); font-weight: 900; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cocktails p { margin: 0.1rem 0 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.4; }

@media (max-width: 600px) {
  .cocktails { grid-template-columns: 1fr; }
  .wines .price { width: 3.2rem; }
  .wine-cols span { width: 4.2rem; }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 0.4rem; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
}

.menu-foot {
  margin: 2.5rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center; font-size: 1rem; color: var(--ink-soft);
}
.menu-foot a { display: block; margin-top: 0.6rem; color: var(--red); font-weight: 500; }

/* ---------- parties ---------- */

.feste {
  position: relative; overflow: hidden;
  background: var(--wine-deep);
  color: var(--cream);
  text-align: center;
}
.feste-bg {
  position: absolute; inset: -20% 0;
  background: url("images/bar-1600.jpg") center / cover;
  opacity: 0.22;
  will-change: transform;
}
.feste::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(58,15,19,0.6), rgba(58,15,19,0.85));
}
.feste-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.feste h2 { color: #fff; }
.feste .lead { margin: 0 auto 2.5rem; max-width: 680px; }

.formats {
  list-style: none; padding: 0; margin: 0 0 2.8rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(246, 238, 226, 0.2);
  border: 1px solid rgba(246, 238, 226, 0.2);
}
.formats li { background: rgba(58, 15, 19, 0.6); padding: 1.6rem 1rem; }
.formats strong { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--gold); margin-bottom: 0.3rem; }
.formats span { font-size: 1rem; font-style: italic; }
@media (max-width: 760px) { .formats { grid-template-columns: 1fr 1fr; } }

/* ---------- visit ---------- */

.visit-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem);
}
.info-block { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.info-block h3 {
  font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.6rem;
}
.info-block p, .info-block address { margin: 0 0 0.5rem; font-style: normal; }
.note { color: var(--ink-soft); font-style: italic; font-size: 1.05rem; }
/* Numbers use the Garamond with plain lining digits: Bodoni's hairline 4s and 1s are hard to read */
.phones a {
  font-family: var(--body); font-weight: 600; font-size: 1.55rem;
  font-variant-numeric: lining-nums; letter-spacing: 0.02em;
  text-decoration: none; color: var(--ink);
}
.phones a:hover { color: var(--red); }
.phones span { color: var(--ink-soft); font-size: 1rem; margin-left: 0.3rem; }
.email { color: var(--ink); overflow-wrap: anywhere; }
.email:hover { color: var(--red); }
.link-arrow { color: var(--red); font-weight: 500; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin 0.2s; }
.link-arrow:hover::after { margin-left: 0.3em; }

.info-block .review-btn { margin: 1.1rem 0 0; }

.visit-side { display: grid; gap: 1.2rem; align-content: start; }
.visit-img { margin: 0; }
.visit-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 70%; }

.map { aspect-ratio: 4 / 3; background: var(--cream); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-load {
  width: 100%; height: 100%;
  display: grid; place-content: center; gap: 0.3rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
}
.map-load small { font-family: var(--body); font-size: 0.95rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink-soft); }
.map-load:hover span { text-decoration: underline; }

@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-side { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--wine-deep);
  color: rgba(246, 238, 226, 0.8);
  text-align: center;
  padding: 4rem var(--gutter) 6rem;
  font-size: 1.05rem;
}
.site-footer p { margin: 0 0 0.6rem; }
.logo-footer { font-size: 1.6rem; margin-bottom: 0.8rem !important; color: var(--red); }
.logo-footer .logo-svg { margin: 0 auto; }
.saluti { font-family: var(--display); font-style: italic; color: var(--gold); margin-bottom: 1.6rem !important; }
.site-footer a { color: inherit; }
.site-footer .small { font-size: 0.9rem; opacity: 0.7; }

/* ---------- mobile call button ---------- */

.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  background: var(--red); color: #fff;
  font-family: var(--display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 25px -8px rgba(58, 15, 19, 0.6);
  transform: translateY(150%);
  transition: transform 0.4s;
}
.call-fab svg { width: 18px; height: 18px; fill: currentColor; }
.call-fab.show { transform: none; }
@media (max-width: 860px) { .call-fab { display: inline-flex; } }

/* ---------- reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease-out, transform 0.9s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

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