:root {
    --espresso: #24150f;
    --cacao: #3a2117;
    --terracotta: #b85c38;
    --gold: #d8a441;
    --gold-soft: #f2cc78;
    --cream: #fff7ea;
    --linen: #f4e4cd;
    --forest: #204237;
    --muted: #7b6657;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(36, 21, 15, 0.18);
    --shadow-hover: 0 34px 90px rgba(36, 21, 15, 0.26);
}

.history-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(32px, 6vw, 82px);
    align-items: center;
    padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 72px);
    color: var(--cream);
    background:
        radial-gradient(circle at 12% 12%, rgba(216, 164, 65, 0.24), transparent 30%),
        linear-gradient(135deg, #130b08, var(--espresso) 48%, var(--forest));
    overflow: hidden;
}

.history-hero::after {
    position: absolute;
    inset: auto -8% -22% auto;
    width: 420px;
    height: 420px;
    content: "";
    background: radial-gradient(circle, rgba(216, 164, 65, 0.2), transparent 68%);
    border-radius: 50%;
}

.history-hero-copy,
.history-hero-image {
    position: relative;
    z-index: 1;
}

.history-hero .eyebrow,
.history-hero .lead {
    color: rgba(255, 247, 234, 0.8);
}

.history-hero-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(216, 164, 65, 0.24);
    border-radius: 38px;
    box-shadow: var(--shadow-hover);
}

.history-hero-image img {
    width: 100%;
    height: min(60vw, 620px);
    object-fit: cover;
}

.history-hero-image figcaption {
    padding: 18px 22px;
    color: rgba(255, 247, 234, 0.82);
    background: rgba(19, 11, 8, 0.9);
    font-weight: 700;
}

.emotion-panel,
.tour-timeline {
    text-align: center;
}

.tour-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.tour-intro p,
.emotion-panel p {
    max-width: 900px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.tour-intro img {
    width: 100%;
    height: min(48vw, 520px);
    object-fit: cover;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.tour-stop {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.tour-stop.reverse .tour-stop-media {
    order: 2;
}

.tour-stop-media {
    overflow: hidden;
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.tour-stop-media img {
    width: 100%;
    height: min(54vw, 560px);
    object-fit: cover;
    transition: transform 480ms ease, filter 480ms ease;
}

.tour-stop-media:hover img {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.04);
}

.tour-stop-copy {
    padding: clamp(26px, 4vw, 46px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 234, 0.76));
    border: 1px solid rgba(36, 21, 15, 0.08);
    border-radius: 32px;
    box-shadow: 0 18px 50px rgba(36, 21, 15, 0.08);
}

.tour-number {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 18px;
    color: var(--espresso);
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    border-radius: 50%;
    font-weight: 950;
}

.tour-stop-copy p {
    color: var(--muted);
}

.emotion-panel {
    color: var(--cream);
    background:
        linear-gradient(rgba(19, 11, 8, 0.72), rgba(19, 11, 8, 0.78)),
        url("../images/coffee-cup-photo.jpg") center/cover fixed;
}

.emotion-panel .eyebrow,
.emotion-panel p {
    color: rgba(255, 247, 234, 0.84);
}

.emotion-panel .button {
    margin-top: 28px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.timeline-grid article {
    padding: 24px;
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 234, 0.76));
    border: 1px solid rgba(36, 21, 15, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(36, 21, 15, 0.08);
}

.timeline-grid strong {
    display: block;
    margin-bottom: 10px;
    color: var(--terracotta);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 48px;
}

body {
    margin: 0;
    color: var(--espresso);
    background:
        radial-gradient(circle at 14% 4%, rgba(216, 164, 65, 0.16), transparent 28%),
        linear-gradient(180deg, var(--cream), #fffaf0 40%, var(--linen));
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    color: var(--espresso);
    background: var(--gold-soft);
    border-radius: 999px;
    font-weight: 900;
    transform: translateY(-180%);
    transition: transform 180ms ease;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(20px, 5vw, 72px);
    background:
        radial-gradient(circle at 8% 10%, rgba(216, 164, 65, 0.16), transparent 28%),
        linear-gradient(90deg, rgba(19, 11, 8, 0.98), rgba(36, 21, 15, 0.96) 52%, rgba(58, 33, 23, 0.96));
    border-bottom: 1px solid rgba(216, 164, 65, 0.18);
    box-shadow: 0 16px 46px rgba(19, 11, 8, 0.28);
    backdrop-filter: blur(18px) saturate(130%);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -0.04em;
    font-size: 1.35rem;
}

.brand img,
.footer-brand img {
    width: auto;
    height: 128px;
    max-width: 340px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 14px 20px rgba(36, 21, 15, 0.18));
    transition: transform 220ms ease, filter 220ms ease;
}

.brand:hover img,
.footer-brand:hover img {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 18px 26px rgba(36, 21, 15, 0.24));
}

.footer-brand img {
    height: 96px;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    color: rgba(255, 247, 234, 0.78);
    font-size: 0.95rem;
    font-weight: 800;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--gold-soft);
}

