* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #ffffff;
  --ink-light: #ffffff;
  --bg: #f6e9df;
  --panel: #fffaf4;
  --text: #2f2f2f;
  --plate-pattern: url('Images/chinese_plate_clean__1_-removebg-preview.png');
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #f88686;
  min-height: 100vh;
}

h2 {
  font-family: 'Inter', sans-serif;
}

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

.site {
  padding: 0 64px 48px;
}

.top-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-mark img {
  display: block;
  width: 222px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4vw, 3.5rem);
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-text p {
  max-width: 520px;
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 28px;
}

.btn-outline {
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: 12px 28px;
  border-radius: 999px;
  background: transparent;
  font-size: 0.95rem;
  cursor: pointer;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.festival-hero {
  margin: 0;
  display: flex;
  justify-content: center;
  background: transparent;
  width: calc(100% + 128px);
  margin-left: -64px;
}

.festival-hero-inner {
  position: relative;
  width: min(980px, 92vw);
  padding: 20px 20px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.festival-logo-text {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.festival-nav {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  color: #ffffff;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.festival-nav a {
  color: inherit;
  text-decoration: none;
}

.corner-lanterns {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.corner-lantern {
  position: absolute;
  top: 0;
  width: 70px;
  height: auto;
}

.corner-lantern.left {
  left: 10px;
}

.corner-lantern.right {
  right: 10px;
  transform: scaleX(-1);
}

.corner-guardian {
  position: absolute;
  bottom: 10px;
  width: 90px;
  height: auto;
}

.corner-guardian.left {
  left: 10px;
}

.corner-guardian.right {
  right: 10px;
  transform: scaleX(-1);
}

.corner-symbol {
  position: absolute;
  bottom: 10px;
  font-size: 32px;
  font-weight: 700;
  color: #b00e0c;
  line-height: 1;
}

.corner-symbol.left {
  left: 12px;
}

.corner-symbol.right {
  right: 12px;
  transform: scaleX(-1);
}

.festival-social {
  position: absolute;
  right: -6px;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #ffffff;
}

.festival-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: grid;
  place-items: center;
  color: inherit;
  text-decoration: none;
}

.festival-social svg {
  width: 16px;
  height: 16px;
}

.festival-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.festival-center-image {
  width: min(520px, 78vw);
  height: auto;
  display: block;
  margin-top: 100px;
}

.festival-characters {
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #b00e0c;
  margin-top: -6px;
}

.festival-button {
  display: inline-block;
  border: none;
  background: transparent;
  padding: 0;
  margin-top: -6px;
}

.festival-button img {
  width: min(180px, 60vw);
  height: auto;
  display: block;
}

.plate {
  position: absolute;
  border-radius: 50%;
  width: 420px;
  height: 420px;
  z-index: 1;
  overflow: hidden;
}

.plate-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--plate-pattern) center / 90% 137% no-repeat;
}

.plate-noodles {
  right: -40px;
  top: 10px;
}

.plate-rice {
  width: 360px;
  height: 360px;
  left: -20px;
  bottom: -40px;
}

.social-links {
  position: fixed;
  left: 36px;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-links a {
  color: var(--ink);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.location-section {
  margin-top: 80px;
  padding: 60px 64px;
  width: calc(100% + 128px);
  margin-left: -64px;
  background: #b2201c;
  color: #f9f4ef;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.location-text {
  text-align: center;
}

.location-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.location-text h2 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.location-text p {
  line-height: 1.7;
  margin-bottom: 16px;
  color: inherit;
}

.location-hours {
  margin: 28px 0;
  display: grid;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.location-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.location-links a {
  color: inherit;
  text-decoration: none;
}

.location-image {
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  min-height: 320px;
}

.location-image img,
.location-image iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  border: 0;
}

.about-mosaic {
  margin-top: 0;
  padding: 64px;
  width: calc(100% + 128px);
  margin-left: -64px;
  background: transparent;
  color: #4a1f16;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-mosaic-header {
  max-width: 680px;
  margin: 0 auto 40px;
}

.about-kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.about-mosaic h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ink);
  margin-bottom: 16px;
}

.about-mosaic p {
  line-height: 1.7;
}

.about-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.about-line {
  display: none;
}

.about-card {
  display: grid;
  gap: 10px;
  font-size: 0.85rem;
  max-width: none;
  text-align: center;
  padding: 16px;
  border: 2px solid #b00e0c;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-card-left {
  transform: none;
}

.about-card-right {
  transform: none;
}

.about-card-left:last-of-type {
  margin-top: 0;
  transform: none;
}

.about-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.about-card h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
}

