/*
Theme Name: Bartile Child
Theme URI: https://www.bartile.com/
Description: Bartile child theme for Divi. Brand system per the Bartile Brand Style Guide v1.0 (2026) as interpreted in brand-direction.md, revised per Creative Director design-review-1.md: Bartile Red / Charcoal / Warm Stone palette, warm darks, Gotham + Minion Pro type (free fallbacks Montserrat + Source Serif 4 via Google Fonts until an Adobe Fonts kit is added in functions.php).
Author: Bartile
Author URI: https://www.bartile.com/
Template: Divi
Version: 2.7.3
Text Domain: bartile-child
*/

/* =====================================================================
   1. DESIGN TOKENS
   OFFICIAL = Bartile Brand Style Guide v1.0 (2026) · IN USE = sampled from
   the 2026 brochure (approximate) · REC = design recommendation · R1 = design-review-1.md
   ===================================================================== */
:root {
  /* Core palette (OFFICIAL) */
  --bt-red:            #890A00;
  --bt-charcoal:       #1A1A1A;
  --bt-grey-700:       #4F4F4F;
  --bt-grey-300:       #B3B3B3;
  --bt-white:          #FFFFFF;
  /* Extended accents (OFFICIAL, use sparingly) */
  --bt-copper:         #B87333;
  --bt-gold:           #C6A15B;
  --bt-stone:          #EAE7E2;
  /* Warm darks (IN USE, 2026 brochure, approximate) */
  --bt-graphite:       #2C2829;
  --bt-graphite-raised:#393536;
  --bt-espresso:       #231F20;

  /* Semantic roles (REC) */
  --bt-bg-dark:        var(--bt-graphite);
  --bt-bg-darkest:     var(--bt-charcoal);
  --bt-bg-light:       var(--bt-stone);
  --bt-bg-paper:       var(--bt-white);
  --bt-text-on-dark:   var(--bt-stone);
  --bt-head-on-dark:   var(--bt-white);
  --bt-muted-on-dark:  var(--bt-grey-300);
  --bt-text-on-light:  var(--bt-charcoal);
  --bt-muted-on-light: var(--bt-grey-700);
  --bt-cta-bg:         var(--bt-red);
  --bt-cta-text:       var(--bt-white);
  --bt-cta-bg-hover:   var(--bt-copper);
  --bt-cta-text-hover: var(--bt-charcoal);
  --bt-rule-accent:    var(--bt-red);
  --bt-rule-dark:      rgba(234, 231, 226, 0.14);
  --bt-rule-light:     rgba(26, 26, 26, 0.12);
  --bt-card-glass:     rgba(44, 40, 41, 0.88);   /* "LOVE THIS LOOK?" card */

  /* ---- Type: SWAP POINTS (one line each) ----
     Display/UI: Gotham from Adobe kit otp5rom (Book 400 + Medium 500 ONLY; never request 600/700, they would be faux-bolded),
     Montserrat (Google, 400/500) as fallback.
     Body: Minion Pro (same kit, Regular + Italic 400 only) -> Source Serif 4 -> Georgia. */
  --bt-font-display: "gotham", "Montserrat", sans-serif;
  --bt-font-body:    "minion-pro", "Source Serif 4", Georgia, serif;
  --bt-fw-book: 400;
  --bt-fw-medium: 500;
  --bt-fw-semi: 500;   /* Gotham Medium: the heaviest weight in the kit */
  /* R1 #4 type scale */
  --bt-fs-hero:     clamp(36px, 4.4vw, 64px);
  --bt-fs-bigword:  clamp(56px, 8vw, 120px);
  --bt-fs-h2:       clamp(28px, 3vw, 44px);
  --bt-fs-h3:       22px;
  --bt-fs-kicker:   12px;
  --bt-fs-body:     18px;
  --bt-fs-caption:  13px;
  --bt-fs-button:   14px;
  --bt-fs-stat:     40px;
  --bt-track-caps:  0.02em;
  --bt-track-kicker:0.18em;
  --bt-track-button:0.08em;
  --bt-measure:     66ch;    /* R1 #3: 60-70 characters */

  /* Layout (R1 #3) */
  --bt-max-width: 1200px;
  --bt-margin: 80px;
  --bt-gutter: 24px;
  --bt-section-pad: 128px;
  --bt-header-h: 72px;
  --bt-logo-h: 40px;

  /* Shape and motion */
  --bt-radius-btn: 2px;      /* R1 #5: not pill-shaped */
  --bt-radius-card: 2px;
  --bt-radius-pill: 999px;   /* PREMIUM badges and the hero caption pill only */
  --bt-ease: cubic-bezier(.2, .6, .2, 1);
  --bt-dur: 250ms;

  /* Legacy aliases (older content may reference these) */
  --bartile-font-heading: var(--bt-font-display);
  --bartile-font-accent:  var(--bt-font-display);
  --bartile-font-body:    var(--bt-font-body);
}
@media (max-width: 980px) { :root { --bt-section-pad: 96px; --bt-margin: 24px; --bt-header-h: 60px; --bt-logo-h: 34px; } }
@media (max-width: 767px) { :root { --bt-section-pad: 72px; --bt-fs-body: 17px; --bt-fs-hero: min(36px, 9.2vw); } }

/* =====================================================================
   2. BASE
   Source Serif 4 for ALL paragraph copy; Montserrat for headings, labels, specs, buttons (R1 #4)
   ===================================================================== */
body { font-family: var(--bt-font-body); font-size: var(--bt-fs-body); line-height: 1.6;
       color: var(--bt-text-on-light); background: var(--bt-bg-paper);
       -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:where(.et_pb_text, .et_pb_text p, .et_pb_tab p) { font-family: var(--bt-font-body); font-size: var(--bt-fs-body); line-height: 1.6; }  /* zero specificity: component classes win */
#page-container, #main-content { background: var(--bt-bg-paper); }
#main-content .container:before { display: none; }
h1, h2, h3, h4, h5, h6, .et_pb_module_header,
#top-menu a, .et_mobile_menu a, .et_pb_button, input, select, textarea, label, .bt-ui { font-family: var(--bt-font-display); }
h1, h2, h3, h4, h5, h6 { color: var(--bt-text-on-light); padding-bottom: .4em; }
h1 { font-weight: var(--bt-fw-medium); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; font-size: var(--bt-fs-hero); }
h2 { font-weight: var(--bt-fw-medium); text-transform: uppercase; letter-spacing: var(--bt-track-caps); line-height: 1.1; font-size: var(--bt-fs-h2); }
h3 { font-weight: var(--bt-fw-medium); font-size: var(--bt-fs-h3); line-height: 1.25; text-transform: none; letter-spacing: 0; }
h4 { font-weight: var(--bt-fw-semi); font-size: 12px; text-transform: uppercase; letter-spacing: var(--bt-track-kicker); }
body .et_pb_column h1 { font-size: var(--bt-fs-hero); }
body .et_pb_column h2 { font-size: var(--bt-fs-h2); }
body .et_pb_column h3 { font-size: var(--bt-fs-h3); }
p { padding-bottom: 1em; }
/* Kit weights only: Minion Pro 400/400i, Gotham 400/500. Never faux-bold: bold runs in copy switch to Gotham Medium. */
strong, b { font-weight: var(--bt-fw-semi); }
.et_pb_text p strong, .et_pb_text p b, .et_pb_text li strong, .bt-lede strong, .et_pb_tab p strong { font-family: var(--bt-font-display); font-weight: var(--bt-fw-semi); font-size: .92em; }
body { font-synthesis: style; }
.et_pb_text_inner > p, .bt-lede p, p.bt-lede, .bt-measure { max-width: var(--bt-measure); }
.bt-center .et_pb_text_inner > p, .bt-center p.bt-lede, .bt-center .bt-measure { margin-left: auto; margin-right: auto; }
sup { bottom: 0.65em !important; font-size: 75%; }
::selection { background: var(--bt-copper); color: var(--bt-charcoal); }
[id] { scroll-margin-top: calc(var(--bt-header-h) + 16px); }

/* Divi rows: 1200px content, 80px side margins at desktop */
.et_pb_row, .container { max-width: var(--bt-max-width); }
@media (min-width: 981px) { .et_pb_row { width: calc(100% - 2 * var(--bt-margin)); } }

/* =====================================================================
   3. SECTIONS (Divi section CSS classes) - one vertical rhythm (R1 #3)
   ===================================================================== */
.et_pb_section.bt-section { padding-top: var(--bt-section-pad); padding-bottom: var(--bt-section-pad); }
.et_pb_section.bt-section .et_pb_row { padding-top: 0; padding-bottom: 0; }
.et_pb_section.bt-section .et_pb_row + .et_pb_row { margin-top: 48px; }
.et_pb_section.bt-flush { padding: 0 !important; }
.et_pb_section.bt-page-top { padding-top: calc(var(--bt-header-h) + var(--bt-section-pad) * .75); }
.bt-dark    { background-color: var(--bt-bg-dark) !important;    color: var(--bt-text-on-dark); }
.bt-darkest { background-color: var(--bt-bg-darkest) !important; color: var(--bt-text-on-dark); }
.bt-stone   { background-color: var(--bt-bg-light) !important;   color: var(--bt-text-on-light); }
.bt-paper   { background-color: var(--bt-bg-paper) !important;   color: var(--bt-text-on-light); }
.bt-dark .et_pb_text, .bt-darkest .et_pb_text, .bt-dark p, .bt-darkest p,
.bt-dark li, .bt-darkest li, .bt-media p { color: var(--bt-text-on-dark); }
.bt-dark h1, .bt-dark h2, .bt-dark h3, .bt-dark h4, .bt-media h1, .bt-media h2, .bt-media h3,
.bt-darkest h1, .bt-darkest h2, .bt-darkest h3, .bt-darkest h4 { color: var(--bt-head-on-dark); }
.bt-stone .et_pb_text, .bt-paper .et_pb_text { color: var(--bt-text-on-light); }

/* Eyebrow (R1 #4: 12px, 600, +0.18em, Light Grey) + 1px red hairline */
.bt-kicker { display: block; font-family: var(--bt-font-display); font-weight: var(--bt-fw-semi); font-size: var(--bt-fs-kicker);
             letter-spacing: var(--bt-track-kicker); text-transform: uppercase; color: var(--bt-muted-on-light); line-height: 1.2;
             margin-bottom: 20px; padding-bottom: 0; }
.bt-dark .bt-kicker, .bt-darkest .bt-kicker, .bt-media .bt-kicker { color: var(--bt-grey-300); }
.bt-kicker::after { content: ""; display: block; width: 40px; height: 1px; margin-top: 14px; background: var(--bt-rule-accent); }
.bt-kicker.bt-no-rule::after { display: none; }
.bt-center .bt-kicker::after { margin-left: auto; margin-right: auto; }

/* Big-word display (R1 #4: weight 400, +0.01em). Sized to its container so long words never wrap. */
.et_pb_text.bt-bwc, .bt-bwc { container-type: inline-size; }
.bt-bigword, body .et_pb_column h2.bt-bigword { font-family: var(--bt-font-display); font-weight: var(--bt-fw-book);
  font-size: min(var(--bt-fs-bigword), calc(100cqw / (var(--bt-bw-len, 10) * 0.70)));
  text-transform: uppercase; letter-spacing: 0.01em; line-height: .95; padding-bottom: .15em; white-space: nowrap; }
.bt-center, .bt-center .et_pb_text_inner { text-align: center; }
.bt-center .bt-btn-row { justify-content: center; }
p.bt-lede, .bt-lede p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; }
.bt-options { font-family: var(--bt-font-display); font-size: 15px; line-height: 1.9; }
.bt-options .bt-sep { color: var(--bt-copper); padding: 0 .35em; }