.nav a {
    position: relative;
    transition: color 180ms ease, transform 180ms ease;
}

.nav a:not(.cart-link)::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--gold), var(--terracotta));
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.cart-link {
    padding: 10px 18px;
    color: var(--espresso) !important;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(216, 164, 65, 0.22);
}

.hero,
.page-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
    overflow: hidden;
}

.hero::after {
    position: absolute;
    inset: auto 8% 9% auto;
    width: 180px;
    height: 180px;
    content: "";
    background: radial-gradient(circle, rgba(216, 164, 65, 0.24), transparent 64%);
    border: 1px solid rgba(216, 164, 65, 0.2);
    border-radius: 50%;
    animation: floatGlow 6s ease-in-out infinite;
}

.hero::before,
.page-hero::before {
    position: absolute;
    inset: 8% -12% auto auto;
    width: 42vw;
    height: 42vw;
    min-width: 360px;
    min-height: 360px;
    content: "";
    background: radial-gradient(circle, rgba(216, 164, 65, 0.42), rgba(184, 92, 56, 0.12) 48%, transparent 68%);
    pointer-events: none;
}

.page-hero.compact {
    display: block;
    max-width: 1100px;
}

.hero-copy,
.hero-media,
.page-hero > * {
    position: relative;
    z-index: 1;
}

.hero-media {
    padding: 18px;
    background:
        linear-gradient(160deg, rgba(216, 164, 65, 0.12), transparent 38%),
        linear-gradient(160deg, var(--cacao), #130b08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 36px;
    box-shadow: var(--shadow);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-media:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.hero-media img {
    width: 100%;
    height: min(58vw, 560px);
    object-fit: cover;
    border-radius: 28px;
}

.editorial-gallery {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 0.85fr;
    gap: 18px;
    padding-top: 0;
}

.editorial-gallery figure {
    position: relative;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(36, 21, 15, 0.1);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.editorial-gallery .gallery-large {
    min-height: 520px;
}

.editorial-gallery img,
.story-photo,
.brew-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease, filter 420ms ease;
}

.editorial-gallery figure::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 42%, rgba(19, 11, 8, 0.82));
    pointer-events: none;
}

.editorial-gallery figure:hover img,
.story-photo:hover,
.brew-photo:hover {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.04);
}

.editorial-gallery figcaption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    z-index: 1;
    color: var(--cream);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.05;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.hero-note {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
    padding: 18px;
    color: var(--cream);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 22px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--forest);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 42px;
    height: 2px;
    content: "";
    background: var(--gold);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 1.03;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 820px;
    font-size: clamp(3.35rem, 8vw, 7.6rem);
}

h2 {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
}

h3 {
    font-size: 1.55rem;
}

.lead {
    max-width: 700px;
    margin: 26px 0 34px;
    color: var(--muted);
    font-size: clamp(1.06rem, 2vw, 1.3rem);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
    color: var(--cream);
    background: linear-gradient(135deg, var(--terracotta), #8f3f27);
    box-shadow: 0 18px 34px rgba(184, 92, 56, 0.28);
}

.button-primary:hover {
    box-shadow: 0 22px 44px rgba(184, 92, 56, 0.38);
}

.button-secondary {
    border-color: rgba(36, 21, 15, 0.18);
    background: rgba(255, 255, 255, 0.42);
}

.button-secondary:hover {
    border-color: rgba(184, 92, 56, 0.38);
    background: rgba(255, 255, 255, 0.7);
}

section {
    padding: clamp(56px, 7vw, 98px) clamp(20px, 5vw, 72px);
    scroll-margin-top: 48px;
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding-top: 0;
}

.trust-band div,
.quality-card,
.product-card,
.contact-card,
.contact-details,
.policy-content,
.testimonials blockquote {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 234, 0.74));
    border: 1px solid rgba(36, 21, 15, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(36, 21, 15, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.trust-band div:hover,
.quality-card:hover,
.product-card:hover,
.contact-card:hover,
.contact-details:hover,
.testimonials blockquote:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 164, 65, 0.36);
    box-shadow: var(--shadow-hover);
}

.trust-band div {
    padding: 22px;
}

.trust-band strong {
    display: block;
    color: var(--terracotta);
    font-size: 1.65rem;
    font-weight: 950;
}

