/* ─── Site Header ─── */

.cba-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cba-cream);
    border-bottom: 1px solid var(--cba-border);
}

.cba-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.cba-logo-link {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.cba-logo {
    height: 52px;
    width: auto;
}

.cba-site-nav .cba-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}

.cba-site-nav .cba-nav-list li a {
    display: block;
    font-family: var(--cba-font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cba-text-light);
    padding: 8px 20px;
    border: 1px solid var(--cba-border);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.cba-site-nav .cba-nav-list li a:hover,
.cba-site-nav .cba-nav-list li.current-menu-item a,
.cba-site-nav .cba-nav-list li.current-menu-parent a,
.cba-site-nav .cba-nav-list li.current_page_item a {
    background: var(--cba-taupe);
    color: var(--cba-white);
    border-color: var(--cba-taupe);
}

/* ─── Site Footer ─── */

.cba-site-footer {
    border-top: 1px solid var(--cba-border);
    padding: 32px 24px;
    text-align: center;
    margin-top: 60px;
}

.cba-site-footer p {
    margin: 0;
    font-family: var(--cba-font-body);
    font-size: 13px;
    color: var(--cba-text-light);
    letter-spacing: 0.5px;
}

/* ─── WP Admin Bar offset ─── */

.admin-bar .cba-site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .cba-site-header {
        top: 46px;
    }
}

@media (max-width: 768px) {
    .cba-header-inner {
        flex-direction: column;
        gap: 12px;
        padding: 14px 16px;
    }

    .cba-logo {
        height: 44px;
    }

    .cba-site-nav .cba-nav-list {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cba-site-nav .cba-nav-list li a {
        font-size: 11px;
        padding: 6px 14px;
        letter-spacing: 1px;
    }
}

/* ─── Layout ─── */

.cba-single,
.cba-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ─── Hero ─── */

.cba-hero {
    width: auto;
    max-width: 1120px;
    margin: 0 auto 40px;
    overflow: hidden;        /* clips to the rounded corners */
    border-radius: 14px;
}

.cba-hero-img {
    width: 100%;
    height: auto;            /* natural aspect ratio — show the WHOLE image, no crop */
    display: block;
}

/* ─── Article Header ─── */

.cba-header {
    text-align: center;
    margin-bottom: 32px;
}

.cba-categories {
    margin-bottom: 12px;
}

.cba-category-tag {
    display: inline-block;
    font-family: var(--cba-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cba-taupe-dark);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid var(--cba-border);
    border-radius: 20px;
    margin: 0 4px;
}

.cba-category-tag:hover {
    background: var(--cba-beige);
}

.cba-title {
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.2;
    margin: 8px 0 16px;
}

.cba-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

.cba-budget-badge,
.cba-mood-badge {
    display: inline-block;
    font-family: var(--cba-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--cba-taupe-dark);
    background: var(--cba-beige);
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.cba-mood-badge {
    background: transparent;
    border: 1px solid var(--cba-border);
    color: var(--cba-text-light);
    font-style: italic;
}

/* ─── Curated Note (editorial) ─── */

.cba-curated-note {
    max-width: 640px;
    margin: 0 auto 48px;
    padding: 28px 32px;
    background: var(--cba-cream);
    border: 1px solid var(--cba-border);
    border-radius: 12px;
    text-align: center;
}

.cba-curated-eyebrow {
    display: block;
    font-family: var(--cba-font-heading);
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cba-taupe);
    margin-bottom: 12px;
}

.cba-curated-note p {
    font-family: var(--cba-font-heading);
    font-size: 17px;
    font-style: italic;
    line-height: 1.7;
    color: var(--cba-text);
    margin: 0;
}

/* ─── Product Notes ─── */

.cba-product-notes {
    font-size: 13px;
    line-height: 1.6;
    color: var(--cba-text-light);
    font-style: italic;
    margin: 0 0 12px;
}

/* ─── Card meta (budget + mood) ─── */

.cba-card-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

.cba-card-mood {
    font-size: 11px;
    font-style: italic;
    color: var(--cba-text-light);
    letter-spacing: 0.3px;
}

/* ─── Description ─── */

.cba-description {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 16px;
    color: var(--cba-text-light);
    line-height: 1.8;
}

/* ─── Section Titles ─── */

.cba-section-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 32px;
}

/* ─── Product Grid ─── */

.cba-products {
    margin-bottom: 48px;
}

.cba-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.cba-product-card {
    background: var(--cba-white);
    border: 1px solid var(--cba-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cba-product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.cba-product-img-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cba-beige);
}

.cba-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cba-product-info {
    padding: 16px;
}

.cba-product-name {
    font-family: var(--cba-font-body);
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.4;
}

.cba-product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.cba-product-price {
    font-weight: 600;
    font-size: 15px;
    color: var(--cba-text);
}

.cba-product-store {
    font-size: 12px;
    color: var(--cba-taupe-dark);
    background: var(--cba-beige);
    padding: 2px 8px;
    border-radius: 10px;
}

