:root {
    --bg-color: #F5F1EA;
    --text-color: #2B2B2B;
    --line-color: rgba(43, 43, 43, 0.1);
    --accent-color: #9C5B3C;
}

.accent-text { color: var(--accent-color); }
.ref-code { font-size: 10px; font-family: monospace; color: var(--accent-color); letter-spacing: 0.1em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 6px; height: 6px; background-color: var(--accent-color); border-radius: 50%; margin-right: 6px; vertical-align: middle; }

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* The Grid System */
.grid-system {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
    padding: 0 40px;
}

.grid-line {
    width: 1px;
    height: 100vh;
    background-color: var(--line-color);
}

/* Layout boundaries */
.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
}

/* Global Header */
.global-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    width: 100%;
}

.logo {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-color);
    text-decoration: none;
}

/* Screen-reader-only labels */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.navigation {
    display: flex;
    gap: 48px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.nav-item:hover {
    opacity: 0.5;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 16px 32px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--text-color);
    padding: 12px 24px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-text {
    color: var(--text-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 4px;
    display: inline-block;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.btn-text:hover {
    opacity: 0.5;
}

/* 1. Weightless Hero Arena */
.hero-arena {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80vh;
    padding: 80px 0;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 480px; 
}

.hero-title {
    font-size: 72px;
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.7;
    max-width: 300px;
}

.hero-actions {
    margin-top: 16px;
}

.hero-image-container {
    position: relative;
    width: 500px;
    height: 700px;
    margin-right: -40px; 
}

.architectural-backdrop {
    position: absolute;
    top: 40px;
    left: -40px;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 43, 43, 0.05);
    z-index: -1;
}

.hero-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

/* 2. Floating Asymmetric Triptych */
.triptych-section {
    padding: 160px 0 240px 0;
}

.triptych-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.product-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    cursor: pointer;
}

.product-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-info h2 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

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

.product-info-row h2 {
    margin-bottom: 0;
}

/* 3. Journal Section */
.journal-section {
    padding: 80px 0 240px 0;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 24px;
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.journal-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.journal-card {
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.journal-img-container {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.journal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.journal-card:hover .journal-img {
    transform: scale(1.05);
}

.journal-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.journal-meta-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.journal-date {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.journal-heading {
    font-size: 20px;
    font-weight: 400;
}

/* 4. Contact Section */
.contact-section {
    padding: 80px 0 160px 0;
    border-top: 1px solid var(--line-color);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.contact-info {
    flex: 1;
    max-width: 400px;
}

.contact-desc {
    margin-top: 24px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.8;
}

.contact-form-container {
    flex: 1;
    max-width: 500px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-color);
    padding: 16px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-bottom-color: #000;
}

.form-input::placeholder {
    color: var(--text-color);
    opacity: 0.4;
}

.form-textarea {
    resize: none;
    height: 100px;
}

.form-feedback {
    font-size: 13px;
    color: #4CAF50;
    opacity: 0;
    min-height: 1em;
    transition: opacity 0.3s ease;
}

.form-feedback--error {
    color: #C0392B;
}

.global-footer {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--line-color);
}

/* Interactive Specifications Overlay */
.specifications-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    transition: opacity 400ms ease-out;
}

.spec-matrix {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}

.spec-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid rgba(245, 241, 234, 0.2);
    padding-bottom: 16px;
    font-weight: 500;
}

.spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 13px;
    opacity: 0.9;
    font-weight: 300;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
}

/* Inline spec matrix (product detail page) — light, no card background */
.spec-matrix--inline {
    background-color: transparent;
    color: var(--text-color);
    box-shadow: none;
    padding: 0;
}

.spec-matrix--inline .spec-title {
    border-bottom-color: var(--line-color);
}

.empty-state {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

/* Notification Modal */
.notification-modal {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 16px 32px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.notification-modal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-system { width: 100vw; }
    .hero-title { font-size: 56px; }
    .hero-image-container { width: 400px; height: 560px; }
    .triptych-container { gap: 20px; }
    .journal-grid { flex-direction: column; gap: 40px; }
    .journal-card { width: 100%; }
    .journal-card:nth-child(odd) { transform: translateY(0) !important; }
    .journal-card:nth-child(even) { transform: translateY(0) !important; }
}

@media (max-width: 768px) {
    .grid-system { display: none; }
    .content-wrapper { padding: 0 20px; }
    
    .global-header { flex-direction: column; gap: 24px; align-items: flex-start; padding: 24px 0; }
    .navigation { flex-wrap: wrap; gap: 16px; }
    
    .hero-arena { flex-direction: column; align-items: flex-start; padding: 40px 0; gap: 40px; }
    .hero-content { max-width: 100%; margin-right: 0; }
    .hero-title { font-size: 48px; }
    .hero-image-container { width: 100%; height: 400px; margin-right: 0; }
    .architectural-backdrop { left: 10px; top: 10px; }
    
    .triptych-section { padding: 80px 0 120px 0; }
    .triptych-container { flex-direction: column; gap: 60px; }
    .product-card { width: 100%; transform: translateY(0) !important; }
    
    .journal-section { padding: 80px 0 120px 0; gap: 40px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .section-title { font-size: 28px; }
    
    .contact-section { padding: 80px 0 120px 0; }
    .contact-container { flex-direction: column; gap: 40px; }
    .contact-form-container, .contact-info { max-width: 100%; }
    
    .specifications-overlay { display: none !important; }
    .notification-modal {
        left: 20px;
        right: 20px;
        bottom: max(20px, env(safe-area-inset-bottom, 20px));
        text-align: center;
    }
}

/* =============================================================================
   PREMIUM HOME REDESIGN  (scoped to .page-home so other pages are untouched)
   -----------------------------------------------------------------------------
   An editorial serif display (Fraunces) paired with Inter, a warmer archival
   palette with depth tokens, scroll-reveal entrances, a paper-grain overlay,
   a reactive header, and refined section rhythm.
   ============================================================================= */
.page-home {
    --paper: #F4EFE6;
    --paper-2: #ECE5D8;
    --ink: #201D19;
    --ink-soft: rgba(32, 29, 25, 0.60);
    --accent: #9C5B3C;
    --accent-2: #B5744C;
    --hairline: rgba(32, 29, 25, 0.12);
    background-color: var(--paper);
    color: var(--ink);
    --line-color: var(--hairline);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* Paper grain — barely-there texture for tactile, premium depth */
.page-home .grain {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll-reveal entrances */
.page-home [data-reveal],
.page-home .product-card,
.page-home .journal-card {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.page-home [data-reveal].is-visible,
.page-home .product-card.is-visible,
.page-home .journal-card.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .page-home [data-reveal],
    .page-home .product-card,
    .page-home .journal-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .page-home .eyebrow .status-dot,
    .page-home .architectural-backdrop,
    .page-home .scroll-cue-line::after {
        animation: none;
    }
}

/* --- Reactive header ------------------------------------------------------- */
.page-home .global-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: calc(100% + 80px);
    padding: 28px 40px;
    margin: 0 -40px;
    transition: padding 0.4s ease, background-color 0.4s ease,
                box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.page-home .global-header.is-scrolled {
    padding: 18px 40px;
    background-color: rgba(244, 239, 230, 0.82);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 1px 0 var(--hairline);
}
.page-home .logo {
    font-weight: 500;
    letter-spacing: 0.22em;
}
.page-home .navigation {
    gap: 40px;
    margin-left: auto;
    margin-right: 40px;
}
.page-home .nav-item {
    position: relative;
    font-size: 11px;
    letter-spacing: 0.16em;
    transition: color 0.3s ease;
}
.page-home .nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-home .nav-item:hover,
.page-home .nav-item.is-active {
    opacity: 1;
    color: var(--accent);
}
.page-home .nav-item:hover::after,
.page-home .nav-item.is-active::after { transform: scaleX(1); }
.page-home .header-cta {
    color: var(--accent);
}

/* Hamburger toggle — hidden on desktop, the in-nav CTA lives in the overlay */
.page-home .nav-toggle { display: none; }
.page-home .nav-item--cta { display: none; }

/* --- Buttons --------------------------------------------------------------- */
.page-home .btn-primary {
    position: relative;
    overflow: hidden;
    background-color: var(--ink);
    padding: 17px 36px;
    letter-spacing: 0.14em;
    isolation: isolate;
}
.page-home .btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--accent);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}
.page-home .btn-primary:hover {
    background-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(32, 29, 25, 0.18);
}
.page-home .btn-primary:hover::before { transform: translateY(0); }

.page-home .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
    color: var(--ink);
    padding-bottom: 3px;
    position: relative;
}
.page-home .btn-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--ink);
    transform-origin: right;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-home .btn-link:hover { color: var(--accent); }
.page-home .btn-link:hover::after {
    transform: scaleX(0);
    transform-origin: left;
}

.page-home .btn-secondary {
    letter-spacing: 0.14em;
    border-color: var(--hairline);
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.page-home .btn-secondary:hover {
    background-color: var(--ink);
    border-color: var(--ink);
}
.page-home .btn-text {
    letter-spacing: 0.14em;
    border-bottom-color: var(--ink);
    transition: color 0.3s ease, opacity 0.3s ease;
}
.page-home .btn-text:hover { color: var(--accent); opacity: 1; }

/* --- Hero ------------------------------------------------------------------ */
.page-home .hero-arena {
    position: relative;
    min-height: calc(100vh - 96px);
    align-items: center;
    padding: 40px 0 96px;
    gap: 64px;
}
.page-home .hero-content {
    max-width: 560px;
    gap: 28px;
}
.page-home .eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--ink-soft);
}
.page-home .eyebrow .status-dot {
    width: 7px;
    height: 7px;
    animation: yugm-pulse 2.8s ease-in-out infinite;
}
@keyframes yugm-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.page-home .hero-title {
    font-family: var(--serif);
    font-size: clamp(56px, 8.5vw, 108px);
    line-height: 0.98;
    font-weight: 300;
    letter-spacing: -0.02em;
}
.page-home .hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}
.page-home .hero-subtitle {
    font-size: 17px;
    line-height: 1.65;
    font-weight: 300;
    color: var(--ink-soft);
    max-width: 400px;
    opacity: 1;
}
.page-home .hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.page-home .hero-meta {
    list-style: none;
    display: flex;
    gap: 40px;
    margin-top: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--hairline);
    flex-wrap: wrap;
}
.page-home .hero-meta li {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.page-home .hero-meta-k {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
}
.page-home .hero-meta-v {
    font-size: 13px;
    letter-spacing: 0.02em;
}

.page-home .hero-image-container {
    width: 480px;
    height: 640px;
    flex-shrink: 0;
}
.page-home .architectural-backdrop {
    top: 32px;
    left: -32px;
    background-color: var(--paper-2);
    border: 1px solid var(--hairline);
    animation: yugm-float 9s ease-in-out infinite;
}
@keyframes yugm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.page-home .hero-product-img {
    box-shadow: 0 40px 80px -30px rgba(32, 29, 25, 0.35);
}
.page-home .hero-caption {
    position: absolute;
    right: -24px;
    bottom: 40px;
    background-color: var(--paper);
    border: 1px solid var(--hairline);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 20px 40px -24px rgba(32, 29, 25, 0.4);
}
.page-home .hero-caption-name {
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.page-home .scroll-cue {
    position: absolute;
    left: 0;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--ink-soft);
}
.page-home .scroll-cue-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
}
.page-home .scroll-cue-line {
    position: relative;
    width: 64px;
    height: 1px;
    background-color: var(--hairline);
    overflow: hidden;
}
.page-home .scroll-cue-line::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 40%;
    background-color: var(--ink);
    animation: yugm-slide 2.4s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
