:root {
    --bg: #dcc2ab;
    --bg-soft: #e9d5c2;
    --paper: rgba(255, 249, 243, 0.78);
    --paper-strong: #fffdf8;
    --ink: #2b1a14;
    --ink-soft: #7d6657;
    --line: rgba(43, 26, 20, 0.12);
    --line-strong: rgba(43, 26, 20, 0.22);
    --coffee: #b88b6d;
    --coffee-dark: #6d4b3b;
    --gold: #ddc0a3;
    --shadow: 0 24px 80px rgba(82, 55, 41, 0.11);
    --shadow-strong: 0 32px 100px rgba(51, 31, 22, 0.2);
    --radius-lg: 34px;
    --radius-md: 24px;
    --radius-sm: 18px;
    --max-width: 1240px;
    --spotlight-surface: #f3e6d7;
    --spotlight-glow: rgba(208, 174, 141, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(250, 241, 232, 0.62), transparent 34%),
        radial-gradient(circle at 85% 15%, rgba(190, 154, 129, 0.24), transparent 22%),
        linear-gradient(180deg, #e9d5c2 0%, #dcc2ab 46%, #cfb095 100%);
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 30%),
        repeating-linear-gradient(
            90deg,
            rgba(43, 26, 20, 0.014) 0,
            rgba(43, 26, 20, 0.014) 1px,
            transparent 1px,
            transparent 90px
        );
    pointer-events: none;
    opacity: 0.28;
    z-index: -1;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    background: none;
}

section[id] {
    scroll-margin-top: 110px;
}

.container {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.section-kicker,
.spotlight-label,
.card-label,
.form-field label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker {
    color: rgba(33, 17, 12, 0.62);
    margin-bottom: 1rem;
}

h1,
h2,
h3,
.brand {
    font-family: "Cormorant Garamond", serif;
    line-height: 0.95;
}

p {
    color: var(--ink-soft);
}

.btn-primary,
.btn-secondary,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.btn-primary {
    color: #fff7ee;
    background: linear-gradient(135deg, var(--coffee), #9d7458);
    box-shadow: 0 14px 30px rgba(128, 94, 73, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(128, 94, 73, 0.26);
}

.btn-primary-dark {
    background: linear-gradient(135deg, #e2c2a3, #c69672);
    color: #1b100c;
    box-shadow: none;
}

.btn-secondary {
    color: var(--ink);
    border: 1px solid var(--line-strong);
    background: rgba(255, 250, 246, 0.46);
    backdrop-filter: blur(14px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(43, 26, 20, 0.28);
    background: rgba(255, 250, 246, 0.74);
}

.text-link {
    text-decoration: none;
    font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 18px 0;
    transition:
        padding 0.3s ease,
        transform 0.3s ease;
}

.site-header.is-scrolled {
    padding: 12px 0;
}

.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding: 0.9rem 1.05rem 0.9rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(252, 238, 230, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 36px rgba(121, 89, 69, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.65rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.08em;
    line-height: 1;
}

.brand-logo {
    width: 2.9rem;
    height: 2.9rem;
    flex-shrink: 0;
    object-fit: contain;
}

.brand-wordmark {
    display: inline-block;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
}

.nav-links a {
    position: relative;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

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

.nav-cta {
    min-height: 48px;
    padding-inline: 1.1rem;
    background: #1d100c;
    color: #fff7ee;
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    padding: 152px 0 48px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 820px;
    background:
        radial-gradient(circle at 70% 30%, rgba(233, 210, 192, 0.28), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 62%);
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(2rem, 4vw, 4.8rem);
    align-items: center;
}

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

.hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(4rem, 9vw, 7rem);
    letter-spacing: -0.05em;
    color: var(--ink);
}

.hero-text {
    max-width: 42rem;
    margin-top: 1.4rem;
    font-size: 1.05rem;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.3rem;
    list-style: none;
}

.hero-stats li {
    padding: 1.2rem 1.1rem;
    border-radius: 24px;
    background: rgba(255, 250, 246, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(82, 55, 41, 0.06);
}

.hero-stats strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--ink);
}

.hero-stats span {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.hero-stage {
    position: relative;
}

.hero-stage-shell {
    position: relative;
    min-height: 620px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(69, 44, 35, 0.9), rgba(48, 30, 24, 0.74)),
        url("../images/Granos%20de%20Cafe.webp") center / cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-strong);
    isolation: isolate;
}

.hero-stage-shell::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 40%),
        radial-gradient(circle at 70% 22%, rgba(221, 192, 163, 0.24), transparent 28%);
}

.hero-stage-shell::after {
    content: "";
    position: absolute;
    inset: auto 8% 4%;
    height: 130px;
    border-radius: 50%;
    background: rgba(5, 3, 2, 0.6);
    filter: blur(24px);
}

.hero-pack {
    position: absolute;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.42));
    z-index: 1;
}