.dish-marquee {
  margin-top: 40px;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.dish-row {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 0;
  width: max-content;
}

.dish-row span {
  display: inline-block;
  padding: 0 16px;
}

.dish-track {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
}

.dish-row.right {
  animation: marquee-right 28s linear infinite;
}

.dish-row.left {
  animation: marquee-left 28s linear infinite;
}

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

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

.about-more {
  display: inline-block;
  margin-top: 28px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.about-fan {
  position: absolute;
  top: 50%;
  width: 180px;
  height: 180px;
  background: repeating-conic-gradient(
    from 0deg,
    #e14532 0 12deg,
    #f4c07a 12deg 18deg
  );
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
}

.about-fan-left {
  left: -60px;
  clip-path: inset(0 50% 0 0);
}

.about-fan-right {
  right: -60px;
  clip-path: inset(0 0 0 50%);
}

.bubble-tea-section {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 0;
  width: calc(100% + 128px);
  margin-left: -64px;
}

.square-gallery {
  margin-top: 72px;
  margin-bottom: 0;
  width: calc(100% + 128px);
  margin-left: -64px;
  padding: 64px;
}

.square-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.square-gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid #b00e0c;
}

.gallery-grid-section {
  margin: 64px 0;
  width: calc(100% + 80px);
  margin-left: -40px;
  padding: 0 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 90px;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid-mosaic .gallery-item {
  position: relative;
  overflow: hidden;
  border: 2px solid #b00e0c;
  background: rgba(255, 255, 255, 0.2);
  height: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .about-card,
  .gallery-grid-mosaic .gallery-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.gallery-grid-mosaic .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.tile-a {
  grid-column: 1 / span 5;
  grid-row: 1 / span 6;
}

.tile-b {
  grid-column: 6 / span 7;
  grid-row: 1 / span 3;
}

.tile-c {
  grid-column: 6 / span 3;
  grid-row: 4 / span 2;
}

.tile-d {
  grid-column: 9 / span 4;
  grid-row: 4 / span 3;
}

.tile-e {
  grid-column: 1 / span 5;
  grid-row: 7 / span 3;
}

.tile-f {
  grid-column: 6 / span 3;
  grid-row: 6 / span 4;
}

.tile-g {
  grid-column: 9 / span 4;
  grid-row: 7 / span 3;
}

.tile-h {
  grid-column: 6 / span 7;
  grid-row: 10 / span 3;
}

.tile-i {
  grid-column: 1 / span 5;
  grid-row: 10 / span 3;
}

.tile-j {
  grid-column: 1 / span 8;
  grid-row: 13 / span 4;
}

.tile-k {
  grid-column: 9 / span 4;
  grid-row: 13 / span 4;
  aspect-ratio: 1 / 1;
}

.site-footer {
  margin-top: 0;
  padding: 56px 0 40px;
  border-top: 1px solid rgba(225, 69, 50, 0.25);
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(200px, 0.8fr) auto;
  align-items: start;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.footer-brand img {
  height: 84px;
  width: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.footer-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
  width: 100%;
}

.footer-form label {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
}

.footer-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-form button {
  padding: 12px;
  border: none;
  background: #b2201c;
  color: #f9f4ef;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  cursor: pointer;
}

.footer-contact p {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
}

@media (min-width: 721px) {
  .footer-form {
    padding-right: 16px;
    width: 200%;
    max-width: none;
  }
}

.bubble-tea-image {
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.bubble-tea-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bubble-slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.8s ease,
    opacity 0.8s ease;
}

.bubble-slide.active {
  transform: translateX(0);
  opacity: 1;
}

.bubble-slide.exit-left {
  transform: translateX(-100%);
  opacity: 0;
}

.bubble-tea-center {
  background: #e14532;
  color: #f9f4ef;
  padding: 72px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.bubble-tea-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
}

.bubble-tea-center h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-bottom: 8px;
}

.bubble-tea-center p {
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .site {
    padding: 32px;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-links {
    align-self: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .festival-hero {
    width: calc(100% + 64px);
    margin-left: -32px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .plate-noodles {
    right: 0;
    top: 0;
  }

  .plate-rice {
    left: 0;
    bottom: -40px;
  }

  .location-section {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    width: calc(100% + 64px);
    margin-left: -32px;
  }

  .location-image {
    min-height: 260px;
  }

  .bubble-tea-section {
    grid-template-columns: 1fr;
    width: calc(100% + 64px);
    margin-left: -32px;
  }

  .square-gallery {
    width: calc(100% + 64px);
    margin-left: -32px;
    padding: 0 32px;
  }

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

  .gallery-grid-section {
    width: calc(100% + 40px);
    margin-left: -20px;
    padding: 0 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 90px;
    max-width: 100%;
  }

  .tile-a {
    grid-column: 1 / span 6;
    grid-row: 1 / span 4;
  }

  .tile-b {
    grid-column: 1 / span 6;
    grid-row: 5 / span 3;
  }

  .tile-c {
    grid-column: 1 / span 3;
    grid-row: 8 / span 3;
  }

  .tile-d {
    grid-column: 4 / span 3;
    grid-row: 8 / span 3;
  }

  .tile-e {
    grid-column: 1 / span 3;
    grid-row: 11 / span 3;
  }

  .tile-f {
    grid-column: 4 / span 3;
    grid-row: 11 / span 3;
  }

  .tile-g {
    grid-column: 1 / span 3;
    grid-row: 14 / span 3;
  }

  .tile-h {
    grid-column: 4 / span 3;
    grid-row: 14 / span 3;
  }

  .tile-i {
    grid-column: 1 / span 6;
    grid-row: 17 / span 3;
  }

  .tile-j {
    grid-column: 1 / span 3;
    grid-row: 20 / span 3;
    aspect-ratio: auto;
  }

  .tile-k {
    grid-column: 4 / span 3;
    grid-row: 20 / span 3;
    aspect-ratio: auto;
  }

  .site-footer {
    width: calc(100% + 64px);
    margin-left: -32px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .about-mosaic {
    padding: 48px 32px;
    width: calc(100% + 64px);
    margin-left: -32px;
  }

  .about-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }

  .about-line {
    display: none;
  }

  .about-card {
    max-width: none;
    text-align: left;
  }

  .about-card-left {
    transform: none;
  }

  .about-card-right {
    transform: none;
  }

  .about-card-left:last-of-type {
    transform: none;
  }

  .bubble-tea-image {
    min-height: 560px;
  }

  .bubble-tea-center {
    padding: 56px 32px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .top-nav {
    gap: 16px;
  }

  .festival-hero-inner {
    min-height: 100vh;
  }

  .social-links {
    position: static;
    flex-direction: row;
    margin-top: 24px;
  }

  .festival-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .festival-logo-text {
    font-size: 40px;
  }

  .location-section {
    padding: 32px 20px;
    gap: 32px;
  }

  .location-image {
    min-height: 220px;
  }

  .bubble-tea-image {
    min-height: 350px;
    height: 350px;
  }

  .bubble-tea-center {
    padding: 48px 24px;
  }

  .bubble-tea-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    grid-template-columns: 1fr 1fr;
  }

  .square-gallery {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0;
  }

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

  .gallery-grid-section {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: clamp(28px, 7.5vw, 56px);
    gap: 8px;
    max-width: 100%;
    margin: 0;
  }

  .tile-a {
    grid-column: 1 / span 4;
    grid-row: 1 / span 6;
  }

  .tile-b {
    grid-column: 5 / span 4;
    grid-row: 1 / span 3;
  }

  .tile-c {
    grid-column: 5 / span 2;
    grid-row: 4 / span 2;
  }

  .tile-d {
    grid-column: 7 / span 2;
    grid-row: 4 / span 3;
  }

  .tile-e {
    grid-column: 1 / span 4;
    grid-row: 7 / span 3;
  }

  .tile-f {
    grid-column: 5 / span 2;
    grid-row: 6 / span 4;
  }

  .tile-g {
    grid-column: 7 / span 2;
    grid-row: 7 / span 3;
  }

  .tile-h {
    grid-column: 5 / span 4;
    grid-row: 10 / span 3;
  }

  .tile-i {
    grid-column: 1 / span 4;
    grid-row: 10 / span 3;
  }

  .tile-j {
    grid-column: 1 / 5;
    grid-row: 13 / span 4;
    aspect-ratio: auto;
  }

  .tile-k {
    grid-column: 5 / span 4;
    grid-row: 13 / span 4;
    aspect-ratio: 1 / 1;
  }

  .about-mosaic {
    padding: 40px 20px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .about-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
    gap: 24px;
  }

  .about-line {
    display: none;
  }

  .about-card {
    max-width: none;
    text-align: center;
  }

  .about-card-left {
    transform: none;
  }

  .about-card-right {
    transform: none;
  }

  .about-card-left:last-of-type {
    transform: none;
  }

  .about-mosaic {
    padding: 40px 20px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .about-fan {
    width: 120px;
    height: 120px;
  }

  .bubble-tea-center {
    height: 350px;
    overflow: auto;
    padding: 32px 20px;
  }

  .bubble-tea-right {
    display: none;
  }

  .site-footer {
    padding-top: 32px;
    align-items: center;
    text-align: center;
    gap: 32px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 16px;
    padding-right: 16px;
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: center;
    width: 100%;
  }

  .footer-brand img {
    height: 64px;
  }

  .footer-social {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid currentColor;
    border-radius: 999px;
    display: grid;
    place-items: center;
  }

  .footer-content {
    justify-items: center;
  }

  .footer-form {
    width: 100%;
    max-width: 100%;
    justify-items: center;
  }

  .footer-newsletter {
    width: 100%;
  }

  .footer-form label {
    width: 100%;
  }

  .footer-form input,
  .footer-form button {
    width: 100%;
  }

  .footer-checkbox {
    justify-content: center;
  }
}
