:root {
  --paper: #fff5f0;
  --paper-strong: #f0d9d1;
  --ink: #242424;
  --muted: #626262;
  --line: #d9c1b9;
  --accent: #e78d7e;
  --accent-dark: #b95d4e;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 18px 60px rgba(51, 51, 51, 0.14);
  --nav-height: 72px;
  --container: 1220px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(84px, 10vw, 150px);
}

.section h2,
.visit-section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading {
  max-width: 750px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-heading p {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.section-kicker,
.hero-kicker {
  margin: 0 0 20px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--accent-dark);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--white);
  transition: background 240ms var(--ease-out), border-color 240ms var(--ease-out), color 240ms var(--ease-out), backdrop-filter 240ms var(--ease-out);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.72;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(51, 51, 51, 0.14);
  background: var(--accent);
  color: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(calc(100% - 40px), 1360px);
  height: var(--nav-height);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 236px;
  height: 60px;
  overflow: hidden;
}

.brand img,
.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
  min-width: 0;
}

.desktop-nav a,
.mobile-menu a,
.site-footer nav a {
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header .desktop-nav a,
.site-header .nav-cta,
.site-header .menu-toggle {
  color: inherit;
}

.site-header .nav-cta,
.site-header .menu-toggle {
  border-color: currentColor;
}

.desktop-nav a {
  position: relative;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease-out);
}

.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.nav-cta:active,
.menu-toggle:active,
.button:active,
.gallery-item:active {
  transform: scale(0.97);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: #4a4a4a;
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -10%;
  width: min(72vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 218, 201, 0.34) 0%, rgba(255, 218, 201, 0.12) 38%, transparent 70%);
  content: "";
  opacity: 0.9;
  pointer-events: none;
  transform: translate3d(5%, -3%, 0) scale(0.92);
  animation: hero-light-drift 14s var(--ease-in-out) infinite alternate;
  will-change: transform, opacity;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.10) 100%);
  content: "";
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 72% 50%;
  animation: hero-settle 1.2s var(--ease-out) both, hero-breathe 13s 1.2s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  padding: calc(var(--nav-height) + 42px) 0 clamp(48px, 8vh, 92px);
  text-align: right;
  animation: hero-copy-in 900ms 160ms var(--ease-out) both;
}

.hero-bloom {
  position: absolute;
  z-index: 1;
  top: 18%;
  left: clamp(28px, 7vw, 110px);
  width: clamp(116px, 14vw, 220px);
  aspect-ratio: 1;
  opacity: 0.76;
  pointer-events: none;
  animation: bloom-float 6.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 14px 28px rgba(36, 36, 36, 0.16));
  will-change: transform;
}

.hero-bloom-rotor {
  position: relative;
  width: 100%;
  height: 100%;
  animation: bloom-turn 22s linear infinite;
  will-change: transform;
}

.hero-bloom .petal {
  position: absolute;
  top: 10%;
  left: 42%;
  width: 24%;
  height: 42%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 54% 54% 48% 48%;
  background: rgba(231, 141, 126, 0.11);
  transform-origin: 50% 95%;
}

.hero-bloom .petal-one { transform: rotate(0deg); }
.hero-bloom .petal-two { transform: rotate(72deg); }
.hero-bloom .petal-three { transform: rotate(144deg); }
.hero-bloom .petal-four { transform: rotate(216deg); }
.hero-bloom .petal-five { transform: rotate(288deg); }

.hero-bloom i {
  position: absolute;
  top: 44%;
  left: 46%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12);
}

