@font-face {
  font-family: "Playfair Display";
  src: url("./assets/fonts/PlayfairDisplay-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("./assets/fonts/PlayfairDisplay-Italic-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("./assets/fonts/Lora-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("./assets/fonts/Lora-Italic-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-dark: #5a4036;
  --color-darkest: #3a2a24;
  --color-soft-brown: #735344;
  --color-cream: #e8e0da;
  --color-cream-light: #fffaf4;
  --color-off-white: #fffdf9;
  --color-magenta: rgb(250, 225, 235);
  --color-magenta-dark: #7b4b57;
  --color-orange: #d4772c;
  --color-copper: #b96533;
  --color-rose: #ead2d9;
  --color-shadow: rgba(90, 64, 54, 0.15);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --max-width: 1120px;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-darkest);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(239, 230, 224, 0.9) 48%, rgba(255, 250, 244, 0.95)),
    var(--color-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(250, 225, 235, 0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 101, 51, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 86%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 86%);
  animation: background-drift 22s linear infinite;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  max-width: 8.8em;
  margin-bottom: 18px;
  font-size: clamp(3.15rem, 14vw, 6.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 9vw, 4.45rem);
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.15;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 14px 18px;
  color: var(--color-darkest);
  background: rgba(255, 250, 244, 0.9);
  border-bottom: 1px solid rgba(250, 225, 235, 0.72);
  backdrop-filter: blur(14px);
  animation: header-drop 560ms ease-out both;
}

.brand-mark-small {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-soft-brown);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.brand-mark-small img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid rgba(250, 225, 235, 0.86);
  border-radius: 50%;
  transition: transform 220ms ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 4vw, 34px);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
}

.site-nav a {
  color: rgba(58, 42, 36, 0.72);
  position: relative;
}

.site-nav a::after,
.footer-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.hero {
  display: grid;
  gap: 34px;
  min-height: calc(100svh - var(--header-height));
  padding: 44px 18px 52px;
  color: var(--color-darkest);
  background:
    linear-gradient(115deg, rgba(250, 225, 235, 0.72) 0%, transparent 44%),
    linear-gradient(180deg, var(--color-cream-light) 0%, var(--color-cream) 100%);
  border-bottom: 1px solid rgba(185, 101, 51, 0.28);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.hero__content > * {
  animation: fade-up 720ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.hero__content > :nth-child(1) {
  animation-delay: 90ms;
}

.hero__content > :nth-child(2) {
  animation-delay: 170ms;
}

.hero__content > :nth-child(3) {
  animation-delay: 250ms;
}

.hero__content > :nth-child(4) {
  animation-delay: 330ms;
}

.hero__content > :nth-child(5) {
  animation-delay: 410ms;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-orange);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--color-magenta-dark);
}

.hero__tagline {
  max-width: 630px;
  margin-bottom: 14px;
  color: var(--color-dark);
  font-size: clamp(1.12rem, 5vw, 1.85rem);
  line-height: 1.35;
}

.hero__copy {
  max-width: 520px;
  margin-bottom: 28px;
  color: rgba(58, 42, 36, 0.78);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button--primary {
  color: var(--color-darkest);
  background: var(--color-magenta);
  border-color: rgba(123, 75, 87, 0.2);
  box-shadow: 0 10px 22px rgba(123, 75, 87, 0.12);
}

.button--secondary {
  color: var(--color-darkest);
  border-color: rgba(250, 225, 235, 0.92);
  background: rgba(255, 253, 249, 0.64);
}

.hero__visual {
  align-self: end;
  margin: 0;
  animation: soft-pop 760ms cubic-bezier(0.2, 0.72, 0.2, 1) 260ms both;
}

.profile-frame {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
  animation: gentle-float 7s ease-in-out 1.2s infinite;
}

.profile-frame::before {
  position: absolute;
  inset: 18px -12px -12px 18px;
  content: "";
  background: rgba(250, 225, 235, 0.98);
  border-radius: 8px;
  transition: transform 240ms ease;
}

.profile-frame::after {
  position: absolute;
  inset: -12px 18px 18px -12px;
  z-index: 0;
  content: "";
  border: 1px solid var(--color-copper);
  border-radius: 8px;
  transition: transform 240ms ease;
}

.profile-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--color-off-white);
  border: 1px solid rgba(90, 64, 54, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(90, 64, 54, 0.18);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero__caption {
  position: relative;
  z-index: 2;
  max-width: 360px;
  margin: -24px auto 0;
  padding: 16px 18px;
  color: var(--color-off-white);
  background: var(--color-soft-brown);
  border-left: 4px solid var(--color-magenta);
  border-radius: 6px;
  box-shadow: 0 16px 30px rgba(90, 64, 54, 0.16);
  font-size: 0.92rem;
  line-height: 1.55;
  animation: fade-up 680ms cubic-bezier(0.2, 0.72, 0.2, 1) 520ms both;
}

.hero__caption span {
  display: block;
  margin-bottom: 5px;
  color: #f2b160;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-shell {
  width: min(100% - 36px, var(--max-width));
  margin-inline: auto;
  padding: 64px 0;
}

.section-shell--split {
  display: grid;
  gap: 28px;
}

.intro-section,
.catalog-section,
.press-section {
  background: rgba(255, 250, 244, 0.76);
}

.story-copy,
.press-copy,
.event-note {
  font-size: clamp(1.02rem, 3vw, 1.2rem);
}

.story-copy p,
.press-copy p {
  max-width: 680px;
  margin-bottom: 18px;
}

.story-copy p:last-child,
.press-copy p:last-child,
.menu-note {
  margin-bottom: 0;
}

.menu-section {
  color: var(--color-darkest);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.88), rgba(232, 224, 218, 0.94)),
    var(--color-cream);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.section-heading--dark p:not(.eyebrow) {
  color: rgba(58, 42, 36, 0.72);
}