.hero-pack-back {
    left: 8%;
    bottom: 10%;
    width: min(44%, 260px);
    transform: rotate(-11deg) translateY(18px);
    opacity: 0.88;
}

.hero-pack-front {
    right: 6%;
    bottom: 7%;
    width: min(52%, 300px);
    transform: rotate(6deg);
    animation: float-pack 6s ease-in-out infinite;
}

.hero-floating-card {
    position: absolute;
    width: min(46%, 240px);
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    backdrop-filter: blur(14px);
    z-index: 2;
}

.hero-floating-card strong {
    display: block;
    margin: 0.45rem 0 0.35rem;
    font-size: 1.35rem;
    line-height: 1.02;
}

.hero-floating-card p {
    font-size: 0.9rem;
    line-height: 1.55;
}

.hero-note-card {
    top: 8%;
    right: 8%;
    color: var(--ink);
    background: rgba(255, 249, 244, 0.88);
    border: 1px solid rgba(43, 26, 20, 0.08);
}

.hero-origin-card {
    left: 7%;
    bottom: 8%;
    color: #fff7ee;
    background: rgba(69, 44, 35, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-origin-card p {
    color: rgba(255, 247, 236, 0.72);
}

.hero-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    margin-top: 1.6rem;
    padding: 1rem 1.35rem;
    border-radius: 999px;
    background: rgba(255, 249, 244, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(14px);
}

.hero-strip span {
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.collection,
.origin,
.craft,
.reserve {
    padding: 7rem 0;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.4rem;
}

.section-head h2 {
    max-width: 12ch;
    font-size: clamp(3rem, 6vw, 4.9rem);
    letter-spacing: -0.05em;
}

.section-head > p {
    max-width: 38rem;
    font-size: 1rem;
}

.collection-layout {
    display: grid;
    grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: stretch;
}

.collection-selector {
    display: grid;
    gap: 0.85rem;
}

.roast-divider {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0 0.2rem 0.1rem;
}

.roast-divider-label,
.roast-divider-note {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.roast-divider-label {
    color: rgba(33, 17, 12, 0.62);
}

.roast-divider-note {
    color: rgba(33, 17, 12, 0.42);
}

.roast-divider::after {
    content: "";
    grid-column: 2;
    height: 1px;
    background: rgba(33, 17, 12, 0.12);
}

.roast-divider-note {
    justify-self: end;
}

.roast-divider-muted .roast-divider-label {
    color: rgba(33, 17, 12, 0.5);
}

.roast-option {
    width: 100%;
    padding: 1.15rem 1.2rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 250, 246, 0.66);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.28s ease,
        background-color 0.28s ease,
        color 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.roast-option:hover,
.roast-option:focus-visible {
    transform: translateX(6px);
    border-color: rgba(33, 17, 12, 0.24);
}

.roast-option.active {
    color: #fff7ee;
    background: rgba(96, 65, 50, 0.94);
    border-color: transparent;
    box-shadow: 0 22px 40px rgba(96, 65, 50, 0.18);
    transform: translateX(10px);
}

.roast-option.is-upcoming:not(.active) {
    background: rgba(255, 248, 242, 0.52);
    border-style: dashed;
    opacity: 0.82;
}

.roast-order {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
}

.roast-copy strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.roast-copy small {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.88rem;
    color: inherit;
    opacity: 0.74;
}

.roast-level {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.72;
}

.collection-spotlight {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
    gap: 1.5rem;
    min-height: 560px;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.46);
    background:
        radial-gradient(circle at 16% 22%, var(--spotlight-glow), transparent 42%),
        linear-gradient(145deg, var(--spotlight-surface), rgba(255, 250, 245, 0.82));
    box-shadow: var(--shadow);
}

.collection-spotlight::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.spotlight-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 470px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(33, 17, 12, 0.08);
}

.spotlight-visual::after {
    content: "";
    position: absolute;
    inset: auto 16% 9%;
    height: 38px;
    border-radius: 50%;
    background: rgba(33, 17, 12, 0.16);
    filter: blur(18px);
}

.spotlight-visual img {
    position: relative;
    z-index: 1;
    width: min(80%, 280px);
    transition:
        transform 0.38s ease,
        opacity 0.28s ease;
}

.spotlight-visual.is-swapping img {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
}

.spotlight-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.3rem;
    padding-block: 0.4rem;
}

.spotlight-label {
    color: rgba(33, 17, 12, 0.6);
}

.spotlight-content h3 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
}