/* =====================================================================
   4. BUTTONS AND LINKS (R1 #5)
   ===================================================================== */
body .et_pb_button, .bt-btn, body #page-container .et_pb_button {
  font-family: var(--bt-font-display) !important; font-weight: var(--bt-fw-semi) !important;
  font-size: var(--bt-fs-button) !important; letter-spacing: var(--bt-track-button) !important; line-height: 1 !important;
  text-transform: uppercase; color: var(--bt-cta-text) !important; background: var(--bt-cta-bg) !important;
  border: 1px solid var(--bt-cta-bg) !important; border-radius: var(--bt-radius-btn) !important;
  height: 48px; padding: 0 28px !important; display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important;
  transition: background var(--bt-dur) var(--bt-ease), color var(--bt-dur) var(--bt-ease), border-color var(--bt-dur) var(--bt-ease);
}
body .et_pb_button:hover, .bt-btn:hover, body #page-container .et_pb_button:hover {
  background: var(--bt-cta-bg-hover) !important; border-color: var(--bt-cta-bg-hover) !important;
  color: var(--bt-cta-text-hover) !important; letter-spacing: var(--bt-track-button) !important; padding: 0 28px !important;
}
body .et_pb_button:after, body .et_pb_button:before { display: none !important; }
body #page-container .et_pb_button.bt-btn-ghost, .bt-btn.bt-btn-ghost { background: transparent !important; color: var(--bt-white) !important; border-color: var(--bt-white) !important; }
body #page-container .et_pb_button.bt-btn-ghost:hover, .bt-btn.bt-btn-ghost:hover { background: var(--bt-copper) !important; border-color: var(--bt-copper) !important; color: var(--bt-charcoal) !important; }
.bt-stone .bt-btn.bt-btn-ghost, .bt-paper .bt-btn.bt-btn-ghost { color: var(--bt-charcoal) !important; border-color: var(--bt-charcoal) !important; }
body .et_pb_button:focus-visible, .bt-btn:focus-visible, a:focus-visible { outline: 2px solid var(--bt-gold); outline-offset: 3px; }
.bt-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Quiet text link ("View all products →") */
.bt-textlink { font-family: var(--bt-font-display); font-size: 14px; font-weight: var(--bt-fw-medium); letter-spacing: .04em; text-decoration: none !important; white-space: nowrap; }
.bt-textlink:hover { color: var(--bt-copper) !important; }

/* Links: red on light; Warm Stone + copper underline on dark. Never red text on dark. */
body a { color: var(--bt-red); }
.bt-stone a:not(.bt-btn):not(.bt-card):not(.bt-textlink), .bt-paper a:not(.bt-btn):not(.bt-card):not(.bt-textlink) { color: var(--bt-red); text-underline-offset: 3px; }
.bt-stone .bt-textlink, .bt-paper .bt-textlink { color: var(--bt-charcoal); }
.bt-dark a:not(.bt-btn):not(.bt-card):not(.bt-textlink):not(.bt-pill), .bt-darkest a:not(.bt-btn):not(.bt-card):not(.bt-textlink):not(.bt-pill),
.bt-media a:not(.bt-btn):not(.bt-pill) { color: var(--bt-stone); text-decoration: underline; text-decoration-color: var(--bt-copper); text-underline-offset: 3px; }
.bt-dark .bt-textlink, .bt-darkest .bt-textlink { color: var(--bt-stone); }
.bt-dark a:not(.bt-btn):not(.bt-card):hover, .bt-darkest a:not(.bt-btn):not(.bt-card):hover { color: var(--bt-copper); }

/* =====================================================================
   5. COMPONENTS
   ===================================================================== */
/* PREMIUM pill: Cottage layout card only (claims sheet PR16: premium because it uses more tile) */
.bt-premium { display: inline-block; font-family: var(--bt-font-display); font-weight: var(--bt-fw-semi); font-size: 10px; line-height: 1.4;
              letter-spacing: .16em; text-transform: uppercase; color: var(--bt-charcoal); background: var(--bt-gold);
              border-radius: var(--bt-radius-pill); padding: .4em 1em; vertical-align: middle; }

/* Unverified claims: subtle dashed outline only (R1 #9). Must be resolved before launch. */
.bt-confirm { display: inline; font: inherit; color: inherit; background: none; outline: 1px dashed rgba(198,161,91,.75); outline-offset: 2px; padding: 0 .2em; border-radius: 1px; }
.bt-todo { display: block; font-family: var(--bt-font-display); font-size: 13px; line-height: 1.5; letter-spacing: .04em; color: var(--bt-grey-700);
           border: 1px dashed var(--bt-grey-300); padding: 14px 18px; border-radius: var(--bt-radius-card); }
.bt-dark .bt-todo, .bt-darkest .bt-todo { color: var(--bt-grey-300); border-color: rgba(234,231,226,.3); }
.bt-todo-inline { display: inline; padding: 0 .3em; border: 1px dashed currentColor; opacity: .75; font-style: normal; }

/* Photos: no rounded corners; optional "Love this look?" card */
.bt-photo { position: relative; margin: 0; overflow: hidden; line-height: 0; }
.bt-photo img { display: block; width: 100%; height: auto; }
.bt-photo.bt-photo-tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.bt-photo.bt-photo-wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.bt-photo figcaption, .bt-credit { font-family: var(--bt-font-display); font-size: 11px; letter-spacing: .02em; line-height: 1.4; color: rgba(234,231,226,.6); }
.bt-photo figcaption { position: absolute; left: 14px; bottom: 10px; z-index: 2; }
.bt-spec-card { background: var(--bt-card-glass); color: var(--bt-stone); font-family: var(--bt-font-display);
                font-size: 13px; line-height: 1.55; padding: 16px 20px; border-radius: var(--bt-radius-card); max-width: 300px; }
.bt-spec-card strong { display: block; font-weight: var(--bt-fw-semi); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bt-white); margin-bottom: 6px; }
.bt-spec-card span { display: block; }
.bt-photo .bt-spec-card { position: absolute; right: 18px; bottom: 18px; z-index: 2; }

/* Section header with a right-aligned text link */
.bt-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.bt-sechead h2 { padding-bottom: 0; }

