/* Tangier Bakery website styles */

:root {
    --cream: #f8f4ec;
    --soft-cream: #fdfaf5;
    --sage: #7f9c89;
    --sage-dark: #597362;
    --sage-muted: #c8d7cb;
    --blush: #f3d8d8;
    --charcoal: #2f2f2b;
    --text: #3f403a;
    --accent: #d39f9f;
    --shadow: rgba(28, 46, 43, 0.12);
    --max-width: min(1180px, 90vw);
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --transition: 200ms ease;
    --transition-slow: 420ms ease;
}

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

body {
    margin: 0;
    font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background-color: var(--cream);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 80% 10%, rgba(232, 216, 214, 0.65) 0, rgba(232, 216, 214, 0) 55%),
        url("data:image/svg+xml,%3Csvg width='260' height='260' viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23a1b6a7' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M40 50c8 0 16-4 20-10 5-6 10-16 6-20-4-4-14 1-20 6-6 5-10 12-10 20 0 8 4 16 10 22 6 6 16 10 20 6s-1-14-6-20c-5-6-12-10-20-10z' opacity='0.4'/%3E%3Cpath d='M190 130c15 0 30-7 38-18s19-29 11-37c-8-8-26 2-37 12-11 10-18 23-18 37 0 14 7 29 18 40 11 11 29 18 37 11 8-7-3-26-11-37-8-11-23-18-38-18z' opacity='0.25'/%3E%3Cpath d='M120 210l40 30' opacity='0.28'/%3E%3Cpath d='M120 210l6-38 26 12-32 26z' opacity='0.28'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    line-height: 1.6;
}

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

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

a:hover,
a:focus-visible {
    text-decoration: underline;
}

h1,
h2,
h3 {
    color: var(--charcoal);
    margin-top: 0;
}

h1 {
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 600;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

p {
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--charcoal);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 999;
    transition: transform var(--transition);
}

.skip-link:focus {
    left: 1rem;
}

.primary-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(127, 156, 137, 0.18);
    transition: box-shadow var(--transition), padding var(--transition), background-color var(--transition);
}

