/* Napolitani: charcoal ground, cream type, one olive mark. Condensed display type carries the brand; mono body keeps it plain. */
@font-face { font-family: "Gaultier Display"; src: url("fonts/gaultier-display-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Gaultier Display"; src: url("fonts/gaultier-display-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Gaultier Mono"; src: url("fonts/gaultier-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gaultier Text"; src: url("fonts/gaultier-text-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --charcoal: #1B1C18;
  --charcoal-2: #24251F;
  --line: #3A3B33;
  --cream: #EDEAE2;
  --sage: #A6AE8C;
  --sage-light: #BDC3A6;
  --olive: #7A8B4F;
  --olive-bright: #93A562;
  --display: "Gaultier Display", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --mono: "Gaultier Mono", "DM Mono", ui-monospace, monospace;
  --text: "Gaultier Text", "Outfit", system-ui, sans-serif;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--olive-bright); outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Wordmark: monochrome, final I in olive with a flag head */
.wordmark {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.01em; line-height: 0.85; text-decoration: none; color: var(--cream);
  display: inline-flex; align-items: flex-end;
}
.wordmark .flag-i { position: relative; color: var(--olive); }
.wordmark .flag-i::before {
  content: ""; position: absolute; left: 50%; top: -0.18em; width: 0.32em; height: 0.2em;
  background: var(--olive); clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Header: sticky; transparent at the top of the page, frosted charcoal with a rule once you scroll */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.site-header.is-scrolled {
  background: rgba(27, 28, 24, 0.94); border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: rgba(27, 28, 24, 0.78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.site-header .wordmark { font-size: 28px; }
.nav { display: flex; gap: 20px; align-items: center; font-family: var(--text); font-size: 14px; }
.nav a { text-decoration: none; color: var(--sage); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav .btn { color: var(--charcoal); }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 10px; padding-block: 12px 10px; }
  .nav { flex-basis: 100%; gap: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 15px; }
  .site-header .wrap { position: relative; }
  .nav .btn { position: absolute; top: 10px; right: max(16px, env(safe-area-inset-right, 0px)); padding: 8px 14px; font-size: 14px; }
}

/* Buttons */
.btn {
  display: inline-block; font-family: var(--text); font-size: 15px; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; background: var(--olive); color: var(--charcoal);
  font-weight: 500; border: 0; cursor: pointer;
}
.btn:hover { background: var(--olive-bright); }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--sage); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding-block: 56px 72px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: 40px; }
.hero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 15vw, 196px); line-height: 0.84; margin: 0; letter-spacing: -0.005em;
  text-wrap: balance;
}
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.hero-foot p { margin: 0; max-width: 46ch; color: var(--sage); font-size: 16px; }
.place { font-family: var(--text); color: var(--sage); font-size: 14px; }
@media (max-width: 760px) { .hero-foot { grid-template-columns: 1fr; } }

/* Home hero: full-bleed photo, darkened by gradients so the headline sits on the soft left side */
.hero-cover {
  position: relative; isolation: isolate; overflow: hidden; padding: 0;
  min-height: min(88vh, 860px); display: grid; align-items: end; background: var(--charcoal);
}
.hero-bg img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 40%;
}
.hero-cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(27,28,24,0.92) 0%, rgba(27,28,24,0.78) 28%, rgba(27,28,24,0.25) 58%, rgba(27,28,24,0) 78%),
    linear-gradient(0deg, rgba(27,28,24,0.9) 0%, rgba(27,28,24,0) 42%),
    linear-gradient(180deg, rgba(27,28,24,0.55) 0%, rgba(27,28,24,0) 22%);
}
.hero-cover .hero-inner { width: 100%; display: grid; gap: 32px; padding-block: 120px 72px; }
.hero-cover h1 { font-size: clamp(64px, 9vw, 150px); max-width: 7ch; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.hero-cover .hero-foot { grid-template-columns: 1fr; gap: 24px; max-width: 520px; }
.hero-cover .hero-foot p { color: #D6D7CB; }
@media (max-width: 760px) {
  .hero-cover { min-height: min(92svh, 760px); }
  .hero-bg img { object-position: 76% 30%; }
  .hero-cover::before {
    background:
      linear-gradient(0deg, rgba(27,28,24,1) 0%, rgba(27,28,24,0.88) 38%, rgba(27,28,24,0.2) 66%, rgba(27,28,24,0) 80%),
      linear-gradient(180deg, rgba(27,28,24,0.5) 0%, rgba(27,28,24,0) 20%);
  }
  .hero-cover .hero-inner { padding-block: 220px 48px; gap: 24px; }
}

/* Subpage heroes reuse the home hero; longer headlines get a smaller size */
.hero-sub h1 { font-size: clamp(52px, 6.4vw, 104px); max-width: 11ch; }
.hero-sub .facts { margin-top: 8px; }
.hero-catering .hero-bg img { object-position: 70% 50%; }
.hero-class .hero-bg img {
  left: auto; right: 0; width: 56%; object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%); mask-image: linear-gradient(to right, transparent 0%, #000 30%);
}
@media (max-width: 760px) {
  .hero-catering .hero-bg img { object-position: 55% 0%; }
  .hero-class { min-height: 100svh; }
  .hero-class .hero-bg img {
    width: 100%; height: 360px; object-position: 60% 20%;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  }
  .hero-sub h1 { font-size: 48px; }
  .hero-class .hero-inner { padding-top: 320px; }
}

/* Full-width photo on subpages */
.page-photo { margin: 40px 0 0; border-radius: 6px; overflow: hidden; background: var(--charcoal-2); }
.page-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
@media (max-width: 600px) { .page-photo img { aspect-ratio: 4 / 3; object-position: 60% 50%; } }

.photo {
  aspect-ratio: 16 / 7; max-width: 100%; border-radius: 6px;
  background: var(--charcoal-2) center / cover no-repeat;
  background-image: var(--img, none);
  position: relative; overflow: hidden;
}
.photo:not([style*="--img"])::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(122,139,79,0.08) 22px 23px);
}