/* Profile cards: whole card is the link; same 4:3 crop; image-first (R1 #10) */
.bt-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--bt-gutter); }
.bt-cards.bt-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bt-card { display: block; text-decoration: none !important; color: inherit !important; }
.bt-card .bt-card-img { display: block; overflow: hidden; line-height: 0; position: relative; background: var(--bt-graphite-raised); aspect-ratio: 4 / 3; }
.bt-card .bt-card-img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--bt-ease); }
.bt-card .bt-card-img .bt-premium { position: absolute; left: 12px; top: 12px; z-index: 2; }
.bt-card .bt-card-ph { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--bt-font-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bt-grey-300); line-height: 1.4; text-align: center; padding: 0 16px; border: 1px dashed rgba(234,231,226,.25); }
.bt-card:hover .bt-card-img img { transform: scale(1.03); }
.bt-card .bt-card-body { display: block; padding-top: 18px; }
.bt-card .bt-eyebrow { display: block; font-family: var(--bt-font-display); font-weight: var(--bt-fw-semi); font-size: 11px; letter-spacing: var(--bt-track-kicker); text-transform: uppercase; color: var(--bt-muted-on-light); margin-bottom: 6px; }
.bt-card .bt-card-title { display: block; font-family: var(--bt-font-display); font-weight: var(--bt-fw-medium); font-size: 18px; line-height: 1.3; letter-spacing: .01em; color: var(--bt-text-on-light); margin-bottom: 6px; }
.bt-card .bt-card-desc { display: block; font-family: var(--bt-font-body); font-size: 16px; line-height: 1.5; color: var(--bt-muted-on-light); }
.bt-card .bt-card-title::after { content: " →"; opacity: 0; transition: opacity var(--bt-dur) var(--bt-ease); }
.bt-card:hover .bt-card-title::after { opacity: 1; }
.bt-dark .bt-card .bt-eyebrow, .bt-darkest .bt-card .bt-eyebrow { color: var(--bt-grey-300); }
.bt-dark .bt-card .bt-card-title, .bt-darkest .bt-card .bt-card-title { color: var(--bt-white); }
.bt-dark .bt-card .bt-card-desc, .bt-darkest .bt-card .bt-card-desc { color: rgba(234,231,226,.8); }
/* Text cards (Why Bartile pillars etc.) */
.bt-card h3 { font-weight: var(--bt-fw-medium); font-size: 18px; padding-bottom: 6px; }
.bt-card p { font-family: var(--bt-font-body); font-size: 16px; line-height: 1.55; padding-bottom: 0; }
body .et_pb_column .bt-card h3 { font-size: 18px; }
@media (max-width: 980px) { .bt-cards, .bt-cards.bt-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bt-cards, .bt-cards.bt-cards-3 { grid-template-columns: 1fr; } }
/* Home: swipe carousel on phones (1.15 cards visible) (R1 #10, #22) */
@media (max-width: 767px) {
  .bt-cards.bt-carousel { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-right: calc(-1 * var(--bt-margin)); padding-right: var(--bt-margin); }
  .bt-cards.bt-carousel::-webkit-scrollbar { display: none; }
  .bt-cards.bt-carousel > .bt-card { scroll-snap-align: start; }
  .bt-sechead { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
}

/* Typographic stats: trust band and spec band (R1 #9, #12) */
.bt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bt-stat { padding: 4px 28px; border-left: 1px solid var(--bt-copper); display: flex; flex-direction: column; gap: 12px; }
.bt-stat:first-child { border-left: 0; padding-left: 0; }
.bt-stat-fig { font-family: var(--bt-font-display); font-weight: var(--bt-fw-book); font-size: var(--bt-fs-stat); line-height: 1; letter-spacing: .01em; color: var(--bt-white); white-space: nowrap; }
.bt-stat-fig .bt-confirm { outline-offset: 5px; }
.bt-stat-label { font-family: var(--bt-font-display); font-weight: var(--bt-fw-semi); font-size: 12px; letter-spacing: var(--bt-track-kicker); text-transform: uppercase; color: var(--bt-grey-300); line-height: 1.4; }
.bt-stat-note { font-family: var(--bt-font-body); font-size: 14px; line-height: 1.45; color: rgba(234,231,226,.75); }
.bt-claim-tag { font-family: var(--bt-font-display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--bt-gold); opacity: .85; }
.bt-stone .bt-stat-fig, .bt-paper .bt-stat-fig { color: var(--bt-charcoal); }
.bt-stone .bt-stat-label, .bt-paper .bt-stat-label { color: var(--bt-grey-700); }
.bt-stone .bt-stat-note, .bt-paper .bt-stat-note { color: var(--bt-grey-700); }
.bt-stone .bt-claim-tag, .bt-paper .bt-claim-tag { color: #7a5f2c; }
.et_pb_section.bt-trustband { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 980px) {
  .bt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .bt-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .bt-stat { padding: 4px 18px; }
  :root { --bt-fs-stat: 34px; }
}

/* Spec table: labels as eyebrows, values right-aligned, 1px dividers (R1 #16) */
.bt-specs { list-style: none !important; padding: 0 !important; margin: 24px 0 0; font-family: var(--bt-font-display); font-size: 15px; }
.bt-specs li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 14px 0; border-top: 1px solid var(--bt-rule-light); }
.bt-specs li:last-child { border-bottom: 1px solid var(--bt-rule-light); }
.bt-dark .bt-specs li, .bt-darkest .bt-specs li { border-color: var(--bt-rule-dark); }
.bt-specs li b { flex: 0 0 auto; font-weight: var(--bt-fw-semi); letter-spacing: var(--bt-track-kicker); text-transform: uppercase; font-size: 12px; color: var(--bt-muted-on-light); }
.bt-specs li span { text-align: right; }
.bt-dark .bt-specs li b, .bt-darkest .bt-specs li b { color: var(--bt-grey-300); }
.bt-specs .bt-dl a { font-weight: var(--bt-fw-medium); text-decoration: none !important; }
.bt-specs .bt-dl a::after { content: " ↓"; }

/* Featured projects mosaic: one large + two stacked (R1 #11) */
.bt-mosaic { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(420px, 46vw, 680px); }
.bt-mosaic figure { margin: 0; position: relative; overflow: hidden; line-height: 0; }
.bt-mosaic figure:first-child { grid-row: 1 / span 2; }
.bt-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--bt-ease); }
.bt-mosaic figure:hover img { transform: scale(1.03); }
.bt-mosaic figcaption, .bt-installs figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; line-height: 1.4; font-family: var(--bt-font-display); font-size: 13px; letter-spacing: .02em; color: var(--bt-white);
  background: linear-gradient(to top, rgba(26,26,26,.7), rgba(26,26,26,0)); }
.bt-mosaic figcaption .bt-todo-inline, .bt-installs figcaption .bt-todo-inline { font-size: 11px; }
@media (max-width: 767px) { .bt-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .bt-mosaic figure:first-child { grid-row: auto; } .bt-mosaic img { aspect-ratio: 4 / 3; height: auto; } }

/* "Love this look?" install row on product pages (R1 #20) */
.bt-installs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bt-installs figure { margin: 0; position: relative; overflow: hidden; line-height: 0; }
.bt-installs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--bt-ease); }
.bt-installs a:hover img { transform: scale(1.03); }
@media (max-width: 767px) { .bt-installs { grid-template-columns: 1fr; } }

/* Gallery grid */
.bt-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bt-gallery figure { margin: 0; position: relative; line-height: 0; overflow: hidden; }
.bt-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bt-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; line-height: 1.4; font-family: var(--bt-font-display); font-size: 13px; color: var(--bt-stone);
                         background: linear-gradient(to top, rgba(26,26,26,.75), rgba(26,26,26,0)); }
@media (max-width: 980px) { .bt-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bt-gallery { grid-template-columns: 1fr; } }

/* Options block: Divi Tabs module restyled (R1 #17) */
.et_pb_tabs.bt-tabs { border: 0; background: transparent; }
.bt-tabs .et_pb_tabs_controls { background: transparent !important; border-bottom: 1px solid var(--bt-rule-light); display: flex; flex-wrap: wrap; gap: 0 36px; }
.bt-dark .bt-tabs .et_pb_tabs_controls, .bt-darkest .bt-tabs .et_pb_tabs_controls { border-color: var(--bt-rule-dark); }
.bt-tabs .et_pb_tabs_controls li { border: 0 !important; background: transparent !important; float: none; }
.bt-tabs .et_pb_tabs_controls li a { display: block; padding: 0 0 14px !important; font-family: var(--bt-font-display); font-weight: var(--bt-fw-semi); font-size: 13px; letter-spacing: var(--bt-track-kicker);
  text-transform: uppercase; color: var(--bt-grey-700) !important; text-decoration: none !important; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.bt-dark .bt-tabs .et_pb_tabs_controls li a, .bt-darkest .bt-tabs .et_pb_tabs_controls li a { color: var(--bt-grey-300) !important; }
.bt-tabs .et_pb_tabs_controls li.et_pb_tab_active a { color: var(--bt-charcoal) !important; border-bottom-color: var(--bt-red); }
.bt-dark .bt-tabs .et_pb_tabs_controls li.et_pb_tab_active a, .bt-darkest .bt-tabs .et_pb_tabs_controls li.et_pb_tab_active a { color: var(--bt-white) !important; border-bottom-color: var(--bt-copper); }
.bt-tabs .et_pb_all_tabs { background: transparent; }
.bt-tabs .et_pb_tab { padding: 40px 0 0 !important; }
.bt-tabs .et_pb_tab p:last-child { padding-bottom: 0; }
.bt-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 24px; margin-bottom: 28px; }
.bt-swatch { display: flex; align-items: center; gap: 14px; font-family: var(--bt-font-display); font-size: 13px; line-height: 1.35; }
.bt-swatch i { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 2px;
  background: repeating-linear-gradient(135deg, rgba(128,120,110,.28) 0 6px, rgba(128,120,110,.12) 6px 12px); outline: 1px dashed rgba(128,120,110,.6); }