.primary-nav.is-sticky {
    box-shadow: 0 12px 32px rgba(28, 46, 43, 0.12);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.15rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-mark {
    display: grid;
    gap: 0.1rem;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.nav-links ul {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    padding: 0.35rem 0;
    transition: color var(--transition), transform var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: var(--sage-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--sage-dark);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-link {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.35rem;
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--sage-dark);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.nav-toggle span:nth-child(2),
.nav-toggle span:nth-child(3) {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--charcoal);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span:nth-child(2) {
    top: 18px;
}

.nav-toggle span:nth-child(3) {
    top: 26px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

.site-header {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
}

.promo-banner {
    background-color: var(--sage);
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    padding: 0.75rem 1rem;
    text-align: center;
}

.promo-banner p {
    margin: 0;
}

.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 0 4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-kicker {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sage-dark);
    font-weight: 600;
}

.hero p {
    font-size: 1.1rem;
    max-width: 34ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-metadata {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 420px;
    padding-top: 1rem;
}

.metric {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--sage-dark);
}

.metric-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: -15% -10% -10% -5%;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    border-radius: 50%;
    z-index: -1;
}

.hero-media img {
    max-width: min(480px, 100%);
    filter: drop-shadow(0 24px 36px rgba(64, 84, 76, 0.18));
}

.hero-overlay-card {
    position: absolute;
    bottom: -1.5rem;
    left: 10%;
    background: rgba(127, 156, 137, 0.92);
    color: #fff;
    padding: 1.4rem 1.8rem;
    border-radius: var(--radius-md);
    max-width: 260px;
    box-shadow: 0 20px 44px rgba(64, 84, 76, 0.22);
    font-size: 0.95rem;
    display: grid;
    gap: 0.6rem;
}

.hero-overlay-card span {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
    cursor: pointer;
    box-shadow: none;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(64, 84, 76, 0.18);
}

.btn-primary {
    background-color: var(--sage);
    color: #fff;
    box-shadow: 0 14px 32px rgba(96, 126, 110, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--sage-dark);
    box-shadow: 0 24px 44px rgba(96, 126, 110, 0.28);
}

.btn-outline {
    background-color: transparent;
    color: var(--sage-dark);
    border-color: var(--sage-dark);
    box-shadow: 0 10px 24px rgba(64, 84, 76, 0.12);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background-color: rgba(127, 156, 137, 0.1);
    box-shadow: 0 20px 42px rgba(64, 84, 76, 0.18);
}

.btn-secondary {
    background-color: var(--blush);
    color: var(--charcoal);
    box-shadow: 0 12px 28px rgba(211, 159, 159, 0.22);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: #f0caca;
    box-shadow: 0 22px 46px rgba(211, 159, 159, 0.24);
}

.btn-dark {
    background-color: var(--charcoal);
    color: #fff;
    box-shadow: 0 14px 34px rgba(47, 47, 43, 0.28);
}

.btn-dark:hover,
.btn-dark:focus-visible {
    background-color: #1f1f1c;
    box-shadow: 0 24px 52px rgba(47, 47, 43, 0.32);
}

.btn-small {
    padding: 0.55rem 1.05rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.nav-actions .btn-primary {
    padding-inline: 1.1rem;
}

.btn-ghost {
    background: rgba(127, 156, 137, 0.12);
    color: var(--sage-dark);
    border: 1px solid rgba(127, 156, 137, 0.5);
    padding: 0.6rem 1.4rem;
    box-shadow: 0 10px 22px rgba(127, 156, 137, 0.18);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(127, 156, 137, 0.22);
    box-shadow: 0 20px 44px rgba(127, 156, 137, 0.22);
}

.btn.is-added {
    animation: cartPulse 0.4s ease;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(127, 156, 137, 0.12);
    color: var(--sage-dark);
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    transition: background-color var(--transition);
}

.cart-button:hover,
.cart-button:focus-visible {
    background: rgba(127, 156, 137, 0.2);
}

.cart-icon {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-top: none;
    border-radius: 2px 2px 6px 6px;
    position: relative;
}

.cart-icon::before,
.cart-icon::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 6px;
    background: currentColor;
    top: -4px;
}

.cart-icon::before {
    left: 4px;
}

.cart-icon::after {
    right: 4px;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sage);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.values {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4.5rem 0;
}

.values h2 {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 1.1rem;
    color: var(--sage-dark);
    margin-bottom: 2.5rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2.25rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 34px var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-card h3 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1rem;
    color: var(--charcoal);
}

.value-card p {
    font-size: 0.98rem;
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--soft-cream);
    display: grid;
    place-items: center;
    border: 1px solid var(--sage-muted);
}

.value-icon svg {
    width: 34px;
    height: 34px;
    stroke: var(--sage-dark);
}

.story {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4.5rem 0;
    display: grid;
    gap: 3rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.timeline article {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 16px 36px var(--shadow);
    border: 1px solid rgba(127, 156, 137, 0.22);
}

.timeline-year {
    font-size: 0.85rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.provenance {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.provenance-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.provenance-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.provenance-list strong {
    color: var(--charcoal);
}

.provenance-map {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 22px 48px rgba(64, 84, 76, 0.18);
}

.provenance-map svg {
    width: 100%;
}

.chef-spotlight {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5.25rem 1.5rem;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(380px, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}

.chef-media {
    position: relative;
    isolation: isolate;
}

.chef-media::before {
    content: "";
    position: absolute;
    inset: -6% -8% -8% -6%;
    border-radius: calc(var(--radius-lg) * 1.1);
    background: rgba(127, 156, 137, 0.18);
    z-index: -1;
    filter: blur(0);
}

.chef-media img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 60px rgba(64, 84, 76, 0.22);
    background: #fff;
}

.chef-content {
    display: grid;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 3vw, 3.2rem);
    box-shadow: 0 30px 64px rgba(64, 84, 76, 0.22);
    max-width: 560px;
}

.chef-highlights {
    display: grid;
    gap: 0.9rem;
    padding-left: 1rem;
}

.chef-content p {
    font-size: 1.05rem;
    line-height: 1.75;
}

.chef-highlights li {
    position: relative;
}

.chef-highlights li::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sage-dark);
}

.chef-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-section {
    padding: 4.5rem 0;
}

.section-header {
    max-width: var(--max-width);
    margin: 0 auto 2.5rem;
}

.section-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.88rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.product-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: rgba(255, 255, 255, 0.94);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 44px var(--shadow);
    display: grid;
    gap: 1.2rem;
    padding: 2rem;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 54px rgba(64, 84, 76, 0.22);
}