/* Sections */
section { padding-block: 72px; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; margin-bottom: 40px; align-items: end; }
.section-head h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 7vw, 76px); line-height: 0.9; margin: 0; text-wrap: balance;
}
.section-head p { margin: 0; color: var(--sage); max-width: 52ch; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }

/* Slice mark used as list marker */
.slice { display: inline-block; width: 14px; height: 14px; flex: none; position: relative; margin-top: 6px;
  background: var(--olive); clip-path: polygon(50% 100%, 0 0, 100% 0); }
.slice::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--charcoal); left: 5px; top: 3px; }

/* Menu */
.menu-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 56px; align-items: start; }
/* Tablet: pizza and starters on the left; pasta, salads and dessert on the right */
@media (min-width: 700px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "pizza pasta" "pizza salads" "starters dessert"; grid-template-rows: auto 1fr auto; }
}
/* Desktop and iPad landscape: three columns, short categories fill the space under pasta and starters */
@media (min-width: 980px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "pizza pasta starters" "pizza salads dessert" "pizza . ."; grid-template-rows: auto auto 1fr; }
}
@media (min-width: 700px) {
  .g-pizza { grid-area: pizza; } .g-pasta { grid-area: pasta; } .g-starters { grid-area: starters; }
  .g-salads { grid-area: salads; } .g-dessert { grid-area: dessert; }
}
.menu-group h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; margin: 0 0 14px; color: var(--olive-bright); letter-spacing: 0.02em; }
.dish { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding-block: 12px; border-top: 1px solid var(--line); }
.dish:last-child { border-bottom: 1px solid var(--line); }
.dish .name { font-family: var(--text); font-size: 17px; font-weight: 500; }
.dish .price { font-variant-numeric: tabular-nums; }
.dish .desc { grid-column: 1 / -1; color: var(--sage-light); font-size: 14px; line-height: 1.55; margin: 2px 0 0; }
.dish .addon { display: block; margin-top: 4px; font-family: var(--text); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--olive-bright); }
.note { color: var(--sage); font-size: 13px; margin-top: 28px; }

