:root {
    --bg: #f6f1ea;
    --surface: #fffdf9;
    --surface-strong: #f0e8dd;
    --text: #1f1b17;
    --muted: #6e655d;
    --line: rgba(31, 27, 23, 0.12);
    --line-strong: rgba(31, 27, 23, 0.2);
    --accent: #b38a4c;
    --accent-deep: #8f6830;
    --forest: #394236;
    --ink: #171513;
    --success: #315646;
    --danger: #8b3a2c;
    --shadow: 0 20px 60px rgba(23, 21, 19, 0.08);
    --shadow-strong: 0 30px 90px rgba(23, 21, 19, 0.14);
    --radius: 24px;
    --radius-sm: 16px;
    --container: min(1180px, calc(100% - 40px));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(179, 138, 76, 0.12), transparent 28%),
        radial-gradient(circle at right 20%, rgba(57, 66, 54, 0.08), transparent 24%),
        var(--bg);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    padding-top: 112px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.25), transparent 75%);
    pointer-events: none;
    z-index: -1;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    display: block;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 40px;
    padding: 8px 20px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    text-align: center;
}

.topbar a {
    color: #fff;
    font-weight: 600;
}

.nav-shell {
    background: rgba(246, 241, 234, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(31, 27, 23, 0.08);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.brand-mark {
    color: var(--text);
}

.brand-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-links a {
    position: relative;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

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

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

.nav-legal-links {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 18px;
    border-left: 1px solid var(--line);
}

.bag-button,
.icon-button,
.primary-button,
.secondary-button,
.ghost-button {
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.bag-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--surface);
    border-color: var(--line);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bag-button strong {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.76rem;
}

.bag-button:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.icon-button:hover {
    transform: translateY(-1px);
}

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.primary-button {
    background: var(--text);
    color: #fff;
}

.primary-button:hover {
    background: var(--accent);
}

.secondary-button {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.secondary-button:hover {
    border-color: var(--text);
}

.ghost-button {
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.4);
}

.ghost-button:hover {
    background: #fff;
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.full-width {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: 0;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.section-heading h2,
.page-hero-copy h1,
.legal-content h2,
.content-card h3,
.contact-panel h2,
.bag-header h2,
.modal-header h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero {
    padding: 42px 0 84px;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 26px;
    align-items: stretch;
}

.hero-copy,
.hero-aside {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: clamp(36px, 5vw, 64px);
    background:
        radial-gradient(circle at top right, rgba(179, 138, 76, 0.18), transparent 25%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 232, 221, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-copy h1 {
    max-width: 11ch;
    margin: 0 0 18px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 0.92;
}

.hero-copy p {
    max-width: 62ch;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 1rem;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.hero-stat {
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.hero-stat span {
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-aside {
    display: grid;
    grid-template-rows: 1.1fr 0.9fr;
    gap: 2px;
    background: var(--ink);
}

.hero-image {
    position: relative;
    min-height: 270px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card {
    padding: 28px;
    background: linear-gradient(150deg, #1b1815, #2b251f);
    color: rgba(255, 255, 255, 0.86);
}

.hero-card h2 {
    margin: 0 0 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;
    color: #fff;
}

.hero-card p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.72);
}

.hero-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
}

.hero-card li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

.trust-strip {
    padding: 18px 0;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.84);
}

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

.trust-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 8px 0;
}

.trust-item strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 0.95rem;
}

.trust-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
}

.section {
    padding: 88px 0;
}

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

.section-heading h2 {
    font-size: clamp(2.4rem, 5vw, 3.7rem);
}

.section-heading p {
    margin: 0;
    max-width: 56ch;
    color: var(--muted);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-button {
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.filter-button.is-active,
.filter-button:hover {
    border-color: var(--text);
    background: var(--text);
    color: #fff;
}

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

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--surface-strong);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.04);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

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

.product-category {
    color: var(--accent-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-price {
    font-size: 0.98rem;
    font-weight: 700;
}

.product-name {
    margin: 0 0 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
}

.product-description {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.size-label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.size-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.size-button {
    min-width: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.size-button.is-selected,
.size-button:hover {
    border-color: var(--text);
    background: var(--text);
    color: #fff;
}

.product-actions {
    margin-top: auto;
}

.story-grid,
.about-grid,
.contact-grid,
.policy-grid,
.feature-grid,
.timeline-grid,
.principles-grid,
.support-grid {
    display: grid;
    gap: 22px;
}

.story-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
}

.story-card,
.content-card,
.support-card,
.timeline-card,
.principle-card,
.policy-card,
.legal-sidebar,
.legal-content,
.contact-panel,
.form-shell,
.notice,
.map-card {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.story-card,
.content-card,
.support-card,
.timeline-card,
.principle-card,
.policy-card,
.contact-panel,
.form-shell,
.notice,
.map-card,
.legal-sidebar,
.legal-content {
    padding: 28px;
}

.story-image {
    min-height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.story-card h3,
.content-card h3,
.support-card h3,
.timeline-card h3,
.principle-card h3,
.policy-card h3,
.contact-panel h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.story-card p,
.content-card p,
.support-card p,
.timeline-card p,
.principle-card p,
.policy-card p,
.contact-panel p,
.legal-content p,
.legal-content li {
    color: var(--muted);
}

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

.feature-card {
    padding: 26px;
    border-radius: var(--radius-sm);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(240, 232, 221, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.feature-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.page-hero {
    padding: 24px 0 30px;
}

.page-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 22px;
    align-items: stretch;
}

.page-hero-copy,
.page-hero-panel {
    padding: clamp(28px, 4vw, 46px);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.page-hero-copy {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(240, 232, 221, 0.94));
}

.page-hero-copy h1 {
    font-size: clamp(2.9rem, 6vw, 4.6rem);
    margin-bottom: 16px;
}

.page-hero-copy p {
    margin: 0;
    max-width: 58ch;
    color: var(--muted);
    font-size: 1rem;
}

.page-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e1a17, #312922);
    color: rgba(255, 255, 255, 0.84);
}

.page-hero-panel strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #fff;
}

.page-hero-panel ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.page-hero-panel li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-hero-panel li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

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

.timeline-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--accent-deep);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

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

.about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.stack-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.stack-list li {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.contact-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
}

.contact-list,
.faq-list,
.legal-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.contact-list li,
.faq-list li,
.legal-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.contact-list li:last-child,
.faq-list li:last-child,
.legal-list li:last-child {
    border-bottom: 0;
}

.contact-list strong,
.faq-list strong,
.legal-list strong {
    display: block;
    margin-bottom: 4px;
}

.form-shell form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(179, 138, 76, 0.14);
}

.field textarea {
    min-height: 180px;
    resize: vertical;
}

.checkbox-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.92rem;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.notice {
    margin-bottom: 22px;
    border-left: 4px solid var(--accent);
}

.notice.success {
    border-left-color: var(--success);
}

.notice.error {
    border-left-color: var(--danger);
}

.notice h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.notice p,
.notice li {
    margin: 0;
    color: var(--muted);
}

.notice ul {
    margin: 0;
    padding-left: 18px;
}

.map-card iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 18px;
}

.contact-bag-preview {
    margin-top: 14px;
    padding: 18px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.contact-bag-preview.is-empty {
    display: none;
}

.contact-bag-preview ul {
    margin: 0;
    padding-left: 18px;
}

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

.legal-shell {
    padding-bottom: 88px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
    gap: 24px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 128px;
}

.legal-sidebar h2 {
    margin: 0 0 8px;
    font-size: 1.6rem;
}

.legal-sidebar p {
    margin: 0 0 18px;
    color: var(--muted);
}

.legal-sidebar .date-badge {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
}

.legal-list a {
    color: var(--muted);
}

.legal-list a:hover {
    color: var(--accent-deep);
}

.legal-content {
    display: grid;
    gap: 24px;
}

.legal-section {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-content h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.legal-content ul {
    margin: 0;
    padding-left: 20px;
}

.site-footer {
    padding: 60px 0 24px;
    background: linear-gradient(180deg, rgba(23, 21, 19, 0.96), #141210);
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 0.8fr 1fr;
    gap: 28px;
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-copy {
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.66);
}

.footer-contact {
    display: grid;
    gap: 8px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.site-footer li,
.site-footer a {
    color: rgba(255, 255, 255, 0.68);
}

.site-footer a:hover,
.footer-link-button:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 26px;
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-link-button {
    padding: 0;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.68);
}

.bag-drawer,
.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
}

.bag-drawer.is-open,
.modal-shell.is-open {
    display: block;
}

.bag-backdrop,
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 21, 19, 0.5);
    backdrop-filter: blur(4px);
}

.bag-panel {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    width: min(440px, 100%);
    height: 100%;
    padding: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-strong);
}

.bag-header,
.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.bag-content {
    flex: 1;
    overflow-y: auto;
    display: grid;
    gap: 14px;
}

.bag-item,
.bag-empty {
    padding: 18px;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid rgba(31, 27, 23, 0.08);
}

.bag-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
}

.bag-item-media {
    width: 84px;
    height: 104px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface-strong);
}

.bag-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bag-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bag-item h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.bag-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.bag-remove {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--danger);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bag-footer {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.bag-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.bag-total-row span {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.bag-note {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 100;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 0.88rem;
    box-shadow: var(--shadow);
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}

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

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 26px;
    background: rgba(23, 21, 19, 0.94);
    color: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-strong);
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner p {
    margin: 0;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

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

.modal-card {
    position: relative;
    width: min(620px, calc(100% - 32px));
    margin: 40px auto;
    padding: 28px;
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow-strong);
}

.modal-body {
    display: grid;
    gap: 16px;
}

.cookie-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.cookie-row:last-child {
    border-bottom: 0;
}

.cookie-row strong {
    display: block;
    margin-bottom: 4px;
}

.cookie-row span {
    color: var(--muted);
    font-size: 0.9rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

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

@media (max-width: 1100px) {
    .hero-shell,
    .page-hero-shell,
    .story-grid,
    .about-grid,
    .contact-grid,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .trust-grid,
    .feature-grid,
    .support-grid,
    .timeline-grid,
    .principles-grid,
    .policy-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-sidebar {
        position: static;
    }
}

@media (max-width: 860px) {
    body {
        padding-top: 104px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px;
        background: rgba(255, 253, 249, 0.98);
        border-radius: 24px;
        border: 1px solid rgba(31, 27, 23, 0.08);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

    .nav-legal-links {
        width: 100%;
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .trust-grid,
    .feature-grid,
    .support-grid,
    .timeline-grid,
    .principles-grid,
    .policy-grid,
    .hero-stats,
    .footer-grid,
    .product-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
        border-radius: 22px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(1180px, calc(100% - 24px));
    }

    .topbar {
        flex-direction: column;
        gap: 4px;
        padding: 10px 14px;
    }

    .site-nav {
        min-height: 64px;
    }

    .hero-copy,
    .page-hero-copy,
    .page-hero-panel,
    .story-card,
    .content-card,
    .support-card,
    .timeline-card,
    .principle-card,
    .policy-card,
    .contact-panel,
    .form-shell,
    .legal-sidebar,
    .legal-content,
    .modal-card,
    .bag-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 16vw, 4.2rem);
    }

    .page-hero-copy h1 {
        font-size: clamp(2.4rem, 14vw, 3.4rem);
    }

    .bag-panel {
        width: 100%;
    }

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

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

    .modal-footer .secondary-button,
    .modal-footer .primary-button {
        width: 100%;
    }
}