@keyframes yugm-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(260%); }
}

/* --- Section intros -------------------------------------------------------- */
.page-home .section-index {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 20px;
}
.page-home .section-title {
    font-family: var(--serif);
    font-weight: 300;
    letter-spacing: -0.015em;
    line-height: 1.02;
}
.page-home .section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}
/* Inner-page headlines share the editorial serif for a cohesive site */
.page-home .article-title,
.page-home .product-title,
.page-home .notfound h1 {
    font-family: var(--serif);
    font-weight: 300;
    letter-spacing: -0.015em;
}
.page-home .section-intro {
    max-width: 720px;
    margin-bottom: 80px;
}
.page-home .section-intro .section-title {
    font-size: clamp(40px, 6vw, 76px);
}
.page-home .section-lede {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--ink-soft);
    max-width: 460px;
}

/* --- Triptych -------------------------------------------------------------- */
.page-home .triptych-section { padding: 120px 0 200px; }
.page-home .product-card { gap: 20px; }
.page-home .product-img {
    box-shadow: 0 24px 48px -32px rgba(32, 29, 25, 0.4);
}
.page-home .product-info h2 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
}
.page-home .product-info-row { align-items: baseline; }

/* --- Journal --------------------------------------------------------------- */
.page-home .journal-section { padding: 40px 0 200px; }
.page-home .section-header { padding-bottom: 28px; }
.page-home .section-heading-group .section-index { margin-bottom: 12px; }
.page-home .section-header .section-title { font-size: clamp(30px, 4vw, 44px); }
.page-home .journal-heading {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
}