.hero-kicker {
  color: rgba(255, 253, 253, 0.9);
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 0 auto;
  color: var(--white);
  font-size: clamp(3.1rem, 6.5vw, 6rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero-copy {
  max-width: 410px;
  margin: 24px 0 0 auto;
  color: rgba(255, 253, 253, 0.94);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.button::after {
  position: absolute;
  inset: -60% auto -60% -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: skewX(-18deg) translateX(0);
  transition: transform 520ms var(--ease-out), opacity 180ms var(--ease-out);
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
}

.button-light {
  border-color: rgba(255, 253, 253, 0.72);
  background: rgba(51, 51, 51, 0.24);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


.fact-rail {
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.fact-shell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, var(--container));
  margin-inline: auto;
}

.fact-shell div {
  display: grid;
  gap: 4px;
  min-height: 116px;
  align-content: center;
  padding: 20px clamp(20px, 4vw, 52px);
}

.fact-shell div + div {
  border-left: 1px solid var(--line);
}

.fact-shell strong {
  color: var(--accent-dark);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.fact-shell span {
  color: var(--muted);
  font-size: 0.86rem;
}

.brand-ribbon {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: var(--paper);
}

.brand-ribbon-track {
  display: flex;
  width: max-content;
  padding-block: 15px 14px;
  animation: ribbon-flow 22s linear infinite;
  will-change: transform;
}

.brand-ribbon span {
  flex: none;
  padding-right: 0.4em;
  font-size: clamp(0.84rem, 1.35vw, 1.05rem);
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.ratio-3x4 {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.ratio-3x4 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media {
  grid-column: 1 / span 5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-media img {
  object-position: 43% 50%;
}

.story-copy {
  grid-column: 7 / span 6;
}

.story-copy h2 {
  max-width: 650px;
}

.story-copy > p:not(.section-kicker) {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
}

.story-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 30px;
}

.story-details span {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.menu-section {
  border-block: 1px solid var(--accent-dark);
  background: var(--accent);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.menu-card {
  min-width: 0;
  transition: transform 280ms var(--ease-out);
}

.menu-media {
  border-radius: var(--radius);
  background: #f2ddd7;
  box-shadow: 0 14px 36px rgba(36, 36, 36, 0.1);
  transition: box-shadow 280ms var(--ease-out), transform 280ms var(--ease-out);
}

.menu-media img {
  animation: image-breathe-a 10s ease-in-out infinite alternate;
  will-change: transform;
}

.menu-card:nth-child(2) .menu-media img {
  animation-name: image-breathe-b;
  animation-duration: 12s;
  animation-delay: -4s;
}

.menu-card:nth-child(3) .menu-media img {
  animation-duration: 11s;
  animation-delay: -7s;
}

.menu-card:nth-child(1) .menu-media img {
  object-position: 50% 53%;
}

.menu-card:nth-child(2) .menu-media img {
  object-position: 50% 72%;
}

.menu-card:nth-child(3) .menu-media img {
  object-position: 50% 54%;
}

.menu-card h3 {
  margin: 24px 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  transition: transform 280ms var(--ease-out);
}

.menu-card p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-item {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #f2ddd7;
  cursor: zoom-in;
  box-shadow: none;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.gallery-item img {
  animation: image-breathe-b 12s ease-in-out infinite alternate;
  will-change: transform;
}

.gallery-item:nth-child(2n) img {
  animation-name: image-breathe-a;
  animation-duration: 14s;
  animation-delay: -5s;
}

.gallery-item:nth-child(3n) img {
  animation-duration: 11s;
  animation-delay: -8s;
}

.gallery-item:nth-child(1) img {
  object-position: 50% 50%;
}

.gallery-item:nth-child(2) img {
  object-position: 50% 52%;
}

.gallery-item:nth-child(3) img {
  object-position: 35% 53%;
}

.gallery-item:nth-child(4) img {
  object-position: 58% 53%;
}

.gallery-item:nth-child(5) img {
  object-position: 50% 48%;
}

.gallery-item:nth-child(6) img {
  object-position: 50% 54%;
}

.reviews-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--accent-dark);
  background: var(--accent);
  padding-block: clamp(24px, 4vw, 56px) clamp(30px, 4vw, 56px);
}

.reviews-section::before {
  position: absolute;
  z-index: -1;
  top: -70%;
  left: -12%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 245, 240, 0.42) 0%, rgba(255, 245, 240, 0.12) 40%, transparent 70%);
  content: "";
  opacity: 0.8;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  animation: review-glow 13s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.reviews-heading {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(32px, 4vw, 56px);
}

.reviews-heading .rating-number {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.reviews-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.reviews-heading div p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
}

.review {
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out);
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}

.review-meta .review-author,
.review-meta .stars {
  margin: 0;
}

.review-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  object-fit: cover;
  animation: avatar-float 4.8s ease-in-out infinite alternate;
  will-change: transform;
}

.review:nth-child(2) .review-avatar {
  animation-delay: -1.6s;
}

.review:nth-child(3) .review-avatar {
  animation-delay: -3.2s;
}

.stars {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  animation: stars-pulse 3.6s ease-in-out infinite alternate;
}

.review-text {
  margin: 12px 0 14px;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.4;
}

.review-author {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.review a {
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 750;
}

.visit-section {
  padding-block: clamp(84px, 10vw, 150px);
  background: var(--paper);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.5fr);
  align-items: stretch;
  gap: clamp(42px, 7vw, 96px);
}

.visit-copy address {
  margin-top: 32px;
  color: var(--muted);
  font-style: normal;
  font-size: 1.06rem;
}

.phone-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-dark);
  font-size: 1.15rem;
  font-weight: 750;
}

.hours {
  max-width: 440px;
  margin: 38px 0 32px;
}

.hours h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.hours div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.91rem;
}

.hours strong {
  color: var(--ink);
  font-weight: 700;
}

.hygiene-link {
  display: block;
  max-width: 280px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.4;
}

.hygiene-link span {
  color: var(--muted);
  font-weight: 500;
}

.map-wrap {
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #efe7e3;
  box-shadow: var(--shadow);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--accent-dark);
  padding: 68px 0 24px;
  background: var(--accent);
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  right: -3%;
  bottom: -0.34em;
  color: rgba(36, 36, 36, 0.075);
  content: "PINK GINGER · PINK GINGER ·";
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
  pointer-events: none;
  white-space: nowrap;
  animation: footer-wordscape 12s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.5fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  width: 230px;
  height: 104px;
  animation: footer-logo-float 5.8s ease-in-out infinite alternate;
  will-change: transform;
}

