:root {
    --bg: #e7ddcf;
    --bg-soft: #f5ecdf;
    --surface: rgba(255, 249, 241, 0.74);
    --surface-strong: #fff8ef;
    --text: #31261c;
    --muted: #726355;
    --line: rgba(49, 38, 28, 0.11);
    --brand: #6b4a2f;
    --brand-dark: #4b2f1b;
    --accent: #a8783f;
    --accent-soft: rgba(168, 120, 63, 0.16);
    --leaf: #72875a;
    --sky: rgba(154, 179, 169, 0.18);
    --shadow: 0 18px 44px rgba(58, 38, 18, 0.12);
    --shadow-strong: 0 20px 36px rgba(58, 38, 18, 0.18);
    --state-hover: rgba(107, 74, 47, 0.09);
    --state-pressed: rgba(107, 74, 47, 0.13);
}

[data-theme="dark"] {
    --bg: #18120d;
    --bg-soft: #231912;
    --surface: rgba(37, 27, 19, 0.78);
    --surface-strong: #2a1d14;
    --text: #f4eadf;
    --muted: #ccb8a6;
    --line: rgba(244, 234, 223, 0.1);
    --brand: #b98a57;
    --brand-dark: #ecd4b6;
    --accent: #d6a15e;
    --accent-soft: rgba(214, 161, 94, 0.16);
    --leaf: #7f9164;
    --sky: rgba(95, 110, 111, 0.16);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    --shadow-strong: 0 20px 36px rgba(0, 0, 0, 0.36);
    --state-hover: rgba(185, 138, 87, 0.12);
    --state-pressed: rgba(185, 138, 87, 0.18);
}

* { box-sizing: border-box; }
img {
    display: block;
    max-width: 100%;
    height: auto;
}
body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(207, 154, 60, 0.18), transparent 26%),
        radial-gradient(circle at 80% 0%, var(--sky), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(122, 161, 102, 0.18), transparent 30%),
        linear-gradient(180deg, var(--bg-soft), var(--bg));
    color: var(--text);
}
body.lightbox-open {
    overflow: hidden;
}
a { color: inherit; text-decoration: none; }
main { min-height: 70vh; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(251, 247, 235, 0.58);
    border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .site-header { background: rgba(16, 22, 20, 0.68); }
.nav-shell, .dashboard-links, .hero-actions, .hero-metrics, .card-meta, .footer-grid {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.nav-shell {
    justify-content: space-between;
    gap: 2rem;
    min-height: 84px;
    padding: 0.9rem 0;
    align-items: center;
}
.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.1rem;
    flex: 1;
    min-width: 0;
}
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--brand) 8%, transparent);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
}
.nav-toggle-chevron {
    display: inline-grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    transition: transform 220ms ease, background-color 220ms ease;
}
.site-nav.is-expanded .nav-toggle-chevron {
    transform: rotate(45deg);
}
.nav-links, .nav-actions {
    display: flex;
    align-items: center;
}
.nav-links {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.2)),
        rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        inset 0 -1px 0 rgba(255, 255, 255, 0.22),
        0 10px 22px rgba(58, 38, 18, 0.08);
}
[data-theme="dark"] .nav-links {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.03);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 14px 26px rgba(0, 0, 0, 0.2);
}
.nav-actions {
    gap: 0.85rem;
    margin-left: 0.1rem;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-self: center;
}
.cart-preview {
    position: relative;
}
.cart-preview summary {
    list-style: none;
}
.cart-preview summary::-webkit-details-marker {
    display: none;
}
.cart-preview-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8rem 1.05rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--brand) 14%, transparent);
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    color: var(--brand);
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.cart-preview[open] .cart-preview-trigger,
.cart-preview-trigger:hover {
    background: color-mix(in srgb, var(--brand) 16%, transparent);
    box-shadow: 0 8px 18px rgba(23, 54, 34, 0.08);
}
.cart-preview-trigger:active {
    transform: translateY(1px) scale(0.99);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 20%, transparent);
}
.cart-badge {
    display: inline-grid;
    place-items: center;
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--brand);
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
}
.cart-preview-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 320px;
    padding: 1rem;
    border-radius: 1.2rem;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow-strong);
    z-index: 50;
}
.cart-preview-head,
.cart-preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.cart-preview-head {
    margin-bottom: 0.8rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}