/* --- Contact --------------------------------------------------------------- */
.page-home .contact-section { padding: 120px 0 160px; }
.page-home .contact-info { max-width: 460px; }
.page-home .contact-info .section-title { font-size: clamp(34px, 4.5vw, 52px); }
.page-home .contact-desc {
    color: var(--ink-soft);
    opacity: 1;
    line-height: 1.7;
}
.page-home .contact-email {
    display: inline-block;
    margin-top: 28px;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.page-home .contact-email:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.page-home .form-input {
    border-bottom-color: var(--hairline);
    font-size: 15px;
    padding: 18px 0;
}
.page-home .form-input:focus { border-bottom-color: var(--accent); }
.page-home .form-textarea { height: 120px; }

/* --- Footer ---------------------------------------------------------------- */
.page-home .global-footer {
    justify-content: space-between;
    align-items: flex-end;
    padding: 64px 0;
    gap: 40px;
    flex-wrap: wrap;
}
.page-home .footer-brand { display: flex; flex-direction: column; gap: 12px; }
.page-home .footer-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: var(--ink-soft);
}
.page-home .footer-nav { display: flex; gap: 32px; }
.page-home .footer-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-home .footer-link:hover { color: var(--accent); }

/* --- Spec overlay polish (home hover overlay only, NOT the inline variant) - */
.page-home .specifications-overlay .spec-matrix {
    background-color: var(--ink);
    box-shadow: 0 30px 60px -20px rgba(32, 29, 25, 0.45);
}
/* Product-detail inline spec list stays light/transparent */
.page-home .spec-matrix--inline {
    background-color: transparent;
    color: var(--ink);
    box-shadow: none;
    padding: 0;
}

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .page-home .hero-image-container { width: 400px; height: 540px; }
    .page-home .hero-caption { right: 0; }
}
@media (max-width: 768px) {
    /* Header becomes a compact bar with a hamburger toggle */
    .page-home .global-header {
        position: sticky;
        top: 0;
        z-index: 1010; /* above ledger-preview (1000) so nav overlay covers it */
        width: calc(100% + 40px);
        margin: 0 -20px;
        padding: 16px 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        /* NOTE: no backdrop-filter here — it would become the containing block
           for the fixed overlay nav and trap it inside the header bar. */
        background-color: rgba(244, 239, 230, 0.96);
        box-shadow: 0 1px 0 var(--hairline);
    }
    /* Keep the scrolled state from re-introducing backdrop-filter (which would
       trap the fixed overlay nav) or desktop padding on mobile. */
    .page-home .global-header.is-scrolled {
        padding: 16px 20px;
        background-color: rgba(244, 239, 230, 0.96);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .page-home .header-cta { display: none; }

    /* Hamburger button */
    .page-home .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        margin-right: -10px;
        padding: 10px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 210;
    }
    .page-home .nav-toggle-bar {
        display: block;
        width: 24px;
        height: 1.5px;
        background-color: var(--ink);
        transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1),
                    opacity 0.35s ease;
    }
    .page-home.nav-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(3.75px) rotate(45deg);
    }
    .page-home.nav-open .nav-toggle-bar:nth-child(2) {
        transform: translateY(-3.75px) rotate(-45deg);
    }

    /* Full-screen slide-in overlay menu */
    .page-home .navigation {
        position: fixed;
        inset: 0;
        z-index: 200;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 4px;
        margin: 0;
        padding: 40px;
        padding-bottom: max(40px, calc(40px + env(safe-area-inset-bottom, 0px)));
        background-color: var(--paper);
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
        overflow-y: auto;
    }
    .page-home.nav-open .navigation { transform: translateX(0); }
    .page-home .navigation .nav-item {
        font-family: var(--serif);
        font-size: 34px;
        font-weight: 300;
        letter-spacing: -0.01em;
        text-transform: none;
        padding: 12px 0;
    }
    .page-home .navigation .nav-item::after { display: none; }
    .page-home .navigation .nav-item.is-active {
        color: var(--accent);
    }
    .page-home .navigation .nav-item--cta {
        display: inline-flex;
        margin-top: 24px;
        
        color: var(--accent);
    }
    html.nav-open,
    .page-home.nav-open { overflow: hidden; }

    .page-home .hero-arena {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
        padding: 32px 0 80px;
    }
    /* Pin the gutter and stop any oversized max-width container from
       overflowing the viewport (which was clipping text at the right edge). */
    .page-home .content-wrapper { padding-left: 20px; padding-right: 20px; }
    .page-home .hero-content,
    .page-home .hero-subtitle,
    .page-home .hero-actions,
    .page-home .hero-meta { max-width: 100%; width: 100%; }
    .page-home .hero-image-container { width: 100%; height: 440px; }
    .page-home .hero-caption { right: 12px; bottom: 12px; max-width: calc(100% - 24px); }
    .page-home .hero-meta { gap: 28px; }
    .page-home .scroll-cue { display: none; }
    .page-home .footer-nav { flex-wrap: wrap; gap: 14px 22px; }
    .page-home .section-intro { margin-bottom: 48px; }
    .page-home .triptych-section { padding: 72px 0 110px; }
    .page-home .journal-section { padding: 24px 0 110px; }
    .page-home .contact-section { padding: 80px 0 110px; }
    .page-home .global-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
}