.trust-band span,
.product-card p,
.section-heading p,
.story-copy p,
.quality-card p,
.brew-guide p,
.contact-preview p,
.policy-content p,
.contact-details p,
.footer-contact,
.site-footer p {
    color: var(--muted);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.section-heading p {
    max-width: 590px;
    margin: 0;
}

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

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px;
    overflow: hidden;
}

.product-card form {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.product-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    content: "";
    background: linear-gradient(90deg, var(--gold), var(--terracotta), var(--forest));
    opacity: 0;
    transition: opacity 220ms ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-media {
    width: 100%;
    min-height: 220px;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(36, 21, 15, 0.08);
    transition: transform 260ms ease, filter 260ms ease;
}

.product-card:hover .product-media {
    transform: scale(1.025);
    filter: saturate(1.08) contrast(1.03);
}

.product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.badge {
    padding: 7px 10px;
    color: var(--forest);
    background: linear-gradient(135deg, rgba(216, 164, 65, 0.28), rgba(255, 247, 234, 0.7));
    border: 1px solid rgba(216, 164, 65, 0.28);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price {
    color: var(--terracotta);
    font-size: 1.45rem;
    font-weight: 950;
}

.tasting-notes {
    font-weight: 700;
}

.add-to-cart {
    width: 100%;
    margin-top: 8px;
    color: var(--cream);
    background: linear-gradient(135deg, var(--espresso), var(--forest));
    border: 0;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, var(--forest), var(--terracotta));
}

.purchase-option {
    display: block;
    margin: 18px 0 0;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest);
}

.purchase-select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    color: var(--espresso);
    background: var(--cream);
    border: 1px solid rgba(36, 21, 15, 0.16);
    border-radius: 16px;
    font: inherit;
    font-weight: 800;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.purchase-select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(216, 164, 65, 0.18);
    outline: 0;
}

.story,
.brew-guide,
.contact-preview,
.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
}

.story {
    background:
        linear-gradient(135deg, rgba(216, 164, 65, 0.13), transparent 38%),
        var(--linen);
}

.story-panel {
    padding: clamp(28px, 5vw, 56px);
    color: var(--cream);
    background:
        radial-gradient(circle at 20% 10%, rgba(216, 164, 65, 0.24), transparent 30%),
        linear-gradient(145deg, var(--forest), #142b24);
    border-radius: 34px;
    box-shadow: var(--shadow);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.story-panel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.story-panel .eyebrow {
    color: var(--gold);
}

.story-panel ul {
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.story-panel li {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.quality-grid,
.testimonial-grid,
.process-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.quality-card {
    padding: 24px;
}

.subscription-panel {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    color: var(--cream);
    background:
        radial-gradient(circle at 16% 20%, rgba(216, 164, 65, 0.24), transparent 30%),
        linear-gradient(135deg, var(--forest), var(--espresso));
}

.subscription-panel .eyebrow,
.subscription-panel p {
    color: rgba(255, 247, 234, 0.82);
}

.subscription-benefits,
.process-grid,
.faq-grid {
    display: grid;
    gap: 16px;
}

.subscription-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subscription-benefits div,
.process-grid article,
.faq-grid details {
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.subscription-benefits div:hover,
.process-grid article:hover,
.faq-grid details:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 164, 65, 0.42);
    box-shadow: 0 24px 60px rgba(36, 21, 15, 0.16);
}

.subscription-benefits strong,
.process-grid span {
    display: block;
    color: var(--gold-soft);
    font-weight: 950;
}

.subscription-benefits span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 247, 234, 0.78);
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article,
.faq-grid details {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 234, 0.76));
    border-color: rgba(36, 21, 15, 0.08);
}

.process-grid article p,
.faq-grid details p {
    color: var(--muted);
}

.process-grid span {
    margin-bottom: 18px;
    color: var(--terracotta);
    font-size: 1.35rem;
}

.faq-section {
    background:
        linear-gradient(135deg, rgba(244, 228, 205, 0.9), rgba(255, 247, 234, 0.92)),
        radial-gradient(circle at 88% 10%, rgba(216, 164, 65, 0.2), transparent 32%);
}

.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.faq-grid summary {
    cursor: pointer;
    color: var(--espresso);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
}

.faq-grid details[open] {
    border-color: rgba(216, 164, 65, 0.48);
}

.quality-card span {
    display: block;
    margin-bottom: 16px;
    color: var(--terracotta);
    font-size: 2rem;
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 360px;
    margin-top: 10px;
}

