/*
Theme Name: Simply Sour Custom Theme by Gravity Projex
Theme URI: https://simplysour.com.au
Author: Gravity Projex
Author URI: https://gravityprojex.com.au
Description: Enterprise-grade custom WordPress theme for Simply Sour, a Brisbane sourdough bakery, with online pickup ordering and the Gravity Projex client portal.
Version: 5.0.5
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 8.5
Text Domain: simplysour
License: Gravity Projex Proprietary License
PROPRIETARY SOFTWARE LICENSE - GRAVITY PROJEX
Copyright (c) 2026 Gravity Projex. All Rights Reserved.
Unauthorised copying, modification, distribution or sale prohibited.
Contact: admin@gravityprojex.com | https://gravityprojex.com.au
*/

:root {
  --ss-primary: #FBD1A7;
  --ss-primary-hover: #f5c08a;
  --ss-primary-muted: rgba(251,209,167,0.12);
  --ss-dark: #353C42;
  --ss-gray: #607178;
  --ss-light-gray: #5f6f76;
  --ss-crust: #A0582A;
  --ss-bg: #ffffff;
  --ss-bg-warm: #faf9f7;
  --ss-border: #d9dfe2;
  --ss-white: #ffffff;
  --ss-danger: #b9382f;
  --ss-success: #2f7a5b;
  --ss-warning: #e6a23c;
  --ss-info: #607178;
  --header-height: 72px;
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--ss-dark);
  background: var(--ss-bg);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Oswald', -apple-system, sans-serif; font-weight: 700; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.02em; }
a { color: inherit; text-decoration: none; }
.serif { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; color: var(--ss-crust); font-weight: 400; text-transform: none; letter-spacing: normal; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.site-header { background: var(--ss-white); border-bottom: 1px solid var(--ss-border); position: sticky; top: 0; z-index: 1000; height: var(--header-height); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.header-logo img { height: 40px; width: auto; display: block; }
.header-logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ss-dark); }