.product-media {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.product-media img {
    width: clamp(180px, 40%, 220px);
    filter: drop-shadow(0 12px 18px rgba(64, 84, 76, 0.18));
}

.product-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(243, 216, 216, 0.92);
    color: var(--charcoal);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(211, 159, 159, 0.4);
}

.product-badge--calm {
    background: rgba(127, 156, 137, 0.16);
    border-color: rgba(127, 156, 137, 0.3);
}

.product-badge--bright {
    background: rgba(255, 212, 170, 0.2);
    border-color: rgba(255, 212, 170, 0.4);
}

.product-quickview {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(47, 47, 43, 0.08);
    color: var(--charcoal);
    border: none;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--transition);
}

.product-quickview:hover,
.product-quickview:focus-visible {
    background: rgba(47, 47, 43, 0.16);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.product-info h3 {
    font-size: 1.25rem;
}

.product-price {
    font-weight: 600;
    color: var(--sage-dark);
    letter-spacing: 0.05em;
}

.product-desc {
    font-size: 0.98rem;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.product-tags li {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(127, 156, 137, 0.14);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.carousel {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
    transition: transform var(--transition);
}

.carousel .product-card {
    min-width: 320px;
    flex: 0 0 320px;
}

.carousel-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    color: var(--sage-dark);
    box-shadow: 0 12px 28px var(--shadow);
    cursor: pointer;
    transition: transform var(--transition), background-color var(--transition);
}

.carousel-control:hover,
.carousel-control:focus-visible {
    transform: translateY(-3px);
    background-color: var(--sage);
    color: #fff;
}

.carousel-control[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.testimonials {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.testimonial-carousel {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0 0 1rem;
}

.testimonial-carousel::before,
.testimonial-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(60px, 8vw, 120px);
    pointer-events: none;
    z-index: 2;
}

.testimonial-carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(248, 244, 236, 1) 0%, rgba(248, 244, 236, 0) 100%);
}

.testimonial-carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(248, 244, 236, 1) 0%, rgba(248, 244, 236, 0) 100%);
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    will-change: transform;
}

.testimonial-card {
    min-width: clamp(280px, 28vw, 360px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.35rem;
    box-shadow: 0 22px 50px rgba(64, 84, 76, 0.2);
    display: grid;
    gap: 1.75rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover,
.testimonial-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 30px 64px rgba(64, 84, 76, 0.24);
}

.testimonial-card blockquote {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-name {
    display: block;
    font-weight: 600;
}

.testimonial-meta {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journal {
    padding: 4.5rem 0;
}

.journal-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.journal-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: 0 18px 44px rgba(64, 84, 76, 0.18);
    transition: transform var(--transition), box-shadow var(--transition);
}

.journal-card:hover,
.journal-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 54px rgba(64, 84, 76, 0.24);
}

.journal-card a {
    display: grid;
    gap: 1rem;
}

.journal-tag {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.journal-meta {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(63, 64, 58, 0.7);
}

.journal-actions {
    text-align: center;
    margin-top: 2.5rem;
}

.events {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.events-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
}

.event-list {
    display: grid;
    gap: 1.4rem;
}

.event-list li {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 18px 44px rgba(64, 84, 76, 0.16);
}

.event-date {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.events-form {
    background: rgba(127, 156, 137, 0.14);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    gap: 1rem;
    box-shadow: 0 22px 48px rgba(64, 84, 76, 0.16);
}

.events-form input,
.events-form select {
    padding: 1rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(127, 156, 137, 0.4);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.5;
}

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

.events-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(89, 115, 98, 0.5) 50%), linear-gradient(135deg, rgba(89, 115, 98, 0.5) 50%, transparent 50%);
    background-position: right 1.1rem center, right 0.75rem center;
    background-size: 9px 9px, 9px 9px;
    background-repeat: no-repeat;
    padding-right: 2.75rem;
}

.events-form input::placeholder,
.events-form select::placeholder {
    color: rgba(63, 64, 58, 0.6);
}

.form-footnote {
    font-size: 0.85rem;
    color: rgba(63, 64, 58, 0.75);
}

.community {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(248, 244, 236, 0.98) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(243, 216, 216, 0.26) 100%);
    color: var(--text);
    overflow: hidden;
}

.community::before {
    content: "";
    position: absolute;
    inset: -25% -20% auto 10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle at 30% 40%, rgba(127, 156, 137, 0.18), transparent 70%);
    pointer-events: none;
}