.footer-trust-badges span {
    padding: 7px 10px;
    color: rgba(255, 247, 234, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(216, 164, 65, 0.22);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.brew-guide {
    color: var(--cream);
    background:
        radial-gradient(circle at 82% 12%, rgba(216, 164, 65, 0.28), transparent 28%),
        linear-gradient(135deg, rgba(36, 21, 15, 0.96), rgba(58, 33, 23, 0.92)),
        var(--espresso);
}

.brew-guide .eyebrow,
.brew-guide p {
    color: rgba(255, 247, 234, 0.78);
}

.brew-steps {
    display: grid;
    gap: 14px;
}

.brew-photo {
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.brew-steps div {
    padding: 22px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.brew-steps div:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(216, 164, 65, 0.34);
}

.brew-steps strong {
    display: block;
    color: var(--gold);
    font-size: 1.45rem;
}

.testimonials {
    background:
        linear-gradient(180deg, rgba(255, 247, 234, 0.2), rgba(216, 164, 65, 0.1)),
        var(--linen);
}

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.testimonials blockquote {
    margin: 0;
    padding: 28px;
    color: var(--espresso);
    font-size: 1.05rem;
}

.testimonials cite {
    display: block;
    margin-top: 18px;
    color: var(--terracotta);
    font-weight: 900;
    font-style: normal;
}

.contact-preview {
    grid-template-columns: 1fr auto;
    background:
        linear-gradient(90deg, rgba(255, 247, 234, 0.9), rgba(244, 228, 205, 0.72)),
        radial-gradient(circle at right, rgba(216, 164, 65, 0.22), transparent 36%);
}

.contact-card,
.contact-details,
.policy-content {
    padding: clamp(26px, 4vw, 44px);
}

.contact-section {
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 13px;
    margin-top: 20px;
}

.contact-form label {
    font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    color: var(--espresso);
    background: var(--cream);
    border: 1px solid rgba(36, 21, 15, 0.16);
    border-radius: 16px;
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-success {
    padding: 14px 16px;
    color: var(--forest);
    background: rgba(216, 164, 65, 0.2);
    border-radius: 16px;
    font-weight: 800;
}

.policy-content {
    max-width: 980px;
    margin: 0 auto;
}

.policy-content h2 + p {
    margin-top: 8px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, 1.25fr) minmax(140px, 0.7fr) minmax(140px, 0.7fr) minmax(240px, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: 54px clamp(20px, 5vw, 72px);
    color: rgba(255, 247, 234, 0.78);
    background:
        radial-gradient(circle at 12% 8%, rgba(216, 164, 65, 0.18), transparent 28%),
        linear-gradient(135deg, #130b08, #24150f 58%, #0d0705);
}

.footer-brand-block {
    display: grid;
    justify-items: start;
    gap: 8px;
}

.footer-brand-block span {
    color: var(--cream);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
}

.footer-brand-block small {
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer strong,
.site-footer a {
    color: var(--cream);
}

.footer-column {
    display: grid;
    gap: 14px;
}

.footer-column h2 {
    color: var(--gold-soft);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-links nav,
.footer-contact address {
    display: grid;
    gap: 10px;
    font-style: normal;
}

.footer-contact address {
    max-width: 280px;
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 24px;
    margin-top: 8px;
    color: rgba(255, 247, 234, 0.62);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.footer-links a,
.footer-contact a {
    transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-soft);
    transform: translateX(3px);
}

@keyframes floatGlow {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.55;
    }

    50% {
        transform: translateY(-14px) scale(1.06);
        opacity: 0.85;
    }
}

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

@media (max-width: 1100px) {
    .product-grid,
    .quality-grid,
    .process-grid,
    .timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .editorial-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .editorial-gallery .gallery-large {
        grid-column: 1 / -1;
        min-height: 420px;
    }
}

@media (max-width: 860px) {
    .hero,
    .history-hero,
    .tour-intro,
    .tour-stop,
    .story,
    .brew-guide,
    .subscription-panel,
    .contact-preview,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .trust-band,
    .editorial-gallery,
    .testimonial-grid,
    .subscription-benefits,
    .faq-grid,
    .timeline-grid,
    .site-footer {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 72px;
    }

    section {
        scroll-margin-top: 72px;
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        flex-wrap: wrap;
    }

    .product-grid,
    .quality-grid,
    .trust-band,
    .editorial-gallery,
    .testimonial-grid,
    .subscription-benefits,
    .process-grid,
    .faq-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .editorial-gallery figure,
    .editorial-gallery .gallery-large,
    .history-hero-image img,
    .tour-intro img,
    .tour-stop-media img,
    .story-photo,
    .brew-photo {
        min-height: auto;
        height: 300px;
    }

    .tour-stop.reverse .tour-stop-media {
        order: 0;
    }

    .emotion-panel {
        background-attachment: scroll;
    }

    .site-footer {
        text-align: center;
    }

    .footer-brand-block {
        justify-items: center;
    }

    .footer-contact address {
        max-width: none;
    }

    .footer-trust-badges,
    .footer-bottom {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
    }

    h1 {
        font-size: clamp(3rem, 16vw, 4.5rem);
    }
}
