/* Gina's — 1970s trattoria / Auckland nonna vibes */
:root {
  --cream: #e8dcc8;
  --cream-deep: #d4c4a8;
  --paper: #f0e6d4;
  --paper-hot: #faf3e8;
  --ink: #1f1810;
  --ink-soft: #3f3428;
  --terracotta: #a0452f;
  --terracotta-deep: #6e2c1c;
  --olive: #4a4a32;
  --sage: #b5b89e;
  --mustard: #b8953a;
  --gold: #c9a24d;
  --white: #fffaf2;
  --shadow: 8px 8px 0 rgba(31, 24, 16, 0.12);
  --shadow-deep: 12px 14px 28px rgba(31, 24, 16, 0.22);
  --radius: 4px;
  --radius-lg: 6px;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-brand: "Italiana", "Libre Baskerville", serif;
  --font-body: "Newsreader", Georgia, serif;
  --font-stamp: "Special Elite", "Courier New", monospace;
  --space: clamp(1rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  isolation: isolate;
  font-family: var(--font-body);
  font-size: 1.07rem;
  line-height: 1.72;
  color: var(--ink-soft);
  background-color: var(--paper);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(201, 162, 77, 0.14), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(160, 69, 47, 0.08), transparent 45%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(31, 24, 16, 0.03) 1px,
      rgba(31, 24, 16, 0.03) 2px
    );
  text-rendering: optimizeLegibility;
}

body.vintage::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