/* =============================================================================
   PREMIUM — INNER PAGES (Collection · Atelier · Article · 404)
   Every page now carries .page-home, so these rules unify the whole site with
   the home aesthetic: editorial serif, section intros, generous rhythm,
   refined cards, and quiet motion.
   ============================================================================= */

/* Reusable page intro (eyebrow index + serif title + lede) */
.page-home .page-intro {
    padding: 16px 0 0;
    max-width: 800px;
    margin-bottom: 8px;
}
.page-home .page-title {
    font-family: var(--serif);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.0;
    font-size: clamp(46px, 6.5vw, 92px);
}
.page-home .page-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}
.page-home .page-lede {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--ink-soft);
    max-width: 440px;
}

/* Back link (product + article) */
.page-home .back-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    text-decoration: none;
    color: var(--ink-soft);
    padding-bottom: 4px;
    transition: color 0.3s ease, gap 0.3s ease;
}
.page-home .back-link:hover { color: var(--accent); gap: 14px; opacity: 1; }

/* Quiet entrance for main containers (no JS, no conflict with card transforms) */
@keyframes yugm-rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}
.page-home .collection-container,
.page-home .product-detail-container,
.page-home .article-container,
.page-home .notfound {
    animation: yugm-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* --- Collection ------------------------------------------------------------ */
.page-home .collection-container {
    padding: 32px 0 160px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}
.page-home .filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 20px;
}
.page-home .filter-btn {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    cursor: pointer;
    color: var(--ink-soft);
    background: none;
    border: 1px solid transparent;
    border-radius: 100px;
    padding: 9px 20px;
    opacity: 1;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.page-home .filter-btn:hover { color: var(--ink); border-color: var(--hairline); }
.page-home .filter-btn.active {
    color: var(--paper);
    background-color: var(--ink);
    border-color: var(--ink);
    padding: 9px 20px;
}
.page-home .catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 40px;
    padding-top: 24px;
}
.page-home .catalog-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.6s ease, filter 0.6s ease;
}
.page-home .catalog-item.hidden {
    opacity: 0.12;
    filter: grayscale(100%);
    pointer-events: none;
}
.page-home .catalog-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    box-shadow: 0 24px 48px -32px rgba(32, 29, 25, 0.4);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-home .catalog-item:hover .catalog-img { transform: scale(1.04); }
.page-home .catalog-info { display: flex; flex-direction: column; gap: 6px; }
.page-home .catalog-title {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0;
}
.page-home .catalog-cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
}

