@font-face {
  font-family: "Canva Sans";
  src: url("../fonts/cff149ee1e9d2be50ac77bcd86769d05.woff2") format("woff2"),
       url("../fonts/f93a5165fac252ecfd593929c4e6146f.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #e1262c;
  --yellow: #ffd51a;
  --cream: #f6f6e9;
  --white: #ffffff;
  --ink: #111111;
  --brown: #71351c;
  --peach: #cd8755;
  --green: #4ab74a;
  --pink: #f6a8ad;
  --grey-script: #8b8b8b;
  --nav-height: 48px;
  --font-body: "Canva Sans", Arial, sans-serif;
  --font-script: "Brush Script MT", "Segoe Script", cursive;
  --site-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--nav-height);
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--red);
  overflow: visible;
}

.site-nav {
  width: min(100%, 1440px);
  height: var(--nav-height);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 30px 0 138px;
}

.nav-logo {
  position: absolute;
  left: 34px;
  top: 50%;
  width: 84px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
  z-index: 2;
}

.nav-menu {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0 18px;
  color: var(--white);
  font-size: 15px;
  line-height: 1;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 0;
  background: transparent;
  padding: 8px;
  color: var(--white);
  font-size: 0;
}

.nav-toggle::before {
  content: "";
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
  position: relative;
  min-height: 768px;
  overflow: hidden;
  background: url("../images/hero/hero-sweets.jpg") center center / cover no-repeat;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.12));
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  min-height: 768px;
  margin: 0 auto;
}

.hero-mascot {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 340px;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-ring {
  position: absolute;
  top: 46px;
  left: 50%;
  z-index: 1;
  width: 280px;
  height: 300px;
  object-fit: contain;
  opacity: 0.9;
  transform: translateX(-50%) rotate(-10deg);
  animation: ring-spin 30s linear infinite;
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  top: 335px;
  left: 50%;
  width: 153px;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 132px;
  z-index: 3;
  width: min(430px, 90%);
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-copy p,
.hero-copy h1 {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero-copy p {
  font-size: clamp(36px, 3.2vw, 47px);
}

.hero-copy h1 {
  margin-top: 4px;
  font-size: clamp(54px, 4.6vw, 65px);
}

.primary-button,
.secondary-button,
.red-button,
.review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 42px;
  border-radius: 999px;
  font-family: var(--font-script);
  font-size: 19px;
  line-height: 1;
}

.primary-button {
  margin-top: 14px;
  background: var(--white);
  color: var(--red);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.special-section {
  position: relative;
  min-height: 520px;
  padding: 46px 40px 36px;
  background: var(--white);
  text-align: center;
}

.section-ornament {
  width: 156px;
  margin: 0 auto 6px;
  opacity: 0.55;
}

.script-title {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(42px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 0.95;
  color: var(--pink);
}

.script-title strong {
  color: var(--grey-script);
  font-weight: 400;
}

.script-title.light,
.cuisine-section .script-title {
  color: var(--white);
}

.feature-grid {
  width: min(960px, 100%);
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 58px;
}

.feature-card {
  position: relative;
  min-height: 270px;
  padding-top: 190px;
  text-align: center;
}

.feature-card::before {
  content: none;
}

.feature-ornament {
  position: absolute;
  left: 50%;
  top: -60px;
  z-index: 0;
  width: 250px;
  height: 267px;
  object-fit: contain;
  opacity: 1;
  transform: translateX(-50%) rotate(-12deg);
  animation: ring-spin 32s linear infinite;
  pointer-events: none;
}

.circle-frame {
  display: none;
}

.feature-image {
  position: absolute;
  left: 50%;
  top: 6px;
  z-index: 2;
  width: 134px;
  height: 134px;
  object-fit: contain;
  margin: 0;
  transform: translateX(-50%);
}

.feature-card:nth-child(2) .feature-image {
  width: 168px;
  height: 132px;
  top: 7px;
}

.feature-card:nth-child(3) .feature-image {
  width: 150px;
  height: 126px;
  top: 10px;
}

.feature-card:nth-child(4) .feature-image {
  width: 127px;
  height: 127px;
  top: 10px;
}

.feature-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 5px;
  color: var(--brown);
  font-family: var(--font-script);
  font-size: 30px;
  font-weight: 400;
}

.feature-card p {
  position: relative;
  z-index: 2;
  width: 155px;
  margin: 0 auto;
  color: var(--peach);
  font-size: 14px;
  line-height: 1.05;
}

@keyframes ring-spin {
  from {
    transform: translateX(-50%) rotate(var(--ring-start, -12deg));
  }
  to {
    transform: translateX(-50%) rotate(calc(var(--ring-start, -12deg) + 360deg));
  }
}

.vegetarian-section {
  position: relative;
  min-height: 360px;
  padding: 58px 40px;
  display: grid;
  grid-template-columns: 430px minmax(320px, 580px);
  justify-content: center;
  align-items: center;
  gap: 70px;
  background: var(--white);
}

.vegetarian-section::before,
.vegetarian-section::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(546px, 80%);
  height: 2px;
  background: rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
}

.vegetarian-section::before {
  top: 20px;
}

.vegetarian-section::after {
  bottom: 20px;
}

.stat-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  min-height: 170px;
}

.stat-art span {
  display: block;
  color: var(--white);
  font-size: 170px;
  line-height: 0.82;
  font-weight: 700;
  -webkit-text-stroke: 5px var(--green);
  text-shadow: none;
}

.zero-bowl {
  flex: 0 0 auto;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  margin-bottom: 18px;
}

.vegetarian-copy h2 {
  margin: 0 0 16px;
  font-family: var(--font-script);
  font-size: 40px;
  font-weight: 400;
}

.vegetarian-copy p {
  margin: 0;
  font-size: 19px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-section {
  position: relative;
  min-height: 760px;
  padding: 105px 90px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(420px, 680px) minmax(360px, 520px);
  gap: 48px;
  align-items: center;
  background: var(--yellow);
}

.about-copy {
  max-width: 690px;
}

.about-kicker,
.about-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-script);
  font-size: clamp(50px, 4.2vw, 60px);
  line-height: 0.95;
  font-weight: 400;
}

