/*
Theme Name: Yellow Brick Road
Theme URI: https://yellowbrickroad.com.au/
Author: Apex Strategy
Description: Lightweight custom WordPress theme for Yellow Brick Road carpet, rug, upholstery, leather, tile and grout cleaning. Designed for editor-controlled HTML layouts with optional page and post sidebars.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: yellow-brick-road
*/


    /* Core Yellow Brick Road design system */

    :root {
      --ybr-yellow: #ffc627;
      --ybr-yellow-light: #fff1b9;
      --ybr-yellow-soft: #fffaf0;
      --ybr-ink: #171514;
      --ybr-charcoal: #242120;
      --ybr-muted: #68625f;
      --ybr-line: #e7e1da;
      --ybr-white: #ffffff;
      --ybr-green: #315f4b;
      --ybr-shadow: 0 20px 55px rgba(27, 24, 21, .12);
      --ybr-shadow-soft: 0 12px 34px rgba(27, 24, 21, .08);
      --ybr-radius: 22px;
      --ybr-max: 1200px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      color: var(--ybr-ink);
      background: var(--ybr-white);
      font-family: "Manrope", Arial, sans-serif;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }

    .ybr-container {
      width: min(calc(100% - 40px), var(--ybr-max));
      margin-inline: auto;
    }

    .ybr-icon {
      width: 22px;
      height: 22px;
      flex: 0 0 22px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .ybr-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 15px;
      color: #765900;
      font-size: .77rem;
      font-weight: 800;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .ybr-eyebrow::before {
      content: "";
      width: 30px;
      height: 3px;
      border-radius: 99px;
      background: var(--ybr-yellow);
    }

    .ybr-btn {
      display: inline-flex;
      min-height: 52px;
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 13px 22px;
      border: 2px solid transparent;
      border-radius: 999px;
      background: var(--ybr-yellow);
      color: var(--ybr-ink);
      font-weight: 800;
      line-height: 1.2;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .ybr-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 25px rgba(255, 198, 39, .27);
    }

    .ybr-btn-dark { background: var(--ybr-ink); color: var(--ybr-white); }
    .ybr-btn-outline { border-color: rgba(255,255,255,.45); background: transparent; color: var(--ybr-white); }
    .ybr-btn-outline:hover { background: var(--ybr-white); color: var(--ybr-ink); box-shadow: none; }

    /* Top strip */
    .ybr-top-strip {
      background: var(--ybr-yellow);
      color: var(--ybr-ink);
      font-size: .87rem;
      font-weight: 700;
    }

    .ybr-top-strip .ybr-container {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .ybr-top-strip p { margin: 0; }
    .ybr-top-strip a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

    /* Header */
    .ybr-site-header {
      position: sticky;
      z-index: 50;
      top: 0;
      background: rgba(23, 21, 20, .97);
      border-bottom: 1px solid rgba(255,255,255,.09);
      backdrop-filter: blur(12px);
    }

    .ybr-nav-wrap {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .ybr-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
    .ybr-logo img { width: 238px; max-height: 66px; object-fit: contain; }
    .ybr-nav-toggle { display: none; }
    .ybr-nav-toggle-label { display: none; color: var(--ybr-white); cursor: pointer; }

    .ybr-main-nav {
      display: flex;
      align-items: center;
      gap: 26px;
      color: rgba(255,255,255,.84);
      font-size: .92rem;
      font-weight: 700;
    }

    .ybr-main-nav a:not(.ybr-btn):hover,
    .ybr-main-nav a[aria-current="page"] { color: var(--ybr-yellow); }
    .ybr-main-nav .ybr-btn { min-height: 46px; padding: 11px 18px; color: var(--ybr-ink); }

    /* Internal hero */
    .ybr-page-hero {
      position: relative;
      overflow: hidden;
      background: var(--ybr-ink);
      color: var(--ybr-white);
    }

    .ybr-page-hero::before {
      content: "";
      position: absolute;
      width: 450px;
      height: 450px;
      left: -238px;
      bottom: -300px;
      border: 66px solid var(--ybr-yellow);
      border-radius: 50%;
    }

    .ybr-page-hero-grid {
      position: relative;
      z-index: 1;
      min-height: 490px;
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      align-items: stretch;
    }

    .ybr-page-hero-copy {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 70px 62px 72px 0;
    }

    .ybr-breadcrumbs {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 22px;
      color: rgba(255,255,255,.58);
      font-size: .8rem;
      font-weight: 700;
    }

    .ybr-breadcrumbs a:hover { color: var(--ybr-yellow); }
    .ybr-breadcrumbs span[aria-current="page"] { color: rgba(255,255,255,.86); }

    .ybr-page-hero .ybr-eyebrow { color: var(--ybr-yellow); }
    .ybr-page-hero-copy h1 {
      max-width: 720px;
      margin: 0 0 20px;
      font-family: "Playfair Display", Georgia, serif;
      font-size: 50px;
      line-height: .99;
      letter-spacing: -.04em;
    }

    .ybr-page-hero-copy h1 em { color: var(--ybr-yellow); }
    .ybr-page-hero-copy > p:not(.ybr-eyebrow) {
      max-width: 680px;
      margin: 0 0 28px;
      color: rgba(255,255,255,.73);
      font-size: clamp(1rem, 1.6vw, 1.15rem);
    }

    .ybr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

    .ybr-page-hero-image {
      position: relative;
      min-height: 490px;
    }

    .ybr-page-hero-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, var(--ybr-ink), rgba(23,21,20,.08) 34%);
    }

    .ybr-page-hero-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .ybr-hero-stat {
      position: absolute;
      z-index: 2;
      right: 30px;
      bottom: 30px;
      max-width: 205px;
      padding: 19px 21px;
      border-radius: 18px;
      background: var(--ybr-yellow);
      color: var(--ybr-ink);
      box-shadow: var(--ybr-shadow);
    }

    .ybr-hero-stat strong {
      display: block;
      font-family: "Playfair Display", Georgia, serif;
      font-size: 1.85rem;
      line-height: 1;
    }

    .ybr-hero-stat span { display: block; margin-top: 5px; font-size: .78rem; font-weight: 800; line-height: 1.35; }

    /* Trust strip */
    .ybr-trust-strip { background: var(--ybr-yellow-soft); border-bottom: 1px solid #f0e3b7; }
    .ybr-trust-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }

    .ybr-trust-item {
      min-height: 96px;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 20px 22px;
      border-right: 1px solid #eadcae;
    }

    .ybr-trust-item:last-child { border-right: 0; }
    .ybr-trust-mark {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      flex: 0 0 38px;
      border-radius: 50%;
      background: var(--ybr-yellow);
    }

    .ybr-trust-item strong { display: block; font-size: .89rem; line-height: 1.3; }
    .ybr-trust-item small { display: block; color: var(--ybr-muted); line-height: 1.3; }

    /* Main internal content */
    .ybr-main-section { padding: 92px 0 102px; }
    .ybr-content-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 350px;
      gap: 70px;
      align-items: start;
    }

    .ybr-content h2,
    .ybr-band-copy h2,
    .ybr-related-heading h2 {
      margin: 0 0 18px;
      font-family: "Playfair Display", Georgia, serif;
      font-size: clamp(2.05rem, 4vw, 3.25rem);
      line-height: 1.08;
      letter-spacing: -.025em;
    }

    .ybr-content h3 {
      margin: 34px 0 12px;
      font-size: 1.28rem;
      line-height: 1.3;
    }

    .ybr-content p { margin: 0 0 20px; color: #4d4845; }
    .ybr-content > p:first-of-type { font-size: 1.13rem; color: var(--ybr-ink); }
    .ybr-content a:not(.ybr-btn) { color: #7a5b00; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

    .ybr-lead-image {
      width: 100%;
      height: 420px;
      margin: 32px 0 39px;
      object-fit: cover;
      border-radius: var(--ybr-radius);
      box-shadow: var(--ybr-shadow-soft);
    }

    .ybr-check-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 15px;
      margin: 28px 0 38px;
    }

    .ybr-check-item {
      display: grid;
      grid-template-columns: 40px 1fr;
      gap: 13px;
      align-items: start;
      padding: 18px;
      border: 1px solid var(--ybr-line);
      border-radius: 16px;
      background: var(--ybr-white);
    }

    .ybr-check-icon {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: var(--ybr-yellow);
    }

    .ybr-check-item strong { display: block; margin-bottom: 3px; line-height: 1.3; }
    .ybr-check-item p { margin: 0; color: var(--ybr-muted); font-size: .88rem; line-height: 1.55; }

    .ybr-callout {
      position: relative;
      overflow: hidden;
      margin: 40px 0;
      padding: 34px 38px;
      border-radius: var(--ybr-radius);
      background: var(--ybr-ink);
      color: var(--ybr-white);
    }

    .ybr-callout::after {
      content: "";
      position: absolute;
      width: 190px;
      height: 190px;
      right: -80px;
      bottom: -110px;
      border: 30px solid var(--ybr-yellow);
      border-radius: 50%;
      opacity: .9;
    }

    .ybr-callout > * { position: relative; z-index: 1; }
    .ybr-callout h3 { margin: 0 0 9px; font-family: "Playfair Display", Georgia, serif; font-size: 1.72rem; }
    .ybr-callout p { max-width: 610px; margin: 0 0 20px; color: rgba(255,255,255,.69); }

    .ybr-process-list {
      counter-reset: ybr-process;
      display: grid;
      gap: 16px;
      margin: 28px 0 42px;
    }

    .ybr-process-row {
      counter-increment: ybr-process;
      display: grid;
      grid-template-columns: 58px 1fr;
      gap: 18px;
      align-items: start;
      padding: 23px;
      border: 1px solid var(--ybr-line);
      border-radius: 17px;
      background: #fbfaf8;
    }

    .ybr-process-row::before {
      content: counter(ybr-process);
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--ybr-yellow);
      font-family: "Playfair Display", Georgia, serif;
      font-size: 1.35rem;
      font-weight: 700;
    }

    .ybr-process-row h3 { margin: 3px 0 5px; font-size: 1.05rem; }
    .ybr-process-row p { margin: 0; color: var(--ybr-muted); font-size: .92rem; }

    /* Sidebar */
    .ybr-sidebar {
      position: sticky;
      top: 112px;
      display: grid;
      gap: 22px;
    }

    .ybr-sidebar-card {
      padding: 28px;
      border: 1px solid var(--ybr-line);
      border-radius: var(--ybr-radius);
      background: var(--ybr-white);
      box-shadow: var(--ybr-shadow-soft);
    }

    .ybr-sidebar-card.ybr-quote-card {
      border-color: transparent;
      background: var(--ybr-yellow);
    }

    .ybr-sidebar-card h2,
    .ybr-sidebar-card h3 {
      margin: 0 0 10px;
      font-family: "Playfair Display", Georgia, serif;
      line-height: 1.12;
    }

    .ybr-sidebar-card h2 { font-size: 2rem; }
    .ybr-sidebar-card h3 { font-size: 1.35rem; }
    .ybr-sidebar-card > p { margin: 0 0 20px; color: rgba(23,21,20,.7); font-size: .92rem; }

    .ybr-mini-form { display: grid; gap: 12px; }
    .ybr-field { display: grid; gap: 6px; }
    .ybr-field label { font-size: .78rem; font-weight: 800; }
    .ybr-field input,
    .ybr-field select,
    .ybr-field textarea {
      width: 100%;
      border: 1px solid #d6c783;
      border-radius: 11px;
      background: rgba(255,255,255,.9);
      color: var(--ybr-ink);
      outline: none;
    }

    .ybr-field input,
    .ybr-field select { height: 49px; padding: 0 12px; }
    .ybr-field textarea { min-height: 93px; padding: 12px; resize: vertical; }
    .ybr-field input:focus,
    .ybr-field select:focus,
    .ybr-field textarea:focus { border-color: #8e6900; box-shadow: 0 0 0 4px rgba(255,255,255,.38); }
    .ybr-mini-form .ybr-btn { width: 100%; border-radius: 12px; }
    .ybr-form-note { margin: 0 !important; color: rgba(23,21,20,.58) !important; font-size: .7rem !important; }

    .ybr-phone-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-top: 17px;
      margin-top: 17px;
      border-top: 1px solid rgba(23,21,20,.16);
      font-size: 1.04rem;
      font-weight: 800;
    }

    .ybr-phone-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      flex: 0 0 42px;
      border-radius: 50%;
      background: var(--ybr-ink);
      color: var(--ybr-yellow);
    }

    .ybr-side-links { display: grid; gap: 3px; }
    .ybr-side-links a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 0;
      border-bottom: 1px solid var(--ybr-line);
      color: var(--ybr-muted);
      font-size: .91rem;
      font-weight: 700;
    }

    .ybr-side-links a:last-child { border-bottom: 0; }
    .ybr-side-links a:hover,
    .ybr-side-links a[aria-current="page"] { color: #7a5b00; }

    /* Full-width service band */
    .ybr-service-band { padding: 92px 0; background: #f7f4ef; }
    .ybr-band-grid {
      display: grid;
      grid-template-columns: .88fr 1.12fr;
      gap: 72px;
      align-items: center;
    }

    .ybr-band-image {
      position: relative;
      min-height: 490px;
    }

    .ybr-band-image img {
      width: 90%;
      height: 445px;
      object-fit: cover;
      border-radius: var(--ybr-radius);
      box-shadow: var(--ybr-shadow);
    }

    .ybr-band-image-card {
      position: absolute;
      right: 0;
      bottom: 0;
      width: 48%;
      padding: 24px;
      border: 8px solid #f7f4ef;
      border-radius: 21px;
      background: var(--ybr-yellow);
      box-shadow: var(--ybr-shadow-soft);
    }

    .ybr-band-image-card strong {
      display: block;
      margin-bottom: 3px;
      font-family: "Playfair Display", Georgia, serif;
      font-size: 1.8rem;
      line-height: 1;
    }

    .ybr-band-image-card span { font-size: .79rem; font-weight: 800; line-height: 1.35; }
    .ybr-band-copy > p { margin: 0 0 24px; color: var(--ybr-muted); }

    .ybr-stat-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 28px;
    }

    .ybr-stat {
      padding: 20px;
      border: 1px solid #e2dbd2;
      border-radius: 15px;
      background: var(--ybr-white);
    }

    .ybr-stat strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 1.7rem; line-height: 1; }
    .ybr-stat span { display: block; margin-top: 5px; color: var(--ybr-muted); font-size: .78rem; font-weight: 700; line-height: 1.35; }

    /* FAQs */
    .ybr-faq-section { padding: 96px 0; }
    .ybr-faq-grid {
      display: grid;
      grid-template-columns: .62fr 1.38fr;
      gap: 70px;
      align-items: start;
    }

    .ybr-faq-intro h2 {
      margin: 0 0 16px;
      font-family: "Playfair Display", Georgia, serif;
      font-size: clamp(2.1rem, 4vw, 3.2rem);
      line-height: 1.08;
    }

    .ybr-faq-intro > p { margin: 0 0 24px; color: var(--ybr-muted); }
    .ybr-faq-list { display: grid; gap: 12px; }

    .ybr-faq-list details {
      border: 1px solid var(--ybr-line);
      border-radius: 15px;
      background: var(--ybr-white);
      box-shadow: 0 8px 22px rgba(27,24,21,.035);
    }

    .ybr-faq-list summary {
      position: relative;
      padding: 21px 58px 21px 22px;
      list-style: none;
      font-weight: 800;
      cursor: pointer;
    }

    .ybr-faq-list summary::-webkit-details-marker { display: none; }
    .ybr-faq-list summary::after {
      content: "+";
      position: absolute;
      top: 50%;
      right: 21px;
      width: 29px;
      height: 29px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--ybr-yellow);
      transform: translateY(-50%);
      font-size: 1.18rem;
    }

    .ybr-faq-list details[open] summary::after { content: "−"; }
    .ybr-faq-answer { padding: 0 22px 22px; color: var(--ybr-muted); }
    .ybr-faq-answer p { margin: 0; }

    /* Related services */
    .ybr-related { padding: 94px 0 102px; background: var(--ybr-ink); color: var(--ybr-white); }
    .ybr-related-heading { max-width: 750px; margin-bottom: 38px; }
    .ybr-related-heading .ybr-eyebrow { color: var(--ybr-yellow); }
    .ybr-related-heading p { margin: 0; color: rgba(255,255,255,.64); }

    .ybr-related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .ybr-related-card {
      position: relative;
      min-height: 360px;
      overflow: hidden;
      border-radius: var(--ybr-radius);
      background: #444;
    }

    .ybr-related-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15,14,13,.05), rgba(15,14,13,.9));
    }

    .ybr-related-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .45s ease;
    }

    .ybr-related-card:hover img { transform: scale(1.035); }
    .ybr-related-card-content {
      position: absolute;
      z-index: 2;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 26px;
    }

    .ybr-related-card h3 {
      margin: 0 0 6px;
      font-family: "Playfair Display", Georgia, serif;
      font-size: 1.65rem;
      line-height: 1.1;
    }

    .ybr-related-card p { margin: 0 0 13px; color: rgba(255,255,255,.68); font-size: .9rem; }
    .ybr-related-card a { color: var(--ybr-yellow); font-weight: 800; }

    /* Bottom CTA */
    .ybr-bottom-cta { padding: 78px 0; background: var(--ybr-yellow); }
    .ybr-bottom-cta-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 44px;
    }

    .ybr-bottom-cta h2 {
      max-width: 750px;
      margin: 0 0 10px;
      font-family: "Playfair Display", Georgia, serif;
      font-size: clamp(2.1rem, 4vw, 3.4rem);
      line-height: 1.06;
      letter-spacing: -.025em;
    }

    .ybr-bottom-cta p { max-width: 730px; margin: 0; color: rgba(23,21,20,.68); }
    .ybr-bottom-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px; flex: 0 0 auto; }
    .ybr-bottom-actions .ybr-btn:last-child { background: transparent; border-color: rgba(23,21,20,.35); }

    /* Footer */
    .ybr-site-footer { padding: 58px 0 26px; background: var(--ybr-charcoal); color: var(--ybr-white); }
    .ybr-footer-grid {
      display: grid;
      grid-template-columns: 1.3fr .7fr .9fr;
      gap: 54px;
      padding-bottom: 42px;
    }

    .ybr-footer-brand img { width: 265px; margin-bottom: 18px; }
    .ybr-footer-brand p { max-width: 430px; margin: 0; color: rgba(255,255,255,.62); }
    .ybr-footer-col h3 { margin: 5px 0 17px; font-size: 1rem; }
    .ybr-footer-links { display: grid; gap: 9px; color: rgba(255,255,255,.66); font-size: .92rem; }
    .ybr-footer-links a:hover { color: var(--ybr-yellow); }
    .ybr-footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,.1);
      color: rgba(255,255,255,.48);
      font-size: .8rem;
    }

    .ybr-mobile-actions { display: none; }

    @media (max-width: 1050px) {
      .ybr-main-nav { gap: 17px; }
      .ybr-main-nav a:not(.ybr-btn) { display: none; }
      .ybr-page-hero-grid { grid-template-columns: 1fr .8fr; }
      .ybr-page-hero-copy { padding-right: 36px; }
      .ybr-trust-row { grid-template-columns: repeat(2, 1fr); }
      .ybr-trust-item:nth-child(2) { border-right: 0; }
      .ybr-trust-item:nth-child(-n+2) { border-bottom: 1px solid #eadcae; }
      .ybr-content-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; }
      .ybr-band-grid { gap: 46px; }
    }

    @media (max-width: 820px) {
      body { padding-bottom: 66px; }
      .ybr-top-strip .ybr-container { justify-content: center; text-align: center; }
      .ybr-top-strip p:last-child { display: none; }
      .ybr-nav-wrap { min-height: 74px; }
      .ybr-logo img { width: 205px; }
      .ybr-main-nav .ybr-btn { display: none; }
      .ybr-nav-toggle-label { display: block; }
      .ybr-nav-toggle-label .ybr-icon { width: 30px; height: 30px; }
      .ybr-main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 22px;
        background: var(--ybr-ink);
        border-top: 1px solid rgba(255,255,255,.1);
      }
      .ybr-main-nav a:not(.ybr-btn) { display: block; padding: 11px 0; }
      .ybr-nav-toggle:checked ~ .ybr-main-nav { display: flex; }

      .ybr-page-hero-grid { min-height: auto; grid-template-columns: 1fr; }
      .ybr-page-hero-copy { padding: 62px 0 50px; }
      .ybr-page-hero-image { min-height: 390px; margin-inline: -20px; }
      .ybr-page-hero-image::after { background: linear-gradient(180deg, var(--ybr-ink), rgba(23,21,20,0) 25%); }

      .ybr-main-section { padding: 76px 0 82px; }
      .ybr-content-layout { grid-template-columns: 1fr; gap: 50px; }
      .ybr-sidebar { position: static; grid-template-columns: 1fr 1fr; }
      .ybr-quote-card { grid-row: span 2; }
      .ybr-band-grid,
      .ybr-faq-grid { grid-template-columns: 1fr; }
      .ybr-band-image { min-height: 455px; }
      .ybr-band-copy { order: -1; }
      .ybr-related-grid { grid-template-columns: 1fr 1fr; }
      .ybr-related-card:last-child { grid-column: 1 / -1; min-height: 320px; }
      .ybr-bottom-cta-inner { align-items: flex-start; flex-direction: column; }
      .ybr-bottom-actions { justify-content: flex-start; }
      .ybr-footer-grid { grid-template-columns: 1fr 1fr; }
      .ybr-footer-brand { grid-column: 1 / -1; }

      .ybr-mobile-actions {
        position: fixed;
        z-index: 100;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 66px;
        box-shadow: 0 -8px 30px rgba(0,0,0,.18);
      }

      .ybr-mobile-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 12px;
        background: var(--ybr-ink);
        color: var(--ybr-white);
        font-weight: 800;
      }

      .ybr-mobile-actions a:last-child { background: var(--ybr-yellow); color: var(--ybr-ink); }
    }

    @media (max-width: 590px) {
      .ybr-container { width: min(calc(100% - 28px), var(--ybr-max)); }
      .ybr-page-hero-copy h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
      .ybr-page-hero-image { min-height: 330px; margin-inline: -14px; }
      .ybr-hero-actions { display: grid; }
      .ybr-hero-actions .ybr-btn { width: 100%; }
      .ybr-hero-stat { right: 14px; bottom: 18px; max-width: 175px; }
      .ybr-trust-row { grid-template-columns: 1fr; }
      .ybr-trust-item,
      .ybr-trust-item:nth-child(2) { border-right: 0; border-bottom: 1px solid #eadcae; }
      .ybr-trust-item:last-child { border-bottom: 0; }
      .ybr-lead-image { height: 310px; }
      .ybr-check-grid { grid-template-columns: 1fr; }
      .ybr-callout { padding: 28px 25px; }
      .ybr-process-row { grid-template-columns: 48px 1fr; padding: 19px; }
      .ybr-process-row::before { width: 48px; height: 48px; }
      .ybr-sidebar { grid-template-columns: 1fr; }
      .ybr-quote-card { grid-row: auto; }
      .ybr-service-band,
      .ybr-faq-section,
      .ybr-related { padding: 76px 0; }
      .ybr-band-image { min-height: 400px; }
      .ybr-band-image img { width: 94%; height: 360px; }
      .ybr-band-image-card { width: 58%; padding: 20px; border-width: 6px; }
      .ybr-stat-grid { grid-template-columns: 1fr; }
      .ybr-related-grid { grid-template-columns: 1fr; }
      .ybr-related-card,
      .ybr-related-card:last-child { min-height: 345px; grid-column: auto; }
      .ybr-bottom-actions { display: grid; width: 100%; }
      .ybr-bottom-actions .ybr-btn { width: 100%; }
      .ybr-footer-grid { grid-template-columns: 1fr; gap: 32px; }
      .ybr-footer-brand { grid-column: auto; }
      .ybr-footer-bottom { flex-direction: column; }
    }
  

/* Homepage layout, fully namespaced */

    .ybr-home-layout{
      --yellow: #ffc627;
      --yellow-light: #fff4c9;
      --yellow-soft: #fffaf0;
      --ink: #171514;
      --charcoal: #242120;
      --muted: #68625f;
      --line: #e8e3dc;
      --white: #ffffff;
      --green: #315f4b;
      --shadow: 0 20px 55px rgba(27, 24, 21, .12);
      --radius: 22px;
      --max-width: 1200px;
    }

    .ybr-home-layout, .ybr-home-layout *{ box-sizing: border-box; }
    .ybr-home-layout{ scroll-behavior: smooth; }
    .ybr-home-layout{
      margin: 0;
      color: var(--ink);
      background: var(--white);
      font-family: "Manrope", Arial, sans-serif;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    .ybr-home-layout img{ display: block; max-width: 100%; }
    .ybr-home-layout a{ color: inherit; text-decoration: none; }
    .ybr-home-layout button, .ybr-home-layout input, .ybr-home-layout select, .ybr-home-layout textarea{ font: inherit; }
    .ybr-home-layout section{ scroll-margin-top: 92px; }

    .ybr-home-layout .ybr-home-container{
      width: min(calc(100% - 40px), var(--max-width));
      margin-inline: auto;
    }

    .ybr-home-layout .ybr-home-eyebrow{
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 16px;
      color: #7a5b00;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .ybr-home-layout .ybr-home-eyebrow::before{
      content: "";
      width: 30px;
      height: 3px;
      border-radius: 99px;
      background: var(--yellow);
    }

    .ybr-home-layout .ybr-home-section-heading{
      max-width: 760px;
      margin-bottom: 44px;
    }

    .ybr-home-layout .ybr-home-section-heading h2, .ybr-home-layout .ybr-home-split-copy h2, .ybr-home-layout .ybr-home-quote-copy h2{
      margin: 0 0 16px;
      font-family: "Playfair Display", Georgia, serif;
      font-size: clamp(2.15rem, 4vw, 3.45rem);
      line-height: 1.08;
      letter-spacing: -.025em;
    }

    .ybr-home-layout .ybr-home-section-heading p, .ybr-home-layout .ybr-home-split-copy > p, .ybr-home-layout .ybr-home-quote-copy > p{
      max-width: 690px;
      margin: 0;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .ybr-home-layout .ybr-home-btn{
      display: inline-flex;
      min-height: 52px;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 13px 22px;
      border: 2px solid transparent;
      border-radius: 999px;
      background: var(--yellow);
      color: var(--ink);
      font-weight: 800;
      line-height: 1.2;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
      cursor: pointer;
    }

    .ybr-home-layout .ybr-home-btn:hover{ transform: translateY(-2px); box-shadow: 0 12px 25px rgba(255, 198, 39, .27); }
    .ybr-home-layout .ybr-home-btn-dark{ background: var(--ink); color: var(--white); }
    .ybr-home-layout .ybr-home-btn-outline{ border-color: rgba(255,255,255,.45); background: transparent; color: var(--white); }
    .ybr-home-layout .ybr-home-btn-outline:hover{ background: var(--white); color: var(--ink); box-shadow: none; }

    .ybr-home-layout .ybr-home-icon{
      width: 22px;
      height: 22px;
      flex: 0 0 22px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Top strip */
    .ybr-home-layout .ybr-home-top-strip{
      background: var(--yellow);
      color: var(--ink);
      font-size: .88rem;
      font-weight: 700;
    }

    .ybr-home-layout .ybr-home-top-strip .ybr-home-container{
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .ybr-home-layout .ybr-home-top-strip p{ margin: 0; }
    .ybr-home-layout .ybr-home-top-strip a{ font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

    /* Header */
    .ybr-home-layout .ybr-home-site-header{
      position: sticky;
      z-index: 50;
      top: 0;
      background: rgba(23, 21, 20, .96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,.09);
    }

    .ybr-home-layout .ybr-home-nav-wrap{
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .ybr-home-layout .ybr-home-logo{
      display: inline-flex;
      align-items: center;
      flex: 0 0 auto;
    }

    .ybr-home-layout .ybr-home-logo img{
      width: 238px;
      height: auto;
      max-height: 66px;
      object-fit: contain;
    }

    .ybr-home-layout .ybr-home-nav-toggle{ display: none; }
    .ybr-home-layout .ybr-home-nav-toggle-label{ display: none; color: var(--white); cursor: pointer; }

    .ybr-home-layout .ybr-home-main-nav{
      display: flex;
      align-items: center;
      gap: 29px;
      color: rgba(255,255,255,.83);
      font-size: .93rem;
      font-weight: 700;
    }

    .ybr-home-layout .ybr-home-main-nav a:not(.ybr-home-btn):hover{ color: var(--yellow); }
    .ybr-home-layout .ybr-home-main-nav .ybr-home-btn{ min-height: 46px; padding: 11px 18px; color: var(--ink); }

    /* Hero */
    .ybr-home-layout .ybr-home-hero{
      position: relative;
      overflow: hidden;
      color: var(--white);
      background: var(--ink);
    }

    .ybr-home-layout .ybr-home-hero::before{
      content: "";
      position: absolute;
      z-index: 0;
      width: 620px;
      height: 620px;
      left: -280px;
      bottom: -375px;
      border: 86px solid var(--yellow);
      border-radius: 50%;
      opacity: .26;
    }

    .ybr-home-layout .ybr-home-hero-grid{
      position: relative;
      z-index: 1;
      min-height: 690px;
      display: grid;
      grid-template-columns: 1.03fr .97fr;
      align-items: stretch;
    }

    .ybr-home-layout .ybr-home-hero-copy{
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 84px 64px 80px 0;
    }

    .ybr-home-layout .ybr-home-hero-copy .ybr-home-eyebrow{ color: var(--yellow); }
    .ybr-home-layout .ybr-home-hero-copy h1{
      max-width: 720px;
      margin: 0 0 22px;
      font-family: "Playfair Display", Georgia, serif;
      font-size: 60px;
      line-height: .98;
      letter-spacing: -.045em;
    }

    .ybr-home-layout .ybr-home-hero-copy h1 em{ color: var(--yellow); font-weight: 700; }
    .ybr-home-layout .ybr-home-hero-copy > p{
      max-width: 650px;
      margin: 0 0 30px;
      color: rgba(255,255,255,.74);
      font-size: 16px;
    }

    .ybr-home-layout .ybr-home-hero-actions{ display: flex; flex-wrap: wrap; gap: 12px; }

    .ybr-home-layout .ybr-home-hero-trust{
      display: flex;
      flex-wrap: wrap;
      gap: 14px 24px;
      margin-top: 34px;
      color: rgba(255,255,255,.83);
      font-size: .88rem;
      font-weight: 700;
    }

    .ybr-home-layout .ybr-home-hero-trust span{ display: inline-flex; align-items: center; gap: 8px; }
    .ybr-home-layout .ybr-home-hero-trust svg{ color: var(--yellow); }

    .ybr-home-layout .ybr-home-hero-visual{
      position: relative;
      min-height: 690px;
    }

    .ybr-home-layout .ybr-home-hero-visual::after{
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, var(--ink) 0%, rgba(23,21,20,.12) 26%, rgba(23,21,20,.1) 100%);
      pointer-events: none;
    }

    .ybr-home-layout .ybr-home-hero-visual img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 52% center;
    }

    .ybr-home-layout .ybr-home-hero-badge{
      position: absolute;
      z-index: 2;
      right: 34px;
      bottom: 32px;
      width: 168px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      padding: 21px;
      border-radius: 50%;
      background: var(--yellow);
      color: var(--ink);
      text-align: center;
      box-shadow: var(--shadow);
      transform: rotate(5deg);
    }

    .ybr-home-layout .ybr-home-hero-badge strong{ display: block; font-family: "Playfair Display", Georgia, serif; font-size: 2rem; line-height: 1; }
    .ybr-home-layout .ybr-home-hero-badge span{ display: block; margin-top: 5px; font-size: .74rem; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: .06em; }

    /* Trust bar */
    .ybr-home-layout .ybr-home-trust-bar{ background: var(--yellow-soft); border-bottom: 1px solid #f1e4b9; }
    .ybr-home-layout .ybr-home-trust-grid{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }

    .ybr-home-layout .ybr-home-trust-item{
      min-height: 122px;
      display: flex;
      align-items: center;
      gap: 15px;
      padding: 24px 25px;
      border-right: 1px solid #eadcae;
    }

    .ybr-home-layout .ybr-home-trust-item:last-child{ border-right: 0; }
    .ybr-home-layout .ybr-home-trust-icon{
      width: 47px;
      height: 47px;
      display: grid;
      place-items: center;
      flex: 0 0 47px;
      border-radius: 50%;
      background: var(--yellow);
    }

    .ybr-home-layout .ybr-home-trust-item strong{ display: block; font-size: .96rem; line-height: 1.25; }
    .ybr-home-layout .ybr-home-trust-item small{ display: block; margin-top: 3px; color: var(--muted); line-height: 1.35; }

    /* Services */
    .ybr-home-layout .ybr-home-services{ padding: 108px 0; }
    .ybr-home-layout .ybr-home-services .ybr-home-section-heading{ text-align: center; margin-inline: auto; }
    .ybr-home-layout .ybr-home-services .ybr-home-section-heading p{ margin-inline: auto; }

    .ybr-home-layout .ybr-home-services-grid{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .ybr-home-layout .ybr-home-service-card{
      position: relative;
      max-height: 340px;
      overflow: hidden;
      border-radius: var(--radius);
      background: #ddd;
      box-shadow: 0 12px 35px rgba(33, 29, 25, .10);
    }

    .ybr-home-layout .ybr-home-service-card::after{
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(18,16,15,.03) 18%, rgba(18,16,15,.9) 100%);
    }

    .ybr-home-layout .ybr-home-service-card img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .55s ease;
    }

    .ybr-home-layout .ybr-home-service-card:hover img{ transform: scale(1.035); }

    .ybr-home-layout .ybr-home-service-content{
      position: absolute;
      z-index: 2;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 36px;
      color: var(--white);
    }

    .ybr-home-layout .ybr-home-service-number{ color: var(--yellow); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
    .ybr-home-layout .ybr-home-service-content h3{
      margin: 7px 0 9px;
      font-family: "Playfair Display", Georgia, serif;
      font-size: clamp(1.85rem, 3vw, 2.55rem);
      line-height: 1.05;
    }
    .ybr-home-layout .ybr-home-service-content p{ max-width: 520px; margin: 0 0 18px; color: rgba(255,255,255,.78); }
    .ybr-home-layout .ybr-home-service-link{ display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 800; }

    /* About */
    .ybr-home-layout .ybr-home-about{ padding: 108px 0; background: #f7f4ef; }
    .ybr-home-layout .ybr-home-split-grid{
      display: grid;
      grid-template-columns: .92fr 1.08fr;
      gap: 76px;
      align-items: center;
    }

    .ybr-home-layout .ybr-home-image-stack{ position: relative; min-height: 590px; }
    .ybr-home-layout .ybr-home-image-stack .ybr-home-main-img{
      width: 83%;
      height: 520px;
      object-fit: cover;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }
    .ybr-home-layout .ybr-home-image-stack .ybr-home-small-img{
      position: absolute;
      right: 0;
      bottom: 0;
      width: 48%;
      height: 255px;
      object-fit: cover;
      border: 10px solid #f7f4ef;
      border-radius: 22px;
      box-shadow: var(--shadow);
    }

    .ybr-home-layout .ybr-home-feature-list{ display: grid; gap: 17px; margin: 28px 0 32px; }
    .ybr-home-layout .ybr-home-feature{
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 14px;
      align-items: start;
    }
    .ybr-home-layout .ybr-home-feature-icon{
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      background: var(--yellow);
    }
    .ybr-home-layout .ybr-home-feature strong{ display: block; margin-top: 1px; }
    .ybr-home-layout .ybr-home-feature p{ margin: 2px 0 0; color: var(--muted); font-size: .92rem; }

    /* Process */
    .ybr-home-layout .ybr-home-process{ padding: 105px 0; background: var(--ink); color: var(--white); }
    .ybr-home-layout .ybr-home-process .ybr-home-section-heading p{ color: rgba(255,255,255,.65); }
    .ybr-home-layout .ybr-home-process .ybr-home-eyebrow{ color: var(--yellow); }

    .ybr-home-layout .ybr-home-process-grid{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .ybr-home-layout .ybr-home-process-card{
      position: relative;
      padding: 34px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: var(--radius);
      background: rgba(255,255,255,.045);
    }
    .ybr-home-layout .ybr-home-process-card::before{
      content: attr(data-step);
      display: grid;
      place-items: center;
      width: 54px;
      height: 54px;
      margin-bottom: 24px;
      border-radius: 50%;
      background: var(--yellow);
      color: var(--ink);
      font-family: "Playfair Display", Georgia, serif;
      font-size: 1.35rem;
      font-weight: 700;
    }
    .ybr-home-layout .ybr-home-process-card h3{ margin: 0 0 9px; font-size: 1.2rem; }
    .ybr-home-layout .ybr-home-process-card p{ margin: 0; color: rgba(255,255,255,.65); }

    /* Testimonials */
    .ybr-home-layout .ybr-home-testimonials{ padding: 108px 0; }
    .ybr-home-layout .ybr-home-testimonials .ybr-home-section-heading{ text-align: center; margin-inline: auto; }
    .ybr-home-layout .ybr-home-testimonials .ybr-home-section-heading p{ margin-inline: auto; }

    .ybr-home-layout .ybr-home-reviews-grid{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .ybr-home-layout .ybr-home-review{
      display: flex;
      flex-direction: column;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
      box-shadow: 0 12px 30px rgba(30, 26, 22, .055);
    }
    .ybr-home-layout .ybr-home-stars{ color: #e9a900; letter-spacing: 3px; font-size: 1rem; }
    .ybr-home-layout .ybr-home-review blockquote{
      margin: 20px 0 26px;
      color: #393431;
      font-family: "Playfair Display", Georgia, serif;
      font-size: 1.18rem;
      line-height: 1.55;
    }
    .ybr-home-layout .ybr-home-review footer{ margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
    .ybr-home-layout .ybr-home-review strong{ display: block; }
    .ybr-home-layout .ybr-home-review span{ color: var(--muted); font-size: .88rem; }

    /* Quote */
    .ybr-home-layout .ybr-home-quote-section{ padding: 108px 0; background: var(--yellow); }
    .ybr-home-layout .ybr-home-quote-grid{
      display: grid;
      grid-template-columns: .82fr 1.18fr;
      gap: 62px;
      align-items: start;
    }

    .ybr-home-layout .ybr-home-quote-copy{ padding-top: 18px; }
    .ybr-home-layout .ybr-home-quote-copy .ybr-home-eyebrow{ color: var(--ink); }
    .ybr-home-layout .ybr-home-quote-copy .ybr-home-eyebrow::before{ background: var(--ink); }
    .ybr-home-layout .ybr-home-quote-copy > p{ color: rgba(23,21,20,.72); }

    .ybr-home-layout .ybr-home-contact-stack{ display: grid; gap: 14px; margin-top: 32px; }
    .ybr-home-layout .ybr-home-contact-item{
      display: flex;
      align-items: center;
      gap: 14px;
      font-weight: 700;
    }
    .ybr-home-layout .ybr-home-contact-item .ybr-home-icon-wrap{
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      flex: 0 0 46px;
      border-radius: 50%;
      background: var(--ink);
      color: var(--yellow);
    }

    .ybr-home-layout .ybr-home-quote-form{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 17px;
      padding: 34px;
      border-radius: 26px;
      background: var(--white);
      box-shadow: var(--shadow);
    }
    .ybr-home-layout .ybr-home-form-field{ display: grid; gap: 7px; }
    .ybr-home-layout .ybr-home-form-field.ybr-home-full{ grid-column: 1 / -1; }
    .ybr-home-layout label{ font-size: .84rem; font-weight: 800; }
    .ybr-home-layout input, .ybr-home-layout select, .ybr-home-layout textarea{
      width: 100%;
      border: 1px solid #dcd5cd;
      border-radius: 12px;
      background: #fcfbf9;
      color: var(--ink);
      outline: none;
      transition: border-color .2s ease, box-shadow .2s ease;
    }
    .ybr-home-layout input, .ybr-home-layout select{ height: 52px; padding: 0 14px; }
    .ybr-home-layout textarea{ min-height: 122px; padding: 13px 14px; resize: vertical; }
    .ybr-home-layout input:focus, .ybr-home-layout select:focus, .ybr-home-layout textarea:focus{ border-color: #b78900; box-shadow: 0 0 0 4px rgba(255,198,39,.2); }
    .ybr-home-layout .ybr-home-form-note{ grid-column: 1 / -1; margin: -3px 0 0; color: var(--muted); font-size: .76rem; }
    .ybr-home-layout .ybr-home-quote-form .ybr-home-btn{ grid-column: 1 / -1; width: 100%; border-radius: 12px; }

    /* Footer */
    .ybr-home-layout .ybr-home-site-footer{ padding: 58px 0 26px; background: var(--charcoal); color: var(--white); }
    .ybr-home-layout .ybr-home-footer-grid{
      display: grid;
      grid-template-columns: 1.3fr .7fr .9fr;
      gap: 54px;
      padding-bottom: 42px;
    }
    .ybr-home-layout .ybr-home-footer-brand img{ width: 265px; margin-bottom: 18px; }
    .ybr-home-layout .ybr-home-footer-brand p{ max-width: 430px; margin: 0; color: rgba(255,255,255,.62); }
    .ybr-home-layout .ybr-home-footer-col h3{ margin: 5px 0 17px; font-size: 1rem; }
    .ybr-home-layout .ybr-home-footer-links{ display: grid; gap: 9px; color: rgba(255,255,255,.66); font-size: .92rem; }
    .ybr-home-layout .ybr-home-footer-links a:hover{ color: var(--yellow); }
    .ybr-home-layout .ybr-home-footer-bottom{
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,.1);
      color: rgba(255,255,255,.48);
      font-size: .8rem;
    }

    .ybr-home-layout .ybr-home-mobile-call{ display: none; }

    @media (max-width: 1050px) {
      .ybr-home-layout .ybr-home-main-nav{ gap: 18px; }
      .ybr-home-layout .ybr-home-main-nav a:not(.ybr-home-btn){ display: none; }
      .ybr-home-layout .ybr-home-hero-grid{ grid-template-columns: 1fr .82fr; }
      .ybr-home-layout .ybr-home-hero-copy{ padding-right: 36px; }
      .ybr-home-layout .ybr-home-trust-grid{ grid-template-columns: repeat(2, 1fr); }
      .ybr-home-layout .ybr-home-trust-item:nth-child(2){ border-right: 0; }
      .ybr-home-layout .ybr-home-trust-item:nth-child(-n/**/+2){ border-bottom: 1px solid #eadcae; }
      .ybr-home-layout .ybr-home-split-grid{ gap: 45px; }
      .ybr-home-layout .ybr-home-reviews-grid{ grid-template-columns: 1fr 1fr; }
      .ybr-home-layout .ybr-home-review:last-child{ grid-column: 1 / -1; }
    }

    @media (max-width: 800px) {
      .ybr-home-layout{ padding-bottom: 66px; }
      .ybr-home-layout .ybr-home-top-strip .ybr-home-container{ justify-content: center; text-align: center; }
      .ybr-home-layout .ybr-home-top-strip p:last-child{ display: none; }
      .ybr-home-layout .ybr-home-nav-wrap{ min-height: 74px; }
      .ybr-home-layout .ybr-home-logo img{ width: 205px; }
      .ybr-home-layout .ybr-home-main-nav .ybr-home-btn{ display: none; }
      .ybr-home-layout .ybr-home-nav-toggle-label{ display: block; }
      .ybr-home-layout .ybr-home-nav-toggle-label .ybr-home-icon{ width: 30px; height: 30px; }
      .ybr-home-layout .ybr-home-main-nav{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 22px;
        background: var(--ink);
        border-top: 1px solid rgba(255,255,255,.1);
      }
      .ybr-home-layout .ybr-home-main-nav a:not(.ybr-home-btn){ display: block; padding: 11px 0; }
      .ybr-home-layout .ybr-home-nav-toggle:checked ~ .ybr-home-main-nav{ display: flex; }

      .ybr-home-layout .ybr-home-hero-grid{ min-height: auto; grid-template-columns: 1fr; }
      .ybr-home-layout .ybr-home-hero-copy{ padding: 72px 0 52px; }
      .ybr-home-layout .ybr-home-hero-copy h1{ max-width: 760px; }
      .ybr-home-layout .ybr-home-hero-visual{ min-height: 460px; margin-inline: -20px; }
      .ybr-home-layout .ybr-home-hero-visual::after{ background: linear-gradient(180deg, var(--ink) 0%, rgba(23,21,20,0) 22%); }
      .ybr-home-layout .ybr-home-hero-badge{ right: 24px; width: 142px; }

      .ybr-home-layout .ybr-home-services, .ybr-home-layout .ybr-home-about, .ybr-home-layout .ybr-home-testimonials, .ybr-home-layout .ybr-home-quote-section{ padding: 82px 0; }
      .ybr-home-layout .ybr-home-services-grid{ grid-template-columns: 1fr; }
      .ybr-home-layout .ybr-home-service-card{ min-height: 430px; }
      .ybr-home-layout .ybr-home-split-grid, .ybr-home-layout .ybr-home-quote-grid{ grid-template-columns: 1fr; }
      .ybr-home-layout .ybr-home-image-stack{ min-height: 520px; }
      .ybr-home-layout .ybr-home-image-stack .ybr-home-main-img{ height: 450px; }
      .ybr-home-layout .ybr-home-image-stack .ybr-home-small-img{ height: 220px; }
      .ybr-home-layout .ybr-home-process-grid{ grid-template-columns: 1fr; }
      .ybr-home-layout .ybr-home-reviews-grid{ grid-template-columns: 1fr; }
      .ybr-home-layout .ybr-home-review:last-child{ grid-column: auto; }
      .ybr-home-layout .ybr-home-footer-grid{ grid-template-columns: 1fr 1fr; }
      .ybr-home-layout .ybr-home-footer-brand{ grid-column: 1 / -1; }
      .ybr-home-layout .ybr-home-mobile-call{
        position: fixed;
        z-index: 100;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 66px;
        box-shadow: 0 -8px 30px rgba(0,0,0,.18);
      }
      .ybr-home-layout .ybr-home-mobile-call a{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 12px;
        background: var(--ink);
        color: var(--white);
        font-weight: 800;
      }
      .ybr-home-layout .ybr-home-mobile-call a:last-child{ background: var(--yellow); color: var(--ink); }
    }

    @media (max-width: 560px) {
      .ybr-home-layout .ybr-home-container{ width: min(calc(100% - 28px), var(--max-width)); }
      .ybr-home-layout .ybr-home-hero-copy{ padding-top: 58px; }
      .ybr-home-layout .ybr-home-hero-copy h1{ font-size: clamp(2.8rem, 14vw, 4.2rem); }
      .ybr-home-layout .ybr-home-hero-actions{ display: grid; }
      .ybr-home-layout .ybr-home-hero-actions .ybr-home-btn{ width: 100%; }
      .ybr-home-layout .ybr-home-hero-trust{ display: grid; gap: 10px; }
      .ybr-home-layout .ybr-home-hero-visual{ min-height: 390px; margin-inline: -14px; }
      .ybr-home-layout .ybr-home-hero-badge{ width: 126px; right: 14px; bottom: 18px; }
      .ybr-home-layout .ybr-home-hero-badge strong{ font-size: 1.65rem; }
      .ybr-home-layout .ybr-home-trust-grid{ grid-template-columns: 1fr; }
      .ybr-home-layout .ybr-home-trust-item, .ybr-home-layout .ybr-home-trust-item:nth-child(2){ border-right: 0; border-bottom: 1px solid #eadcae; }
      .ybr-home-layout .ybr-home-trust-item:last-child{ border-bottom: 0; }
      .ybr-home-layout .ybr-home-section-heading{ margin-bottom: 32px; }
      .ybr-home-layout .ybr-home-service-card{ min-height: 405px; }
      .ybr-home-layout .ybr-home-service-content{ padding: 26px; }
      .ybr-home-layout .ybr-home-split-grid{ gap: 35px; }
      .ybr-home-layout .ybr-home-image-stack{ min-height: 445px; }
      .ybr-home-layout .ybr-home-image-stack .ybr-home-main-img{ width: 90%; height: 390px; }
      .ybr-home-layout .ybr-home-image-stack .ybr-home-small-img{ width: 52%; height: 185px; border-width: 7px; }
      .ybr-home-layout .ybr-home-process-card, .ybr-home-layout .ybr-home-review{ padding: 26px; }
      .ybr-home-layout .ybr-home-quote-form{ grid-template-columns: 1fr; padding: 24px; }
      .ybr-home-layout .ybr-home-form-field.ybr-home-full, .ybr-home-layout .ybr-home-form-note, .ybr-home-layout .ybr-home-quote-form .ybr-home-btn{ grid-column: auto; }
      .ybr-home-layout .ybr-home-footer-grid{ grid-template-columns: 1fr; gap: 32px; }
      .ybr-home-layout .ybr-home-footer-brand{ grid-column: auto; }
      .ybr-home-layout .ybr-home-footer-bottom{ flex-direction: column; }
    }
  

/* WordPress theme integration */
body.admin-bar .ybr-site-header { top: 32px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; display: block; height: auto; left: 10px; top: 10px;
  width: auto; z-index: 100000; padding: 12px 16px; background: #fff; color: #111;
}
.ybr-main-nav ul,
.ybr-footer-menu { list-style: none; padding: 0; margin: 0; }
.ybr-main-nav > ul { display: flex; align-items: center; gap: 26px; }
.ybr-main-nav li { position: relative; }
.ybr-main-nav .sub-menu {
  position: absolute; top: calc(100% + 18px); left: -18px; min-width: 230px; padding: 12px;
  border-radius: 14px; background: var(--ybr-charcoal); box-shadow: var(--ybr-shadow); opacity: 0;
  visibility: hidden; transform: translateY(7px); transition: .18s ease;
}
.ybr-main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 22px; }
.ybr-main-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 9px; }
.ybr-main-nav li:hover > .sub-menu,
.ybr-main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ybr-nav-cta { flex: 0 0 auto; }
.ybr-site-main { min-height: 48vh; }
.ybr-editor-layout > :first-child { margin-top: 0; }
.ybr-standard-page { padding: 78px 0 96px; }
.ybr-standard-header { padding: 64px 0; background: var(--ybr-ink); color: var(--ybr-white); }
.ybr-standard-header .ybr-eyebrow { color: var(--ybr-yellow); }
.ybr-standard-header h1 { margin: 0 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1; }
.ybr-standard-header p { max-width: 740px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.ybr-standard-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 64px; align-items: start; }
.ybr-standard-layout.ybr-no-sidebar { grid-template-columns: minmax(0, 920px); justify-content: center; }
.ybr-entry-content > :first-child { margin-top: 0; }
.ybr-entry-content > :last-child { margin-bottom: 0; }
.ybr-entry-content h2, .ybr-entry-content h3, .ybr-entry-content h4 { font-family: "Playfair Display", Georgia, serif; line-height: 1.15; }
.ybr-entry-content h2 { font-size: clamp(2rem, 3vw, 3rem); margin: 1.6em 0 .55em; }
.ybr-entry-content h3 { font-size: 1.65rem; margin: 1.45em 0 .45em; }
.ybr-entry-content a:not(.ybr-btn) { color: #745500; text-decoration: underline; text-underline-offset: 3px; }
.ybr-entry-content img { border-radius: var(--ybr-radius); }
.ybr-entry-content ul, .ybr-entry-content ol { padding-left: 1.3em; }
.ybr-pagination { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; }
.ybr-sidebar .widget { padding: 26px; border: 1px solid var(--ybr-line); border-radius: 18px; background: #fff; box-shadow: var(--ybr-shadow-soft); }
.ybr-sidebar .widget + .widget { margin-top: 20px; }
.ybr-sidebar .widget-title { margin: 0 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; }
.ybr-sidebar ul { list-style: none; margin: 0; padding: 0; }
.ybr-sidebar li + li { margin-top: 8px; }
.ybr-sidebar a:not(.ybr-btn) { color: var(--ybr-ink); }
.ybr-sidebar a:not(.ybr-btn):hover { color: #735600; }
.ybr-form-message { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.ybr-form-message.is-success { background: #e5f4eb; color: #24563c; }
.ybr-form-message.is-error { background: #fbe8e5; color: #7c2c20; }
.ybr-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ybr-mini-form .ybr-btn { width: 100%; }
.ybr-comment-list { list-style: none; padding: 0; }
.ybr-comment-list li { padding: 20px 0; border-bottom: 1px solid var(--ybr-line); }
.ybr-comments-area { margin-top: 54px; }
.ybr-post-card { padding: 28px 0; border-bottom: 1px solid var(--ybr-line); }
.ybr-post-card h2 { margin: 0 0 8px; }
.ybr-post-meta { margin-bottom: 10px; color: var(--ybr-muted); font-size: .9rem; }
.ybr-empty-state { padding: 70px 0; text-align: center; }
.ybr-mobile-actions { z-index: 90; }
.ybr-footer-brand .custom-logo-link img,
.ybr-footer-brand > img { width: 235px; max-height: 70px; object-fit: contain; }
.ybr-footer-links span { color: rgba(255,255,255,.68); }
.ybr-footer-menu { display: grid; gap: 9px; }
.ybr-footer-grid.ybr-has-extra-column { grid-template-columns: 1.2fr repeat(3, .75fr); }

@media (max-width: 1050px) {
  .ybr-nav-toggle-label { display: block; }
  .ybr-nav-toggle-label .ybr-icon { width: 30px; height: 30px; }
  .ybr-main-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px 20px 22px; background: var(--ybr-ink);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .ybr-main-nav a:not(.ybr-btn) { display: block; padding: 11px 0; }
  .ybr-main-nav .ybr-btn { display: inline-flex; width: 100%; margin-top: 9px; }
  .ybr-nav-toggle:checked ~ .ybr-main-nav { display: flex; }
  .ybr-footer-grid.ybr-has-extra-column { grid-template-columns: 1fr 1fr; }
  .ybr-footer-grid.ybr-has-extra-column .ybr-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  body.admin-bar .ybr-site-header { top: 46px; }
  .ybr-main-nav > ul { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ybr-main-nav > ul > li > a { display: block; padding: 11px 0; }
  .ybr-main-nav .sub-menu { position: static; min-width: 0; padding: 4px 0 4px 16px; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .ybr-nav-cta { width: 100%; margin-top: 9px; display: inline-flex !important; }
  .ybr-standard-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 782px) { body.admin-bar .ybr-site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .ybr-site-header { top: 0; } }

/* Yellow Brick Road Contact Form 7 integration */

/* =========================================================
   YELLOW BRICK ROAD — COMPACT CONTACT FORM 7
   ========================================================= */

/* Accessible labels that do not appear above the fields */
.ybr-screen-reader {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Remove unwanted WordPress and CF7 spacing */
.ybr-cf7-compact,
.ybr-cf7-compact form,
.ybr-cf7-compact p,
.ybr-cf7-compact .wpcf7-form-control-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

.ybr-cf7-compact br {
  display: none !important;
}

/* Main grid */
.ybr-cf7-compact .ybr-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px !important;
  row-gap: 12px !important;
  margin: 0 !important;
}

/* Full-width fields */
.ybr-cf7-compact .ybr-cf7-full {
  grid-column: 1 / -1;
}

/* Individual field */
.ybr-cf7-compact .ybr-field {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

/* All controls */
.ybr-cf7-compact input[type="text"],
.ybr-cf7-compact input[type="email"],
.ybr-cf7-compact input[type="tel"],
.ybr-cf7-compact select,
.ybr-cf7-compact textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  border: 1px solid #d6b642 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #1c1b19 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Compact one-line fields */
.ybr-cf7-compact input[type="text"],
.ybr-cf7-compact input[type="email"],
.ybr-cf7-compact input[type="tel"],
.ybr-cf7-compact select {
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 14px !important;
}

/* Select arrow spacing */
.ybr-cf7-compact select {
  padding-right: 40px !important;
}

/* Textarea */
.ybr-cf7-compact textarea {
  height: 90px !important;
  min-height: 90px !important;
  padding: 13px 14px !important;
  resize: vertical;
}

/* Placeholder styling */
.ybr-cf7-compact input::placeholder,
.ybr-cf7-compact textarea::placeholder {
  color: #555 !important;
  opacity: 1 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

/* Focus state */
.ybr-cf7-compact input:focus,
.ybr-cf7-compact select:focus,
.ybr-cf7-compact textarea:focus {
  border-color: #8c6900 !important;
  box-shadow: 0 0 0 2px rgba(140, 105, 0, 0.12) !important;
}

/* Validation */
.ybr-cf7-compact .wpcf7-not-valid {
  border-color: #a52b20 !important;
}

.ybr-cf7-compact .wpcf7-not-valid-tip {
  display: block;
  margin: 4px 0 0 !important;
  color: #a52b20;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

/* Submit */
.ybr-cf7-compact .ybr-cf7-submit {
  margin: 0 !important;
  padding: 0 !important;
}

.ybr-cf7-compact input[type="submit"] {
  width: 100% !important;
  margin: 0 !important;
}

/* CF7 spinner */
.ybr-cf7-compact .wpcf7-spinner {
  display: block;
  margin: 7px auto 0 !important;
}

/* Response message */
.ybr-cf7-compact .wpcf7-response-output {
  margin: 10px 0 0 !important;
  padding: 10px 12px !important;
  border-width: 1px !important;
  border-radius: 8px;
  font-size: 13px;
}

/* Internal-page sidebar */
.ybr-sidebar .ybr-cf7-grid,
.ybr-quote-card .ybr-cf7-grid {
  grid-template-columns: 1fr;
  row-gap: 10px !important;
}

.ybr-sidebar .ybr-cf7-full,
.ybr-quote-card .ybr-cf7-full {
  grid-column: auto;
}

/* Mobile */
@media (max-width: 700px) {
  .ybr-cf7-compact .ybr-cf7-grid,
  .ybr-home-quote-section .ybr-cf7-grid {
    grid-template-columns: 1fr;
    row-gap: 10px !important;
  }

  .ybr-cf7-compact .ybr-cf7-full,
  .ybr-home-quote-section .ybr-cf7-full {
    grid-column: auto;
  }

  .ybr-cf7-compact input[type="text"],
  .ybr-cf7-compact input[type="email"],
  .ybr-cf7-compact input[type="tel"],
  .ybr-cf7-compact select {
    height: 44px !important;
    min-height: 44px !important;
  }

  .ybr-cf7-compact textarea {
    height: 82px !important;
    min-height: 82px !important;
  }
}