:root {
    --bg-cream: #F7EFE6;
    --bg-rose: #F1E2DE;
    --bg-sand: #EDE3D6;
    --ink: #24211E;
    --ink-soft: #6B625C;
    --accent: #BF7A45;
    --accent-deep: #8C5A32;
    --card-dark: #1C1917;
    --card-dark-text: #F3EAE0;
    --line: rgba(36, 33, 30, 0.12);
    --white: #FFFFFF;
    --radius: 22px;
    --good: #3f7a52;
}

/* ---------- Library header ---------- */
.lib-header {
    padding: 64px 0 36px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

    .lib-header .eyebrow {
        margin-bottom: 14px;
    }

    .lib-header h1 {
        font-family: 'Fraunces', serif;
        font-weight: 500;
        font-size: clamp(32px, 4vw, 48px);
        margin-bottom: 16px;
    }

    .lib-header p {
        color: var(--ink-soft);
        font-size: 16px;
        max-width: 680px;
        margin: 0 auto;
    }

/* ---------- Sticky pattern sub-nav (this IS pattern 01) ---------- */
.pattern-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(247, 239, 230, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
}

.pattern-nav-inner {
    display: flex;
    gap: 6px;
    padding: 14px 40px;
    max-width: 1160px;
    margin: 0 auto;
    white-space: nowrap;
}

.pattern-nav a {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink-soft);
    transition: .15s;
}

    .pattern-nav a:hover {
        background: rgba(36, 33, 30, .08);
        color: var(--ink);
    }

/* ---------- Pattern block shell ---------- */
.pattern-block {
    padding: 70px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 64px;
}

    .pattern-block.dark-bleed {
        background: #12111a;
    }

.pattern-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .pattern-kicker .tag-num {
        font-family: 'Fraunces', serif;
        font-style: italic;
        color: var(--accent-deep);
        font-size: 18px;
    }

    .pattern-kicker .tag-source {
        font-size: 11.5px;
        letter-spacing: .07em;
        text-transform: uppercase;
        color: var(--ink-soft);
        font-weight: 600;
        background: rgba(36, 33, 30, .06);
        padding: 5px 12px;
        border-radius: 999px;
    }

.dark-bleed .pattern-kicker .tag-source {
    background: rgba(255, 255, 255, .08);
    color: #C9BEB1;
}

.dark-bleed .pattern-kicker .tag-num {
    color: #e7c9a1;
}

.pattern-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(23px, 2.5vw, 30px);
    margin-bottom: 8px;
}

.dark-bleed .pattern-title {
    color: #fff;
}

.pattern-note {
    color: var(--ink-soft);
    font-size: 14.5px;
    max-width: 640px;
    margin-bottom: 34px;
}

.dark-bleed .pattern-note {
    color: #B8AB9C;
}

/* ================= PATTERN COMPONENTS ================= */

/* -- Day / time cross-fade (Nova) -- */
.timefade {
    background: #12111a;
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
}

.timefade-steps {
    padding: 10px 44px;
}

.timefade-step {
    padding: 54px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    opacity: .35;
    transition: opacity .5s ease;
}

    .timefade-step:last-child {
        border-bottom: none;
    }

    .timefade-step.active {
        opacity: 1;
    }

    .timefade-step .eyebrow {
        color: #C9BEB1;
    }

    .timefade-step h3 {
        font-family: 'Fraunces', serif;
        font-weight: 500;
        color: #fff;
        font-size: 24px;
        margin: 10px 0 10px;
    }

    .timefade-step p {
        color: #B8AB9C;
        font-size: 14.5px;
        max-width: 340px;
    }

.timefade-visual {
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 1.1s ease;
}

    .timefade-visual .tf-label {
        font-family: 'Fraunces', serif;
        font-style: italic;
        color: rgba(255, 255, 255, .92);
        font-size: 21px;
        transition: opacity .4s ease;
    }

/* -- Two-button sizing chooser (Nova / RingConn) -- */
.sizer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 680px;
}

