/* La Baciata — static landing */

:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-2: #111111;
  --red: #e1141b;
  --red-hover: #ff2b32;
  --text: #ffffff;
  --text-muted: #b3b3b3;
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 8.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(72rem, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 1.25rem;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.92), transparent);
  backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 7.5rem;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) {
  :root {
    --header-h: 11rem;
  }

  .brand-logo {
    height: 9.75rem;
  }
}

.site-nav {
  display: none;
  gap: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--red);
}

.nav-cta {
  color: var(--red);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.25rem;
  background: rgba(5, 5, 5, 0.98);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-nav[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-primary {
  background: var(--red);
  color: var(--text);
  border: 1px solid var(--red);
}

.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.8rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: ken-burns 22s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.14);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.35) 0%,
    rgba(5, 5, 5, 0.55) 40%,
    rgba(5, 5, 5, 0.92) 85%,
    #050505 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(72rem, 100% - 2.5rem);
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 .line {
  display: block;
}

.hero h1 .accent {
  color: var(--red);
}

.hero-sub {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-date {
  display: inline-block;
  margin: 1.5rem 0 0;
  padding: 0.45rem 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  background: var(--red);
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (min-width: 768px) {
  .hero-scroll {
    display: flex;
  }

  .hero-content {
    padding-bottom: 6rem;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}

.section h2 {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Story */
.story {
  background: var(--surface);
}

.story-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.story-copy p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--red);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.story-visual {
  margin: 0;
  position: relative;
}

.story-visual::before {
  content: "";
  position: absolute;
  top: -0.75rem;
  left: -0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  border: 1px solid var(--red);
  pointer-events: none;
}

.story-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Pillars */
.pillars {
  position: relative;
  overflow: hidden;
}

.pillars-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
}

.pillars-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillars .container {
  position: relative;
  z-index: 1;
}

.pillar-cards {
  display: grid;
  gap: 1.25rem;
}

.pillar-card {
  padding: 2rem;
  background: rgba(13, 13, 13, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
}

.pillar-card h3 {
  margin: 0.75rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

.pillar-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .pillar-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ingredients */
.ingredients {
  background: var(--bg);
}

.ingredient-grid {
  display: grid;
  gap: 1.5rem;
}

.ingredient-card {
  margin: 0;
}

.ingredient-img {
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--border);
}

.ingredient-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.ingredient-card:hover .ingredient-img img {
  transform: scale(1.06);
}

.ingredient-card figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .ingredient-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Craft */
.craft {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.craft-bg {
  position: absolute;
  inset: 0;
}

.craft-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.craft-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.75) 55%, transparent 100%);
}

.craft-content {
  position: relative;
  z-index: 1;
  max-width: 32rem;
}

.craft-accent {
  width: 3px;
  height: 4rem;
  background: var(--red);
  margin-bottom: 1.5rem;
}

.craft-content p:last-child {
  margin: 0;
  color: var(--text-muted);
}

/* Offer */
.offer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.offer-inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.offer-inner h2 {
  margin-bottom: 1rem;
}

.offer-lead {
  margin: 0 0 2rem;
  color: var(--text-muted);
}

.offer-note {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Footer */
.site-footer {
  padding: 2.5rem 1.25rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-tagline {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Contact form */
.contact {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-inner h2 {
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) min(17rem, 34%);
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.contact-visit {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.contact-visit h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-visit-details {
  font-style: normal;
}

.contact-visit-row + .contact-visit-row {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.contact-visit-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-visit-row p {
  margin: 0;
  line-height: 1.6;
  color: var(--text);
}

[data-store="hours"] {
  white-space: pre-line;
}

.contact-visit-phone {
  color: var(--text);
  text-decoration: none;
}

.contact-visit-phone:hover {
  color: var(--red);
}

.contact-form {
  text-align: left;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-field em {
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--red);
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-field-full {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-feedback {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.contact-error {
  color: #f87171;
}

.contact-success {
  color: #4ade80;
}

.contact-form .btn {
  margin-top: 1.25rem;
}

.contact-form .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.25rem 0 0;
}

.footer-social a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--red);
}

.footer-brand {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--red);
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
