/* Shared stylesheet moved out of inline <style> blocks so browsers cache it.
   Used by: /blog/, /financing/, /projects/classic-white-kitchen-warm-wood-vancouver-wa/, /projects/coastal-calm-bathroom-remodel/, /projects/, /projects/japandi-inspired-kitchen/, /projects/luxury-spa-primary-bathroom/, /projects/warm-transitional-kitchen/, /resources/bathroom-remodel-budget-calculator/, /resources/, /resources/kitchen-remodel-budget-calculator/, /resources/warranty/ */

    :root {
      --cream:        #f8f8f8;
      --cream-mid:    #f0f0f0;
      --cream-dark:   #e4e4e4;
      --charcoal:     #0f0f0f;
      --charcoal-mid: #1a1a1a;
      --charcoal-lt:  #2a2a2a;
      --brass:        #0f0f0f;
      --stone:        #3a3a3a;
      --stone-lt:     #6e6e6e;
      --white:        #f8f8f8;
      --red:          #E03030;
      --serif:  'Poppins', system-ui, sans-serif;
      --italic: 'Cormorant Garamond', Georgia, serif;
      --sans:   'Poppins', system-ui, sans-serif;
      --r-sm:   0;
      --r-md:   0;
      --r-lg:   0;
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    }
    @font-face {
      font-family: 'Roslindale';
      src: url('/fonts/roslindale-400.woff2') format('woff2');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    /* Hide browser scrollbar site-wide */
    html { scrollbar-width: none; -ms-overflow-style: none; }
    html::-webkit-scrollbar { width: 0; height: 0; display: none; }
    body { font-family: var(--sans); background: var(--cream); color: var(--charcoal); overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.5; }
    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
    .reveal, .reveal.visible { opacity: 1; transform: none; }
    .btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 32px; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; text-transform: capitalize; border-radius: 0; transition: all 0.25s ease; white-space: nowrap; }
    .btn-brass { background: var(--red); color: var(--white); border: 2px solid var(--red); }
    .btn-brass:hover { background: #C02020; border-color: #C02020; transform: translateY(-1px); }
    .btn-outline-light { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
    .btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

    /* NAV */

    /* FOOTER */
    footer { background: #111110; padding: 72px 0 0; }
    .scroll-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; border-radius: 50%; background: var(--charcoal); color: var(--cream); font-size: 18px; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; transform: translateY(10px); z-index: 900; border: none; cursor: pointer; }
    .scroll-top.visible { opacity: 1; pointer-events: all; transform: none; }

    /* ARTICLE */
    .article-hero { padding-top: 120px; padding-bottom: 56px; background: var(--cream); border-bottom: 1px solid var(--cream-dark); }
    .article-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-lt); margin-bottom: 28px; }
    .article-breadcrumb a { color: var(--stone-lt); transition: color 0.2s ease; }
    .article-breadcrumb a:hover { color: var(--charcoal); }
    .article-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); background: rgba(196,106,45,0.09); padding: 4px 12px; border-radius: 0; margin-bottom: 20px; }
    .article-title { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 600; line-height: 1.15; color: var(--charcoal); margin-bottom: 20px; max-width: 820px; }
    .article-title em { font-family: var(--italic); font-style: italic; font-size: 1.2em; color: var(--red); }
    .article-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
    .article-meta-item { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 400; color: var(--stone-lt); }
    .article-meta-item svg { width: 14px; height: 14px; opacity: 0.6; }
    .article-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--cream-dark); }
    .article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; padding: 72px 0 96px; align-items: start; }
    @media(max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
    .article-body { max-width: 760px; }
    .article-lead-image { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 48px; aspect-ratio: 16/9; }
    .article-lead-image img { width: 100%; height: 100%; object-fit: cover; }
    .article-body h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 600; color: var(--charcoal); margin: 48px 0 16px; line-height: 1.25; }
    .article-body h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--charcoal); margin: 32px 0 10px; }
    .article-body p { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--stone); margin-bottom: 20px; }
    .article-body ul, .article-body ol { margin: 0 0 24px 0; padding-left: 24px; }
    .article-body ul { list-style: disc; }
    .article-body ol { list-style: decimal; }
    .article-body li { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--stone); margin-bottom: 6px; padding-left: 4px; }
    .article-body strong { font-weight: 600; color: var(--charcoal); }
    .article-callout { background: #f1efe9; color: var(--charcoal); border: 1px solid var(--cream-dark); border-radius: var(--r-md); padding: 32px 36px; margin: 40px 0; }
    .article-callout p { color: var(--stone); font-size: 15px; line-height: 1.7; margin-bottom: 0; }
    .article-callout strong { color: var(--charcoal); }
    .article-callout-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--charcoal); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
    .article-callout-title::before { content: ''; display: block; width: 24px; height: 2px; background: var(--red); flex-shrink: 0; }
    .article-tip { border-left: 3px solid var(--red); padding: 16px 20px; background: rgba(196,106,45,0.05); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 28px 0; }
    .article-tip p { font-size: 14px; margin-bottom: 0; }
    .article-numbered { display: flex; flex-direction: column; gap: 32px; margin: 24px 0 40px; }
    .article-numbered-item { display: flex; gap: 20px; align-items: flex-start; }
    .article-numbered-num { width: 40px; height: 40px; border-radius: 50%; background: var(--charcoal); color: var(--cream); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
    .article-numbered-content h3 { margin-top: 0; }
    .article-numbered-content p { margin-bottom: 0; }
    .article-divider { height: 1px; background: var(--cream-dark); margin: 48px 0; }
    .article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; }
    .sidebar-card { background: #fff; border: 1px solid var(--cream-dark); border-radius: var(--r-lg); padding: 28px; }
    .sidebar-card-title { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone-lt); margin-bottom: 18px; display: block; }
    .sidebar-cta { background: var(--charcoal); border-radius: var(--r-lg); padding: 32px 28px; text-align: center; }
    .sidebar-cta-label { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); display: block; margin-bottom: 14px; }
    .sidebar-cta-heading { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 8px; }
    .sidebar-cta-sub { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 22px; }
    .sidebar-cta .btn { width: 100%; justify-content: center; font-size: 12px; letter-spacing: 0.08em; padding: 12px 20px; }
    .sidebar-toc-link { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; color: var(--stone); padding: 7px 0; border-bottom: 1px solid var(--cream-mid); transition: color 0.2s ease; }
    .sidebar-toc-link:last-child { border-bottom: none; }
    .sidebar-toc-link::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cream-dark); flex-shrink: 0; transition: background 0.2s ease; }
    .sidebar-toc-link:hover { color: var(--charcoal); }
    .sidebar-toc-link:hover::before { background: var(--red); }
    .article-footer-cta { background: var(--charcoal); padding: 80px 0; }
    .article-footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
    .article-footer-cta h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; color: #fff; line-height: 1.2; max-width: 520px; }
    .article-footer-cta h2 em { font-family: var(--italic); font-style: italic; font-size: 1.2em; color: var(--red); }
    .article-footer-cta-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }
    @media(max-width: 768px) { .article-layout { padding: 48px 0 72px; } .article-footer-cta-inner { flex-direction: column; } .container { padding: 0 20px; } }

    /* ── BLOG PAGE HERO ─────────────────────────────────────────── */
    .blog-page-hero { background: var(--charcoal); padding: 150px 24px 90px; text-align: center; position: relative; overflow: hidden; }
    .blog-page-hero .svc-hero-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 2; }
    .blog-page-label { display:inline-block; font-family:var(--sans); font-size:12px; font-weight:600; letter-spacing:0.22em; text-transform:uppercase; color:var(--red); margin:0 0 18px; }
    .blog-page-title { font-family:'Roslindale','Poppins',serif; font-weight:600; font-size:clamp(2.6rem,6vw,4.4rem); line-height:1.06; letter-spacing:-0.01em; color:#fff; margin:0; text-transform:uppercase; }
    .blog-page-title em { display:block; font-style:normal; color:var(--red); font-weight:600; }
    .blog-page-sub { font-family:var(--sans); font-weight:300; font-size:clamp(15px,2vw,17px); line-height:1.7; color:rgba(255,255,255,0.78); margin:22px auto 32px; max-width:680px; }
    .blog-page-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px; }

    /* ── BLOG LISTING ────────────────────────────────────────────── */
    .blog-listing {
      padding: 96px 0 128px;
      background: var(--cream);
    }
    .blog-listing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    @media(max-width: 960px) { .blog-listing-grid { grid-template-columns: repeat(2, 1fr); } }
    @media(max-width: 580px)  { .blog-listing-grid { grid-template-columns: 1fr; gap: 20px; } }

    .bl-card {
      display: flex;
      flex-direction: column;
      background: #fff;
      border-radius: 0;
      overflow: hidden;
      border: 1px solid var(--cream-dark);
      transition: transform 0.35s ease, box-shadow 0.35s ease;
      color: inherit;
    }
    .bl-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 24px 64px rgba(0,0,0,0.10);
    }
    .bl-card-img {
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: var(--cream-mid);
    }
    .bl-card-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s ease;
    }
    .bl-card:hover .bl-card-img img { transform: scale(1.05); }
    .bl-card-body {
      padding: 28px 28px 32px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .bl-card-tag {
      display: inline-block;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--red);
      background: rgba(196,106,45,0.09);
      padding: 4px 11px;
      border-radius: 0;
      margin-bottom: 14px;
      align-self: flex-start;
    }
    .bl-card-title {
      font-family: var(--serif);
      font-size: clamp(1.05rem, 1.5vw, 1.2rem);
      font-weight: 600;
      color: var(--charcoal);
      line-height: 1.35;
      margin-bottom: 12px;
      transition: color 0.2s ease;
    }
    .bl-card:hover .bl-card-title { color: var(--red); }
    .bl-card-excerpt {
      font-size: 13.5px;
      font-weight: 300;
      color: var(--stone-lt);
      line-height: 1.75;
      margin-bottom: 22px;
      flex: 1;
    }
    .bl-card-meta {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      font-weight: 400;
      color: rgba(110,110,110,0.8);
      margin-top: auto;
      padding-top: 18px;
      border-top: 1px solid var(--cream-mid);
    }
    .bl-card-meta svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.55; }
    .bl-card-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--cream-dark); flex-shrink: 0; }

    /* ── FOOTER GRID ─────────────────────────────────────────────── */
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1.5fr;
      gap: 48px;
      padding-bottom: 64px;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    @media(max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
    @media(max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      padding: 24px 0 32px;
      font-size: 11px;
      font-weight: 400;
      color: rgba(255,255,255,0.28);
    }
    @media(max-width: 600px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

    /* ── RESPONSIVE FIXES ────────────────────────────────────────── */
    @media(max-width: 768px) {
      .blog-page-hero { padding: 120px 24px 72px; }
      .blog-listing { padding: 64px 0 96px; }
      .container { padding: 0 20px; }
    }
    @media(max-width: 480px) {
      .blog-page-hero { padding: 100px 24px 56px; }
      .blog-page-title { letter-spacing: -0.01em; }
      .bl-card-body { padding: 22px 20px 26px; }
    }

    /* Footer */
    .footer-brand {}
    .footer-serving {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      display: block;
      margin-bottom: 20px;
    }
    .footer-logo-img {
      height: 84px;
      width: auto;
      display: block;
      margin-bottom: 22px;
      filter: brightness(0) invert(1);
      opacity: 0.9;
    }
    .footer-phone-big {
      font-family: var(--serif);
      font-size: clamp(1.15rem, 1.8vw, 1.4rem);
      font-weight: 600;
      color: #ffffff;
      letter-spacing: -0.01em;
      display: block;
      margin-bottom: 20px;
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .footer-phone-big:hover { color: var(--red); }
    .footer-license-line {
      font-size: 11px;
      font-weight: 300;
      color: rgba(255,255,255,0.55);
      line-height: 1.5;
      margin-bottom: 16px;
      max-width: 300px;
    }
    .footer-members {
      margin-bottom: 24px;
      padding-top: 16px;
      border-top: 1px solid rgba(255,255,255,0.07);
      padding-bottom: 16px;
      border-bottom: 1px solid rgba(255,255,255,0.07);
      max-width: 300px;
    }
    .footer-members-label {
      display: block;
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: 10px;
    }
    .footer-members-logos {
      display: inline-grid;
      grid-template-columns: repeat(3, auto);
      gap: 10px 16px;
      align-items: center;
      justify-items: center;
    }
    .footer-social {
      display: flex;
      gap: 12px;
      margin-top: 4px;
    }
    .footer-social-link {
      width: 34px; height: 34px;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.5);
      transition: all 0.2s ease;
    }
    .footer-social-link:hover { border-color: var(--red); color: var(--red); }
    .footer-social-link svg { width: 14px; height: 14px; }

    .footer-col-title {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      margin-bottom: 20px;
      display: block;
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 11px;
    }
    .footer-links a {
      font-size: 13px;
      font-weight: 400;
      color: rgba(255,255,255,0.85);
      transition: color 0.2s ease;
      letter-spacing: 0.01em;
    }
    .footer-links a:hover { color: #ffffff; }

    .footer-contact-items {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .footer-contact-item {
      font-size: 13px;
      font-weight: 400;
      color: rgba(255,255,255,0.85);
      line-height: 1.6;
    }
    .footer-contact-item strong {
      display: block;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
      margin-bottom: 4px;
    }
    .footer-contact-item a {
      color: rgba(255,255,255,0.85);
      transition: color 0.2s ease;
    }
    .footer-contact-item a:hover { color: #ffffff; }

    .footer-cities {
      margin-top: 28px;
      padding-top: 22px;
      border-top: 1px solid rgba(255,255,255,0.07);
    }
    .footer-cities-title {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      display: block;
      margin-bottom: 10px;
    }
    .footer-cities-list {
      font-size: 12px;
      font-weight: 400;
      color: rgba(255,255,255,0.75);
      line-height: 1.8;
    }

    /* ---- Custom cursor ---- */
    html { cursor: none; }
    .cursor-dot {
      position: fixed;
      width: 6px; height: 6px;
      background: var(--white);
      border-radius: 50%;
      pointer-events: none;
      z-index: 10000;
      transform: translate(-50%, -50%);
      transition: transform 0.08s ease, opacity 0.3s ease;
      mix-blend-mode: difference;
    }
    .cursor-ring {
      position: fixed;
      width: 36px; height: 36px;
      border: 1px solid rgba(255,255,255,0.5);
      border-radius: 50%;
      pointer-events: none;
      z-index: 10000;
      transform: translate(-50%, -50%);
      transition: width 0.25s ease, height 0.25s ease,
                  border-color 0.25s ease, transform 0.12s ease;
      mix-blend-mode: difference;
    }
    .cursor-ring.hover {
      width: 56px; height: 56px;
      border-color: rgba(255,255,255,0.8);
    }
    @media (hover: none) {
      html { cursor: auto; }
      .cursor-dot, .cursor-ring { display: none; }
    }