.cart-preview-row {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}
.cart-preview-empty {
    color: var(--muted);
    margin: 0.3rem 0 1rem;
}
.cart-preview-link {
    width: 100%;
    margin-top: 0.85rem;
}
.nav-divider {
    display: block;
    width: 1px;
    height: 28px;
    background: var(--line);
    flex: 0 0 auto;
}
.nav-links a {
    position: relative;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transform: translateY(0);
    transition:
        background-color 220ms ease,
        border-color 220ms ease,
        transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 220ms ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    border-color: color-mix(in srgb, var(--brand) 24%, transparent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 12px 20px rgba(58, 38, 18, 0.14);
    transform: translateY(-2px) scale(1.02);
}
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a:focus-visible {
    background: rgba(185, 138, 87, 0.2);
    border-color: rgba(185, 138, 87, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 12px 24px rgba(0, 0, 0, 0.32);
}
.nav-links a:active {
    background: var(--state-pressed);
    transform: translateY(0) scale(0.99);
    box-shadow: inset 0 0 0 1px rgba(46, 107, 63, 0.16);
}
.brandmark { display: flex; align-items: center; gap: 0.9rem; }
.brandmark strong {
    display: block;
    font-size: 1rem;
    letter-spacing: -0.02em;
}
.brandmark small {
    display: block;
    color: var(--muted);
    margin-top: 0.1rem;
}
.brandmark-badge {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: white;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.button, button, input, textarea, select {
    font: inherit;
}
.button, button[type="submit"], .button-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.9rem 1.2rem;
    background: var(--brand);
    color: white;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.button:hover, button[type="submit"]:hover, .button-dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(23, 54, 34, 0.18);
}
.button:active, button[type="submit"]:active, .button-dark:active {
    transform: translateY(1px) scale(0.99);
}
.button-tonal {
    background: color-mix(in srgb, var(--brand) 12%, transparent);
    color: var(--brand);
    border: 1px solid color-mix(in srgb, var(--brand) 14%, transparent);
    min-height: 48px;
    padding-inline: 1.45rem;
}
.button-tonal:hover {
    box-shadow: 0 8px 18px rgba(23, 54, 34, 0.08);
    background: color-mix(in srgb, var(--brand) 18%, transparent);
}
.button-tonal:active {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 20%, transparent);
}
.button-ghost, .theme-toggle {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}
.button-dark { background: var(--brand-dark); }
.inline-form {
    margin: 0;
}
.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    min-width: 76px;
    height: 46px;
    padding: 4px;
    border-radius: 999px;
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--line);
    flex: 0 0 auto;
    overflow: hidden;
}
.theme-toggle:hover {
    background: var(--state-hover);
    box-shadow: inset 0 0 0 1px var(--line), 0 8px 18px rgba(23, 54, 34, 0.08);
}
.theme-toggle:active {
    transform: translateY(1px) scale(0.98);
}
.theme-toggle-track {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 221, 118, 0.5), rgba(135, 190, 220, 0.42));
    overflow: hidden;
}
[data-theme="dark"] .theme-toggle-track {
    background: linear-gradient(135deg, rgba(71, 92, 141, 0.95), rgba(27, 40, 64, 0.98));
}
.theme-toggle-track::before,
.theme-toggle-track::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    line-height: 1;
    opacity: 0.85;
}
.theme-toggle-track::before {
    content: "☀";
    left: 10px;
    color: #7b5707;
}
.theme-toggle-track::after {
    content: "☾";
    right: 10px;
    color: #dde8ff;
}
.theme-toggle-thumb {
    position: absolute;
    top: 5px;
    left: 5px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff2b3, #f4bc48);
    box-shadow: 0 4px 12px rgba(122, 82, 15, 0.22);
    transform: translateX(0);
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
    z-index: 1;
}
[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(34px);
    background: linear-gradient(180deg, #dbe4ff, #9cb3e8);
    box-shadow: 0 4px 12px rgba(4, 12, 27, 0.32);
}
.theme-glyph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transition: opacity 180ms ease, transform 180ms ease, color 180ms ease;
}
.theme-glyph svg,
.theme-glyph {
    pointer-events: none;
}
.theme-glyph {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.theme-glyph-sun {
    color: #5d4406;
    opacity: 1;
    transform: scale(1);
}
.theme-glyph-moon {
    color: #223350;
    opacity: 0;
    transform: scale(0.75);
}
[data-theme="dark"] .theme-glyph-sun {
    opacity: 0;
    transform: scale(0.75);
}
[data-theme="dark"] .theme-glyph-moon {
    opacity: 1;
    transform: scale(1);
}
.theme-glyph svg {
    width: 14px;
    height: 14px;
}
.hero-section, .page-hero { padding: 6rem 0 2rem; }
.hero-grid, .split-panel, .dual-form-grid, .card-grid, .stats-grid {
    display: grid;
    gap: 1.5rem;
}
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); align-items: start; gap: 2.5rem; }
.hero-section h1, .page-hero h1, .section-heading h2 {
    font-family: "Newsreader", serif;
    font-size: clamp(2.4rem, 4.6vw, 4.8rem);
    line-height: 0.92;
    margin: 0.3rem 0 1rem;
    letter-spacing: -0.04em;
}
.page-hero h1, .section-heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.hero-section h1 {
    max-width: 9.8ch;
}
.hero-copy, .section-shell p, .form-card p { color: var(--muted); }
.eyebrow {
    display: inline-flex;
    margin: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(46, 107, 63, 0.1);
    color: var(--brand);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hero-card, .glass-card, .product-card, .form-card, .table-card, .stat-card, .insight-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    box-shadow: var(--shadow);
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.hero-card { padding: 1rem; }
.hero-panel, .glass-card, .product-card, .form-card, .table-card, .stat-card, .insight-panel {
    padding: 1.4rem;
}
.glass-card, .form-card, .table-card, .stat-card, .insight-panel {
    backdrop-filter: blur(18px);
}
.hero-image-panel {
    min-height: 360px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: white;
}
.hero-visual-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1);
    transition: transform 280ms ease;
}
.hero-image-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 22, 17, 0.12), rgba(12, 22, 17, 0.72));
    z-index: -1;
}
.hero-image-panel:hover .hero-visual-image {
    transform: scale(1.04);
}
.hero-metrics article, .stat-card {
    flex: 1;
    min-width: 120px;
}
.hero-metrics strong, .stat-card strong {
    display: block;
    font-size: 1.8rem;
}
.hero-metrics span, .stat-card span { color: var(--muted); }
.story-intro {
    max-width: 880px;
    margin: 0 0 1.6rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(46, 107, 63, 0.12);
    border-radius: 1.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.18)),
        radial-gradient(circle at right top, rgba(207, 154, 60, 0.14), transparent 28%);
    box-shadow: 0 18px 36px rgba(28, 42, 31, 0.08);
}
.story-intro-lead {
    margin: 0 0 0.65rem;
    color: var(--text);
    font-family: "Newsreader", serif;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}