.about-copy h2 {
  margin-bottom: 36px;
}

.about-copy p:not(.about-kicker) {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.secondary-button {
  margin-top: 26px;
  background: var(--white);
  color: var(--red);
}

.shop-illustration {
  justify-self: center;
  width: min(100%, 500px);
}

.cuisine-section {
  position: relative;
  min-height: 930px;
  padding: 100px 50px 95px;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.cuisine-intro {
  width: min(960px, 92%);
  margin: 0 auto 86px;
}

.cuisine-intro p {
  margin: 18px auto 0;
  max-width: 950px;
  font-size: 14px;
  line-height: 1.2;
}

.cuisine-grid {
  width: min(1090px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 22px;
}

.cuisine-item {
  position: relative;
  min-height: 310px;
  padding-top: 265px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mandala {
  position: absolute;
  z-index: 0;
  width: 235px;
  height: 250px;
  object-fit: contain;
  opacity: 0.95;
  transform-origin: center;
  animation: ornament-spin 24s linear infinite;
}

.mandala-left {
  top: 38px;
  left: 50%;
  --ornament-start: -10deg;
  transform: translateX(-50%) rotate(var(--ornament-start));
}

.mandala-right {
  top: 38px;
  right: auto;
  left: 50%;
  --ornament-start: 12deg;
  transform: translateX(-50%) rotate(var(--ornament-start));
}

.rotate-soft {
  --ornament-start: 20deg;
}

.rotate-hard {
  --ornament-start: -24deg;
}

@keyframes ornament-spin {
  from {
    transform: translateX(-50%) rotate(var(--ornament-start, 0deg));
  }
  to {
    transform: translateX(-50%) rotate(calc(var(--ornament-start, 0deg) + 360deg));
  }
}

.food-image {
  position: absolute;
  left: 50%;
  top: 74px;
  z-index: 2;
  width: 178px;
  height: 178px;
  object-fit: contain;
  margin: 0;
  transform: translateX(-50%);
}

.cuisine-item:first-child .food-image {
  width: 254px;
  height: 170px;
  top: 78px;
}

.cuisine-item:nth-child(2) .food-image {
  width: 210px;
  height: 142px;
  top: 92px;
}

.cuisine-item.tall .food-image {
  width: 156px;
  height: 234px;
  top: 46px;
}

.cuisine-item h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-script);
  font-size: 24px;
  font-weight: 400;
}

.red-button {
  margin-top: 54px;
  background: var(--white);
  color: var(--red);
}

.celebrate-section {
  position: relative;
  min-height: 650px;
  background: url("../images/hero/fireworks.jpg") center center / cover no-repeat;
  display: grid;
  place-items: center;
  color: var(--white);
}

.celebrate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.06);
}

.celebrate-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  transform: translateY(20px);
}

.celebrate-overlay img {
  width: 214px;
  margin: 0 auto 12px;
}

.celebrate-overlay h2 {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(48px, 4vw, 60px);
  line-height: 0.95;
  font-weight: 400;
}

.reviews-section {
  min-height: 560px;
  padding: 88px 50px 80px;
  text-align: center;
  background: var(--white);
}