/* --- Atelier (product detail) --------------------------------------------- */
.page-home .product-detail-container {
    padding: 40px 0 160px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}
.page-home .product-detail-img {
    flex: 1.1;
    width: 100%;
    max-width: 620px;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    box-shadow: 0 50px 90px -40px rgba(32, 29, 25, 0.45);
}
.page-home .product-detail-info {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 440px;
    padding-top: 12px;
}
.page-home .product-title-group { display: flex; flex-direction: column; gap: 10px; }
.page-home .product-title {
    font-family: var(--serif);
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.02;
}
.page-home .product-desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-soft);
}
.page-home .product-detail-info .btn-primary { align-self: flex-start; }
.page-home .spec-matrix--inline .spec-list { gap: 0; }
.page-home .spec-matrix--inline .spec-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 14px;
}
.page-home .spec-matrix--inline .spec-list li:last-child { border-bottom: none; }
.page-home .spec-matrix--inline .spec-list li span:first-child { color: var(--ink-soft); }

/* --- Article --------------------------------------------------------------- */
.page-home .article-container {
    padding: 40px 0 160px;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.page-home .article-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 36px;
}
.page-home .article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
}
.page-home .article-title {
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.page-home .article-hero {
    width: 100%;
    height: 480px;
    object-fit: cover;
    box-shadow: 0 40px 80px -40px rgba(32, 29, 25, 0.4);
}
.page-home .article-content {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--ink);
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 660px;
}
.page-home .article-content p:first-of-type::first-letter {
    font-family: var(--serif);
    font-size: 3.4em;
    line-height: 0.78;
    float: left;
    padding: 8px 14px 0 0;
    color: var(--accent);
    font-weight: 400;
}

/* --- 404 ------------------------------------------------------------------- */
.page-home .notfound {
    min-height: 62vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 80px 0;
}
.page-home .notfound h1 {
    font-family: var(--serif);
    font-size: clamp(64px, 11vw, 148px);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 0.94;
}
.page-home .notfound h1 em { font-style: italic; color: var(--accent); }
.page-home .notfound p {
    font-size: 16px;
    font-weight: 300;
    color: var(--ink-soft);
    max-width: 360px;
}

/* --- Inner-page responsive ------------------------------------------------- */
@media (max-width: 1024px) {
    .page-home .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .page-home .product-detail-container { flex-direction: column; gap: 40px; }
    .page-home .product-detail-img { max-width: 100%; aspect-ratio: 4 / 3; }
    .page-home .product-detail-info { max-width: 100%; padding-top: 0; }
}
@media (max-width: 768px) {
    .page-home .collection-container { padding: 16px 0 90px; gap: 40px; }
    .page-home .catalog-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
    .page-home .page-intro,
    .page-home .page-lede { max-width: 100%; }
    .page-home .product-detail-container { padding: 24px 0 90px; }
    .page-home .product-detail-img { aspect-ratio: 3 / 4; }
    .page-home .product-detail-info,
    .page-home .product-desc { max-width: 100%; width: 100%; }
    .page-home .article-container {
        padding: 24px 0 90px;
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    .page-home .article-hero { height: 280px; }
    .page-home .article-content { font-size: 16px; max-width: 100%; }
    .page-home .article-content p:first-of-type::first-letter { font-size: 2.2em; padding-right: 8px; }
    .page-home .notfound { min-height: 54vh; padding: 60px 0; }
    .page-home .notfound p { max-width: 100%; }

    /* Home triptych: 2-column instead of 3 single-column cards */
    .page-home .triptych-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Touch targets: footer links + back link + btn-text need ≥44px tap height */
    .page-home .footer-link {
        padding: 10px 0;
        display: inline-block;
    }
    .page-home .back-link { padding: 10px 0; }
    .page-home .btn-text { padding: 10px 0 4px; }

    /* about.html: archive section backdrop must not overflow left edge */
    .about-archive-img-wrap .architectural-backdrop { left: 10px; top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .page-home .collection-container,
    .page-home .product-detail-container,
    .page-home .article-container,
    .page-home .notfound { animation: none; }
    .page-home .catalog-img { transition: none; }
}

/* ============================================================================
   COLLECTION INDEX — HYBRID TRIO + ARCHITECTURAL LEDGER
   ============================================================================ */

.page-home .collection-container {
    padding-top: 40px;
    padding-bottom: 160px;
    gap: 0;
}

.page-home .page-intro {
    margin-bottom: 80px;
}

.page-home .section-index {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 24px;
}

.page-home .page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 400;
    text-transform: lowercase;
    color: var(--ink);
    margin-bottom: 24px;
}

.page-home .page-title em {
    font-style: italic;
}

.page-home .page-lede {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 500px;
}

/* Filter + View Toggle Bar */
.page-home .filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 0;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 24px;
}