.bt-swatch b { display: block; font-weight: var(--bt-fw-semi); font-size: 17px; letter-spacing: .02em; }
.bt-swatch span { font-size: 12px; letter-spacing: .04em; }
.bt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px; }
.bt-tile { margin: 0; }
.bt-tile .bt-tile-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; position: relative; line-height: 0; background: rgba(128,120,110,.15); }
.bt-tile .bt-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.bt-tile .bt-tile-img.bt-diagram { background: var(--bt-stone); padding: 16%; }
.bt-tile .bt-tile-img.bt-diagram img { object-fit: contain; }
.bt-tile .bt-tile-ph { display: flex; height: 100%; align-items: center; justify-content: center; text-align: center; padding: 0 14px; font-family: var(--bt-font-display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; opacity: .7; border: 1px dashed currentColor; }
.bt-tile figcaption { font-family: var(--bt-font-display); font-size: 14px; font-weight: var(--bt-fw-medium); line-height: 1.35; padding-top: 12px; }
.bt-tile figcaption small { display: block; font-weight: var(--bt-fw-book); font-size: 12px; opacity: .75; margin-top: 2px; }
.bt-tile .bt-premium { position: absolute; left: 10px; top: 10px; }
.bt-tiles.bt-tiles-2 { grid-template-columns: repeat(2, minmax(0, 260px)); }
.bt-note { font-family: var(--bt-font-display); font-size: 13px; opacity: .8; }
@media (max-width: 767px) { .bt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .bt-tiles.bt-tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bt-swatches { grid-template-columns: 1fr 1fr; gap: 18px 14px; } .bt-tabs .et_pb_tabs_controls { gap: 0 22px; } }

/* =====================================================================
   6. HERO (R1 #8, #21)
   ===================================================================== */
.et_pb_section.bt-hero { position: relative; min-height: 88vh; display: flex; flex-direction: column; justify-content: flex-end;
                         padding-top: calc(var(--bt-header-h) + 64px); padding-bottom: clamp(56px, 7vw, 104px); background-size: cover; background-position: center; }
.et_pb_section.bt-hero.bt-hero-short { min-height: 72vh; }
/* Left-only scrim: 55% charcoal at the left edge to 0% at 60% width; the right side of the photo is untouched */
.bt-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 0% 100%, rgba(26,26,26,.45) 0%, rgba(26,26,26,0) 70%),
              linear-gradient(to right, rgba(26,26,26,.55) 0%, rgba(26,26,26,.28) 35%, rgba(26,26,26,0) 60%); }
.bt-hero .et_pb_row, .bt-hero .et_pb_column { position: static !important; }
.bt-hero .et_pb_row { width: calc(100% - 2 * var(--bt-margin)); padding: 0; }
.bt-hero .et_pb_module { position: relative; z-index: 2; margin-bottom: 0 !important; }
.bt-hero .bt-hero-copy { max-width: 760px; text-shadow: 0 1px 2px rgba(26,26,26,.35), 0 2px 24px rgba(26,26,26,.45); }
.bt-hero .bt-btn { text-shadow: none; }
.bt-hero h1 { color: var(--bt-white); font-size: var(--bt-fs-hero); padding-bottom: 16px; }
.bt-hero .bt-sub { font-family: var(--bt-font-body); font-size: 20px; line-height: 1.4; color: var(--bt-stone); padding-bottom: 0; max-width: none; }
@media (min-width: 768px) { .bt-hero .bt-sub { white-space: nowrap; } }
.bt-hero .bt-premium { margin-bottom: 18px; text-shadow: none; }
.bt-br-m { display: none; }
/* Caption pill, bottom-right, 24px inset */
.bt-hero .et_pb_module.bt-pill-mod { position: absolute !important; right: 24px; bottom: 24px; z-index: 3; width: auto !important; }
.bt-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: var(--bt-radius-pill);
  background: rgba(26,26,26,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(234,231,226,.18);
  font-family: var(--bt-font-display); font-size: 12px; font-weight: var(--bt-fw-medium); letter-spacing: .04em; color: var(--bt-white) !important; text-decoration: none !important;
  transition: background var(--bt-dur) var(--bt-ease), color var(--bt-dur) var(--bt-ease); }
.bt-pill:hover { background: var(--bt-copper); color: var(--bt-charcoal) !important; }
/* Photo credit: tiny line bottom-left (11px, 60% opacity) */
.bt-hero .et_pb_module.bt-credit-mod { position: absolute !important; left: 24px; bottom: 16px; z-index: 3; width: auto !important; }
.bt-hero .bt-credit { padding: 0; }
@media (prefers-reduced-motion: reduce) { .bt-hero video, .et_pb_section_video_bg { display: none !important; } }

/* Full-bleed photo moment with the word overlaid lower-left (R1 #12) */
.et_pb_section.bt-media { position: relative; min-height: 86vh; display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center; color: var(--bt-stone); }
.bt-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(26,26,26,.82) 0%, rgba(26,26,26,.5) 40%, rgba(26,26,26,0) 72%), linear-gradient(to right, rgba(26,26,26,.45), rgba(26,26,26,0) 60%); }
.bt-media .et_pb_text_inner { text-shadow: 0 1px 2px rgba(26,26,26,.35), 0 2px 24px rgba(26,26,26,.45); }
.bt-media .bt-btn { text-shadow: none; }
.bt-media .et_pb_row { position: relative; z-index: 2; }
.bt-media .bt-bigword { color: var(--bt-white); }

/* 50/50 split with the image bleeding to the viewport edge (R1 #12) */
.et_pb_row.bt-bleed-row { width: 100% !important; max-width: none !important; padding: 0 !important; display: flex; }
.et_pb_row.bt-bleed-row > .et_pb_column { width: 50% !important; margin: 0 !important; float: none; }
.et_pb_row.bt-bleed-row::after { display: none; }
.bt-bleed-photo, .bt-bleed-photo .et_pb_text_inner, .bt-bleed-photo .bt-photo { height: 100%; }
.et_pb_row.bt-bleed-row .bt-bleed-photo { height: 100%; margin: 0 !important; }
.bt-bleed-photo .bt-photo img { height: 100%; min-height: 640px; object-fit: cover; }
.et_pb_column.bt-bleed-text { display: flex; flex-direction: column; justify-content: center;
  padding: var(--bt-section-pad) max(var(--bt-margin), calc((100vw - var(--bt-max-width)) / 2)) var(--bt-section-pad) 80px !important; }
.et_pb_row.bt-bleed-row.bt-bleed-right { flex-direction: row-reverse; }
.bt-bleed-right .et_pb_column.bt-bleed-text { padding: var(--bt-section-pad) 80px var(--bt-section-pad) max(var(--bt-margin), calc((100vw - var(--bt-max-width)) / 2)) !important; }

/* Full-bleed video with a small caption pill (R1 #18) */
.bt-videoband { position: relative; }
.bt-videoband .et_pb_row { width: 100% !important; max-width: none !important; padding: 0 !important; }
.bt-videoband .et_pb_video { margin: 0 !important; }
.bt-videoband .et_pb_column { position: relative; }
.bt-videoband .et_pb_module.bt-pill-row { position: absolute !important; left: 24px; bottom: 24px; z-index: 5; pointer-events: none; margin: 0 !important; width: auto !important; }
.bt-videoband .bt-pill-row .bt-pill { pointer-events: auto; }
.bt-video video { width: 100%; height: auto; display: block; background: var(--bt-charcoal); }

/* =====================================================================
   7. HEADER AND NAVIGATION (R1 #1, #2)
   ===================================================================== */
#main-header, #main-header.et-fixed-header { background: var(--bt-charcoal) !important; box-shadow: none !important; }
#main-header .container { max-width: var(--bt-max-width); width: calc(100% - 2 * var(--bt-margin)); }
/* 2.6.2: white "premium roof tiles" lockup (same SVG as the footer, 5:1): 40px high desktop (200px wide), 34px at 980px and below (170px wide). Header is always solid charcoal, so the white version is correct in every state. */
#logo, .et_pb_svg_logo #logo { height: var(--bt-logo-h) !important; max-height: var(--bt-logo-h) !important; width: auto; }
#main-header .logo_container { height: var(--bt-header-h); }
#top-menu a, #top-menu-nav > ul > li > a { font-weight: var(--bt-fw-medium); font-size: 13px; letter-spacing: var(--bt-track-button); text-transform: uppercase; color: rgba(234,231,226,.85) !important; }
#top-menu > li > a:hover { color: var(--bt-white) !important; opacity: 1; }
/* Active item: white 1px underline (no orange) */
#top-menu > li.current-menu-item > a, #top-menu > li.current-menu-ancestor > a, #top-menu > li.current_page_item > a, #top-menu > li.current-page-ancestor > a {
  color: var(--bt-white) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; box-shadow: none; }
#top-menu li { padding-right: 28px; }
#top-menu li li { padding: 0 16px; }
#top-menu li li a { width: 220px; padding: 9px 12px; font-size: 12px; }
#top-menu li li a:hover { color: var(--bt-white) !important; background: transparent !important; opacity: 1; }
#main-header .nav li ul, .nav li ul { background: var(--bt-graphite) !important; border-top: 1px solid var(--bt-copper) !important; box-shadow: none; }
#top-menu .menu-item-has-children > a:first-child:after { color: rgba(234,231,226,.6); }
@media (min-width: 981px) {
  #main-header .et_menu_container, #main-header.et-fixed-header .et_menu_container { height: var(--bt-header-h); }
  #et-top-navigation, .et-fixed-header #et-top-navigation { padding-top: 0 !important; height: var(--bt-header-h); display: flex; align-items: center; }
  #top-menu-nav, #top-menu { height: var(--bt-header-h); }
  #top-menu > li { height: var(--bt-header-h); display: inline-flex; align-items: center; }
  #top-menu > li > a, .et-fixed-header #top-menu > li > a { padding-bottom: 0 !important; line-height: var(--bt-header-h); }
  #et_top_search { margin: 0 0 0 22px !important; float: none; }
}
/* Free Consultation: small red button at the right end of the nav */
#top-menu > li.bt-nav-cta { padding-right: 0; }
#top-menu > li.bt-nav-cta > a, .et-fixed-header #top-menu > li.bt-nav-cta > a { background: var(--bt-red); color: var(--bt-white) !important; padding: 0 16px !important; line-height: 36px; height: 36px; border-radius: var(--bt-radius-btn);
  font-size: 12px; font-weight: var(--bt-fw-semi); text-decoration: none !important; transition: background var(--bt-dur) var(--bt-ease), color var(--bt-dur) var(--bt-ease); }
#top-menu > li.bt-nav-cta > a:hover { background: var(--bt-copper); color: var(--bt-charcoal) !important; opacity: 1; }
#main-header.et-fixed-header #top-menu > li.bt-nav-cta > a { color: var(--bt-white) !important; }