.spotlight-profile {
    max-width: 18ch;
    margin-top: 0.5rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--ink);
}

.spotlight-description {
    margin-top: 1rem;
    max-width: 34rem;
    font-size: 0.98rem;
}

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

.spotlight-meta div {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(33, 17, 12, 0.08);
    background: rgba(255, 255, 255, 0.48);
}

.spotlight-meta span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(33, 17, 12, 0.54);
}

.spotlight-meta strong {
    font-size: 0.96rem;
    line-height: 1.55;
}

.spotlight-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(33, 17, 12, 0.1);
    font-size: 0.95rem;
    font-weight: 700;
}

.spotlight-footer-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.spotlight-availability {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.spotlight-availability.is-in-stock {
    background: rgba(91, 121, 85, 0.12);
    color: #4b6645;
}

.spotlight-availability.is-coming-soon {
    background: rgba(156, 115, 84, 0.12);
    color: #8a5a3e;
}

.origin-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.8rem;
    align-items: center;
}

.origin-visual {
    display: grid;
    gap: 1rem;
}

.origin-photo {
    position: relative;
    min-height: 560px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(45, 26, 20, 0.18), rgba(45, 26, 20, 0.54)),
        url("../images/Granos%20de%20Cafe.webp") center / cover;
    box-shadow: var(--shadow);
}

.origin-photo::before,
.origin-photo::after {
    position: absolute;
    left: 1.25rem;
    right: auto;
}

.origin-photo::before {
    content: "Vilcabamba, Ecuador";
    top: 1.25rem;
    padding: 0.78rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 249, 244, 0.92);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.origin-photo::after {
    content: "Cada lote se tuesta en ventanas cortas para proteger aroma, dulzor y textura.";
    bottom: 1.25rem;
    max-width: 300px;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(52, 33, 25, 0.72);
    color: #fff7ee;
    font-size: 0.92rem;
    line-height: 1.55;
    backdrop-filter: blur(12px);
}

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

.origin-details article {
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 249, 244, 0.66);
    backdrop-filter: blur(14px);
}

.origin-details span {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(33, 17, 12, 0.54);
}

.origin-details strong {
    font-size: 0.98rem;
}

.origin-copy h2 {
    max-width: 14ch;
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -0.05em;
}

.origin-copy > p {
    max-width: 40rem;
    margin-top: 1.2rem;
    font-size: 1rem;
}

.origin-points {
    display: grid;
    gap: 0.9rem;
    margin-top: 2rem;
}

.origin-points article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(33, 17, 12, 0.1);
}

.origin-points article:first-child {
    padding-top: 0;
    border-top: 0;
}

.origin-index {
    width: 44px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #6d4b3b;
    color: #fff7ee;
    font-size: 0.92rem;
    font-weight: 800;
}

.origin-points strong {
    display: block;
    margin-bottom: 0.28rem;
    font-size: 1.28rem;
    line-height: 1.1;
}

