/*
Theme Name: PergolaCovers
Theme URI: https://www.divetoshade.com/
Author: S&Y e-Commercial
Description: Lightweight theme for Pergola Covers Here, powered by Dive To Shade. Page content lives in Custom HTML blocks; titles, meta and sitemaps are handled by your SEO plugin.
Version: 3.4
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: pergolacovers
*/

    :root {
      --paper: #FBF8F1;
      --cream: #F4EEE0;
      --sand: #D8BC86;
      --olive: #3E3D1E;
      --olive-deep: #26250F;
      --gold: #C4922A;
      --gold-soft: #D9AE57;
      --brown: #7B3F26;
      --ink: #26251A;
      --muted: #625F4B;
      --line: rgba(62, 61, 30, 0.16);
      --line-light: rgba(247, 242, 231, 0.16);
      --serif: "Fraunces", "Lora", Georgia, serif;
      --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
      --wrap: 1240px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }
    img { display: block; max-width: 100%; }
    a { color: inherit; }
    .wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

    .eyebrow {
      display: inline-flex; align-items: center; gap: 14px;
      margin: 0 0 22px;
      color: var(--brown);
      font-size: 0.72rem; font-weight: 600;
      letter-spacing: 0.24em; text-transform: uppercase;
    }
    .eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

    h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--olive); margin: 0; }
    h2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.04; letter-spacing: -0.02em; }
    h2 em, h1 em { font-style: italic; font-weight: 300; }

    /* Buttons */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      min-height: 54px; padding: 0 28px;
      border: 1px solid transparent; border-radius: 999px;
      font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
      letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
      cursor: pointer;
      transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
    }
    .btn svg { width: 17px; height: 17px; flex: none; }
    .btn:hover { transform: translateY(-1px); }
    .btn-gold { background: var(--gold); color: var(--olive-deep); }
    .btn-gold:hover { background: var(--gold-soft); }
    .btn-olive { background: var(--olive); color: var(--paper); }
    .btn-olive:hover { background: var(--olive-deep); }
    .btn-ghost-light { border-color: rgba(247,242,231,.45); color: var(--paper); }
    .btn-ghost-light:hover { border-color: var(--paper); background: rgba(247,242,231,.08); }
    .btn-ghost { border-color: var(--olive); color: var(--olive); }
    .btn-ghost:hover { background: var(--olive); color: var(--paper); }
    :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

    /* Top bar */
    .topbar { background: var(--olive-deep); color: rgba(247,242,231,.86); font-size: 0.72rem; letter-spacing: .08em; }
    .topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
    .topbar a { text-decoration: none; color: var(--gold-soft); font-weight: 600; }

    /* Header */
    .header { position: sticky; top: 0; z-index: 20; background: rgba(251,248,241,.92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
    .nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
    .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--olive); }
    .brand svg { width: 64px; height: 45px; flex: none; }
    .brand-name { font-family: var(--sans); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; line-height: 1; }
    .brand-name .dot { color: var(--gold); }
    .brand-name .tld { color: var(--brown); }
    .brand-tag { display: block; margin-top: 5px; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
    .nav-links { display: flex; align-items: center; gap: 34px; }
    .nav-links a.link { font-size: 0.78rem; font-weight: 500; letter-spacing: .06em; text-decoration: none; color: var(--ink); position: relative; }
    .nav-links a.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
    .nav-links a.link:hover::after { transform: scaleX(1); }
    .nav-phone { display: flex; flex-direction: column; text-decoration: none; text-align: right; line-height: 1.2; }
    .nav-phone small { font-size: 0.6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
    .nav-phone strong { font-size: 1rem; font-weight: 600; color: var(--olive); }
    .nav .btn { min-height: 46px; padding: 0 22px; font-size: 0.74rem; }

    /* Hero */
    .hero { position: relative; min-height: min(860px, 92vh); display: flex; align-items: flex-end; overflow: hidden; background: var(--olive-deep); color: var(--paper); }
    .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transform: scale(1.02); }
    .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,37,15,.94) 0%, rgba(38,37,15,.72) 42%, rgba(38,37,15,.18) 80%), linear-gradient(0deg, rgba(38,37,15,.85) 0%, rgba(38,37,15,0) 40%); }
    .hero-inner { position: relative; z-index: 1; padding: 140px 0 0; }
    .hero .eyebrow { color: var(--gold-soft); }
    .hero h1 { color: var(--paper); font-size: clamp(3.2rem, 7.4vw, 7rem); line-height: .98; letter-spacing: -0.03em; max-width: 880px; }
    .hero h1 em { color: var(--gold-soft); display: block; }
    .hero h1 .h1-kicker { display: flex; font-family: var(--sans); font-size: 0.72rem; line-height: 1.6; letter-spacing: 0.24em; font-weight: 600; color: var(--gold-soft); }
    .hero-copy { max-width: 560px; margin: 30px 0 38px; color: rgba(247,242,231,.82); font-size: 1.08rem; font-weight: 300; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .hero-note { margin: 18px 0 0; font-size: 0.78rem; color: rgba(247,242,231,.66); }
    .hero-proof { margin-top: 90px; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
    .hero-proof div { padding: 26px 24px 30px 0; }
    .hero-proof div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
    .hero-proof strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--paper); line-height: 1.2; }
    .hero-proof span { font-size: 0.76rem; color: rgba(247,242,231,.66); letter-spacing: .02em; }

    /* Statement */
    .statement { padding: 150px 0 120px; }
    .statement-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
    .statement p.lead { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.32; font-weight: 300; color: var(--olive); margin: 0; }
    .statement p.lead em { color: var(--brown); }
    .statement p.sub { margin: 28px 0 0; color: var(--muted); max-width: 620px; }


    /* Video */
    .film { padding: 0 0 150px; }
    .film-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 40px; }
    .film-head p { max-width: 380px; margin: 0; color: var(--muted); font-size: 0.92rem; }
    .film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--olive-deep); box-shadow: 0 50px 100px -60px rgba(38,37,15,.6); }
    .film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
    .film-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; font-size: .9rem; color: var(--muted); }
    @media (max-width: 820px) { .film-head { flex-direction: column; align-items: flex-start; gap: 22px; } }
    @media (max-width: 640px) { .film { padding-bottom: 96px; } .film-cta .btn { width: 100%; } }

    /* Systems */
    .systems { padding: 0 0 150px; }
    .systems-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
    .systems-head p { max-width: 380px; margin: 0; color: var(--muted); font-size: 0.92rem; }
    .system-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
    .system-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .35s ease, transform .35s ease; }
    .system-card:hover { box-shadow: 0 30px 70px -30px rgba(38,37,15,.35); transform: translateY(-3px); }
    .system-media { position: relative; height: 340px; padding: 36px; background: radial-gradient(120% 90% at 50% 100%, #EFE6D2 0%, var(--cream) 55%, #F8F3E8 100%); }
    .system-media img { width: 100%; height: 100%; object-fit: contain; }
    .system-index { position: absolute; top: 22px; left: 26px; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--brown); }
    .badge { position: absolute; top: 22px; right: 22px; padding: 7px 12px; border-radius: 999px; background: var(--olive); color: var(--paper); font-size: 0.64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
    .badge.light { background: var(--paper); color: var(--olive); border: 1px solid var(--line); }
    .system-body { padding: 40px 40px 36px; display: flex; flex-direction: column; flex: 1; }
    .system-body h3 { font-size: 2.3rem; line-height: 1.05; letter-spacing: -0.015em; }
    .system-body h3 span { font-style: italic; font-weight: 300; color: var(--brown); }
    .system-lead { margin: 14px 0 28px; color: var(--muted); font-size: 0.95rem; }
    .specs { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 28px; }
    .specs li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 0.86rem; }
    .specs li span { color: var(--muted); }
    .specs li strong { font-weight: 600; color: var(--olive); text-align: right; }
    .system-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 8px; }
    .best-for { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
    .best-for strong { display: block; font-size: 0.66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-bottom: 2px; }

    /* Compare */
    .compare { background: var(--olive); color: var(--paper); padding: 140px 0; position: relative; overflow: hidden; }
    .compare::before { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(217,174,87,.22); }
    .compare .eyebrow { color: var(--gold-soft); }
    .compare h2 { color: var(--paper); }
    .compare-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; position: relative; }
    .compare-head p { max-width: 360px; margin: 0; color: rgba(247,242,231,.72); font-size: .92rem; }
    .table-box { overflow-x: auto; position: relative; }
    table { width: 100%; border-collapse: collapse; min-width: 640px; }
    th, td { text-align: left; padding: 22px 24px; border-bottom: 1px solid var(--line-light); font-size: 0.95rem; vertical-align: top; }
    thead th { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--paper); padding-top: 0; border-bottom: 1px solid rgba(217,174,87,.5); }
    thead th:first-child { font-family: var(--sans); font-size: 0.7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,242,231,.6); vertical-align: bottom; }
    tbody th { font-weight: 500; color: rgba(247,242,231,.66); font-size: .84rem; letter-spacing: .02em; width: 32%; }
    tbody td { color: var(--paper); }
    tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
    .table-note { margin: 26px 0 0; font-size: 0.74rem; color: rgba(247,242,231,.6); }

    /* Process */
    .process { padding: 150px 0; }
    .process-head { max-width: 760px; margin-bottom: 70px; }
    .process-head p { color: var(--muted); margin: 24px 0 0; max-width: 560px; }
    .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); }
    .steps li { padding: 34px 28px 10px 0; }
    .steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
    .step-num { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 22px; }
    .steps h3 { font-size: 1.35rem; margin-bottom: 10px; }
    .steps p { margin: 0; color: var(--muted); font-size: 0.9rem; }

    /* Quote */
    .quote { background: var(--cream); padding: 150px 0; }
    .quote-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: start; }
    .quote-copy p.sub { color: var(--muted); margin: 26px 0 40px; max-width: 460px; }
    .contact-lines { border-top: 1px solid var(--line); }
    .contact-line { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
    .contact-line small { display: block; font-size: 0.66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); font-weight: 600; }
    .contact-line strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--olive); line-height: 1.25; }
    .contact-line .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--olive); transition: background .25s, color .25s; flex: none; }
    .contact-line:hover .arrow { background: var(--olive); color: var(--paper); }
    .contact-line .arrow svg { width: 16px; height: 16px; }
    .hours { margin: 24px 0 0; font-size: 0.82rem; color: var(--muted); }

    .ready { margin-top: 10px; max-width: 460px; }
    .ready strong { display: block; font-size: 0.68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-bottom: 4px; }
    .contact-cards { display: grid; gap: 14px; }
    .contact-card { display: grid; grid-template-columns: 56px 1fr 44px; align-items: center; gap: 22px; padding: 26px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
    .contact-card:hover { transform: translateY(-2px); border-color: rgba(62,61,30,.3); box-shadow: 0 30px 60px -40px rgba(38,37,15,.45); }
    .cc-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--olive); color: var(--paper); display: grid; place-items: center; }
    .cc-icon svg { width: 22px; height: 22px; }
    .contact-card:nth-child(2) .cc-icon { background: var(--gold); color: var(--olive-deep); }
    .contact-card:nth-child(3) .cc-icon { background: var(--brown); }
    .cc-body small { display: block; font-size: 0.66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); font-weight: 600; }
    .cc-body strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; color: var(--olive); line-height: 1.2; }
    .cc-body span { display: block; font-size: .84rem; color: var(--muted); }
    .contact-card .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--olive); transition: background .25s, color .25s; }
    .contact-card:hover .arrow { background: var(--olive); color: var(--paper); }
    .contact-card .arrow svg { width: 16px; height: 16px; }

    /* FAQ */
    .faq { padding: 150px 0; }
    .faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 90px; }
    .faq-intro p { color: var(--muted); margin: 24px 0 0; max-width: 360px; }
    .faq details { border-top: 1px solid var(--line); }
    .faq details:last-child { border-bottom: 1px solid var(--line); }
    .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.35rem; color: var(--olive); line-height: 1.3; }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .25s, transform .3s; }
    .faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--olive); transform: translate(-50%,-50%); }
    .faq summary .pm::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .3s; }
    .faq details[open] .pm { background: var(--olive); }
    .faq details[open] .pm::before { background: var(--paper); }
    .faq details[open] .pm::after { transform: translate(-50%,-50%) rotate(0deg); background: var(--paper); }
    .faq details p { margin: -8px 60px 30px 0; color: var(--muted); font-size: 0.95rem; }

    /* CTA */
    .cta { position: relative; overflow: hidden; background: var(--olive-deep); color: var(--paper); padding: 150px 0; text-align: center; }
    .cta::before { content: ""; position: absolute; left: 50%; bottom: -380px; width: 760px; height: 760px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(196,146,42,.28) 0%, rgba(196,146,42,0) 62%); }
    .cta .wrap { position: relative; }
    .cta .eyebrow { color: var(--gold-soft); }
    .cta .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
    .cta h2 { color: var(--paper); max-width: 860px; margin: 0 auto; font-size: clamp(2.5rem, 5vw, 4.6rem); }
    .cta h2 em { color: var(--gold-soft); }
    .cta p { margin: 26px auto 40px; max-width: 520px; color: rgba(247,242,231,.72); }
    .cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
    .cta .more { display: inline-block; margin-top: 30px; font-size: .8rem; letter-spacing: .08em; color: rgba(247,242,231,.72); text-underline-offset: 6px; }
    .cta .more:hover { color: var(--paper); }

    /* Footer */
    footer { background: #1D1C0B; color: rgba(247,242,231,.66); padding: 80px 0 36px; font-size: .84rem; }
    .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
    footer .brand { color: var(--paper); }
    footer .brand-name .tld { color: #E39A64; }
    footer .brand-tag { color: rgba(247,242,231,.55); }
    .footer-top p { margin: 22px 0 0; max-width: 360px; }
    .footer-col h4 { margin: 0 0 16px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
    .footer-col a { display: block; text-decoration: none; color: var(--paper); padding: 4px 0; }
    .footer-col a.big { font-family: var(--serif); font-size: 1.7rem; }
    .footer-col a:hover { color: var(--gold-soft); }
    .legal { padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .74rem; color: rgba(247,242,231,.55); }
    .legal p { margin: 0; max-width: 760px; }

    /* Mobile action bar */
    .mobile-bar { display: none; }

    /* Reveal */
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
    .reveal.in { opacity: 1; transform: none; }

    @media (max-width: 1080px) {
      .nav-links a.link { display: none; }
      .statement-grid, .quote-grid, .faq-grid { grid-template-columns: 1fr; gap: 50px; }
      .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
      .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
      .footer-top { grid-template-columns: 1fr 1fr; }
      .footer-top > div:first-child { grid-column: 1 / -1; }
    }
    @media (max-width: 820px) {
      .system-grid { grid-template-columns: 1fr; }
      .systems-head, .compare-head { flex-direction: column; align-items: flex-start; gap: 22px; }
      .hero-proof { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .hero-proof div:nth-child(3) { padding-left: 0; border-left: 0; }
      .hero-proof div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
    }
    @media (max-width: 640px) {
      body { padding-bottom: 72px; font-size: 15px; }
      .wrap { width: calc(100% - 36px); }
      .topbar .hours-top { display: none; }
      .topbar .wrap { justify-content: center; }
      .nav { min-height: 70px; }
      .brand svg { width: 50px; height: 35px; }
      .brand-name { font-size: 1.08rem; }
      .brand-tag { font-size: .52rem; letter-spacing: .16em; }
      .nav-phone, .nav .btn { display: none; }
      .hero { min-height: 0; }
      .hero::after { background: linear-gradient(0deg, rgba(38,37,15,.97) 30%, rgba(38,37,15,.55) 70%, rgba(38,37,15,.25) 100%); }
      .hero-inner { padding-top: 220px; }
      .hero-actions { display: grid; }
      .hero-actions .btn { width: 100%; }
      .hero-proof { margin-top: 56px; }
      .hero-proof div, .hero-proof div + div { padding: 18px 12px 20px 0; }
      .hero-proof div:nth-child(even) { padding-left: 14px; }
      .hero-proof strong { font-size: 1.1rem; }
      .statement, .process, .quote, .faq, .compare, .cta { padding: 96px 0; }
      .systems { padding-bottom: 96px; }
      .system-media { height: 250px; padding: 28px; }
      .system-body { padding: 30px 24px 28px; }
      .specs { grid-template-columns: 1fr; }
      .system-foot { flex-direction: column; align-items: flex-start; }
      .system-foot .btn { width: 100%; }
      .steps { grid-template-columns: 1fr; }
      .steps li, .steps li + li { padding: 28px 0 22px; border-left: 0; }
      .steps li + li { border-top: 1px solid var(--line); }
      .contact-card { grid-template-columns: 48px 1fr; padding: 22px 20px; gap: 16px; }
      .contact-card .arrow { display: none; }
      .cc-icon { width: 48px; height: 48px; }
      .cc-body strong { font-size: 1.45rem; }
      .faq summary { font-size: 1.15rem; }
      .faq details p { margin-right: 0; }
      .footer-top { grid-template-columns: 1fr; gap: 40px; }
      .mobile-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
        background: rgba(62,61,30,.4);
        box-shadow: 0 -10px 30px rgba(0,0,0,.14);
      }
      .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 72px; text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
      .mobile-bar a svg { width: 18px; height: 18px; }
      .mobile-bar .m-call { background: var(--gold); color: var(--olive-deep); }
      .mobile-bar .m-text { background: var(--olive); color: var(--paper); }
      .mobile-bar .m-chat { background: var(--brown); color: var(--paper); }
      /* keep Chatra's own bubble above the bar on phones */
      #chatra:not(.chatra--expanded) { bottom: 84px !important; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; }
      .reveal { opacity: 1; transform: none; }
    }
  
    /* ===== Product page ===== */
    .crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 34px; font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
    .crumbs a { text-decoration: none; color: var(--muted); }
    .crumbs a:hover { color: var(--olive); }
    .p-hero { padding: 70px 0 100px; }
    .p-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
    .p-hero h1 { font-size: clamp(3.2rem, 6.4vw, 6.2rem); line-height: .98; letter-spacing: -0.03em; }
    .p-hero h1 .h1-sub { white-space: nowrap; font-style: italic; font-weight: 300; color: var(--brown); }
    .p-hero h1 em { display: block; margin-top: 18px; font-size: .36em; letter-spacing: -0.01em; color: var(--olive); }
    .p-lead { max-width: 520px; margin: 26px 0 30px; color: var(--muted); font-size: 1.04rem; }
    .price-line { display: flex; align-items: baseline; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 520px; }
    .price-from { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); font-weight: 600; }
    .price { font-family: var(--serif); font-size: 2.6rem; color: var(--olive); line-height: 1; }
    .price-unit { color: var(--muted); font-size: .95rem; }
    .price-note { margin: 8px 0 30px; font-size: .76rem; color: var(--muted); }
    .p-hero-media { position: relative; border-radius: 6px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, #EFE6D2 0%, var(--cream) 55%, #F8F3E8 100%); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 40px; }
    .p-hero-media img { width: 100%; height: 100%; object-fit: contain; }

    .figures { background: var(--olive-deep); color: var(--paper); }
    .figures-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
    .figures-grid div { padding: 40px 22px 44px; }
    .figures-grid div + div { border-left: 1px solid var(--line-light); }
    .figures-grid strong { display: block; font-family: var(--serif); font-weight: 300; font-size: 3.2rem; line-height: 1; color: var(--paper); }
    .figures-grid strong small { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--gold-soft); margin-left: 4px; letter-spacing: .04em; }
    .figures-grid span { display: block; margin-top: 12px; font-size: .78rem; color: rgba(247,242,231,.7); }

    .why { padding: 150px 0 130px; }
    .why-head { max-width: 760px; margin-bottom: 64px; }
    .why-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); }
    .why-grid article { padding: 36px 28px 10px 0; }
    .why-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
    .why-num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); margin-bottom: 18px; }
    .why-grid h3 { font-size: 1.45rem; margin-bottom: 12px; }
    .why-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

    .colors { background: var(--cream); padding: 140px 0; }
    .colors-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
    .colors-head p { max-width: 380px; margin: 0; color: var(--muted); font-size: .92rem; }
    .color-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
    .color-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
    .color-img { aspect-ratio: 4 / 3; background: #EFE8D8; }
    .color-img img { width: 100%; height: 100%; object-fit: cover; }
    .color-body { padding: 28px 28px 30px; }
    .color-body h3 { font-size: 1.6rem; margin-bottom: 18px; }
    .meter { height: 4px; background: rgba(62,61,30,.12); border-radius: 4px; overflow: hidden; }
    .meter span { display: block; height: 100%; background: var(--gold); }
    .color-body p { margin: 14px 0 0; font-size: .86rem; color: var(--muted); }
    .color-body p strong { color: var(--olive); font-weight: 600; }

    .spec-sec { padding: 140px 0; }
    .spec-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; position: relative; }
    .spec-intro { color: rgba(247,242,231,.74); margin: 24px 0 34px; max-width: 380px; }
    .spec-sec table { min-width: 0; }
    .spec-sec tbody th { width: 38%; }
    .spec-sec tbody tr:first-child th, .spec-sec tbody tr:first-child td { border-top: 1px solid rgba(217,174,87,.5); }

    .install { padding: 150px 0; }
    .install-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: start; }
    .install-intro { color: var(--muted); margin: 24px 0 32px; max-width: 460px; }
    .service-box { padding: 26px 28px; border-left: 2px solid var(--gold); background: var(--cream); max-width: 460px; }
    .service-box strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--olive); margin-bottom: 6px; }
    .service-box span { font-size: .88rem; color: var(--muted); }
    .install-cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 44px; }
    .install-cols h3 { font-size: 1.4rem; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
    .ticks { list-style: none; margin: 0; padding: 0; }
    .ticks li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
    .ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 10px; height: 5px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
    .ticks li strong { color: var(--olive); font-weight: 600; }

    .delivery { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
    .delivery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
    .delivery-grid div { padding: 44px 30px 46px 0; }
    .delivery-grid div + div { padding-left: 30px; border-left: 1px solid var(--line); }
    .d-k { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-bottom: 10px; }
    .delivery-grid strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--olive); line-height: 1.15; }
    .delivery-grid span:last-child { font-size: .84rem; color: var(--muted); }

    .vs { padding: 130px 0 0; }
    .vs-box { display: flex; justify-content: space-between; align-items: center; gap: 50px; padding: 60px 64px; border: 1px solid var(--line); border-radius: 6px; background: radial-gradient(90% 140% at 100% 0%, rgba(196,146,42,.12) 0%, rgba(196,146,42,0) 60%), var(--paper); }
    .vs-box h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
    .vs-box p { margin: 18px 0 0; color: var(--muted); max-width: 560px; }
    .vs-actions { display: flex; flex-direction: column; gap: 12px; flex: none; }

    @media (max-width: 1080px) {
      .p-hero-grid, .spec-grid, .install-grid { grid-template-columns: 1fr; gap: 50px; }
      .p-hero-media { aspect-ratio: 4 / 3; }
      .figures-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
      .figures-grid div:nth-child(4) { border-left: 0; }
      .figures-grid div:nth-child(n+4) { border-top: 1px solid var(--line-light); }
      .why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .why-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
      .why-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
      .vs-box { flex-direction: column; align-items: flex-start; }
      .vs-actions { flex-direction: row; flex-wrap: wrap; }
    }
    @media (max-width: 820px) {
      .color-grid { grid-template-columns: 1fr; }
      .colors-head { flex-direction: column; align-items: flex-start; gap: 22px; }
      .install-cols { grid-template-columns: 1fr; }
      .delivery-grid { grid-template-columns: 1fr; }
      .delivery-grid div, .delivery-grid div + div { padding: 30px 0; border-left: 0; }
      .delivery-grid div + div { border-top: 1px solid var(--line); }
    }
    @media (max-width: 640px) {
      .p-hero { padding: 40px 0 70px; }
      .p-hero-media { padding: 24px; }
      .figures-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .figures-grid div, .figures-grid div + div { padding: 26px 14px 28px 0; border-left: 0; }
      .figures-grid div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-light); }
      .figures-grid div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
      .figures-grid div:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
      .figures-grid strong { font-size: 2.5rem; }
      .why, .colors, .spec-sec, .install { padding: 96px 0; }
      .why-grid { grid-template-columns: 1fr; }
      .why-grid article, .why-grid article + article { padding: 28px 0 22px; border-left: 0; }
      .why-grid article + article { border-top: 1px solid var(--line); }
      .vs { padding-top: 90px; }
      .vs-box { padding: 36px 24px; }
      .vs-actions, .vs-actions .btn { width: 100%; }
      .hero-actions { display: grid; }
      .hero-actions .btn { width: 100%; }
    }

    .cta h2 em { white-space: nowrap; }
    .p-hero-media.cover { padding: 0; }
    .p-hero-media.cover img { object-fit: cover; }
    .swatch { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
    .swatch::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 46px, rgba(255,255,255,.35) 46px 48px), linear-gradient(160deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 45%); }
    .sw-clear { background: linear-gradient(135deg, #E8EEF0 0%, #CFDCE0 55%, #B9CBD1 100%); }
    .sw-bronze { background: linear-gradient(135deg, #8A6A4A 0%, #6E4F33 55%, #553B25 100%); }
    .sw-white { background: linear-gradient(135deg, #FBFAF6 0%, #ECE9E1 55%, #DEDAD0 100%); }

    /* ===== Pricing page ===== */
    .pr-hero { padding: 70px 0 110px; }
    .pr-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; align-items: end; }
    .pr-hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); line-height: 1; letter-spacing: -0.03em; }
    .pr-hero h1 em { display: block; color: var(--brown); }
    .price-tiles { display: grid; gap: 14px; }
    .price-tile { display: grid; gap: 4px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s; }
    .price-tile:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -30px rgba(38,37,15,.4); }
    .price-tile.dark { background: var(--olive); border-color: var(--olive); }
    .pt-k { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--brown); }
    .price-tile.dark .pt-k { color: var(--gold-soft); }
    .pt-v { font-family: var(--serif); font-size: 2.6rem; line-height: 1.1; color: var(--olive); }
    .price-tile.dark .pt-v { color: var(--paper); }
    .pt-v small { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin: 0 6px; }
    .price-tile.dark .pt-v small, .price-tile.dark .pt-d { color: rgba(247,242,231,.72); }
    .pt-d { font-size: .82rem; color: var(--muted); }
    .pt-note { margin: 4px 0 0; font-size: .74rem; color: var(--muted); }

    .est { background: var(--cream); padding: 140px 0; }
    .est-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
    .est-intro { color: var(--muted); margin: 24px 0 30px; max-width: 440px; }
    .presets { display: flex; flex-wrap: wrap; gap: 10px; }
    .preset { font: inherit; font-size: .82rem; font-weight: 500; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(62,61,30,.28); background: transparent; color: var(--olive); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
    .preset:hover { border-color: var(--olive); }
    .preset.is-on { background: var(--olive); color: var(--paper); border-color: var(--olive); }
    .est-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 44px; box-shadow: 0 40px 80px -50px rgba(38,37,15,.45); }
    .est-inputs { display: grid; grid-template-columns: 1fr auto 1fr 1.1fr; gap: 16px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
    .times { font-family: var(--serif); font-size: 1.8rem; color: var(--muted); padding-bottom: 6px; }
    .est-area span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; }
    .est-area strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--olive); line-height: 50px; }
    .est-results { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
    .est-res { padding: 24px; border-radius: 6px; background: var(--cream); }
    .est-res.dark { background: var(--olive); }
    .er-k { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brown); }
    .est-res.dark .er-k { color: var(--gold-soft); }
    .est-res strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.15; color: var(--olive); margin-top: 6px; }
    .est-res.dark strong { color: var(--paper); }
    .er-d { font-size: .78rem; color: var(--muted); }
    .est-res.dark .er-d { color: rgba(247,242,231,.7); }
    .est-diff { margin: 20px 0 24px; font-size: .92rem; color: var(--muted); }
    .est-diff strong { color: var(--olive); }
    .est-cta { display: flex; flex-wrap: wrap; gap: 12px; }
    .est-note { margin: 18px 0 0; font-size: .74rem; color: var(--muted); }

    .sizes { padding: 140px 0 120px; }
    .sizes-head { margin-bottom: 44px; }
    .table-box.light table { min-width: 640px; }
    .table-box.light th, .table-box.light td { border-bottom: 1px solid var(--line); color: var(--ink); }
    .table-box.light thead th { font-family: var(--sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brown); border-bottom: 1px solid var(--olive); padding-top: 0; vertical-align: bottom; }
    .table-box.light tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--olive); width: auto; letter-spacing: 0; }
    .table-box.light tbody td:nth-child(3), .table-box.light tbody td:nth-child(4) { font-weight: 600; color: var(--olive); }
    .table-box.light tbody td:last-child { color: var(--muted); }
    .sizes-note { margin: 22px 0 0; font-size: .76rem; color: var(--muted); }

    .value thead th { font-size: 1.35rem; }
    .verdict { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-top: 56px; position: relative; }
    .verdict > div { padding: 32px 34px; border: 1px solid var(--line-light); border-radius: 6px; }
    .verdict h3 { color: var(--paper); font-size: 1.6rem; margin-bottom: 8px; }
    .ticks.light li { color: rgba(247,242,231,.82); border-bottom-color: var(--line-light); }
    .ticks.light li:last-child { border-bottom: 0; }

    .factors { padding: 150px 0 130px; }
    .factor-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 1px solid var(--line); }
    .factor-grid article { padding: 34px 24px 10px 0; }
    .factor-grid article + article { padding-left: 24px; border-left: 1px solid var(--line); }
    .factor-grid h3 { font-size: 1.3rem; margin-bottom: 10px; }
    .factor-grid p { margin: 0; font-size: .88rem; color: var(--muted); }

    .whyus { background: var(--cream); padding: 140px 0; }
    .whyus-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: start; }
    .whyus-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
    .whyus-list li { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
    .whyus-list strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--olive); line-height: 1.3; }
    .whyus-list span { color: var(--muted); font-size: .92rem; }

    @media (max-width: 1080px) {
      .pr-hero-grid, .est-grid, .whyus-grid { grid-template-columns: 1fr; gap: 50px; }
      .factor-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .factor-grid article, .factor-grid article + article { padding: 30px 24px 22px 0; border-left: 0; }
      .factor-grid article:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
      .factor-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
    }
    @media (max-width: 820px) {
      .verdict { grid-template-columns: 1fr; }
      .whyus-list li { grid-template-columns: 1fr; gap: 6px; }
    }
    @media (max-width: 640px) {
      .pr-hero { padding: 40px 0 70px; }
      .est, .sizes, .factors, .whyus { padding: 96px 0; }
      .est-card { padding: 28px 20px; }
      .est-inputs { grid-template-columns: 1fr auto 1fr; }
      .est-area { grid-column: 1 / -1; }
      .est-area strong { line-height: 1.3; }
      .est-results { grid-template-columns: 1fr; }
      .est-cta .btn { width: 100%; }
      .factor-grid { grid-template-columns: 1fr; }
      .factor-grid article, .factor-grid article + article, .factor-grid article:nth-child(even) { padding: 26px 0 20px; border-left: 0; }
      .factor-grid article + article { border-top: 1px solid var(--line); }
      .verdict > div { padding: 26px 22px; }
    }

    /* WordPress */
    .admin-bar .header { top: 32px; }
    @media (max-width: 782px) { .admin-bar .header { top: 46px; } }
    .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
    .wp-block-html { margin: 0; }
    .page-plain { padding: 140px 0; }
    .page-plain h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 24px; }

    /* Promotion banner (Appearance > Customize > PergolaCovers Settings) */
    .topbar.is-promo { background: var(--gold); color: var(--olive-deep); }
    .topbar.is-promo .wrap { min-height: 44px; }
    .topbar.is-promo .promo { font-weight: 600; letter-spacing: .06em; }
    .topbar.is-promo .promo a { color: var(--olive-deep); text-decoration: underline; text-underline-offset: 3px; }
    .topbar.is-promo .tb-phone a { color: var(--olive-deep); }
    @media (max-width: 640px) {
      .topbar.is-promo .tb-phone { display: none; }
      .topbar.is-promo .wrap { justify-content: center; text-align: center; padding: 8px 0; }
    }

    .film.film-pricing { padding-top: 140px; }
    @media (max-width: 640px) { .film.film-pricing { padding-top: 96px; } }

    .nav-links a.link.is-current { color: var(--brown); }
    .nav-links a.link.is-current::after { transform: scaleX(1); }

    /* ===== Projects page + WordPress Gallery block ===== */
    .proj-hero { padding: 70px 0 60px; }
    .proj-hero-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
    .proj-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -0.03em; }
    .proj-intro { max-width: 380px; margin: 0; color: var(--muted); }
    .proj-gallery { padding: 0 0 140px; }
    .wp-block-gallery { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px !important; margin: 0; padding: 0; }
    .wp-block-gallery > .wp-block-image { margin: 0 !important; width: auto !important; display: flex; flex-direction: column; }
    .wp-block-gallery > .wp-block-image > a, .wp-block-gallery > .wp-block-image > img { display: block; }
    .wp-block-gallery img { width: 100% !important; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; cursor: zoom-in; transition: transform .5s ease, filter .3s ease; background: var(--cream); }
    .wp-block-gallery > .wp-block-image:hover img { filter: brightness(1.05); }
    .wp-block-gallery figcaption { position: static !important; background: none !important; color: var(--muted) !important; padding: 12px 2px 0 !important; margin: 0 !important; font-size: .82rem; letter-spacing: .02em; text-align: left !important; max-height: none !important; overflow: visible !important; }
    .wp-block-gallery figcaption::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
    .wp-block-gallery > .wp-block-gallery-caption, .wp-block-gallery + figcaption { grid-column: 1 / -1; }
    @media (max-width: 1080px) { .wp-block-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 640px) {
      .proj-hero { padding: 40px 0 40px; }
      .proj-hero-grid { flex-direction: column; align-items: flex-start; gap: 18px; }
      .proj-gallery { padding-bottom: 96px; }
      .wp-block-gallery { grid-template-columns: 1fr; gap: 26px !important; }
    }

    /* Lightbox */
    .pc-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,19,8,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
    .pc-lightbox.open { display: flex; }
    .pc-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
    .pc-lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 4px; }
    .pc-lightbox figcaption { color: rgba(247,242,231,.85); font-size: .9rem; text-align: center; }
    .pc-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(247,242,231,.35); background: rgba(247,242,231,.06); color: var(--paper); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
    .pc-lightbox button:hover { background: rgba(247,242,231,.18); }
    .pc-lb-close { top: 18px; right: 18px; }
    .pc-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
    .pc-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
    @media (max-width: 640px) { .pc-lightbox { padding: 70px 12px; } .pc-lb-prev, .pc-lb-next { top: auto; bottom: 16px; transform: none; } .pc-lb-prev { left: calc(50% - 60px); } .pc-lb-next { right: calc(50% - 60px); } }

    /* ===== Installation page ===== */
    .inst-hero { padding: 70px 0 90px; }
    .inst-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: end; }
    .inst-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -0.03em; }
    .inst-hero h1 em { color: var(--brown); }
    .inst-intro { margin: 0 0 26px; color: var(--muted); }
    .inst-jump { display: flex; flex-wrap: wrap; gap: 12px; }
    .inst-block { padding: 110px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
    .inst-block.alt { background: var(--cream); }
    .inst-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 40px; }
    .inst-head .system-index { position: static; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--brown); }
    .inst-head h2 em { color: var(--brown); }
    .inst-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
    .inst-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
    .inst-block.alt .inst-card { background: #fff; }
    .inst-card h3 { font-size: 1.4rem; margin: 28px 0 4px; }
    .inst-card .btn { margin-top: 24px; }
    .inst-download { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 6px; background: var(--olive); color: var(--paper); text-decoration: none; transition: background .25s; }
    .inst-download:hover { background: var(--olive-deep); }
    .dl-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--olive-deep); display: grid; place-items: center; flex: none; }
    .dl-icon svg { width: 20px; height: 20px; }
    .inst-download small { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
    .inst-download strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
    .service-box + .inst-link { margin-top: 22px; }
    @media (max-width: 1080px) { .inst-hero-grid, .inst-grid { grid-template-columns: 1fr; gap: 36px; } }
    @media (max-width: 640px) {
      .inst-hero { padding: 40px 0 60px; }
      .inst-block { padding: 80px 0; }
      .inst-head { flex-direction: column; gap: 6px; }
      .inst-card { padding: 24px 20px; }
      .inst-jump .btn, .inst-card .btn, .service-box + .inst-link { width: 100%; }
    }
    .inst-head h2 em { white-space: nowrap; }

    /* Why buy from us - icon strip (price guide) */
    .perks { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0 60px; }
    .perks-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
    .perks-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
    .perks-head h2 em { color: var(--brown); }
    .perks-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .perk { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px 22px 4px 0; }
    .perk + .perk { padding-left: 22px; border-left: 1px solid var(--line); }
    .perk-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--cream); color: var(--olive); display: grid; place-items: center; margin-bottom: 12px; transition: background .25s, color .25s; }
    .perk:hover .perk-icon { background: var(--olive); color: var(--gold-soft); }
    .perk-icon svg { width: 26px; height: 26px; }
    .perk strong { font-family: var(--serif); font-weight: 400; font-size: 1.22rem; line-height: 1.25; color: var(--olive); }
    .perk > span:last-child { font-size: .84rem; color: var(--muted); line-height: 1.5; }
    @media (max-width: 1080px) {
      .perks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
      .perk:nth-child(4) { padding-left: 0; border-left: 0; }
    }
    @media (max-width: 640px) {
      .perks { padding: 44px 0 48px; }
      .perks-head .btn { width: 100%; }
      .perks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
      .perk, .perk + .perk { padding: 0 14px 0 0; border-left: 0; }
      .perk:nth-child(even) { padding: 0 0 0 16px; border-left: 1px solid var(--line); }
      .perk:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
      .perk-icon { width: 46px; height: 46px; margin-bottom: 8px; }
      .perk strong { font-size: 1.08rem; }
    }

    /* Input fields (price-guide estimator) */
    .field { display: flex; flex-direction: column; gap: 8px; }
    .field label { font-size: 0.68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
    .field input { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid rgba(62,61,30,.24); border-radius: 4px; padding: 13px 14px; min-height: 50px; width: 100%; transition: border-color .2s, box-shadow .2s; }
    .field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,146,42,.18); }

    /* 4 perks */
    .perks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    @media (max-width: 1080px) {
      .perks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .perk:nth-child(4) { padding-left: 22px; border-left: 1px solid var(--line); }
      .perk:nth-child(3) { padding-left: 0; border-left: 0; }
    }
    @media (max-width: 640px) {
      .perk:nth-child(4) { padding: 0 0 0 16px; }
      .perk:last-child { grid-column: auto; padding-left: 16px; border-left: 1px solid var(--line); }
    }

    /* ===== "Which one fits you" visual chooser (price guide) ===== */
    .chooser { margin-top: 64px; text-align: center; position: relative; }
    .chooser-q { margin: 0 0 16px; font-family: var(--serif); font-size: 1.5rem; color: var(--paper); }
    .chooser-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .chooser-opt { font: inherit; font-size: .84rem; font-weight: 500; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(247,242,231,.32); background: transparent; color: var(--paper); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
    .chooser-opt:hover { border-color: var(--gold-soft); transform: translateY(-1px); }
    .chooser-opt.is-on { background: var(--gold); border-color: var(--gold); color: var(--olive-deep); }
    .verdict2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; position: relative; }
    .vcard { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 34px 36px 36px; border-radius: 10px; border: 1px solid var(--line-light); background: rgba(247,242,231,.04); transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s ease, border-color .4s ease, box-shadow .4s ease, filter .4s ease; }
    .vcard:hover { transform: translateY(-4px); border-color: rgba(217,174,87,.55); }
    .vcard-hero { border-color: rgba(217,174,87,.45); background: linear-gradient(160deg, rgba(217,174,87,.12) 0%, rgba(247,242,231,.03) 60%); }
    .vcard-tag { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: rgba(247,242,231,.1); color: var(--paper); }
    .vcard-hero .vcard-tag { background: var(--gold); color: var(--olive-deep); }
    .vcard-img { width: 100%; height: 170px; margin-bottom: 18px; display: grid; place-items: center; }
    .vcard-img img { max-height: 100%; width: auto; max-width: 80%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
    .vcard:hover .vcard-img img { transform: translateY(-6px) rotate(-1.5deg); }
    .vcard h3 { color: var(--paper); font-size: 2.2rem; line-height: 1.05; }
    .vcard h3 em { color: var(--gold-soft); }
    .vcard-price { margin: 8px 0 22px; color: rgba(247,242,231,.7); font-size: .9rem; }
    .vcard-price strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--paper); }
    .vchips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
    .vchip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 999px; background: rgba(247,242,231,.08); color: var(--paper); font-size: .86rem; font-weight: 500; opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
    .vchip-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--olive-deep); display: grid; place-items: center; flex: none; }
    .vchip-icon svg { width: 17px; height: 17px; }
    .vcard.in .vchip { opacity: 1; transform: none; }
    .vcard.in .vchip:nth-child(2) { transition-delay: .12s; }
    .vcard.in .vchip:nth-child(3) { transition-delay: .24s; }
    .vcard-hero.in { transition-delay: .12s; }
    .vcard .btn { margin-top: auto; }
    /* chooser states */
    .verdict2.has-pick .vcard { opacity: .38; filter: saturate(.6); transform: scale(.98); }
    .verdict2.has-pick .vcard.is-match { opacity: 1; filter: none; transform: translateY(-6px) scale(1.02); border-color: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold-soft), 0 40px 80px -40px rgba(0,0,0,.6); }
    .chooser-result { min-height: 1.6em; margin: 26px 0 0; text-align: center; font-family: var(--serif); font-size: 1.3rem; color: var(--paper); position: relative; }
    .chooser-result a { color: var(--gold-soft); }
    @media (max-width: 820px) { .verdict2 { grid-template-columns: 1fr; } }
    @media (max-width: 640px) {
      .vcard { padding: 28px 22px 28px; }
      .vcard-img { height: 130px; }
      .vcard .btn { width: 100%; }
      .chooser-opt { flex: 1 1 calc(50% - 10px); padding: 0 10px; }
    }
    @media (prefers-reduced-motion: reduce) { .vchip { opacity: 1; transform: none; } }

    /* "Five things" factor cards (price guide) */
    .factors-head { max-width: 760px; margin-bottom: 52px; }
    .fcard-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    .fcard { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
    .fcard:hover { transform: translateY(-4px); border-color: rgba(196,146,42,.45); box-shadow: 0 30px 60px -40px rgba(38,37,15,.5); }
    .fcard-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--olive); color: var(--gold-soft); display: grid; place-items: center; margin-bottom: 22px; transition: transform .35s; }
    .fcard:hover .fcard-icon { transform: rotate(-6deg) scale(1.05); }
    .fcard-icon svg { width: 28px; height: 28px; }
    .fcard h3 { font-size: 1.35rem; margin-bottom: 8px; }
    .fcard p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
    .fcard-tip { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(196,146,42,.12); color: var(--brown); font-size: .76rem; font-weight: 600; }
    .fcard-tip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
    .fcard-grid .fcard.reveal:nth-child(2) { transition-delay: .06s; }
    .fcard-grid .fcard.reveal:nth-child(3) { transition-delay: .12s; }
    .fcard-grid .fcard.reveal:nth-child(4) { transition-delay: .18s; }
    .fcard-grid .fcard.reveal:nth-child(5) { transition-delay: .24s; }
    @media (max-width: 1080px) { .fcard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
    @media (max-width: 640px) {
      .fcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
      .fcard { padding: 22px 16px 20px; }
      .fcard:last-child { grid-column: 1 / -1; }
      .fcard-icon { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px; }
      .fcard h3 { font-size: 1.15rem; }
    }

    /* fix: keep chooser product images inside their box */
    .vcard-img { display: flex; align-items: center; justify-content: center; height: 170px; overflow: hidden; }
    .vcard-img img { display: block; height: 150px !important; max-height: 150px !important; width: auto !important; max-width: 100% !important; object-fit: contain; }
    @media (max-width: 640px) {
      .vcard-img { height: 130px; }
      .vcard-img img { height: 115px !important; max-height: 115px !important; }
    }

    /* Footer: Dive To Shade badge + address */
    .dts-badge { display: inline-flex; align-items: center; gap: 16px; margin-top: 26px; padding: 10px 18px 10px 10px; border-radius: 10px; background: rgba(247,242,231,.06); border: 1px solid var(--line-light); text-decoration: none; transition: background .25s, border-color .25s; }
    .dts-badge:hover { background: rgba(247,242,231,.12); border-color: rgba(217,174,87,.5); }
    .dts-logo { display: grid; place-items: center; width: 116px; height: 58px; border-radius: 6px; background: #fff; padding: 6px 10px; flex: none; }
    .dts-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
    .dts-text { font-size: .8rem; color: rgba(247,242,231,.7); line-height: 1.4; }
    .dts-text strong { display: block; color: var(--paper); font-weight: 600; font-size: .9rem; }
    .footer-addr { display: flex; gap: 10px; margin-top: 14px; font-style: normal; font-size: .84rem; line-height: 1.6; color: rgba(247,242,231,.75); }
    .footer-addr svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold-soft); }
    .footer-col .footer-addr a { display: inline; padding: 0; color: var(--gold-soft); }
    /* Simplified contact cards */
    .contact-card .cc-body strong { font-size: 1.9rem; }
    .contact-line-note { margin: 18px 0 0; font-size: .92rem; color: var(--olive); }
    .contact-line-note strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin-right: 6px; }
    .contact-line-note span { color: var(--muted); font-size: .84rem; }

    /* ===== Trust strip (home, below hero) ===== */
    .hero-inner { padding-bottom: 110px; }
    .trust { position: relative; background: var(--olive); color: var(--paper); padding: 64px 0 68px; overflow: hidden; }
    .trust::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(217,174,87,0) 30%, rgba(217,174,87,.16) 50%, rgba(217,174,87,0) 70%); transform: translateX(-100%); }
    .trust:has(.trust-grid.in)::before { animation: trustSheen 2.4s .4s ease-out 1 forwards; }
    @keyframes trustSheen { to { transform: translateX(100%); } }
    .trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
    .trust-grid.reveal { opacity: 1; transform: none; }
    .trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 20px; opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.9,.25,1.2); }
    .trust-item + .trust-item { border-left: 1px solid var(--line-light); }
    .trust-grid.in .trust-item { opacity: 1; transform: none; }
    .trust-grid.in .trust-item:nth-child(2) { transition-delay: .15s; }
    .trust-grid.in .trust-item:nth-child(3) { transition-delay: .3s; }
    .trust-grid.in .trust-item:nth-child(4) { transition-delay: .45s; }
    .trust-icon { position: relative; width: 78px; height: 78px; border-radius: 50%; background: var(--gold); color: var(--olive-deep); display: grid; place-items: center; margin-bottom: 20px; transform: scale(.4) rotate(-20deg); transition: transform .8s cubic-bezier(.3,1.6,.4,1); }
    .trust-grid.in .trust-icon { transform: none; }
    .trust-grid.in .trust-item:nth-child(2) .trust-icon { transition-delay: .2s; }
    .trust-grid.in .trust-item:nth-child(3) .trust-icon { transition-delay: .35s; }
    .trust-grid.in .trust-item:nth-child(4) .trust-icon { transition-delay: .5s; }
    .trust-icon svg { width: 36px; height: 36px; }
    .trust-icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold-soft); opacity: 0; }
    .trust-grid.in .trust-icon::after { animation: trustPulse 2.8s 1.2s ease-out infinite; }
    .trust-grid.in .trust-item:nth-child(2) .trust-icon::after { animation-delay: 1.9s; }
    .trust-grid.in .trust-item:nth-child(3) .trust-icon::after { animation-delay: 2.6s; }
    .trust-grid.in .trust-item:nth-child(4) .trust-icon::after { animation-delay: 3.3s; }
    @keyframes trustPulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.45); } }
    .trust-grid.in .trust-flag svg { transform-origin: 20% 50%; animation: trustWave 2.6s 1s ease-in-out infinite; }
    @keyframes trustWave { 0%, 100% { transform: skewY(0); } 25% { transform: skewY(-5deg); } 75% { transform: skewY(4deg); } }
    .trust-grid.in .trust-sun svg { animation: trustSpin 14s linear infinite; }
    @keyframes trustSpin { to { transform: rotate(360deg); } }
    .trust-item:hover .trust-icon { transform: scale(1.08) rotate(-4deg); transition-delay: 0s !important; }
    .trust-item strong { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; color: var(--paper); }
    .trust-item strong::after { content: ""; display: block; width: 0; height: 2px; margin: 12px auto 10px; background: var(--gold-soft); transition: width .7s .6s ease; }
    .trust-grid.in .trust-item strong::after { width: 38px; }
    .trust-sub { font-size: .84rem; color: rgba(247,242,231,.7); }
    .count { color: var(--gold-soft); font-variant-numeric: tabular-nums; }
    @media (max-width: 820px) {
      .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
      .trust-item:nth-child(3) { border-left: 0; }
    }
    @media (max-width: 640px) {
      .hero-inner { padding-bottom: 70px; }
      .trust { padding: 48px 0 52px; }
      .trust-item { padding: 4px 10px; }
      .trust-icon { width: 62px; height: 62px; margin-bottom: 14px; }
      .trust-icon svg { width: 28px; height: 28px; }
      .trust-item strong { font-size: 1.12rem; }
      .trust-sub { font-size: .76rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      .trust-item, .trust-icon { opacity: 1 !important; transform: none !important; transition: none !important; }
      .trust-icon::after, .trust-icon svg, .trust::before { animation: none !important; }
      .trust-item strong::after { width: 38px; }
    }

    /* BBB seal in header (replaces phone number) */
    .nav-bbb { display: flex; align-items: center; height: 52px; }
    .nav-bbb img { height: 48px; width: auto; max-width: 150px; object-fit: contain; display: block; }
    @media (max-width: 640px) { .nav-bbb { display: none; } }

    /* Install options: DIY / contractor */
    .ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 520px; }
    .way { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: transform .3s, border-color .3s, box-shadow .3s; }
    .way:hover { transform: translateY(-3px); border-color: rgba(196,146,42,.45); box-shadow: 0 24px 50px -36px rgba(38,37,15,.5); }
    .way-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--olive); color: var(--gold-soft); display: grid; place-items: center; }
    .way-icon svg { width: 26px; height: 26px; }
    .way strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--olive); line-height: 1.2; margin-bottom: 4px; }
    .way span:not(.way-icon) { display: block; font-size: .86rem; color: var(--muted); line-height: 1.5; }
    .way-note { margin: 16px 0 0; font-size: .8rem; color: var(--muted); }
    .way-note + .inst-link { margin-top: 24px; }
    .inst-block.alt .way, .install .way { background: #fff; }
    @media (max-width: 640px) { .ways { grid-template-columns: 1fr; } .way { flex-direction: row; align-items: center; } .way-note + .inst-link { width: 100%; } }

    /* ===== Legal / document pages ===== */
    .doc-hero { padding: 70px 0 50px; }
    .doc-hero h1 { font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; letter-spacing: -0.03em; }
    .doc-hero h1 em { color: var(--brown); }
    .doc-meta { margin: 18px 0 0; font-size: .86rem; color: var(--muted); }
    .doc-glance { padding: 0 0 70px; }
    .glance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .glance { display: flex; flex-direction: column; gap: 6px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
    .glance-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--olive); color: var(--gold-soft); display: grid; place-items: center; margin-bottom: 10px; }
    .glance-icon svg { width: 24px; height: 24px; }
    .glance strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--olive); }
    .glance > span:last-child { font-size: .88rem; color: var(--muted); }
    .glance a { color: var(--brown); }
    .doc-body { padding: 70px 0 140px; border-top: 1px solid var(--line); }
    .doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; align-items: start; }
    .doc-toc { position: sticky; top: 110px; }
    .doc-toc p { margin: 0 0 14px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--brown); }
    .doc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
    .doc-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .86rem; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
    .doc-toc a:hover { color: var(--olive); border-left-color: var(--gold); }
    .doc-content { max-width: 720px; }
    .doc-content h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 56px 0 16px; padding-top: 8px; scroll-margin-top: 110px; }
    .doc-content h2:first-child { margin-top: 0; }
    .doc-content h3 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); margin: 24px 0 8px; }
    .doc-content p, .doc-content li { color: #4A4836; font-size: 1rem; line-height: 1.75; }
    .doc-content p { margin: 0 0 14px; }
    .doc-content ul { margin: 0 0 16px; padding: 0; list-style: none; }
    .doc-content ul li { position: relative; padding: 6px 0 6px 26px; }
    .doc-content ul li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
    .doc-content a { color: var(--brown); text-underline-offset: 3px; }
    .doc-content strong { color: var(--olive); }
    .doc-table { overflow-x: auto; margin: 6px 0 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
    .doc-table table { width: 100%; min-width: 520px; border-collapse: collapse; }
    .doc-table th, .doc-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--ink); vertical-align: top; }
    .doc-table thead th { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); font-weight: 600; background: var(--cream); }
    .doc-table tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; color: var(--olive); }
    .doc-table tbody tr:last-child th, .doc-table tbody tr:last-child td { border-bottom: 0; }
    .doc-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 26px 28px; background: var(--cream); border-radius: 10px; border-left: 3px solid var(--gold); }
    .doc-contact p { margin: 0; }
    @media (max-width: 1080px) { .doc-grid { grid-template-columns: 1fr; gap: 40px; } .doc-toc { position: static; } .doc-toc ol { columns: 2; } }
    @media (max-width: 640px) {
      .doc-hero { padding: 40px 0 36px; }
      .glance-grid { grid-template-columns: 1fr; }
      .doc-body { padding: 50px 0 90px; }
      .doc-toc ol { columns: 1; }
      .doc-contact { grid-template-columns: 1fr; }
    }

    /* Footer legal links */
    .legal { align-items: center; }
    .legal-links { display: flex; gap: 22px; order: 2; }
    .legal-links a { color: rgba(247,242,231,.75); text-decoration: none; font-size: .78rem; }
    .legal-links a:hover { color: var(--gold-soft); }

    /* ===== Cookie banner ===== */
    .cookie-banner { position: fixed; left: 24px; bottom: 24px; z-index: 90; width: min(420px, calc(100% - 48px)); padding: 22px 22px 20px; border-radius: 12px; background: var(--olive-deep); color: rgba(247,242,231,.85); box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); border: 1px solid rgba(217,174,87,.3); opacity: 0; transform: translateY(20px); transition: opacity .35s ease, transform .35s ease; }
    .cookie-banner.show { opacity: 1; transform: none; }
    .cookie-banner p { margin: 0 0 16px; font-size: .86rem; line-height: 1.55; }
    .cookie-banner strong { color: var(--paper); }
    .cookie-banner a { color: var(--gold-soft); }
    .cookie-actions { display: flex; gap: 10px; }
    .cookie-btn { flex: 1; font: inherit; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; min-height: 44px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
    .cookie-decline { background: transparent; color: var(--paper); border: 1px solid rgba(247,242,231,.4); }
    .cookie-decline:hover { border-color: var(--paper); }
    .cookie-accept { background: var(--gold); color: var(--olive-deep); border: 1px solid var(--gold); }
    .cookie-accept:hover { background: var(--gold-soft); }
    @media (max-width: 640px) { .cookie-banner { left: 12px; right: 12px; width: auto; bottom: 84px; } }

    /* Footer: 4 columns (brand, talk to us, explore, policies) */
    .footer-top { grid-template-columns: 1.5fr 1fr 1fr 0.9fr; gap: 48px; }
    @media (max-width: 1080px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }
    @media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .footer-top > div:nth-child(2) { grid-column: 1 / -1; } }

    /* Home statement image */
    .statement-grid { align-items: start; }
    .statement-media { margin: 34px 0 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--cream); box-shadow: 0 40px 80px -50px rgba(38,37,15,.55); }
    .statement-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
    .statement-media:hover img { transform: scale(1.04); }
    @media (max-width: 1080px) { .statement-media { max-width: 560px; aspect-ratio: 4 / 3; } }

    /* ===== Pergola requirements page ===== */
    .req-hero { padding: 70px 0 90px; }
    .req-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: end; }
    .req-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -0.03em; }
    .req-hero h1 em { color: var(--brown); }
    .req-intro { margin: 0 0 26px; color: var(--muted); }
    .anatomy { background: var(--cream); padding: 110px 0; }
    .anatomy-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: center; }
    .anatomy-intro { color: var(--muted); margin: 22px 0 0; max-width: 420px; }
    .anatomy-intro strong { color: var(--olive); }
    .anatomy-fig { margin: 0; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 40px 80px -60px rgba(38,37,15,.5); }
    .anatomy-fig svg { width: 100%; height: auto; display: block; }
    .req-list { padding: 140px 0 120px; }
    .req-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    .req-card { display: flex; flex-direction: column; padding: 28px 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
    .req-card:hover { transform: translateY(-4px); border-color: rgba(196,146,42,.45); box-shadow: 0 30px 60px -40px rgba(38,37,15,.5); }
    .req-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
    .req-card > p { margin: 0 0 18px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
    .req-specs { margin: auto 0 0; display: grid; gap: 8px; }
    .req-specs div { padding: 10px 12px; border-radius: 8px; background: var(--cream); }
    .req-specs div:first-child { background: var(--olive); }
    .req-specs dt { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brown); }
    .req-specs div:first-child dt { color: var(--gold-soft); }
    .req-specs dd { margin: 2px 0 0; font-size: .86rem; font-weight: 600; color: var(--olive); line-height: 1.35; }
    .req-specs div:first-child dd { color: var(--paper); }
    .req-grid .req-card.reveal:nth-child(2) { transition-delay: .06s; }
    .req-grid .req-card.reveal:nth-child(3) { transition-delay: .12s; }
    .req-grid .req-card.reveal:nth-child(4) { transition-delay: .18s; }
    .req-grid .req-card.reveal:nth-child(5) { transition-delay: .24s; }
    .req-note { margin: 26px 0 0; font-size: .8rem; color: var(--muted); }
    .req-note a, .req-link { color: var(--brown); font-weight: 600; }
    .req-link { display: inline-block; margin-top: 16px; font-size: .86rem; text-underline-offset: 4px; }
    @media (max-width: 1080px) {
      .req-hero-grid, .anatomy-grid { grid-template-columns: 1fr; gap: 40px; }
      .req-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 640px) {
      .req-hero { padding: 40px 0 60px; }
      .anatomy, .req-list { padding: 80px 0; }
      .anatomy-fig { padding: 14px; }
      .req-grid { grid-template-columns: 1fr; }
    }

    /* Header fit: 6 nav items + BBB + button */
    .nav-links { gap: 26px; }
    .nav-links a.link, .nav .btn { white-space: nowrap; }
    .nav { gap: 28px; }
    .nav-bbb img { height: 44px; max-width: 120px; }
    @media (max-width: 1400px) { .nav-links { gap: 22px; } .nav-links a.link { font-size: .74rem; } .brand-name { font-size: 1.2rem; } .brand svg { width: 56px; height: 40px; } }
    @media (max-width: 1280px) { .nav-bbb { display: none; } }

    /* ===== Before / after comparison slider ===== */
    .compare-ba { padding: 0 0 150px; }
    .ba-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 36px; }
    .ba-head p { max-width: 380px; margin: 0; color: var(--muted); font-size: .92rem; }
    .ba { --pos: 50%; position: relative; aspect-ratio: 750 / 470; border-radius: 14px; overflow: hidden; background: var(--cream); box-shadow: 0 50px 100px -60px rgba(38,37,15,.6); user-select: none; touch-action: pan-y; }
    .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
    .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
    .ba-tag { position: absolute; top: 18px; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; transition: opacity .3s; }
    .ba-tag-l { left: 18px; background: rgba(38,37,15,.78); color: var(--paper); }
    .ba-tag-r { right: 18px; background: var(--gold); color: var(--olive-deep); }
    .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--paper); z-index: 3; pointer-events: none; box-shadow: 0 0 18px rgba(0,0,0,.35); }
    .ba-knob { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--paper); color: var(--olive); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s; }
    .ba-knob svg { width: 28px; height: 28px; }
    .ba:hover .ba-knob, .ba.is-drag .ba-knob { transform: scale(1.1); }
    .ba-knob::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(247,242,231,.8); animation: baPulse 2.2s ease-out infinite; }
    .ba.is-touched .ba-knob::after { animation: none; opacity: 0; }
    @keyframes baPulse { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.5); } }
    .ba-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
    .ba-focus { position: absolute; inset: 0; border-radius: 14px; outline: 3px solid var(--gold); outline-offset: -3px; opacity: 0; pointer-events: none; z-index: 5; }
    .ba-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
    .ba-col h3 { font-size: 1.3rem; margin-bottom: 10px; }
    .ba-col ul { list-style: none; margin: 0; padding: 0; }
    .ba-col li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
    .ba-col li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
    .ba-col.bad li::before { background-color: rgba(123,63,38,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%237B3F26' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
    .ba-col.good li { color: var(--olive); font-weight: 500; }
    .ba-col.good li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' stroke='%2326250F' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
    @media (max-width: 820px) { .ba-head { flex-direction: column; align-items: flex-start; gap: 18px; } }
    @media (max-width: 640px) {
      .compare-ba { padding-bottom: 96px; }
      .ba { aspect-ratio: 4 / 3; border-radius: 10px; }
      .ba-tag { top: 12px; font-size: .58rem; padding: 6px 10px; }
      .ba-tag-l { left: 12px; } .ba-tag-r { right: 12px; }
      .ba-knob { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
      .ba-legend { grid-template-columns: 1fr; gap: 18px; }
    }
    @media (prefers-reduced-motion: reduce) { .ba-knob::after { animation: none; } }
    /* Home order: systems now follows the trust strip */
    .trust + .systems { padding-top: 140px; }
    @media (max-width: 640px) { .trust + .systems { padding-top: 90px; } }

    /* Labels clip with their side of the slider */
    .ba-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
    .ba-layer-l { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
    .ba-layer-r { clip-path: inset(0 0 0 var(--pos)); }
    /* Focus ring only for keyboard users */
    .ba.is-kbd .ba-range:focus + .ba-focus { opacity: 1; }
    .ba-range:focus { outline: none; }

    /* Flatter comparison slider so it fits a laptop screen */
    .ba { aspect-ratio: 2.2 / 1; max-height: 64vh; width: 100%; }
    .ba-img { object-position: center 55%; }
    @media (max-width: 1080px) { .ba { aspect-ratio: 16 / 9; } }
    @media (max-width: 640px) { .ba { aspect-ratio: 4 / 3; max-height: none; } }

    /* Header: Made in USA flag (replaces BBB) */
    .nav-usa { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
    .nav-usa img { width: 34px; height: 22px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(62,61,30,.15); }
    .nav-usa span { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
    @media (max-width: 1280px) { .nav-usa span { display: none; } }
    @media (max-width: 640px) { .nav-usa { display: none; } }
    /* Footer: BBB badge (visible on every device) */
    .footer-top > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
    .bbb-badge { display: inline-flex; align-items: center; gap: 16px; margin-top: 12px; padding: 10px 18px 10px 10px; border-radius: 10px; background: rgba(247,242,231,.06); border: 1px solid var(--line-light); }

    /* Footer BBB: logo only, compact white tile */
    .bbb-only { display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; padding: 8px 12px; background: #fff; border-radius: 8px; }
    .bbb-only img { height: 40px; width: auto; display: block; }

    /* Footer badges: BBB centered under Dive To Shade badge */
    .footer-badges { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 26px; }
    .footer-badges .dts-badge { margin-top: 0; }
    .bbb-only { margin-top: 0; padding: 4px 6px; border-radius: 6px; line-height: 0; }
    .bbb-only img { height: 58px; width: auto; }

    /* Footer badges: BBB centered under the Dive To Shade badge */
    .footer-badges { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 26px; }
    .footer-badges .dts-badge { margin-top: 0; }
    .bbb-only { margin-top: 0; padding: 3px 5px; border-radius: 6px; line-height: 0; }
    .bbb-only img { height: 58px; width: auto; }

    /* Header: emphasized "Made in USA" */
    .nav-usa { gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid rgba(196,146,42,.55); background: #fff; box-shadow: 0 6px 18px -10px rgba(123,63,38,.45); }
    .nav-usa img { width: 30px; height: 20px; transform-origin: 0 50%; animation: usaWave 3s ease-in-out infinite; }
    .nav-usa span { font-size: .7rem; font-weight: 700; letter-spacing: .14em; color: var(--brown); }
    @keyframes usaWave { 0%, 100% { transform: perspective(60px) rotateY(0deg) skewY(0deg); } 30% { transform: perspective(60px) rotateY(-14deg) skewY(-3deg); } 60% { transform: perspective(60px) rotateY(8deg) skewY(2deg); } }
    @media (max-width: 1280px) { .nav-usa { padding: 5px; } }
    @media (prefers-reduced-motion: reduce) { .nav-usa img { animation: none; } }

    /* Footer: Dive To Shade + BBB logos side by side, caption below */
    .footer-badges { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 26px; }
    .badge-row { display: flex; align-items: stretch; gap: 12px; }
    .logo-tile { display: flex; align-items: center; justify-content: center; height: 70px; width: 150px; padding: 8px 14px; background: #fff; border-radius: 8px; transition: transform .25s, box-shadow .25s; }
    a.logo-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
    .logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
    .footer-top .badge-caption { margin: 0; font-size: .82rem; color: rgba(247,242,231,.7); }
    .badge-caption strong { color: var(--paper); font-weight: 600; }
    @media (max-width: 640px) { .logo-tile { width: 132px; height: 62px; } }

    /* Footer brand column: keep it a normal block inside the grid */
    .footer-top > .footer-brand { display: block; }
    .footer-brand .footer-badges { display: inline-flex; }

    .footer-col h4.h4-strong { font-size: .8rem; font-weight: 800; letter-spacing: .18em; color: var(--gold-soft); }
    .trust-grid.in .trust-award svg { transform-origin: 50% 40%; animation: trustShine 3.2s 1.2s ease-in-out infinite; }
    @keyframes trustShine { 0%, 70%, 100% { transform: rotate(0) scale(1); } 80% { transform: rotate(-8deg) scale(1.08); } 90% { transform: rotate(6deg) scale(1.04); } }
    @media (prefers-reduced-motion: reduce) { .trust-award svg { animation: none !important; } }

    /* Trust strip: service icons */
    .trust-grid.in .trust-award svg { animation: trustBob 3.2s 1s ease-in-out infinite; }
    @keyframes trustBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-6deg); } }
    .trust-grid.in .trust-truck svg { animation: trustDrive 2.8s 1.2s ease-in-out infinite; }
    @keyframes trustDrive { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } }
    .trust-grid.in .trust-smile svg { animation: trustSmile 4s 1.4s ease-in-out infinite; }
    @keyframes trustSmile { 0%, 85%, 100% { transform: scale(1); } 90% { transform: scale(1.12); } }
    @media (prefers-reduced-motion: reduce) { .trust-icon svg { animation: none !important; } }

    /* Product hero highlight chips */
    .hero-chips { list-style: none; margin: -8px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
    .hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--olive); }
    .hero-chips svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--olive); color: var(--gold-soft); }
    .hero-chips li:first-child { border-color: rgba(196,146,42,.55); background: rgba(196,146,42,.1); }
    .hero-chips li:first-child svg { background: var(--gold); color: var(--olive-deep); }

    /* ===== Mobile / tablet menu (hamburger) ===== */
    .nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex: none; }
    .nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--olive); transition: transform .3s ease, opacity .2s ease, top .3s ease; }
    .nav-toggle span:nth-child(1) { top: 15px; }
    .nav-toggle span:nth-child(2) { top: 22px; }
    .nav-toggle span:nth-child(3) { top: 29px; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
    .mobile-menu { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100vh - 70px); overflow-y: auto; box-shadow: 0 30px 50px -30px rgba(38,37,15,.35); }
    .mobile-menu[hidden] { display: none; }
    .mobile-menu nav { display: flex; flex-direction: column; padding: 8px 0 24px; }
    .m-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.45rem; color: var(--olive); text-decoration: none; }
    .m-link svg { width: 18px; height: 18px; color: var(--gold); }
    .m-link.is-current { color: var(--brown); }
    .m-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
    .m-actions .btn { flex: 1 1 auto; }
    .m-usa { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }
    .m-usa img { width: 30px; height: 20px; object-fit: cover; border-radius: 3px; }
    @media (max-width: 1080px) {
      .nav-toggle { display: block; }
      .nav-links .nav-usa { display: none; }
    }
    @media (min-width: 1081px) { .mobile-menu { display: none !important; } }
    body.menu-open { overflow: hidden; }