.footer-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-grid a {
  font-weight: 700;
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.copyright {
  width: min(calc(100% - 40px), var(--container));
  margin: 64px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(28, 24, 27, 0.96);
  color: var(--white);
}

.lightbox::backdrop {
  background: rgba(28, 24, 27, 0.96);
}

.lightbox-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  padding: 18px;
}

.lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transform-origin: center;
}

.lightbox button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 253, 253, 0.5);
  border-radius: 8px;
  background: rgba(255, 253, 253, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background 180ms var(--ease-out), transform 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.lightbox-close {
  justify-self: end;
  margin-bottom: 12px;
}

.lightbox-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
}

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

.menu-grid .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2),
.reviews-grid .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.menu-grid .reveal:nth-child(3),
.gallery-grid .reveal:nth-child(3),
.reviews-grid .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.gallery-grid .reveal:nth-child(4) { transition-delay: 60ms; }
.gallery-grid .reveal:nth-child(5) { transition-delay: 150ms; }
.gallery-grid .reveal:nth-child(6) { transition-delay: 240ms; }

@keyframes hero-settle {
  from {
    opacity: 0.84;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@keyframes hero-light-drift {
  0% {
    opacity: 0.55;
    transform: translate3d(5%, -3%, 0) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate3d(-10%, 11%, 0) scale(1.12);
  }
}

@keyframes bloom-float {
  from { transform: translate3d(0, -10px, 0) scale(0.96); }
  to { transform: translate3d(14px, 14px, 0) scale(1.04); }
}

@keyframes bloom-turn {
  to { transform: rotate(360deg); }
}

@keyframes ribbon-flow {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes image-breathe-a {
  from { transform: scale(1.015) translate3d(-0.6%, -0.4%, 0); }
  to { transform: scale(1.07) translate3d(1.2%, 0.8%, 0); }
}

@keyframes image-breathe-b {
  from { transform: scale(1.06) translate3d(1%, -0.6%, 0); }
  to { transform: scale(1.015) translate3d(-0.8%, 1%, 0); }
}

@keyframes review-glow {
  from {
    opacity: 0.58;
    transform: translate3d(-5%, -4%, 0) scale(0.92);
  }
  to {
    opacity: 0.92;
    transform: translate3d(54%, 22%, 0) scale(1.18);
  }
}

@keyframes avatar-float {
  from { transform: translate3d(0, -2px, 0) rotate(-2deg); }
  to { transform: translate3d(0, 4px, 0) rotate(2deg); }
}

@keyframes stars-pulse {
  from { opacity: 0.66; }
  to { opacity: 1; }
}

@keyframes footer-wordscape {
  from {
    opacity: 0.6;
    transform: translate3d(3%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(-4%, -5%, 0);
  }
}

@keyframes footer-logo-float {
  from { transform: translate3d(0, -2px, 0); }
  to { transform: translate3d(7px, 5px, 0); }
}

@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav-cta:hover,
  .menu-toggle:hover {
    background: var(--ink);
    color: var(--white);
  }

  .button-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
  }

  .button-light:hover {
    background: rgba(36, 36, 36, 0.52);
    transform: translateY(-2px);
  }

  .button:hover::after {
    opacity: 1;
    transform: skewX(-18deg) translateX(610%);
  }

  .menu-card:hover {
    transform: translateY(-7px);
  }

  .menu-card:hover .menu-media {
    box-shadow: 0 24px 54px rgba(36, 36, 36, 0.18);
    transform: rotate(-0.7deg);
  }

  .menu-card:nth-child(2):hover .menu-media {
    transform: rotate(0.7deg);
  }

  .menu-card:hover h3 {
    transform: translateX(5px);
  }

  .gallery-item:hover {
    transform: translateY(-8px) rotate(-0.45deg);
    box-shadow: var(--shadow);
  }

  .gallery-item:nth-child(even):hover {
    transform: translateY(-8px) rotate(0.45deg);
  }

  .review:hover {
    border-color: rgba(36, 36, 36, 0.54);
    transform: translateY(-5px);
  }

  .map-wrap:hover {
    box-shadow: 0 26px 70px rgba(36, 36, 36, 0.18);
    transform: translateY(-4px);
  }

  .lightbox button:hover {
    border-color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
}

@media (max-width: 900px) {
  .nav-shell {
    grid-template-columns: minmax(160px, 1fr) auto;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: grid;
    gap: 0;
    padding: 0 20px 20px;
    background: var(--paper);
    color: var(--ink);
    animation: mobile-menu-in 280ms var(--ease-drawer) both;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .story-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .story-media,
  .story-copy {
    grid-column: auto;
  }

  .story-media {
    width: min(100%, 560px);
  }

  .menu-grid {
    gap: 20px;
  }

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

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 500px;
  }
}

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

  .container,
  .nav-shell,
  .hero-content,
  .copyright {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding-block: 82px;
  }

  .brand {
    width: 210px;
    height: 52px;
  }

  .menu-toggle {
    min-height: 42px;
    padding-inline: 15px;
  }

  .hero-image {
    object-position: 72% 50%;
  }

  .hero::before {
    top: -4%;
    right: -46%;
    width: 130vw;
    opacity: 0.72;
  }

  .hero-bloom {
    top: 19%;
    left: 18px;
    width: 112px;
    opacity: 0.62;
  }

  .hero-content {
    padding-bottom: max(42px, env(safe-area-inset-bottom));
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 10vw, 3.15rem);
    line-height: 0.94;
  }

  .hero-copy {
    max-width: 310px;
    font-size: 1.05rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 0;
    padding-inline: 16px;
  }

  .fact-shell div {
    min-height: 94px;
    padding: 16px 10px;
    text-align: center;
  }

  .fact-shell strong {
    font-size: 1.05rem;
  }

  .fact-shell span {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .brand-ribbon-track {
    animation-duration: 17s;
  }

  .brand-ribbon span {
    font-size: 0.76rem;
  }

  .menu-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .gallery-grid {
    gap: 16px;
  }

  .reviews-heading {
    align-items: center;
    gap: 18px;
  }

  .reviews-heading .rating-number {
    font-size: 4.8rem;
  }

  .visit-copy .button {
    width: 100%;
  }

  .hours div {
    gap: 12px;
    font-size: 0.84rem;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer nav {
    grid-template-columns: repeat(2, max-content);
    gap: 10px 28px;
  }

  .copyright {
    margin-top: 44px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-image,
  .menu-media img,
  .gallery-item img,
  .review-avatar,
  .footer-logo,
  .hero-bloom,
  .hero-bloom-rotor,
  .brand-ribbon-track {
    transform: none !important;
  }

  .hero-bloom {
    display: none;
  }

  .brand-ribbon-track {
    width: 100%;
  }

  .brand-ribbon span {
    width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
  }

  .brand-ribbon span + span {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.is-scrolled {
    background: var(--accent);
  }

  .button-light {
    background: rgba(51, 51, 51, 0.72);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