.menu-card {
  padding: 8px 22px;
  color: var(--color-off-white);
  background: var(--color-soft-brown);
  border: 1px solid rgba(185, 101, 51, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(90, 64, 54, 0.13);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(232, 224, 218, 0.26);
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item h3 {
  margin-bottom: 0;
  color: var(--color-off-white);
  font-size: clamp(1.35rem, 6vw, 2.25rem);
}

.price {
  margin-bottom: 0;
  color: var(--color-magenta);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 6vw, 2.3rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.menu-note {
  max-width: 680px;
  padding-top: 20px;
  color: rgba(58, 42, 36, 0.68);
  font-size: 0.92rem;
}

.catalog-grid,
.steps-grid {
  display: grid;
  gap: 14px;
}

.catalog-item,
.step-card {
  min-height: 100%;
  padding: 22px;
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(185, 101, 51, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(90, 64, 54, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.catalog-item h3,
.step-card h3 {
  color: var(--color-darkest);
}

.catalog-item p:last-child,
.step-card p:last-child {
  margin-bottom: 0;
}

.catalog-item__price {
  margin-bottom: 16px;
  color: var(--color-magenta-dark);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.how-section {
  background: var(--color-cream);
}

.step-card {
  background: var(--color-off-white);
}

.step-card__number {
  display: block;
  margin-bottom: 34px;
  color: var(--color-orange);
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.event-section {
  color: var(--color-darkest);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.95) 0%, rgba(232, 224, 218, 0.92) 100%);
  border-block: 1px solid rgba(250, 225, 235, 0.84);
}

.section-shell--event {
  display: grid;
  gap: 24px;
}

.event-card {
  padding: 26px;
  color: var(--color-darkest);
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(185, 101, 51, 0.28);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(90, 64, 54, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.event-details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.event-details div {
  padding-top: 14px;
  border-top: 1px solid rgba(185, 101, 51, 0.22);
}

.event-details dt {
  color: var(--color-magenta-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.event-details dd {
  margin: 4px 0 0;
  color: rgba(58, 42, 36, 0.82);
}

.event-note {
  align-self: end;
}

.event-note p {
  color: rgba(58, 42, 36, 0.78);
}

.event-note a {
  color: var(--color-magenta-dark);
  font-weight: 700;
}

.press-section {
  border-bottom: 1px solid rgba(250, 225, 235, 0.86);
}

.site-footer {
  display: grid;
  gap: 24px;
  padding: 34px 18px;
  color: var(--color-off-white);
  background: var(--color-soft-brown);
}

.site-footer p {
  margin-bottom: 4px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: rgba(255, 250, 244, 0.84);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.footer-links a {
  position: relative;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.2, 0.72, 0.2, 1),
    box-shadow 200ms ease,
    border-color 200ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

.reveal-on-scroll.reveal-complete {
  transition-delay: 0ms;
}

@media (hover: hover) {
  .brand-mark-small:hover,
  .site-nav a:hover,
  .footer-links a:hover {
    color: var(--color-magenta-dark);
  }

  .brand-mark-small:hover {
    transform: translateY(-1px);
  }

  .brand-mark-small:hover img {
    transform: rotate(-4deg) scale(1.04);
  }

  .site-nav a:hover::after,
  .footer-links a:hover::after {
    transform: scaleX(1);
  }

  .button:hover,
  .catalog-item:hover,
  .step-card:hover,
  .event-card:hover {
    transform: translateY(-3px);
  }

  .button--primary:hover {
    box-shadow: 0 14px 28px rgba(123, 75, 87, 0.16);
  }

  .button--secondary:hover {
    border-color: rgba(123, 75, 87, 0.22);
    background: rgba(255, 253, 249, 0.9);
  }

  .profile-frame:hover::before {
    transform: translate(4px, 4px);
  }

  .profile-frame:hover::after {
    transform: translate(-4px, -4px);
  }

  .profile-frame:hover img {
    transform: translateY(-4px) rotate(0.6deg);
    box-shadow: 0 30px 56px rgba(90, 64, 54, 0.22);
  }

  .menu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(90, 64, 54, 0.16);
  }

  .catalog-item:hover,
  .step-card:hover,
  .event-card:hover {
    border-color: rgba(185, 101, 51, 0.28);
    box-shadow: 0 18px 34px rgba(90, 64, 54, 0.12);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes soft-pop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

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

@keyframes gentle-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes header-drop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

@keyframes background-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 42px 42px;
  }
}

@media (max-width: 460px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
  }

  .button {
    width: 100%;
  }
}

@media (min-width: 720px) {
  .site-header {
    padding-inline: 34px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    padding: 64px 34px 72px;
  }

  .hero__visual {
    justify-self: end;
    width: min(100%, 430px);
  }

  .section-shell {
    padding-block: 86px;
  }

  .section-shell--split,
  .section-shell--event {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-item--wide {
    grid-column: span 2;
  }

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-inline: 34px;
  }
}

@media (min-width: 1040px) {
  .hero {
    padding-inline: max(46px, calc((100vw - var(--max-width)) / 2));
  }

  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-item--wide {
    grid-column: span 2;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