/* ===== Home gallery (1.3) ===== */
.gallery-home { padding: 130px 0 120px; background: var(--paper); }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.gallery-head p { color: var(--muted); max-width: 420px; margin: 0; }
.pc-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 14px; }
.pcg-item { position: relative; margin: 0; overflow: hidden; border-radius: 6px; background: var(--cream); }
.pcg-item.is-big { grid-column: span 2; grid-row: span 2; }
.pcg-item.is-wide { grid-column: span 2; }
.pcg-item a { display: block; height: 100%; }
.pcg-item img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.pcg-item:hover img { transform: scale(1.045); }
.pcg-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 18px 14px; color: #fff; font-size: .82rem; letter-spacing: .02em; background: linear-gradient(to top, rgba(38,37,15,.78), rgba(38,37,15,0)); pointer-events: none; }
.pcg-item.is-big figcaption { font-size: .95rem; padding: 60px 26px 22px; }
.gallery-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; }
.gallery-note { font-size: .78rem; color: var(--muted); margin: 0; }
@media (hover: hover) { .pcg-item:not(.is-big) figcaption { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; } .pcg-item:hover figcaption { opacity: 1; transform: none; } }
@media (max-width: 1080px) { .pc-gallery { grid-auto-rows: 190px; } }
@media (max-width: 760px) {
  .gallery-home { padding: 90px 0 84px; }
  .gallery-head { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 30px; }
  .pc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .pcg-item.is-big { grid-column: span 2; grid-row: span 2; }
  .pcg-item.is-wide { grid-column: span 1; }
  .pcg-item figcaption, .pcg-item.is-big figcaption { font-size: .74rem; padding: 26px 12px 10px; }
  .gallery-foot { flex-direction: column; align-items: start; }
}