.sizer-option {
    border: 1.5px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    cursor: pointer;
    transition: .15s;
    background: var(--white);
}

    .sizer-option.selected {
        border-color: var(--ink);
        box-shadow: 0 0 0 1px var(--ink);
    }

    .sizer-option h4 {
        font-family: 'Fraunces', serif;
        font-size: 17px;
        margin-bottom: 6px;
    }

    .sizer-option p {
        font-size: 13.5px;
        color: var(--ink-soft);
    }

.sizer-panel {
    margin-top: 20px;
    padding: 22px;
    border-radius: 16px;
    background: var(--bg-sand);
    font-size: 14px;
    display: none;
    max-width: 680px;
}

    .sizer-panel.show {
        display: block;
    }

.size-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.size-pill {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    background: var(--white);
}

    .size-pill.selected {
        background: var(--ink);
        color: var(--bg-cream);
        border-color: var(--ink);
    }

.kit-btn {
    margin-top: 14px;
    display: inline-flex;
    background: var(--ink);
    color: var(--bg-cream);
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* -- Trust badge row (everywhere) -- */
.trust-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
    background: var(--white);
}

    .trust-badge svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        color: var(--accent-deep);
    }

/* -- Cost comparison (Circular "what it actually costs") -- */
.cost-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cost-card {
    border-radius: var(--radius);
    padding: 32px;
}

    .cost-card.us {
        background: var(--card-dark);
        color: var(--card-dark-text);
    }

    .cost-card.them {
        background: var(--bg-sand);
    }

    .cost-card .cost-tag {
        font-size: 11.5px;
        letter-spacing: .08em;
        text-transform: uppercase;
        font-weight: 700;
        color: var(--accent);
    }

    .cost-card.them .cost-tag {
        color: var(--ink-soft);
    }

    .cost-card .cost-num {
        font-family: 'Fraunces', serif;
        font-size: 44px;
        margin: 8px 0 4px;
    }

    .cost-card .cost-sub {
        font-size: 13px;
        opacity: .72;
        margin-bottom: 22px;
    }

.cost-line {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font-size: 14px;
}

.cost-card.us .cost-line {
    border-bottom-color: rgba(255, 255, 255, .1);
}

.cost-line.total {
    font-weight: 700;
    border-bottom: none;
    padding-top: 16px;
    font-size: 15px;
}

/* -- Sparkline stat cards (Halo "quiet readings") -- */
.spark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.spark-card {
    background: var(--card-dark);
    color: var(--card-dark-text);
    border-radius: 18px;
    padding: 26px 24px;
}

    .spark-card .label {
        font-size: 13px;
        font-weight: 600;
        color: #C9BEB1;
    }

.spark-svg {
    width: 100%;
    height: 32px;
    margin: 12px 0 2px;
}

    .spark-svg path {
        fill: none;
        stroke: var(--accent);
        stroke-width: 2;
    }

.spark-card .val {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    margin-top: 6px;
}

    .spark-card .val small {
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        color: #B8AB9C;
        font-weight: 500;
        margin-left: 4px;
    }

/* -- Cart upgrades module (Halo "Popular upgrades" + free gift) -- */
.cart-box {
    max-width: 480px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    background: var(--white);
}

.cart-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}

    .cart-line .main-name {
        font-weight: 600;
    }

.cart-upgrade {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .cart-upgrade input {
        width: 17px;
        height: 17px;
        accent-color: var(--ink);
    }

    .cart-upgrade .u-name {
        font-size: 13.5px;
    }

        .cart-upgrade .u-name small {
            display: block;
            color: var(--ink-soft);
            font-size: 12px;
        }

.cart-gift {
    background: rgba(191, 122, 69, .1);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 0;
}

    .cart-gift .free-tag {
        font-weight: 700;
        color: var(--accent-deep);
        font-size: 11.5px;
        letter-spacing: .05em;
    }

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 17px;
    padding-top: 16px;
    margin-bottom: 16px;
}

.cart-cta {
    width: 100%;
    background: var(--ink);
    color: var(--bg-cream);
    border: none;
    padding: 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
}

