/* Section-page styles for the preview. Once a design is locked we promote these
   rules into theme/assets/css/brand.css. Uses the same --cba-* tokens. */

.cc-page { max-width: 1040px; margin: 0 auto; padding: 0 20px 72px; }

/* ── Interior page header → full-bleed editorial BAND ─────────────────────
   Breaks out of the 1040px .cc-page container with the SAME full-bleed
   technique as .cba-archive-header (brand.css), sits flush under the dark
   site header, and carries a per-page TONE via a modifier class. pages.css
   loads after brand.css, so these win for the shared .cc-page-* selectors. */
.cc-page-header {
  width: 100vw; margin-left: calc(-50vw + 50%);
  box-sizing: border-box;              /* width:100vw includes the band padding, no h-scroll */
  text-align: center;
  padding: 64px 24px 44px; margin-top: 0; margin-bottom: 0;
  background: transparent;
}
/* Keep the reading measure centered on the full-width band */
.cc-page-header .cc-eyebrow,
.cc-page-header .cc-page-title,
.cc-page-header .cba-category-nav { max-width: 760px; margin-left: auto; margin-right: auto; }

.cc-page .cc-eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: 12px;
  color: var(--cba-taupe); font-weight: 700; margin-bottom: 10px;
}

/* Small official line icon above the eyebrow (first child of the header) */
.cc-page-icon { display: block; width: 26px; height: 26px; margin: 0 auto 12px; }

/* Gradient Dusty-Rose HAIRLINE — replaces the ❁ glyph, echoes the homepage */
.cc-page-header .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;
}

/* Per-page TONE — alternates so adjacent nav pages differ; harmonizes with
   the homepage's Warm Ivory / soft Blush grounds. Text stays navy/rosewood/
   taupe (readable on both). */
.cc-page-header--ivory { background: var(--cba-beige); }        /* Warm Ivory  #F3ECDD */
.cc-page-header--blush { background: var(--cc-blush-soft); }    /* soft Blush  #EAF1F8 */

/* Category pills (archive) sit below the intro on the tinted band — give the
   resting pill a white chip so it lifts cleanly off ivory/blush. */
.cc-page-header .cba-category-nav { margin-top: 24px; }
.cc-page-header .cba-cat-link { background: var(--cba-white); }
/* Re-assert the brand's taupe hover/active fill at higher specificity (0,3,0)
   so the white resting chip above does NOT bleed onto the selected pill — the
   plain descendant rule ties brand's .cba-cat-link.active (0,2,0) and, loading
   later, would otherwise leave the active pill white-on-white (invisible). */
.cc-page-header .cba-cat-link:hover,
.cc-page-header .cba-cat-link.active {
  background: var(--cba-taupe);
  color: var(--cba-white);
  border-color: var(--cba-taupe);
}
/* Room / section rules pick up the sage accent */
.cc-room-title { border-bottom-color: var(--cba-accent) !important; }
.cc-page-title { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin-bottom: 14px; }
.cc-page-intro { max-width: 700px; margin: 0 auto; color: var(--cba-text-light); font-size: 17px; line-height: 1.8; }

/* Signature service (Curated by Alayna Room Plan) */
.cc-signature-card {
  background: var(--cba-white); border: 1px solid var(--cba-border);
  border-radius: 16px; padding: 44px 40px; margin: 0 auto 56px; max-width: 780px; text-align: center;
}
.cc-signature-card h2 { font-size: 28px; margin-bottom: 6px; }
.cc-signature-card .cc-sub { color: var(--cba-text-light); font-style: italic; font-family: var(--cba-font-heading); margin-bottom: 24px; }
.cc-deliverables {
  list-style: none; margin: 0 auto 28px; padding: 0; max-width: 460px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; text-align: left;
}
.cc-deliverables li { position: relative; padding-left: 26px; font-size: 15px; }
.cc-deliverables li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--cba-accent);
}

/* Service cards grid */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.cc-card {
  background: var(--cba-white); border: 1px solid var(--cba-border);
  border-radius: 14px; padding: 26px 24px; text-align: center;
}
.cc-card h3 { font-size: 19px; margin-bottom: 8px; }
.cc-card p { font-size: 14px; color: var(--cba-text-light); line-height: 1.6; margin: 0; }
.cc-badge-soon {
  display: inline-block; font-family: var(--cba-font-body); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--cba-taupe-dark); background: var(--cba-beige);
  padding: 3px 10px; border-radius: 10px; margin-bottom: 12px; font-weight: 600;
}

/* Section heading within a page */
.cc-section { margin-top: 56px; }
.cc-section > .cc-section-head { text-align: center; margin-bottom: 28px; }
.cc-section-head h2 { font-size: 26px; }
.cc-section-head p { color: var(--cba-text-light); font-size: 15px; margin-top: 6px; }
/* Restrained matching hairline above section titles (same gradient as the band) */
.cc-section-head::before {
  content: ""; display: block;
  width: 40px; height: 2px; margin: 0 auto 14px;
  background: linear-gradient(90deg, transparent, var(--cba-accent), transparent);
  border-radius: 2px;
}
/* If a section-head ever carries its own eyebrow, don't stack two marks */
.cc-section-head .cc-eyebrow::before { content: none; }