.story-intro-copy {
    margin: 0;
    max-width: 70ch;
}
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}
.story-card {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 20px 44px rgba(28, 42, 31, 0.14);
    transition: transform 220ms ease, box-shadow 220ms ease;
}
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 58px rgba(28, 42, 31, 0.2);
}
.story-card-media {
    position: relative;
    width: 100%;
    margin: 0.9rem 0.9rem 0;
    aspect-ratio: 4 / 3;
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.32);
    border-radius: 1.3rem;
    box-shadow: 0 18px 38px rgba(25, 36, 28, 0.18);
    isolation: isolate;
}
.story-card-media::before,
.product-card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(7, 14, 10, 0.08), rgba(7, 14, 10, 0.62));
    opacity: 0.58;
    transition: opacity 280ms ease, background 280ms ease;
}
.story-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 280ms ease, filter 280ms ease;
}
.media-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.55rem;
    padding: 1.2rem;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 260ms ease, transform 260ms ease;
    pointer-events: none;
}
.media-overlay-kicker {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.media-overlay-title {
    max-width: 13ch;
    font-family: "Newsreader", serif;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}
.story-card:hover .story-card-media img {
    transform: scale(1.1);
    filter: saturate(1.08) contrast(1.02) brightness(0.76);
}
.story-card:hover .story-card-media::before,
.product-card-visual:hover .product-card-media::before {
    opacity: 1;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(7, 14, 10, 0.22), rgba(7, 14, 10, 0.74));
}
.story-card:hover .media-overlay,
.product-card-visual:hover .media-overlay {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.story-card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1 1 auto;
}
.story-card-body h3 {
    margin: 0.15rem 0 0.4rem;
    font-size: 1.5rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.story-card-body p {
    margin: 0;
}
.narrative-shell {
    border-radius: 1.8rem;
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.14)),
        radial-gradient(circle at top right, rgba(207, 154, 60, 0.12), transparent 28%);
    border: 1px solid rgba(46, 107, 63, 0.08);
    box-shadow: 0 24px 54px rgba(28, 42, 31, 0.08);
}
.narrative-card {
    min-height: 100%;
}
.value-card,
.selling-card {
    height: 100%;
}
.value-card-warning {
    border-color: rgba(207, 154, 60, 0.28);
}
.value-card-success {
    border-color: rgba(46, 107, 63, 0.22);
}
.selling-card h3,
.value-card h3 {
    margin-top: 0.2rem;
    margin-bottom: 0.6rem;
    font-size: 1.45rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.feature-list {
    padding-left: 1.2rem;
    color: var(--muted);
}
.feature-list li { margin-bottom: 0.7rem; }
.pill {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
}
.product-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}
.stock-pill {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand-dark);
    font-size: 0.8rem;
    font-weight: 700;
}
.product-card-visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
}
#products {
    scroll-margin-top: 8.5rem;
}
.product-card-media {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    margin: -1.4rem -1.4rem 1rem;
    aspect-ratio: 16 / 9;
    height: clamp(260px, 24vw, 320px);
    min-height: 260px;
    max-height: 320px;
    overflow: hidden;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.3), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 42px rgba(25, 36, 28, 0.18);
    isolation: isolate;
}
.product-card-media[data-product-lightbox-trigger] {
    cursor: zoom-in;
}
.product-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(17, 25, 21, 0.05), rgba(17, 25, 21, 0.48));
    transition: opacity 280ms ease;
}
.product-card-media img {
    position: relative;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: top center;
    display: block;
    transform: scale(1);
    transition: transform 240ms ease, filter 240ms ease;
}
.product-card-visual:hover .product-card-media img {
    transform: scale(1.1);
    filter: saturate(1.08) contrast(1.02) brightness(0.76);
}
.product-card-visual:hover .product-card-media::after {
    opacity: 0;
}
.product-card-visual:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}
.product-tagline {
    font-weight: 700;
    color: var(--accent);
}
.add-to-cart-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}
.product-showcase-shell {
    padding-top: 0.5rem;
}
.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.product-showcase-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid var(--line);
    min-height: 260px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.product-showcase-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1);
    transition: transform 280ms ease, filter 280ms ease;
}
.product-showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 17, 12, 0.1), rgba(20, 17, 12, 0.72));
}
.product-showcase-copy {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: grid;
    gap: 0.25rem;
    color: #fff7eb;
}
.product-showcase-copy strong {
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}
.product-showcase-copy span {
    color: rgba(255, 247, 235, 0.86);
    font-size: 0.92rem;
}
.product-showcase-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.12) contrast(1.03);
}
.video-shell {
    padding-top: 0.75rem;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}