/* Products mega-menu: the 8 profiles with thumbnails, brochure order */
@media (min-width: 981px) {
  #main-header .et_menu_container { position: relative; }
  #top-menu li.bt-mega { position: static; }
  #top-menu li.bt-mega > ul.sub-menu { left: 0; right: 0; top: 100%; width: auto; padding: 28px 28px 20px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 20px 16px; }
  #top-menu li.bt-mega > ul.sub-menu > li { padding: 0; width: auto; }
  #top-menu li.bt-mega > ul.sub-menu > li > a { width: auto; padding: 0; display: block; text-transform: none; letter-spacing: .01em; }
  #top-menu li.bt-mega > ul.sub-menu > li.bt-mm-all { grid-column: 1 / -1; text-align: right; border-top: 1px solid var(--bt-rule-dark); padding-top: 16px; }
  #top-menu li.bt-mega > ul.sub-menu > li.bt-mm-all > a { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: var(--bt-track-button); color: var(--bt-stone) !important; }
  #top-menu li.bt-mega > ul.sub-menu > li.bt-mm-all > a::after { content: " →"; }
}
/* review-5: single-tile slots (square, warm stone) — house photos retired */
.bt-mm-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 425 / 309; overflow: visible; background: transparent; line-height: 0; box-sizing: border-box; }
.bt-mm-thumb .bt-mm-tile { width: 100%; height: 100%; /* all tiles cropped with ONE shared box from the 465 canvas: identical scale, never per-tile fitted */ filter: drop-shadow(0 3px 5px rgba(26,26,26,.12)); transition: transform 600ms var(--bt-ease); }
#top-menu li a:hover .bt-mm-thumb .bt-mm-tile { transform: scale(1.03); }
.bt-mm-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.bt-mm-text { display: block; padding-top: 10px; }
.bt-mm-eyebrow { display: block; font-size: 10px; font-weight: var(--bt-fw-semi); letter-spacing: var(--bt-track-kicker); text-transform: uppercase; color: var(--bt-grey-300); margin-bottom: 2px; }
.bt-mm-name { display: block; font-size: 13px; line-height: 1.3; font-weight: var(--bt-fw-medium); color: var(--bt-white); }
/* Mobile menu (Divi clones the desktop menu) */
.et_mobile_menu { background: var(--bt-graphite) !important; border-top: 1px solid var(--bt-copper) !important; }
.et_mobile_menu li a, .et_mobile_menu .menu-item-has-children > a { color: var(--bt-stone) !important; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: var(--bt-fw-medium); border-bottom: 1px solid var(--bt-rule-dark); background: transparent !important; }
.et_mobile_menu li li a { font-size: 13px; color: var(--bt-grey-300) !important; text-transform: none; letter-spacing: .02em; display: flex !important; align-items: center; gap: 14px; }
.et_mobile_menu .bt-mm-thumb { flex: 0 0 64px; width: 64px; height: 64px; aspect-ratio: 1 / 1; padding: 8%; background: transparent; }
.et_mobile_menu .bt-mm-text { padding-top: 0; }
.et_mobile_menu li.bt-nav-cta > a { background: var(--bt-red) !important; color: var(--bt-white) !important; text-align: center; margin-top: 12px; border: 0; }
.mobile_menu_bar:before, .mobile_menu_bar:after, #et_search_icon:before, #et_search_icon:hover { color: var(--bt-stone) !important; }
#et-top-navigation .et-cart-info { display: none; }
@media (max-width: 980px) {
  #main-header .et_menu_container { height: var(--bt-header-h); }
  #main-header .logo_container { height: var(--bt-header-h); }
  .et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation { padding-top: 14px !important; }
  .et_header_style_left .mobile_menu_bar { padding-bottom: 14px !important; }
}

/* Mobile-only sticky Free Consultation bar (R1 #23) */
.bt-sticky-cta { display: none; }
@media (max-width: 980px) {
  .bt-sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; height: 56px; align-items: center; justify-content: center;
    background: var(--bt-red); color: var(--bt-white) !important; font-family: var(--bt-font-display); font-weight: var(--bt-fw-semi); font-size: 14px;
    letter-spacing: var(--bt-track-button); text-transform: uppercase; text-decoration: none !important; transition: transform 300ms var(--bt-ease); }
  .bt-sticky-cta { transition: transform 300ms var(--bt-ease), visibility 0s linear 0s; will-change: transform; }
  .bt-sticky-cta.bt-hidden { transform: translateY(100%); visibility: hidden; transition: transform 300ms var(--bt-ease), visibility 0s linear 300ms; }
}
@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .bt-sticky-cta, .bt-sticky-cta.bt-hidden { transition: none; }
}

/* Motion: fade and rise 16px on scroll; no parallax (R1 #6) */
.bt-reveal-on .bt-rv { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--bt-ease), transform 700ms var(--bt-ease); }
.bt-reveal-on .bt-rv.bt-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bt-reveal-on .bt-rv { opacity: 1; transform: none; transition: none; } }

/* =====================================================================
   8. FOOTER (full lockup with tagline lives here only)
   ===================================================================== */
#main-footer { background: var(--bt-charcoal); color: var(--bt-grey-300); }
#main-footer .container { max-width: var(--bt-max-width); width: calc(100% - 2 * var(--bt-margin)); }
#footer-widgets { padding: 72px 0 40px; }
#main-footer .footer-widget h4, #main-footer .footer-widget .title { font-family: var(--bt-font-display); font-weight: var(--bt-fw-semi); font-size: 12px; letter-spacing: var(--bt-track-kicker); text-transform: uppercase; color: var(--bt-white); padding-bottom: 14px; }
#main-footer .footer-widget, #main-footer .footer-widget p, #main-footer .footer-widget li { font-family: var(--bt-font-display); font-size: 14px; line-height: 1.7; color: var(--bt-grey-300); }
#main-footer .footer-widget li { padding-left: 0; margin-bottom: 4px; }
#main-footer .footer-widget li:before { display: none; }
#main-footer .footer-widget a { color: var(--bt-stone); text-decoration: none; }
#main-footer .footer-widget a:hover { color: var(--bt-copper); }
.bt-footer-brand img { width: 200px; max-width: 100%; height: auto; display: block; margin-bottom: 18px; }
.bt-footer-brand .bt-footer-tag { font-size: 12px !important; letter-spacing: .18em; text-transform: uppercase; color: var(--bt-grey-300); }
#footer-bottom { background: var(--bt-espresso); padding: 18px 0; }
#footer-info { float: none !important; color: var(--bt-grey-300); font-family: var(--bt-font-display); font-size: 12px; letter-spacing: .04em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
#footer-info a { color: var(--bt-stone); font-weight: 400; }
#footer-info a:hover { color: var(--bt-copper); }
#footer-info ul.bottom-nav { display: inline-flex; gap: 18px; margin: 0; padding: 0; }
#footer-info ul.bottom-nav li { padding: 0; }
#footer-info #socialicons { margin-left: auto; display: inline-flex; gap: 18px; }
#footer-info #socialicons { gap: 4px; }
#footer-info #socialicons a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--bt-stone, #EAE7E2); opacity: .7; transition: opacity .2s ease; }
#footer-info #socialicons a::before { content: ""; width: 24px; height: 24px; display: block; background-color: currentColor; -webkit-mask: var(--bt-ico) center / contain no-repeat; mask: var(--bt-ico) center / contain no-repeat; }
#footer-info #socialicons .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#footer-info #socialicons .bt-social-facebook, .bt-social-strip .bt-social-facebook { --bt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E"); }
#footer-info #socialicons .bt-social-instagram, .bt-social-strip .bt-social-instagram { --bt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z'/%3E%3C/svg%3E"); }
#footer-info #socialicons .bt-social-youtube, .bt-social-strip .bt-social-youtube { --bt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E"); }
#footer-info #socialicons .bt-social-pinterest, .bt-social-strip .bt-social-pinterest { --bt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z'/%3E%3C/svg%3E"); }
#footer-info #socialicons .bt-social-tiktok, .bt-social-strip .bt-social-tiktok { --bt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E"); }
#footer-info #socialicons .bt-social-linkedin, .bt-social-strip .bt-social-linkedin { --bt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E"); }
#footer-info #socialicons .bt-social-x, .bt-social-strip .bt-social-x { --bt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E"); }
#footer-info #socialicons a:hover, #footer-info #socialicons a:focus-visible { color: var(--bt-copper, #B87333); opacity: 1; }

/* =====================================================================
   9. MISC / LEGACY
   ===================================================================== */
h2.entry-title, h2.entry-title a { color: var(--bt-charcoal); }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.bt-hide-desktop { display: none; }

/* =====================================================================
   10. RESPONSIVE
   ===================================================================== */
