/* =====================================================================
   MIKE: TWEAK OPTIONS (Oct 2026), all in this one file.
   Your original layout and wording are unchanged. This file only adds looks.

   HOW TO SWITCH OPTIONS
   Each option is a class on the <html> tag at the top of the page, e.g.
     <html lang="en-CA" class="bg-satin btn-smoked frames icons-new font-a">
   - Background (pick ONE):  bg-satin | bg-brushed | bg-graphite   (none = original white gloss)
   - Buttons    (pick ONE):  btn-smoked | btn-whiteglass | btn-silver | btn-pill   (none = original buttons)
   - Frames:                 frames      (silver-glass shadow on photos, service boxes, video)
   - Icons:                  icons-new   (new line icons; remove to show the old ones)
   - Fonts:     font-a (final; none = original fonts; see section 6)
   (The ?t= / ?panel=1 preview helper, js/mike-tweaks.js, is not part of the live site.)
   The gallery spacing section (bottom of this file) is always on.
   To undo EVERYTHING: delete the <link ... mike-tweaks.css> line in the page.
   ===================================================================== */

/* MIKE: shared silver colours, taken from the tile logo */
:root {
  --mt-silver-1: #fbfbfc;   /* highlight */
  --mt-silver-2: #e6e8eb;   /* light satin */
  --mt-silver-3: #c9ccd1;   /* mid silver */
  --mt-silver-4: #9a9ea6;   /* shadow silver */
  --mt-graphite: #3d4148;   /* grout grey */
  --mt-accent:   #5f6b87;   /* your existing blue-grey accent */
}

/* ---------------------------------------------------------------------
   1) PAGE BACKGROUND (the sides of the page around your content)
   The middle stays white so text is as easy to read as before.
   --------------------------------------------------------------------- */

/* MIKE: Option A "Satin Silver": soft silver at the left/right edges fading to white */
html.bg-satin, html.bg-satin body {
  background: #fff linear-gradient(90deg,
      #c5c9cf 0%, #dfe2e5 6%, #f3f4f6 12%, #ffffff 20%,
      #ffffff 80%, #f3f4f6 88%, #dfe2e5 94%, #c5c9cf 100%) fixed;
}

/* MIKE: Option B "Brushed Steel": same idea, slightly deeper, with a fine brushed-metal grain */
html.bg-brushed, html.bg-brushed body {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0 1px, rgba(0,0,0,0.025) 1px 3px) fixed,
    linear-gradient(90deg,
      #b9bdc3 0%, #d3d6da 5%, #eceef0 11%, #ffffff 19%,
      #ffffff 81%, #eceef0 89%, #d3d6da 95%, #b9bdc3 100%) fixed,
    #fff;
}

/* MIKE: Option C "Graphite Edge": deeper grout-grey at the very edges, through silver to white (most contrast) */
html.bg-graphite, html.bg-graphite body {
  background: #fff linear-gradient(90deg,
      #8b9097 0%, #b3b7bd 3.5%, #dcdfe2 9%, #f5f6f7 14%, #ffffff 18%,
      #ffffff 82%, #f5f6f7 86%, #dcdfe2 91%, #b3b7bd 96.5%, #8b9097 100%) fixed;
}
/* the page body itself is see-through so the html background shows */
html.bg-satin body, html.bg-brushed body, html.bg-graphite body { background: transparent; }

/* ---------------------------------------------------------------------
   2) BUTTONS: "silver glass" options
   Affects: the hero "Call for a free quote" button, all "Learn more" buttons,
   and the phone-only sticky call button. Same size and position as before.
   --------------------------------------------------------------------- */

/* MIKE: Button Option 1 "Polished Silver": satin silver bar, dark text, glassy top shine */
.btn-silver .banner-info a,
.btn-silver .containerClick a,
.btn-silver .mobile-call-btn {
  color: #2b2e33;
  background: linear-gradient(180deg, #ffffff 0%, #eef0f2 45%, #d5d8dc 55%, #e9ebee 100%);
  border: 1px solid #a9adb4;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -1px 0 rgba(0,0,0,0.06),
              0 2px 4px rgba(0,0,0,0.18), 0 8px 18px rgba(30,35,45,0.18);
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
  transition: all .25s ease;
}
.btn-silver .banner-info a:hover,
.btn-silver .containerClick a:hover,
.btn-silver .mobile-call-btn:hover {
  color: #1d2024;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7f8 45%, #e2e5e8 55%, #f2f3f5 100%);
  border: 1px solid #8e939b;
  box-shadow: inset 0 1px 0 #fff, 0 3px 6px rgba(0,0,0,0.2), 0 12px 24px rgba(30,35,45,0.22);
  transform: translateY(-1px);
  text-decoration: none;
}

/* MIKE: Button Option 2 "Smoked Glass": see-through dark glass with a silver rim, white text */
.btn-smoked .banner-info a,
.btn-smoked .containerClick a,
.btn-smoked .mobile-call-btn {
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 50%, rgba(0,0,0,0.08) 51%, rgba(0,0,0,0.02) 100%),
              rgba(52,57,66,0.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(225,228,232,0.85);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 2px 4px rgba(0,0,0,0.25), 0 10px 22px rgba(0,0,0,0.22);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  transition: all .25s ease;
}
/* on white areas the glass is a little darker so it still reads as a button */
.btn-smoked .containerClick a { background-color: rgba(70,75,85,0.85); }
.btn-smoked .banner-info a:hover,
.btn-smoked .containerClick a:hover,
.btn-smoked .mobile-call-btn:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.1) 50%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0) 100%),
              rgba(95,107,135,0.85);
  border: 1px solid #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

/* MIKE: Button Option 3 "Frosted Pill": rounded frosted-white glass, silver rim, blue-grey text */
.btn-pill .banner-info a,
.btn-pill .containerClick a,
.btn-pill .mobile-call-btn {
  color: var(--mt-accent);
  font-weight: 600;
  letter-spacing: .02em;
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(243,245,247,0.92) 100%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px #c3c7cd, inset 0 1px 0 #fff, inset 0 -2px 4px rgba(150,155,165,0.18),
              0 3px 6px rgba(0,0,0,0.12), 0 10px 24px rgba(40,50,70,0.16);
  transition: all .25s ease;
}
.btn-pill .banner-info a:hover,
.btn-pill .containerClick a:hover,
.btn-pill .mobile-call-btn:hover {
  color: #fff;
  background: linear-gradient(180deg, #7380a0 0%, var(--mt-accent) 100%);
  box-shadow: 0 0 0 1px #c3c7cd, inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 8px rgba(0,0,0,0.18), 0 12px 26px rgba(40,50,70,0.22);
  transform: translateY(-1px);
  text-decoration: none;
}

/* MIKE: Button Option 4 "White Smoked Glass": like Smoked Glass but milky WHITE frosted glass.
   See-through white with a blur behind it, thin silver rim, soft shine on the top half,
   and a light silver glass shadow. Hover: a little brighter and the rim glows. */
.btn-whiteglass .banner-info a,
.btn-whiteglass .containerClick a,
.btn-whiteglass .mobile-call-btn {
  color: #2b2e33;                                   /* dark text on light areas */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.30) 48%, rgba(255,255,255,0.12) 52%, rgba(255,255,255,0.22) 100%),
    rgba(255,255,255,0.45);                         /* milky white glass */
  -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.9);         /* bright inner edge */
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(150,156,165,0.55),     /* thin silver rim */
              inset 0 1px 0 rgba(255,255,255,0.95), /* top shine line */
              inset 0 -1px 2px rgba(120,126,135,0.12),
              0 2px 4px rgba(0,0,0,0.10), 0 8px 20px rgba(30,35,45,0.14);  /* soft glass shadow */
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
  transition: all .25s ease;
}
/* MIKE: over the hero photo: white text was hard to read on the light floor, so it's dark text on a milkier glass */
.btn-whiteglass .banner-info a {
  color: #24272c;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.80) 0%, rgba(255,255,255,0.42) 48%, rgba(255,255,255,0.22) 52%, rgba(255,255,255,0.32) 100%),
    rgba(255,255,255,0.50);
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 1px rgba(200,205,212,0.7), inset 0 1px 0 #fff,
              0 2px 4px rgba(0,0,0,0.18), 0 10px 24px rgba(0,0,0,0.22);
  text-shadow: 0 1px 0 rgba(255,255,255,0.75);
}
/* MIKE: on white areas the glass is a bit milkier so the button still stands out */
.btn-whiteglass .containerClick a { background-color: rgba(250,251,252,0.85); }
/* MIKE: the phone sticky button floats over photos too, so it is the milkiest */
.btn-whiteglass .mobile-call-btn { background-color: rgba(255,255,255,0.72); border-radius: 24px; }
/* MIKE: hover: brighter glass, rim glows */
.btn-whiteglass .banner-info a:hover,
.btn-whiteglass .containerClick a:hover,
.btn-whiteglass .mobile-call-btn:hover {
  color: #1d2024;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.55) 48%, rgba(255,255,255,0.32) 52%, rgba(255,255,255,0.45) 100%),
    rgba(255,255,255,0.65);
  border: 1px solid #fff;
  box-shadow: 0 0 0 1px rgba(175,182,192,0.85), 0 0 12px 2px rgba(205,212,222,0.85),
              inset 0 1px 0 #fff, 0 3px 6px rgba(0,0,0,0.12), 0 12px 26px rgba(30,35,45,0.18);
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-whiteglass .banner-info a:hover {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.95), 0 0 16px 4px rgba(255,255,255,0.6),
              inset 0 1px 0 #fff, 0 3px 6px rgba(0,0,0,0.2), 0 12px 28px rgba(0,0,0,0.25);
}