.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; list-style: none; gap: 2rem; align-items: center; }
.main-nav li { margin: 0; }
.main-nav a { color: var(--ss-gray); font-size: 0.9375rem; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover { color: var(--ss-dark); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
#cart-toggle { position: relative; background: none; border: 1.5px solid var(--ss-border); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; padding: 0; }
#cart-toggle:hover { border-color: var(--ss-gray); }
#cart-toggle svg { width: 20px; height: 20px; stroke: var(--ss-dark); }
#cart-count { position: absolute; top: -6px; right: -6px; background: var(--ss-primary); color: var(--ss-dark); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 700; }

.hamburger { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ss-dark); transition: all 0.3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-overlay { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); z-index: 998; opacity: 0; transition: opacity 0.3s; }
.mobile-nav-overlay.open { opacity: 1; }
.mobile-nav { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--ss-white); z-index: 999; transform: translateY(-100%); transition: transform 0.3s ease; border-bottom: 1px solid var(--ss-border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); max-height: calc(100vh - var(--header-height)); overflow-y: auto; }
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { list-style: none; padding: 0.5rem 0; }
.mobile-nav li { border-bottom: 1px solid var(--ss-border); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a { display: block; padding: 1rem 1.5rem; color: var(--ss-dark); font-size: 1.0625rem; font-weight: 500; transition: background 0.2s; }
.mobile-nav a:hover { background: var(--ss-bg); }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .mobile-nav-overlay { display: block; pointer-events: none; }
  .mobile-nav-overlay.open { pointer-events: auto; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; background: var(--ss-primary); color: var(--ss-dark); border: 2px solid transparent; border-radius: 9999px; font-family: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.25s; white-space: nowrap; line-height: 1; }
.btn:hover { background: var(--ss-primary-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(251,209,167,0.35); }
.btn-outline { background: transparent; border-color: var(--ss-gray); color: var(--ss-gray); }
.btn-outline:hover { background: var(--ss-primary-muted); border-color: var(--ss-primary); color: var(--ss-dark); transform: translateY(-2px); }
.btn-dark { background: var(--ss-dark); color: var(--ss-white); }
.btn-dark:hover { background: #2a2f34; box-shadow: 0 6px 16px rgba(53,60,66,0.3); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.hero-split { padding: 3.5rem 0 4.5rem; background: var(--ss-bg); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text { max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem; background: var(--ss-primary-muted);
  border-radius: 9999px; margin-bottom: 2rem;
}
.hero-badge span { font-size: 0.875rem; font-weight: 500; color: var(--ss-light-gray); }
.hero-heading {
  font-size: 3.75rem; font-weight: 300; line-height: 1.08;
  margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.hero-heading .serif { font-size: inherit; font-weight: 400; }
.hero-desc {
  font-size: 1.125rem; color: var(--ss-gray); line-height: 1.75;
  margin-bottom: 2rem; max-width: 480px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image-wrap {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 20px 50px rgba(45,45,45,0.12);
}
.hero-image-wrap img { width: 100%; height: auto; aspect-ratio: 1/1; max-height: 560px; object-fit: cover; display: block; }
.hero-image-wrap img.ss-photo-default--hero { object-position: 50% 68%; }
.bake-day-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  padding: 0.75rem 1.25rem; border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.bake-day-label { display: block; font-size: 0.6875rem; color: var(--ss-gray); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1; margin-bottom: 0.25rem; }
.bake-day-value { display: block; font-size: 1.125rem; font-weight: 700; color: var(--ss-dark); line-height: 1; }

@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-heading { font-size: 2.75rem; }
  .hero-desc { margin-inline: auto; }
  .hero-buttons { justify-content: center; }
  .hero-image-wrap { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 480px) { .hero-heading { font-size: 2.25rem; } .hero-split { padding: 2rem 0 3rem; } }

.section { padding: 4rem 0; }
.section-title { font-size: 2.25rem; font-weight: 300; text-align: center; margin-bottom: 1rem; }
.section-title .serif { color: var(--ss-crust); }
.section-description { text-align: center; color: var(--ss-gray); max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.0625rem; line-height: 1.7; }
.text-center { text-align: center; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; padding: 1rem 0; }
.product-card { background: white; border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: all 0.3s; border: 1px solid var(--ss-border); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: transparent; }
.product-card img { width: 100%; height: 280px; object-fit: cover; }
.product-info { padding: 1.5rem; }
.product-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
.product-desc { color: var(--ss-gray); font-size: 0.875rem; margin-bottom: 0.75rem; line-height: 1.6; }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--ss-dark); margin-bottom: 1rem; }
.product-badge { display: inline-block; padding: 0.25rem 0.75rem; background: var(--ss-dark); color: var(--ss-white); font-size: 0.75rem; font-weight: 600; border-radius: 9999px; margin-bottom: 0.75rem; }

.features-section { padding: 4rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; text-align: center; }
.feature-icon { width: 4rem; height: 4rem; background: var(--ss-primary-muted); border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; transition: all 0.3s; }
.feature-icon svg { width: 2rem; height: 2rem; color: var(--ss-gray); stroke: var(--ss-gray); }
.features-grid > div:hover .feature-icon { background: rgba(251,209,167,0.22); transform: scale(1.05); }

.subscription-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; padding: 1rem 0; }
.subscription-card { background: white; border: 2px solid var(--ss-border); border-radius: 1rem; padding: 2rem; transition: all 0.3s; }
.subscription-card:hover { border-color: var(--ss-dark); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(53,60,66,0.1); }
.subscription-card.featured { border-color: var(--ss-dark); position: relative; }
.subscription-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ss-dark); color: var(--ss-white); padding: 0.25rem 1rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.subscription-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.subscription-price { font-size: 2rem; font-weight: 700; color: var(--ss-dark); margin-bottom: 1rem; }
.subscription-price span { font-size: 1rem; font-weight: 400; color: var(--ss-gray); }
.subscription-features { list-style: none; margin-bottom: 1.5rem; }
.subscription-features li { padding: 0.5rem 0; color: var(--ss-gray); display: flex; align-items: center; gap: 0.5rem; }
.subscription-features li::before { content: ''; width: 0.5rem; height: 0.8rem; border: solid var(--ss-gray); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); flex-shrink: 0; }

.site-footer { background: var(--ss-white); border-top: 1px solid var(--ss-border); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand img { max-height: 60px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--ss-gray); font-size: 0.875rem; line-height: 1.7; }
.footer-heading, .footer-col h4 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ss-dark); margin-bottom: 1rem; }
.footer-col a { display: block; padding: 0.35rem 0; color: var(--ss-gray); font-size: 0.9375rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--ss-dark); }
.footer-col p { color: var(--ss-gray); font-size: 0.9375rem; line-height: 1.7; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--ss-border); flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8125rem; color: var(--ss-light-gray); }
.footer-bottom a { color: var(--ss-gray); font-weight: 600; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--ss-dark); font-size: 0.9375rem; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--ss-border); border-radius: 0.625rem; font-family: inherit; font-size: 1rem; transition: border-color 0.2s; background: var(--ss-white); }
.form-input:focus-visible, .form-textarea:focus-visible, .form-select:focus-visible { outline: 3px solid var(--ss-crust); outline-offset: 1px; border-color: var(--ss-dark); }
.form-input[aria-invalid="true"], .form-textarea[aria-invalid="true"] { border-color: var(--ss-danger); }
.form-textarea { resize: vertical; min-height: 120px; }