.cba-shop-btn {
    display: block;
    text-align: center;
    font-family: var(--cba-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FBF8F1;
    background: var(--cba-text);
    padding: 11px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.cba-shop-btn:hover {
    background: var(--cc-petal-blush);
    color: var(--cba-text);
}

/* ─── Disclosure ─── */

.cba-disclosure {
    max-width: 640px;
    margin: 32px auto 48px;
    padding: 16px 20px;
    background: var(--cba-beige);
    border-radius: 8px;
    font-size: 13px;
    color: var(--cba-text-light);
    text-align: center;
    line-height: 1.6;
}

.cba-disclosure p {
    margin: 0;
}

/* ─── Card Grid (Archive + Related) ─── */

.cba-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.cba-card {
    display: block;
    background: var(--cba-white);
    border: 1px solid var(--cba-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--cba-text);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cba-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    color: var(--cba-text);
}

.cba-card-img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cba-beige);
}

.cba-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.cba-card-body {
    padding: 16px;
}

.cba-card-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cba-taupe-dark);
}

.cba-card-title {
    font-family: var(--cba-font-heading);
    font-size: 18px;
    font-weight: 500;
    margin: 6px 0 8px;
    line-height: 1.3;
}

.cba-card-budget {
    font-size: 13px;
    color: var(--cba-taupe-dark);
}

/* ─── Archive Header ─── */

.cba-archive-header {
    text-align: center;
    padding: 48px 0 40px;
}

.cba-archive-title {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 8px;
}

.cba-archive-desc {
    font-size: 16px;
    color: var(--cba-text-light);
    margin-bottom: 24px;
}

.cba-category-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cba-cat-link {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--cba-text-light);
    border: 1px solid var(--cba-border);
    transition: all 0.2s ease;
}

.cba-cat-link:hover,
.cba-cat-link.active {
    background: var(--cba-taupe);
    color: var(--cba-white);
    border-color: var(--cba-taupe);
}

/* ─── Pagination ─── */

.cba-pagination {
    text-align: center;
    margin-top: 48px;
}

.cba-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 2px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    color: var(--cba-text-light);
}

.cba-pagination .page-numbers.current {
    background: var(--cba-taupe);
    color: var(--cba-white);
}

/* ─── Related Posts ─── */

.cba-related {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--cba-border);
}

/* ─── Empty State ─── */

.cba-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--cba-text-light);
    font-size: 16px;
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
    .cba-single,
    .cba-archive {
        padding: 0 16px 40px;
    }

    .cba-hero {
        border-radius: 10px;
        margin-bottom: 24px;
    }

    .cba-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cba-product-info {
        padding: 12px;
    }

    .cba-product-name {
        font-size: 13px;
    }

    .cba-product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .cba-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cba-card-body {
        padding: 12px;
    }

    .cba-card-title {
        font-size: 15px;
    }

    .cba-archive-header {
        padding: 32px 0 24px;
    }
}