/* -- Buy-it-together bundle (QRingStore) -- */
.bundle-box {
    max-width: 520px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.bundle-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

    .bundle-item input {
        width: 18px;
        height: 18px;
        accent-color: var(--ink);
        flex-shrink: 0;
    }

.bundle-swatch {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    flex-shrink: 0;
}

    .bundle-swatch.a {
        background: linear-gradient(150deg, #F1E2DE, #BF7A45);
    }

    .bundle-swatch.b {
        background: linear-gradient(150deg, #EDE3D6, #8C5A32);
    }

.bundle-item .b-name {
    font-size: 14px;
    font-weight: 600;
    flex: 1;
}

    .bundle-item .b-name small {
        display: block;
        color: var(--ink-soft);
        font-weight: 400;
        font-size: 12.5px;
        margin-top: 2px;
    }

.bundle-item .b-price {
    font-size: 14px;
    font-weight: 600;
}

.bundle-banner {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--bg-cream);
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    display: none;
}

    .bundle-banner.show {
        display: block;
    }

.bundle-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-weight: 700;
    font-size: 16px;
}

    .bundle-total .strike {
        font-weight: 400;
        text-decoration: line-through;
        color: var(--ink-soft);
        margin-right: 8px;
        font-size: 14px;
    }

/* -- Feature comparison table (Signal "us vs them") -- */
.compare-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 13.5px;
}

    .compare-table th,
    .compare-table td {
        padding: 14px 16px;
        text-align: left;
        border-bottom: 1px solid var(--line);
    }

    .compare-table th {
        font-family: 'Fraunces', serif;
        font-weight: 500;
        font-size: 15px;
        color: var(--ink-soft);
    }

        .compare-table th.us-col {
            background: var(--ink);
            color: var(--bg-cream);
            border-radius: 14px 14px 0 0;
        }

    .compare-table td.us-col {
        background: rgba(36, 33, 30, .05);
        font-weight: 600;
    }

    .compare-table td,
    .compare-table th {
        text-align: center;
    }

        .compare-table td:first-child,
        .compare-table th:first-child {
            text-align: left;
        }

.check {
    color: var(--good);
    font-weight: 700;
    font-size: 16px;
}

.dash {
    color: var(--ink-soft);
    opacity: .4;
}

/* -- Annotated spec diagram (VIV leader lines) -- */
.spec-diagram {
    position: relative;
    width: 600px;
    max-width: 100%;
    height: 420px;
    margin: 0 auto;
}

.spec-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, #e7c9a1, #bf7a45 25%, #8c5a32 45%, #d9ab74 65%, #e7c9a1 100%);
    box-shadow: 0 30px 60px -20px rgba(140, 90, 50, .4), inset 0 0 0 26px var(--bg-cream);
}

.spec-callout {
    position: absolute;
    width: 168px;
    font-size: 12.5px;
}

    .spec-callout .spec-label {
        font-weight: 700;
        margin-bottom: 2px;
    }

    .spec-callout .spec-desc {
        color: var(--ink-soft);
        line-height: 1.4;
    }

    .spec-callout.tl {
        top: 14px;
        left: 0;
        text-align: right;
    }

    .spec-callout.tr {
        top: 14px;
        right: 0;
    }

    .spec-callout.bl {
        bottom: 14px;
        left: 0;
        text-align: right;
    }

    .spec-callout.br {
        bottom: 14px;
        right: 0;
    }

/* -- Dramatic single-feature hero (FITTR — rare/optional use) -- */
.drama-hero {
    position: relative;
    background: #0b0e14;
    border-radius: var(--radius);
    padding: 90px 40px 70px;
    text-align: center;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.drama-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 122, 69, .32), transparent 70%);
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.drama-arch {
    position: relative;
    width: 320px;
    height: 170px;
    margin-bottom: 36px;
}

    .drama-arch::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 170px 170px 0 0;
        background: linear-gradient(90deg, #e7c9a1, #8c5a32, #e7c9a1);
    }

    .drama-arch::after {
        content: '';
        position: absolute;
        left: 24px;
        right: 24px;
        top: 24px;
        bottom: 0;
        border-radius: 146px 146px 0 0;
        background: #0b0e14;
    }