.video-card {
    padding: 1rem;
    border-radius: 1.4rem;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 90%, transparent), color-mix(in srgb, var(--surface) 84%, transparent));
    box-shadow: 0 18px 36px rgba(58, 38, 18, 0.12);
}
[data-theme="dark"] .video-card {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
.video-frame-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
    background: #0d0d0d;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 12px 22px rgba(0, 0, 0, 0.22);
}
.video-frame-shell iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}
.video-caption {
    margin: 0.8rem 0 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.94rem;
}
.video-open-link {
    display: inline-flex;
    margin-top: 0.65rem;
    padding: 0.52rem 0.86rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    color: var(--brand);
    font-weight: 700;
    font-size: 0.86rem;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.video-open-link:hover,
.video-open-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(58, 38, 18, 0.14);
    background: color-mix(in srgb, var(--brand) 14%, transparent);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 2.6vw, 2rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
}
.image-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}
.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 10, 7, 0.8);
    backdrop-filter: blur(3px);
}
.image-lightbox-dialog {
    position: relative;
    z-index: 1;
    margin: 0;
    width: min(1080px, 94vw);
    max-height: 90vh;
    border-radius: clamp(0.9rem, 2vw, 1.35rem);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: color-mix(in srgb, var(--bg-soft) 72%, transparent);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
    overflow: hidden;
    transform: translateY(24px) scale(0.92);
    transition: transform 340ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.image-lightbox.is-open .image-lightbox-dialog {
    transform: translateY(0) scale(1);
}
.image-lightbox-image {
    width: 100%;
    max-height: min(82vh, 900px);
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
}
.image-lightbox-caption {
    margin: 0;
    padding: 0.8rem 1rem 1rem;
    color: color-mix(in srgb, var(--text) 84%, white 16%);
    font-weight: 600;
}
.image-lightbox-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(22, 15, 10, 0.56);
    color: #fff5e7;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
    background: rgba(22, 15, 10, 0.82);
}
.checkout-section + .checkout-section {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}
.checkout-section h2 {
    margin: 0 0 0.9rem;
    font-size: 1.05rem;
}
.checkout-inline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}
.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}
.checkbox-row input[type="checkbox"] {
    width: auto;
    margin: 0;
}
.field-group {
    margin-bottom: 1rem;
}
.field-group label {
    display: block;
    margin-bottom: 0.4rem;
}
.field-group .helptext,
.field-group .errorlist {
    margin: 0.35rem 0 0;
    color: var(--muted);
}
.section-shell { padding: 2rem 0 4rem; }
.muted-shell { background: rgba(255, 255, 255, 0.25); }
.accent-shell {
    background:
        radial-gradient(circle at bottom left, rgba(207, 154, 60, 0.14), transparent 24%),
        radial-gradient(circle at right center, rgba(46, 107, 63, 0.18), transparent 28%);
}
.section-heading { margin-bottom: 1.5rem; }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-up, .split-panel, .dual-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 1.5rem; }
.table-card table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    padding: 0.9rem 0.7rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
thead th { color: var(--muted); font-size: 0.88rem; }
form p { margin-bottom: 1rem; }
label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
}
input, textarea, select {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--surface-strong);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 1rem;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: rgba(46, 107, 63, 0.4);
    box-shadow: 0 0 0 4px rgba(46, 107, 63, 0.08);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand) 28%, transparent);
    outline-offset: 2px;
}
.flash-wrap { width: min(1120px, calc(100% - 2rem)); margin: 1rem auto 0; }
.flash {
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    background: rgba(46, 107, 63, 0.14);
    border: 1px solid rgba(46, 107, 63, 0.2);
}
.login-experience {
    padding: 3rem 0 4.5rem;
}
.login-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.08fr);
    gap: 2rem;
    align-items: start;
}
.login-story {
    order: 2;
}
.login-panel-wrap {
    order: 1;
}
.login-story h1 {
    font-family: "Newsreader", serif;
    font-size: clamp(2.5rem, 4.3vw, 4.6rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    max-width: 11ch;
    margin: 0.5rem 0 1rem;
}
.login-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.75rem 0;
}
.login-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 1rem;
}
.login-gallery-stack {
    display: grid;
    gap: 1rem;
}
.login-gallery-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    isolation: isolate;
}
.login-gallery-card.compact {
    min-height: 196px;
}
.login-gallery-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 24, 19, 0.04), rgba(16, 24, 19, 0.76)),
        var(--login-image);
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 320ms ease, filter 320ms ease;
    z-index: -2;
}
.login-gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 38, 29, 0.03), rgba(24, 38, 29, 0.5));
    z-index: -1;
}
.login-gallery-card:hover::before {
    transform: scale(1.08);
    filter: saturate(1.08);
}
.login-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}
.login-gallery-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 1.35rem;
}
.login-gallery-overlay h3,
.login-gallery-overlay p,
.login-gallery-overlay span {
    color: white;
}
.login-panel-wrap {
    position: sticky;
    top: 6.5rem;
}
.login-panel {
    padding: 1.6rem;
}
.login-panel h2 {
    font-family: "Newsreader", serif;
    font-size: 2rem;
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin: 0.5rem 0 0.8rem;
}
.login-links {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}
.login-links a {
    color: var(--brand);
    font-weight: 700;
}
.login-links a:hover {
    text-decoration: underline;
}
.site-footer { padding: 2rem 0 3rem; border-top: 1px solid var(--line); }
.footer-grid { justify-content: space-between; align-items: flex-start; }