/* ---------------------------------------------------------------------
   2b) FRAMES: matching subtle silver-glass shadow on photos and boxes
   --------------------------------------------------------------------- */
/* MIKE: gallery photos/videos get a thin silver rim, rounded corners and a soft shadow */
.frames #gallery img.example-image,
.frames #gallery video.example-image {
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.9), 0 0 0 2px rgba(160,165,172,0.45),
              0 4px 10px rgba(0,0,0,0.12), 0 14px 28px rgba(30,35,45,0.12);
}
/* MIKE: the three service boxes become light silver-glass cards */
.frames .service-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(244,245,247,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(170,175,182,0.35), inset 0 1px 0 #fff,
              0 6px 14px rgba(0,0,0,0.07), 0 18px 36px rgba(30,35,45,0.09);
  padding: 28px 10px 26px;
}
/* MIKE: the YouTube showreel and the hero text box get the same glass edge */
.frames .welcm-right iframe {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.9), 0 0 0 2px rgba(160,165,172,0.45), 0 12px 28px rgba(30,35,45,0.18);
}
.frames .banner-info {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 18px 40px rgba(0,0,0,0.25);
}
/* MIKE: service icon circles become satin silver, like the logo tiles */
.frames .service-box .icon {
  background: linear-gradient(145deg, #eef0f2 0%, #c9ccd1 55%, #a4a8af 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -2px 4px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.15);
}

/* ---------------------------------------------------------------------
   3) ICONS: new line icons (inline SVG in the page, class "mt-ico")
   The old icon stays in the page; this switches which one shows.
   --------------------------------------------------------------------- */
.mt-ico { display: none; }
.icons-new .mt-ico {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: -0.15em;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
/* hide the old icons when the new ones are on */
.icons-new .details .glyphicon,
.icons-new .service-box .glyphicon3,
.icons-new .contact-grid .glyphicon,
.icons-new .mobile-call-btn .glyphicon,
.icons-new span.menu img { display: none !important; }
/* sizes and colours, matched to the old icons */
.icons-new .details .mt-ico { font-size: 14px; margin-right: 6px; }
.icons-new .service-box .mt-ico { font-size: 44px; color: #fff; position: relative; top: 28px; z-index: 999; stroke-width: 1.5; }
.icons-new.frames .service-box .mt-ico { color: #3d4148; }
.icons-new.frames .service-box:hover .mt-ico { color: #fff; }
.icons-new .contact-grid .mt-ico { font-size: 26px; color: #9da1a8; }
.icons-new .mobile-call-btn .mt-ico { font-size: 16px; margin-right: 4px; }
.icons-new span.menu .mt-ico { font-size: 34px; color: #4b4f56; stroke-width: 2; }
/* back-to-top button: silver circle with a line arrow */
.icons-new #toTop {
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e3e5e8 55%, #b9bdc3 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #a9adb4, 0 4px 10px rgba(0,0,0,0.2);
}
.icons-new #toTop::after {
  content: ""; position: absolute; inset: 0;
  background: center / 22px 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d4148' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------
   4) GALLERY SPACING (always on)
   The old <br> spacers were removed from the gallery. Instead every photo sits
   in an even grid: same gap (16px) between all photos, rows line up, captions
   span the full width. Photo order, links and captions are unchanged.
   Only on the home page for now (its gallery has class "mt-tidy"); the other pages keep their old gallery.
   --------------------------------------------------------------------- */
/* MIKE: the gallery becomes a 12-column grid (same column sizes as before: thirds, halves, quarters) */
#gallery.mt-tidy > .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 16px;
  align-items: start;
}
/* MIKE: the old row wrappers no longer create their own uneven gaps */
#gallery.mt-tidy .gallery-grids,
#gallery.mt-tidy .gallery-grids-top,
#gallery.mt-tidy .gallery-grids-middle,
#gallery.mt-tidy .clearfix { display: contents; }
#gallery.mt-tidy .gallery-info,
#gallery.mt-tidy p,
#gallery.mt-tidy .contact, #gallery.mt-tidy .footer { grid-column: 1 / -1; }   /* (Contact + footer sit inside the gallery box in the page code) */
/* (Bootstrap's invisible clearfix helpers would take up grid cells, so switch them off here) */
#gallery.mt-tidy > .container::before, #gallery.mt-tidy > .container::after,
#gallery.mt-tidy .clearfix::before, #gallery.mt-tidy .clearfix::after,
#gallery.mt-tidy .gallery-right-grid::before, #gallery.mt-tidy .gallery-right-grid::after { display: none; }
/* MIKE: photo tiles: thirds span 4 columns, quarters 3, halves 6 */
#gallery.mt-tidy .col-md-4, #gallery.mt-tidy .col-md-3, #gallery.mt-tidy .col-md-6 {
  float: none; width: auto; padding: 0; margin: 0; min-height: 0;
}
#gallery.mt-tidy .col-md-4 { grid-column: span 4; }
#gallery.mt-tidy .col-md-3 { grid-column: span 3; }
#gallery.mt-tidy .col-md-6 { grid-column: span 6; }
/* the 2x2 block of small photos next to a big one */
#gallery.mt-tidy .gallery-right-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
#gallery.mt-tidy .gallery-right-grid > .gallery-grid-img { grid-column: auto; }
#gallery.mt-tidy .gallery-right-top-grid { margin-top: 16px; }
#gallery.mt-tidy .gallery-grid-top-img { margin: 0; }
/* MIKE: every photo fills its tile neatly (portrait thirds, landscape halves) */
#gallery.mt-tidy .gallery-grid img.example-image,
#gallery.mt-tidy .gallery-grid video.example-image { width: 100%; aspect-ratio: 647 / 861; object-fit: cover; display: block; }
#gallery.mt-tidy .gallery-grid-top img.example-image,
#gallery.mt-tidy .gallery-right .gallery-grid-top-img img.example-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
#gallery.mt-tidy .gallery-grid-img img.example-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
/* MIKE: captions: a little air above and below, same everywhere */
#gallery.mt-tidy p { margin: 2px 0 14px; }
#gallery.mt-tidy .contact p { margin: 1em 0 0; } #gallery.mt-tidy .footer p { margin: 0; }
#gallery.mt-tidy .contact-icons { display: flow-root; }   /* keeps the Contact spacing exactly as before */
#gallery.mt-tidy .gallery-info { margin-bottom: 8px; }
#gallery.mt-tidy .gallery-info h4 { margin-top: 18px; }
@media (max-width: 991px) {
  /* MIKE: phones/tablets: same tidy grid (thirds stay thirds like before), just a smaller 10px gap */
  #gallery.mt-tidy > .container { column-gap: 10px; row-gap: 10px; }
  #gallery.mt-tidy .gallery-right-grid { gap: 10px; }
  #gallery.mt-tidy .gallery-right-top-grid { margin-top: 10px; }
  #gallery.mt-tidy p { margin: 2px 0 12px; }
}

/* ---------------------------------------------------------------------
   5) SMALL FIX (always on)
   MIKE: the YouTube showreel was a fixed 560px wide, so on phones the whole page
   was wider than the screen (it could slide sideways and the sticky "Call" button
   ended up off the bottom). Now it shrinks to fit. Desktop looks the same.
   --------------------------------------------------------------------- */
.welcm-right iframe { max-width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* MIKE: on phones the grey intro box ran over the top of "WE TILE AND RENOVATE"; let the banner grow to fit it */
@media (max-width: 767px) { .banner { height: auto; padding-bottom: 1px; } }
/* MIKE: same problem with the long email address in Contact on small phones: let it wrap */
.contact-grid p a { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------------
   6) FONTS (always on: the "font-a" class on each page's <html> tag)
   MIKE: EB Garamond for headings and the menu, Lato for body text. This also:
   - makes body text bigger and darker (was 14px light grey #999, hard to read)
   - restyles the menu, headings and buttons to match
   - shows the hero intro in normal sentence case instead of ALL CAPS (easier to read)
   The fonts are stored with the site in fonts/mike-fonts/ (free Google Fonts, OFL licence),
   so nothing loads from Google.
   --------------------------------------------------------------------- */
@font-face { font-family: 'MT EB Garamond'; src: url(../fonts/mike-fonts/EBGaramond-var.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'MT Lato'; src: url(../fonts/mike-fonts/Lato-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'MT Lato'; src: url(../fonts/mike-fonts/Lato-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

/* MIKE: shared for all three font options: easier-to-read body text and calmer headings */
:is(.font-a, .font-b, .font-c) :is(.welcm-left p, .welcm-right p, .service-box p) {
  font-size: 16.5px; line-height: 1.75; color: #4f545c;
}
/* MIKE: :not(.bubble-*) so the corner-avatar talk bubble (Style C) keeps its own type */
:is(.font-a, .font-b, .font-c) #gallery p:not(.contact p):not(.footer p):not(.bubble-title):not(.bubble-role):not(.bubble-body) { font-size: 15px; line-height: 1.6; color: #555a61; }
:is(.font-a, .font-b, .font-c) .gallery-info h4 { font-size: 17px; line-height: 1.5; color: #444950; }
:is(.font-a, .font-b, .font-c) .contact-grid p, :is(.font-a, .font-b, .font-c) .contact-grid p a { color: #555a61; }
:is(.font-a, .font-b, .font-c) .copywrite p, :is(.font-a, .font-b, .font-c) .copywrite p a { color: #6b7078; }
/* section titles: soft silver emboss instead of the old blue drop shadow */
:is(.font-a, .font-b, .font-c) :is(.services h3, .gallery-info h3, .contact h3, .welcm-left h3) , :is(.font-a, .font-b, .font-c) :is(.services h2.h3, .gallery-info h2.h3, .contact h2.h3, .welcm-left h2.h3){
  color: #3d4148; text-shadow: 0 1px 0 #fff, 0 2px 6px rgba(61,65,72,0.12);
}
:is(.font-a, .font-b, .font-c) .welcm-left h4, :is(.font-a, .font-b, .font-c) .welcm-right h3 , :is(.font-a, .font-b, .font-c) .welcm-right h2.h3{ color: #2f3338; }
/* hero intro paragraph: normal case, readable size */
:is(.font-a, .font-b, .font-c) .banner-info h3 , :is(.font-a, .font-b, .font-c) .banner-info h2.h3{
  text-transform: none; font-size: 17px; line-height: 1.6; letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
:is(.font-a, .font-b, .font-c) .banner-info h1, :is(.font-a, .font-b, .font-c) .banner-info h2 { text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
/* the menu keeps its exact height (61px) whatever the font */
@media (min-width: 768px) {
  :is(.font-a, .font-b, .font-c) .top-menu ul li a { line-height: 47px; padding: 7px 0.15em; margin: 0 18px; text-transform: uppercase; }
}
@media (max-width: 767px) {
  :is(.font-a, .font-b, .font-c) .banner-info h3 , :is(.font-a, .font-b, .font-c) .banner-info h2.h3{ font-size: 15px; }
  :is(.font-a, .font-b, .font-c) :is(.welcm-left p, .welcm-right p, .service-box p) { font-size: 16px; }
}

/* MIKE: OPTION A "CLASSIC": EB Garamond (the same serif as your tile logo) for headings and menu,
   Lato (clean, friendly sans) for reading text. Most in keeping with the logo. */
.font-a :is(.banner-info h1, .banner-info h2, .welcm-left h3, .welcm-left h4, .welcm-right h3, .services h3,
  .gallery-info h3, .contact h3, .service-box h5) , .font-a :is(.welcm-left h2.h3, .welcm-right h2.h3, .services h2.h3, .gallery-info h2.h3, .contact h2.h3){ font-family: 'MT EB Garamond', Garamond, Georgia, serif; font-weight: 500; }
.font-a :is(.banner-info h1, .banner-info h2) { font-weight: 600; letter-spacing: 0.03em; }
.font-a .welcm-left h3 , .font-a .welcm-left h2.h3{ letter-spacing: 0.03em; }
.font-a :is(.services h3, .gallery-info h3, .contact h3) , .font-a :is(.services h2.h3, .gallery-info h2.h3, .contact h2.h3){ letter-spacing: 0.02em; }
.font-a .service-box h5 { font-weight: 600; letter-spacing: 0.01em; }
.font-a :is(.welcm-left p, .welcm-right p, .service-box p, .banner-info h3, #gallery p, .gallery-info h4,
  .contact-grid p, .copywrite p, .details, .details a) , .font-a :is(.banner-info h2.h3){ font-family: 'MT Lato', 'Helvetica Neue', Arial, sans-serif; }
.font-a .top-menu ul li a { font-family: 'MT EB Garamond', Garamond, Georgia, serif; font-weight: 500; }
.font-a :is(.banner-info a, .containerClick a, .mobile-call-btn) { font-family: 'MT Lato', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: 0.04em; }
@media (min-width: 992px) {
  .font-a :is(.banner-info h1, .banner-info h2) { font-size: 39px; line-height: 1.12; }
  .font-a .welcm-left h3 , .font-a .welcm-left h2.h3{ font-size: 41px; }
  .font-a :is(.services h3, .gallery-info h3, .contact h3) , .font-a :is(.services h2.h3, .gallery-info h2.h3, .contact h2.h3){ font-size: 54px; }
  .font-a .welcm-left h4 { font-size: 23px; line-height: 1.3; }
  .font-a .welcm-right h3 , .font-a .welcm-right h2.h3{ font-size: 36px; }
  .font-a .service-box h5 { font-size: 26px; }
}
@media (min-width: 768px) { .font-a .top-menu ul li a { font-size: 18px; letter-spacing: 0.16em; } }

/* MIKE: font options B ("Modern clean": Montserrat/Open Sans) and C ("Upscale": Marcellus/Source Sans 3)
   and the ?panel=1 preview picker were removed for the live site (Oct 1, 2026). Font A is the final choice.
   Copies of the full option file are in ~/Desktop/GrokBot/burlingtontile-tweaks/css/mike-tweaks.css. */

/* ---------------------------------------------------------------------
   7) MENU WITH 7 ITEMS (Oct 1, 2026)
   MIKE: the menu now has SLABS and goes to the new contact page, so it has 7 items.
   On wide screens (where the full menu shows, 1191px and up) the items sit a little
   closer together and the lettering is 1px smaller, so all 7 stay on ONE row and the
   bar keeps its height. Phones/tablets (the drop-down menu) are unchanged.
   Delete this block to go back (the 7th item would then wrap to a second row).
   --------------------------------------------------------------------- */
@media (min-width: 1191px) {
  .top-menu ul { display: flex; justify-content: center; flex-wrap: nowrap; padding-left: 0; }
  .top-menu ul li { flex: 0 0 auto; }
  :is(.font-a, .font-b, .font-c) .top-menu ul li a { margin: 0 12px; }
  .font-a .top-menu ul li a { font-size: 17px; letter-spacing: 0.1em; }
}

/* ---------------------------------------------------------------------
   8) IMAGE SIZES (Oct 1, 2026)
   MIKE: photos now carry width/height in the HTML so the browser can save their space
   while they load (less jumping around). This line keeps them sized exactly as before.
   --------------------------------------------------------------------- */
:where(img[width][height]:not([src$=".svg"])) { height: auto; }

/* ---------------------------------------------------------------------
   9) LINKS INSIDE TEXT (Oct 1, 2026)
   MIKE: a few existing words now link to the matching page (e.g. "fireplaces" -> Fireplaces page)
   so visitors and Google can find every page. Same words, just a soft underline.
   --------------------------------------------------------------------- */
a.mt-inlink { color: inherit; text-decoration: underline; text-decoration-color: rgba(61,65,72,0.45);
  text-decoration-thickness: 1px; text-underline-offset: 3px; }
a.mt-inlink:hover, a.mt-inlink:focus-visible { color: #1f2328; text-decoration-color: currentColor; }

/* ---------------------------------------------------------------------
   7) QA FIXES (Oct 1, 2026, always on)
   --------------------------------------------------------------------- */
/* MIKE: photo viewer: the photo, caption and close button now fit on the screen (was cut off at the bottom on laptops) */
.lb-outerContainer { margin-top: 0; }

/* MIKE: Contact section on small phones: the 3 items stack in one column so the email address fits on one line */
@media (max-width: 479px) {
  .contact-grid, .contact-grid:nth-child(2) { float: none; width: 100%; margin: 0 0 18px; }
  .contact-grid p a { overflow-wrap: normal; word-break: normal; }
}

/* MIKE: Bathrooms page, "Our Bathroom Renovation Services": proper space above the heading, darker easier-to-read list */
.mt-bath-services { clear: both; padding-top: 50px; }
.mt-bath-services > br { display: none; }
.mt-bath-services h2.h3 { margin-bottom: 28px; }
@media (max-width: 767px) { .mt-bath-services blockquote p { margin-left: 0; margin-right: 0; width: auto; } }
.mt-bath-services blockquote, .mt-bath-services blockquote p, .mt-bath-services blockquote strong {
  color: #555; font-family: 'MT Lato', 'Helvetica Neue', Arial, sans-serif; font-weight: 400;
}

/* MIKE: Fireplaces page: the 3 sub-headings and the lists now use the site's heading/text fonts; bullets sit inside the text column on phones */
.welcm-grids h2:not(.h3) {
  font-family: 'MT EB Garamond', Garamond, Georgia, serif; font-weight: 500; font-size: 30px; line-height: 1.2;
  color: #2f3338; margin: 8px 0 0;
}
@media (max-width: 767px) { .welcm-grids h2:not(.h3) { font-size: 26px; } }
.welcm-left > ul { padding-left: 1.3em; margin: 0; }
.welcm-left > ul li { font-family: 'MT Lato', 'Helvetica Neue', Arial, sans-serif; font-size: 16.5px; line-height: 1.75; color: #4f545c; }
.font-a .welcm-right h4 { font-family: 'MT EB Garamond', Garamond, Georgia, serif; }

/* MIKE: hidden anti-spam field in the quote forms: use the site font (stops an old font file downloading for nothing) */
.sq-hp { font-family: 'MT Lato', Arial, sans-serif; }

/* MIKE: no visible text uses the old OpenSans and Angsana fonts any more; pointing the page default and the menu box at the
   site fonts stops browsers downloading those two old font files (about 350 KB) for invisible spacing characters */
html.font-a, html.font-a body { font-family: 'MT Lato', 'Helvetica Neue', Arial, sans-serif; }
.font-a .top-menu { font-family: 'MT EB Garamond', Garamond, Georgia, serif; }

/* ---------------------------------------------------------------------
   10) LOGO LOAD-IN ANIMATION: "A) Drop & settle" (picked by Mike, Oct 1, 2026)
   MIKE: the big logo at the top is now drawn right in the page (not a picture file) so its
   four tiles can move. When the page opens: the dark grout bed fades in, the tiles drop in
   one at a time (bottom, left, right, top) with a small bounce, then "Burlington Tile" fades up.
   About 1.4 seconds, plays once. Same size and place as the old logo picture.
   Easy knobs (change the numbers, then save):
     --dur      how long each tile takes to land, in seconds        (0.6)
     --stagger  gap between one tile starting and the next, seconds (0.14)
     --bounce   bounce strength: 0 = no bounce, 1 = as approved, 2 = lots   (1)
   No JavaScript needed: if anything fails, the logo simply shows. People who turn on
   "reduce motion" on their phone/computer get a gentle fade instead.
   To turn the animation off completely: delete this section (the logo stays).
   --------------------------------------------------------------------- */
.mt-logo { --dur: 0.6; --stagger: 0.14; --bounce: 1; }
/* same box as the old <img> logo (.banner img in style.css): 726px wide max, keeps its shape */
.banner svg.mt-logo {
  width: 726px; max-width: 100%; height: auto; box-sizing: border-box;
  margin: 70px auto 0; padding: 0 20px 60px 0; overflow: visible;
}
.mt-logo .mt-tile, .mt-logo .mt-word { transform-box: fill-box; transform-origin: center; }
.mt-logo .mt-grout, .mt-logo .mt-shadow { animation: mt-fade calc(var(--dur) * 1.2s) ease-out calc(var(--stagger) * 1s) both; }
.mt-logo .mt-tile {
  animation: mt-drop calc(var(--dur) * 1s) cubic-bezier(.4, 0, .6, 1) calc(var(--i) * var(--stagger) * 1s) both;
}
.mt-logo .mt-word { animation: mt-word-up .55s ease-out calc(3 * var(--stagger) * 1s + var(--dur) * 0.75s) both; }
/* --mt-u scales the drop for the phone logo, whose tiles are drawn bigger */
@keyframes mt-drop {
  0%   { transform: translateY(calc(var(--mt-u, 1) * -140px)); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  12%  { opacity: 1; }
  55%  { transform: translateY(0); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  72%  { transform: translateY(calc(var(--mt-u, 1) * var(--bounce) * -16px)); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  86%  { transform: translateY(0); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  93%  { transform: translateY(calc(var(--mt-u, 1) * var(--bounce) * -4px)); }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes mt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mt-word-up {
  from { opacity: 0; transform: translateY(calc(var(--mt-u, 1) * 14px)); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mt-logo .mt-tile, .mt-logo .mt-grout, .mt-logo .mt-shadow { animation: mt-fade .4s ease-out 0s both; }
  .mt-logo .mt-word { animation: mt-fade .4s ease-out .15s both; }
}

/* ---------------------------------------------------------------------
   11) MENU WITH 8 ITEMS (Oct 3, 2026)
   MIKE: the menu now also has VISUALIZER (8 items). On laptop widths (1191-1365px)
   the 8 items were a little too wide for one row, so there the items sit closer and the
   lettering is 1px smaller (same as the bathroom-remodeler page). 1366px and wider
   screens look exactly as before. Phones/tablets (drop-down menu) are unchanged.
   --------------------------------------------------------------------- */
@media (min-width: 1191px) and (max-width: 1365px) {
  :is(.font-a, .font-b, .font-c) .top-menu ul li a { margin: 0 8px; }
  .font-a .top-menu ul li a { font-size: 16px; letter-spacing: 0.08em; }
}

/* ---------------------------------------------------------------------
   12) MIKE: MOBILE SPACING (Oct 3, 2026). Phones only (767px wide and smaller);
   computers and tablets in landscape are NOT affected. Delete this block to undo.
   --------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* MIKE: the top photo now fills the whole hero, so the text box no longer hangs
     past the bottom of the photo onto a blank strip */
  .banner { background-size: cover !important; background-position: center top !important; }
  /* MIKE: a little photo below the hero text box so the box doesn't sit right on the bottom edge */
  .banner { padding-bottom: 2em; }
  /* MIKE: the first section under the hero had a huge 12em (about 190px) empty gap on phones */
  .welcome { padding-top: 2.5em; }
  /* MIKE: a little breathing room between the end of the left column and the
     "Walkthrough SHOWREEL" / right column */
  .welcm-right { padding-top: 2em; }
  /* MIKE: the "Learn more" under the slab heading sat about 60px below it; now closer to its heading */
  .welcm-left .containerClick a { margin-top: 1.2em; }
  /* MIKE: buttons: less side padding so long labels fit on small phones; if a label is
     long it wraps neatly onto two centred lines instead of running off the screen */
  .containerClick a { padding: 0.6em 1.4em; max-width: 100%; white-space: normal; line-height: 1.35; text-align: center; }
  /* MIKE: the YouTube video always fits the screen width; the visualizer button under it is centred */
  .welcm-right iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .welcm-right iframe + .containerClick { text-align: center; margin-left: auto !important; margin-right: auto !important; }

  /* MIKE: HOME PAGE HERO ON PHONES (Oct 3, 2026): the grey see-through box behind the hero heading
     ("Your Local Tile Installation Specialists & Luxury Bathroom Builder") is the .banner-info box
     (dark 22% background + thin white rim and shadow from the "frames" option). On phones it is removed,
     so the heading, text and button sit straight on the photo (with a slightly stronger text shadow so they stay readable),
     and the heading moves up closer to the logo. Home page only (page-home class on index.html). */
  .page-home .banner-info {
    background: none; border: 0; border-radius: 0; box-shadow: none;
    margin-top: 0.5em;   /* was 8em (about 128px) below the logo */
    padding: 0 0.4em;    /* was 2em all round */
  }
  .page-home .banner svg.mt-logo { padding-bottom: 12px; }   /* was 60px under the logo */
  .page-home .banner-info :is(h1, h2, h3) { text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 2px 12px rgba(0,0,0,0.45); }
}

/* ---------------------------------------------------------------------
   13. MIKE: HOME PAGE HERO TEXT LIGHTER (Oct 3, 2026)
   The hero heading ("Your Local Tile Installation Specialists & Luxury Bathroom Builder") and the intro
   paragraph looked too dark: the heavy dark glow around the letters made them read as dark grey.
   Now they are a light silver-grey with a much softer, tighter shadow, so they look light but stay readable
   on the photo (desktop and phones). Home page only (page-home class on index.html).
   To undo: delete this section.
   --------------------------------------------------------------------- */
.page-home .banner-info :is(h1, h2, h3) {
  color: #eef0f3;
  text-shadow: 0 1px 2px rgba(20, 24, 30, 0.42), 0 0 14px rgba(20, 24, 30, 0.14);
}
@media (max-width: 767px) {
  .page-home .banner-info :is(h1, h2, h3) {
    text-shadow: 0 1px 2px rgba(20, 24, 30, 0.5), 0 0 12px rgba(20, 24, 30, 0.2);
  }
  /* the paragraph sits on the pale floor of the photo on phones, so it keeps (almost) its old shadow to stay readable */
  .page-home .banner-info h3 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.42);
  }
}


/* ---------------------------------------------------------------------
   14. MIKE: HOME PAGE "BEFORE & AFTER RENOVATION VISUALIZER" FEATURE (Oct 3, 2026)
   Sits under the "25-Year Warranty" paragraph in index.html and links to
   bathroom-remodeler.html. Text and button on the left; on the right a satin-silver porthole where
   the "after" photo slowly wipes across the "before" photo, a smoked-glass speech bubble
   ("Try it on your own bathroom!") and the little blue foil seal ("Try it free").
   Photos: images/visualizer-before-bathroom.jpg and images/visualizer-after-bathroom.jpg.
   Phones: the porthole sits on top, text centred under it.
   Reduced motion: nothing moves; the porthole shows half before / half after.
   Home page only (page-home class on index.html). To undo: delete this section and the
   feature block in index.html.
   --------------------------------------------------------------------- */
.page-home .bt-viz-wrap { max-width: 560px; margin: 1.8em 0 2em; position: relative; }
.page-home .bt-viz-wrap a,
.page-home .bt-viz-wrap a:hover,
.page-home .bt-viz-wrap a:focus { text-decoration: none; }
.page-home .bt-viz { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 10px 0; }

/* left side: small blue line, title, one sentence, smoked button */
.page-home .bt-viz-side { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; flex: 1 1 auto; min-width: 0; }
.page-home .bt-viz-kicker { font: 700 12px/1.3 'MT Lato', Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #2463b3; }
.page-home .bt-viz-title { font: 500 29px/1.08 'MT EB Garamond', Georgia, serif; color: #2b2f36; text-wrap: balance; }
.page-home .bt-viz-sub { font: 14.5px/1.45 'MT Lato', Arial, sans-serif; color: #555b64; }
.page-home .bt-viz-btn {
  display: inline-block; margin-top: 6px; color: #fff; font: 700 15px/1 'MT Lato', Arial, sans-serif; letter-spacing: .06em;
  padding: .8em 1.5em; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.06) 50%, rgba(0,0,0,.08) 51%, rgba(0,0,0,.02) 100%), rgba(52,57,66,.9);
  border: 1px solid rgba(225,228,232,.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 2px 4px rgba(0,0,0,.25), 0 8px 18px rgba(0,0,0,.18);
  text-shadow: 0 1px 2px rgba(0,0,0,.35); transition: all .25s;
}
.page-home a.bt-viz:hover .bt-viz-btn,
.page-home a.bt-viz:focus-visible .bt-viz-btn {
  background: linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.1) 50%, rgba(0,0,0,.05) 51%, rgba(0,0,0,0) 100%), rgba(36,99,179,.92);
  border-color: #fff;
}
.page-home a.bt-viz:focus-visible { outline: 2px solid #2463b3; outline-offset: 6px; border-radius: 8px; }

/* right side: the porthole (silver ring, round window, before photo, after photo wiping across) */
.page-home .bt-viz-port { position: relative; flex: 0 0 214px; height: 214px; }
.page-home .bt-viz-ring {
  position: absolute; inset: 0; border-radius: 50%; padding: 9px;
  background: conic-gradient(from 210deg, #f4f5f7, #aeb3ba, #ffffff, #9ea4ad, #eef0f2, #b8bdc4, #ffffff, #a3a9b1, #f4f5f7);
  box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 8px 22px rgba(20,30,50,.25), inset 0 1px 1px #fff;
}
.page-home .bt-viz-win { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: inset 0 3px 10px rgba(0,0,0,.45); }
.page-home .bt-viz-win img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.page-home .bt-viz-after { position: absolute; inset: 0; animation: bt-viz-wipe 7s ease-in-out infinite; }
.page-home .bt-viz-bar {
  position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px;
  background: linear-gradient(180deg, #fff, #c3c8cf, #fff); box-shadow: 0 0 8px rgba(0,0,0,.5);
  animation: bt-viz-bar 7s ease-in-out infinite;
}
/* "Before" / "After" labels at the bottom of the window (they swap as the photo changes) */
.page-home .bt-viz-label {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); white-space: nowrap;
  font: 700 9.5px/1 'MT Lato', Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  padding: 5px 9px; border-radius: 999px; background: rgba(30,33,40,.62); border: 1px solid rgba(255,255,255,.6);
}
.page-home .bt-viz-label.is-before { animation: bt-viz-label-before 7s ease-in-out infinite; }
.page-home .bt-viz-label.is-after { animation: bt-viz-label-after 7s ease-in-out infinite; }

/* smoked-glass speech bubble, top-left of the porthole, floating gently */
.page-home .bt-viz-bubble {
  position: absolute; left: -40px; top: -40px; width: 146px; padding: 11px 13px 12px; border-radius: 14px;
  color: #fff; text-align: left; z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 55%), rgba(36,40,48,.94);
  border: 1px solid rgba(225,228,232,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px rgba(0,0,0,.28);
  animation: bt-viz-float 4s ease-in-out infinite;
}
.page-home .bt-viz-bubble::after {   /* the little pointer under the bubble */
  content: ""; position: absolute; right: 22px; bottom: -9px; width: 16px; height: 16px; transform: rotate(45deg);
  background: rgba(36,40,48,.94); border-right: 1px solid rgba(225,228,232,.9); border-bottom: 1px solid rgba(225,228,232,.9);
}
.page-home .bt-viz-bubble-line { display: block; font: italic 500 17px/1.15 'MT EB Garamond', Georgia, serif; }
.page-home .bt-viz-bubble-small {
  display: block; margin-top: 5px; font: 700 9.5px/1.2 'MT Lato', Arial, sans-serif; letter-spacing: .12em;
  text-transform: uppercase; color: #8ec0f5; white-space: nowrap;
}

/* little blue foil seal ("Try it free"), on the right edge of the porthole, with a slow light glint */
.page-home .bt-viz-seal {
  position: absolute; right: -46px; bottom: 34px; width: 94px; height: 94px; z-index: 3;
  filter: drop-shadow(0 5px 10px rgba(15,35,75,.35));
}
.page-home .bt-viz-seal-teeth {   /* the scalloped silver foil edge */
  position: absolute; inset: 0; overflow: hidden;
  clip-path: polygon(50.00% 0.00%,55.94% 4.89%,62.94% 1.70%,67.41% 7.96%,75.00% 6.70%,77.70% 13.90%,85.36% 14.64%,86.10% 22.30%,93.30% 25.00%,92.04% 32.59%,98.30% 37.06%,95.11% 44.06%,100.00% 50.00%,95.11% 55.94%,98.30% 62.94%,92.04% 67.41%,93.30% 75.00%,86.10% 77.70%,85.36% 85.36%,77.70% 86.10%,75.00% 93.30%,67.41% 92.04%,62.94% 98.30%,55.94% 95.11%,50.00% 100.00%,44.06% 95.11%,37.06% 98.30%,32.59% 92.04%,25.00% 93.30%,22.30% 86.10%,14.64% 85.36%,13.90% 77.70%,6.70% 75.00%,7.96% 67.41%,1.70% 62.94%,4.89% 55.94%,0.00% 50.00%,4.89% 44.06%,1.70% 37.06%,7.96% 32.59%,6.70% 25.00%,13.90% 22.30%,14.64% 14.64%,22.30% 13.90%,25.00% 6.70%,32.59% 7.96%,37.06% 1.70%,44.06% 4.89%);
  background: repeating-conic-gradient(from -3.75deg, #fbfbfc 0 7.5deg, #b4bac2 7.5deg 15deg);
}
.page-home .bt-viz-seal-glint {
  position: absolute; inset: -10%;
  background: conic-gradient(from 0deg, rgba(255,255,255,0) 0 290deg, rgba(255,255,255,.95) 325deg, rgba(255,255,255,0) 360deg);
  animation: bt-viz-spin 7s linear infinite;
}
.page-home .bt-viz-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }

@keyframes bt-viz-wipe { 0%, 12% { clip-path: inset(0 100% 0 0); } 45%, 70% { clip-path: inset(0 0 0 0); } 92%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes bt-viz-bar { 0%, 12% { left: 0; opacity: 0; } 16% { opacity: 1; } 45% { left: 100%; opacity: 1; } 48%, 70% { left: 100%; opacity: 0; } 72% { opacity: 1; } 92% { left: 0; opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes bt-viz-label-before { 0%, 30% { opacity: 1; } 36%, 84% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes bt-viz-label-after { 0%, 30% { opacity: 0; } 36%, 84% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes bt-viz-spin { to { transform: rotate(360deg); } }
@keyframes bt-viz-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* phones: porthole on top, text centred under it */
@media (max-width: 767px) {
  .page-home .bt-viz-wrap { margin: 1.6em auto 1.8em; }
  .page-home .bt-viz { flex-direction: column; text-align: center; gap: 18px; }
  .page-home .bt-viz-port { order: -1; flex-basis: auto; width: 196px; height: 196px; }
  .page-home .bt-viz-side { align-items: center; }
  .page-home .bt-viz-title { font-size: 25px; }
  .page-home .bt-viz-bubble { left: -62px; top: -18px; width: 150px; }   /* MIKE (Oct 3): was left -70px, width 136px; widened so "Free · Takes seconds" fits inside */
  .page-home .bt-viz-bubble-small { font-size: 9px; letter-spacing: .07em; }   /* MIKE (Oct 3): was 9.5px, .12em */
  .page-home .bt-viz-bubble-line { font-size: 15.5px; }
  .page-home .bt-viz-seal { right: -44px; bottom: 30px; width: 86px; height: 86px; }
}

/* reduced motion: nothing moves; the window shows half before / half after with both labels */
@media (prefers-reduced-motion: reduce) {
  .page-home .bt-viz-wrap *,
  .page-home .bt-viz-wrap *::before,
  .page-home .bt-viz-wrap *::after { animation: none !important; transition: none !important; }
  .page-home .bt-viz-after { clip-path: inset(0 0 0 50%); }
  .page-home .bt-viz-bar { left: 50%; }
  .page-home .bt-viz-label.is-before { left: 28%; }
  .page-home .bt-viz-label.is-after { left: 70%; }
}

/* ---------------------------------------------------------------------
   15. MIKE: NEW HERO BACKGROUNDS (Oct 3, 2026)
   New photos behind the big hero at the top of Bathrooms, Curbless, Slabs, Fireplaces,
   Design/Mosaic and Contact. Computers get a wide photo (images/hero-<page>-wide.jpg);
   phones get a tall portrait photo (images/hero-<page>-phone.jpg).
   Home page: the computer hero is unchanged; phones get the tall chandelier bathroom.
   Oct 3 evening update: new approved Fireplaces photo (opal blue-grey marble fireplace, lake windows),
   new approved home phone photo
   (glass mosaic bath, LED cove tray ceiling, ring chandelier), and Bathrooms now has its own phone file
   (hero-bathrooms-phone.jpg, same picture as home for now, so it can be swapped on its own later).
   Each page is picked by the page-... class on its <html> line.
   To undo one page, delete its lines below (its old photo comes back from its style*.css):
     Bathrooms  was bnr5.jpg / bnrMobileBathroom.jpg      Curbless  was bnr.jpg / bnrMobile.jpg
     Slabs      was bnr.jpg / bnrMobile.jpg               Fireplaces was bnrFire.jpg / bnrFireWeb.jpg
     Mosaic     was designBNG.jpg / bnrMobileMosaic.jpg   Contact   was bnr.jpg / bnrMobile.jpg
     Home phone was bnrMobile.jpg
   --------------------------------------------------------------------- */
@media (min-width: 768px) {
  .page-bathrooms  .banner { background-image: url(../images/hero-bathrooms-wide.jpg); }
  .page-curbless   .banner { background-image: url(../images/hero-curbless-wide.jpg); }
  .page-slabs      .banner { background-image: url(../images/hero-slabs-wide.jpg); }
  .page-fireplaces .banner { background-image: url(../images/hero-fireplaces-wide.jpg); }
  .page-mosaic     .banner { background-image: url(../images/hero-mosaic-wide.jpg); }
  .page-contact    .banner { background-image: url(../images/hero-contact-wide.jpg); }
  :is(.page-bathrooms, .page-curbless, .page-slabs, .page-fireplaces, .page-mosaic, .page-contact) .banner {
    background-size: cover; background-position: center center; background-repeat: no-repeat;
  }
}
/* MIKE: FIREPLACES HERO ON COMPUTERS AND TABLETS (final opal fireplace photo v4, approved by Mike Oct 3 2026, 7:42 PM).
   Mike's exact photo (opal marble fireplace, lake windows, wood stack, chair, wood floor), only scaled up
   to 1920x1080 for the web: no edits, no added parts. If you swap the photo, keep the fire at about the same
   height (flames about 62-70% down the photo) or adjust the numbers below.
   Oct 3, 7:45 PM: zoomed out (Mike prefers the wider view: more windows, lake and chair). The photo is only
   a little bigger than the hero, lined up from the top, so it always covers the hero with no empty bands.
   The flames now sit in the lower part of the see-through hero text box (still visible through it,
   around the "Call for a free quote" button). The box ends about 800px down on computers and about
   860-905px on tablets; the hero is 1000px tall. Top of the photo (ceiling strip, pot light) shows;
   only a thin strip of floor is cut at the bottom.
   To zoom in again (flames peeking below the box): computers auto max(1210px, 56.25vw) with
   30% calc(764px - 0.6319 * max(1210px, 56.25vw)); tablets auto 1296px; 992-1023px auto 1354px.
   "30%" keeps the fireplace (left part of the photo) in view on narrow screens.
   Big screens (1200px and wider): photo 1100px tall, flames about 680-780px down. On extra-wide screens
   (wider than 1955px) the photo grows with the screen and the calc() keeps the flames at the same spot. */
@media (min-width: 1200px) {
  .page-fireplaces .banner {
    background-size: auto max(1100px, 56.25vw);
    background-position: 30% calc(682px - 0.6208 * max(1100px, 56.25vw));
  }
}
/* tablets (768-1199px): photo 1150px tall, flames about 715-815px down (inside the bottom of the text box) */
@media (min-width: 768px) and (max-width: 1199px) {
  .page-fireplaces .banner { background-size: auto 1150px; background-position: 30% top; }
}
/* 992-1023px: the text box is a little taller there (ends about 905px down): photo 1200px tall, flames about 745-850px down */
@media (min-width: 992px) and (max-width: 1023px) {
  .page-fireplaces .banner { background-size: auto 1200px; }
}
@media (max-width: 767px) {
  /* a soft dark shade over the lower part of the photo so the white hero text stays easy to read */
  .page-home       .banner { background-image: linear-gradient(180deg, rgba(12,22,38,.10) 0%, rgba(12,22,38,0) 30%, rgba(12,22,38,.35) 55%, rgba(12,22,38,.62) 100%), url(../images/hero-home-phone.jpg); }
  .page-bathrooms  .banner { background-image: linear-gradient(180deg, rgba(12,22,38,.10) 0%, rgba(12,22,38,0) 30%, rgba(12,22,38,.35) 55%, rgba(12,22,38,.62) 100%), url(../images/hero-bathrooms-phone.jpg); }
  .page-curbless   .banner { background-image: linear-gradient(180deg, rgba(12,22,38,.10) 0%, rgba(12,22,38,0) 30%, rgba(12,22,38,.35) 55%, rgba(12,22,38,.62) 100%), url(../images/hero-curbless-phone.jpg); }
  .page-slabs      .banner { background-image: linear-gradient(180deg, rgba(12,22,38,.10) 0%, rgba(12,22,38,0) 30%, rgba(12,22,38,.35) 55%, rgba(12,22,38,.62) 100%), url(../images/hero-slabs-phone.jpg); }
  .page-fireplaces .banner { background-image: linear-gradient(180deg, rgba(12,22,38,.10) 0%, rgba(12,22,38,0) 30%, rgba(12,22,38,.30) 60%, rgba(12,22,38,.55) 100%), url(../images/hero-fireplaces-phone.jpg); }
  .page-mosaic     .banner { background-image: linear-gradient(180deg, rgba(12,22,38,.10) 0%, rgba(12,22,38,0) 30%, rgba(12,22,38,.35) 55%, rgba(12,22,38,.62) 100%), url(../images/hero-mosaic-phone.jpg); }
  .page-contact    .banner { background-image: linear-gradient(180deg, rgba(12,22,38,.10) 0%, rgba(12,22,38,0) 30%, rgba(12,22,38,.35) 55%, rgba(12,22,38,.62) 100%), url(../images/hero-contact-phone.jpg); }
  :is(.page-home, .page-bathrooms, .page-curbless, .page-slabs, .page-fireplaces, .page-mosaic, .page-contact) .banner {
    background-color: #142238; background-repeat: no-repeat;
  }
  /* fireplace photo on phones: a real ceiling-to-floor crop of the photo (fireplace wall, hearth and the
     lake window on the right), shown full width from the top, so the flames sit about 400-440px down
     (390px phone), between the logo and the text box. The photo ends under the text box; the dark shade
     fades it into the hero colour there, so nothing is stretched or filled in.
     (!important is needed to beat the phone photo rule in section 12) */
  .page-fireplaces .banner {
    background-image:
      linear-gradient(180deg, rgba(12,22,38,.10) 0%, rgba(12,22,38,0) calc(163.6vw * .30),
                      rgba(20,34,56,.45) calc(163.6vw * .80), #142238 calc(163.6vw - 2px)),
      url(../images/hero-fireplaces-phone.jpg);
    background-size: 100% 100%, 100% auto !important;
    background-position: center top, center top !important;
  }
}

/* ---------------------------------------------------------------------
   16. MIKE: PHONE FIXES (Oct 3, 2026). Phones only (767px wide and smaller),
   except the feature tags, which show on every screen size. Delete a block to undo it.
   (The visualizer bubble fix is in section 14's phone block.)
   --------------------------------------------------------------------- */

/* a) floating "Call for a free quote" button (bottom left): hidden while the hero is on screen
      (the hero has its own call button), slides in once you scroll past the hero.
      js/mike-fixes.js adds the mt-callbtn-wait / mt-past-hero classes. */
.mt-callbtn-wait .mobile-call-btn {
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.mt-callbtn-wait.mt-past-hero .mobile-call-btn {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
}

/* b) "Special Features & Upgrades" on the Bathrooms and Curbless pages: shown as tags instead of one
      long line separated by ~. Linked tags are blue. */
.mt-features-title { margin-top: 1.4em; }
html ul.mt-feature-tags, html .welcm-left ul.mt-feature-tags {   /* html... so other list styles on the page don't indent the tags */
  list-style: none; margin: 12px 0 6px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.mt-feature-tags li {
  font: 600 13.5px/1.2 'MT Lato', 'Helvetica Neue', Arial, sans-serif; letter-spacing: .01em;
  color: #3d4148; padding: 9px 12px; border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #e6e9ed 100%);
  border: 1px solid #c9cdd3; box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.mt-feature-tags li:has(a) { border-color: #9fbbe0; }
.mt-feature-tags li a, .mt-feature-tags li a.mt-inlink { color: #2463b3; text-decoration: none; border: 0; }
.mt-feature-tags li a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  /* c) Contact section: phone, address and email were 12px; now 16px, icons bigger to match */
  .contact-grid p, .contact-grid p a, .contact-grid p span { font-size: 16px; line-height: 1.5; }
  .icons-new .contact-grid .mt-ico { font-size: 30px; }

  /* d) section headings all the same size on phones (some were 27px, some 19px, some 26px).
        Hero headings, the visualizer box and the bathroom-remodeler page are not touched. */
  html:not(.btr-page) :is(.welcm-left, .welcm-right, .services, .gallery-info, .contact, .slab-cta) :is(h2, h3):not(.btr-section-title),
  html:not(.btr-page) .services h2.h3 {
    font-size: 26px; line-height: 1.15;
  }
  /* the intro lines under headings (were 16-18px) */
  html:not(.btr-page) :is(.welcm-left, .welcm-right, .gallery-info) h4 { font-size: 17px; line-height: 1.45; }

  /* e) service cards: less empty space so each card is shorter (was about 400px tall) */
  .frames .service-box, .service-box { padding: 18px 14px 18px; margin-bottom: 16px; }
  .service-box .icon { width: 72px; height: 72px; margin: 0 auto 10px; }
  .icons-new .service-box .mt-ico { font-size: 34px; top: 19px; }
  .service-box h5 { margin: 0.4em 0 0.35em; }
  .service-box > br { display: none; }
  .service-box .containerClick a { margin-top: 12px; }
}

/* ---------------------------------------------------------------------
   17. MIKE: CORNER AVATAR WIDGET — Style C (Oct 5, 2026)
   Site-wide on main pages (index, service pages, contact, CreativeTilingIdeas);
   NOT on bathroom-remodeler.html. Markup sits just before the sticky phone Call button. Full-body transparent PNG of Mike + dark graphite talk
   bubble with a blue left accent and blue Call CTA. The whole widget is one
   tap-to-call link (tel:+12893371578).
   Design locked to Style C from corner-preview.html — do not invent a new look.
   Images: images/mike-corner-avatar-1.png … -4.png (progressive big-head cutouts;
   JS advances 1→2→3→4 each appearance, then stays on 4).
   Stage 4 gets .stage-4 on the widget so the avatar is ~135% taller/wider.
   Facing: new shots already look toward viewer-right — NO scaleX flip.
   Oct 5 mid-morning: smaller widget; brighter/bigger bubble type (still Style C).
   Timing (js/mike-fixes.js): first show at 7s after load, visible 11s, then
   every 30s from each appearance start (show 11s / hidden 19s). Classes: .is-off
   (hidden), .is-on (visible + enter anims), .is-hiding (fade out).
   Animation while on: Mike slides up first, bubble pops ~0.65s later; gentle idle
   bob on the avatar only. prefers-reduced-motion: same show/hide schedule, no
   enter/bob animations (static while visible).
   z-index 9000: above page content and the back-to-top button (999), below the
   sticky .mobile-call-btn (9999) so the left Call bar stays clickable on phones.
   On phones the bubble stacks above Mike on the RIGHT; the sticky Call stays
   bottom-LEFT — we do NOT stretch the widget across the screen (no left:…),
   and pointer-events are off on empty flex space so taps still reach the Call button.
   To undo: delete this section and the corner-widget block from index.html,
   and remove images/mike-corner-avatar*.png.
   --------------------------------------------------------------------- */
.corner-widget {
  --cw-graphite: #2b2e33;
  --cw-graphite-2: #3d4148;
  --cw-blue: #1d4ed8;
  --cw-blue-hover: #1e40af;
  --cw-text: #f3f4f6;
  --cw-muted: #d5dae2; /* MIKE: brighter role text */
  position: fixed;
  right: 12px;
  bottom: 0;
  z-index: 9000;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  /* MIKE: empty flex space must not steal taps from .mobile-call-btn (bottom-left on phones) */
  pointer-events: none;
  /* MIKE: hidden until JS adds .is-on (first appear at 7s) */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.corner-widget.is-on {
  opacity: 1;
  visibility: visible;
}
.corner-widget.is-hiding {
  opacity: 0;
  visibility: hidden;
}
/* clickable only while fully shown */
.corner-widget.is-on:not(.is-hiding) .bubble,
.corner-widget.is-on:not(.is-hiding) .avatar { pointer-events: auto; }
.corner-widget:focus-visible {
  outline: 2px solid var(--cw-blue);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Bubble — Style C: dark graphites, blue left accent, CTA */
.corner-widget .bubble {
  position: relative;
  width: min(210px, 62vw); /* MIKE: smaller bubble */
  background: linear-gradient(165deg, var(--cw-graphite-2) 0%, var(--cw-graphite) 100%);
  border-radius: 12px;
  padding: 10px 12px 10px 14px; /* MIKE: tighter */
  box-shadow:
    0 10px 28px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06);
  border-left: 4px solid var(--cw-blue);
  margin-bottom: 64px; /* sit mid-torso beside smaller avatar */
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transform-origin: bottom right;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.corner-widget.is-on .bubble {
  animation: cw-bubble-enter 520ms cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}
.corner-widget .bubble::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 28px;
  width: 12px;
  height: 12px;
  background: var(--cw-graphite);
  transform: rotate(45deg);
  box-shadow: 2px -2px 0 rgba(255,255,255,0.04);
  border-radius: 2px;
}
.corner-widget .bubble-title {
  margin: 0 0 3px;
  font-size: 1.18rem !important; /* MIKE: bigger + bright (beats #gallery p) */
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: 0.01em;
}
.corner-widget .bubble-role {
  margin: 0 0 8px;
  font-size: 0.9rem !important; /* MIKE: bigger + brighter */
  color: var(--cw-muted) !important;
  font-weight: 600;
}
.corner-widget .bubble-body {
  margin: 0 0 10px;
  font-size: 1.02rem !important; /* MIKE: bigger + brighter */
  color: #f8fafc !important;
  line-height: 1.35;
  font-weight: 500;
}
.corner-widget .bubble-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--cw-blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem !important; /* MIKE: bigger CTA type */
  padding: 9px 10px;
  border-radius: 9px;
  border: none;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
}
.corner-widget:hover .bubble-cta,
.corner-widget:focus-visible .bubble-cta {
  background: var(--cw-blue-hover);
}

/* Full-body avatar — not circle */
.corner-widget .avatar {
  width: min(118px, 26vw); /* MIKE: smaller avatar */
  flex-shrink: 0;
  line-height: 0;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.5));
  transform-origin: bottom center;
  opacity: 0;
  transform: translateY(40px);
}
/* MIKE: stage 4 (biggest head) displays taller — ~135% of stages 1–3 width */
.corner-widget.stage-4 .avatar {
  width: min(160px, 34vw);
}
.corner-widget.is-on .avatar {
  animation:
    cw-avatar-enter 700ms cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards,
    cw-avatar-bob 3.2s ease-in-out 0.85s infinite;
}
.corner-widget .avatar img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  /* MIKE: no scaleX flip — grow-stage shots already face viewer-right */
}

@keyframes cw-avatar-enter {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cw-avatar-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes cw-bubble-enter {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Narrow phones: bubble LEFT of Mike (same row as desktop), widget stays bottom-right.
   MIKE (Oct 5, 1:04 PM): whole mobile widget ~22% smaller (avatar + bubble + type + CTA).
   MIKE (Oct 5, 1:06 PM): no more stack-above — row = bubble | avatar. Bubble lifted with
   margin-bottom so it clears the sticky Call bar (bottom-left). Stage 4 still taller. */
@media (max-width: 560px) {
  .corner-widget {
    right: 6px;
    /* MIKE: no left: — Call button stays bottom-left; row keeps avatar on the right */
    flex-direction: row; /* bubble | avatar (was column / bubble above) */
    align-items: flex-end;
    gap: 4px;
  }
  .corner-widget .bubble {
    /* lift beside mid-torso; clears .mobile-call-btn at the bottom */
    margin-bottom: 72px;
    width: min(170px, calc(100vw - 200px)); /* room for Call on the left + avatar on the right */
    padding: 8px 9px 8px 11px;
    border-radius: 10px;
    border-left-width: 3px;
  }
  .corner-widget.stage-4 .bubble {
    margin-bottom: 96px; /* taller stage-4 body — keep bubble mid-torso */
  }
  .corner-widget .bubble::after {
    /* caret points RIGHT toward Mike (side), not down */
    right: -5px;
    bottom: 22px;
    width: 10px;
    height: 10px;
    box-shadow: 2px -2px 0 rgba(255,255,255,0.04);
  }
  .corner-widget .bubble-title {
    font-size: 0.92rem !important; /* was 1.18rem */
    margin: 0 0 2px;
  }
  .corner-widget .bubble-role {
    font-size: 0.7rem !important; /* was 0.9rem */
    margin: 0 0 6px;
  }
  .corner-widget .bubble-body {
    font-size: 0.8rem !important; /* was 1.02rem */
    margin: 0 0 8px;
  }
  .corner-widget .bubble-cta {
    font-size: 0.8rem !important; /* was 1.02rem */
    padding: 7px 8px; /* was 9/10 */
    border-radius: 8px;
  }
  .corner-widget .avatar {
    width: min(78px, 24vw); /* was 100px — ~22% smaller */
  }
  .corner-widget.stage-4 .avatar {
    width: min(105px, 32vw); /* was 135; ~135% of 78 so stage 4 still taller */
  }
}

@media (prefers-reduced-motion: reduce) {
  /* MIKE: keep the 7s / 11s / 30s show-hide schedule; skip enter + bob */
  .corner-widget,
  .corner-widget.is-on,
  .corner-widget.is-hiding {
    transition: none;
  }
  .corner-widget.is-on .avatar {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .corner-widget.is-on .bubble {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .corner-widget.is-on .bubble {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------
   MENU WITH 9 ITEMS (ACADEMY added). Laptop widths only; phones (drop-down) unchanged.
   MIKE: Oct 18, 2026: tighter menu spacing so the new ACADEMY link fits on one line.
   --------------------------------------------------------------------- */
@media (min-width: 1191px) and (max-width: 1365px) {
  :is(.font-a, .font-b, .font-c) .top-menu ul li a { margin: 0 6px; }
  .font-a .top-menu ul li a { font-size: 15px; letter-spacing: 0.06em; }
}
@media (min-width: 1366px) and (max-width: 1599px) {
  :is(.font-a, .font-b, .font-c) .top-menu ul li a { margin: 0 9px; }
}
/* MIKE: Oct 18, 2026: Visualizer page only. remodeler.css sets its own (wider) menu spacing,
   which pushed the 9-item menu past the screen edge at 1191-1365 px. Same tighter spacing as above. */
@media (min-width: 1191px) and (max-width: 1365px) {
  html.btr-page.font-a .top-menu ul li a { margin: 0 6px; font-size: 15px; letter-spacing: 0.06em; }
}

/* ---------------------------------------------------------------------
   MIKE: Oct 18, 2026: SEAMLESS SWEEP
   --------------------------------------------------------------------- */
/* MIKE: Home page Visualizer feature. On tablets and small laptops (about 768-1240 px) the round
   "Try it free" seal stuck out past the right edge of the screen and made the page scroll sideways.
   This tucks the porthole in a little so the seal fits. The seal itself looks exactly the same. */
@media (min-width: 768px) and (max-width: 1240px) {
  .page-home .bt-viz-wrap { padding-right: 44px; box-sizing: border-box; }
}
/* MIKE: Footer. On most pages the footer sits inside the gallery box, so at about 1200-1240 px its
   fixed-width container poked ~16 px past the screen edge (sideways scroll). Keep it inside its box. */
.footer .container { max-width: 100%; box-sizing: border-box; }
/* MIKE: Contact strip (phone / address / email). On tablets and small laptops (768-1190 px) the old
   theme shrank it to 12px, smaller than on phones. Now 16px like phones and the Academy pages. */
@media (min-width: 768px) and (max-width: 1190px) {
  .contact-grid p, .contact-grid p a, .contact-grid p span { font-size: 16px; line-height: 1.5; }
}

/* ---------------------------------------------------------------------
   MENU WITH 10 ITEMS (COOL IDEAS added). Laptop/desktop widths only; phones (drop-down) unchanged.
   MIKE: Oct 21, 2026: tighter spacing so COOL IDEAS fits on one line. Delete this block to undo.
   --------------------------------------------------------------------- */
@media (min-width: 1191px) and (max-width: 1365px) {
  :is(.font-a, .font-b, .font-c) .top-menu ul li a,
  html.btr-page.font-a .top-menu ul li a { margin: 0 3px; font-size: 14px; letter-spacing: 0.04em; }
}
@media (min-width: 1366px) and (max-width: 1799px) {
  :is(.font-a, .font-b, .font-c) .top-menu ul li a { margin: 0 4px; }
  .font-a .top-menu ul li a { font-size: 15px; letter-spacing: 0.06em; }
}
@media (min-width: 1366px) and (max-width: 1599px) {
  html.btr-page.font-a .top-menu ul li a { margin: 0 4px; font-size: 15px; letter-spacing: 0.06em; }
}

/* MIKE: Oct 21, 2026: ACADEMY is the last menu item (after CONTACT) with the Academy crest beside it, site wide */
.top-menu ul li a.nav-acad{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.top-menu ul li a.nav-acad .nav-crest{width:20px;height:20px;flex:0 0 20px;display:block;transition:transform .2s ease,filter .2s ease}
.top-menu ul li a.nav-acad:hover .nav-crest,.top-menu ul li a.nav-acad:focus-visible .nav-crest,.top-menu ul li a.nav-acad[aria-current="page"] .nav-crest{transform:scale(1.12);filter:drop-shadow(0 0 3px rgba(255,255,255,.55))}

/* MIKE Nov 14 2026 (v=1114i phone chip): on phones (767px and under) show only a small
   tappable Call Mike avatar chip. The bubble stays collapsed until the chip is tapped,
   so it never covers page text or buttons on its own. Desktop (768px+) is unchanged.
   Contact phones still hide the widget entirely (see js/mike-fixes.js). */
@media (max-width: 767px){
  html.page-contact .corner-widget{display:none !important}
  .corner-widget{right:8px;bottom:0;gap:0;flex-direction:column;align-items:flex-end}
  .corner-widget .bubble{
    display:none;
    width:min(230px, calc(100vw - 24px));
    margin:0 0 10px;
    padding:10px 28px 10px 13px;
    border-radius:10px;
    border-left-width:3px;
    opacity:1;
    transform:none;
    animation:none !important;
    position:relative;
  }
  .corner-widget.is-open .bubble{display:block;pointer-events:auto}
  .corner-widget.stage-4 .bubble{margin-bottom:10px}
  .corner-widget .bubble-title{font-size:0.92rem !important;margin:0 0 2px}
  .corner-widget .bubble-role{font-size:0.7rem !important;margin:0 0 6px}
  .corner-widget .bubble-body{font-size:0.8rem !important;margin:0 0 8px}
  .corner-widget .bubble-cta{font-size:0.8rem !important;padding:7px 8px;border-radius:8px}
  .corner-widget .avatar,
  .corner-widget.stage-4 .avatar{width:56px;height:56px;overflow:hidden;flex-shrink:0;border-radius:50%;box-shadow:0 2px 10px rgba(0,0,0,.35)}
  .corner-widget .avatar img{width:100%;height:100%;object-fit:cover;object-position:top center}
  .corner-widget.is-on:not(.is-hiding) .avatar{opacity:1;pointer-events:auto}
  .corner-widget .bubble::after{right:-5px;bottom:18px;width:10px;height:10px}
  .corner-widget .bubble-close{
    display:block;
    position:absolute;
    top:4px;
    right:4px;
    width:28px;
    height:28px;
    border:0;
    background:transparent;
    color:#fff;
    font-size:22px;
    line-height:1;
    cursor:pointer;
    padding:0;
  }
}

/* v=1114i hide explore over hero: phones only. The Explore pill was sitting on the Creative (and other) hero titles together with the Call bar. Desktop is unchanged. */
@media (max-width: 767px) {
  html.mt-callbtn-wait:not(.mt-past-hero) .pl {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  html.mt-callbtn-wait.mt-past-hero .pl {
    opacity: 1;
    visibility: visible;
  }
}

/* v=1114i contact form clear call bar: phones only. Let the last fields scroll above the sticky Call bar. Desktop unchanged. */
@media (max-width: 767px) {
  html.page-contact form,
  html.page-contact .contact-form,
  html.page-contact .contact { padding-bottom: 96px; }
}
