/*
Theme Name: Randy's Window Tinting
Author: Randy's Window Tinting
Description: Custom one-page business theme converted from the supplied Randy's Window Tinting design. Includes a responsive homepage, tint comparison, and standard WordPress page and post support. Estimate delivery is not configured.
Version: 1.0.2
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: randys-window-tinting
*/

  :root {
    --glass: #1A1424;
    --smoke: #251C34;
    --fog: #3B2F4E;
    --sand: #F1E6DA;
    --stone: #DCCDBF;
    --ink: #1E1728;
    --ash: #6E6474;
    --ash-dark: #A79BB0;
    --mist: #D6CCE0;
    --paper: #F8F0E8;
    --sun: #F28C28;
    --gold: #F4C05A;
    --coral: #E8607A;
    --sun-deep: #A8461A;
    --white: #FFFFFF;

    --display: "League Gothic", "Arial Narrow", Impact, sans-serif;
    --body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
    --label: "Work Sans", "Helvetica Neue", Arial, sans-serif;
    --error: #B3261E;

    --gutter: clamp(16px, 5vw, 64px);
    --measure: 62ch;
  }

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

  body {
    margin: 0;
    background: var(--glass);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; }
  :focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

  h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 0.9; letter-spacing: 0.01em; text-wrap: balance; }
  p { margin: 0; }
  .skip {
    position: absolute; left: 16px; top: -60px; z-index: 40;
    padding: 10px 16px; border-radius: 4px;
    background: var(--sun); color: var(--ink); font-weight: 600; text-decoration: none;
  }
  .skip:focus { top: 12px; }

  .eyebrow {
    font-family: var(--label); font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

  /* ---------- Nav ---------- */
  .nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(26, 20, 36, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--fog);
    color: var(--white);
  }
  .nav { --nav-h: 72px; }
  .nav .wrap {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    height: var(--nav-h);
  }
  .brand { display: flex; align-items: center; text-decoration: none; line-height: 1; }
  .brand .word { display: flex; flex-direction: column; }
  .brand strong { font-family: var(--display); font-weight: 400; font-size: 2rem; letter-spacing: 0.02em; }
  .brand span span { font-family: var(--label); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sun); margin-top: 4px; }
  .nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
  .nav ul a { display: inline-block; padding: 10px 0; text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--mist); transition: color 150ms ease; }
  .nav ul a:hover { color: var(--white); }
  .nav .right { display: flex; align-items: center; gap: 10px; }
  .menu-btn {
    display: none; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--fog); border-radius: 4px; background: transparent; color: var(--white);
    cursor: pointer; place-items: center;
  }
  .menu-btn svg { width: 22px; height: 22px; }
  .menu-btn .x { display: none; }
  .nav.open .menu-btn .bars { display: none; }
  .nav.open .menu-btn .x { display: block; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 44px;
    padding: 12px 20px; border-radius: 4px; border: 0;
    font: 600 0.95rem var(--body); text-decoration: none; cursor: pointer;
    transition: transform 120ms ease, background-color 120ms ease;
  }
  .btn-sun { background: var(--sun); color: var(--ink); }
  .btn-sun:hover { background: #F79C3F; transform: translateY(-1px); }
  .btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--fog); }
  .btn-ghost:hover { border-color: #7A6A90; }
  .nav .phone { white-space: nowrap; }
  @media (max-width: 860px) {
    .nav ul { display: none; }
    .menu-btn { display: grid; }
    .nav.open ul {
      display: flex; flex-direction: column; gap: 0;
      position: absolute; top: var(--nav-h); left: 0; right: 0;
      padding: 8px var(--gutter) 16px;
      background: var(--glass); border-bottom: 1px solid var(--fog);
    }
    .nav.open ul a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--fog); }
    .nav.open ul li:last-child a { border-bottom: 0; }
  }
  @media (max-width: 520px) {
    .nav .phone { display: none; }
  }

  /* Sticky call bar, phones only */
  .callbar {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(26, 20, 36, 0.94); backdrop-filter: blur(10px);
    border-top: 1px solid var(--fog);
  }
  @media (max-width: 860px) {
    .callbar { display: grid; grid-template-columns: 1fr 1fr; }
    body { padding-bottom: 76px; }
  }

  /* ---------- Hero ---------- */
  .hero {
    color: var(--white);
    padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px);
    background:
      radial-gradient(1100px 620px at 88% -12%, rgba(242, 140, 40, 0.28), rgba(232, 96, 122, 0.14) 45%, transparent 70%),
      radial-gradient(700px 400px at 5% 110%, rgba(232, 96, 122, 0.10), transparent 60%),
      var(--glass);
  }
  .hero { position: relative; overflow: hidden; isolation: isolate; }
  /* Film grain: procedural noise, no image request */
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23g)'/></svg>");
    background-size: 180px 180px;
    opacity: 0.16; mix-blend-mode: soft-light;
  }
  /* Light across tinted glass: two soft diagonal bands that drift */
  .hero::after {
    content: ""; position: absolute; inset: -20% -30%; z-index: 0; pointer-events: none;
    background:
      linear-gradient(112deg, transparent 34%, rgba(255, 236, 214, 0.045) 41%, rgba(255, 236, 214, 0.12) 45%, rgba(255, 236, 214, 0.04) 49%, transparent 56%),
      linear-gradient(112deg, transparent 60%, rgba(255, 200, 160, 0.04) 66%, rgba(255, 200, 160, 0.015) 70%, transparent 75%);
    animation: sheen 22s ease-in-out infinite alternate;
  }
  @keyframes sheen {
    from { transform: translateX(-4%); }
    to   { transform: translateX(4%); }
  }
  /* Keep type crisp where a sheen band passes behind it */
  .hero .eyebrow, .hero h1, .hero .lede, .hero .hours-note, .demo .fine, .shade {
    text-shadow: 0 1px 2px rgba(26, 20, 36, 0.55), 0 10px 32px rgba(26, 20, 36, 0.5);
  }
  .hero .btn-ghost { background: rgba(26, 20, 36, 0.45); border-color: #5A4A70; }
  .hero .btn-ghost:hover { background: rgba(26, 20, 36, 0.65); border-color: #8A7AA0; }
  .hero .wrap {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
  }
  /* The logo carries its own sunset glow, in the intro and in the hero, so the two match. */
  .hero-logo-wrap { position: relative; z-index: 0; display: inline-block; margin-bottom: 28px; }
  .hero-logo-wrap::before, .intro-mark::before {
    content: ""; position: absolute; inset: -26% -24%; z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(242, 140, 40, 0.14), rgba(232, 96, 122, 0.06) 55%, rgba(232, 96, 122, 0) 100%);
  }
  .hero-logo {
    display: block; height: clamp(140px, 16vw, 200px); width: auto; max-width: 100%;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.5));
  }

  /* ---------- Intro: logo lands in the hero ---------- */
  .intro[hidden] { display: none !important; }
  .intro {
    position: fixed; inset: 0; z-index: 50;
    display: grid; place-items: center;
    background: var(--glass);
  }
  .intro-mark { position: relative; z-index: 0; will-change: transform; }
  .intro-logo {
    display: block; height: clamp(200px, 42vw, 460px); width: auto; max-width: 86vw;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.6));
  }
  html.intro-on { overflow: hidden; }
  html.intro-on .hero-logo-wrap { opacity: 0; }
  /* While the intro runs, hold the sheen offstage; when the logo lands it sweeps in, then settles into its drift. */
  html.intro-on .hero:not(.sheen-in)::after { animation: none; transform: translateX(-48%); opacity: 0; }
  .hero.sheen-in::after {
    animation: sheenIn 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards, sheen 22s ease-in-out 1.6s infinite alternate;
  }
  @keyframes sheenIn {
    from { transform: translateX(-48%); opacity: 0; }
    to   { transform: translateX(-4%); opacity: 1; }
  }
  .hero .eyebrow { color: var(--sun); margin-bottom: 20px; }
  .hero-copy { container-type: inline-size; min-width: 0; }
  .hero h1 {
    font-size: clamp(3rem, 8vw, 6.75rem);
    /* Sized from the column: "IS OUR SPECIALTY." measures ~5.9em in League Gothic, so 16.4cqw fills it. */
    font-size: clamp(2.6rem, 16.4cqw, 6.75rem);
    font-weight: 400;
    text-transform: uppercase;
  }
  .hero h1 .line { display: block; }
  .hero h1 em { font-style: normal; display: inline-block; transform: skewX(-9deg); color: var(--sun); }
  .hero .lede {
    max-width: 48ch; margin-top: 24px;
    font-size: 1.15rem; color: #E6DFEE;
  }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
  .hero .hours-note {
    margin-top: 28px; font-family: var(--label); font-weight: 500; font-size: 1rem; color: var(--mist);
    display: flex; flex-wrap: wrap; gap: 8px 22px;
  }
  .hero .hours-note b { color: var(--white); font-weight: 600; }

  /* ---------- Shade demo ---------- */
  .demo { display: flex; flex-direction: column; gap: 14px; }
  .pane {
    --split: 55%;
    --alpha: 0.52;
    position: relative;
    aspect-ratio: 4 / 3;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--fog);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255,255,255,0.04);
    background: #C97B4A;
    user-select: none;
    touch-action: none;
  }
  .pane .scene { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
  .pane .film {
    position: absolute; inset: 0;
    background:
      linear-gradient(115deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 38%),
      rgba(9, 12, 16, var(--alpha));
    clip-path: inset(0 calc(100% - var(--split)) 0 0);
    transition: background-color 220ms ease;
  }
  .pane .rail {
    position: absolute; top: 0; bottom: 0; left: var(--split);
    width: 2px; margin-left: -1px;
    background: var(--white);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
    pointer-events: none;
  }
  .pane .grip {
    position: absolute; top: 50%; left: var(--split);
    width: 44px; height: 44px; margin: -22px 0 0 -22px;
    border-radius: 50%; background: var(--white); color: var(--ink);
    display: grid; place-items: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    pointer-events: none;
    font-family: var(--label); font-weight: 600; font-size: 0.9rem; letter-spacing: -0.05em;
  }
  .pane input[type="range"] {
    position: absolute; inset: 0; width: 100%; height: 100%;
    margin: 0; opacity: 0; cursor: ew-resize;
  }
  .pane input[type="range"]:focus-visible + .rail { outline: 3px solid var(--sun); }
  .pane .tag {
    position: absolute; top: 14px;
    font-family: var(--label); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 10px; border-radius: 3px;
    pointer-events: none;
  }
  .pane .tag-film { left: 14px; background: rgba(0,0,0,0.55); color: var(--white); }
  .pane .tag-clear { right: 14px; background: rgba(255,255,255,0.7); color: var(--ink); }

  .shades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shade {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px 14px; border-radius: 6px;
    background: var(--smoke); color: var(--white);
    border: 1px solid var(--fog); cursor: pointer; text-align: left;
    font-family: var(--body);
    transition: border-color 120ms ease, background-color 120ms ease;
  }
  .shade:hover { border-color: #5A4A70; }
  .shade[aria-pressed="true"] { border-color: var(--sun); background: #2E2440; }
  .shade .pct { font-family: var(--display); font-weight: 400; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; }
  .shade .pct small { font-family: var(--label); font-weight: 600; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; margin-left: 4px; color: var(--ash-dark); }
  .shade .use { font-size: 0.8rem; color: #C9BFD4; line-height: 1.3; }
  .shade[aria-pressed="true"] .use { color: var(--mist); }
  .demo .fine { font-family: var(--label); font-weight: 500; font-size: 0.78rem; color: var(--mist); letter-spacing: 0.02em; }

  @media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; }
  }
  @media (max-width: 520px) {
    .shades { grid-template-columns: 1fr; }
  }

  /* ---------- Trust strip ---------- */
  .strip { background: linear-gradient(90deg, var(--gold) 0%, var(--sun) 55%, var(--coral) 100%); color: var(--ink); }
  .strip .wrap {
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding-block: 22px; gap: 16px;
  }
  .strip div { display: flex; flex-direction: column; gap: 2px; }
  .strip b { font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1; }
  .strip span { font-family: var(--label); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
  @media (max-width: 760px) { .strip .wrap { grid-template-columns: repeat(2, 1fr); } }

  /* ---------- Light sections ---------- */
  .light { background: var(--sand); color: var(--ink); }
  .section { padding-block: clamp(64px, 9vw, 120px); }
  .section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
  .section-head .eyebrow { color: var(--sun-deep); margin-bottom: 14px; }
  .section-head h2 { font-size: clamp(3rem, 6.2vw, 5rem); font-weight: 400; text-transform: uppercase; }
  .section-head p { max-width: var(--measure); color: #4A4152; }
  @media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }

  /* Services */
  .services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stone); }
  .service {
    padding: 28px 24px 32px 0;
    margin-right: 24px;
    border-bottom: 1px solid var(--stone);
    display: flex; flex-direction: column; gap: 14px;
    text-decoration: none;
  }
  .service:last-child { margin-right: 0; }
  .service .glyph { width: 40px; height: 40px; color: var(--sun-deep); }
  .service h3 { font-size: 2.3rem; font-weight: 400; text-transform: uppercase; }
  .service p { font-size: 0.97rem; color: #4A4152; flex: 1; }
  .service .more { font-family: var(--label); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
  .service:hover h3 { color: var(--sun-deep); }
  @media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } .service:nth-child(2n) { margin-right: 0; } }
  @media (max-width: 520px) { .services { grid-template-columns: 1fr; } .service { margin-right: 0; padding-right: 0; } }

  /* Story + discounts */
  .story { background: var(--paper); border-block: 1px solid var(--stone); }
  .story .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
  .story .eyebrow { color: var(--sun-deep); margin-bottom: 14px; }
  .story h2 { font-size: clamp(2.8rem, 5.5vw, 4.4rem); font-weight: 400; text-transform: uppercase; margin-bottom: 22px; }
  .story .copy { display: flex; flex-direction: column; gap: 16px; max-width: var(--measure); color: #3A3142; }
  .story .copy strong { color: var(--ink); }
  .discounts { border: 1px solid var(--stone); border-radius: 8px; background: var(--white); overflow: hidden; }
  .discounts header { padding: 18px 22px; border-bottom: 1px solid var(--stone); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .discounts header h3 { font-size: 2rem; font-weight: 400; text-transform: uppercase; }
  .discounts header span { font-family: var(--label); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ash); text-transform: uppercase; }
  .discounts ul { list-style: none; margin: 0; padding: 8px 0; }
  .discounts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 22px; font-size: 0.97rem; }
  .discounts li + li { border-top: 1px solid #EFE5DA; }
  .discounts li span { font-family: var(--label); font-weight: 600; font-size: 0.78rem; color: var(--sun-deep); white-space: nowrap; }
  .discounts footer { padding: 14px 22px 18px; background: #FBF3EA; border-top: 1px solid var(--stone); font-size: 0.85rem; color: var(--ash); }
  @media (max-width: 860px) { .story .wrap { grid-template-columns: 1fr; } }

  /* Reviews */
  .reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .review {
    display: flex; flex-direction: column; gap: 18px;
    padding: 28px; border-radius: 8px;
    background: var(--white); border: 1px solid var(--stone);
  }
  .review .stars { color: var(--sun-deep); font-size: 0.95rem; letter-spacing: 0.15em; }
  .review blockquote { margin: 0; font-size: 1.02rem; color: #332B3B; flex: 1; }
  .review cite { font-style: normal; font-family: var(--label); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.06em; color: var(--ash); }
  .review cite b { color: var(--ink); font-weight: 500; }
  @media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

  /* ---------- What the film does ---------- */
  .filmfacts { background: var(--paper); border-top: 1px solid var(--stone); }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 1px solid var(--stone); }
  .fact { padding: 28px 0 32px; display: flex; flex-direction: column; gap: 10px; }
  .fact + .fact { border-left: 1px solid var(--stone); padding-left: 32px; }
  .fact .eyebrow { color: var(--sun-deep); }
  .fact .big { font-family: var(--display); font-size: clamp(3.2rem, 6vw, 4.8rem); line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
  .fact .big small { font-size: 0.42em; letter-spacing: 0.02em; }
  .fact .pending { display: inline-block; padding: 0 0.15em; border: 2px dashed var(--sun-deep); border-radius: 4px; color: var(--sun-deep); }
  .fact .what { color: #4A4152; font-size: 0.97rem; flex: 1; }
  .fact .note { font-family: var(--label); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun-deep); }
  .fact dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.92rem; }
  .fact dt { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .fact dd { margin: 0; color: #4A4152; align-self: baseline; }
  .filmfacts .who { margin-top: 28px; max-width: var(--measure); color: #4A4152; }
  @media (max-width: 860px) {
    .facts { grid-template-columns: 1fr; gap: 0; }
    .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--stone); }
  }

  /* ---------- Fleet (dark) ---------- */
  .fleet { color: var(--white); background: var(--smoke); border-block: 1px solid var(--fog); }
  .fleet .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
  .fleet .eyebrow { color: var(--sun); margin-bottom: 14px; }
  .fleet h2 { font-size: clamp(3rem, 5.8vw, 4.8rem); font-weight: 400; text-transform: uppercase; margin-bottom: 20px; }
  .fleet p { max-width: 46ch; color: var(--mist); }
  .fleet .clients { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--fog); }
  .fleet .clients li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--fog); font-size: 0.95rem; }
  .fleet .clients li span { font-family: var(--label); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash-dark); white-space: nowrap; }
  .fleet .photos { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; }
  .fleet figure { margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--fog); background: var(--glass); }
  .fleet figure img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: cover; }
  .fleet .photos figure:first-child img { aspect-ratio: 4 / 3; }
  .fleet .photos figure:last-child img { aspect-ratio: 8 / 9; }
  .fleet figcaption { font-family: var(--label); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash-dark); padding: 10px 12px; }
  @media (max-width: 860px) { .fleet .wrap { grid-template-columns: 1fr; } }
  @media (max-width: 520px) { .fleet .photos { grid-template-columns: 1fr; } .fleet .photos figure:last-child img { aspect-ratio: 4 / 3; } }

  /* In-progress photo inside the story */
  .story figure.job { margin: 28px 0 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--stone); background: var(--white); max-width: 640px; }
  .story figure.job img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .story figure.job figcaption { font-family: var(--label); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ash); padding: 12px 16px; line-height: 1.5; }
  .story figure.job figcaption b { color: var(--ink); font-weight: 500; }

  /* ---------- Visit (dark) ---------- */
  .visit { color: var(--white); background: var(--glass); }
  .visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
  .visit .eyebrow { color: var(--sun); margin-bottom: 14px; }
  .visit h2 { font-size: clamp(3rem, 5.8vw, 4.8rem); font-weight: 400; text-transform: uppercase; margin-bottom: 28px; }
  .visit address { font-style: normal; font-size: 1.4rem; line-height: 1.45; }
  .visit address a { text-decoration: none; }
  .visit address a:hover { color: var(--sun); }
  .visit .bigphone { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--sun); margin-top: 10px; font-variant-numeric: tabular-nums; }
  .hours { margin-top: 32px; border-top: 1px solid var(--fog); }
  .hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
  .hours dt, .hours dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--fog); font-size: 1.1rem; }
  .hours dt { font-weight: 500; padding-right: 40px; }
  .hours dd { font-family: var(--label); font-weight: 500; font-size: 1.05rem; color: var(--mist); text-align: right; font-variant-numeric: tabular-nums; }
  .hours dd.closed { color: var(--ash-dark); }
  .areas { margin-top: 28px; }
  .areas .eyebrow { color: var(--ash-dark); margin-bottom: 12px; }
  .areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .areas li { font-size: 0.86rem; padding: 6px 12px; border: 1px solid var(--fog); border-radius: 999px; color: var(--mist); }

  .estimate {
    background: var(--smoke); border: 1px solid var(--fog); border-radius: 8px;
    padding: clamp(24px, 3vw, 36px);
    display: flex; flex-direction: column; gap: 16px;
  }
  .estimate h3 { font-size: 2.4rem; font-weight: 400; text-transform: uppercase; }
  .estimate p.sub { color: var(--ash-dark); font-size: 0.95rem; margin-top: -6px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { font-family: var(--label); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash-dark); }
  .field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border-radius: 4px;
    background: var(--glass); color: var(--white);
    border: 1px solid var(--fog); font: 400 1rem var(--body);
  }
  .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sun); outline-offset: 0; border-color: var(--sun); }
  .field textarea { min-height: 96px; resize: vertical; }
  .field .err { display: none; font-size: 0.85rem; color: #FF8A80; }
  .field.invalid .err { display: block; }
  .field.invalid input { border-color: #FF8A80; }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .estimate .btn { align-self: flex-start; margin-top: 4px; }
  .estimate .sent { font-family: var(--label); font-weight: 600; font-size: 0.8rem; color: var(--sun); }
  @media (max-width: 860px) { .visit .wrap { grid-template-columns: 1fr; } }
  @media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }

  /* ---------- Footer ---------- */
  .foot { background: #120E1A; color: var(--ash-dark); border-top: 1px solid var(--fog); }
  .foot .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.82rem; font-family: var(--label); font-weight: 600; }
  .foot a { text-decoration: none; }
  .foot a:hover { color: var(--white); }
  .foot .social { display: flex; gap: 18px; }
  .foot .legal { flex-basis: 100%; font-size: 0.74rem; color: var(--ash); }
  .foot .logo { flex-basis: 100%; }
  .foot .logo img { display: block; height: 150px; width: auto; }


/* Keep the logo landing point fixed when the intro unlocks scrolling. */
html { scrollbar-gutter: stable; }
/* Account for the WordPress toolbar without moving the visitor layout. */
body.admin-bar .nav { top: 32px; }
@media (min-width: 601px) and (max-width: 782px) { body.admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .nav { top: 0; } }
.estimate .btn:disabled { cursor: not-allowed; filter: brightness(0.75); }
.wp-content-area { min-height: 55vh; }
.wp-content-area .entry { margin-bottom: 48px; }
.wp-content-area h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 28px; }
.wp-content-area h2 { font-size: 2.5rem; margin-block: 24px 16px; }
.wp-content-area h3 { font-size: 2rem; margin-block: 24px 16px; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content iframe { max-width: 100%; }
.entry-content { overflow-wrap: anywhere; }
.wp-content-area .navigation { margin-top: 24px; }
.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; height: auto; width: auto; left: 8px; top: 8px; padding: 12px; background: var(--glass); color: white; z-index: 100000; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 0.875rem; }
.entry-content::after { content: ''; display: table; clear: both; }