/* Shop My Home — by-room blocks */
.cc-room { margin-bottom: 44px; }
.cc-room-title { font-size: 22px; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--cba-border); }

/* Connect & Shop grid */
.cc-connect-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.cc-connect-card {
  display: block; background: var(--cba-white); border: 1px solid var(--cba-border);
  border-radius: 14px; padding: 26px; text-align: center; text-decoration: none; color: var(--cba-text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cc-connect-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.cc-connect-card .cc-net { font-family: var(--cba-font-heading); font-size: 20px; margin-bottom: 6px; }
.cc-connect-card .cc-handle { font-size: 13px; color: var(--cba-taupe-dark); }
.cc-connect-card .cc-desc { font-size: 13px; color: var(--cba-text-light); margin-top: 8px; line-height: 1.5; }
.cc-soon-note { text-align: center; color: var(--cba-text-light); font-size: 14px; margin-top: 24px; font-style: italic; }

.cc-center-cta { text-align: center; margin-top: 44px; }

/* Per-page header tones (editorial rhythm between pages) */
.cc-hd-sage  { background: var(--cc-sage-soft, #EAE0DD); }
.cc-hd-sand  { background: var(--cba-beige); }
.cc-hd-ink   { background: var(--cc-footer, #32475C); }
.cc-hd-ink .cc-page-title { color: #FBF6EC; }
.cc-hd-ink .cc-page-intro { color: rgba(234,223,203,0.92); }
.cc-hd-ink .cc-eyebrow,
.cc-hd-ink .cc-eyebrow::before { color: #A7C0D8; }

/* About page */
.cba-about { max-width: 680px; margin: 0 auto; padding: 8px 20px 72px; }
.cba-about-content .cc-about-photo { width:100%; border-radius:14px; border:1px solid var(--cba-border); margin:8px 0 28px; display:block; }
.cba-about-content .cc-lead { font-family:var(--cba-font-heading); font-style:italic; font-size:22px; color:var(--cba-text); }
.cba-about-content p { font-size:16px; line-height:1.8; color:var(--cba-text-light); margin-bottom:16px; }
.cba-about-content .cc-signature { font-family:var(--cba-font-heading); font-style:italic; font-size:20px; color:var(--cba-taupe-dark); margin-top:24px; }
/* About / long-form prose in a solid readable card (over the floral body) */
.cc-prose-card {
  max-width: 720px; margin: 0 auto;
  background: var(--cba-beige);
  border: 1px solid var(--cba-border);
  border-radius: 16px;
  padding: clamp(28px,5vw,48px);
  text-align: left;
}
.cc-prose-card .cc-lead { font-family: var(--cba-font-heading); font-style: italic; font-size: 22px; color: var(--cba-text); margin: 0 0 18px; }
.cc-prose-card p { color: var(--cba-text); font-size: 16px; line-height: 1.85; margin: 0 0 16px; }
.cc-prose-card em { font-style: italic; }
.cc-prose-card .cc-signature { font-family: var(--cba-font-heading); font-style: italic; font-size: 20px; color: var(--cba-taupe-dark); margin-top: 22px; }
.cc-prose-card .cc-cta-wrap { text-align: center; margin-top: 26px; }
/* About page — editorial cards matching the Signature Service styling */
.cc-about-stack { max-width: 780px; margin: 0 auto; }
.cc-about-stack .cc-signature-card { margin: 0 auto 26px; }
.cc-signature-card .cc-lead { font-family:var(--cba-font-heading); font-style:italic; font-size:24px; color:var(--cba-text); margin:0 0 16px; }
.cc-signature-card p { color: var(--cba-text-light); font-size:16px; line-height:1.85; margin:0 auto 14px; max-width:600px; }
.cc-signature-card em { color: var(--cba-text); font-style:italic; }
.cc-signature-card .cc-signature { font-family:var(--cba-font-heading); font-style:italic; font-size:20px; color:var(--cba-taupe-dark); margin-top:18px; }
.cc-chips-block { text-align:center; margin: 0 auto 26px; }
.cc-chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; max-width:660px; margin:12px auto 0; }
.cc-chip { font-family:var(--cba-font-body); font-size:12px; letter-spacing:1.5px; text-transform:uppercase; color:var(--cba-taupe-dark); background:var(--cba-white); border:1px solid var(--cba-border); border-radius:20px; padding:9px 18px; }

/* ── Mobile safety — reduce band padding, scale icon + hairline ─────────── */
@media (max-width: 768px) {
  .cc-page-header { padding: 40px 20px 30px; }
  .cc-page-icon { width: 22px; height: 22px; margin-bottom: 10px; }
  .cc-page-header .cc-eyebrow::before { width: 38px; margin-bottom: 10px; }
  .cc-section-head::before { width: 34px; }
}