/* ===== Footer brand (1.4): DTS logo + caption + BBB, cover-fit ===== */
.footer-brand .dts-logo, .footer-brand .bbb-logo { display: block; overflow: hidden; border-radius: 8px; background: #fff; transition: transform .25s, box-shadow .25s; }
.footer-brand .dts-logo { width: 220px; height: 110px; }
.footer-brand .bbb-logo { width: 220px; height: 84px; margin-top: 26px; }
.footer-brand .dts-logo img, .footer-brand .bbb-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.footer-brand .dts-logo:hover, .footer-brand .bbb-logo:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.footer-brand .badge-caption { margin: 12px 0 0; font-size: .82rem; color: rgba(247,242,231,.7); }
.footer-brand .badge-caption strong { color: var(--paper); font-weight: 600; }
@media (max-width: 640px) { .footer-brand .dts-logo { width: 190px; height: 95px; } .footer-brand .bbb-logo { width: 190px; height: 73px; } }

/* 1.5: logos half size */
.footer-brand .dts-logo { width: 150px; height: 75px; border-radius: 6px; }
.footer-brand .bbb-logo { width: 150px; height: 57px; margin-top: 18px; border-radius: 6px; }
.footer-brand .bbb-logo img { transform: scale(1.12); }
.footer-brand .badge-caption { margin-top: 10px; font-size: .78rem; }
@media (max-width: 640px) { .footer-brand .dts-logo { width: 150px; height: 75px; } .footer-brand .bbb-logo { width: 150px; height: 57px; } }

/* 1.6: here-logo back in footer; Dive To Shade text link */
.footer-brand .badge-caption { margin-top: 14px; }
.footer-brand .badge-caption a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(217,174,87,.45); transition: border-color .2s, color .2s; }
.footer-brand .badge-caption a:hover strong { color: var(--gold-soft); }
.footer-brand .badge-caption a:hover { border-color: var(--gold-soft); }

