/* ========================================================
   The Baking Palette — Design Tokens
   Matched to the brand logo (wood-brown, cream, warm gold).
   ======================================================== */
:root {
  --color-cream: #f6ecd9;
  --color-cream-dark: #efe0c0;
  --color-blush: #e6c9a3;
  --color-blush-dark: #d3a86f;
  --color-gold: #c9a15a;
  --color-gold-dark: #a9803f;
  --color-brown: #3b2415;
  --color-brown-soft: #6b4a34;
  --color-white: #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 10px 30px rgba(61, 43, 31, 0.1);
  --shadow-strong: 0 16px 40px rgba(61, 43, 31, 0.18);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-brown);
  background: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Form controls do not inherit typography or colour from the page, so browsers
   fall back to their own defaults (blue button text on iOS/Safari). Pin them
   to the theme. */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  color: var(--color-brown);
  -webkit-appearance: none;
  appearance: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 620px;
  color: var(--color-brown-soft);
  font-size: 1.05rem;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-brown);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  box-shadow: var(--shadow-strong);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-brown);
  color: var(--color-brown);
}

.btn--outline:hover {
  background: var(--color-brown);
  color: var(--color-white);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-brown);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 246, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 161, 90, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brown);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 58px;
  width: 58px;
  object-fit: cover;
  border-radius: 50%;
}

.logo span.accent {
  color: var(--color-gold-dark);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a {
  color: var(--color-gold-dark);
}

.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after {
  width: 100%;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-brown);
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  background-color: var(--color-cream);
  background-image: radial-gradient(circle at 80% 20%, var(--color-blush) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, var(--color-cream-dark) 0%, transparent 50%);
  background-size: 160% 160%, 160% 160%;
  background-position: 0% 0%, 100% 100%;
  animation: hero-drift 16s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

@keyframes hero-drift {
  to { background-position: 20% 10%, 80% 90%; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  background: var(--color-white);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-gold-dark);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 20px;
}

.hero h1 .script {
  font-style: italic;
  color: var(--color-gold-dark);
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-brown-soft);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-brown);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: var(--color-brown-soft);
}

.hero-visual {
  position: relative;
}

/* ---------- Placeholder photo tiles ---------- */
.placeholder-tile {
  background: linear-gradient(135deg, var(--color-blush) 0%, var(--color-cream-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-brown-soft);
  text-align: center;
  padding: 20px;
  border: 2px dashed rgba(201, 161, 90, 0.4);
}

.placeholder-tile .icon {
  font-size: 2.4rem;
}

.placeholder-tile .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.hero-visual .placeholder-tile {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-strong);
}

.hero-visual .floating-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.floating-card strong {
  display: block;
  font-size: 0.95rem;
}

.floating-card span {
  font-size: 0.8rem;
  color: var(--color-brown-soft);
}

/* ---------- Highlights / Feature cards ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.highlight-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.highlight-card .icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--color-brown-soft);
  font-size: 0.95rem;
}

/* ---------- Gallery preview / grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-grid.gallery-grid--home {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item .placeholder-tile {
  height: 100%;
  border-radius: var(--radius-md);
  transition: transform var(--transition);
}

.gallery-item:hover .placeholder-tile {
  transform: scale(1.04);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(61, 43, 31, 0.2);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-brown);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-brown);
  color: var(--color-white);
  border-color: var(--color-brown);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(61, 43, 31, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 40px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 560px;
  width: 100%;
  aspect-ratio: 4/5;
}

.lightbox-content .placeholder-tile {
  height: 100%;
  border-radius: var(--radius-lg);
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 40px;
  color: var(--color-white);
  line-height: 1;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Menu / Pricing ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.menu-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.menu-card-header h3 {
  font-size: 1.35rem;
}

.menu-card-header .from-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-gold-dark);
  white-space: nowrap;
}

.menu-card p.desc {
  color: var(--color-brown-soft);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(61, 43, 31, 0.15);
  padding-bottom: 10px;
  font-size: 0.95rem;
}

.menu-list li span:last-child {
  font-weight: 600;
  color: var(--color-brown);
}

.menu-note {
  text-align: center;
  margin-top: 48px;
  color: var(--color-brown-soft);
  font-size: 0.95rem;
}

/* ---------- Base rate tiles (Menu page) ---------- */

.values-grid.values-grid--rates {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.values-grid.values-grid--rates .value-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
}

.values-grid.values-grid--rates .value-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-gold-dark);
  margin-bottom: 8px;
}

.values-grid.values-grid--rates .value-item p {
  font-size: 0.9rem;
}

/* ---------- Terms & conditions list ---------- */

.terms-list {
  list-style: none;
  counter-reset: term;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.terms-list li {
  counter-increment: term;
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px 26px 24px 68px;
  color: var(--color-brown-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.terms-list li::before {
  content: counter(term);
  position: absolute;
  top: 24px;
  left: 24px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-gold-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terms-list li strong {
  display: block;
  color: var(--color-brown);
  font-size: 1rem;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .terms-list,
  .values-grid.values-grid--rates {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card .stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-card p.quote {
  font-style: italic;
  color: var(--color-brown-soft);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-brown);
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--color-brown-soft);
}

.review-cta {
  text-align: center;
  margin-top: 56px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
}

.review-cta h2,
.review-cta h3 {
  margin-bottom: 12px;
}

.review-cta p {
  color: var(--color-brown-soft);
  margin-bottom: 24px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-grid .placeholder-tile {
  aspect-ratio: 4/5;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-brown-soft);
  margin-bottom: 18px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
}

.value-item .icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--color-brown-soft);
}

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--color-brown);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.process-step h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.process-step p {
  color: var(--color-brown-soft);
  font-size: 0.9rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-brown) 0%, #2a1d14 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  margin: 0 24px;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-brown);
  color: rgba(255, 255, 255, 0.85);
  padding: 72px 0 28px;
  margin-top: 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-gold);
}

/* Small brand mark sitting before a footer link's text. */
.footer-col .link-icon {
  display: inline-flex;
  vertical-align: -3px;
  margin-right: 7px;
}

.footer-col .link-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Cake tile label (gallery links to a cake page) ---------- */

.gallery-item-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(to top, rgba(61, 43, 31, 0.86), rgba(61, 43, 31, 0));
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-item-label,
.gallery-item:focus-visible .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* Always readable on touch screens, where there is no hover. */
@media (hover: none) {
  .gallery-item-label {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Single cake page ---------- */

.cake-breadcrumb {
  font-size: 0.85rem;
  color: var(--color-brown-soft);
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cake-breadcrumb a {
  color: var(--color-gold-dark);
}

.cake-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: start;
}

.cake-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: block;
}

.cake-info .section-title {
  margin-bottom: 18px;
}

.cake-description {
  color: var(--color-brown-soft);
  margin-bottom: 28px;
}

.cake-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  padding: 26px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}

.cake-details dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 3px;
}

.cake-details dd {
  margin: 0;
  color: var(--color-brown);
  font-weight: 500;
}

.cake-note {
  font-size: 0.9rem;
  color: var(--color-brown-soft);
  margin-bottom: 26px;
}

.cake-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cake-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 999;
  margin: 0;
  padding: 12px 22px;
  max-width: min(420px, 90vw);
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-brown);
  background: var(--color-white);
  border: 1px solid var(--color-blush-dark);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(59, 36, 21, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cake-copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cake-copy-toast::before {
  content: '✓ ';
  color: var(--color-gold-dark);
}

.cake-related {
  margin-top: 80px;
}

.cake-related .section-title {
  text-align: center;
  margin-bottom: 32px;
}

@media (max-width: 860px) {
  .cake-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cake-photo img {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .cake-details {
    grid-template-columns: 1fr;
  }
}

/* ---------- Keyboard accessibility ---------- */

/* Visible focus ring for keyboard users (mouse clicks stay unchanged). */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.filter-btn:focus-visible,
.nav-toggle:focus-visible,
.gallery-item:focus-visible {
  outline: 3px solid var(--color-gold-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link: hidden until focused, then pinned to the top of the page. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--color-brown);
  color: var(--color-white);
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 160px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, var(--color-blush) 0%, transparent 60%), var(--color-cream);
}

/* ---------- Occasion cards ---------- */
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.occasion-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.occasion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.occasion-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.occasion-body {
  padding: 26px 26px 30px;
}

.occasion-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.occasion-body p {
  font-size: 0.95rem;
  color: var(--color-brown-soft);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-gold-dark);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 14px;
  color: var(--color-brown-soft);
  font-size: 0.95rem;
}

.faq-item a {
  color: var(--color-gold-dark);
  font-weight: 500;
}

/* ---------- CTA banner actions ---------- */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 380px;
    margin: 0 auto;
  }

  .highlights-grid,
  .occasion-grid,
  .gallery-grid.gallery-grid--home,
  .testimonials-grid,
  .process-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Keep the footer's link columns side by side instead of stacking them
     into one very long list. */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .about-grid .placeholder-tile {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--color-white);
    justify-content: center;
    transition: right var(--transition);
    box-shadow: var(--shadow-strong);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links-list {
    flex-direction: column;
    gap: 28px;
  }

  /* The hamburger is the only way into the menu on a phone, so give it a
     real 44px tap target and a visible outline next to the order button. */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(61, 43, 31, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
  }

  .nav-toggle span {
    width: 20px;
  }

  .navbar .container,
  .nav-cta {
    gap: 12px;
  }

  .nav-cta .btn {
    padding: 10px 18px;
    font-size: 0.82rem;
  }

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

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

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

  .nav-cta .btn span.btn-text {
    display: none;
  }

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

  .cta-banner {
    padding: 48px 28px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 64px 0;
  }

  .hero-stats {
    gap: 24px;
  }

  .gallery-grid,
  .gallery-grid.gallery-grid--home {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Card grids stay two-up down to 560px; below that the tracks get
     narrower than the cards' own content and push the page sideways,
     so they stack instead. */
  .highlights-grid,
  .occasion-grid,
  .testimonials-grid,
  .menu-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlights-grid > *,
  .occasion-grid > *,
  .testimonials-grid > *,
  .menu-grid > *,
  .process-grid > *,
  .values-grid > *,
  .gallery-grid > * {
    min-width: 0;
  }

  .highlight-card {
    padding: 32px 24px;
  }

  .testimonial-card,
  .menu-card {
    padding: 26px 22px;
  }

  .occasion-body {
    padding: 22px 20px 26px;
  }

  .menu-card-header {
    flex-wrap: wrap;
    gap: 6px;
  }

  .faq-item {
    padding: 18px 20px;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* Two link columns side by side, with "Find Us" running across the
     bottom, so the footer stays short on a phone. */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 24px;
    margin-bottom: 28px;
  }

  .footer-grid > :first-child,
  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .footer-grid > :last-child ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .footer-col ul {
    gap: 8px;
  }

  .footer-col a {
    font-size: 0.85rem;
  }

  .site-footer {
    padding: 48px 0 24px;
    margin-top: 64px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ========================================================
   Dynamic & Modern Enhancements
   ======================================================== */

/* ---------- Navbar scroll state ---------- */
.navbar {
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar .container {
  transition: height var(--transition);
}

.navbar.scrolled {
  background: rgba(253, 246, 238, 0.97);
  box-shadow: 0 8px 24px rgba(61, 43, 31, 0.12);
}

.navbar.scrolled .container {
  height: 68px;
}

.logo img {
  transition: height var(--transition), width var(--transition);
}

.navbar.scrolled .logo img {
  height: 44px;
  width: 44px;
}

/* ---------- Shimmering script text ---------- */
.hero h1 .script {
  background: linear-gradient(90deg, var(--color-gold-dark) 0%, var(--color-gold) 25%, var(--color-blush-dark) 50%, var(--color-gold) 75%, var(--color-gold-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  to { background-position: -200% center; }
}

/* ---------- Hero entrance ---------- */
.hero-text > * {
  opacity: 0;
  animation: fade-up 0.8s ease forwards;
}

.hero-text > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text > *:nth-child(2) { animation-delay: 0.15s; }
.hero-text > *:nth-child(3) { animation-delay: 0.25s; }
.hero-text > *:nth-child(4) { animation-delay: 0.35s; }
.hero-text > *:nth-child(5) { animation-delay: 0.45s; }

.hero-visual {
  opacity: 0;
  animation: fade-up 0.9s ease forwards;
  animation-delay: 0.3s;
}

.page-header .container > * {
  opacity: 0;
  animation: fade-up 0.7s ease forwards;
}

.page-header .container > *:nth-child(1) { animation-delay: 0.05s; }
.page-header .container > *:nth-child(2) { animation-delay: 0.15s; }
.page-header .container > *:nth-child(3) { animation-delay: 0.25s; }

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

/* ---------- Button shine sweep ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.btn--outline::before {
  background: linear-gradient(120deg, transparent 30%, rgba(201, 161, 90, 0.35) 50%, transparent 70%);
}

.btn:hover::before {
  transform: translateX(120%);
}

/* ---------- Floating dessert particles ---------- */
.hero,
.page-header,
.cta-banner {
  position: relative;
}

.hero > .container,
.page-header > .container,
.cta-banner > * {
  position: relative;
  z-index: 1;
}

.bg-sprinkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-sprinkles .sprinkle {
  position: absolute;
  bottom: -10%;
  left: var(--sx, 50%);
  font-size: var(--ssize, 1.2rem);
  opacity: 0;
  animation: sprinkle-float var(--sdur, 12s) linear infinite;
  animation-delay: var(--sdelay, 0s);
  filter: drop-shadow(0 4px 8px rgba(61, 43, 31, 0.15));
}

@keyframes sprinkle-float {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.6; }
  92% { opacity: 0.55; }
  100% { transform: translateY(-115vh) rotate(360deg); opacity: 0; }
}

/* ---------- Floating card bob + orbit ring ---------- */
.hero-visual .floating-card {
  animation: fade-up 0.9s ease forwards, bob 4.5s ease-in-out 0.9s infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-visual .placeholder-tile {
  position: relative;
}

.hero-visual .placeholder-tile::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  border: 2px dashed rgba(201, 161, 90, 0.5);
  animation: spin-slow 24s linear infinite;
  z-index: -1;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* ---------- Tilt cards (JS-driven) ---------- */
.highlights-grid,
.testimonials-grid,
.menu-grid {
  perspective: 1200px;
}

.highlight-card,
.testimonial-card,
.menu-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow var(--transition);
}

.testimonial-card:hover,
.menu-card:hover {
  box-shadow: var(--shadow-strong);
}

/* ---------- Icon wiggle on hover ---------- */
.highlight-card:hover .icon,
.value-item:hover .icon,
.process-step:hover .step-number {
  animation: wiggle 0.6s ease;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-10deg) scale(1.12); }
  75% { transform: rotate(10deg) scale(1.12); }
}

/* ---------- Staggered / richer reveal ---------- */
.reveal {
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

.reveal.visible {
  filter: blur(0);
}

.highlights-grid .reveal:nth-child(1) { transition-delay: 0s; }
.highlights-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.highlights-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

.gallery-grid .reveal:nth-child(3n+1) { transition-delay: 0s; }
.gallery-grid .reveal:nth-child(3n+2) { transition-delay: 0.08s; }
.gallery-grid .reveal:nth-child(3n+3) { transition-delay: 0.16s; }

.process-grid .reveal:nth-child(1) { transition-delay: 0s; }
.process-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.process-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.process-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* Stagger repeats every 4 cards so it still works however many there are. */
.testimonials-grid .reveal:nth-child(4n+1) { transition-delay: 0s; }
.testimonials-grid .reveal:nth-child(4n+2) { transition-delay: 0.12s; }
.testimonials-grid .reveal:nth-child(4n+3) { transition-delay: 0.24s; }
.testimonials-grid .reveal:nth-child(4n+4) { transition-delay: 0.36s; }

.menu-grid .reveal:nth-child(1) { transition-delay: 0s; }
.menu-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.menu-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.menu-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.menu-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.menu-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

.about-grid .reveal:nth-child(1) { transition-delay: 0s; }
.about-grid .reveal:nth-child(2) { transition-delay: 0.15s; }

/* ---------- Gallery hover overlay + lightbox motion ---------- */
.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(61, 43, 31, 0.35);
  color: var(--color-white);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.lightbox-content {
  transform: scale(0.9);
  transition: transform var(--transition);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

/* ---------- CTA banner icing-drip edge ---------- */
.cta-banner {
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: radial-gradient(circle at 12px 0, transparent 11px, var(--color-cream) 12px) 0 0 / 24px 24px repeat-x;
  z-index: 2;
}

/* ---------- Back to top button ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-white);
  border: none;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  transform: translateY(16px) scale(0.8);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .hero-text > *,
  .hero-visual,
  .page-header .container > * {
    opacity: 1;
  }

  .bg-sprinkles {
    display: none;
  }
}