.button:hover,
button[type="submit"]:hover,
.button-dark:hover,
.button-tonal:hover,
.theme-toggle:hover {
    transform: translateY(-1px);
}
.hero-image-panel:hover .hero-visual-image {
    transform: scale(1.04);
}
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 58px rgba(28, 42, 31, 0.2);
}
.story-card:hover .story-card-media img {
    transform: scale(1.06);
    filter: saturate(1.05) contrast(1.03);
}
.product-card-visual:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}
.product-card-visual:hover .product-card-media img {
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.02);
}
.login-gallery-card:hover::before {
    transform: scale(1.08);
    filter: saturate(1.08);
}
.login-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

@media (max-width: 1024px) {
    .nav-shell {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .brandmark {
        flex: 1 1 auto;
        min-width: 0;
    }
    .site-nav {
        width: 100%;
    }
    .js-enabled .site-nav {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
    }
    .js-enabled .nav-toggle {
        display: inline-flex;
        grid-column: 1 / 2;
        justify-self: start;
    }
    .js-enabled .nav-actions {
        grid-column: 2 / 3;
        justify-self: end;
        margin-left: 0;
        gap: 0.6rem;
    }
    .js-enabled .nav-divider {
        display: none;
    }
    .js-enabled .nav-links {
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.3rem;
        padding: 0.42rem;
        border-radius: 1.25rem;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: max-height 280ms ease, opacity 220ms ease, transform 220ms ease;
    }
    .js-enabled .site-nav.is-expanded .nav-links {
        max-height: 420px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .js-enabled .nav-links a {
        width: 100%;
        text-align: left;
        padding: 0.8rem 1rem;
    }
    .js-enabled .cart-preview-panel {
        width: min(320px, calc(100vw - 2.5rem));
    }
}

@media (max-width: 920px) {
    .hero-grid, .three-up, .two-up, .split-panel, .dual-form-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    .login-grid, .login-feature-list, .login-gallery, .story-grid, .product-showcase-grid, .video-grid {
        grid-template-columns: 1fr;
    }
    .checkout-inline-grid {
        grid-template-columns: 1fr;
    }
    .login-story,
    .login-panel-wrap {
        order: initial;
    }
    .hero-actions, .hero-metrics, .dashboard-links, .footer-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-section, .page-hero {
        padding: 3.5rem 0 1.25rem;
    }
    .hero-section h1 {
        max-width: 12ch;
        font-size: clamp(2.15rem, 11vw, 3.5rem);
        line-height: 0.94;
    }
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    .hero-actions .button {
        flex: 1 1 180px;
    }
    .login-story h1 {
        max-width: none;
    }
    .login-panel-wrap {
        position: static;
    }
    .story-card-media,
    .product-card-media {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }
}