.ss-toast { position: fixed; top: 1.25rem; right: 1.25rem; background: var(--ss-success); color: white; padding: 1rem 1.5rem; border-radius: 0.625rem; box-shadow: 0 8px 24px rgba(0,0,0,0.15); z-index: 10001; font-weight: 600; font-size: 0.9375rem; transform: translateY(-20px); opacity: 0; transition: all 0.3s; pointer-events: none; }
.ss-toast.active { transform: translateY(0); opacity: 1; }
.ss-toast.error { background: var(--ss-danger); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-card { background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: 0.75rem; padding: 1.5rem; margin-bottom: 1rem; }
.contact-card-title, .contact-info-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.contact-info-card p { color: var(--ss-gray); font-size: 0.9375rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.about-content { max-width: 720px; margin: 0 auto; }
.about-content p { font-size: 1.0625rem; color: var(--ss-gray); line-height: 1.8; margin-bottom: 1.5rem; }

.ss-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

@media print { .site-header, .site-footer, .cart-sidebar, .ss-overlay, .ss-modal, .mobile-nav, .ss-toast, .hamburger { display: none !important; } }
body.admin-bar .site-header { top: 32px; }
body.admin-bar .mobile-nav, body.admin-bar .mobile-nav-overlay { top: calc(var(--header-height) + 32px); }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } body.admin-bar .mobile-nav, body.admin-bar .mobile-nav-overlay { top: calc(var(--header-height) + 46px); } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0.5rem; z-index: 10002; background: var(--ss-dark); color: #fff; padding: 0.75rem 1rem; border-radius: 0.5rem; font-weight: 600; }
.skip-link:focus { left: 0.5rem; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ss-crust); outline-offset: 2px; }
main:focus { outline: none; }
.main-nav a, .footer-col a { text-decoration: none; }
.entry-content a, .about-content a, .form-note a, .notice-box a, .cart-closed a, .legal-page a, .section-description a { text-decoration: underline; text-underline-offset: 2px; }
.has-dialog { overflow: hidden; }