.craft {
    position: relative;
    color: #fff7ee;
    background:
        radial-gradient(circle at 10% 20%, rgba(221, 192, 163, 0.12), transparent 20%),
        radial-gradient(circle at 85% 12%, rgba(184, 141, 110, 0.16), transparent 28%),
        linear-gradient(180deg, #4d3328 0%, #2f1c16 100%);
}

.craft p,
.section-head-light .section-kicker,
.section-head-light > p {
    color: rgba(255, 247, 238, 0.74);
}

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

.craft-card {
    min-height: 290px;
    padding: 1.45rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.craft-card span {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.craft-card h3 {
    max-width: 12ch;
    font-size: 2.35rem;
    letter-spacing: -0.04em;
}

.craft-card p {
    margin-top: 1rem;
}

.reserve-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.45);
    background:
        radial-gradient(circle at 15% 20%, rgba(221, 192, 163, 0.18), transparent 26%),
        linear-gradient(135deg, rgba(255, 249, 244, 0.82), rgba(244, 230, 214, 0.92));
    box-shadow: var(--shadow);
}

.reserve-copy {
    padding: 1rem;
}

.reserve-copy h2 {
    max-width: 13ch;
    font-size: clamp(3rem, 6vw, 4.8rem);
    letter-spacing: -0.05em;
}

.reserve-copy p {
    max-width: 36rem;
    margin-top: 1.2rem;
}

.reserve-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    margin-top: 1.8rem;
}

.reserve-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.15rem;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-link-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.reserve-form {
    display: grid;
    gap: 0.85rem;
    padding: 1.5rem;
    border-radius: 28px;
    background: rgba(42, 26, 21, 0.9);
    color: #fff7ee;
    box-shadow: 0 24px 60px rgba(20, 10, 8, 0.24);
}

.order-items {
    display: grid;
    gap: 0.85rem;
}

.order-item {
    display: grid;
    gap: 0.7rem;
    padding: 0.9rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

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

.order-item-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.reserve-order-actions {
    display: flex;
    justify-content: flex-start;
}

.reserve-add-button {
    min-height: 46px;
    padding-inline: 1rem;
}

.order-item-remove {
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 247, 238, 0.82);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.order-item-remove:hover,
.order-item-remove:focus-visible {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.form-field {
    display: grid;
    gap: 0.4rem;
}

.form-honeypot {
    display: none !important;
}

.form-field label {
    color: rgba(255, 247, 238, 0.72);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 247, 238, 0.46);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(221, 192, 163, 0.82);
    background: rgba(255, 255, 255, 0.08);
}

.form-field select {
    cursor: pointer;
}

.form-selection-note {
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: rgba(255, 247, 238, 0.78);
}

.form-selection-note.is-upcoming {
    color: #ffe4ae;
    border-color: rgba(255, 228, 174, 0.18);
    background: rgba(255, 228, 174, 0.06);
}

.form-note {
    font-size: 0.88rem;
    color: rgba(255, 247, 238, 0.7);
}

.form-note.is-success {
    color: #ffe4ae;
}

.reserve-form button:disabled {
    opacity: 0.72;
    cursor: wait;
}

.footer {
    margin-top: 1rem;
    padding: 2rem 0 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 20% 0, rgba(221, 192, 163, 0.12), transparent 22%),
        linear-gradient(180deg, #3b241b 0%, #261712 100%);
    color: #fff7ee;
}

.footer-shell {
    display: grid;
    gap: 1.25rem;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
    gap: 1rem 1.5rem;
    align-items: start;
}

.footer-brand-block {
    display: grid;
    gap: 0.8rem;
    max-width: 30rem;
}

.brand-footer {
    display: inline-flex;
}

.footer-brand-links {
    display: grid;
    gap: 0.45rem;
}

.footer-brand-links a {
    width: fit-content;
    color: #fff7ee;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.footer-brand-links a:hover,
.footer-brand-links a:focus-visible {
    border-color: currentColor;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem 1.25rem;
}

.footer-card {
    display: grid;
    align-content: start;
    gap: 0.45rem;
    min-height: 0;
}

.footer-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 247, 238, 0.56);
}

.footer-card p,
.footer-card a {
    font-size: 0.92rem;
    color: rgba(255, 247, 238, 0.84);
}

