/* Calgary Window Compare — stylesheet (presentation only) */
:root {
  --navy-deep: #0C1B2A;
  --ink: #14283B;
  --ink-soft: #3A5064;
  --bg: #EEF3F6;
  --paper: #FFFFFF;
  --frost: #E2EBF1;
  --frost-2: #F4F8FA;
  --line: #CBD7E0;
  --sky: #165D7A;
  --sky-bright: #3FA3C9;
  --brass: #8A5A06;
  --gold: #F2B632;
  --gold-soft: #FFF6DE;
  --focus: #0B5CAD;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(12, 27, 42, .06), 0 12px 32px -16px rgba(12, 27, 42, .28);
  --head: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.68;
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--sky); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
p, ul, ol, dl { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 50; background: var(--ink); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-family: var(--head); font-weight: 700;
}
.skip-link:focus { top: 0.75rem; }

h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -0.012em; }
h4 { font-size: 1.05rem; font-weight: 700; }
h5 { font-size: 1rem; font-weight: 700; margin-top: 1.2rem; }

/* ---------- Header ---------- */
.site-header { background: var(--navy-deep); color: #fff; position: relative; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand-mark { color: #fff; flex: none; }
.nav-list { list-style: none; margin: 0; padding: 0.25rem; display: flex; gap: 0.2rem; background: rgba(255,255,255,.08); border-radius: 999px; }
.nav-list li { margin: 0; }
.nav-list a { display: block; padding: 0.4rem 1rem; color: #DCE7EF; text-decoration: none; font-family: var(--head); font-weight: 500; border-radius: 999px; transition: background .15s, color .15s; }
.nav-list a:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-list a[aria-current="page"] { background: var(--gold); color: var(--navy-deep); font-weight: 700; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible { outline-color: var(--gold); }

.breadcrumb { padding-block: 0.9rem 0; font-family: var(--head); font-size: 0.9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--ink-soft); }
.breadcrumb [aria-current="page"] { color: var(--ink-soft); }

/* ---------- Hero (dark, window-pane grid) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(63,163,201,.28), transparent 70%),
    linear-gradient(180deg, var(--navy-deep), #162E45);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.07) 2px, transparent 2px),
    linear-gradient(to bottom, rgba(255,255,255,.07) 2px, transparent 2px);
  background-size: 200px 200px; background-position: -1px -1px;
}
.hero::after {
  /* one gold pane, as if a single window is lit */
  content: ""; position: absolute; width: 198px; height: 198px; right: calc(50% - 560px + 199px); top: 1px;
  background: linear-gradient(135deg, rgba(242,182,50,.55), rgba(242,182,50,.12)); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.hero h1 { color: #fff; max-width: 19ch; margin-bottom: 1.25rem; }
.hero .intro { color: #DCE7EF; }
.hero .intro a { color: var(--gold); }
.hero .intro a:hover { color: #fff; }
.intro { font-size: 1.15rem; max-width: 62ch; }
.hero-glance {
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--radius);
  border-top: 6px solid var(--gold); padding: 1rem 1.4rem 0.3rem; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6);
}
.hero-glance dl { margin: 0; }
.hero-glance dl div { padding-block: 0.65rem; border-bottom: 1px solid var(--line); }
.hero-glance dl div:last-child { border-bottom: 0; }
.hero-glance dt { font-family: var(--head); font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }
.hero-glance dd { margin: 0; font-family: var(--head); font-weight: 500; }

.page-hero {
  position: relative; overflow: hidden; color: #fff; margin-top: 0.9rem; border-radius: 0;
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
  background: linear-gradient(180deg, var(--navy-deep), #162E45);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.07) 2px, transparent 2px), linear-gradient(to bottom, rgba(255,255,255,.07) 2px, transparent 2px);
  background-size: 200px 200px;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero .intro { color: #DCE7EF; margin-bottom: 0; }
.page-hero a { color: var(--gold); }

/* ---------- Blocks ---------- */
.block { padding-block: clamp(1.75rem, 4vw, 2.75rem) 0.5rem; }
.block > h2 { position: relative; padding-top: 1rem; max-width: 40rem; }
.block > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 5px; background: var(--gold); border-radius: 3px; }
.block > p, .block > ul, .block > ol { max-width: 68ch; }
.plain-list li { margin-bottom: 0.5rem; }
.section-lede { max-width: 68ch; }
.footnote { font-family: var(--head); font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.25rem; max-width: 80ch; }
.disclosure {
  border-left: 5px solid var(--gold); background: var(--gold-soft); padding: 0.9rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; max-width: 68ch;
}

/* intro: methodology + publisher side by side */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; margin-top: -2.5rem; position: relative; z-index: 2; }
.intro-grid > .block { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 0; }
.intro-grid .block > h2 { padding-top: 0.9rem; }
.publisher-card { border-top: 6px solid var(--gold); }
.publisher-card > h2::before { display: none; }
.publisher-card > h2 { padding-top: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 2.7rem; margin-bottom: 0.95rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05rem; width: 1.9rem; height: 1.9rem;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  font-family: var(--head); font-weight: 700; font-size: 0.9rem; border-radius: 50%;
}

.stated-tag {
  display: inline-block; vertical-align: 0.08em; font-family: var(--head); font-size: 0.72rem; font-weight: 700;
  line-height: 1.35; color: #1B5E20; background: #E8F5E9; border: 1px solid #66BB6A;
  padding: 0 0.45rem; border-radius: 999px; white-space: nowrap; margin-left: 0.15rem;
}

/* ---------- Tables ---------- */
.table-wrap { position: relative; margin-bottom: 1rem; max-width: 100%; overflow-x: auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-family: var(--head); font-size: 0.96rem; }
caption { text-align: left; padding: 0.9rem 1.1rem; font-weight: 700; color: var(--ink-soft); font-size: 0.9rem; }
th, td { padding: 0.85rem 1.1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--ink); color: #fff; font-weight: 700; border-top: 0; white-space: nowrap; }
tbody th { font-weight: 700; }
.cmp-table tbody tr { transition: background .15s; }
.cmp-table tbody tr:hover { background: var(--frost-2); }
.cmp-table tbody tr:first-child, .cmp-table tbody tr:first-child:hover { background: var(--gold-soft); box-shadow: inset 6px 0 0 var(--gold); }
.cell-note { color: var(--ink-soft); font-size: 0.85rem; font-weight: 500; }
.cmp-table td:first-child { font-weight: 800; font-size: 1.1rem; }
.price-table { min-width: 420px; }
.price-table tbody tr:nth-child(even) { background: var(--frost-2); }

/* ---------- Company jump navigation ---------- */
.jump { margin: 1.25rem 0 0.5rem; }
.jump ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.jump li { margin: 0; }
.jump a {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 1rem 0.4rem 0.45rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none;
  font-family: var(--head); font-weight: 700; transition: border-color .15s, box-shadow .15s;
}
.jump a:hover { border-color: var(--ink); box-shadow: 0 6px 16px -10px rgba(12,27,42,.5); }
.jump-n { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.85rem; }
.jump li:first-child .jump-n { background: var(--gold); color: var(--navy-deep); }

/* ---------- Company cards ---------- */
.companies .company { margin-top: 2rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 0.5rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.company-top {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; align-items: start;
  padding: 1.5rem 1.75rem; background: var(--frost); border-bottom: 1px solid var(--line);
}
.company-position {
  margin: 0; display: grid; place-items: center; width: clamp(3rem, 6vw, 4.2rem); height: clamp(3rem, 6vw, 4.2rem);
  border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1;
}
.company-title h3 { margin-bottom: 0.45rem; }
.company-badge {
  display: inline-block; margin: 0 0 0.65rem; padding: 0.3rem 0.85rem; background: var(--navy-deep); color: #fff;
  font-family: var(--head); font-weight: 700; border-radius: 999px; font-size: 0.95rem;
}
.company-badge span { color: var(--gold); }
.company-tagline { font-style: italic; margin-bottom: 0.5rem; }
.best-for { margin: 0; font-size: 1rem; }
.scores { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: flex-end; }
.editorial-score, .google-snapshot { background: var(--paper); border-radius: var(--radius-sm); padding: 0.8rem 1.05rem; max-width: 15.5rem; }
.editorial-score { border: 2px solid var(--gold); box-shadow: 0 10px 24px -16px rgba(138,90,6,.7); }
.google-snapshot { border: 1px dashed var(--ink-soft); }
.editorial-score p, .google-snapshot p { margin: 0; font-family: var(--head); }
.score-value { font-size: 2.7rem; font-weight: 800; line-height: 1; }
.score-of { font-size: 1.1rem; color: var(--ink-soft); font-weight: 700; }
.score-label, .gs-label, .gs-source { font-size: 0.82rem; line-height: 1.35; color: var(--ink-soft); margin-top: 0.3rem !important; }
.gs-value { font-size: 1.85rem; font-weight: 800; line-height: 1; }
.gs-value span[aria-hidden] { color: var(--brass); }
.gs-label { color: var(--ink); font-weight: 700; }

.company-featured { border: 2px solid var(--gold); box-shadow: 0 24px 50px -26px rgba(138,90,6,.55); }
.company-featured .company-top { background: linear-gradient(135deg, var(--gold-soft), #FFEBB8); border-bottom-color: #E8CE8C; }
.company-featured .company-position { background: var(--gold); color: var(--navy-deep); }

.company-body { padding: 1.75rem; }
.company-body > p { max-width: 75ch; }
.trust-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 1.6rem; }
.trust-chips li {
  margin: 0; padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--frost); color: var(--ink);
  font-family: var(--head); font-weight: 700; font-size: 0.9rem; border: 1px solid #B9CAD6;
}
.company-cols > * { min-width: 0; }
.company-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 0.75rem; }
.company-cols > div { background: var(--frost-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem 0.4rem; }
.company-cols > div:last-child { background: var(--gold-soft); border-color: #E8CE8C; }
.facts { padding-left: 1.1rem; }
.checks li::marker { color: var(--brass); }
.highlight-strip {
  background: var(--ink); color: #fff; padding: 0.9rem 1.2rem; margin: 0.75rem 0 1.5rem;
  border-radius: var(--radius-sm); max-width: none; font-size: 1rem;
}
.sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin-bottom: 1.25rem; }
.sec { min-width: 0; padding-top: 1.1rem; border-top: 3px solid var(--frost); margin-bottom: 1.1rem; }
.sec > h4 { display: inline-block; padding-bottom: 0.2rem; border-bottom: 3px solid var(--gold); margin-bottom: 0.75rem; }
.sec-wide { grid-column: 1 / -1; }

/* Horizontal pair: customer reviews + window quality side by side */
.sec-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 2.5rem; }
.sec-row > .sec { flex: 1 1 320px; }

/* Horizontal scrolling review cards */
.rev-list { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; margin-bottom: 0.75rem; }
.rev-item { flex: 0 0 min(280px, 85%); scroll-snap-align: start; border: 1px solid var(--frost); border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; background: #fff; }
.rev-item summary { cursor: pointer; font-size: 0.95rem; line-height: 1.4; }
.rev-item[open] summary .rev-more { display: none; }
.rev-item p { font-size: 0.92rem; margin-top: 0.5rem; }
.sec ul { margin-bottom: 1rem; }

/* ---------- CTA ---------- */
.card-cta { margin: 1.25rem 0 0.5rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.8rem 1.4rem; border-radius: 999px;
  font-family: var(--head); font-weight: 700; text-decoration: none; border: 2px solid var(--ink);
  transition: background .15s, color .15s, transform .15s;
}
.btn .cta-arrow { transition: transform .15s; }
.btn:hover .cta-arrow { transform: translateX(3px); }
.btn-primary-cta { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 22px -12px rgba(138,90,6,.8); }
.btn-primary-cta:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-outline-cta { background: transparent; color: var(--ink); }
.btn-outline-cta:hover { background: var(--ink); color: #fff; }

.sources { margin-top: 1rem; font-family: var(--head); font-size: 0.92rem; background: var(--frost-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.4rem 1rem; }
.sources summary { cursor: pointer; font-weight: 700; padding: 0.35rem 0; }
.sources ul { margin-top: 0.5rem; }

/* ---------- Inner pages: panels ---------- */
.prose { padding-bottom: 2rem; max-width: 900px; margin-left: max(1.25rem, calc((100% - 1160px) / 2)); }
.prose > p { max-width: 68ch; margin-top: 1.5rem; }
.prose .block.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.3rem, 3vw, 2rem); margin-top: 1.5rem; }
.prose .panel > h2 { padding-top: 0.9rem; }
.prose .panel > p, .prose .panel > ul { max-width: 68ch; }
.prose .panel .faq-list { margin-bottom: 0; max-width: none; }

/* ---------- FAQ accordion: answers stay in the DOM ---------- */
.faq-list { max-width: 780px; margin-bottom: 1.5rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 0.6rem; padding-inline: 1.2rem; transition: border-color .15s, box-shadow .15s; }
.faq-item:hover { border-color: var(--ink-soft); }
.faq-item h3 { margin: 0; font-size: 1.08rem; }
.faq-trigger {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--ink);
  font: inherit; font-family: var(--head); font-weight: 700; padding: 1rem 2.6rem 1rem 0; position: relative; line-height: 1.3;
}
.faq-trigger::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--frost); font-size: 1.2rem; font-weight: 700; line-height: 1;
}
.faq-trigger[aria-expanded="true"]::after { content: "\2212"; background: var(--gold); }
.faq-answer { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.25s ease; }
.faq-answer > .inner { min-height: 0; overflow: hidden; padding-bottom: 1.1rem; opacity: 1; transition: opacity 0.25s ease, padding 0.25s ease; }
.faq-answer .inner p { margin: 0; }
html:not(.no-js) .faq-item[data-open="false"] .faq-answer { grid-template-rows: 0fr; }
html:not(.no-js) .faq-item[data-open="false"] .faq-answer > .inner { padding-bottom: 0; opacity: 0; }
.no-js .faq-trigger { cursor: default; }
.no-js .faq-trigger::after { content: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #D3DFE8; margin-top: 4rem; padding-block: 3rem; font-size: 0.97rem; border-top: 6px solid var(--gold); }
.site-footer a { color: #fff; }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1.6fr; gap: 2.5rem; }
.footer-brand { font-family: var(--head); font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; }
.footer-head { font-family: var(--head); font-weight: 700; color: var(--gold); margin-bottom: 0.5rem; }
.footer-list { list-style: none; padding: 0; }
.site-footer p { margin-bottom: 0.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) { .hero::after { display: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: -2rem; }
  .company-top { grid-template-columns: auto minmax(0, 1fr); }
  .scores { grid-column: 1 / -1; justify-content: flex-start; }
  .company-cols, .sections { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .prose { margin-inline: auto; width: min(900px, 100% - 2.5rem); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .company-body { padding: 1.1rem; }
  .company-top { padding: 1.1rem; gap: 1rem; }
  .editorial-score, .google-snapshot { max-width: none; flex: 1 1 100%; }
  .hero::before, .page-hero::before { background-size: 130px 130px; }
  .nav-list a { padding: 0.4rem 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Canadian Choice page ---------- */
.more-link { font-family: var(--head); font-weight: 700; }
.card-cta .btn + .btn { margin-left: 0.5rem; margin-top: 0.5rem; }
.card-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.card-cta .btn + .btn { margin: 0; }

.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: 1rem; }
.feature-grid > * { min-width: 0; margin: 0; }
.endorse { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 8px solid var(--gold); padding: clamp(1.3rem, 3vw, 2.1rem); }
.endorse blockquote { margin: 0 0 1.25rem; }
.endorse blockquote p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; margin: 0; }
.endorse-name { font-family: var(--head); font-weight: 800; font-size: 1.35rem; margin: 0; }
.endorse-role { font-family: var(--head); font-weight: 700; margin: 0.15rem 0 0.75rem; }
.endorse-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--paper); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { font-family: var(--head); font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.6rem; }
.video figcaption p { margin: 0; }
.feature .footnote { margin-top: 1rem; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 1.5rem 0 2rem; }
.review-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; display: flex; flex-direction: column; min-width: 0; }
.review-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.review-meta { font-family: var(--head); font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 0.9rem; }
.review-shot { margin: 0 0 0.9rem; }
.review-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.review-shot figcaption { font-family: var(--head); font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.35rem; }
.shot-empty { aspect-ratio: 4 / 3; display: grid; place-items: center; border: 2px dashed #9FB3C2; border-radius: var(--radius-sm); background: var(--frost-2); color: var(--ink-soft); font-family: var(--head); font-weight: 700; }
.review-text { margin: 0 0 0.9rem; padding: 0.7rem 1rem; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.review-text p { margin: 0; }
.review-text .is-empty { color: var(--ink-soft); font-family: var(--head); font-weight: 700; }
.review-source { margin: auto 0 0; font-family: var(--head); font-weight: 700; }
.review-source .pending { color: var(--ink-soft); border-bottom: 1px dashed var(--ink-soft); }

.tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 1.5rem; max-width: none; }
.tiles li { margin: 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 6px solid var(--gold); padding: 1.1rem 1.25rem 0.5rem; }
.tiles p { margin: 0 0 0.6rem; }
.tile-big { font-family: var(--head); font-weight: 800; font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.02em; }
.block h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.visit address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; line-height: 1.6; }
.block.visit > p, .block.visit > address { max-width: 68ch; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .review-grid, .tiles { grid-template-columns: minmax(0, 1fr); }
}
.block > .tiles { max-width: none; }
.block > .tiles li { max-width: none; }

/* ---------- Showroom: call button + map ---------- */
.location { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: stretch; margin: 0.5rem 0 1.5rem; padding: 1.25rem; background: var(--frost-2); border: 1px solid var(--line); border-radius: var(--radius); }
.location > * { min-width: 0; }
.location address { font-style: normal; margin-bottom: 1rem; line-height: 1.6; }
.call-row { margin-bottom: 0.75rem; }
.btn-call { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; font-size: 1.05rem; }
.btn-call:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.call-icon { flex: none; }
.location-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.map-frame { position: relative; min-height: 300px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--frost); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .location { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
  .map-frame { min-height: 280px; }
}

.hours { margin: 0 0 1rem; font-family: var(--head); }
.hours div { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; padding: 0.6rem 0.9rem; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius-sm); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; font-weight: 500; }

/* ---------- Structure: bands, sticky page navigation ---------- */
.page-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.page-nav ul { list-style: none; margin: 0 auto; padding: 0.5rem 0; display: flex; gap: 0.35rem; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.page-nav li { margin: 0; }
.page-nav a { display: block; padding: 0.4rem 0.95rem; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 0.94rem; color: var(--ink); text-decoration: none; transition: background .15s, color .15s; }
.page-nav a:hover { background: var(--ink); color: #fff; }

.band { padding-block: 0.5rem 2.75rem; }
.band-intro { padding-top: 0; }
.band-rank { background: var(--paper); border-block: 1px solid var(--line); }
.band-table { background: var(--bg); }
.band-companies { background: #E3EBF1; border-block: 1px solid var(--line); }
.band-faq { background: var(--paper); border-top: 1px solid var(--line); padding-bottom: 1.5rem; }
.band .block { padding-top: clamp(1.75rem, 4vw, 2.5rem); }
.band .block > h2 { max-width: none; }
.band-faq .faq-item { background: var(--frost-2); }
.companies .company:first-of-type { margin-top: 1.5rem; }

/* ---------- How we rank: five columns ---------- */
.rank-grid { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.rank-col { margin: 0; display: flex; flex-direction: column; background: var(--frost-2); border: 1px solid var(--line); border-top: 5px solid var(--ink); border-radius: var(--radius); padding: 1.15rem 1.1rem 0.5rem; min-width: 0; }
.rank-col h3 { font-size: 1.15rem; margin: 0.6rem 0 0.5rem; }
.rank-col p { font-size: 0.95rem; line-height: 1.55; margin: 0 0 0.8rem; }
.rank-col .rank-num { margin: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 800; font-size: 0.95rem; }
.rank-col-star { background: var(--gold-soft); border-color: #E8CE8C; border-top-color: var(--gold); }
.rank-col-star .rank-num { background: var(--gold); color: var(--navy-deep); }
.rank-stars { font-size: 1.5rem !important; letter-spacing: 0.1em; color: var(--gold); text-shadow: 0 1px 0 rgba(138,90,6,.55); margin: 0 0 0.4rem !important; line-height: 1; }
.rank-link { margin-top: auto !important; font-family: var(--head); font-weight: 700; }

/* Linked company name in card #1 */
.company-title h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 4px; text-underline-offset: 0.18em; }
.company-title h3 a:hover { color: var(--sky); }

@media (max-width: 1100px) { .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rank-col-star { grid-column: 1 / -1; } }
@media (max-width: 600px) { .rank-grid { grid-template-columns: minmax(0, 1fr); } .page-nav a { padding: 0.4rem 0.75rem; } }
.block > .rank-grid { max-width: none; }
.rank-col { max-width: none; }

/* ---------- Video preview (opens YouTube in a new window) ---------- */
.video-link { position: relative; display: block; border: 8px solid var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-deep); line-height: 0; }
.video-link img { display: block; width: 100%; height: auto; transition: transform .35s ease, filter .2s; }
.video-link:hover img { transform: scale(1.03); filter: brightness(.92); }
.play-btn { position: absolute; left: 50%; top: 50%; width: clamp(56px, 11%, 84px); transform: translate(-50%, -50%); filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); transition: transform .2s; line-height: 0; }
.play-btn svg { width: 100%; height: auto; display: block; }
.video-link:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-link:focus-visible { outline-offset: 4px; }

.brand-name { letter-spacing: -0.02em; font-size: 1.3rem; }
.brand-sub { color: var(--gold); }

.answer { font-size: 1.12rem; background: var(--gold-soft); border-left: 5px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 0.9rem 1.2rem; max-width: 75ch; }
.sec h5 { margin-top: 0.25rem; font-size: 1.05rem; }
.price-caveat { font-size: 0.95rem; color: var(--ink-soft); }
.answer { margin-bottom: 1.5rem; }

/* ---------- Google-style reviews carousel ---------- */
.g-reviews { margin: 1.5rem 0 2rem; max-width: none; }
.g-summary { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.4rem; margin-bottom: 1rem; box-shadow: var(--shadow); font-family: var(--head); }
.g-summary p { margin: 0; }
.g-score { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.g-summary-text { margin-right: auto; }
.g-stars { color: #FBBC04; letter-spacing: 0.08em; font-size: 1.1rem; line-height: 1; white-space: nowrap; }
.g-stars-big { font-size: 1.4rem; margin-bottom: 0.2rem !important; }
.g-count { font-weight: 700; }
.g-src { font-size: 0.82rem; color: var(--ink-soft); }

.g-track-wrap { position: relative; }
.g-track { list-style: none; margin: 0; padding: 0.25rem 0.1rem 1rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; max-width: none; }
.g-card { flex: 0 0 min(340px, 84%); scroll-snap-align: start; margin: 0; background: var(--paper); border: 1px solid #DADCE0; border-radius: 12px; padding: 1.1rem 1.2rem 1rem; font-family: var(--head); display: flex; }
.g-card article { display: flex; flex-direction: column; width: 100%; min-width: 0; }
.g-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem; }
.g-avatar { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 500; font-size: 1.25rem; }
.g-name { margin: 0; font-weight: 500; font-size: 1.05rem; color: #202124; line-height: 1.2; }
.g-sub { margin: 0.1rem 0 0; font-size: 0.85rem; color: #70757A; }
.g-rating { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.6rem; }
.g-badge { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; border: 1px solid #DADCE0; border-radius: 4px; padding: 0.1rem 0.45rem; color: #3C4043; }
.g-text { margin: 0 0 0.8rem; padding: 0; border: 0; background: none; font-family: var(--head); }
.g-text p { margin: 0; font-size: 0.97rem; line-height: 1.55; color: #202124; }
.g-link { margin: auto 0 0; font-size: 0.92rem; font-weight: 500; }
.g-link a { color: #1A73E8; text-decoration: none; }
.g-link a:hover { text-decoration: underline; }

.g-nav { position: absolute; top: 42%; z-index: 3; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px -4px rgba(12,27,42,.4); display: none; place-items: center; }
.g-nav:hover { background: var(--ink); color: #fff; }
.g-nav:disabled { opacity: .35; cursor: default; }
.g-nav:disabled:hover { background: var(--paper); color: var(--ink); }
.g-prev { left: -0.9rem; } .g-next { right: -0.9rem; }
.g-reviews.has-scroll .g-nav { display: grid; }
@media (max-width: 900px) { .g-prev { left: 0.2rem; } .g-next { right: 0.2rem; } }
.g-text p + p { margin-top: 0.6rem; }
.g-extras { margin: 0 0 0.9rem; font-size: 0.9rem; color: #3C4043; }
.g-extras div { margin-bottom: 0.35rem; }
.g-extras dt { font-weight: 700; display: inline; }
.g-extras dt::after { content: ": "; }
.g-extras dd { display: inline; margin: 0; }
.g-track { position: relative; }

/* ---------- Green accents: #1 place and stated tags ---------- */
.company-featured { border-color: #43A047; box-shadow: 0 24px 50px -26px rgba(27,94,32,.55); }
.company-featured .company-top { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); border-bottom-color: #A5D6A7; }
.company-featured .company-position { background: #2E7D32; color: #fff; }
.company-badge { background: #2E7D32; }
.company-badge span { color: #C8E6C9; }
.rank-col-star { background: #E8F5E9; border-color: #A5D6A7; border-top-color: #2E7D32; }
.rank-col-star .rank-num { background: #2E7D32; color: #fff; }
.rank-stars { color: #2E7D32; text-shadow: 0 1px 0 rgba(27,94,32,.35); }
.jump li:first-child .jump-n { background: #2E7D32; color: #fff; }
.cmp-table tbody tr:first-child, .cmp-table tbody tr:first-child:hover { background: #E8F5E9; box-shadow: inset 6px 0 0 #2E7D32; }
.stated-tag { color: #1B5E20; background: #E8F5E9; border-color: #66BB6A; }

/* ---------- Canadian Choice card: green accents on every block ---------- */
#company-1 .sec { border-top-color: #43A047; }
#company-1 .sec > h4 { border-bottom-color: #2E7D32; color: #1B5E20; }
#company-1 .sec h5 { color: #1B5E20; }
#company-1 .company-cols > div { background: #F1F8F1; border-color: #A5D6A7; }
#company-1 .company-cols > div:last-child { background: #E8F5E9; border-color: #66BB6A; }
#company-1 .company-cols h4 { color: #1B5E20; }
#company-1 .facts li::marker { color: #2E7D32; }
#company-1 .trust-chips li { background: #E8F5E9; color: #1B5E20; border-color: #66BB6A; }
#company-1 .answer { background: #E8F5E9; border-left-color: #2E7D32; }
#company-1 .price-table th { background: #E8F5E9; color: #1B5E20; }
#company-1 .price-table tbody tr:nth-child(even) { background: #F1F8F1; }
#company-1 .google-snapshot { background: #F1F8F1; border-color: #A5D6A7; }
#company-1 .gs-value, #company-1 .gs-label { color: #1B5E20; }
#company-1 .rev-item { border-color: #A5D6A7; background: #F9FDF9; }
#company-1 .rev-item[open] { border-color: #43A047; }
#company-1 .more-link a, #company-1 .rank-link a { color: #2E7D32; }
#company-1 .btn-call, #company-1 .btn-outline-cta { background: #2E7D32; border-color: #2E7D32; color: #fff; }
#company-1 .btn-outline-cta { background: transparent; color: #2E7D32; }
#company-1 .sources summary { color: #1B5E20; }
#company-1 .company-body .highlight-strip { background: #E8F5E9; border-color: #66BB6A; color: #000; }