@media (min-width: 981px) {
  .et_pb_row.bt-vcenter { display: flex; align-items: center; }
  .et_pb_row.bt-vcenter > .et_pb_column { float: none; }
  .et_pb_row.bt-vcenter::after { display: none; }
}
@media (max-width: 980px) {
  .et_pb_row, .bt-hero .et_pb_row, #main-header .container, #main-footer .container { width: calc(100% - 48px) !important; }
  .bt-hide-mobile { display: none !important; }
  .bt-hide-desktop { display: block; }
  .et_pb_section.bt-hero { min-height: 78vh; }
  .bt-reverse-mobile { display: flex !important; flex-direction: column-reverse; }
  .bt-photo .bt-spec-card { position: static; max-width: none; border-radius: 0; background: var(--bt-graphite); }
  #footer-info #socialicons { margin-left: 0; }
  .et_pb_row.bt-bleed-row, .et_pb_row.bt-bleed-row.bt-bleed-right { flex-direction: column; width: 100% !important; }
  .et_pb_row.bt-bleed-row > .et_pb_column { width: 100% !important; }
  .bt-bleed-photo .bt-photo img { min-height: 0; aspect-ratio: 4 / 3; }
  .et_pb_column.bt-bleed-text, .bt-bleed-right .et_pb_column.bt-bleed-text { padding: var(--bt-section-pad) var(--bt-margin) !important; }
  .et_pb_section.bt-media { min-height: 78vh; }
  .bt-media .et_pb_row { padding-bottom: 56px; }
  .bt-videoband .et_pb_module.bt-pill-row { left: 12px; bottom: 12px; }
}
@media (max-width: 767px) {
  .et_pb_section.bt-hero { min-height: 84vh; }
  .bt-hero .et_pb_module.bt-pill-mod { display: none; }                     /* R1 #21 */
  .bt-hero .et_pb_module.bt-credit-mod { left: 24px; bottom: 10px; }
  .bt-br-m { display: inline; } .bt-br-d { display: none; }                 /* H1 breaks after LAST on phones */
  .bt-hero .bt-sub { font-size: 18px; }
  .bt-btn-row .bt-btn { width: 100%; }                                       /* buttons stack full-width */
  .bt-tiles .bt-tile figcaption { font-size: 13px; }
}