.page-home .filter-pills {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.page-home .filter-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.page-home .filter-btn:hover,
.page-home .filter-btn.active {
    color: var(--ink);
}

.page-home .filter-btn.active {
    color: var(--accent);
    background: none;
    border: none;
    padding: 0;
}

.page-home .filter-count {
    color: inherit;
    opacity: 0.6;
}

.page-home .view-toggles {
    display: flex;
    gap: 16px;
}

.page-home .view-toggle {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

.page-home .view-toggle:hover,
.page-home .view-toggle.active {
    color: var(--ink);
}

/* Section Headers */
.page-home .coll-section-header {
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hairline);
}

.page-home .coll-section-index {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    text-transform: lowercase;
    color: var(--ink);
}

.page-home .ledger-header {
    margin-top: 80px;
}

/* 1. Featured Trio */
.page-home .trio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.page-home .trio-card {
    display: flex;
    flex-direction: column;
    transition: transform 400ms ease-out;
}

.page-home .trio-card:hover {
    transform: translateY(-10px) !important;
}

.page-home .trio-link {
    text-decoration: none;
    display: block;
}

.page-home .trio-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--paper-2);
    margin-bottom: 24px;
    border: 1px solid var(--hairline);
}

.page-home .trio-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .trio-card:hover .trio-img {
    transform: scale(1.05);
}

.page-home .trio-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.page-home .trio-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    text-transform: lowercase;
    color: var(--ink);
}

.page-home .trio-spec-drawer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 400ms ease-out, opacity 400ms ease-out, margin-top 400ms ease-out;
}

.page-home .trio-card:hover .trio-spec-drawer {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
}

.page-home .trio-spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px dashed var(--hairline);
}

.page-home .trio-spec-list li {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    text-transform: lowercase;
    color: var(--ink-soft);
}

/* 2. Architectural Ledger */
.page-home .ledger-table {
    display: flex;
    flex-direction: column;
}

.page-home .ledger-row {
    display: grid;
    grid-template-columns: 1fr 2.5fr 2fr 2fr 1fr;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid rgba(43, 43, 43, 0.08);
    transition: background-color 0.2s ease;
}

.page-home .ledger-row:not(.ledger-head):hover {
    background-color: rgba(43, 43, 43, 0.02);
}

.page-home .ledger-head {
    border-bottom: 1px solid var(--hairline);
    padding: 16px 0;
}

.page-home .ledger-cell {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    text-transform: lowercase;
    color: var(--ink-soft);
    min-width: 0; /* Auto Layout guardrail */
    word-break: break-word; /* Guardrail */
    padding-right: 24px;
}

.page-home .ledger-head .ledger-cell {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(43, 43, 43, 0.5);
}

.page-home .lc-action {
    text-align: right;
    padding-right: 0;
}

.page-home .ledger-action {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-home .ledger-row:hover .ledger-action {
    opacity: 1;
}

/* Load More */
.page-home .load-more-bar {
    display: flex;
    justify-content: center;
    margin-top: 64px;
}

.page-home .load-more-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--hairline);
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-home .load-more-btn:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

/* Ledger Preview (Cursor Follower) */
.ledger-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 280px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 300ms ease-out, transform 300ms ease-out;
    background: var(--paper);
    border: 1px solid var(--hairline);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    will-change: transform;
}

@media (hover: none), (max-width: 768px) {
    .ledger-preview {
        display: none !important;
    }
}

.ledger-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Pure Grid Overrides */
.page-home .pure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 60px 40px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .page-home .trio-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .page-home .trio-card {
        transform: translateY(0) !important;
    }
    .page-home .ledger-row {
        grid-template-columns: 1fr 2fr 1fr;
    }
    .page-home .lc-material, .page-home .lc-dim {
        display: none;
    }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Filter bar: pills scroll horizontally, view toggles sit below */
    .page-home .filter-bar {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin-bottom: 40px;
    }
    /* Wrapper holds the gradient indicator — min-width:0 lets it shrink in the flex context */
    .page-home .filter-pills-wrap {
        position: relative;
        min-width: 0;
        width: 100%;
    }
    .page-home .filter-pills-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 56px;
        height: 100%;
        background: linear-gradient(to right, transparent, var(--paper) 85%);
        pointer-events: none;
        z-index: 1;
        transition: opacity 0.25s ease;
    }
    .page-home .filter-pills-wrap.pills-at-end::after {
        opacity: 0;
    }
    .page-home .filter-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 14px 0;
        gap: 20px;
        border-bottom: 1px solid var(--hairline);
        /* Must be explicit so the flex pills container is bounded by its parent */
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .page-home .filter-pills::-webkit-scrollbar { display: none; }
    .page-home .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .page-home .view-toggles {
        padding: 12px 0 0;
        gap: 20px;
    }

    /* Page intro tighter on mobile */
    .page-home .page-intro { margin-bottom: 40px; }
    .page-home .ledger-header { margin-top: 48px; }
    .page-home .collection-container { padding-bottom: 80px; }

    /* Trio: stay 2-column on mobile */
    .page-home .trio-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .page-home .trio-img-wrap { margin-bottom: 12px; }
    .page-home .trio-title { font-size: 16px; }
    .page-home .trio-spec-drawer { display: none; } /* spec drawer is hover-only; hide on touch */

    /* Ledger: card-style rows instead of a table */
    .page-home .ledger-table { overflow-x: hidden; }
    .page-home .ledger-head { display: none; }
    .page-home .ledger-row:not(.ledger-head) {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px 0;
    }
    .page-home .ledger-cell { padding-right: 0; }
    .page-home .lc-ref { display: none; }
    .page-home .lc-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 20px;
        color: var(--ink);
        order: 1;
    }
    .page-home .lc-material,
    .page-home .lc-dim {
        display: block;
        font-size: 11px;
        order: 2;
    }
    .page-home .lc-action {
        text-align: left;
        margin-top: 6px;
        order: 3;
    }
    .page-home .ledger-action { opacity: 1; }

    /* Pure grid: 2 columns */
    .page-home .pure-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }

    /* Catalog cards (pure-grid) */
    .page-home .catalog-title { font-size: 14px; }
}