/* ===== Contractor program (1.7) ===== */
.trade-band { background: var(--olive-deep); color: var(--paper); padding: 96px 0; }
.trade-band .eyebrow { color: var(--gold-soft); }
.trade-band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.trade-band h2 { color: var(--paper); font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.05; }
.trade-band h2 em { display: block; color: var(--gold-soft); }
.trade-band p { color: rgba(247,242,231,.74); margin: 0 0 26px; max-width: 470px; }

.trade-hero { padding: 70px 0 120px; }
.trade-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start; }
.trade-copy h1 { font-size: clamp(2.8rem, 5.2vw, 5rem); line-height: 1; letter-spacing: -0.03em; }
.trade-copy h1 em { display: block; color: var(--brown); }
.trade-list { margin-top: 34px; max-width: 460px; }
.trade-h { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin: 0 0 4px; }
.trade-alt { margin-top: 30px; font-size: .9rem; color: var(--muted); }
.trade-alt a { color: var(--olive); font-weight: 600; }
.trade-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 40px 40px 34px; box-shadow: 0 30px 60px -40px rgba(38,37,15,.35); position: sticky; top: 110px; }
.trade-card-h { font-size: 1.7rem; margin: 0 0 6px; }
.trade-card-p { color: var(--muted); font-size: .86rem; margin: 0 0 26px; }