/* ---------- Color-variation disclaimer (bartile-core [bartile_color_disclaimer] → p.btc-disclaimer; text lives in Settings → Bartile) ---------- */
/* Under every swatch picker and profile-colour grid. Minion 15px #4F4F4F, so these grids sit on light (paper/stone) sections. */
.et_pb_text .btc-disclaimer { font-family: var(--bt-font-body); font-size: 15px; line-height: 1.5; font-weight: 400; color: #4F4F4F; margin: 24px 0 0; padding: 0; max-width: var(--bt-measure); }
.bt-tabs .et_pb_text .btc-disclaimer, .bt-tabs .btc-disclaimer { margin: 0 0 12px; }
.et_pb_text .btc-disclaimer .btc-disclaimer__link { font-family: inherit; font-size: inherit; color: var(--bt-charcoal) !important; }

/* ======================= v2.3 (design-review-2 + nav decisions) ======================= */
/* Short claim tag next to display text (kickers, stats, footer) */
.bt-cc { white-space: normal; }
.bt-cc .bt-claim-tag { font-size: 9px; letter-spacing: .1em; vertical-align: middle; white-space: nowrap; text-shadow: none; }
.bt-hero .bt-cc .bt-claim-tag, .bt-media .bt-cc .bt-claim-tag { color: var(--bt-gold); opacity: 1; }
.bt-stat-fig .bt-confirm.bt-fig-claim { display: inline-block; font-family: var(--bt-font-display); font-size: 15px; font-weight: var(--bt-fw-semi); letter-spacing: .08em; line-height: 1.3; padding: 6px 8px; vertical-align: middle; }

/* Placeholder for profiles without a photo: soft stone panel + line icon (review-2 P2-6) */
.bt-card .bt-card-ph, .bt-mm-ph { flex-direction: column; gap: 10px; background: var(--bt-stone) !important; border: 0 !important; color: var(--bt-grey-700) !important; }
.bt-card .bt-card-img:has(.bt-card-ph), .bt-card .bt-card-ph { background: #E2DED7 !important; }
.bt-section-white .bt-card .bt-card-ph, .bt-white .bt-card .bt-card-ph { background: var(--bt-stone) !important; }
.bt-ph-icon { width: 46%; max-width: 160px; height: auto; opacity: .9; mix-blend-mode: multiply; }
.bt-mm-ph .bt-ph-icon { width: 52%; }
.bt-card .bt-card-ph > span, .bt-mm-ph > span { font-family: var(--bt-font-display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

/* "Build your roof" link (product Color tab, /products/) */
.bt-builder-link { margin-top: 20px; padding-bottom: 0 !important; }
.bt-page-top .bt-builder-link { margin-top: 8px; }

/* Mobile hero (review-2 P1-2): bottom-up scrim, copy at the bottom, one primary button */
@media (max-width: 767px) {
  .bt-hero::before {
    background: linear-gradient(to top, rgba(26,26,26,.75) 0%, rgba(26,26,26,.55) 30%, rgba(26,26,26,0) 60%) !important; }
  .et_pb_section.bt-hero { justify-content: flex-end; padding-bottom: 36px !important; }
  .bt-hero .et_pb_row { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  .bt-hero .bt-hero-copy { padding-bottom: 8px; }
  .bt-hero .bt-btn.bt-btn-ghost.bt-btn-fc { display: none !important; }   /* the sticky bar covers Free Consultation */
}

/* Footer: charcoal only (Joe chose charcoal; no red variant). */
/* v2: poster image in place of the draft video */
.bt-videoband .et_pb_module.bt-still { margin: 0 !important; padding: 0 !important; }
.bt-videoband .bt-still img.bt-still-img { width: 100%; height: auto; max-height: 820px; object-fit: cover; display: block; }
/* Layout tile description (e.g. Cottage) */
.bt-tile figcaption .bt-tile-desc { display: block; margin-top: 6px; font-family: var(--bt-font-body); font-size: 15px; line-height: 1.45; letter-spacing: 0; text-transform: none; color: var(--bt-grey-700); max-width: 34ch; }

/* ==========================================================================
   v2.4 (Search & Insights launch spec): new page components
   ========================================================================== */
/* Document lists (architects, resources, warranty) */
.bt-doclist { list-style: none; margin: 0; padding: 0 !important; border-top: 1px solid var(--bt-rule-light); }
.bt-doclist li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 0 !important; border-bottom: 1px solid var(--bt-rule-light); }
.bt-doclist li span { color: var(--bt-muted-on-light); font-size: 15px; }
.bt-doclist a { font-family: var(--bt-font-display); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.bt-dark .bt-doclist, .bt-dark .bt-doclist li { border-color: var(--bt-rule-dark); }
.bt-dark .bt-doclist li span { color: var(--bt-muted-on-dark); }
/* Simple data table (weights, ratings) */
.bt-table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 8px 0 12px; }
.bt-table th, .bt-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--bt-rule-light); vertical-align: top; }
.bt-table th { font-family: var(--bt-font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: var(--bt-fw-medium); color: var(--bt-muted-on-light); }
.bt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Q&A blocks (one-sentence answer first, spec §6) */
.bt-qa { border-top: 1px solid var(--bt-rule-light); }
.bt-qa h3 { font-size: 20px !important; line-height: 1.3; letter-spacing: .02em; text-transform: none; margin: 22px 0 6px; padding: 0; }
.bt-qa p { margin-bottom: 4px; }
.bt-dark .bt-qa { border-color: var(--bt-rule-dark); }
/* Numbered steps (warranty, certified program, consult) */
.bt-steps { counter-reset: bt-step; list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 18px; }
.bt-steps li { counter-increment: bt-step; position: relative; padding: 0 0 0 52px !important; }
.bt-steps li::before { content: counter(bt-step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-family: var(--bt-font-display); font-size: 14px; }
/* Location / link lists */
.bt-linklist { list-style: none; margin: 0; padding: 0 !important; columns: 2 220px; column-gap: 32px; }
.bt-linklist li { padding: 6px 0 !important; break-inside: avoid; }
.bt-noindex-note { font-family: var(--bt-font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
/* GoHighLevel form embed */
.bt-ghl-form { width: 100%; background: var(--bt-white); border-radius: 2px; }
.bt-ghl-form iframe { display: block; width: 100%; }
.bt-ghl-fallback { padding: 24px; border: 1px solid var(--bt-rule-light); min-height: 0 !important; }
.bt-setting-missing { font-family: var(--bt-font-display); font-size: 12px; color: var(--bt-red); }
.bt-form-card { background: var(--bt-white); padding: 28px; box-shadow: 0 1px 0 var(--bt-rule-light); }
.bt-dark .bt-form-card { color: var(--bt-text-on-light); }
/* Order sheet app frame */
.bt-app-frame { width: 100%; min-height: 900px; border: 1px solid var(--bt-rule-light); background: var(--bt-white); }
/* Paid lander: logo only, no menu or sticky bar (free-consult) */
.bt-minimal-nav #et-top-navigation, .bt-minimal-nav #et_mobile_nav_menu, .bt-minimal-nav #top-menu-nav, .bt-minimal-nav .bt-sticky-cta, .bt-minimal-nav #main-footer .footer-widget { display: none !important; }
.bt-minimal-nav #logo { pointer-events: auto; }
@media (max-width: 767px) {
  .bt-doclist li { flex-direction: column; gap: 4px; }
  .bt-form-card { padding: 18px; }
}

/* "Coming soon" tag (2.4.5): muted gold, used on the Resources BIM & 3D models card */
.bt-soon { display: inline-block; margin: 0 0 12px !important; padding: 4px 10px !important; border-radius: 999px; background: var(--bt-gold, #C6A15B); color: var(--bt-charcoal, #1A1A1A) !important; font-family: var(--bt-font-display); font-size: 11px !important; line-height: 1.3 !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

/* 2.5.0 — /products/ tight roof crops + tile cutout badge (uniform size) */
.bt-card .bt-card-img-tight img:first-child { object-position: center; }
.bt-card .bt-card-badge { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 64px; height: 64px; border-radius: 50%; background: #F4F1EC; box-shadow: 0 2px 8px rgba(0,0,0,.28); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; line-height: 0; }
.bt-card .bt-card-badge img { width: 50px !important; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; transform: none !important; transition: none; }
@media (max-width: 600px) { .bt-card .bt-card-badge { width: 60px; height: 60px; } .bt-card .bt-card-badge img { width: 46px !important; } }

/* =====================================================================
   BUTTON STATES v2.5.6 (2026-10-14): readable text on hover / focus /
   focus-visible for every button variant (WCAG AA 4.5:1 text, 3:1 ring).
   Fixes the BIM & 3D Download button (red text on red on hover).
   ===================================================================== */
/* Primary (red #890A00 / white 9.97:1) -> hover & focus copper / charcoal 4.59:1 */
body .et_pb_button:focus, .bt-btn:focus, body #page-container .et_pb_button:focus {
  background: var(--bt-cta-bg-hover) !important; border-color: var(--bt-cta-bg-hover) !important; color: var(--bt-cta-text-hover) !important; }
/* Ghost / outline (light-on-dark default; charcoal on light sections) -> same copper / charcoal */
body #page-container .et_pb_button.bt-btn-ghost:focus, .bt-btn.bt-btn-ghost:focus,
.bt-stone .bt-btn.bt-btn-ghost:hover, .bt-paper .bt-btn.bt-btn-ghost:hover,
.bt-stone .bt-btn.bt-btn-ghost:focus, .bt-paper .bt-btn.bt-btn-ghost:focus {
  background: var(--bt-copper) !important; border-color: var(--bt-copper) !important; color: var(--bt-charcoal) !important; }
/* Small outline download buttons (BIM & 3D, product pages): red outline -> solid red / white 9.97:1 */
body a.bt-dlbtn, body .btpp-dl a.bt-dlbtn { color: var(--bt-red) !important; background: var(--bt-white); border-color: var(--bt-red) !important; text-decoration: none !important; }
body a.bt-dlbtn:hover, body a.bt-dlbtn:focus, body a.bt-dlbtn:focus-visible,
body .btpp-dl a.bt-dlbtn:hover, body .btpp-dl a.bt-dlbtn:focus {
  background: var(--bt-red) !important; color: var(--bt-white) !important; border-color: var(--bt-red) !important; }
/* Secondary pill/tab buttons (BIM tabs, width picker): darken on hover, keep text readable */
body .bt-bimtab:not(.on):hover, body .bt-wbtn:not(.on):hover,
body .bt-bimtab:not(.on):focus, body .bt-wbtn:not(.on):focus { background: var(--bt-stone) !important; color: var(--bt-charcoal) !important; }
/* Generic form buttons in theme content */
.entry-content button:hover, .entry-content input[type=submit]:hover,
.entry-content button:focus, .entry-content input[type=submit]:focus { filter: none; }

/* Visible focus ring: charcoal 3px + white halo on light, white on dark (>= 3:1 both) */
body .et_pb_button:focus-visible, .bt-btn:focus-visible, a.bt-dlbtn:focus-visible,
.bt-bimtab:focus-visible, .bt-wbtn:focus-visible, button:focus-visible,
input[type=submit]:focus-visible, input[type=button]:focus-visible, a:focus-visible, [role=button]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--bt-charcoal) !important; outline-offset: 2px !important; box-shadow: 0 0 0 5px var(--bt-white) !important; }
.bt-dark :focus-visible, .bt-darkest :focus-visible, .bt-media :focus-visible, .bt-hero :focus-visible,
#main-header :focus-visible, #main-footer :focus-visible, .et-l--footer :focus-visible, .bt-cta-band :focus-visible {
  outline-color: var(--bt-white) !important; box-shadow: 0 0 0 5px var(--bt-charcoal) !important; }

/* =====================================================================
   AUDIT FIXES v2.5.7 (AUDIT-2026-10-14.md). Fonts unchanged (Gotham/Minion).
   ===================================================================== */
/* P2-1 / P1-5: primary hover = deeper Bartile red, white text (12:1, no low-contrast mid-transition) */
:root { --bt-cta-bg-hover: #6D0800; --bt-cta-text-hover: var(--bt-white); }
body .et_pb_button, .bt-btn, a.bt-dlbtn, #top-menu > li.bt-nav-cta > a { transition: background-color .2s var(--bt-ease), border-color .2s var(--bt-ease), color 0s !important; }
#top-menu > li.bt-nav-cta > a:hover, #top-menu > li.bt-nav-cta > a:focus-visible { background: #6D0800 !important; color: var(--bt-white) !important; }
body a.bt-dlbtn:hover *, body a.bt-dlbtn:focus-visible * { color: var(--bt-white) !important; }
/* Ghost buttons: on dark -> white fill / charcoal text; on light -> charcoal fill / white text */
body #page-container .et_pb_button.bt-btn-ghost:hover, .bt-btn.bt-btn-ghost:hover, body #page-container .et_pb_button.bt-btn-ghost:focus, .bt-btn.bt-btn-ghost:focus {
  background: var(--bt-white) !important; border-color: var(--bt-white) !important; color: var(--bt-charcoal) !important; }
.bt-stone .bt-btn.bt-btn-ghost:hover, .bt-paper .bt-btn.bt-btn-ghost:hover, .bt-stone .bt-btn.bt-btn-ghost:focus, .bt-paper .bt-btn.bt-btn-ghost:focus {
  background: var(--bt-charcoal) !important; border-color: var(--bt-charcoal) !important; color: var(--bt-white) !important; }
/* P2-2: nav link hover stays readable on charcoal */
#top-menu > li:not(.bt-nav-cta) > a:hover, #top-menu > li:not(.bt-nav-cta) > a:focus-visible { color: var(--bt-white) !important; opacity: 1 !important; box-shadow: inset 0 -2px 0 var(--bt-red); }
/* P1-6: Black Friday banner can't force page width on tablet */
.bt-bf { width: 100%; max-width: 100%; box-sizing: border-box; }
@media (max-width: 980px) { .bt-bf { aspect-ratio: auto !important; } }
/* P1-7 / P1-8: no sideways scroll on mobile */
@media (max-width: 767px) {
  .bt-cards.bt-cards-3 { display: grid !important; grid-template-columns: 1fr !important; }
  .bt-cards .bt-card { min-width: 0 !important; max-width: 100% !important; }
  .bt-card h3, .bt-card p, .bt-card a { overflow-wrap: anywhere; white-space: normal !important; }
  #warranty, #warranty * { max-width: 100%; box-sizing: border-box; }
}
.entry-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* P1-11: stronger scrim behind text on photo bands (tablet / mobile) */
@media (max-width: 980px) {
  .bt-media::before { background: linear-gradient(0deg, rgba(26,26,26,.88) 0%, rgba(26,26,26,.62) 60%, rgba(26,26,26,.3) 100%) !important; }
  .bt-media .bt-kicker { color: var(--bt-stone) !important; }
}
/* P1-12: big word never clips */
.bt-bigword, body .et_pb_column h2.bt-bigword { max-width: 100%; overflow: visible; }
@media (max-width: 767px) { .bt-bigword, body .et_pb_column h2.bt-bigword { letter-spacing: 0; font-size: min(var(--bt-fs-bigword), calc(100cqw / (var(--bt-bw-len, 10) * 0.78))); } }
/* P2-3: gallery card kicker contrast */
.btc-kicker { color: #5A5652; }
.bt-dark .btc-kicker, .bt-darkest .btc-kicker { color: var(--bt-grey-300); }
/* P2-6: Black Friday swatch numbers */
.bt-sc-im > span { color: #5C5C5C !important; }
/* P2-7: Black Friday homepage button in the button system */
.bt-bf-b { border-radius: 0 !important; font-family: var(--bt-font-display) !important; font-weight: 500 !important; font-size: 13px !important; letter-spacing: .12em !important; text-transform: uppercase !important; padding: 14px 28px !important; }
.bt-bf-k, .bt-bf-ph { color: var(--bt-stone) !important; }
/* P2-8 / P2-9 / P2-11 / P3-5 / P3-11: one button system (square, display font, caps) */
a.bt-dlbtn, body .btpp-dl a.bt-dlbtn { border-radius: 0 !important; font-family: var(--bt-font-display) !important; font-size: 12px !important; letter-spacing: .02em; text-transform: none; /* 2.5.9: sentence case (CD font check) */ padding: 10px 14px !important; }
.bt-bimtab, .bt-wbtn { border-radius: 0 !important; font-family: var(--bt-font-display) !important; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; }
.bh-btn { border-radius: 0 !important; font-family: var(--bt-font-display) !important; text-transform: uppercase; letter-spacing: .12em; font-size: 13px !important; }
.bh-btn:hover, .bh-btn:focus { background: #6D0800 !important; color: #fff !important; }
.bt-btn, .btc-btn, body .et_pb_button { border-radius: 0 !important; }
.btc-ct__geo, .bt-btn, .btc-btn { text-transform: uppercase; }
/* P2-12: search button */
#searchsubmit { background: var(--bt-charcoal) !important; color: var(--bt-white) !important; border: 0 !important; border-radius: 0 !important; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; height: 44px; padding: 0 16px; cursor: pointer; }
#searchsubmit:hover, #searchsubmit:focus { background: var(--bt-red) !important; }
/* P2-13: 44px tap targets on touch sizes */
@media (max-width: 980px) {
  #footer-widgets li a, .et_mobile_menu li a, .btc-back, .btc-link, .btc-disclaimer__link, .post-meta a, .cat-item a, #main-footer .bt-footer a { display: inline-block; min-height: 44px; line-height: 44px; padding-top: 0; padding-bottom: 0; }
  /* P3-8: sticky consult bar doesn't cover the footer */
  body { padding-bottom: 56px; }
}
/* P3-7: header search field styled */
.et-search-form input, .et_search_form_container input { font-family: var(--bt-font-display) !important; color: var(--bt-charcoal) !important; background: var(--bt-stone) !important; }
/* P3-9: BF hero tagline legible on tablet */
@media (max-width: 980px) { .bt-bf-tag, .bt-bf .bt-bf-t { text-shadow: 0 1px 3px rgba(26,26,26,.9); } }
/* P3-1: color names stay on one line */
.bt-nowrap { white-space: nowrap; }

/* 2.5.8 (2026-10-14): iPad-landscape header - keep nav + CTA on one row 981-1279px (no wrap over Roof Designer view buttons) */
@media (min-width: 981px) and (max-width: 1279px) {
  #main-header > .container { width: calc(100% - 48px) !important; max-width: none !important; }
  #top-menu li { padding-right: 18px; }
  #top-menu > li > a { letter-spacing: .08em; }
  #top-menu > li.bt-nav-cta > a { padding: 0 12px !important; }
}
@media (min-width: 981px) and (max-width: 1199px) {
  #top-menu li { padding-right: 13px; }
  #top-menu > li > a { font-size: 12px; letter-spacing: .06em; }
  #top-menu > li.bt-nav-cta > a { font-size: 0 !important; white-space: nowrap; }
  #top-menu > li.bt-nav-cta > a::after { content: "Free Consult"; font-size: 12px; }
}
@media (min-width: 981px) and (max-width: 1060px) {
  #main-header > .container { width: calc(100% - 32px) !important; }
  #top-menu li { padding-right: 9px; }
  #top-menu > li > a { font-size: 11px; letter-spacing: .04em; }
  #top-menu > li.bt-nav-cta > a { padding: 0 10px !important; }
  #top-menu > li.bt-nav-cta > a::after { font-size: 11px; }
  #logo { max-height: 34px !important; }
}
/* 2.5.8: phone Roof Designer - Digital rendering tag sits below Save/Favorites */
@media (max-width: 900px) {
  #bt-roof-builder .rb-tag { top: 102px !important; right: 10px !important; font-size: 9px !important; padding: 4px 7px !important; line-height: 1.3; opacity: .92; }
  #bt-roof-builder .rb-favbar { top: 58px !important; }
}

/* =====================================================================
   COLOR NAME LABEL (2.6.0) — one component for every standard color label.
   NAME big; "#14 · Tans" small underneath; swatch dot. Data: data/standard-colors.json
   ===================================================================== */
.bt-cn{display:inline-flex;align-items:center;gap:10px;text-align:left;vertical-align:middle;line-height:1.2}
.bt-cn__sw{flex:0 0 auto;display:block;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
.bt-cn__sw.is-empty{background:repeating-linear-gradient(45deg,#e8e4de 0 4px,#d6d0c7 4px 8px)}
.bt-cn__t{display:flex;flex-direction:column;min-width:0}
.bt-cn__name{font-family:var(--bt-font-display,"gotham","Montserrat",sans-serif);font-weight:600;font-size:1em;letter-spacing:.01em;color:inherit}
.bt-cn__sub{display:block;font-size:.78em;letter-spacing:.04em;opacity:.78;margin-top:2px;font-weight:400}
.bt-cn.is-noname .bt-cn__name,.bt-cn.is-custom .bt-cn__name{font-weight:500}
.bt-ccard .bt-cn{display:flex;justify-content:center;text-align:center}.bt-ccard .bt-cn__t{align-items:center}.bt-ccard .bt-cn__name{display:block;font-size:16px;line-height:1.25}.bt-ccard .bt-cn__sub{font-size:12px;color:#4F4F4F;opacity:1}

/* 2.6.2-2.6.3 (2026-10-14): MOBILE header fixed at the top at all times; open menu scrolls inside the viewport; bigger Products tiles */
@media (max-width: 980px) {
  html { scroll-padding-top: var(--bt-header-h); }
  #main-header, #main-header.et-fixed-header { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; z-index: 99990; transform: none !important; }
  body.admin-bar #main-header, body.admin-bar #main-header.et-fixed-header { top: 46px !important; }
  body.et_fixed_nav #page-container, body.et_fixed_nav.et_show_nav #page-container { padding-top: var(--bt-header-h) !important; }
  /* open panel: scrolls inside the viewport (dvh with vh fallback), never taller than the screen below the bar */
  #main-header .et_mobile_menu { max-height: calc(100vh - var(--bt-header-h)); max-height: calc(100dvh - var(--bt-header-h)); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 24px; }
  body.admin-bar #main-header .et_mobile_menu { max-height: calc(100vh - var(--bt-header-h) - 46px); max-height: calc(100dvh - var(--bt-header-h) - 46px); }
  /* lock page scroll while the menu is open */
  html:has(#main-header .mobile_nav.opened), body:has(#main-header .mobile_nav.opened) { overflow: hidden; }
  /* Products submenu (2.6.4): compact rows, tile left at about half the 2.6.3 size, text right. Every tile uses the one shared 425x309 crop box at the same scale (aspect-ratio + fixed width), never fitted individually. */
  .et_mobile_menu li li a { flex-direction: row; align-items: center !important; gap: 14px; padding-top: 8px; padding-bottom: 8px; min-height: 0; line-height: 1.3; }
  .et_mobile_menu li li a .bt-mm-thumb { flex: 0 0 148px; width: 148px; height: auto; aspect-ratio: 425 / 309; padding: 0; background: rgba(255,255,255,.04); }
  .et_mobile_menu li li a .bt-mm-thumb .bt-mm-tile { width: 100%; height: 100%; display: block; }
  #main-header .et_mobile_menu ul.sub-menu { padding-left: 0 !important; }
  #main-header .et_mobile_menu li li { padding-left: 0 !important; padding-right: 0 !important; }
  #main-header .et_mobile_menu li li a { padding-left: 6px !important; padding-right: 6px !important; }
  .et_mobile_menu .bt-mm-text { display: block; padding: 0 2px; }
  .et_mobile_menu .bt-mm-eyebrow { font-size: 11px; line-height: 1.4; }
  .et_mobile_menu .bt-mm-name { font-size: 15px; line-height: 1.25; }
  .et_mobile_menu .bt-mm-text { flex: 1 1 auto; min-width: 0; }
  .et_mobile_menu .bt-mm-eyebrow { letter-spacing: .12em; }
  .et_mobile_menu li.bt-mm-all > a { flex-direction: row; min-height: 44px; line-height: 44px; }
}

/* 2.6.4: "Beta" capsule after the 3D Roof Designer menu item (menu item CSS class bt-beta). Pure CSS, so it is not part of the link text anywhere else. */
.menu-item.bt-beta > a::after { content: "Beta"; display: inline-block; margin-left: 10px; padding: 3px 8px 2px; border-radius: var(--bt-radius-pill); background: var(--bt-copper); color: var(--bt-charcoal); font-family: var(--bt-font-display); font-weight: var(--bt-fw-semi); font-size: 9px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; position: relative; top: -1px; }
.menu-item.bt-beta > a { white-space: nowrap; }
#top-menu li li.bt-beta > a { padding-right: 0; }
#top-menu li li.bt-beta > a::after { margin-left: 8px; padding: 3px 7px 2px; }
#top-menu li.bt-beta > a::after { letter-spacing: .12em; }
@media (max-width: 380px) {
  /* small phones: tile about half of the 269px version, same aspect */
  .et_mobile_menu li li a .bt-mm-thumb { flex-basis: 128px; width: 128px; }
  .et_mobile_menu li li a { gap: 10px; }
  .et_mobile_menu .bt-mm-eyebrow { font-size: 10px; letter-spacing: .08em; }
  .et_mobile_menu .bt-mm-name { font-size: 14px; }
}

/* 2.6.6: homepage social strip under the hero (same icons/URLs/hover as the footer via bartile_social_icons_html) */
.bt-social-strip-section, .bt-social-strip-section .et_pb_row { width: 100% !important; max-width: 100% !important; padding: 0 !important; }
.bt-social-strip-section .et_pb_column, .bt-social-strip-section .et_pb_code { margin: 0 !important; padding: 0 !important; }
.bt-social-strip { background: var(--bt-bg-paper, #F4F2EE); padding: 18px 16px; display: flex; justify-content: center; }
.bt-social-strip .bt-social { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 6px; }
.bt-social-strip .bt-social a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: var(--bt-charcoal, #1A1A1A); opacity: .72; transition: opacity .2s ease, color .2s ease; }
.bt-social-strip .bt-social a::before { content: ""; width: 26px; height: 26px; display: block; background-color: currentColor; -webkit-mask: var(--bt-ico) center / contain no-repeat; mask: var(--bt-ico) center / contain no-repeat; }
.bt-social-strip .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bt-social-strip .bt-social a:hover, .bt-social-strip .bt-social a:focus-visible { color: var(--bt-copper, #B87333); opacity: 1; }
@media (min-width: 768px) { .bt-social-strip { padding: 22px 24px; } .bt-social-strip .bt-social { gap: 12px; } }

/* 2.7.1 (2026-10-16, launch-creative): home social strip ~25% larger (tap target 46->56 mobile / 58 desktop, glyph 26->32) and white gap ~halved
   (strip padding 18/22 -> 9/11, #profiles top padding var(--bt-section-pad) -> half). Scoped to .bt-social-strip and the front page #profiles. */
.bt-social-strip { padding: 9px 16px; }
.bt-social-strip .bt-social { gap: 4px; }
.bt-social-strip .bt-social a { width: 56px; height: 56px; flex: 0 1 56px; min-width: 44px; }
.bt-social-strip .bt-social a::before { width: 32px; height: 32px; }
.home .et_pb_section.bt-section#profiles { padding-top: calc(var(--bt-section-pad) / 2); }
@media (min-width: 768px) { .bt-social-strip { padding: 11px 24px; } .bt-social-strip .bt-social { gap: 14px; } .bt-social-strip .bt-social a { width: 58px; height: 58px; flex-basis: 58px; } }