.footer-card a {
    display: block;
    width: fit-content;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.footer-card a:hover,
.footer-card a:focus-visible {
    border-color: currentColor;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal {
    font-size: 0.86rem;
    color: rgba(255, 247, 238, 0.68);
}

.footer-credit-link {
    color: #fff7ee;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.14rem;
}

.footer-bottom-link {
    color: #fff7ee;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.12rem;
}

.footer .brand-wordmark,
.footer .brand {
    color: #fff7ee;
}

.footer .icon-link-icon {
    filter: brightness(0) invert(1);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(184, 139, 109, 0.78);
    outline-offset: 3px;
}

@keyframes float-pack {
    0%,
    100% {
        transform: rotate(6deg) translateY(0);
    }
    50% {
        transform: rotate(4deg) translateY(-12px);
    }
}

@media (max-width: 1100px) {
    .hero-layout,
    .collection-layout,
    .origin-layout,
    .reserve-shell,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .section-head h2,
    .origin-copy h2,
    .reserve-copy h2 {
        max-width: none;
    }

    .section-head {
        grid-template-columns: 1fr;
    }

    .collection-spotlight {
        min-height: auto;
    }

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

    .hero-stage-shell {
        max-width: 640px;
        margin: 0 auto;
    }

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

@media (max-width: 860px) {
    .site-header {
        padding: 14px 0;
    }

    .navbar {
        grid-template-columns: auto auto;
        justify-content: space-between;
        position: relative;
        border-radius: 28px;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(33, 17, 12, 0.06);
        cursor: pointer;
    }

    .nav-toggle span {
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: var(--ink);
        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }

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

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

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

    .nav-links {
        position: absolute;
        top: calc(100% + 0.7rem);
        left: 0;
        right: 0;
        display: grid;
        gap: 0.2rem;
        padding: 0.7rem;
        border-radius: 24px;
        background: rgba(252, 245, 236, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.54);
        box-shadow: 0 18px 50px rgba(40, 18, 12, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        display: block;
        padding: 0.85rem 0.95rem;
        border-radius: 16px;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        background: rgba(33, 17, 12, 0.06);
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding-top: 132px;
    }

    .hero-stage-shell {
        min-height: 560px;
    }

    .hero-floating-card {
        width: min(48%, 220px);
    }

    .spotlight-meta,
    .origin-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .collection-spotlight {
        grid-template-columns: 1fr;
    }

    .spotlight-visual {
        min-height: 360px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--max-width), calc(100% - 20px));
    }

    .navbar {
        padding: 0.85rem 0.9rem 0.85rem 1rem;
    }

    .brand {
        gap: 0.5rem;
        font-size: 1.2rem;
    }

    .brand-logo {
        width: 2.3rem;
        height: 2.3rem;
    }

    .hero-copy h1 {
        font-size: clamp(3.2rem, 18vw, 4.8rem);
    }

    .hero-text {
        font-size: 0.98rem;
    }

    .hero-stats,
    .spotlight-meta,
    .origin-details {
        grid-template-columns: 1fr;
    }

    .hero-stage-shell {
        min-height: 500px;
    }

    .hero-pack-back {
        width: min(48%, 220px);
        left: 6%;
    }

    .hero-pack-front {
        width: min(56%, 240px);
        right: 5%;
    }

    .hero-floating-card {
        width: calc(100% - 2rem);
    }

    .hero-note-card {
        top: 1rem;
        left: 1rem;
        right: 1rem;
    }

    .hero-origin-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .hero-strip {
        border-radius: 28px;
    }

    .section-head h2,
    .spotlight-content h3,
    .origin-copy h2,
    .reserve-copy h2 {
        font-size: clamp(2.6rem, 14vw, 4rem);
    }

    .collection,
    .origin,
    .craft,
    .reserve {
        padding: 5.5rem 0;
    }

    .collection-spotlight,
    .reserve-shell,
    .reserve-form {
        padding: 1rem;
    }

    .order-item-grid {
        grid-template-columns: 1fr;
    }

    .roast-option {
        transform: none;
    }

    .roast-option:hover,
    .roast-option:focus-visible,
    .roast-option.active {
        transform: none;
    }

    .origin-photo {
        min-height: 420px;
    }

    .origin-photo::after {
        max-width: none;
        right: 1.25rem;
    }

    .origin-points article {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 1.6rem 0 1.25rem;
    }

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

    .footer-top,
    .footer-shell,
    .footer-bottom {
        gap: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