/* Two-up feature blocks on home */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature {
  background: var(--charcoal-2); border-radius: 6px; padding: 32px; display: grid; gap: 16px; align-content: start;
  box-shadow: inset 0 0 0 1px transparent;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease;
}
@media (hover: hover) {
  .feature:hover, .feature:focus-within { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--olive), 0 14px 30px rgba(0, 0, 0, 0.3); }
}
.feature h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5vw, 54px); line-height: 0.9; margin: 0; }
.feature p { margin: 0; color: var(--sage); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review { margin: 0; background: var(--charcoal-2); border-radius: 6px; padding: 32px; display: grid; gap: 18px; align-content: start; border-top: 2px solid var(--olive); }
.review .stars { color: var(--olive-bright); letter-spacing: 0.12em; font-size: 20px; line-height: 1; font-family: system-ui, sans-serif; }
.review blockquote { margin: 0; font-family: var(--text); font-size: 19px; line-height: 1.5; color: var(--cream); }
.review blockquote::before { content: "“"; } .review blockquote::after { content: "”"; }
.review figcaption { font-family: var(--text); font-weight: 500; font-size: 14px; color: var(--cream); }
.review figcaption span { display: block; font-weight: 400; color: var(--sage); margin-top: 2px; }
.reviews-actions { margin-top: 32px; }
.rating b { font-family: var(--display); font-weight: 900; font-size: 34px; color: var(--cream); vertical-align: -4px; }
.stars-inline { color: var(--olive-bright); letter-spacing: 0.1em; font-family: system-ui, sans-serif; margin-right: 6px; }

/* Visit */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.visit h3 { font-family: var(--text); font-weight: 500; font-size: 14px; color: var(--sage); margin: 0 0 6px; letter-spacing: 0.02em; }
.visit p { margin: 0; }
.todo { color: var(--olive-bright); }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* Lists and steps on subpages */
.offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.offer article { border-top: 2px solid var(--olive); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.offer h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: 0.95; margin: 0; }
.offer .unit { font-family: var(--text); color: var(--sage); font-size: 14px; margin: 0; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.items li { display: flex; gap: 10px; font-size: 14px; }
.items b { font-family: var(--text); font-weight: 500; }
.items span.d { color: var(--sage); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); align-items: baseline; counter-increment: step; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 0.8; color: var(--olive); }
.steps h3 { font-family: var(--text); font-weight: 500; font-size: 20px; margin: 0 0 4px; }
.steps p { margin: 0; color: var(--sage); max-width: 60ch; }
.steps .time { font-family: var(--text); color: var(--sage); font-size: 13px; white-space: nowrap; }
@media (max-width: 760px) { .steps li { grid-template-columns: 56px minmax(0, 1fr); } .steps li::before { font-size: 44px; } .steps .time { grid-column: 2; } }

.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 32px; font-family: var(--text); }
.facts div { display: grid; }
.facts dt { color: var(--sage); font-size: 13px; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-family: var(--text); font-size: 14px; color: var(--sage); }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--mono); font-size: 15px; color: var(--cream);
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; width: 100%;
}
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { display: none; }
.form-status { grid-column: 1 / -1; margin: 0; color: var(--olive-bright); font-family: var(--text); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* Page hero for subpages */
.page-hero { padding-block: 56px 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 12vw, 150px); line-height: 0.85; margin: 0 0 24px; text-wrap: balance; }
.page-hero p { margin: 0 0 28px; color: var(--sage); max-width: 54ch; font-size: 16px; }

/* Footer */
.site-footer { padding-block: 48px 64px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: end; }
.site-footer .wordmark { font-size: clamp(56px, 12vw, 120px); }
.site-footer p { margin: 0; color: var(--sage); font-family: var(--text); font-size: 14px; }

/* Ticker above the footer */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; }
.ticker-track { display: flex; width: max-content; }
.ticker span {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(28px, 4vw, 44px); line-height: 1; white-space: nowrap; color: var(--cream);
  display: inline-flex; align-items: center;
}
.ticker span::after {
  content: ""; width: 0.36em; height: 0.36em; margin-inline: 0.7em; background: var(--olive);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: rise 700ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
  .hero-bg img { animation: settle 1800ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
  .ticker-track { animation: ticker 60s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}
