:root {
  --ink: #231914;
  --muted: #6f6257;
  --paper: #fffaf2;
  --wash: rgba(255, 250, 242, 0.9);
  --brand: #62482f;
  --tomato: #b93931;
  --line: rgba(35, 25, 20, 0.16);
  --white-line: rgba(255, 250, 242, 0.48);
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

a {
  color: inherit;
}

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

.page {
  min-height: 100svh;
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 22px clamp(22px, 4.4vw, 64px) 18px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/italian-delicacies-hero.jpg");
  background-size: cover;
  background-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.9) 36%, rgba(255, 250, 242, 0.5) 64%, rgba(255, 250, 242, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.78) 0%, rgba(255, 250, 242, 0.08) 28%, rgba(255, 250, 242, 0.82) 100%);
}

.site-footer {
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
}

.brand {
  display: inline-block;
  width: clamp(136px, 13vw, 188px);
  margin-bottom: clamp(24px, 4vh, 44px);
  color: var(--ink);
  text-decoration: none;
  animation: rise-in 700ms ease both;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.hero-content {
  width: min(50vw, 720px);
  min-width: 0;
  align-self: center;
  padding: clamp(18px, 3.6vh, 38px) 0;
}

.eyebrow {
  max-width: 44ch;
  margin: 0 0 16px;
  color: var(--tomato);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.77rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
  animation: rise-in 700ms 90ms ease both;
}

h1,
p {
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

h1 {
  max-width: 640px;
  font-size: clamp(3rem, 5.25vw, 4.85rem);
  font-weight: 500;
  line-height: 0.98;
  text-wrap: balance;
  animation: rise-in 760ms 170ms ease both;
}

.hero-copy {
  max-width: 610px;
  margin-top: 18px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.58;
  animation: rise-in 720ms 280ms ease both;
}

.contact-row {
  display: grid;
  gap: 18px;
  width: min(640px, 100%);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  animation: rise-in 720ms 390ms ease both;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

address {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.45;
}

address strong {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--tomato);
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(185, 57, 49, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.7);
  color: var(--brand);
  box-shadow: 0 10px 22px rgba(98, 72, 47, 0.08);
}

.button:hover {
  transform: translateY(-2px);
  background: #a62f29;
  box-shadow: 0 16px 30px rgba(185, 57, 49, 0.25);
}

.button-secondary:hover {
  border-color: rgba(98, 72, 47, 0.34);
  background: rgba(255, 250, 242, 0.92);
  color: var(--ink);
  box-shadow: 0 16px 30px rgba(98, 72, 47, 0.13);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(185, 57, 49, 0.18);
}

.button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(185, 57, 49, 0.32);
  outline-offset: 4px;
}

.site-footer {
  display: block;
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--white-line);
  color: rgba(35, 25, 20, 0.72);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
  animation: rise-in 720ms 510ms ease both;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  max-width: 100%;
  color: var(--brand);
  font-weight: 760;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    padding: 12px 28px 14px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(255, 250, 242, 0.9) 0%, rgba(255, 250, 242, 0.62) 54%, rgba(255, 250, 242, 0.14) 100%),
      linear-gradient(180deg, rgba(255, 250, 242, 0.78) 0%, rgba(255, 250, 242, 0.12) 42%, rgba(255, 250, 242, 0.5) 100%);
  }

  .brand {
    display: block;
    width: 148px;
    margin-inline: auto;
    margin-bottom: 26px;
  }

  .hero-content {
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    align-self: center;
    justify-self: start;
    padding: 22px 0 18px;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.68rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.2vw, 2.12rem);
    line-height: 1;
    overflow-wrap: anywhere;
    hyphens: none;
  }

  .hero-copy {
    max-width: 100%;
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .contact-row {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    padding-top: 14px;
  }

  address {
    font-size: 0.88rem;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .contact-actions {
    display: grid;
    width: 100%;
    max-width: 100%;
  }

  .site-footer {
    display: grid;
    gap: 6px;
    padding-top: 10px;
    font-size: 0.66rem;
  }

  .brand-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px 10px;
    width: 100%;
    text-align: center;
  }

  .brand-list span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-inline: 24px;
  }

  .hero-content {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .hero-copy {
    max-width: 100%;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