.drama-hero h3 {
    position: relative;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    color: #fff;
    font-size: clamp(24px, 3.2vw, 36px);
    margin-bottom: 12px;
}

.drama-hero p {
    position: relative;
    color: #B8AB9C;
    max-width: 460px;
    margin: 0 auto;
    font-size: 14.5px;
}

.drama-toast {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    padding: 14px 18px;
    max-width: 230px;
    opacity: 0;
    animation: toastIn 1s ease forwards 1s;
}

@keyframes toastIn {
    to {
        opacity: 1;
        transform: translateY(-6px);
    }
}

.drama-toast .t-title {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
}

.drama-toast .t-body {
    color: #B8AB9C;
    font-size: 11.5px;
    line-height: 1.4;
}

footer.lib-footer {
    padding: 50px 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 13px;
}

@media (max-width:860px) {
    .timefade {
        grid-template-columns: 1fr;
    }

    .timefade-visual {
        min-height: 260px;
        order: -1;
    }

    .sizer,
    .cost-grid,
    .spark-grid {
        grid-template-columns: 1fr;
    }

    .spec-diagram {
        height: auto;
        padding-bottom: 280px;
    }

    .spec-callout {
        position: static;
        width: 100%;
        text-align: left !important;
        margin-bottom: 10px;
    }

    .spec-ring {
        position: relative;
        margin: 0 auto 20px;
    }
}


/* ---------- Product grid ---------- */
.products {
    padding: 130px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 20px;
    flex-wrap: wrap;
}

    .section-head h2 {
        font-family: 'Fraunces', serif;
        font-weight: 500;
        font-size: clamp(30px, 3.4vw, 42px);
    }

    .section-head p {
        color: var(--ink-soft);
        max-width: 380px;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px 28px;
    background: var(--white);
    transition: transform .2s, box-shadow .2s;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 40px -20px rgba(36, 33, 30, .25);
    }

.product-swatch {
    height: 180px;
    border-radius: 16px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swatch-spark {
    background: url('../assets/smart-spark.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.swatch-pulse {
    background: url('../assets/smart-surge.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.swatch-surge {
    background: url('../assets/smart-pulse.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* .swatch-spark{ background:linear-gradient(150deg,#EDE3D6,#D8C6A8); }
        .swatch-pulse{ background:linear-gradient(150deg,#F1E2DE,#BF7A45); }
        .swatch-surge{ background:linear-gradient(150deg,#2c2a2a,#5a4a3a); } */
.product-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 6px;
}

.product-card .tagline {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 16px;
    min-height: 40px;
}

.product-card .price {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 18px;
}

.product-card .link-cta {
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-deep);
}


.static-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 45px 40px;
}

.static-header {
    font-size: 40px;
    color: #333333;
    text-align: left;
    margin: 24px 0;
}

.static-sub-highlight {
    font-size: 24px;
    color: #000000CC;
    text-align: left;
    font-weight: 600;
}

p.static-text {
    font-size: 16px;
    color: #000000CC;
    text-align: left;
    line-height: 1.6;
}

ul.list-items {
    padding: 45px;
}

.links-highlighter {
    color: var(--accent-deep);
}

.input-text-field {
    max-width: 500px;
}

input {
    width: 100%;
    height: 75px;
    font-size: 18px;
    border-radius: 8px;
    border: 1px solid #8d8c8c;
    padding: 0 24px;
}

.track-order-section {
    margin: 0 auto;
    display: grid;
    grid-template-rows: repeat(3, 2fr);
    grid-row-gap: 40px;
    place-content: center;
}

.shipping-time-table th, .shipping-time-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
    background-color: #f9f6ef;
    color: #333333;
}

@media screen and (min-width:992px){
    .shipping-time-table {
        width: 800px ;
    }
    .sizing-works {
        text-align: left;padding: 0 180px;
    }
   
}
.sizing-works {text-align: left;}