.ss-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9998; }
.cart-sidebar { position: fixed; right: 0; top: 0; width: 400px; max-width: 92vw; height: 100%; background: var(--ss-white); box-shadow: -4px 0 16px rgba(0,0,0,0.1); z-index: 9999; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s; }
.cart-sidebar.is-open { transform: translateX(0); }
.cart-head { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--ss-border); display: flex; justify-content: space-between; align-items: center; }
.cart-title { font-size: 1.25rem; }
.icon-btn { background: none; border: none; cursor: pointer; padding: 0.5rem; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ss-dark); border-radius: 0.5rem; }
.cart-items { padding: 1.25rem 1.5rem; flex: 1; overflow-y: auto; }
.cart-empty { text-align: center; color: var(--ss-gray); padding: 2rem 0; }
.cart-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ss-border); }
.cart-item__media { width: 72px; height: 72px; border-radius: 0.5rem; overflow: hidden; background: var(--ss-bg-warm); flex-shrink: 0; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__name { font-family: inherit; text-transform: none; letter-spacing: 0; font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.25rem; }
.cart-item__price { color: var(--ss-gray); font-size: 0.875rem; margin-bottom: 0.5rem; }
.cart-item__warn { color: var(--ss-danger); font-size: 0.8125rem; margin-top: 0.4rem; }
.cart-qty { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.cart-qty__btn { width: 36px; height: 36px; border: 1px solid var(--ss-border); border-radius: 0.4rem; background: var(--ss-white); cursor: pointer; font-size: 1.1rem; color: var(--ss-dark); }
.cart-qty__btn:disabled { opacity: 0.45; cursor: not-allowed; }
.cart-qty__n { min-width: 28px; text-align: center; font-weight: 600; }
.cart-remove { margin-left: auto; background: none; border: none; color: var(--ss-gray); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.8125rem; min-height: 36px; padding: 0 0.25rem; }
.cart-foot { padding: 1.25rem 1.5rem; border-top: 1px solid var(--ss-border); background: var(--ss-white); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1.25rem; font-weight: 700; }
.cart-closed { color: var(--ss-gray); font-size: 0.9375rem; line-height: 1.6; }

.ss-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.ss-modal[hidden] { display: none; }
.ss-modal__box { background: var(--ss-white); border-radius: 1rem; max-width: 520px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 1.75rem; }
.ss-modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.ss-modal__title { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-help { display: block; margin-top: 0.35rem; color: var(--ss-gray); font-size: 0.8125rem; }
.form-error { background: #fdecea; color: #8a2119; border: 1px solid #f3c4bf; border-radius: 0.5rem; padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.9375rem; }
.form-note { font-size: 0.8125rem; color: var(--ss-gray); line-height: 1.6; margin-top: 0.75rem; }
.form-plan { font-weight: 600; margin-bottom: 1rem; }
.form-success { background: #e7f4ee; color: #1d5a40; border: 1px solid #bfe0cf; border-radius: 0.75rem; padding: 1.5rem; font-weight: 600; }
.btn[aria-busy="true"] { cursor: progress; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.notice-box { max-width: 720px; margin: 0 auto 2rem; background: var(--ss-bg-warm); border: 1px solid var(--ss-border); border-radius: 0.75rem; padding: 1rem 1.25rem; text-align: center; color: var(--ss-dark); }
.product-media { height: 280px; background: var(--ss-bg-warm); }
.product-media img { width: 100%; height: 280px; object-fit: cover; display: block; }
.product-media--empty, .hero-image-wrap--empty { background: var(--ss-bg-warm); display: flex; align-items: center; justify-content: center; color: var(--ss-light-gray); }
.placeholder-icon { width: 72px; height: 72px; opacity: 0.55; }
.product-note { color: var(--ss-gray); font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.5rem; }
.empty-note { text-align: center; grid-column: 1 / -1; padding: 3rem 0; color: var(--ss-gray); }
.price-note { text-align: center; color: var(--ss-gray); font-size: 0.875rem; margin-top: 1.5rem; }
.feature-title { font-weight: 600; font-size: 1.17rem; margin-bottom: 0.5rem; }
.feature-text { color: var(--ss-gray); font-size: 0.9375rem; }
.features-section--white { background: var(--ss-white); }
.wide-photo { margin-top: 3rem; border-radius: 1.25rem; overflow: hidden; }
.wide-photo--top { margin: 0 0 2.5rem; }
.wide-photo img { width: 100%; height: auto; max-height: 460px; object-fit: cover; display: block; }
.band { background: var(--ss-dark); color: var(--ss-white); position: relative; overflow: hidden; }
.band .serif { color: var(--ss-primary); }
.band--photo { background: linear-gradient(rgba(35,40,44,0.78), rgba(35,40,44,0.78)), var(--band-image) center / cover no-repeat; }
.band-title { font-size: 2.5rem; font-weight: 300; margin-bottom: 1rem; }
.band-text { opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
.hero-badge { color: var(--ss-gray); }
.hero-badge--dark { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.hero-badge--dark span { color: rgba(255,255,255,0.85); }
.hero-image-wrap--empty { aspect-ratio: 1/1; max-height: 560px; }
.about-layout--photo { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; max-width: 1080px; margin: 0 auto; }
.about-layout--photo .about-content { margin: 0; }
.about-photo { border-radius: 1.25rem; overflow: hidden; }
.about-photo img { width: 100%; height: auto; display: block; }
.contact-photo { border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.contact-photo img { width: 100%; height: auto; display: block; }
.contact-form { background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: 0.75rem; padding: 2rem; }
.contact-info-card a { text-decoration: underline; text-underline-offset: 2px; }
.section--warm { background: var(--ss-bg-warm); }
.narrow { max-width: 760px; }
.order-summary { background: var(--ss-bg-warm); border: 1px solid var(--ss-border); border-radius: 0.75rem; padding: 1.25rem 1.5rem; margin: 0 auto 1.5rem; max-width: 560px; line-height: 1.9; }
.legal-page { max-width: 780px; }
.legal-page h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li { color: var(--ss-gray); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-page ul { padding-left: 1.5rem; }
.legal-date { text-align: center; color: var(--ss-light-gray); font-size: 0.875rem; margin-bottom: 2rem; }
.post-list { display: grid; gap: 1.5rem; max-width: 760px; margin: 0 auto; }
.post-card { border-bottom: 1px solid var(--ss-border); padding-bottom: 1.5rem; }
.post-card__title { font-size: 1.5rem; margin-bottom: 0.25rem; }
.post-card__date { color: var(--ss-gray); font-size: 0.875rem; margin-bottom: 0.5rem; }
@media (max-width: 768px) { .about-layout--photo { grid-template-columns: 1fr; gap: 1.5rem; } .band-title { font-size: 2rem; } }

.gallery-hero { background: var(--ss-dark); padding: 3.5rem 0 3rem; }
.gallery-title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 300; color: var(--ss-white); margin-bottom: 0.75rem; }
.gallery-hero .serif { color: var(--ss-primary); }
.gallery-intro { color: rgba(255,255,255,0.8); font-size: 1.0625rem; max-width: 480px; margin: 0 auto 1.75rem; line-height: 1.7; }
.ss-gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.ss-gallery-item { position: relative; border-radius: 0.875rem; overflow: hidden; background: var(--ss-white); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.ss-gallery-open { display: block; width: 100%; aspect-ratio: 1 / 1; border: 0; padding: 0; cursor: zoom-in; background: var(--ss-border); overflow: hidden; }
.ss-gallery-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ss-gallery-open:hover img { transform: scale(1.04); }
.ss-gallery-caption { padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--ss-dark); }
.ss-gallery-item--video video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #000; }
.gallery-empty { text-align: center; padding: 4rem 0; }
.gallery-empty h2 { font-size: 1.75rem; font-weight: 300; margin-bottom: 0.75rem; }
.gallery-empty p { color: var(--ss-gray); max-width: 420px; margin: 0 auto 2rem; }
.ss-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 10100; display: flex; align-items: center; justify-content: center; }
.ss-lightbox[hidden] { display: none; }
.ss-lb-figure { max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.ss-lb-figure img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 0.5rem; }
.ss-lb-figure figcaption { color: rgba(255,255,255,0.85); text-align: center; min-height: 1.4em; }
.ss-lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.1); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.ss-lb-btn:hover { background: rgba(255,255,255,0.22); }
.ss-lb-close { top: 1.25rem; right: 1.25rem; }
.ss-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.ss-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .ss-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } .ss-lb-prev { left: 0.5rem; } .ss-lb-next { right: 0.5rem; } }
@media (max-width: 380px) { .ss-gallery-grid { grid-template-columns: 1fr; } }

.recipe-hero img { width: 100%; height: 420px; object-fit: cover; border-radius: 1.25rem; display: block; }
.recipe-meta-strip { display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--ss-border); border-bottom: 1px solid var(--ss-border); margin-bottom: 2.5rem; }
.recipe-meta-item dd { margin: 0; }
.recipe-share label { white-space: nowrap; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.recipe-page { max-width: 780px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }
.recipe-hero { margin-bottom: 2.5rem; }
.recipe-eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ss-gray); margin-bottom: 0.6rem; }
.recipe-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 300; line-height: 1.15; margin-bottom: 1rem; }
.recipe-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.recipe-meta-label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ss-gray); }
.recipe-meta-value { font-size: 0.9375rem; font-weight: 600; color: var(--ss-dark); }
.recipe-section { margin-bottom: 2.5rem; }
.recipe-section h2 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ss-gray); margin-bottom: 1.1rem; }
.recipe-ingredients { list-style: none; padding: 0; margin: 0; }
.recipe-ingredients li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--ss-border); font-size: 0.9375rem; line-height: 1.5; color: var(--ss-dark); }
.recipe-ingredients li:last-child { border-bottom: none; }
.recipe-ingredients li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--ss-primary); flex-shrink: 0; margin-top: 0.5rem; }
.recipe-method { font-size: 0.9375rem; line-height: 1.85; color: var(--ss-dark); }
.recipe-method p { margin-bottom: 1rem; }
.recipe-method ol, .recipe-method ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.recipe-method li { margin-bottom: 0.6rem; }
.recipe-notes { background: var(--ss-bg-warm); border-left: 3px solid var(--ss-primary); border-radius: 0 0.5rem 0.5rem 0; padding: 1.25rem 1.5rem; font-size: 0.9375rem; line-height: 1.75; color: var(--ss-dark); white-space: pre-line; }
.recipe-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.recipe-tag { display: inline-block; padding: 0.3rem 0.875rem; background: rgba(251,209,167,0.18); border: 1px solid rgba(251,209,167,0.4); border-radius: 9999px; font-size: 0.8125rem; font-weight: 600; color: var(--ss-dark); }
.recipe-share { display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem; background: var(--ss-bg-warm); border-radius: 0.875rem; margin-top: 3rem; font-size: 0.875rem; color: var(--ss-gray); }
.recipe-share input { flex: 1; border: 1.5px solid var(--ss-border); border-radius: 0.5rem; padding: 0.5rem 0.875rem; font-size: 0.875rem; font-family: inherit; background: white; color: var(--ss-dark); min-width: 0; }
.recipe-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ss-gray); font-size: 0.875rem; font-weight: 600; text-decoration: none; margin-bottom: 1.75rem; transition: color 0.2s; }
.recipe-back:hover { color: var(--ss-dark); }