.community::after {
    content: "";
    position: absolute;
    inset: 40% -15% -35% auto;
    width: 55%;
    height: 65%;
    background: radial-gradient(circle at 60% 60%, rgba(243, 216, 216, 0.24), transparent 80%);
    pointer-events: none;
}

.community-shell {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3.5rem clamp(1.75rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(127, 156, 137, 0.18);
    box-shadow: 0 32px 80px rgba(49, 66, 59, 0.18);
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
}

.community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

.community-copy {
    display: grid;
    gap: 1.5rem;
    max-width: 520px;
    color: var(--text);
}

.community-lede {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(63, 64, 58, 0.8);
}

.community-highlights {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1px rgba(127, 156, 137, 0.16), 0 24px 50px rgba(64, 84, 76, 0.08);
}

.community-highlights div {
    display: grid;
    gap: 0.4rem;
    text-align: left;
}

.community-highlights dt {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--sage-dark);
    letter-spacing: -0.01em;
}

.community-highlights dd {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(63, 64, 58, 0.75);
}

.community-media {
    display: flex;
    justify-content: center;
}

.community-gallery {
    position: relative;
    margin: 0 auto;
    width: clamp(320px, 32vw, 440px);
    height: clamp(360px, 36vw, 500px);
    perspective: 1400px;
    touch-action: pan-y;
    cursor: grab;
    color: var(--gallery-text, #ffffff);
    user-select: none;
    -webkit-user-select: none;
    border-radius: 50%;
    border: 1px solid rgba(127, 156, 137, 0.14);
    background: radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0) 85%);
}

.community-gallery.is-dragging {
    cursor: grabbing;
}

.community-gallery::before {
    content: "";
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.community-gallery__ring {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    z-index: 1;
}

.community-gallery__item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(150px, 24vw, 200px);
    height: clamp(210px, 28vw, 260px);
    transform-style: preserve-3d;
    transform: translate3d(-50%, -50%, 0);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 60px rgba(64, 84, 76, 0.18);
    border-radius: calc(var(--gallery-radius, 0.08) * 100%);
    display: grid;
    color: inherit;
}

.community-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-gallery__item figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 1.1rem 1.3rem 1.35rem;
    background: linear-gradient(180deg, rgba(31, 44, 39, 0) 0%, rgba(31, 44, 39, 0.78) 85%);
    display: grid;
    gap: 0.4rem;
    color: inherit;
}