.section-ornament.small {
  width: 95px;
}

.reviews-section .script-title {
  color: var(--red);
}

.review-grid {
  width: min(1040px, 100%);
  margin: 58px auto 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  text-align: left;
}

.review-card {
  min-height: 190px;
  padding: 18px 18px 20px;
  background: var(--white);
}

.stars {
  color: var(--green);
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.review-card p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.3;
}

.review-card h3 {
  margin: 0;
  font-size: 15px;
}

.review-button {
  min-width: 120px;
  min-height: 32px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
}

.site-footer {
  background: var(--red);
  color: var(--white);
}

.footer-banner {
  min-height: 310px;
  background: url("../images/hero/footer-feast.jpg") center center / cover no-repeat;
}

.footer-main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 82px 52px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}

.footer-main h2 {
  margin: 0 0 8px;
  font-size: 15px;
  text-transform: uppercase;
}

.footer-main p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.25;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 26px 0 30px;
  border: 2px solid var(--white);
  border-radius: 4px;
  font-size: 20px;
  font-weight: 700;
}

.footer-script {
  font-family: var(--font-script);
  font-size: 28px !important;
  line-height: 0.95 !important;
}

.footer-info {
  padding-left: 110px;
}

.footer-info h2:not(:first-child) {
  margin-top: 22px;
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 14px 52px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom img {
  display: inline-block;
  width: 54px;
  vertical-align: middle;
}

.page-hero {
  min-height: 430px;
  padding: 120px 40px 90px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url("../images/hero/hero-sweets.jpg") center / cover;
}

.compact-hero,
.compact-hero .hero-stage {
  min-height: 720px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(56px, 6vw, 86px);
  font-weight: 400;
}

.page-hero p {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: 20px;
}

.gallery-section,
.contact-section,
.order-section {
  padding: 100px 50px;
  background: var(--white);
}

.gallery-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.contact-card,
.order-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 46px;
  border-radius: 28px;
  background: var(--cream);
  text-align: center;
}

.contact-canvas {
  min-height: 560px;
  display: grid;
  place-items: center;
  background: var(--white);
}

.contact-canvas .contact-card {
  background: var(--white);
  box-shadow: none;
}

.contact-canvas .script-title {
  margin-bottom: 32px;
  color: var(--red);
}

.contact-card h2,
.order-card h2 {
  margin: 0 0 22px;
  color: var(--red);
  font-family: var(--font-script);
  font-size: 48px;
  font-weight: 400;
}

.contact-card p,
.order-card p {
  margin: 0 0 10px;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .feature-grid,
  .cuisine-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vegetarian-section,
  .about-section,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-info {
    padding-left: 0;
  }

  .about-section {
    padding-inline: 50px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 64px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    height: var(--nav-height);
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: nowrap;
    height: var(--nav-height);
    padding: 0 16px;
  }

  .nav-logo {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 72px;
    transform: translateY(-50%);
    z-index: 2;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
  }

  .nav-toggle::before {
    content: "";
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    margin: 3px 0;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--red);
    padding: 8px 0 14px;
    align-items: stretch;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 18px 28px rgba(17, 17, 17, 0.18);
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    justify-content: flex-start;
    min-height: 52px;
    padding: 0 20px;
    white-space: nowrap;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu li:first-child a {
    border-top: 0;
  }

  .hero-section,
  .hero-stage {
    min-height: 660px;
  }

  .hero-mascot {
    width: 250px;
    top: 28px;
  }

  .hero-ring {
    width: 215px;
    height: 230px;
    top: 50px;
  }

  .hero-logo {
    top: 258px;
  }

  .feature-grid,
  .cuisine-grid,
  .review-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .special-section,
  .cuisine-section,
  .reviews-section,
  .gallery-section,
  .contact-section,
  .order-section {
    padding-inline: 24px;
  }

  .script-title {
    max-width: 330px;
    margin-inline: auto;
    font-size: 36px;
    line-height: 1.08;
  }

  .vegetarian-section {
    grid-template-columns: 1fr;
    padding-inline: 24px;
    gap: 26px;
  }

  .stat-art {
    width: min(100%, 320px);
    min-height: 128px;
    margin: 0 auto;
    gap: 8px;
  }

  .stat-art span {
    font-size: 112px;
    line-height: 0.84;
    -webkit-text-stroke: 4px var(--green);
  }

  .zero-bowl {
    width: 76px;
    height: 76px;
    margin-bottom: 12px;
  }

  .about-section {
    padding: 80px 24px;
  }

  .footer-main,
  .footer-bottom {
    padding-inline: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
