/*
Theme Name: One-Time Warehouse Cleaning
Theme URI: https://onetimewarehousecleaning.com/
Author: Uprankd
Description: Conversion-focused theme for a one-time warehouse cleaning company. Ships with a homepage built from template parts, Customizer settings for NAP and imagery, a working quote form with no plugin required, and LocalBusiness plus FAQ schema generated from the same data the page renders.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: otwc
Tags: business, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
    color-scheme: light;

    /* brand */
    --brand:       #323981;
    --brand-deep:  #262C68;
    --brand-dark:  #1B1F4A;
    --accent:      #69C419;
    --accent-deep: #57A513;
    --accent-ink:  #0F2106;

    /* surfaces */
    --paper:   #FFFFFF;
    --band:    #F1F2F6;
    --panel:   #1B1F4A;
    --ink:     #111220;
    --ink-2:   #494B60;
    --ink-3:   #7C7F94;
    --line:    #E2E4EE;
    --line-2:  #EDEEF4;
    --slot:      #ECEEF3;
    --slot-line: #DEE1EA;
    --slot-ink:  #888D9E;

    /* on dark panels — constant across themes */
    --on-dark:    #F4F5FA;
    --on-dark-2:  #A9ADC8;
    --on-dark-ln: #343963;

    --r:    14px;
    --r-s:  2px;
    --maxw: 1290px;
    --gut:  clamp(20px, 5vw, 60px);
    --sec:  clamp(60px, 8.5vw, 116px);
  }


  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, h4 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.032em;
    line-height: 1.02;
    text-wrap: balance;
  }
  h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
  h2 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); }
  h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -0.025em; line-height: 1.15; }
  h4 { font-size: 1.02rem; letter-spacing: -0.02em; }

  p { margin: 0; }
  a { color: inherit; }

  :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }

  .skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand);
    color: #fff;
    padding: 12px 18px;
    z-index: 100;
  }
  .skip:focus { left: 8px; top: 8px; }

  .wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--gut);
    padding-right: var(--gut);
  }

  /* ---------------- buttons ---------------- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: var(--r-s);
    font: 600 14px/1 Archivo, sans-serif;
    letter-spacing: -0.01em;
    padding: 14px 22px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
  }
  .btn:hover { background: var(--brand-deep); }
  .btn .ico { width: 15px; height: 15px; fill: currentColor; flex: 0 0 auto; }

  .btn--accent { background: var(--accent); color: var(--accent-ink); }
  .btn--accent:hover { background: var(--accent-deep); }

  .btn--line {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
  }
  .btn--line:hover { background: transparent; border-color: var(--ink); }

  .arrow-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid currentColor;
    background: transparent;
    text-decoration: none;
  }
  .arrow-btn svg { width: 15px; height: 15px; }

  /* ---------------- header ---------------- */
  .site {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 40;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site .wrap {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-block: 22px;
  }
  .logo { display: flex; align-items: center; gap: 13px; text-decoration: none; flex: 0 0 auto; }
  .logo-img { width: 0; height: 40px; flex: 0 0 auto; object-fit: contain; opacity: 0; }
  .logo.has-img .glyph { display: none; }
  .logo.has-img .logo-img { width: 40px; opacity: 1; }
  .logo .glyph { width: 40px; height: 40px; flex: 0 0 auto; }
  .logo b {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    white-space: nowrap;
  }
  .logo i {
    display: block;
    font-style: normal;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-top: 3px;
  }
  /* The <nav> element is the flex item, not the <ul> inside it, so the auto
     margin has to sit here or nothing gets pushed to the right edge. */
  .nav-wrap { margin-left: auto; }
  .nav {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
  }
  .nav a { text-decoration: none; white-space: nowrap; }
  .nav a:hover { color: var(--brand); }
  .site-cta {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 0 0 auto;
    padding-left: 30px;
    border-left: 1px solid var(--line);
  }
  .site-cta .tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.03em;
    text-decoration: none;
    white-space: nowrap;
  }
  .site-cta .tel .ico { width: 15px; height: 15px; fill: var(--brand); flex: 0 0 auto; }
  .site-cta .tel:hover { color: var(--brand); }

  .menu-btn {
    display: none;
    width: 44px; height: 44px;
    margin-right: -10px;
    border: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
    place-items: center;
    color: var(--ink);
  }
  .bars, .bars::before, .bars::after {
    position: absolute;
    left: 11px;
    width: 22px; height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.12s ease;
  }
  .bars { top: 21px; }
  .bars::before { content: ""; left: 0; top: -7px; }
  .bars::after  { content: ""; left: 0; top: 7px; }
  .menu-btn[aria-expanded="true"] .bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after  { top: 0; transform: rotate(-45deg); }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  .mobile-nav {
    border-top: 1px solid var(--line);
    background: var(--paper);
    padding: 6px var(--gut) 24px;
  }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav li { border-bottom: 1px solid var(--line-2); }
  .mobile-nav a { display: block; padding: 15px 0; text-decoration: none; font-size: 17px; font-weight: 500; }
  .mobile-nav .drawer-tel {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand);
    font-size: 19px;
  }
  .mobile-nav .drawer-tel .ico { width: 17px; height: 17px; fill: currentColor; }
  .mobile-nav .btn { margin-top: 20px; width: 100%; justify-content: center; padding-block: 16px; }

  .callbar { display: none; }

  .floatcta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 45;
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .floatcta.is-on { opacity: 1; visibility: visible; transform: none; }
  .floatcta .btn {
    box-shadow: 0 6px 22px rgba(17, 18, 32, 0.22);
    padding: 15px 22px;
    font-size: 15px;
  }
  .floatcta .btn--call {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
  }
  .floatcta .btn--call:hover { background: var(--band); }
  .floatcta .btn--call .ico { fill: var(--brand); }

  /* ---------------- image placeholders ---------------- */
  .media {
    margin: 0;
    border-radius: var(--r);
    overflow: hidden;
    position: relative;
    background: var(--slot);
    border: 1px solid var(--slot-line);
    display: grid;
    place-items: center;
  }
  .media .spec {
    max-width: 54ch;
    text-align: center;
    padding: 0 22px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--slot-ink);
    line-height: 1.8;
  }
  .media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .media.has-img > img { opacity: 1; }
  .media.has-img .spec { display: none; }
  .media--hero { aspect-ratio: 16 / 9; }
  .media--sq   { aspect-ratio: 1 / 1; }
  .media--card { aspect-ratio: 16 / 10; }

  /* ---------------- hero ---------------- */
  .hero .wrap { padding-block: clamp(48px, 7vw, 92px) 0; }
  .hero h1 { max-width: 15ch; }
  .hero .sub {
    margin-top: 26px;
    max-width: 56ch;
    font-size: clamp(16.5px, 1.35vw, 19px);
    color: var(--ink-2);
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
  }
  .hero .media { margin-top: clamp(34px, 4vw, 52px); }

  .hero-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 22px;
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--ink-2);
  }
  .hero-proof .rate { display: flex; align-items: center; gap: 9px; }
  .hero-proof .stars { display: flex; gap: 2px; color: #F5B400; }
  .hero-proof .stars svg { width: 17px; height: 17px; fill: currentColor; }
  .hero-proof .score { color: var(--ink); font-weight: 700; font-size: 15.5px; }
  .hero-proof a { color: var(--ink-2); text-underline-offset: 3px; }
  .hero-proof a:hover { color: var(--brand); }
  .hero-proof .sep { width: 1px; height: 18px; background: var(--line); }
  .hero-proof ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 9px 20px;
  }
  .hero-proof li { display: flex; align-items: center; gap: 7px; }
  .hero-proof li svg {
    width: 15px; height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--accent-deep);
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* ---------------- generic section ---------------- */
  section > .wrap { padding-block: var(--sec); }
  .band { background: var(--band); }
  .tight-top > .wrap { padding-top: 0; }

  .split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 32px clamp(32px, 6vw, 96px);
    align-items: start;
  }
  .split > .head h2 { max-width: 17ch; }
  .prose { color: var(--ink-2); font-size: 16px; }
  .prose p + p { margin-top: 15px; }
  .prose strong { color: var(--ink); font-weight: 600; }
  .prose a { color: var(--brand); text-underline-offset: 3px; }
  .prose .btn { margin-top: 26px; color: #fff; }
  .prose .btn--accent { color: var(--accent-ink); }

  /* ---------------- stat block ---------------- */
  .stats {
    display: grid;
    grid-template-columns: 1.14fr 0.86fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
  }
  .stats-shot { grid-row: 1 / 3; min-height: 430px; }
  .stat {
    border-radius: var(--r);
    padding: clamp(24px, 2.9vw, 38px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 208px;
  }
  .stat--brand { background: var(--brand); color: #fff; }
  .stat--soft  { background: var(--band); color: var(--ink); border: 1px solid var(--line); }
  .stat .fig {
    font-size: clamp(2.8rem, 5.2vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.9;
  }
  .stat .cap {
    font-size: 13.5px;
    font-weight: 500;
    padding-top: 12px;
    border-top: 1px solid currentColor;
  }
  .stat--brand .cap { border-color: rgba(255,255,255,0.34); }
  .stat--soft .cap  { border-color: var(--line); }
  .stat .cap b { font-weight: 700; }
  .stat--brand .cap b { color: var(--accent); }
  .stat--soft .cap b  { color: var(--accent-deep); }
  .stat .arrow-btn { align-self: flex-start; opacity: 0.55; }

  /* ---------------- scope list ---------------- */
  .scope {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    margin-top: 44px;
    background: var(--line-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    overflow: hidden;
  }
  .scope article {
    background: var(--paper);
    padding: 30px 28px 32px;
  }
  .band .scope article { background: var(--band); }
  .scope h3 { margin-bottom: 10px; }
  .scope p { color: var(--ink-2); font-size: 15px; }
  .scope .tag {
    display: inline-block;
    width: 13px; height: 6px;
    border-radius: 2px;
    background: var(--accent);
    margin-bottom: 16px;
  }

  /* ---------------- bullet list ---------------- */
  .ticks { list-style: none; margin: 26px 0 0; padding: 0; }
  .ticks li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 11px;
    font-size: 15.5px;
    font-weight: 500;
  }
  .ticks li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.58em;
    width: 13px; height: 6px;
    border-radius: 2px;
    background: var(--accent);
  }
  .ticks span { font-weight: 400; color: var(--ink-2); }

  /* ---------------- table ---------------- */
  .tablewrap {
    margin-top: 38px;
    overflow-x: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: clamp(6px, 1vw, 14px) clamp(18px, 2.4vw, 34px) clamp(10px, 1.4vw, 18px);
  }
  table { width: 100%; min-width: 500px; border-collapse: collapse; }
  caption {
    text-align: left;
    padding: 18px 0 10px;
    color: var(--ink-3);
    font-size: 13.5px;
  }
  thead th {
    text-align: left;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--ink);
    background: transparent;
    border-bottom: 1px solid var(--ink);
    padding: 14px 0 11px;
  }
  thead th + th { text-align: right; }
  tbody th {
    text-align: left;
    font-weight: 500;
    font-size: 15.5px;
    padding: 19px 36px 19px 0;
    border-bottom: 1px solid var(--line-2);
  }
  td.num {
    font-weight: 600;
    font-size: 15.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: right;
    padding: 19px 0;
    border-bottom: 1px solid var(--line-2);
  }
  tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
  .fineprint { margin-top: 22px; font-size: 14.5px; color: var(--ink-3); max-width: 78ch; }

  /* ---------------- process ---------------- */
  .steps {
    list-style: none;
    margin: 44px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 34px 30px;
  }
  .steps li { padding-top: 0; }
  .steps .n {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--accent-deep);
    display: block;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
  }
  .steps h3 { margin-bottom: 9px; }
  .steps p { color: var(--ink-2); font-size: 15px; }

  .link-more {
    display: inline-block;
    margin-top: 22px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
  }
  .link-more:hover { border-bottom-color: var(--ink); }

  /* ---------------- area links ---------------- */
  .areas {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
  }
  .areas li { background: var(--paper); }
  .band .areas li { background: var(--band); }
  .areas a {
    display: block;
    padding: 14px 18px;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
  }
  .areas a:hover { background: var(--brand); color: #fff; }

  /* ---------------- guides ---------------- */
  .guides {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 44px;
    border-top: 1px solid var(--line);
  }
  .guides article {
    padding: 28px clamp(22px, 2.6vw, 38px) 4px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
  }
  .guides article:first-child { padding-left: 0; border-left: 0; }
  .guides article:last-child { padding-right: 0; }
  .guides h3 { font-size: 1.28rem; line-height: 1.16; }
  .guides h3 a { text-decoration: none; }
  .guides h3 a:hover { color: var(--brand); }
  .guides p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }
  .guides .read {
    margin-top: 20px;
    align-self: flex-start;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
  }
  .guides .read:hover { border-bottom-color: var(--ink); }

  /* ---------------- reviews ---------------- */
  .reviews-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px 40px;
  }
  .rating { display: flex; align-items: center; gap: 10px; }
  .rating .score { font-size: 26px; font-weight: 700; letter-spacing: -0.04em; }
  .rating .count { font-size: 14px; color: var(--ink-3); }
  .rating .count a { color: var(--ink-2); text-underline-offset: 3px; }
  .reviews {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
  }
  .review {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 13px;
  }
  .band .review { background: var(--paper); }
  .review .who { display: flex; align-items: center; gap: 12px; }
  .review .av {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 600;
    flex: 0 0 auto;
  }
  .review .who b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
  .review .who span { display: block; font-size: 13px; color: var(--ink-3); }
  .review .stars { display: flex; gap: 2px; color: #F5B400; }
  .review .stars svg { width: 16px; height: 16px; fill: currentColor; }
  .review p { font-size: 14.5px; color: var(--ink-2); }
  .review .src {
    margin-top: auto;
    padding-top: 6px;
    font-size: 12.5px;
    color: var(--ink-3);
  }
  .placeholder-note {
    margin-top: 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-3);
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    max-width: 92ch;
  }

  /* ---------------- FAQ ---------------- */
  .faq { margin-top: 40px; border-top: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 44px 22px 0;
    position: relative;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.02em;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "";
    position: absolute;
    right: 8px; top: 30px;
    width: 13px; height: 2px;
    background: var(--accent);
    box-shadow: 0 0 0 0 transparent;
  }
  .faq summary::before {
    content: "";
    position: absolute;
    right: 13.5px; top: 24.5px;
    width: 2px; height: 13px;
    background: var(--accent);
    transition: transform 0.18s ease;
  }
  .faq details[open] summary::before { transform: scaleY(0); }
  .faq .answer { padding: 0 0 24px; color: var(--ink-2); font-size: 15.5px; max-width: 80ch; }
  .faq .answer p + p { margin-top: 12px; }

  /* ---------------- quote panel ---------------- */
  .quote-panel { background: transparent; color: var(--ink); }
  .quote-panel h2 { max-width: 12ch; }
  .quote-panel .lede-dark {
    max-width: 44ch;
    color: var(--ink-2);
    font-size: 16.5px;
  }
  .quote-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: clamp(28px, 3.6vw, 60px);
    align-items: start;
  }
  .quote-info { display: flex; flex-direction: column; gap: 20px; }
  .quote-info .tel-big { margin-top: 6px; }
  .quote-info .tel-big {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    text-decoration: none;
    line-height: 1;
    color: var(--brand);
  }
  .quote-info .tel-big .ico { width: 0.72em; height: 0.72em; fill: currentColor; flex: 0 0 auto; }
  .quote-info .tel-big:hover { color: var(--brand-deep); }
  .nap { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
  .nap b { color: var(--ink); font-weight: 600; }
  .proof {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-2);
  }
  .proof .stars { display: flex; gap: 2px; color: #F5B400; }
  .proof .stars svg { width: 15px; height: 15px; fill: currentColor; }
  .proof b { color: var(--ink); font-weight: 700; }
  .trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .trust li {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--r-s);
    padding: 7px 13px;
  }
  .formnote { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--accent-deep); }

  form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3.2vw, 38px); }
  .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .f--full { grid-column: 1 / -1; }
  .fields label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 7px;
    letter-spacing: 0;
    text-transform: none;
  }
  .sel { position: relative; display: block; }
  .sel::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--ink-2);
    border-bottom: 2px solid var(--ink-2);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
  }
  .sel:focus-within::after { border-color: var(--brand); }

  .fields select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    padding-right: 38px;
    cursor: pointer;
  }
  .fields select::-ms-expand { display: none; }

  .fields input,
  .fields select,
  .fields textarea {
    display: block;
    width: 100%;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-s);
    color: var(--ink);
    font: 400 15.5px/1.5 Archivo, "Helvetica Neue", Arial, sans-serif;
    padding: 12px 13px;
  }
  .fields textarea { resize: vertical; min-height: 98px; }
  .fields input:focus,
  .fields select:focus,
  .fields textarea:focus { border-color: var(--brand); outline-offset: 1px; }
  form .btn { width: 100%; justify-content: center; padding-block: 16px; font-size: 15px; }
  .consent { font-size: 12.5px; line-height: 1.6; color: var(--ink-3); margin-top: 12px; }

  /* ---------------- footer ---------------- */
  .foot {
    background: var(--brand-dark);
    color: var(--on-dark);
  }
  .foot .wrap { padding-block: clamp(48px, 6vw, 76px) 0; }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px 40px;
  }
  .foot h4 {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-dark-2);
    margin-bottom: 16px;
  }
  .foot ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
  .foot li { margin-bottom: 9px; }
  .foot a { text-decoration: none; color: var(--on-dark); }
  .foot a:hover { color: var(--accent); }
  .foot .tagline { color: var(--on-dark-2); font-size: 14.5px; margin-top: 16px; max-width: 30ch; }
  .foot address { font-style: normal; font-size: 14.5px; color: var(--on-dark-2); line-height: 1.8; }
  .foot address a { color: var(--on-dark); }
  .foot-bottom {
    margin-top: clamp(40px, 5vw, 60px);
    border-top: 1px solid var(--on-dark-ln);
    padding-block: 24px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    color: var(--on-dark-2);
  }
  .foot-bottom a { color: var(--on-dark-2); }

  /* ---------------- responsive ---------------- */
  /* The logo, nav and CTA need about 1220px of content width to sit side by
     side, so the drawer has to take over before that, not at 1080. */
  @media (max-width: 1240px) {
    .nav-wrap { display: none; }
    .nav { display: none; }
    .menu-btn { display: inline-grid; }
    .site .wrap { gap: 18px; }
    .site-cta { padding-left: 0; border-left: 0; gap: 16px; margin-left: auto; }
  }

  /* Header compacts in stages so the logo, phone and menu button always fit. */
  @media (max-width: 980px) {
    .site-cta .btn { display: none; }
  }

  @media (max-width: 760px) {
    .logo .glyph { width: 34px; height: 34px; }
    .logo.has-img .logo-img { width: 34px; height: 34px; }
    .logo b { font-size: 15px; white-space: normal; max-width: 16ch; }
    .logo i { display: none; }
    .site .wrap { padding-block: 14px; gap: 12px; }
    .site-cta { gap: 12px; }
    .site-cta .tel { font-size: 16px; }
  }

  @media (max-width: 430px) {
    .site-cta .tel { display: none; }
  }

  @media (max-width: 1080px) {
    .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews-head { justify-content: flex-start; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }

  @media (max-width: 860px) {
    .split { grid-template-columns: 1fr; gap: 22px; }
    .split > .head h2 { max-width: 22ch; }
    .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stats { grid-template-columns: 1fr; grid-template-rows: none; }
    .stats-shot { grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
    .quote-grid { grid-template-columns: 1fr; }
    .media--hero { aspect-ratio: 4 / 3; }
  }

  @media (max-width: 700px) {
    .tablewrap { overflow-x: visible; padding-inline: 20px; }
    table { min-width: 0; }
    caption { padding: 16px 0 4px; }
    thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    tbody tr { display: block; padding: 17px 0; border-bottom: 1px solid var(--line-2); }
    tbody tr:last-child { border-bottom: 0; }
    tbody th, tbody td.num { display: block; border: 0; padding: 0; text-align: left; }
    tbody th { font-size: 15.5px; font-weight: 500; }
    td.num { margin-top: 7px; font-size: 16px; color: var(--brand); }
    .guides { grid-template-columns: 1fr; gap: 0; }
    .guides article { border-left: 0; border-bottom: 1px solid var(--line); padding: 24px 0 26px; }
    .guides article:last-child { border-bottom: 0; }
    .reviews { grid-template-columns: 1fr; }
    .steps {
      grid-template-columns: 1fr;
      gap: 0;
      margin-top: 32px;
    }
    .steps li {
      border-top: 0;
      border-bottom: 1px solid var(--line);
      padding: 20px 0;
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 2px 12px;
      align-items: baseline;
    }
    .steps li:last-child { border-bottom: 0; }
    .steps .n { grid-row: 1 / 3; margin: 0; font-size: 24px; }
    .steps p { grid-column: 2; margin-top: 6px; }
  }

  @media (max-width: 640px) {
    .hero-proof { gap: 16px 0; margin-top: 26px; padding-top: 22px; }
    .hero-proof .sep { display: none; }
    .hero-proof ul {
      flex-basis: 100%;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px 14px;
      font-size: 14px;
    }
    .floatcta { display: none; }
    .callbar {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      position: fixed;
      left: 0; right: 0; bottom: 0;
      z-index: 50;
      background: var(--paper);
      border-top: 1px solid var(--line);
      padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    }
    .callbar .btn { justify-content: center; padding-block: 15px; font-size: 14.5px; }
    body { padding-bottom: 84px; }
    h1 { font-size: clamp(2.1rem, 8.6vw, 3rem); }
    .hero .sub { font-size: 16.5px; }
  }

  @media (max-width: 560px) {
    .scope { grid-template-columns: 1fr; }
    .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fields { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { width: 100%; justify-content: center; padding-block: 16px; }
    .trust li { font-size: 12.5px; }
  }

  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
  }

/* ---------------- WordPress admin bar ---------------- */
/* The admin bar is fixed at the top for logged-in users and would otherwise
   sit on top of the sticky header. */
.admin-bar .site { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media screen and (max-width: 782px) {
  .admin-bar .site { top: calc(46px + env(safe-area-inset-top, 0px)); }
}
@media screen and (max-width: 600px) {
  /* Below 600px WordPress un-fixes the admin bar, so the header goes back to 0. */
  .admin-bar .site { top: env(safe-area-inset-top, 0px); }
}

/* Anchor targets clear the sticky header instead of hiding under it. */
:target,
section[id],
main [id] { scroll-margin-top: 104px; }
.admin-bar section[id],
.admin-bar main [id] { scroll-margin-top: 136px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------------- article layout with side CTA ---------------- */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.post-aside { position: sticky; top: 118px; }
.admin-bar .post-aside { top: 150px; }

.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 22px 26px;
}
.cta-card h2 {
  font-size: 1.1rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.cta-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.cta-card .tel {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--brand);
}
.cta-card .tel .ico { width: 15px; height: 15px; fill: currentColor; flex: 0 0 auto; }
.cta-card .tel:hover { color: var(--brand-deep); }
.cta-card .btn { margin-top: 16px; width: 100%; justify-content: center; }
.cta-card .note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

@media (max-width: 1000px) {
  .post-layout { grid-template-columns: 1fr; gap: 44px; }
  .post-aside { position: static; }
  .cta-card { max-width: 460px; }
}

/* ---------------- blog thumbnails ---------------- */
.guides .thumb {
  display: block;
  margin-bottom: 18px;
  border-radius: var(--r-s);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--slot);
  border: 1px solid var(--slot-line);
}
.guides .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guides article:hover .thumb img { opacity: 0.94; }

/* ---------------- WordPress core classes ---------------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* ---------------- editorial pages and posts ---------------- */
.entry { max-width: 74ch; }
.entry > * + * { margin-top: 20px; }
.entry h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 44px; }
.entry h3 { margin-top: 32px; }
.entry p, .entry li { color: var(--ink-2); font-size: 16.5px; }
.entry ul, .entry ol { padding-left: 22px; }
.entry li + li { margin-top: 8px; }
.entry a { color: var(--brand); text-underline-offset: 3px; }
.entry img { border-radius: var(--r); height: auto; }
.entry blockquote {
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  color: var(--ink-2);
}
.entry code, .entry pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}
.entry pre {
  background: var(--band);
  padding: 18px 20px;
  border-radius: var(--r-s);
  overflow-x: auto;
}
.entry table { width: 100%; }

.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(44px, 6vw, 80px) clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 20ch; }
.page-head .meta { margin-top: 16px; font-size: 14.5px; color: var(--ink-3); }

.crumbs { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); text-underline-offset: 3px; }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}
.pager .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.pager .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }

.notice {
  border-left: 3px solid var(--accent);
  background: var(--band);
  padding: 14px 18px;
  border-radius: var(--r-s);
  font-size: 15px;
  margin-bottom: 22px;
}
.notice--error { border-left-color: #C8371F; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }