:root {
  --sage-primary: #B2BDA0;
  --sage-dark: #9CAF88;
  --sage-light: #D4DEC9;
  --sage-muted: #E8EDE2;
  --gold-primary: #C9A84C;
  --gold-accent: #D4AF37;
  --gold-light: #E8D48B;
  --gold-muted: #F5EDD0;
  --cream-bg: #FAF9F6;
  --cream-warm: #F5F0E8;
  --dark-text: #2C2C2C;
  --dark-muted: #5A5A5A;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark-text);
  background-color: var(--cream-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

a { text-decoration: none; }

.brand-name {
  font-family: 'Great Vibes', cursive !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em;
}

.brand-cakery {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* Header */
.header {
  background: var(--cream-bg);
  border-bottom: 2px solid var(--sage-muted);
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(250, 249, 246, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  border-bottom-color: transparent;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--gold-primary);
  font-weight: 600;
  text-decoration: none;
}

.logo-image-link {
  display: inline-flex;
  align-items: center;
}

.logo-mark {
  display: block;
  width: 112px;
  height: auto;
}

.logo-signature {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: #dcc37b;
  text-shadow:
    0 1px 0 rgba(232, 237, 226, 0.95),
    0 0 1px rgba(156, 175, 136, 0.85),
    1px 1px 0 rgba(212, 222, 201, 0.75);
}

.logo-yodiths {
  font-family: 'Monsieur La Doulaise', cursive;
  font-size: 46px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.logo-cakery {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding: 0 0 4px 2px;
  border-bottom: 1px solid rgba(178, 189, 160, 0.8);
}

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

.nav a {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-text);
  text-decoration: none;
  margin-left: 32px;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(44,44,44,0.35), rgba(44,44,44,0.5)),
              url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?w=1920&q=80') center/cover;
  color: var(--white);
}

.hero-content h1 {
  font-size: 64px;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-content p {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* Buttons */
.btn-gold {
  display: inline-block;
  background: var(--gold-primary);
  color: var(--white);
  border: 2px solid var(--gold-primary);
  padding: 16px 40px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 8px;
}

.btn-gold:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
  transform: translateY(-2px);
}

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

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

.btn-sage {
  background: transparent;
  color: var(--cream-bg);
  border-color: var(--cream-bg);
}

.btn-sage:hover {
  background: var(--cream-bg);
  color: var(--sage-dark);
}

/* Section shared */
.section { padding: 80px 60px; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 38px;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--dark-muted);
  font-size: 17px;
}

.section-title .gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold-primary);
  margin: 16px auto 0;
}

/* About section */
.about {
  background: var(--sage-dark);
  color: var(--cream-bg);
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-img {
  flex: 0 0 400px;
  height: 500px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
  border: 3px solid rgba(201,168,76,0.3);
}

.about-text h2 {
  color: var(--gold-primary);
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--cream-bg);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 16px;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 1px solid var(--sage-muted);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 4px 20px rgba(201,168,76,0.15);
  transform: translateY(-4px);
}

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

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card-body .price {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.card-body p {
  color: var(--dark-muted);
  font-size: 14px;
}

/* CTA section */
.cta-section {
  background: var(--cream-warm);
  text-align: center;
  padding: 80px 60px;
}

.cta-section h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--dark-muted);
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-section a.inline-link {
  color: var(--gold-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
}

/* Contact */
.contact {
  background: var(--sage-dark);
  color: var(--cream-bg);
  display: flex;
  gap: 60px;
}

.contact-form { flex: 1; }
.contact-info { flex: 0 0 360px; }

.contact h2 {
  color: var(--gold-primary);
  font-size: 36px;
  margin-bottom: 24px;
}

.contact p {
  color: var(--cream-bg);
  margin-bottom: 12px;
}

.form-group { margin-bottom: 20px; }

.form-group input,
.form-group textarea,
.contact input,
.contact textarea {
  width: 100%;
  font-family: 'Lato', sans-serif;
  border: none;
  border-bottom: 2px solid var(--sage-light);
  background: transparent;
  color: var(--cream-bg);
  padding: 14px 4px;
  font-size: 15px;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.contact input::placeholder,
.contact textarea::placeholder {
  color: var(--sage-light);
  opacity: 0.8;
}

.form-group input:focus,
.form-group textarea:focus,
.contact input:focus,
.contact textarea:focus {
  border-bottom-color: var(--gold-primary);
}

.contact textarea,
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact .btn-gold:hover {
  background: var(--white);
  color: var(--gold-primary);
  border-color: var(--white);
}

.hours-list { list-style: none; }
.hours-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(212,222,201,0.3);
  display: flex;
  justify-content: space-between;
}

/* Standalone form (light bg) */
.form-light input,
.form-light textarea,
.form-light select {
  width: 100%;
  font-family: 'Lato', sans-serif;
  border: 2px solid var(--sage-muted);
  background: var(--white);
  color: var(--dark-text);
  padding: 14px 12px;
  font-size: 15px;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-light input::placeholder,
.form-light textarea::placeholder {
  color: var(--dark-muted);
  opacity: 0.6;
}

.form-light input:focus,
.form-light textarea:focus,
.form-light select:focus {
  border-color: var(--gold-primary);
}

.form-light textarea {
  resize: vertical;
  min-height: 120px;
}

.form-light label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 8px;
}

.form-light .form-group {
  margin-bottom: 24px;
}

.form-status {
  padding: 16px;
  border-radius: 4px;
  margin-top: 16px;
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--sage-muted);
  color: var(--sage-dark);
  border: 1px solid var(--sage-primary);
}

.form-status.error {
  display: block;
  background: #fde8e8;
  color: #c53030;
  border: 1px solid #feb2b2;
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  background: var(--sage-dark);
  color: var(--cream-bg);
  padding: 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 48px;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  color: var(--cream-bg);
  font-weight: 300;
}

/* Content wrapper */
.content-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.content-wide {
  max-width: 1100px;
  margin: 0 auto;
}

/* Premium custom orders page */
.custom-orders-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eff2ec 0%, #e2e8db 50%, #d4dec9 100%);
  color: var(--dark-text);
  padding: 78px 60px 150px;
}

.custom-orders-hero::after {
  content: '';
  position: absolute;
  inset: auto 60px 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.65), transparent);
}

.custom-orders-hero-inner {
  position: relative;
  z-index: 1;
}

.custom-orders-hero-copy {
  max-width: 940px;
  text-align: center;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.custom-orders-hero h1 {
  font-family: 'Fleur De Leah', 'Great Vibes', cursive;
  font-size: clamp(42px, 6vw, 82px);
  color: #d4ba78;
  margin-bottom: 10px;
  line-height: 1.18;
  max-width: 100%;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
}

.custom-orders-hero p {
  max-width: 640px;
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.9;
}

.custom-orders-quote-attribution {
  color: rgba(201, 168, 76, 0.92) !important;
  font-size: 18px !important;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: none;
  text-align: center;
  margin: 0 auto;
}

.hero-kicker-line {
  width: 92px;
  height: 2px;
  background: var(--gold-primary);
  margin-top: 28px;
}

.custom-orders-shell {
  position: relative;
  margin-top: -88px;
  z-index: 2;
}

.custom-orders-main {
  padding-top: 0;
}

.custom-orders-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.custom-orders-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 222, 201, 0.85);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(44, 44, 44, 0.08);
  backdrop-filter: blur(8px);
}

.custom-orders-intro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 232, 0.92));
}

.custom-orders-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 28px;
}

.custom-orders-image {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.custom-orders-image-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(44, 44, 44, 0.7);
  color: var(--cream-bg);
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.panel-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.custom-orders-copy h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.custom-form-header h2 {
  font-size: 38px;
  margin-bottom: 14px;
}

.other-dessert-group[hidden] {
  display: none;
}

.other-hear-group[hidden] {
  display: none;
}

.custom-orders-copy p,
.custom-form-header p,
.custom-orders-aside p {
  color: var(--dark-muted);
  font-size: 16px;
  line-height: 1.9;
}

.custom-orders-steps {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}

.custom-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
}

.custom-step:last-child {
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.custom-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-muted);
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.custom-step h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.custom-step p {
  color: var(--dark-muted);
  font-size: 15px;
  line-height: 1.8;
}

.custom-orders-aside {
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(212, 222, 201, 0.9);
}

.custom-orders-form-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 249, 246, 0.96));
}

.custom-form {
  margin-top: 28px;
}

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

.checkbox-chip {
  position: relative;
  display: block;
}

.checkbox-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-chip span {
  display: block;
  border: 1px solid var(--sage-muted);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark-text);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.3;
  transition: all 0.3s ease;
  cursor: pointer;
}

.checkbox-chip input:checked + span {
  background: var(--gold-muted);
  border-color: var(--gold-primary);
  color: var(--dark-text);
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.12);
}

.checkbox-chip span:hover {
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.form-note {
  color: var(--sage-dark);
  font-size: 13px;
  line-height: 1.8;
  margin: 4px 0 22px;
}

.custom-submit {
  width: 100%;
}

.custom-gallery-section {
  padding-top: 16px;
}

.custom-gallery-header {
  margin-bottom: 36px;
}

.custom-gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) rgba(212, 222, 201, 0.6);
}

.custom-gallery-card {
  display: block;
  padding: 0;
  border: 1px solid rgba(212, 222, 201, 0.9);
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(44, 44, 44, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.custom-gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 18px 38px rgba(201, 168, 76, 0.18);
}

.custom-gallery-card img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.menu-hero {
  position: relative;
  padding: 88px 24px 132px;
  background:
    linear-gradient(135deg, rgba(245, 240, 232, 0.96), rgba(232, 237, 226, 0.94)),
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 44%);
  overflow: hidden;
}

.menu-hero::after {
  content: '';
  position: absolute;
  inset: auto 72px 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.95), transparent);
}

.menu-hero-inner {
  position: relative;
  z-index: 1;
}

.menu-hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.menu-hero-logo {
  display: block;
  width: min(540px, 78vw);
  margin: 0 auto;
}

.menu-hero-label {
  margin-top: 18px;
  color: var(--gold-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.menu-shell {
  position: relative;
  margin-top: -88px;
  z-index: 2;
}

.menu-overview-section {
  padding-top: 0;
}

.menu-overview-grid,
.menu-bakery-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.menu-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 222, 201, 0.9);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(44, 44, 44, 0.08);
  backdrop-filter: blur(8px);
}

.menu-visual-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 240, 232, 0.92));
}

.menu-visual-frame {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 28px;
}

.menu-visual-image {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.menu-visual-copy h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.menu-visual-copy p,
.menu-summary-card p,
.menu-catalog-header p {
  color: var(--dark-muted);
  font-size: 16px;
}

.menu-bakery-copy h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.menu-bakery-lead {
  color: var(--dark-text);
  font-size: 18px;
  line-height: 1.9;
}

.menu-feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.menu-feature-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.24);
  color: var(--dark-text);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.menu-note-card {
  margin-top: 28px;
  padding: 24px 24px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245, 237, 208, 0.5), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.menu-note-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.menu-note-card p {
  color: var(--dark-muted);
}

.menu-bakery-visual {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 240, 232, 0.92));
}

.menu-summary-stack {
  display: grid;
  gap: 18px;
}

.menu-summary-card {
  padding: 24px 24px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245, 237, 208, 0.52), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.menu-summary-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.menu-catalog-section {
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(245, 240, 232, 0.74));
}

.menu-catalog-header {
  text-align: center;
  margin-bottom: 38px;
}

.menu-catalog-header h2 {
  margin-bottom: 12px;
}

.menu-catalog-header .gold-line {
  margin: 22px auto 0;
}

.menu-rotating-message {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 38px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(212, 222, 201, 0.85);
  box-shadow: 0 18px 38px rgba(44, 44, 44, 0.06);
  text-align: center;
}

.menu-rotating-message p {
  font-size: 20px;
  line-height: 1.9;
  color: var(--dark-muted);
}

.story-hero {
  position: relative;
  padding: 90px 24px 136px;
  background:
    linear-gradient(135deg, rgba(245, 240, 232, 0.95), rgba(232, 237, 226, 0.94)),
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.13), transparent 42%);
  overflow: hidden;
}

.story-hero::after {
  content: '';
  position: absolute;
  inset: auto 72px 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.95), transparent);
}

.story-hero-inner {
  position: relative;
  z-index: 1;
}

.story-hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.story-hero-copy h1 {
  font-size: clamp(42px, 5vw, 74px);
  margin-bottom: 14px;
}

.story-hero-copy p {
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.9;
}

.story-shell {
  position: relative;
  margin-top: -88px;
  z-index: 2;
}

.story-intro-section {
  padding-top: 0;
}

.story-page-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: 32px;
  align-items: start;
}

.story-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 222, 201, 0.88);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(44, 44, 44, 0.08);
  backdrop-filter: blur(8px);
}

.story-main-panel {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.story-image-frame {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 28px;
}

.story-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.story-article h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.story-article p,
.story-quote-card p {
  color: var(--dark-muted);
  font-size: 17px;
}

.story-article p + p,
.story-article h3 + p,
.story-article p + h3 {
  margin-top: 16px;
}

.story-article h3 {
  font-size: 26px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.story-quote-card {
  margin: 0;
  padding: 24px 24px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245, 237, 208, 0.52), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 18px 34px rgba(44, 44, 44, 0.05);
}

.story-quote-card p {
  font-size: 20px;
  line-height: 1.8;
  color: var(--dark-text);
}

.story-quote-left {
  grid-column: 1;
}

.story-quote-right {
  grid-column: 3;
}

.story-quote-first {
  grid-row: 1;
}

.story-quote-second {
  grid-row: 2;
}

.story-quote-third {
  grid-row: 3;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 400;
}

.gallery-modal.open {
  display: flex;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 246, 0.28);
  backdrop-filter: blur(2px);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.gallery-modal-frame {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,240,232,0.96));
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(44, 44, 44, 0.15);
}

.gallery-modal-frame img {
  display: block;
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fbf8f1;
}

.gallery-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gold-primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(44, 44, 44, 0.12);
  z-index: 2;
}

.gallery-modal-prev {
  left: -58px;
}

.gallery-modal-next {
  right: -58px;
}

.gallery-modal-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-primary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(44, 44, 44, 0.12);
}

/* Service cards for custom orders */
.service-card {
  background: var(--white);
  border: 1px solid var(--sage-muted);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 4px 20px rgba(201,168,76,0.1);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-card .price {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--dark-muted);
  line-height: 1.8;
}

/* Loading spinner */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--dark-muted);
}

.loading::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--sage-muted);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 12px;
  vertical-align: middle;
}

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

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Map container */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  border: 3px solid rgba(201,168,76,0.3);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* Footer */
.footer {
  background: var(--dark-text);
  color: var(--sage-light);
  padding: 40px 60px;
  text-align: center;
  border-top: 3px solid var(--gold-primary);
}

.footer a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer .social { margin: 16px 0; }
.footer .social a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  margin: 0 6px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  font-size: 14px;
}

.footer .social a:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--white);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 36px; }
  .page-hero h1 { font-size: 32px; }
  .about, .contact { flex-direction: column; }
  .about-img { flex: none; width: 100%; height: 300px; }
  .contact-info { flex: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .section { padding: 50px 24px; }
  .page-hero { padding: 40px 24px; }
  .custom-orders-hero {
    padding: 68px 24px 120px;
  }
  .menu-hero {
    padding: 68px 24px 120px;
  }
  .story-hero {
    padding: 68px 24px 120px;
  }
  .custom-orders-hero::after {
    inset: auto 24px 36px;
  }
  .menu-hero::after {
    inset: auto 24px 36px;
  }
  .story-hero::after {
    inset: auto 24px 36px;
  }
  .custom-orders-shell {
    margin-top: -56px;
  }
  .menu-shell {
    margin-top: -56px;
  }
  .story-shell {
    margin-top: -56px;
  }
  .custom-orders-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .menu-overview-grid,
  .menu-bakery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story-main-panel,
  .story-quote-left,
  .story-quote-right,
  .story-quote-first,
  .story-quote-second,
  .story-quote-third {
    grid-column: auto;
    grid-row: auto;
  }
  .custom-orders-panel {
    border-radius: 20px;
    padding: 24px;
  }
  .menu-panel,
  .menu-rotating-message {
    border-radius: 20px;
    padding: 24px;
  }
  .story-panel {
    border-radius: 20px;
    padding: 24px;
  }
  .custom-orders-copy h2,
  .custom-form-header h2 {
    font-size: 30px;
  }
  .menu-visual-copy h2,
  .menu-bakery-copy h2 {
    font-size: 30px;
  }
  .story-hero-copy h1,
  .story-article h2 {
    font-size: 30px;
  }
  .menu-bakery-lead,
  .menu-rotating-message p {
    font-size: 18px;
  }
  .story-hero-copy p,
  .story-article p,
  .story-quote-card p {
    font-size: 16px;
  }
  .story-article h3 {
    font-size: 24px;
  }
  .menu-hero-logo {
    width: min(420px, 84vw);
  }
  .menu-hero-label {
    font-size: 13px;
    letter-spacing: 0.32em;
  }
  .menu-visual-image {
    height: 280px;
  }
  .story-image {
    min-height: 320px;
  }
  .custom-orders-quote-attribution {
    font-size: 16px !important;
  }
  .interest-grid {
    grid-template-columns: 1fr;
  }
  .custom-gallery-grid {
    grid-auto-columns: minmax(160px, 160px);
  }
  .custom-gallery-card img {
    height: 160px;
  }
  .gallery-modal-dialog {
    width: min(88vw, 520px);
  }
  .gallery-modal-arrow {
    width: 42px;
    height: 42px;
  }
  .gallery-modal-prev {
    left: -10px;
  }
  .gallery-modal-next {
    right: -10px;
  }
  .custom-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .custom-step span {
    width: 42px;
    height: 42px;
  }
  .custom-orders-image {
    height: 280px;
  }
  .header { padding: 16px 24px; }
  .cta-section { padding: 50px 24px; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-bg);
    flex-direction: column;
    padding: 20px;
    border-bottom: 2px solid var(--sage-muted);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .nav.open { display: flex; }

  .nav a {
    margin: 8px 0;
    margin-left: 0;
    font-size: 15px;
  }

  .mobile-toggle { display: block; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 16px; }
  .btn-gold { padding: 14px 28px; font-size: 12px; }
}