.tf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.tf-field { display: flex; flex-direction: column; gap: 7px; }
.tf-full { grid-column: 1 / -1; }
.tf-field > span { font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.tf-field em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.tf-field input, .tf-field textarea { font: inherit; font-size: .95rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; width: 100%; box-sizing: border-box; transition: border-color .2s, box-shadow .2s, background .2s; }
.tf-field textarea { resize: vertical; min-height: 84px; }
.tf-field input:focus, .tf-field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(196,146,42,.18); }
.tf-field input:user-invalid { border-color: #B4532A; }
.tf-check { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 22px; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.tf-check input { margin-top: 3px; accent-color: var(--olive); width: 16px; height: 16px; flex: none; }
.tf-check a { color: var(--olive); }
.tf-submit { width: 100%; justify-content: center; }
.tf-fine { font-size: .74rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.tf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tf-notice { border-radius: 8px; padding: 16px 18px; font-size: .88rem; margin-bottom: 22px; }
.tf-notice.ok { background: #EEF3E6; color: #2F4A1E; }
.tf-notice.err { background: #F8E9E2; color: #7B3F26; }

@media (max-width: 1080px) {
  .trade-band-grid, .trade-grid { grid-template-columns: 1fr; gap: 40px; }
  .trade-card { position: static; }
}
@media (max-width: 640px) {
  .trade-band { padding: 72px 0; }
  .trade-hero { padding: 40px 0 80px; }
  .trade-card { padding: 28px 20px 24px; }
  .tf-grid { grid-template-columns: 1fr; }
}

/* ===== About page (1.8) ===== */
.about-hero { padding: 70px 0 110px; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.about-hero h1 { font-size: clamp(2.8rem, 5.4vw, 5.2rem); line-height: 1; letter-spacing: -0.03em; }
.about-hero h1 em { display: block; color: var(--brown); }
.org-tree { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: relative; }
.org-node { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.org-node:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 18px 36px -24px rgba(38,37,15,.45); }
.org-node strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--olive); margin: 4px 0 2px; }
.org-k { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.org-d { display: block; font-size: .8rem; color: var(--muted); }
.org-parent { background: var(--olive-deep); border-color: var(--olive-deep); text-align: center; }
.org-parent strong { color: var(--paper); }
.org-parent .org-d { color: rgba(247,242,231,.65); }
.org-parent .org-k { color: var(--gold-soft); }
.org-branch { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; position: relative; }
.org-branch::before { content: ""; position: absolute; left: 25%; right: 25%; top: -15px; height: 15px; border: 1px solid var(--sand); border-bottom: 0; border-radius: 6px 6px 0 0; }
.org-branch::after { content: ""; position: absolute; left: 50%; top: -28px; height: 13px; border-left: 1px solid var(--sand); }
.org-here { background: var(--cream); border: 1px solid var(--gold); width: calc(50% - 7px); box-sizing: border-box; }
.org-here::before { content: ""; position: absolute; left: 50%; top: -28px; height: 28px; border-left: 1px dashed var(--gold); }
.org-here .dot { color: var(--gold); }

.about-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 24px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--olive); line-height: 1.1; }
.fact span { display: block; margin-top: 6px; font-size: .78rem; letter-spacing: .04em; color: var(--muted); }

.buy-flow { padding: 130px 0 110px; }
.flow-head { max-width: 640px; margin-bottom: 56px; }
.flow-head h2 em { color: var(--brown); }
.flow-head p { color: var(--muted); margin: 20px 0 0; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px 26px 28px; position: relative; }
.flow-card + .flow-card::before { content: ""; position: absolute; left: -14px; top: 50px; width: 10px; height: 10px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: rotate(45deg); }
.flow-card .perk-icon { margin-bottom: 18px; }
.flow-card h3 { font-size: 1.25rem; margin: 0 0 8px; }
.flow-card p { margin: 0; font-size: .88rem; color: var(--muted); }
.flow-note { margin: 26px 0 0; font-size: .82rem; color: var(--olive); display: flex; gap: 10px; align-items: center; }
.flow-note::before { content: ""; width: 18px; height: 1px; background: var(--gold); }

.about-story { background: var(--olive-deep); color: var(--paper); padding: 120px 0; }
.about-story .eyebrow { color: var(--gold-soft); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.about-story h2 { color: var(--paper); }
.about-story h2 em { display: block; color: var(--gold-soft); }
.story-copy p { color: rgba(247,242,231,.78); font-size: 1.02rem; margin: 0 0 18px; }

@media (max-width: 1080px) {
  .about-grid, .story-grid { grid-template-columns: 1fr; gap: 50px; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-card + .flow-card::before { display: none; }
}
@media (max-width: 640px) {
  .about-hero { padding: 40px 0 70px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact strong { font-size: 1.3rem; }
  .buy-flow, .about-story { padding: 84px 0; }
  .flow-grid { grid-template-columns: 1fr; }
  .org-branch { grid-template-columns: 1fr 1fr; gap: 10px; }
  .org-node { padding: 14px 14px; }
  .org-node strong { font-size: .98rem; }
  .org-k { font-size: .58rem; letter-spacing: .12em; }
  .org-here { width: calc(50% - 5px); }
}

/* 1.9: simple two-level tree; legal link */
.org-tree .org-here { width: auto; margin-top: 30px; }
.org-tree .org-here::before { top: -30px; height: 30px; }
.org-tree { max-width: 420px; margin-left: auto; width: 100%; }
.org-tree .org-parent, .org-tree .org-here { text-align: center; padding: 26px 22px; }
.legal a { color: inherit; text-decoration: underline; text-decoration-color: rgba(217,174,87,.5); text-underline-offset: 3px; }
.legal a:hover { color: var(--gold-soft); }
@media (max-width: 1080px) { .org-tree { margin-left: 0; } }
@media (max-width: 640px) { .org-tree .org-here { width: auto; } .org-tree .org-node strong { font-size: 1.2rem; } }

/* 2.3: wordmark "Pergola Covers Here" */
.brand-name { letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 1400px) { .brand-name { font-size: 1.12rem; } }
@media (max-width: 640px) { .brand-name { font-size: 1rem; } }

/* ===== Projects by scenario (2.6) ===== */
.proj-page > .wp-block-gallery { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto !important; }
.pj-hero { padding: 70px 0 90px; }
.pj-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.pj-hero h1 { font-size: clamp(2.8rem, 5.4vw, 5.2rem); line-height: 1; letter-spacing: -0.03em; }
.pj-hero h1 em { display: block; color: var(--brown); }
.pj-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pj-chips a { font-size: .8rem; font-weight: 500; text-decoration: none; color: var(--olive); border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; transition: border-color .2s, background .2s, color .2s; }
.pj-chips a:hover { border-color: var(--gold); background: var(--cream); }
.pj-chips a.is-biz { color: var(--muted); }
.pj-vert { justify-self: center; width: min(100%, 330px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--olive-deep); box-shadow: 0 40px 70px -40px rgba(38,37,15,.6); border: 6px solid #fff; }
.pj-vert iframe, .pj-wide iframe { width: 100%; height: 100%; border: 0; display: block; }
.pj-vert-cap { text-align: center; font-size: .78rem; color: var(--muted); margin: 14px 0 0; }

.pj-scene { padding: 110px 0 36px; scroll-margin-top: 90px; }
.pj-scene-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; border-top: 1px solid var(--line); padding-top: 46px; }
.pj-scene-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.pj-scene-head h2 em { color: var(--brown); }
.pj-scene-head p { margin: 0; color: var(--muted); }
.pj-fit { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 600; color: var(--olive); background: var(--cream); border-radius: 999px; padding: 7px 14px; }
.pj-fit a { color: inherit; }

.pj-video { padding: 120px 0 20px; }
.pj-video-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; background: var(--olive-deep); border-radius: 14px; padding: 56px; color: var(--paper); }
.pj-video .eyebrow { color: var(--gold-soft); }
.pj-video h2 { color: var(--paper); }
.pj-video h2 em { color: var(--gold-soft); }
.pj-video p { color: rgba(247,242,231,.72); margin: 0; }
.pj-wide { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }

.pj-scene.is-biz .pj-scene-head { border-top-style: dashed; }
.pj-credit { width: min(var(--wrap), calc(100% - 48px)); margin: 40px auto 110px; font-size: .78rem; color: var(--muted); }

@media (max-width: 1080px) {
  .pj-hero-grid, .pj-video-grid { grid-template-columns: 1fr; gap: 40px; }
  .pj-scene-head { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .pj-hero { padding: 40px 0 60px; }
  .pj-vert { width: min(100%, 280px); }
  .pj-scene { padding: 72px 0 24px; }
  .pj-video { padding: 80px 0 10px; }
  .pj-video-grid { padding: 28px 20px; border-radius: 10px; }
  .pj-credit { margin-bottom: 80px; }
}
.pj-video h2 { margin-bottom: 16px; }

/* 2.7: second video is vertical too */
.pj-video-grid { grid-template-columns: 1.3fr .7fr; padding: 56px 64px; }
.pj-video-grid .pj-vert { width: min(100%, 300px); justify-self: center; }
.pj-vert-dark { border-color: rgba(247,242,231,.12); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.pj-video p.pj-tap { margin-top: 18px; font-size: .78rem; color: var(--gold-soft); }
@media (max-width: 1080px) { .pj-video-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pj-video-grid { padding: 32px 20px; } .pj-video-grid .pj-vert { width: min(100%, 260px); } }
.pj-video-grid p { max-width: 460px; }

/* 2.8: larger vertical videos */
.pj-hero .pj-vert { width: min(100%, 390px); }
.pj-video-grid { grid-template-columns: 1fr 1fr; }
.pj-video-grid .pj-vert { width: min(100%, 390px); }
@media (max-width: 640px) { .pj-hero .pj-vert, .pj-video-grid .pj-vert { width: min(100%, 320px); } }

/* 2.9: hero text only; two vertical videos side by side */
.pj-hero { padding: 70px 0 70px; }
.pj-hero-grid { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 60px; }
.pj-hero .p-lead { margin-top: 0; }
.pj-chips { margin-top: 24px; }
.pj-video { padding: 0 0 20px; }
.pj-video-box { background: var(--olive-deep); border-radius: 14px; padding: 56px 64px 64px; color: var(--paper); }
.pj-video-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.pj-video-head p { margin: 0; color: rgba(247,242,231,.72); max-width: 320px; }
.pj-video-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 390px)); justify-content: center; gap: 48px; }
.pj-video-pair .pj-vert { width: 100%; }
@media (max-width: 1080px) { .pj-hero-grid { grid-template-columns: 1fr; gap: 24px; } .pj-video-pair { gap: 24px; } }
@media (max-width: 640px) {
  .pj-hero { padding: 40px 0 44px; }
  .pj-video-box { padding: 32px 20px 36px; border-radius: 10px; }
  .pj-video-head { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 26px; }
  .pj-video-pair { grid-template-columns: minmax(0, 320px); gap: 28px; }
}

/* 2.9: both vertical videos side by side */
.pj-hero { padding: 70px 0 70px; }
.pj-hero-grid { grid-template-columns: 1.1fr .9fr; align-items: end; }
.pj-hero .p-lead { margin-top: 0; }
.pj-video { padding: 10px 0 0; }
.pj-video-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; padding: 56px 64px; }
.pj-vids { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pj-video-grid .pj-vids .pj-vert { width: 100%; justify-self: stretch; }
@media (max-width: 1080px) {
  .pj-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .pj-video-grid { grid-template-columns: 1fr; gap: 30px; }
  .pj-vids { max-width: 640px; }
}
@media (max-width: 640px) {
  .pj-hero { padding: 40px 0 44px; }
  .pj-video-grid { padding: 30px 0 30px 20px; }
  .pj-video-copy { padding-right: 20px; }
  .pj-vids { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .pj-vids::-webkit-scrollbar { display: none; }
  .pj-video-grid .pj-vids .pj-vert { flex: 0 0 76%; width: 76%; scroll-snap-align: start; }
}
.pj-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
.pj-swipe { display: none; }
@media (max-width: 640px) { .pj-swipe { display: inline; } }

/* 3.0: square video + vertical video, same height */
.pj-vert.pj-sq { aspect-ratio: 1 / 1; }
.pj-vids { grid-template-columns: 16fr 9fr; align-items: start; }
@media (max-width: 640px) {
  .pj-video-grid .pj-vids .pj-vert { flex: 0 0 auto; height: 380px; width: auto; aspect-ratio: 9 / 16; }
  .pj-video-grid .pj-vids .pj-vert.pj-sq { aspect-ratio: 1 / 1; max-width: calc(100vw - 70px); height: auto; width: calc(100vw - 70px); }
}
.pj-video-grid { grid-template-columns: .62fr 1.38fr; gap: 48px; }
@media (max-width: 1080px) { .pj-video-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .pj-video-grid .pj-vids .pj-vert.pj-sq { width: 72vw; max-width: none; height: 72vw; }
  .pj-video-grid .pj-vids .pj-vert:not(.pj-sq) { height: 72vw; width: auto; aspect-ratio: 9 / 16; }
}
.pj-video-copy h2 { font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1.08; }

/* ===== Reviews (3.1) ===== */
.reviews { padding: 120px 0; background: var(--cream); }
.rv-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 46px; }
.rv-head h2 em { color: var(--brown); }
.rv-score { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; transition: border-color .2s, transform .2s; }
.rv-score:hover { border-color: var(--gold); transform: translateY(-2px); }
.rv-score strong { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--olive); }
.rv-score-meta { display: flex; flex-direction: column; gap: 6px; font-size: .76rem; color: var(--muted); }
.rv-stars { display: flex; gap: 3px; color: var(--gold); }
.rv-stars svg { width: 16px; height: 16px; fill: currentColor; }
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rv-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.rv-card blockquote { margin: 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; color: var(--ink); flex: 1; }
.rv-card figcaption { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--line); padding-top: 16px; }
.rv-card figcaption strong { font-size: .9rem; color: var(--olive); }
.rv-card figcaption span { font-size: .76rem; color: var(--muted); }
.rv-foot { margin: 28px 0 0; font-size: .82rem; color: var(--muted); }
.rv-foot a { color: var(--olive); font-weight: 600; }
@media (max-width: 1080px) { .rv-grid { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 760px) { .reviews { padding: 84px 0; } .rv-head { flex-direction: column; align-items: start; gap: 22px; margin-bottom: 30px; } .rv-card { padding: 26px 22px 22px; } .rv-card blockquote { font-size: 1.1rem; } }

/* ===== About: mission (3.2) ===== */
.mission { padding: 130px 0 40px; }
.ms-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: end; margin-bottom: 64px; }
.ms-head h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.04; }
.ms-head h2 em { display: block; color: var(--brown); }
.ms-head p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.ms-label { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.ms-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ms-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ms-card:hover { transform: translateY(-3px); border-color: var(--sand); box-shadow: 0 22px 40px -28px rgba(38,37,15,.4); }
.ms-card .perk-icon { margin-bottom: 18px; }
.ms-prob { font-family: var(--serif); font-size: 1.28rem; line-height: 1.2; color: var(--olive); margin: 0 0 10px; }
.ms-ans { margin: 0; font-size: .88rem; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 1080px) { .ms-head { grid-template-columns: 1fr; gap: 20px; } .ms-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mission { padding: 84px 0 20px; } .ms-head { margin-bottom: 40px; } .ms-grid { grid-template-columns: 1fr; } }
.ms-prob { min-height: 2.4em; } @media (max-width: 640px) { .ms-prob { min-height: 0; } }

/* 3.3: white BBB A+ seal, cropped to its artwork (source is 500x500 with padding) */
.footer-brand .bbb-logo { width: 130px; height: 91px; background: none; border-radius: 0; margin-top: 22px; box-shadow: none; }
.footer-brand .bbb-logo img { width: 187px; height: 187px; max-width: none; object-fit: fill; transform: none; margin: -47.6px 0 0 -28.1px; opacity: .92; transition: opacity .2s; }
.footer-brand .bbb-logo:hover { transform: none; box-shadow: none; }
.footer-brand .bbb-logo:hover img { opacity: 1; }
@media (max-width: 640px) { .footer-brand .bbb-logo { width: 130px; height: 91px; } }

/* 3.4: smaller BBB seal */
.footer-brand .bbb-logo, .footer-brand .bbb-logo { width: 108px; height: 76px; margin-top: 20px; }
.footer-brand .bbb-logo img { width: 156px; height: 156px; margin: -39.5px 0 0 -23.3px; }
@media (max-width: 640px) { .footer-brand .bbb-logo { width: 108px; height: 76px; } }