a {
  color: var(--terracotta);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--terracotta-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.shell {
  width: min(1120px, 100% - var(--space) * 2);
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(240, 230, 212, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(31, 24, 16, 0.12);
  box-shadow: 0 6px 0 rgba(160, 69, 47, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  height: 2.25rem;
  width: auto;
}

.brand__text {
  font-family: var(--font-brand);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.site-nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:not(.btn):hover {
  color: var(--terracotta);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle__bars {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.nav-toggle__bars::before {
  top: -8px;
}

.nav-toggle__bars::after {
  top: 8px;
}

.site-header.is-open .nav-toggle__bars {
  background: transparent;
}

.site-header.is-open .nav-toggle__bars::before {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bars::after {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    top: 4.5rem;
    background: rgba(240, 230, 212, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem var(--space) 2rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-nav__cta {
    width: 100%;
  }

  .site-nav .btn {
    width: 100%;
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(180deg, #c2553a 0%, var(--terracotta-deep) 100%);
  color: var(--paper-hot);
  border-color: #4a2115;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  color: var(--paper-hot);
  filter: brightness(1.04);
  box-shadow: 4px 4px 0 rgba(31, 24, 16, 0.2);
}

.btn--ghost {
  background: rgba(255, 250, 242, 0.65);
  color: var(--ink);
  border-color: rgba(31, 24, 16, 0.35);
}

.btn--ghost:hover {
  border-color: var(--terracotta-deep);
  color: var(--terracotta-deep);
}

.btn--soft {
  background: rgba(255, 252, 247, 0.15);
  color: var(--paper);
  border-color: rgba(255, 252, 247, 0.35);
}

.btn--soft:hover {
  color: var(--paper);
  background: rgba(255, 252, 247, 0.25);
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: end;
  color: var(--paper);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: sepia(0.22) contrast(1.05) saturate(0.92);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(28, 18, 12, 0.94) 0%,
      rgba(45, 32, 22, 0.55) 42%,
      rgba(60, 48, 32, 0.25) 100%
    ),
    radial-gradient(ellipse at 30% 15%, rgba(184, 149, 58, 0.2), transparent 50%);
  box-shadow: inset 0 0 120px rgba(20, 12, 8, 0.5);
}

.hero__content {
  position: relative;
  padding-bottom: clamp(3rem, 8vw, 5rem);
  padding-top: 7rem;
}

.eyebrow {
  font-family: var(--font-stamp);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--mustard);
  margin: 0 0 1rem;
}

.eyebrow--on-dark {
  color: var(--sage);
}

.hero__badge {
  margin-bottom: 1rem;
}

.hero__badge-inner {
  display: inline-block;
  font-family: var(--font-stamp);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border: 2px dashed rgba(240, 230, 212, 0.65);
  color: var(--paper-hot);
  background: rgba(20, 12, 8, 0.35);
  transform: rotate(-2deg);
}

.hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  font-weight: 700;
}

.hero__title-line {
  display: block;
}

.hero__title-line--brand {
  font-family: var(--font-brand);
  font-size: clamp(3rem, 9vw, 5.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #f5ebd8;
  text-shadow: 2px 3px 0 rgba(20, 12, 8, 0.45);
}

.hero__title-line--accent {
  font-style: italic;
  font-weight: 400;
  color: #e8d4a8;
}

.hero__tagline {
  font-family: var(--font-stamp);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: rgba(240, 230, 212, 0.88);
  margin: 0 0 1rem;
  max-width: 28rem;
}

.hero__lede {
  max-width: 34rem;
  font-size: 1.1rem;
  color: rgba(255, 252, 247, 0.88);
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn--ghost {
  color: var(--paper);
  border-color: rgba(255, 252, 247, 0.45);
}

.hero .btn--ghost:hover {
  color: var(--paper);
  border-color: var(--gold);
}

.hero__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  translate: -50% 0;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.65;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  margin: 0.5rem auto 0;
  background: linear-gradient(to bottom, rgba(255, 252, 247, 0.6), transparent);
}

/* Bands */
.band {
  padding-block: clamp(3.5rem, 10vw, 6rem);
}

.band--cream {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-block: 1px solid rgba(31, 24, 16, 0.08);
}

.band--dark {
  background: linear-gradient(165deg, #2a2218 0%, #1a1410 48%, #3a2e22 100%);
  color: rgba(255, 250, 242, 0.9);
}

.band--dark h2 {
  color: var(--paper);
}

.band--sage {
  background: linear-gradient(125deg, #c4c8a8 0%, #a8a894 40%, #d8d2bc 100%);
  border-block: 2px solid rgba(31, 24, 16, 0.1);
}

.texture {
  position: relative;
}

.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse .split__copy {
  order: 2;
}

.split--reverse .split__figure {
  order: 1;
}

@media (max-width: 900px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__copy,
  .split--reverse .split__figure {
    order: unset;
  }
}

.split__copy p:last-child {
  margin-bottom: 0;
}

.frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(31, 24, 16, 0.55);
  box-shadow: var(--shadow-deep), 4px 4px 0 rgba(160, 69, 47, 0.15);
}

.frame--vintage {
  padding: 0.5rem;
  background: linear-gradient(145deg, #f5ebd8, #e0d2bc);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  filter: sepia(0.12) contrast(1.03);
}

.frame--vintage img {
  border: 1px solid rgba(31, 24, 16, 0.2);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.pill {
  font-family: var(--font-stamp);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
  background: rgba(160, 69, 47, 0.12);
  color: var(--terracotta-deep);
  border: 1px dashed rgba(31, 24, 16, 0.35);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.lede {
  font-size: 1.15rem;
  margin-top: 0.5rem;
}

.closing {
  font-style: italic;
  color: var(--ink);
}

.pullquote {
  margin: 1.75rem 0 1.25rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--terracotta);
  background: rgba(160, 69, 47, 0.08);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink);
}

.pullquote p {
  margin: 0;
}

.timeline {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 2rem 1.75rem;
  max-width: 720px;
  margin-inline: auto;
  border: 2px solid rgba(31, 24, 16, 0.2);
  background: rgba(255, 250, 242, 0.5);
  box-shadow: var(--shadow);
}

.timeline__title {
  font-family: var(--font-stamp);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--terracotta-deep);
}

.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline__list li {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed rgba(31, 24, 16, 0.2);
}

.timeline__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.timeline__year {
  font-family: var(--font-stamp);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard);
}

.timeline__text {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .timeline__list li {
    grid-template-columns: 1fr;
  }
}

/* Mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.mosaic img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  opacity: 0.94;
  border: 2px solid rgba(240, 230, 212, 0.35);
  filter: sepia(0.18) contrast(1.02);
}

@media (max-width: 700px) {
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .mosaic img {
    height: 120px;
  }
}

/* Visit */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

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

.visit-card h2 {
  margin-bottom: 1rem;
}

.hours {
  margin: 1.5rem 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(28, 24, 20, 0.12);
}

.hours dt {
  font-weight: 600;
  color: var(--ink);
}

.hours dd {
  margin: 0;
}

.band--sage .btn--ghost {
  background: rgba(255, 250, 242, 0.55);
  border-color: rgba(31, 24, 16, 0.4);
}

.visit-card--media img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid rgba(31, 24, 16, 0.45);
  box-shadow: var(--shadow);
  filter: sepia(0.2) saturate(0.95) contrast(1.02);
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery img {
    height: 160px;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #1a1410 0%, #0f0c08 100%);
  color: rgba(255, 250, 242, 0.85);
  padding: 3rem 0 1.5rem;
  border-top: 4px solid var(--mustard);
}

.site-footer a {
  color: var(--sage);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 252, 247, 0.12);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  color: var(--paper-hot);
}

.footer__label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.55);
  margin: 0 0 0.5rem;
}

.footer__muted {
  color: rgba(255, 252, 247, 0.5);
  font-size: 0.9rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.35rem;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 252, 247, 0.45);
}

.footer__base p {
  margin: 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}