/* ── Small mobile (≤ 480px) ───────────────────────────────────────────── */
@media (max-width: 480px) {
    .page-home .trio-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .page-home .pure-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ==========================================================================
   ARCHIVAL INDEX DRAWER (Appended CSS)
   ========================================================================== */
.page-home .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 0;
    margin-bottom: 0;
}

.page-home .filter-toggle-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    color: var(--ink);
    opacity: 0.7;
    background: none;
    border: none;
    padding: 8px 0;
    transition: color 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.page-home .filter-toggle-btn:hover {
    color: var(--ink);
    opacity: 1;
}

/* Hide the old filter pills if they ever show up */
.page-home .filter-pills-wrap {
    display: none !important;
}

.page-home .filter-drawer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    margin-bottom: 80px;
    border-bottom: 1px solid transparent;
}
.page-home .filter-drawer-wrapper.is-open {
    grid-template-rows: 1fr;
    border-bottom-color: var(--hairline);
}
.page-home .filter-drawer {
    overflow: hidden;
}
.page-home .filter-drawer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 40px;
    padding: 0 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), padding 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.page-home .filter-drawer-wrapper.is-open .filter-drawer-inner {
    padding: 40px 0;
    opacity: 1;
    transform: translateY(0);
}

.page-home .filter-group-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.page-home .filter-group-title {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.5;
    margin: 0 0 16px 0;
    font-weight: 500;
}

/* Overriding the old .filter-btn styling when inside drawer */
.page-home .filter-drawer-inner .filter-btn {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.7;
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    padding: 8px 0;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    border-radius: 0;
    margin: 0;
    max-width: 100%;
}

.page-home .filter-drawer-inner .filter-btn.active,
.page-home .filter-drawer-inner .filter-btn:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
    opacity: 1;
    background: none;
}

.page-home .filter-drawer-inner .filter-count {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    opacity: 0.4;
    margin-left: 16px;
    color: inherit;
}

@media (max-width: 1024px) {
    .page-home .filter-drawer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-home .filter-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        margin-bottom: 0;
        gap: 16px;
    }
    .page-home .filter-toggle-btn {
        flex: 1;
        text-align: left;
        line-height: 1.2;
    }
    .page-home .view-toggles {
        flex-shrink: 0;
        gap: 12px;
        padding: 0;
        justify-content: flex-end;
    }
    .page-home .filter-drawer-inner {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .page-home .filter-group-col {
        margin-bottom: 32px;
    }
    .page-home .filter-drawer-wrapper.is-open {
        margin-bottom: 24px;
    }
    .page-home .filter-drawer-wrapper.is-open .filter-drawer-inner {
        padding: 32px 0;
    }
}

