:root {
  --serif: "Playfair Display", Georgia, serif;
  --fs: clamp(17px, 1.67vw, 24px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--serif);
  font-size: var(--fs);
  line-height: 1.35;
}

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

a { color: inherit; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 57px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  animation: marquee 30s linear infinite;
}

.marquee__track span { padding-right: 2.2em; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.site-title {
  position: relative;
  margin: 0;
  font-weight: 400;
  font-size: var(--fs);
  color: #fff;
  white-space: nowrap;
}

/* black plate with soft edges, hides the marquee behind the title */
.site-title span {
  display: block;
  padding: 0 90px;
  line-height: 57px;
  background: linear-gradient(90deg, transparent, #000 87px, #000 calc(100% - 87px), transparent);
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Hero: cake turned upside down, as in the design ---------- */

.hero img {
  width: 100%;
  aspect-ratio: 1460 / 773;
  object-fit: cover;
  object-position: top;
  transform: rotate(180deg);
}

/* ---------- Sections ---------- */

.intro {
  max-width: 1160px;
  margin: -10vw auto 0;
  padding: 0 24px;
  position: relative;
  text-align: center;
}

.intro p { margin: 0; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 752px);
  align-items: center;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 130px 56px 0;
}

.feature p { margin: 0; }

.contact {
  max-width: 1440px;
  margin: 0 auto;
  padding: 70px 24px 0;
}

.contact p {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-right: 8%;
}

.contact__spoon {
  position: relative;
  z-index: 1;
  width: min(525px, 80%);
  margin: 70px auto 0;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  margin-top: -40px;
}

.site-footer__bg { width: 100%; }

.site-footer__side {
  position: absolute;
  right: 6.5%;
  bottom: 6%;
  width: 13%;
  min-width: 170px;
  text-align: center;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  font-style: italic;
  line-height: 2.9;
}

.footer__copy {
  margin: 0.8em 0 0;
  font-family: Helvetica, Arial, sans-serif;
}

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  .site-title span { padding: 0 40px; background: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 64px 20px 0; }
  .feature img { width: 100%; max-width: 420px; margin: 0 auto; }
  .contact { padding-top: 56px; }
  .contact p { padding-right: 0; }
  .contact__spoon { margin-top: 40px; }
  /* the photo is cut off at the bottom, so on mobile it closes the page instead of sitting above the nav */
  .site-footer { display: flex; flex-direction: column-reverse; margin-top: 48px; overflow: hidden; }
  .site-footer__bg { width: 125%; max-width: none; margin-top: -8%; }
  .site-footer__side { position: relative; z-index: 1; right: auto; bottom: auto; width: auto; }
  .footer__nav { line-height: 2.2; }
}