@media (max-width: 480px) {
    .cba-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .cba-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Homepage ─── */

.cba-home {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.cba-home-hero {
    text-align: center;
    padding: 80px 0 60px;
}

.cba-home-headline {
    font-family: var(--cba-font-heading);
    font-weight: 500;
    font-size: clamp(32px, 5.2vw, 52px);
    color: var(--cba-text);
    margin: 0 auto 16px;
    line-height: 1.2;
    max-width: 760px;
}

.cba-home-subtitle {
    font-family: var(--cba-font-body);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.6;
    color: var(--cba-text-light);
    margin: 0 auto 36px;
    max-width: 640px;
}

.cba-home-cta {
    display: inline-block;
    font-family: var(--cba-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FBF8F1;
    background: var(--cba-text);
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.cba-home-cta:hover {
    background: var(--cc-petal-blush);
    color: var(--cba-text);
}

.cba-home-categories {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cba-home-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 40px;
    background: var(--cba-beige);
    border-radius: 16px;
    text-decoration: none;
    color: var(--cba-text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 140px;
}

.cba-home-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    color: var(--cba-text);
}

.cba-home-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}

.cba-home-cat-icon svg {
    width: 100%;
    height: 100%;
}

.cba-home-cat-name {
    font-family: var(--cba-font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cba-home-content {
    max-width: 760px;
    margin: 0 auto 60px;
    padding: 0 8px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--cba-text);
}

.cba-home-content > * + * {
    margin-top: 16px;
}

.cba-home-latest {
    margin-top: 60px;
}

.cba-home-latest .cba-section-title {
    margin-bottom: 32px;
}

/* ─── About Page ─── */

.cba-about {
    max-width: 640px;
    margin: 0 auto;
    padding: 60px 20px;
}

.cba-about-content h1 {
    font-family: var(--cba-font-heading);
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 24px;
}

.cba-about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--cba-text-light);
    margin-bottom: 16px;
}

.cba-about-content ul {
    margin: 0 0 24px 20px;
    color: var(--cba-text-light);
    line-height: 2;
}

.cba-about-content .cba-home-cta {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .cba-home-hero {
        padding: 48px 0 40px;
    }

    .cba-home-cat-card {
        padding: 24px 28px;
        min-width: 120px;
    }
}

/* ============================================================
   HOMEPAGE — Elevated (magazine blueprint)
   Section classes prefixed cc-*. Reuses .cba-card grid for guides.
   Lives here so it deploys with the theme (front-page.php port).
   ============================================================ */
.cc-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.cc-eyebrow { font-family: var(--cba-font-body); text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px; font-weight: 600; color: var(--cba-taupe); }

.cc-btn { display:inline-block; font-family:var(--cba-font-body); font-size:13px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; text-decoration:none; padding:14px 30px; border-radius:5px; transition: all .2s ease; cursor:pointer; border:0; }
.cc-btn-solid { background: var(--cba-text); color: #FBF8F1; }
.cc-btn-solid:hover { background: var(--cc-petal-blush); color: var(--cba-text); }

/* Hero */
.cc-hero { position: relative; min-height: min(80vh, 720px); display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden; }
.cc-hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 42%; z-index:0; }
.cc-hero::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(50,71,92,0.32) 0%, rgba(50,71,92,0.30) 45%, rgba(50,71,92,0.52) 100%); }
.cc-hero-inner { position:relative; z-index:2; padding: 40px 24px; max-width: 720px; }
.cc-hero .cc-eyebrow { color:#F3E9D8; }
.cc-hero h1 { font-family: var(--cba-font-heading); color:#fff; font-weight:500; font-size: clamp(34px, 6vw, 64px); line-height:1.12; margin: 14px 0 18px; text-shadow: 0 2px 26px rgba(0,0,0,0.28); }
.cc-hero p.cc-hero-sub { color:#F1E7D6; font-size: clamp(15px,1.8vw,18px); margin: 0 auto 26px; max-width: 46ch; }
.cc-hero .cc-btn-solid { background: rgba(255,255,255,0.96); color: var(--cba-text); }
.cc-hero .cc-btn-solid:hover { background:#fff; color: var(--cba-taupe-dark); }

/* Mission */
.cc-mission { text-align:center; padding: 60px 24px; }
.cc-mission p { font-family: var(--cba-font-heading); font-style: italic; font-size: clamp(19px, 2.5vw, 26px); line-height:1.5; color: var(--cba-text); max-width: 640px; margin: 0 auto; }

/* Section head */
.cc-shead { text-align:center; margin-bottom: 36px; }
.cc-shead .cc-eyebrow { display:block; margin-bottom: 10px; }
.cc-shead h2 { font-size: clamp(26px, 3.4vw, 38px); margin:0; }

/* Featured guide (split) */
.cc-featured { padding: 24px 0 68px; }
.cc-split { display:grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px,4vw,54px); align-items:center; }
.cc-fimg { aspect-ratio: 16/11; border-radius: 10px; overflow:hidden; background: var(--cba-beige); }
.cc-fimg img { width:100%; height:100%; object-fit:cover; display:block; }
.cc-fbody .cc-eyebrow { display:block; margin-bottom:12px; }
.cc-fbody h3 { font-size: clamp(24px,3vw,34px); margin: 0 0 12px; line-height:1.15; }
.cc-fbody p { color: var(--cba-text-light); margin: 0 0 22px; }

/* Charm list (tall cards) */
.cc-charm { padding: 68px 0; background: var(--cba-beige); }
.cc-charm-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.cc-citem { text-decoration:none; color: var(--cba-text); display:block; }
.cc-cimg { aspect-ratio: 3/4; border-radius: 8px; overflow:hidden; background: var(--cba-cream); border:1px solid var(--cba-border); }
.cc-cimg img { width:100%;height:100%;object-fit:cover; transition: transform .3s ease; display:block; }
.cc-citem:hover .cc-cimg img { transform: scale(1.04); }
.cc-ctag { display:block; margin-top:12px; font-size:11px; letter-spacing:1.4px; text-transform:uppercase; color: var(--cba-taupe-dark); }
.cc-cname { font-family: var(--cba-font-heading); font-size:17px; margin:4px 0 0; }

/* Duo (shop my home + seasonal) */
.cc-duo { padding: 68px 0; }
.cc-duo-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(22px,3vw,38px); }
.cc-pimg { display:block; aspect-ratio: 16/10; border-radius:10px; overflow:hidden; background: var(--cba-beige); }
.cc-pimg img { width:100%;height:100%;object-fit:cover; display:block; }
.cc-panel h3 { font-size: 24px; margin: 18px 0 6px; }
.cc-panel p { color: var(--cba-text-light); margin:0 0 16px; font-size:15px; }

/* Newsletter (contained panel — restraint) */
.cc-news { padding: 20px 24px 76px; }
.cc-news-inner { max-width: 720px; margin:0 auto; text-align:center; background: var(--cba-beige); border:1px solid var(--cba-border); border-radius: 14px; padding: clamp(32px,5vw,52px) 28px; }
.cc-news .cc-eyebrow { display:block; margin-bottom:10px; }
.cc-news h2 { font-size: clamp(23px,3vw,32px); margin: 0 0 10px; }
.cc-news p { color: var(--cba-text-light); max-width: 42ch; margin: 0 auto 22px; }
.cc-news form { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.cc-news input { padding:13px 16px; border:1px solid var(--cba-border); border-radius:6px; font-family:var(--cba-font-body); font-size:14px; width: min(320px, 78vw); background:#fff; }

/* Instagram */
.cc-ig { padding: 8px 0 72px; }
.cc-ig-grid { display:grid; grid-template-columns: repeat(6,1fr); gap:10px; }
.cc-igimg { aspect-ratio:1; border-radius:6px; overflow:hidden; background: var(--cba-beige); display:block; }
.cc-igimg img { width:100%;height:100%;object-fit:cover; transition: transform .3s ease; display:block; }
.cc-igimg:hover img { transform: scale(1.05); }

@media (max-width: 900px){
  .cc-charm-grid { grid-template-columns: repeat(2,1fr); }
  .cc-ig-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 720px){
  .cc-split { grid-template-columns: 1fr; }
  .cc-duo-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LOGO-COLOR PALETTE — bring sage, blush & deep tones beyond cream
   Draws the greens/roses/browns from the Curated by Alayna badge so
   sections have rhythm instead of one flat beige ground.
   ============================================================ */
:root {
  --cc-sage-soft:  #F3ECDD;   /* alternate section band → Warm Ivory */
  --cc-blush-soft: #EAF1F8;   /* soft band → Sky Mist on warm white */
  --cc-sage-deep:  #32475C;   /* dark band → Delft Navy */
  --cc-footer:     #32475C;   /* footer / dark ground → Delft Navy */
}
/* Full-bleed section tint utilities */
.cc-bg-sage  { background: var(--cc-sage-soft); }
.cc-bg-blush { background: var(--cc-blush-soft); }
.cc-bg-sand  { background: var(--cba-beige); }

/* Homepage: Charm List band → soft blush (was flat beige) */
.cc-charm { background: transparent; }

/* Homepage newsletter → a deep sage band (a true color moment) */
.cc-news-inner { background: var(--cba-text); border-color: var(--cba-text); color: #F3ECDD; }
.cc-news-inner .cc-eyebrow { color: rgba(247,241,232,0.85); }
.cc-news-inner h2 { color: #FBF8F1; }
.cc-news-inner p  { color: rgba(247,241,232,0.92); }
.cc-news-inner input { border-color: transparent; }
.cc-news-inner .cc-btn-solid { background: var(--cc-petal-blush); color: var(--cba-text); }
.cc-news-inner .cc-btn-solid:hover { background:#fff; color: var(--cba-text); }

/* Deep, grounding footer on every page (replaces the pale one) */
.cba-site-footer { background: var(--cc-footer); border-top: 0; margin-top: 0; padding: 44px 24px; }
.cba-site-footer p { color: #B89A9A; }

/* Soft botanical accent line above section titles for warmth */
.cc-shead .cc-eyebrow::before { content: "\002741"; display:block; color: var(--cba-accent); font-size: 18px; letter-spacing:0; margin-bottom: 6px; }

/* ============================================================
   BRAND v0.9 — restrained texture. Clean Warm White ground with
   Warm Ivory alternate sections; no all-over floral wallpaper.
   (Body background comes from style.css → --cba-cream / Warm White.)
   ============================================================ */

/* ============================================================
   EDITORIAL PAGE RHYTHM — each page opens on its own tone
   (sage / blush / deep-brown), carried from the launch blueprint.
   ============================================================ */
/* Dark "ink" band — deep warm brown ground with beige type */
.cc-bg-ink { background: var(--cc-footer); }
.cc-bg-ink p, .cc-bg-ink li { color: #F0E6DC; }
.cc-bg-ink h1, .cc-bg-ink h2, .cc-bg-ink h3 { color: #FBF8F1; }
.cc-bg-ink .cc-eyebrow { color: var(--cba-accent); }

/* Guides archive: full-width soft-blush header band */
.cba-archive-header {
  width: 100vw; margin-left: calc(-50vw + 50%); box-sizing: border-box;
  background: var(--cc-blush-soft);
  padding: 62px 24px 42px; margin-bottom: 44px;
}

/* Footer connect row (social links on the dark footer) */
.cba-footer-inner { max-width: 1160px; margin: 0 auto; text-align: center; }
.cc-footer-connect { display:flex; gap:22px; justify-content:center; flex-wrap:wrap; margin-bottom:16px; }
.cc-footer-connect a { font-size:12px; letter-spacing:1.5px; text-transform:uppercase; color:#F0E6DC; text-decoration:none; font-weight:700; }
.cc-footer-connect a:hover { color: var(--cc-petal-blush); }

/* ============================================================
   DARK HEADER — Delft Navy bar that bookends the footer.
   Light cream nav, Powder Blue hover. Uses the LIGHT wordmark
   (see header.php: cc_wordmark_horizontal_light.svg).
   ============================================================ */
.cba-site-header {
  background: var(--cc-footer);
  background-image: none;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}
.cba-site-nav .cba-nav-list li a {
  color: #F3E9DE;
  border: 0;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 4px;
  transition: color 0.18s ease;
}
.cba-site-nav .cba-nav-list li a:hover,
.cba-site-nav .cba-nav-list li.current-menu-item a,
.cba-site-nav .cba-nav-list li.current-menu-parent a,
.cba-site-nav .cba-nav-list li.current_page_item a {
  background: transparent;
  color: var(--cba-accent);
  border-color: transparent;
}

/* ============================================================
   BRAND v0.9 ALIGNMENT — footer wordmark, Alayna's Notes,
   per-guide accent theming (guide §8/§9, tokens.css).
   ============================================================ */
.cc-footer-wordmark { display:block; height:34px; width:auto; margin:0 auto 10px; opacity:.95; }
/* Text wordmark (interim until Alayna's final logo art) */
.cc-wordmark-text{font-family:var(--cba-font-heading);font-weight:600;font-size:24px;letter-spacing:.16em;text-transform:uppercase;color:#F3E9DE;line-height:1;white-space:nowrap;display:inline-block}
.cc-wordmark-text em{font-style:italic;text-transform:none;font-weight:500;letter-spacing:.03em;color:var(--cba-accent)}
.cc-footer-wordmark-text{font-family:var(--cba-font-heading);font-weight:600;font-size:26px;letter-spacing:.16em;text-transform:uppercase;color:#F3E9DE;display:block;margin:0 auto 10px}
.cc-footer-wordmark-text em{font-style:italic;text-transform:none;font-weight:500;letter-spacing:.03em;color:var(--cba-accent)}
.cc-footer-phrase { font-family: var(--cba-font-heading); font-size:14px; letter-spacing:.12em; text-transform:uppercase; color:#E7D8CB; margin:0 0 18px; }

/* Alayna's Notes — Warm Ivory card, Powder Blue left rule (guide §8) */
.cba-curated-note {
  max-width: 680px; margin: 0 auto 48px; text-align: left;
  border: 1px solid var(--cba-border);
  border-left: 0.35rem solid var(--cba-accent);
  border-radius: 12px;
  background: var(--cba-beige);
  padding: 26px 30px;
}
.cba-curated-eyebrow { color: var(--cba-taupe); letter-spacing: 0.13em; font-style: normal; font-family: var(--cba-font-body); font-weight: 700; }
.cba-curated-note p { text-align: left; font-style: normal; font-family: var(--cba-font-body); font-size: 16px; line-height: 1.7; color: var(--cba-text); }

/* Per-guide concept accents — set at the guide wrapper level only (guide §9) */
.cc-guide { --cc-guide-accent: var(--cba-accent); --cc-guide-accent-soft: var(--cc-petal-blush); --cc-guide-ink: var(--cba-text); }
.cc-guide--coastal        { --cc-guide-accent:#94B5C7; --cc-guide-accent-soft:#E8F0F3; --cc-guide-ink:#294F63; }
.cc-guide--cottage-floral { --cc-guide-accent:#B89A83; --cc-guide-accent-soft:#F5E9E2; --cc-guide-ink:#5F443B; }
.cc-guide--holiday        { --cc-guide-accent:#A2875C; --cc-guide-accent-soft:#F2EBDD; --cc-guide-ink:#405342; }
.cc-guide .cba-curated-note { border-left-color: var(--cc-guide-accent); }
.cc-guide .cba-category-tag { color: var(--cc-guide-ink); }

/* =====================================================================
   HOMEPAGE POLISH — design-panel winner (QUIET EDITORIAL) + judge grafts.
   Four harmonized treatments: 1) botanical dividers  2) section ground
   rhythm  3) card micro-interactions  4) framed hero. Appended last so it
   wins the cascade. Powder Blue (--cba-accent) is DECOR ONLY — never text.
   ===================================================================== */

/* --- TREATMENT 2: section background rhythm ---------------------------
   Chapters: Warm White -> Warm Ivory -> soft Blush -> Warm Ivory -> Navy.
   The single Blush band sits UNDER the white Latest-Guides cards so they
   read cleanly (panel graft). Bands are full-bleed automatically. */
.cc-mission                { background: var(--cba-cream); }        /* §2 Warm White */
.cc-featured#featured       { background: var(--cba-beige); }        /* §3 Warm Ivory */
.cc-featured:not(#featured) { background: var(--cc-blush-soft); }    /* §4 soft Blush under white cards */
.cc-charm                  { background: var(--cba-beige); }        /* §5 Warm Ivory (re-grounds transparent) */
/* §6 .cc-news + footer stay Delft Navy (unchanged). */

/* --- TREATMENT 1: botanical section dividers + gradient title rule ----
   Two dividers, each on its OWN Warm-White strip so the dark botanical art
   always floats on a light ground even beside a tinted band (panel graft).
   Markup added at two seams in preview/index.html AND front-page.php. */
.cc-divider {
  display: flex; justify-content: center; align-items: center;
  padding: 14px 24px;
  background: var(--cba-cream);
}
.cc-divider img { width: 170px; max-width: 58%; height: auto; opacity: .9; display: block; }

/* Section-title mark: the lone glyph becomes a soft Dusty-Rose gradient
   hairline that echoes the fade of the divider's flower heads. */
.cc-shead .cc-eyebrow::before {
  content: ""; display: block;
  width: 46px; height: 2px; margin: 0 auto 12px;
  background: linear-gradient(90deg, transparent, var(--cba-accent), transparent);
  border-radius: 2px;
}

/* --- TREATMENT 3: card micro-interactions ----------------------------
   Springy lift, soft warm shadow, calm image zoom, and one unified
   Dusty-Rose signature across BOTH card families. GPU-only. */
.cba-card {
  transition: transform .45s cubic-bezier(.22,1,.36,1),
              box-shadow .45s cubic-bezier(.22,1,.36,1),
              border-color .45s ease;
}
.cba-card:hover {
  transform: translateY(-4px);
  border-color: var(--cba-accent);                      /* unified dusty-rose accent (panel fix) */
  box-shadow: 0 18px 40px -12px rgba(50,71,92,.16),
              0 6px 14px -8px rgba(50,71,92,.10);
}
.cba-card-img { transition: transform .9s cubic-bezier(.22,1,.36,1); }
.cba-card:hover .cba-card-img { transform: scale(1.04); }
.cba-card-title { position: relative; }
.cba-card-title::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  height: 2px; width: 32px; background: var(--cba-accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.cba-card:hover .cba-card-title::after { transform: scaleX(1); }

.cc-citem { transition: transform .45s cubic-bezier(.22,1,.36,1); }
.cc-citem:hover { transform: translateY(-3px); }
.cc-cimg { transition: border-color .45s ease, box-shadow .45s cubic-bezier(.22,1,.36,1); }
.cc-cimg img { transition: transform .9s cubic-bezier(.22,1,.36,1); }
.cc-citem:hover .cc-cimg {
  border-color: var(--cba-accent);
  box-shadow: 0 14px 30px -14px rgba(50,71,92,.16);
}
.cc-citem:hover .cc-cimg img { transform: scale(1.045); }
/* Signature underline extended to the Charm List name (panel graft, GPU scaleX). */
.cc-cname { position: relative; }
.cc-cname::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  height: 2px; width: 28px; background: var(--cba-accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.cc-citem:hover .cc-cname::after { transform: scaleX(1); }

/* Reduced-motion guard — neutralize movement, keep resting state. */
@media (prefers-reduced-motion: reduce) {
  .cba-card, .cba-card-img, .cba-card-title::after,
  .cc-citem, .cc-cimg, .cc-cimg img, .cc-cname::after { transition: none !important; }
  .cba-card:hover, .cc-citem:hover,
  .cba-card:hover .cba-card-img, .cc-citem:hover .cc-cimg img { transform: none; }
  .cba-card:hover .cba-card-title::after,
  .cc-citem:hover .cc-cname::after { transform: scaleX(1); }
}

/* --- TREATMENT 4: framed hero ----------------------------------------
   Translucent warm-white hairline inset 20px PLUS a soft inset vignette
   (panel graft) to settle the photo edges under the wordmark + headline.
   Via ::before (no markup); above the photo, under the text. */
.cc-hero::before {
  content: ""; position: absolute;
  top: 20px; right: 20px; bottom: 20px; left: 20px; z-index: 2;
  border: 1px solid rgba(255,252,248,.45);
  box-shadow: inset 0 0 90px rgba(50,71,92,.28);
  pointer-events: none;
}
.cc-hero-inner { z-index: 3; }   /* keep text above the frame regardless of DOM order */

/* --- mobile safety ---------------------------------------------------- */
@media (max-width: 768px) {
  .cc-hero::before { top: 12px; right: 12px; bottom: 12px; left: 12px; }
  .cc-divider { padding: 8px 24px; }
  .cc-divider img { width: 132px; max-width: 62%; }
}


/* ═══════════════════════ BATCH 2 POLISH — treatments 4 / 6 / 7 / 8 ═══════════════════════ */
/* ==================================================================
   TREATMENT 4 (batch 2) — Button + Link Polish
   Appended: wins the cascade. CSS-only, no markup/PHP changes.
   Palette tokens only: --cba-text (Delft Navy), --cba-taupe (French Blue),
   --cba-accent (Powder Blue, decorative focus ring), --cba-beige, --cba-border.
   ================================================================== */

/* ── Solid buttons: fuller transition (keeps existing color change,
      adds transform + box-shadow on a soft boutique easing) ──────── */
.cc-btn-solid,
.cba-shop-btn,
.cba-home-cta {
  transition:
    background-color .2s ease,
    color .2s ease,
    transform .22s cubic-bezier(.22, 1, .36, 1),
    box-shadow .22s cubic-bezier(.22, 1, .36, 1);
}

/* Hover: subtle lift + layered warm (Delft Navy) shadow */
.cc-btn-solid:hover,
.cba-shop-btn:hover,
.cba-home-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 10px rgba(50, 71, 92, .10),
    0 10px 22px rgba(50, 71, 92, .16);
}

/* Press: settle back down, reduced shadow, quick response */
.cc-btn-solid:active,
.cba-shop-btn:active,
.cba-home-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(50, 71, 92, .14);
  transition-duration: .08s;
}

/* Keyboard focus: Powder Blue ring (decorative accent), offset for clarity */
.cc-btn-solid:focus-visible,
.cba-shop-btn:focus-visible,
.cba-home-cta:focus-visible {
  outline: 2px solid var(--cba-accent);
  outline-offset: 3px;
}

/* ── Refined content-link hover — French Blue deepening to Delft Navy with
      a left-to-right underline grow. Gradient underline (not a pseudo)
      so it survives line wraps. Scoped to prose only — never buttons,
      nav, cards, or the category chip. ──────────────────────────────── */
.cba-description p a,
.cba-curated-note p a,
.cba-disclosure a,
.cc-signature-card p a,
.cc-lead a,
.cc-sub a {
  color: var(--cba-taupe);
  text-decoration: none;
  background-image: linear-gradient(var(--cba-text), var(--cba-text));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .3s cubic-bezier(.22, 1, .36, 1), color .2s ease;
}

.cba-description p a:hover,
.cba-curated-note p a:hover,
.cba-disclosure a:hover,
.cc-signature-card p a:hover,
.cc-lead a:hover,
.cc-sub a:hover {
  color: var(--cba-text);
  background-size: 100% 1px;
}

.cba-description p a:focus-visible,
.cba-curated-note p a:focus-visible,
.cba-disclosure a:focus-visible,
.cc-signature-card p a:focus-visible,
.cc-lead a:focus-visible,
.cc-sub a:focus-visible {
  outline: 2px solid var(--cba-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Category chip (.cba-category-tag) — refined hover: border deepens
      Linen -> French Blue, beige fill retained. No color change, so themed
      guide ink (.cc-guide --cc-guide-ink) is preserved on hover.
      Plus a keyboard focus ring. ────────────────────────────────────── */
.cba-category-tag {
  transition: background-color .2s ease, border-color .2s ease;
}

.cba-category-tag:hover {
  background: var(--cba-beige);
  border-color: var(--cba-taupe);
}

.cba-category-tag:focus-visible {
  outline: 2px solid var(--cba-accent);
  outline-offset: 2px;
}

/* ── Reduced-motion guard: no transform anywhere; keep color + a static
      shadow/underline cue (they simply appear without animating). ───── */
@media (prefers-reduced-motion: reduce) {
  .cc-btn-solid,
  .cba-shop-btn,
  .cba-home-cta {
    transition: background-color .2s ease, color .2s ease;
  }
  .cc-btn-solid:hover,
  .cba-shop-btn:hover,
  .cba-home-cta:hover,
  .cc-btn-solid:active,
  .cba-shop-btn:active,
  .cba-home-cta:active {
    transform: none;
  }
  .cba-description p a,
  .cba-curated-note p a,
  .cba-disclosure a,
  .cc-signature-card p a,
  .cc-lead a,
  .cc-sub a {
    transition: color .2s ease;
  }
}
/* =====================================================================
   TREATMENT 6 — Guide drop cap + Alayna's-Notes pull-quote
   Appended last so it wins the cascade. No motion (no reduced-motion
   guard required). Powder Blue stays decorative — used only for the
   pull-quote's ornamental quotation mark, never for reading text.
   ===================================================================== */

/* (1) DROP CAP — GUIDE PAGES ONLY --------------------------------------
   Scoped to .find-type-guide (body class added by the body_class filter
   in functions.php; hardcoded on preview/find.html). A drop cap needs
   left-aligned prose, so the Guide intro switches from centered Warm
   Taupe to left-aligned Delft Navy for legibility. */
.find-type-guide .cba-description {
  text-align: left;
  color: var(--cba-text);
}
.find-type-guide .cba-description p:first-of-type::first-letter {
  float: left;
  font-family: var(--cba-font-heading);
  font-weight: 600;
  font-size: 3.1em;
  line-height: 0.78;
  color: var(--cba-taupe);            /* French Blue display initial */
  margin: 0.04em 0.10em -0.02em 0;
  padding: 0;
}

/* (2) PULL-QUOTE — Alayna's Notes, all find types -----------------------
   Keep the Warm Ivory card + Powder Blue left rule; set the note in
   italic Cormorant Garamond and add a large decorative opening quotation mark.
   The mark is non-selectable, pointer-inert, and sits behind the text.
   `isolation:isolate` contains the inner z-indexes to this card. */
.cba-curated-note {
  position: relative;
  isolation: isolate;
}
.cba-curated-note .cba-curated-eyebrow {
  position: relative;
  z-index: 1;
}
.cba-curated-note p {
  position: relative;
  z-index: 1;
  font-family: var(--cba-font-heading);
  font-style: italic;
  font-size: 18px;
  line-height: 1.75;
  color: var(--cba-text);
}
.cba-curated-note::before {
  content: "\201C";                    /* opening curly quote, decorative */
  position: absolute;
  top: 0.26em;
  left: 0.30em;
  z-index: 0;
  font-family: var(--cba-font-heading);
  font-size: 3em;
  line-height: 0.6;
  color: var(--cba-accent);            /* Powder Blue — decorative accent only */
  opacity: 0.5;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
/* ============================================================
   TREATMENT 7 — official icon family on LIGHT content sections
   Small line-icon marks (theme/assets/icons/*.svg, 64x64 fixed-color:
   navy/rosewood strokes, dusty-rose/petal fills).
   LIGHT grounds only — never the navy hero/nav/footer. Restrained.
   ============================================================ */

/* (a) Inline marks on single-Find titles & the Alayna's Notes eyebrow.
   Images flow inside the existing centered text — no flex, no reflow. */
.cba-title-icon {
  width: 22px;
  height: 22px;
  vertical-align: -4px;
  margin-right: 0.4em;
}
.cba-eyebrow-icon {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 0.35em;
}

/* (b) Centered mark on the two iconed homepage section heads.
   COLLISION RESOLVE (option ii): on these heads the icon REPLACES the
   batch-1 dusty-rose gradient hairline (.cc-shead .cc-eyebrow::before,
   brand.css ~line 1005), so the two marks never stack. The COMPOUND
   .cc-shead.cc-shead--icon selector (specificity 0,3,1) outranks that
   rule regardless of source order — order-independent, not reliant on
   append position. Every other .cc-shead keeps its hairline. */
.cc-shead.cc-shead--icon .cc-eyebrow::before { content: none; }
.cc-shead-icon {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 10px;
}

@media (max-width: 768px) {
  .cba-title-icon { width: 20px; height: 20px; vertical-align: -3px; }
  .cc-shead-icon  { width: 20px; height: 20px; }
}
/* ── Treatment 8 · scalloped pressed-flower footer edge ──────────────────
   A doily / pressed-edge scallop of Deep-Navy bumps rising from the top of
   the footer into whatever section sits above it. The gaps between bumps are
   TRANSPARENT (never a hardcoded ground colour) so it looks right on every
   page — Warm White, Ivory, soft Blush, etc. Pure CSS: no markup change, no
   layout shift (absolute + out of flow), and not clickable (pointer-events).
   Renders in the live theme AND the preview automatically, since both output
   the same <footer class="cba-site-footer">.
   NOTE: the outer feather stop is --cc-footer (#32475C = rgb(50,71,92)) at
   zero alpha — NOT the `transparent` keyword — so the navy arcs fade to a
   transparent COCOA rather than through transparent-black, which would leave
   a faint grey halo on the curved edge against a light section. Same token,
   no new colour. */
.cba-site-footer{ position:relative; }

.cba-site-footer::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:-13px;              /* bumps rise ~13px above the footer's top edge   */
  height:14px;            /* 1px underlaps the footer → seamless join        */
  pointer-events:none;    /* no clickable area, no layout shift              */
  /* circle centred on the band's BOTTOM row → that row paints solid navy
     edge-to-edge (flush with the footer); the arc above it scallops. The
     24px period is a touch smaller than the 27px diameter so neighbouring
     arcs overlap and the valleys read as soft rounded notches, not cusps. */
  background-image:
    radial-gradient(circle at 50% 100%,
      var(--cc-footer) 0 13.5px, rgba(50,71,92,0) 14px);
  background-size:24px 14px;
  background-position:bottom center;
  background-repeat:repeat-x;
}

@media (max-width:768px){
  .cba-site-footer::before{
    top:-11px;
    height:12px;
    background-image:
      radial-gradient(circle at 50% 100%,
        var(--cc-footer) 0 11.5px, rgba(50,71,92,0) 12px);
    background-size:20px 12px;   /* smaller scallops, still tile cleanly     */
  }
}

/* ─── Full-bleed overflow guard ───────────────────────────────────────
   Full-bleed bands (.cc-hero, .cba-hero, .cba-archive-header, and the
   interior .cc-page-header) break out with a 100vw technique that can add
   ~scrollbar-width of horizontal scroll. `overflow-x: clip` removes that
   sideways scroll WITHOUT creating a scroll container, so the sticky
   Deep-Navy header keeps sticking; html stays the scroll container so sticky works. */
html { overflow-x: hidden; }


/* ── Signup capture (newsletter) ────────────────────────────────────── */
.cc-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.cc-signup-msg{min-height:1.1em;margin:10px 0 0;font-size:14px;color:var(--cba-taupe)}
.cc-news-inner .cc-signup-msg{color:rgba(247,241,232,.92)}


/* ── Charm List item note — the personal one-liner under the card ── */
.cc-cnote{font-family:var(--cba-font-heading);font-style:italic;font-size:14px;line-height:1.55;color:var(--cba-text-light);margin:4px 0 0}


/* ── Affiliate disclosure + pin-landing scroll offset ─────────────────── */
.cc-disclosure{font-size:12px;font-style:italic;color:var(--cba-text-light);max-width:560px;margin:14px auto 0;line-height:1.6}
.cba-section-title + .cc-disclosure{margin:-18px auto 26px;text-align:center}
.cc-citem{scroll-margin-top:110px}   /* #find-{id} pin landings clear the sticky header */
@media (max-width:768px){ .cc-citem{scroll-margin-top:200px} }


/* ── Card shop affordance (finds cards) ──────────────────────────────── */
.cc-cshop{display:block;margin-top:7px;font-size:11px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--cba-taupe)}
.cc-cshop .arr{color:var(--cba-accent)}
.cc-citem:hover .cc-cshop{color:var(--cba-taupe-dark)}