/* Override the old filter-bar container since we now have filter-header inside it */
.page-home .filter-bar {
    display: block !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   EDITORIAL GUIDE LAYOUT
   ========================================================================== */

        .guide-wrap {
            max-width: 720px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .guide-header {
            padding: 64px 0 0;
            max-width: 720px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

        .guide-header .label {
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            letter-spacing: 0.18em;
            text-transform: lowercase;
            color: var(--ink-soft);
            font-weight: 600;
            margin-bottom: 18px;
            display: inline-block;
        }

        .guide-header h1 {
            font-family: 'Fraunces', serif;
            font-weight: 450;
            font-size: 44px;
            line-height: 1.08;
            margin: 0 0 20px;
            letter-spacing: -0.01em;
            color: var(--ink);
        }

        .guide-header h1 em {
            font-style: italic;
            font-weight: 400;
            color: var(--walnut, #6E4A2E);
        }

        .guide-header .dek {
            font-size: 17px;
            color: var(--ink-soft);
            max-width: 56ch;
            margin: 0 0 8px;
        }

        .guide-meta-row {
            display: flex;
            align-items: center;
            gap: 18px;
            margin: 28px 0 0;
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            letter-spacing: 0.14em;
            text-transform: lowercase;
            color: var(--ink-soft);
            font-weight: 600;
        }

        .guide-meta-row span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .guide-meta-row span:not(:first-child):not(.author)::before {
            content: "";
            display: inline-block;
            width: 4px;
            height: 4px;
            background-color: var(--ink-soft);
            border-radius: 50%;
        }

        .guide-hero {
            margin-top: 48px;
        }

        .guide-shot {
            position: relative;
            background: var(--paper);
            overflow: hidden;
            border: 1px solid var(--hairline);
        }
        
        .guide-shot img {
            width: 100%;
            display: block;
            height: auto;
        }

        .guide-shot.shot-hero {
            margin-bottom: 64px;
        }

        .guide-shot.shot-hero img {
            aspect-ratio: 16/10;
            object-fit: contain;
        }

        .ref-tag {
            position: absolute;
            top: 16px;
            right: 16px;
            background: rgba(38, 34, 32, 0.4);
            backdrop-filter: blur(4px);
            color: var(--cream, #F5F1EA);
            padding: 6px 12px;
            font-size: 9px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            border-radius: 20px;
            z-index: 2;
        }

        .shot-note {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 24px 24px;
            background: linear-gradient(to top, rgba(38,34,32,0.88), rgba(38,34,32,0));
            color: #F5F1EA;
            z-index: 1;
        }

        .shot-note .label {
            color: #E8DFCE;
            opacity: 0.85;
            margin-bottom: 8px;
            font-size: 10px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }
        
        .shot-note .shot-desc {
            font-size: 13px;
            max-width: 45ch;
            line-height: 1.5;
        }

        .guide-body {
            padding: 64px 0;
        }

        .guide-step {
            display: grid;
            grid-template-columns: 48px 1fr;
            gap: 24px;
            margin-bottom: 64px;
        }

        .guide-step-num {
            font-family: 'Fraunces', serif;
            font-size: 36px;
            color: var(--rust, #A6572E);
            font-weight: 500;
        }

        .guide-step h2 {
            font-family: 'Fraunces', serif;
            font-size: 24px;
            font-weight: 450;
            margin: 0 0 16px;
            color: var(--ink);
        }

        .guide-step p {
            margin: 0 0 16px;
            color: var(--ink-soft);
            font-size: 16px;
            line-height: 1.7;
        }

        .guide-tip {
            margin: 24px 0;
            padding: 24px;
            border-left: 2px solid var(--rust, #A6572E);
            background: var(--paper);
            font-size: 15px;
            color: var(--ink);
        }

        .guide-tip .label {
            display: block;
            margin-bottom: 8px;
            color: var(--rust, #A6572E);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 10px;
            letter-spacing: 0.1em;
        }

        .guide-shot-inline {
            margin: 32px 0 0;
        }
        
        .guide-shot-inline img {
            aspect-ratio: 4/5;
            object-fit: cover;
        }

        .guide-ref-card {
            border: 1px solid var(--hairline);
            padding: 40px;
            margin-bottom: 80px;
            text-align: center;
        }

        .guide-ref-card .label {
            color: var(--ink-soft);
            margin-bottom: 16px;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            display: block;
        }

        .guide-ref-card h3 {
            font-family: 'Fraunces', serif;
            font-size: 22px;
            margin: 0 0 16px;
            color: var(--ink);
        }

        .guide-ref-card p {
            font-size: 15px;
            color: var(--ink-soft);
            max-width: 50ch;
            margin: 0 auto 24px;
        }

        .guide-ref-card .cta {
            display: inline-block;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--ink);
            text-decoration: none;
            border-bottom: 1px solid var(--ink);
            padding-bottom: 4px;
        }

        .guide-closing {
            padding: 0 0 80px;
            text-align: center;
        }

        .guide-closing p {
            font-size: 18px;
            color: var(--ink-soft);
            max-width: 50ch;
            margin: 0 auto 24px;
            line-height: 1.6;
        }

        .guide-closing .signoff {
            font-family: 'Fraunces', serif;
            color: var(--ink);
            font-size: 20px;
            font-style: italic;
        }

        .author {
            margin-left: auto;
            color: var(--ink-soft); text-transform: uppercase;
        }
        
        @media (max-width: 768px) {
            .guide-header h1 { font-size: 32px; }
            .guide-step { grid-template-columns: 1fr; gap: 8px; }
            .guide-step-num { margin-bottom: 8px; }
            .guide-ref-card { padding: 24px; }
            .shot-note { padding: 16px; }
            .shot-note .shot-desc { font-size: 11px; }
        }
    

/* Allow the Archive header to span all columns when buttons are direct children */
.page-home .filter-drawer-inner .filter-group-title.span-all {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .page-home .filter-drawer-inner .filter-btn {
        margin-bottom: 4px;
    }
}





/* ==========================================================================
   ASSET PROTECTION (Anti-Print, Anti-Drag, Anti-Select)
   ========================================================================== */

/* Prevent image dragging natively in CSS */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Prevent text selection across the site to protect copy */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection inside the contact form inputs so users can type */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Anti-Print: Hide everything and display a warning when printing */
@media print {
    body {
        display: none !important;
    }
    html {
        background-color: var(--paper, #F5F1EA);
    }
    html::after {
        content: "Printing and unauthorized reproduction of Yugm Studios archival material is strictly prohibited. All rights reserved.";
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        padding: 2em;
        text-align: center;
        font-family: 'Fraunces', serif;
        font-size: 1.5em;
        color: #111;
    }
}