.community-gallery__handle {
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.community-gallery__note {
    font-size: 0.96rem;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.community-gallery__item:focus-visible {
    outline: 3px solid rgba(127, 156, 137, 0.6);
    outline-offset: 6px;
}

.community-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.highlight {
    color: var(--sage-dark);
}

.press {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.press-logos {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(63, 64, 58, 0.68);
    font-weight: 600;
    text-align: center;
}

.specials {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.specials-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.special-card {
    background-color: var(--soft-cream);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--sage-muted);
    box-shadow: 0 16px 40px rgba(64, 84, 76, 0.16);
}

.cta-banner {
    margin: 5rem auto;
    max-width: var(--max-width);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: "";
    position: absolute;
    inset: -40% 20% -50% -20%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0.7;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cta-content h2 {
    color: #fff;
}

.newsletter {
    padding: 5rem 0 6rem;
    background: var(--sage-dark);
    color: #fff;
}

.newsletter-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: grid;
    gap: 1.5rem;
}

.newsletter h2 {
    color: #fff;
}

.newsletter-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.newsletter input {
    padding: 1rem 1.25rem;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.85);
    color: var(--charcoal);
}

.newsletter input::placeholder {
    color: rgba(47, 47, 43, 0.6);
}

.newsletter button {
    border: none;
}

.site-footer {
    background: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.footer-brand h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    margin: 0.3rem 0;
}

.footer-nav h3,
.footer-social h3 {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.88rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.footer-nav ul,
.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social ul {
    flex-direction: row;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--sage-muted);
    transition: background-color var(--transition), transform var(--transition);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage-dark);
    fill: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    background-color: var(--sage);
    transform: translateY(-3px);
}

.footer-social a:hover svg,
.footer-social a:focus-visible svg {
    stroke: #fff;
    fill: none;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(47, 47, 43, 0.7);
}

.footer-bottom a {
    color: inherit;
}

.quickview-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 100%);
    background: var(--charcoal);
    color: #fff;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 1000;
}

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

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .value-grid,
    .product-grid,
    .timeline,
    .provenance-content,
    .journal-grid,
    .events-content,
    .press-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        padding-inline: 1rem;
    }

    .hero-metadata {
        gap: 1rem;
    }

    .testimonial-track {
        gap: 1.6rem;
    }

    .testimonial-card {
        min-width: clamp(260px, 55vw, 320px);
        padding: 2.4rem 2.05rem;
    }

    .community-layout {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
        gap: clamp(1.75rem, 4vw, 3rem);
    }

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

    .community-gallery {
        width: min(400px, 60vw);
        height: clamp(320px, 46vw, 460px);
    }

    .community-gallery__item {
        width: clamp(140px, 32vw, 180px);
        height: clamp(190px, 36vw, 240px);
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-inner {
        padding: 1rem 1.25rem;
    }

    .nav-links {
        position: absolute;
        inset: calc(100% + 0.5rem) 1.25rem auto 1.25rem;
        background: rgba(248, 244, 236, 0.98);
        backdrop-filter: blur(10px);
        padding: 1.65rem;
        border-radius: var(--radius-md);
        box-shadow: 0 24px 56px rgba(64, 84, 76, 0.22);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-0.5rem);
        transition: opacity var(--transition), transform var(--transition);
    }

    .nav-links[aria-expanded="true"] {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links ul {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 0;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 4.5rem 1rem 3.5rem;
    }

    .hero-copy {
        align-items: center;
    }

    .hero p {
        max-width: 45ch;
    }

    .hero-overlay-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 2rem auto 0;
    }

    .chef-spotlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .chef-actions {
        justify-content: center;
    }

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

    .event-list li {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .testimonial-track {
        gap: 1.4rem;
    }

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: clamp(40px, 12vw, 80px);
    }

    .testimonial-card {
        min-width: clamp(260px, 70vw, 320px);
    }

    .community-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .community-copy {
        text-align: center;
        justify-items: center;
    }

    .community-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        text-align: left;
    }

    .community-actions {
        justify-content: center;
    }

    .community-media {
        margin-top: 0.5rem;
    }

    .community-gallery {
        width: min(360px, 80vw);
        height: clamp(320px, 62vw, 440px);
    }

    .community-gallery__item {
        width: clamp(140px, 42vw, 180px);
        height: clamp(190px, 48vw, 230px);
    }

    .values,
    .product-section,
    .specials,
    .newsletter {
        padding-inline: 1rem;
    }

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

    .newsletter-form {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .value-grid,
    .product-grid,
    .timeline,
    .provenance-content,
    .journal-grid,
    .specials-grid,
    .press-logos {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 1.75rem;
    }

    .product-media img {
        width: clamp(160px, 60%, 260px);
    }

    .carousel {
        flex-direction: column;
    }

    .carousel-track {
        gap: 1.5rem;
    }

    .carousel .product-card {
        min-width: 100%;
        flex: 0 0 100%;
    }

    .carousel-control {
        order: -1;
    }

    .chef-spotlight {
        padding: 3.5rem 0;
    }

    .testimonial-track {
        gap: 1.2rem;
    }

    .testimonial-card {
        padding: 2.2rem 1.9rem;
        min-width: min(100%, 320px);
    }

    .community-shell {
        padding: 2.75rem 1.5rem 3.25rem;
    }

    .community-copy {
        gap: 1.3rem;
    }

    .community-highlights {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .community-gallery {
        width: min(300px, 88vw);
        height: clamp(300px, 70vw, 420px);
    }

    .community-gallery__item {
        width: clamp(120px, 48vw, 150px);
        height: clamp(170px, 52vw, 210px);
    }

    .event-list li {
        padding: 1.5rem;
    }
}

@media (max-width: 520px) {
    .promo-banner {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .hero-actions,
    .chef-actions,
    .community-actions {
        flex-direction: column;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
    }

    .newsletter-inner {
        padding: 2.5rem 1.5rem;
    }

    .community-gallery {
        width: min(260px, 92vw);
        height: clamp(290px, 78vw, 400px);
    }

    .community-gallery__item {
        width: clamp(110px, 50vw, 140px);
        height: clamp(160px, 56vw, 200px);
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .testimonial-carousel {
        overflow: visible;
    }

    .community-gallery {
        cursor: default;
    }
}
