:root {
  --paper: #f6f8f7;
  --rust: #622c1c;
  --ink: #4a2b22;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Neue Montreal", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
img { display: block; width: 100%; }
h1, h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  color: var(--rust);
  margin: 0;
}
h2 { font-size: clamp(1.65rem, 2.2vw, 2.2rem); line-height: 1.1; margin-bottom: 1.2rem; }
p { margin: 0 0 1.45rem; }
.aside { font-style: italic; }
.future-link { font-weight: 500; }

.hero {
  height: min(72vh, 760px);
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,.16));
}
.hero-copy {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
}
.hero-copy h1 {
  color: white;
  font-size: clamp(4.2rem, 10vw, 9rem);
  line-height: .92;
  letter-spacing: -.055em;
}
.hero-copy p,
.closing-card p {
  margin: 1.15rem 0 0;
  font-family: "Versailles", "Libre Caslon Display", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(1.1rem, 2vw, 2rem);
}

.text-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 6vw, 5rem) clamp(2.5rem, 4vw, 4rem);
}
.copy { max-width: 920px; }
.copy h2:not(:first-child) { margin-top: 4.3rem; }

.food-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 2rem) clamp(1.25rem, 4vw, 3rem) clamp(5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
}
.food-grid {
  overflow: hidden;
  border-radius: 0 70px 0 0;
  aspect-ratio: 1 / 1;
}
.food-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
}
.food-copy { max-width: 570px; }

.outside-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}
.outside-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.outside-overlay {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background: rgba(246,248,247,.68);
}
.outside-copy {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0;
}
.outside-copy h2:not(:first-child) { margin-top: 3.4rem; }
.outside-copy p { max-width: 1040px; }

.closing {
  padding: clamp(2rem, 4vw, 3.5rem) 0 0;
  background: var(--paper);
}
.mosaic {
  position: relative;
  height: clamp(620px, 65vw, 900px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .9fr 1.15fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  background: var(--paper);
}
.mosaic img { height: 100%; object-fit: cover; }
.mosaic-residency { grid-column: 1; grid-row: 1; }
.mosaic-newwick { grid-column: 2 / 4; grid-row: 1; }
.mosaic-downtown { grid-column: 1 / 3; grid-row: 2; }
.mosaic-hero { grid-column: 3; grid-row: 2; }
.closing-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72%, 930px);
  transform: translate(-50%, -50%);
  background: rgba(246,248,247,.78);
  padding: clamp(2rem, 5vw, 5rem);
  text-align: center;
  backdrop-filter: blur(2px);
}
.closing-card h2 {
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: .9;
  letter-spacing: -.055em;
}
.closing-card p { color: var(--rust); }

footer {
  min-height: 170px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 3.5rem clamp(1.5rem, 4vw, 4rem) 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  font-size: .83rem;
  color: #2f2f2f;
}
footer > p { margin: 0; }
.credit {
  display: flex;
  align-items: center;
  gap: .55rem;
  white-space: nowrap;
  font-style: italic;
}
.credit img {
  width: 112px;
  height: auto;
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { min-height: 520px; height: 72svh; }
  .hero-copy h1 { font-size: clamp(3.6rem, 20vw, 6rem); }
  .hero-copy p { font-size: .95rem; letter-spacing: .11em; }
  .text-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .copy h2:not(:first-child) { margin-top: 3.3rem; }

  .food-section {
    grid-template-columns: 1fr;
    gap: 2.7rem;
    padding-top: 1rem;
  }
  .food-grid { aspect-ratio: 1 / 1; border-radius: 0 48px 0 0; }
  .food-copy { max-width: none; }

  .outside-section, .outside-overlay { min-height: 830px; }
  .outside-overlay { background: rgba(246,248,247,.76); }
  .outside-copy { padding: 4rem 0; }

  .mosaic {
    height: 720px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .mosaic-residency { grid-column: 1; grid-row: 1; }
  .mosaic-newwick { grid-column: 2; grid-row: 1; }
  .mosaic-downtown { grid-column: 1; grid-row: 2; }
  .mosaic-hero { grid-column: 2; grid-row: 2; }
  .closing-card { width: 86%; padding: 2.2rem 1.2rem; }
  .closing-card h2 { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .closing-card p { font-size: .85rem; }

  footer {
    min-height: 180px;
    padding-top: 3rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1.2rem;
  }
  .credit { align-self: flex-end; }
}

.studio-link { display: inline-flex; }
.studio-link img { display: block; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
.legal { margin: 0; font-size: .75rem; white-space: nowrap; }
.legal a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.legal a:hover, .legal a:focus-visible { opacity: .65; }

@media (max-width: 760px) {
  .closing-card h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
    letter-spacing: -.065em;
  }
  .footer-right { width: 100%; align-items: flex-end; }
  .legal { white-space: normal; text-align: right; max-width: 100%; }
}

/* Mobile fix: keep the final Marewick wordmark inside the white card */
@media (max-width: 760px) {
  .closing-card h2 {
    font-size: clamp(2.5rem, 12.5vw, 4rem);
    line-height: .95;
    letter-spacing: -.07em;
    max-width: 100%;
  }
}
