/*
Theme Name: Two Guys v2 - astoriaqueensmovers.com
Theme URI: https://astoriaqueensmovers.com/
Author: A & A Alliance Moving Inc
Description: Astoria Queens Movers, v2 (2026-10-11). The site's own look: Queens brick, concrete grey and charcoal, Bitter slab headings over Inter text, a full-bleed photo of the Hell Gate Bridge from Astoria Park, the owner's real job photos and Queens street photos. Same quote form (Contact Form 7 form 18, restyled, never changed), same phone, same URLs. Built on the Two Guys AEM theme code; settings in inc/site.php. No build step, no jQuery of its own, no third-party requests.
Version: 2.1.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tg-astoria-v2
Update URI: false
*/

/* Type: Bitter (slab headings and labels; The Bitter Project Authors, SIL OFL 1.1) and Inter (text and UI; SIL OFL 1.1),
   self-hosted Latin subsets (assets/fonts/LICENSE-*). Icons: Lucide 1.28.0, ISC (assets/icons/LICENSE-lucide.txt), inline sprite.
   Palette: Queens brick (#a3412a) on concrete grey (#efede8), charcoal text (#211c19), a deep brick section
   (#7d2f1f). Every text pair passes WCAG AA (v2/tools/contrast.py). */

@font-face { font-family: "Bitter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/bitter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bitter"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/bitter-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ---------- */
:root {
  --paper: #efede8;         /* page: concrete grey */
  --paper-2: #e4e0d8;       /* page headers, closing band */
  --white: #f9f8f5;         /* light sections */
  --card: #ffffff;          /* the quote card */
  --line: #dbd6cc;
  --line-2: #c3bcb0;
  --field: #a39a8e;         /* form box borders */
  --text: #211c19;          /* charcoal */
  --text-2: #4d443e;
  --text-3: #6b5f57;
  --brick: #a3412a;         /* Queens brick: buttons, labels, rules */
  --brick-2: #86331f;
  --brick-deep: #7d2f1f;    /* how-it-works section */
  --brick-soft: #f0b8a3;    /* brick on dark */
  --on-brick: #f5f3ee;
  --on-brick-2: #f1d6ca;
  --char: #211c19;          /* footer */
  --char-2: #2c2521;
  --on-dark: #f5f3ee;
  --on-dark-2: #d6cbc1;
  --on-dark-3: #ada095;
  --line-dark: rgba(239, 237, 232, .14);
  --sky: #9ccbe9;           /* behind the hero photo while it loads */
  --accent: #a3412a;        /* inc/site.php sets it (inline CSS) */
  --accent-2: #86331f;
  --on-accent: #ffffff;
  --bad: #b42318;
  --r-sm: 2px;
  --r: 3px;
  --r-lg: 4px;
  --r-btn: 999px;           /* buttons: pills */
  --shadow: 0 1px 2px rgba(33, 28, 25, .05), 0 18px 40px -20px rgba(33, 28, 25, .3);
  --shadow-pop: 0 2px 4px rgba(33, 28, 25, .06), 0 28px 56px -22px rgba(33, 28, 25, .38);
  --wrap: 1280px;
  --gut: clamp(16px, 4.4vw, 64px);
  --sec: clamp(72px, 9vw, 128px);
  --bar-h: 76px;
  --note-h: 0px;            /* 30px when inc/site.php sets 'notice' (inline CSS) */
  --head-h: calc(var(--bar-h) + var(--note-h));
  --aside-w: 440px;
  --pull: 200px;
  --ff-serif: "Bitter", "Rockwell", "Roboto Slab", Georgia, serif;
  --ff-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-disp: var(--ff-serif);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--ff-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
.ico { width: 20px; height: 20px; flex: none; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-serif); font-weight: 600; letter-spacing: -.012em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; border-radius: 2px; }
.how-sec :focus-visible, .site-foot :focus-visible { outline-color: var(--brick-soft); }
[hidden] { display: none !important; }
.vh, .sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--card); color: var(--text); padding: 12px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.nb { white-space: nowrap; }
.tg-anchor { display: block; position: relative; top: calc(-1 * var(--head-h)); visibility: hidden; height: 0; }

/* ---------- type ---------- */
/* labels: brick slab italic in sentence case (no uppercase tracking, no rule) */
.eyebrow { display: inline-block; font: italic 600 17px/1.3 var(--ff-serif); letter-spacing: 0; text-transform: none; color: var(--brick); }
.h1, .h2 { font-family: var(--ff-serif); text-wrap: balance; }
.h1 { font-size: clamp(36px, 4.3vw, 60px); line-height: 1.06; letter-spacing: -.02em; font-weight: 600; }
.h1.is-long { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
.h2 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -.018em; font-weight: 600; }
.h2 .mute, .h1 .mute { font-weight: 300; color: inherit; }
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 36em; }
.label { font: italic 600 16px/1.3 var(--ff-serif); letter-spacing: 0; color: var(--text-3); }

/* ---------- buttons ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h);
  padding: 0 26px; border-radius: var(--r-btn); border: 1px solid transparent; font: 600 15.5px/1.15 var(--ff-text);
  text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.btn .ico { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ico-go { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ink { background: var(--text); color: var(--paper); }
.btn-ink:hover { background: var(--brick-2); }
.btn-ghost { background: transparent; border-color: rgba(239, 237, 232, .45); color: var(--on-brick); }
.btn-ghost:hover { border-color: var(--on-brick); }
.btn-line { background: transparent; border-color: var(--text); color: var(--text); }
.btn-line:hover { background: var(--text); color: var(--paper); }
.btn-sm { --h: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-block { width: 100%; }
.link-go { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1.3 var(--ff-text); text-decoration: none; color: var(--brick); min-height: 44px; }
.link-go .ico { width: 17px; height: 17px; transition: transform .2s; }
.link-go:hover .ico, a:hover .link-go .ico { transform: translateX(3px); }

/* ---------- header ---------- */
.site-head { position: absolute; top: 0; left: 0; right: 0; z-index: 60; color: var(--text);
  background: rgba(239, 237, 232, .96); border-bottom: 1px solid var(--line);
  transition: background-color .25s, border-color .25s; }
.js .site-head { position: fixed; }
.site-head.is-solid { -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.site-head.on-photo:not(.menu-is-open) { background: transparent; border-bottom-color: transparent; }
.admin-bar .site-head, .admin-bar .menu-sheet { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head, .admin-bar .menu-sheet { top: 46px; } .admin-bar .site-head.is-solid { top: 0; } }
.topnote { height: var(--note-h); overflow: hidden; background: var(--brick-deep); color: var(--on-brick); }
.topnote .wrap { height: 100%; display: flex; align-items: center; justify-content: center; }
.topnote span { font: 600 10.5px/1.2 var(--ff-text); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head-row { height: var(--bar-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; min-height: 44px; color: inherit; text-decoration: none; }
.head-actions, .nav { flex: none; }
.brand .logo-img { height: 52px; width: auto; }
.site-head .logo-img.tone-light { filter: brightness(0); }
.site-foot .logo-img.tone-dark { filter: brightness(0) invert(1); opacity: .94; }
.logo-text { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.logo-mark { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: var(--r); background: var(--accent); color: var(--on-accent);
  font: 600 13px/1 var(--ff-text); letter-spacing: .04em; flex: none; }
.logo-words { display: flex; flex-direction: column; min-width: 0; }
.logo-words b { font: 600 19px/1.1 var(--ff-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-words small { margin-top: 3px; font: 600 10px/1.2 var(--ff-text); letter-spacing: .1em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link, .nav-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font: 500 15px/1 var(--ff-text);
  text-decoration: none; color: inherit; background: none; border: 0; cursor: pointer; border-radius: var(--r-sm); white-space: nowrap;
  text-decoration-line: underline; text-decoration-color: transparent; text-underline-offset: 7px; text-decoration-thickness: 2px; transition: text-decoration-color .2s; }
.nav-link:hover, .nav-btn:hover, .nav-link[aria-current] { text-decoration-color: var(--brick); }
.nav-btn .ico-chev { width: 15px; height: 15px; opacity: .7; transition: transform .2s; }
.has-sub { position: relative; }
.has-sub.is-open .ico-chev { transform: rotate(180deg); }
.dd { display: none; position: absolute; left: -8px; top: calc(100% + 6px); z-index: 70; min-width: 280px; max-width: calc(100vw - 32px);
  padding: 10px; border-radius: var(--r-lg); background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub.is-open .dd { display: block; }
@media (min-width: 1100px) and (hover: hover) { .has-sub:hover .dd { display: block; } }
.dd-list a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: var(--r-sm); color: var(--text-2); text-decoration: none; font-size: 15px; line-height: 1.3; }
.dd-list a:hover, .dd-list a[aria-current] { background: var(--paper); color: var(--text); }
.dd-list .ico-svc { width: 18px; height: 18px; color: var(--brick); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.nav + .head-actions { margin-left: 8px; }
.head-row > .brand + .head-actions { margin-left: auto; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; text-decoration: none;
  font: 600 15px/1 var(--ff-text); font-variant-numeric: tabular-nums; color: inherit; white-space: nowrap; }
.head-phone .ico { width: 17px; height: 17px; color: var(--brick); }
.icon-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r); flex: none;
  background: rgba(255, 255, 255, .74); border: 1px solid rgba(33, 28, 25, .2); color: inherit; cursor: pointer; text-decoration: none; padding: 0; }
.site-head.is-solid .icon-btn, .site-head.menu-is-open .icon-btn { background: transparent; border-color: var(--line-2); }
.icon-btn .ico { width: 20px; height: 20px; }
.menu-btn .ico-close, .menu-btn[aria-expanded="true"] .ico-menu { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

/* phone menu: a sheet under the header */
.menu-sheet { position: fixed; inset: 0; z-index: 58; background: var(--paper); color: var(--text); padding-top: var(--head-h); overflow-y: auto; overscroll-behavior: contain; }
.menu-in { min-height: 100%; display: flex; flex-direction: column; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.menu-links { margin-top: 12px; border-top: 1px solid var(--line-2); }
.menu-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; border-bottom: 1px solid var(--line);
  font: 500 clamp(22px, 6.2vw, 28px)/1.15 var(--ff-serif); text-decoration: none; color: var(--text); }
.menu-links a.menu-sub { min-height: 52px; padding-left: 14px; font-size: clamp(19px, 5vw, 22px); color: var(--text-2); }
.menu-links .ico { color: var(--brick); }
.menu-group { display: block; padding: 18px 0 6px; font: italic 600 16px/1.3 var(--ff-serif); color: var(--text-3); border-bottom: 1px solid var(--line); }
.menu-cta { display: grid; gap: 12px; margin-top: 28px; }
.menu-cta .btn { white-space: normal; }
html.menu-open { overflow: hidden; }

/* ---------- home hero: the Hell Gate Bridge from Astoria Park, the headline in the open sky ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--sky); color: var(--text);
  padding-top: calc(var(--head-h) + clamp(36px, 4.6vw, 68px)); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-body { display: grid; grid-template-columns: minmax(0, 1fr) 500px; align-items: start; gap: clamp(40px, 5vw, 80px); padding-bottom: clamp(64px, 8vw, 120px); }
.hero-copy { min-width: 0; padding-top: 6px; }
.hero .eyebrow { color: var(--text); }
.hero-h1 { margin-top: 22px; font-family: var(--ff-serif); color: var(--text); text-wrap: balance; }
.h1-name { display: block; font-size: clamp(44px, 5.2vw, 78px); line-height: .98; letter-spacing: -.024em; font-weight: 500; }
.h1-rest { display: block; margin-top: 16px; max-width: 24em; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.3; letter-spacing: -.006em; font-weight: 400; text-wrap: pretty; }
/* v2 fix: the home H1 is one sentence at one size */
.hero-h1.is-one { max-width: 21ch; font-size: clamp(36px, 4.7vw, 50px); line-height: 1.08; letter-spacing: -.022em; font-weight: 600; }
.hero .lede { margin-top: 20px; color: var(--text); }
.hero-credit { position: absolute; left: 0; right: 0; bottom: 18px; pointer-events: none; }
.hero-credit { max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.hero-credit span { display: inline-block; padding: 5px 10px; border-radius: var(--r-sm); background: rgba(33, 28, 25, .58);
  font: 500 12px/1.3 var(--ff-text); letter-spacing: .02em; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-form { min-width: 0; }
.hero-form .quote-card { border: 0; box-shadow: 0 32px 64px -26px rgba(18, 32, 44, .5), 0 2px 6px rgba(18, 32, 44, .08); }

/* ---------- intro (under the hero) ---------- */
.intro { background: var(--paper); border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 36px clamp(40px, 6vw, 96px); align-items: start; padding-block: clamp(48px, 6vw, 88px); }
.standfirst { font: 400 clamp(24px, 2.3vw, 33px)/1.28 var(--ff-serif); letter-spacing: -.01em; color: var(--text); max-width: 21em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.facts div { padding: 16px 0 18px; border-top: 1px solid var(--line-2); min-width: 0; }
.facts dt { font: italic 600 16px/1.3 var(--ff-serif); color: var(--brick); }
.facts dd { margin: 7px 0 0; font: 500 16px/1.45 var(--ff-text); color: var(--text); }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.white { background: var(--white); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head .h2 { max-width: 20ch; }
.sec-head .sec-text { color: var(--text-2); font-size: 17px; max-width: 32em; padding-bottom: 6px; }
/* v2 fix: three head layouts, so the sections do not all read "headline left, paragraph right" */
.sec-head.is-stack { display: block; max-width: 820px; }
.sec-head.is-stack .h2 { max-width: 19ch; }
.sec-head.is-stack .sec-text { margin-top: 20px; max-width: 36em; padding-bottom: 0; }
.sec-head.is-rail { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: start; gap: 18px 64px; padding-top: 22px; border-top: 2px solid var(--text); }
.sec-head.is-rail .eyebrow { margin: 10px 0 0; }
.sec-head.is-rail .h2 { max-width: 22ch; }
.sec-head.is-rail .sec-text { margin-top: 18px; max-width: 38em; padding-bottom: 0; }
.sec-head.is-center { display: flex; flex-direction: column; align-items: center; max-width: 760px; margin-inline: auto; text-align: center; }
.sec-head.is-center .sec-text { margin-top: 18px; max-width: 34em; padding-bottom: 0; }
.sec-more { margin-top: 28px; }
.sec-head.is-center ~ .sec-more { text-align: center; }

/* ---------- quote card (father's rules: the number big on top, then the line, then the site's own form) ---------- */
.quote { scroll-margin-top: calc(var(--head-h) + 16px); }
.quote-card { --qp: clamp(22px, 2.4vw, 32px); position: relative; overflow: hidden; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--qp); box-shadow: var(--shadow); }
/* v2 fix: the site's own card top, a brick band across the card: the number big, then the father's line, both left aligned */
.quote-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; margin: calc(-1 * var(--qp)) calc(-1 * var(--qp)) 20px; padding: 18px var(--qp) 18px;
  background: var(--brick-deep); color: var(--on-brick); }
.quote-num { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 600 clamp(31px, 2.8vw, 38px)/1 var(--ff-serif); letter-spacing: -.01em;
  font-variant-numeric: lining-nums; color: var(--on-brick); text-decoration: none; white-space: nowrap; }
.quote-num .ico { width: 24px; height: 24px; flex: none; color: var(--brick-soft); }
.quote-num:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.quote-num:focus-visible { outline-color: var(--brick-soft); }
.quote-h { font: 500 clamp(16px, 1.25vw, 17.5px)/1.35 var(--ff-text); letter-spacing: -.003em; max-width: none; color: var(--on-brick-2); }

/* ---------- the site's own quote form inside the card (restyled only; never changed) ----------
   Contact Form 7 form 18 (#getformid > p). Per-site tweaks (the form's own number hidden) come from inc/site.php. */
.tg-form { --f-h: 48px; text-align: left; }
.tg-form .wpcf7, .tg-form .wpforms-container { margin: 0 !important; padding: 0 !important; max-width: none !important; }
.tg-form form { margin: 0; padding: 0; }
.tg-form p { margin: 0; }
.tg-form br { display: none; }
.tg-form fieldset.hidden-fields-container { display: none; }
.tg-form #formsection, .tg-form #formsectionside, .tg-form #formfields, .tg-form #formheader { display: block; width: auto; max-width: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.tg-form #formcontainer, .tg-form #getformid, .tg-form .wpforms-field-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; width: auto; margin: 0; padding: 0; background: none; }
.tg-form #formcontainer > :empty { display: none; }
.tg-form .qformfield, .tg-form .qformfieldside, .tg-form #getformid > p { position: relative; min-width: 0; width: auto; max-width: none; margin: 0; padding: 0; float: none; }
.tg-form .qformfieldfull, .tg-form .wpforms-field-email, .tg-form .wpforms-field-textarea { grid-column: 1 / -1; }
/* :has() rules one by one, so a browser without it keeps everything else */
.tg-form #formcontainer > :has(input[type="email"]) { grid-column: 1 / -1; }
.tg-form #getformid > :has(input[type="email"]) { grid-column: 1 / -1; }
.tg-form #getformid > :has(textarea) { grid-column: 1 / -1; }
.tg-form #getformid > :has(input[type="submit"]) { grid-column: 1 / -1; }
.tg-form .wpforms-field { min-width: 0; margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; }
.tg-form .wpcf7-form-control-wrap { display: block; position: relative; }
.tg-form .wpcf7-form-control-wrap + .wpcf7-form-control-wrap, .tg-form .wpcf7-form-control-wrap + label { margin-top: 12px; }
.tg-form label, .tg-form .wpforms-field-label { display: block; margin: 0 0 7px; padding: 0; font: 500 14px/1.3 var(--ff-text); color: var(--text); text-align: left; float: none; }
.tg-form #getformid .dadai-dlabel { display: block; margin: 0 0 7px; color: var(--text); font: 500 14px/1.3 var(--ff-text); }
.quote-card .tg-form .wpforms-form .wpforms-field-label { margin: 0 0 7px; font: 500 14px/1.3 var(--ff-text); color: var(--text); }
.quote-card .tg-form .wpforms-form .wpforms-required-label { color: var(--text); font-weight: 500; }
.quote-card .tg-form input[type="text"], .quote-card .tg-form input[type="email"], .quote-card .tg-form input[type="tel"],
.quote-card .tg-form input[type="date"], .quote-card .tg-form input[type="number"], .quote-card .tg-form input[type="url"],
.quote-card .tg-form select, .quote-card .tg-form textarea {
  display: block; width: 100% !important; max-width: 100% !important; min-height: var(--f-h); height: auto; margin: 0; padding: 12px 14px;
  border: 1px solid var(--field); border-radius: var(--r); background-color: #fdfbf8; box-shadow: none; outline: none;
  font: 400 16px/1.35 var(--ff-text); color: var(--text); -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s; }
.quote-card .tg-form textarea, .quote-card .tg-form .wpforms-form textarea.wpforms-field-large { height: 88px; min-height: 88px; max-height: none; resize: vertical; }
.quote-card .tg-form select { padding-right: 42px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b5f57' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px 18px; }
.quote-card .tg-form select:has(option[value=""]:checked) { color: var(--text-3); }
.quote-card .tg-form select option { color: var(--text); }
.quote-card .tg-form input::placeholder, .quote-card .tg-form textarea::placeholder { color: var(--text-3); opacity: 1; }
.quote-card .tg-form input:hover, .quote-card .tg-form select:hover, .quote-card .tg-form textarea:hover { border-color: var(--text-3); }
.quote-card .tg-form input:focus, .quote-card .tg-form select:focus, .quote-card .tg-form textarea:focus { border-color: var(--brick); background-color: #fff; box-shadow: 0 0 0 4px rgba(163, 65, 42, .15); }
/* iPhone-safe date box: full width, real height and left-aligned text even while empty */
.quote-card .tg-form input[type="date"] { min-width: 0; min-height: var(--f-h) !important; line-height: 1.35 !important; text-align: left; }
.quote-card .tg-form input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.35em; }
.quote-card .tg-form input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
/* the send button */
.quote-card .tg-form input[type="submit"], .quote-card .tg-form button[type="submit"] {
  display: block; width: 100% !important; min-height: 54px; height: auto; margin: 4px 0 0; padding: 14px 22px; border: 0; border-radius: var(--r-btn);
  background: var(--accent) !important; color: var(--on-accent) !important; box-shadow: none; text-shadow: none;
  font: 600 16px/1.15 var(--ff-text); letter-spacing: .01em; cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color .2s; }
.quote-card .tg-form input[type="submit"]:hover, .quote-card .tg-form button[type="submit"]:hover { background: var(--accent-2) !important; }
.quote-card .tg-form input[type="submit"]:disabled, .quote-card .tg-form button[type="submit"]:disabled { opacity: .65; cursor: progress; }
.tg-form .wpcf7-spinner { position: absolute; right: 16px; bottom: 15px; margin: 0; }
.tg-form .wpforms-submit-container { margin: 0 !important; padding: 12px 0 0 !important; }
.tg-form .wpforms-submit-spinner { margin: 10px auto 0; }
/* messages */
.tg-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--bad); }
.quote-card .tg-form .wpcf7-not-valid, .quote-card .tg-form input.wpforms-error, .quote-card .tg-form select.wpforms-error, .quote-card .tg-form textarea.wpforms-error { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(180, 35, 24, .1); }
.tg-form label.wpforms-error, .tg-form em.wpforms-error { display: block; margin: 6px 0 0; padding: 0; font: 400 13px/1.4 var(--ff-text); color: var(--bad); }
.tg-form .wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 14px; border-width: 1px; border-radius: var(--r); font-size: 14px; line-height: 1.5; color: var(--text); }
.tg-form .wpforms-confirmation-container-full, .tg-form .wpforms-confirmation-container { margin: 0; padding: 14px 16px; border: 1px solid #b7e1c8; border-radius: var(--r); background: #e7f6ee; color: var(--text); font-size: 15px; }
.tg-form .wpforms-error-container, .tg-form .wpforms-error-noscript { color: var(--bad); font-size: 14px; }
.tg-form .wpforms-field-hp { display: none !important; }

/* ---------- services: four portrait job photos ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.svc { display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.svc-ph { position: relative; overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 4 / 5; background: var(--paper-2); }
.svc-ph img { width: 100%; height: 100%; object-fit: cover; }
.svc h3 { margin-top: 20px; font: 500 clamp(21px, 1.8vw, 25px)/1.15 var(--ff-serif); letter-spacing: -.01em; }
.svc p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.also { margin-top: clamp(44px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 0; }
.also .label { margin-right: 24px; color: var(--brick); }
.also ul { display: flex; flex-wrap: wrap; }
.also li { display: inline-flex; align-items: center; min-height: 32px; }
.also li + li::before { content: ""; width: 1px; height: 14px; background: var(--line-2); margin: 0 16px; }
.also a, .also li > span { display: inline-flex; align-items: center; min-height: 44px; font-size: 15.5px; color: var(--text-2); text-decoration: none; }
.also a { color: var(--text); text-decoration: underline; text-decoration-color: var(--brick); text-underline-offset: 4px; }
.also a:hover { color: var(--brick-2); }

/* ---------- how it works: the brick section ---------- */
.how-sec { background: var(--brick-deep); color: var(--on-brick); }
.how-sec .eyebrow { color: var(--brick-soft); }
.how-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.how-top.no-photo { grid-template-columns: minmax(0, 1fr); }
.how-head .eyebrow { margin-bottom: 20px; }
.how-head .h2 { color: var(--on-brick); max-width: 16ch; }
.coi { margin-top: 28px; max-width: 34em; padding: 16px 18px; border-left: 2px solid var(--brick-soft); background: rgba(0, 0, 0, .12); color: var(--on-brick-2); font-size: 15.5px; line-height: 1.55; }
.coi strong { color: var(--on-brick); font-weight: 600; }
.how-ph .ph { position: relative; overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 4 / 3; background: var(--char-2); }
.how-ph img { width: 100%; height: 100%; object-fit: cover; }
.how-ph figcaption, .story-ph figcaption, .areas-ph figcaption, .band-photo figcaption { margin-top: 10px; font: 400 13px/1.45 var(--ff-text); color: var(--text-3); }
.how-ph figcaption { color: var(--on-brick-2); }
.how-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 44px); margin-top: clamp(48px, 6vw, 80px); }
.how-steps li { padding-top: 20px; border-top: 1px solid rgba(239, 237, 232, .3); min-width: 0; }
.how-steps .n { display: block; font: 400 clamp(48px, 4.4vw, 64px)/1 var(--ff-serif); color: var(--brick-soft); font-variant-numeric: lining-nums; }
.how-steps h3 { margin-top: 18px; font: 500 22px/1.2 var(--ff-serif); color: var(--on-brick); }
.how-steps p { margin-top: 8px; color: var(--on-brick-2); font-size: 15.5px; line-height: 1.55; }

/* ---------- about us: the old home text in newspaper columns ---------- */
.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.story.no-photo .story-side { position: static; }
.story-side { position: sticky; top: calc(var(--head-h) + 32px); }
.story-side .eyebrow { margin-bottom: 20px; }
.story-side .h2 { max-width: 14ch; }
.story-ph { margin-top: clamp(28px, 3vw, 40px); }
.story-ph .ph { position: relative; overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 4 / 3; background: var(--paper-2); }
.story-ph img { width: 100%; height: 100%; object-fit: cover; }
.story-entry { columns: 2; column-gap: clamp(32px, 4vw, 56px); font-size: 16.5px; line-height: 1.68; }
.story-entry > * + *, .story-more > * { margin-top: 14px; }
.story-more { display: contents; }
.story-toggle { display: none; }
.story-entry h3 { margin-top: 26px; font: 500 22px/1.2 var(--ff-serif); color: var(--text); break-after: avoid; }
.story-entry > :first-child { margin-top: 0; }
.story-entry p { orphans: 3; widows: 3; }
.story-entry > p:first-child { font: 400 21px/1.45 var(--ff-serif); color: var(--text); }
.story-entry .story-legal { column-span: all; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.6; color: var(--text-3); }

/* ---------- areas: a Queens street photo beside the lists ---------- */
.areas-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.areas-wrap.no-photo { grid-template-columns: minmax(0, 1fr); }
.areas-ph .ph { position: relative; overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 4 / 3; background: var(--paper-2); }
.areas-ph img { width: 100%; height: 100%; object-fit: cover; }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(24px, 3vw, 44px); align-items: start; }
.area:first-child { grid-row: span 2; }
.area h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--text);
  font: 500 22px/1.2 var(--ff-serif); }
.area h3 span { font: 600 11px/1 var(--ff-text); letter-spacing: .12em; color: var(--text-3); }
.area a, .area li > span { display: flex; align-items: center; justify-content: space-between; min-height: 46px; border-bottom: 1px solid var(--line);
  font-size: 15.5px; color: var(--text-2); text-decoration: none; transition: color .15s; }
.area a { color: var(--text); }
.area a::after { content: ""; flex: none; width: 7px; height: 7px; border-top: 1.5px solid var(--brick); border-right: 1.5px solid var(--brick); transform: rotate(45deg); margin-right: 4px; }
.area a:hover { color: var(--brick-2); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); }
.faq-grid .eyebrow { margin-bottom: 20px; }
.faq-grid .h2 { max-width: 12ch; }
.faq-side p { margin-top: 20px; color: var(--text-2); }
.faq-side .faq-note { max-width: 24em; }
.faq-side .faq-note a { color: var(--text); text-decoration-color: var(--brick); text-underline-offset: 3px; }
.faq-side .faq-note a:hover { color: var(--brick-2); }
.call-num { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 600 clamp(26px, 2.4vw, 32px)/1 var(--ff-serif); font-variant-numeric: lining-nums; text-decoration: none; color: inherit; white-space: nowrap; }
.call-num .ico { width: 24px; height: 24px; color: var(--brick); }
.faq-side .call-num { margin-top: 10px; }
.faq { border-bottom: 1px solid var(--line-2); }
.faq-list .faq:first-child { border-top: 2px solid var(--text); }
.faq summary { display: flex; justify-content: flex-start; align-items: center; gap: 18px; min-height: 72px; padding: 18px 0; cursor: pointer; list-style: none;
  font: 600 20px/1.3 var(--ff-serif); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::before { content: ""; flex: none; order: -1; width: 30px; height: 30px; border-radius: 50%; transition: transform .25s, background-color .25s;
  background: var(--brick) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
.faq summary:hover::before { background-color: var(--brick-2); }
.faq[open] summary::before { transform: rotate(180deg); background-color: var(--text); }
.faq > :not(summary) { padding: 0 24px 24px 48px; color: var(--text-2); font-size: 16px; max-width: 40em; margin: 0; }
.faq a { color: var(--text); text-decoration-color: var(--brick); }

/* ---------- post lists (home guides, lists, more tips): editorial columns, no boxes ---------- */
/* v2.1: columns split by thin vertical rules (no top rules); the home guides are numbered in big brick slab numerals */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 0; counter-reset: tg-guide; }
.post-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 4px clamp(20px, 2.4vw, 36px) 6px; border-left: 1px solid var(--line-2); }
.posts.guides .post-card { counter-increment: tg-guide; }
.posts.guides .post-body::before { content: counter(tg-guide, decimal-leading-zero); display: block; margin-bottom: 4px; font: 300 46px/1 var(--ff-serif); color: var(--brick); font-variant-numeric: lining-nums; }
.post-media { display: block; margin-bottom: 16px; }
.post-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); }
.post-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font: italic 600 15px/1.4 var(--ff-serif); color: var(--brick); }
.post-h { font: 600 21px/1.25 var(--ff-serif); letter-spacing: -.008em; }
.post-h a { text-decoration: none; color: var(--text); }
.post-h a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover .post-h a { text-decoration: underline; text-decoration-color: var(--brick); text-decoration-thickness: 1.5px; }
.post-x { font-size: 15.5px; color: var(--text-2); }
.post-body .link-go { margin-top: auto; font-size: 14.5px; }

/* ---------- closing band ---------- */
.band { background: var(--paper-2); color: var(--text); padding-block: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: clamp(40px, 6vw, 96px); align-items: center; }
.band-grid.no-photo { grid-template-columns: minmax(0, 1fr); }
.band .eyebrow { margin-bottom: 20px; }
.band .h2 { max-width: 17ch; font-size: clamp(36px, 4.2vw, 58px); }
.band .lede { margin-top: 20px; }
.band .hero-cta { margin-top: 32px; }
.band-photo .ph { position: relative; overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 4 / 3; background: var(--char-2); }
.band-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.site-foot { background: var(--char); color: var(--on-dark-2); font-size: 15px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 40px 48px; padding-block: clamp(56px, 7vw, 88px) 48px; }
.foot-brand { flex: 2 1 320px; min-width: 0; max-width: 460px; }
.foot-col { flex: 1 1 170px; min-width: 0; }
.brand-foot { color: var(--on-dark); }
.brand-foot .logo-img { height: 56px; }
.foot-brand > p:not(.foot-meta) { margin-top: 20px; max-width: 30em; line-height: 1.6; }
.foot-brand .call-num { margin-top: 22px; color: var(--on-dark); font-size: 28px; }
.foot-brand .call-num .ico { color: var(--brick-soft); }
.foot-meta { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--on-dark-3); }
.foot-col h2 { font: italic 600 17px/1.3 var(--ff-serif); color: var(--brick-soft); margin-bottom: 14px; }
.foot-list a, .foot-list span { display: flex; align-items: center; min-height: 44px; padding-block: 6px; color: var(--on-dark-2); text-decoration: none; line-height: 1.35; }
.foot-list a:hover { color: var(--on-dark); text-decoration: underline; }
.foot-legal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 40px; align-items: center; padding-block: 24px 32px; border-top: 1px solid var(--line-dark);
  font-size: 13px; line-height: 1.6; color: var(--on-dark-3); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-dark-2); text-decoration: none; }
.foot-links a:hover { color: var(--on-dark); text-decoration: underline; }
.foot-links .ico { width: 16px; height: 16px; color: var(--brick-soft); }
/* the dadai-legal-footer.php line (FMCSA links), printed after the footer: same dark look */
.tg .aa-legal-line { background: var(--char) !important; color: var(--on-dark-3) !important; border-top: 1px solid var(--line-dark) !important;
  font: 400 13px/1.7 var(--ff-text) !important; padding: 16px var(--gut) 20px !important; }
.tg .aa-legal-line a { color: var(--on-dark-2) !important; text-decoration: underline; text-decoration-color: rgba(239, 237, 232, .35); }
.tg .aa-legal-line a:hover { color: var(--on-dark) !important; }

/* ---------- phone action bar ---------- */
.mbar { display: none; }

/* ---------- page header (pages, posts, lists): light paper ---------- */
.t-hero { position: relative; background: var(--paper-2); color: var(--text); padding-top: calc(var(--head-h) + clamp(24px, 4vw, 56px)); border-bottom: 1px solid var(--line); }
.t-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; padding-bottom: clamp(44px, 5.5vw, 72px); }
.t-hero.has-form .t-hero-grid { grid-template-columns: minmax(0, 1fr) 480px; align-items: start; }
.crumbs { margin-bottom: clamp(16px, 2.4vw, 28px); font: 500 13px/1.4 var(--ff-text); color: var(--text-3); }
.crumbs ol { display: flex; flex-wrap: nowrap; align-items: center; min-width: 0; }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.crumbs li[aria-current] { display: block; flex: 0 1 auto; min-width: 0; line-height: 44px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.crumbs a { color: var(--text-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 10px; margin-inline: -10px; }
.crumbs a:hover { color: var(--brick-2); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-2); }
.t-hero .eyebrow { margin-bottom: 20px; }
.t-hero .h1 { color: var(--text); font-size: clamp(36px, 4.4vw, 60px); max-width: 20ch; }
.t-hero .h1.is-long { font-size: clamp(30px, 3.3vw, 46px); max-width: 24ch; }
.t-hero .lede { margin-top: 20px; }
.hero-meta { margin-top: 14px; font: 500 13px/1.5 var(--ff-text); color: var(--text-3); }
.hero-note { margin-top: 14px; font: 500 13px/1.5 var(--ff-text); color: var(--text-3); }
.t-hero .hero-form .quote-card { border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.t-hero-ph { display: none; }
@media (min-width: 1100px) {
  .t-hero-ph { display: block; position: relative; overflow: hidden; margin-top: clamp(28px, 3vw, 44px); max-width: 680px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); background: var(--sky); }
  .t-hero-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 62%; }
}

/* ---------- page body: side column with the quote card + content column ---------- */
.t-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 48px); align-items: start; padding-block: 24px clamp(56px, 8vw, 112px); }
.t-aside { min-width: 0; position: relative; z-index: 2; }
.t-aside .quote-card { box-shadow: var(--shadow-pop); }
.t-article { min-width: 0; }

/* ---------- the page content (classic editor and blocks) ---------- */
.entry { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.entry::after { content: ""; display: table; clear: both; }
.entry > * + * { margin-top: 18px; }
.entry > :first-child { margin-top: 0; }
.entry h1, .entry h2 { clear: both; margin-top: clamp(40px, 5vw, 60px); font-size: clamp(28px, 2.9vw, 38px); letter-spacing: -.015em; line-height: 1.12; color: var(--text); max-width: 24ch; }
.entry h3 { margin-top: 32px; font: 500 23px/1.25 var(--ff-serif); color: var(--text); }
.entry h4, .entry h5, .entry h6 { margin-top: 26px; font: 600 17px/1.35 var(--ff-text); color: var(--text); }
.entry h2 + *, .entry h3 + *, .entry h4 + * { margin-top: 14px; }
.entry p { max-width: 42em; }
.entry strong, .entry b { color: var(--text); font-weight: 600; }
.entry a { color: var(--text); text-decoration-color: var(--brick); }
.entry a:hover { color: var(--brick-2); }
.entry ul:not([class]), .entry ol:not([class]), .entry .wp-block-list { max-width: 44em; }
.entry ul:not([class]) > li, .entry ul.wp-block-list > li { position: relative; padding: 7px 0 7px 22px; }
.entry ul:not([class]) > li::before, .entry ul.wp-block-list > li::before { content: ""; position: absolute; left: 3px; top: calc(7px + .85em - 3px); width: 6px; height: 6px; background: var(--brick); transform: rotate(45deg); }
.entry ol:not([class]), .entry ol.wp-block-list { display: grid; gap: 8px; padding-left: 1.4em; list-style: decimal; }
.entry ol:not([class]) > li::marker, .entry ol.wp-block-list > li::marker { color: var(--brick); font-weight: 600; }
.entry li > ul, .entry li > ol { margin-top: 8px; }
.entry blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--brick); color: var(--text); font: 400 20px/1.5 var(--ff-serif); }
.entry hr { border: 0; border-top: 1px solid var(--line-2); margin-block: 40px; }
.entry img { border-radius: var(--r-sm); }
.entry figure, .entry .wp-caption { max-width: 100%; }
.entry figcaption, .entry .wp-caption-text, .entry .wp-element-caption { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.entry .alignleft { float: left; max-width: 50%; margin: 6px 24px 16px 0; }
.entry .alignright { float: right; max-width: 50%; margin: 6px 0 16px 24px; }
.entry .aligncenter, .entry img.aligncenter { display: block; margin-inline: auto; }
.entry iframe, .entry video, .entry embed, .entry object { max-width: 100%; }
.entry table { width: 100%; font-size: 15px; line-height: 1.5; }
.entry th, .entry td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.entry thead th { font: 600 11.5px/1.3 var(--ff-text); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.entry pre { overflow-x: auto; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font: 400 14px/1.6 ui-monospace, Menlo, Consolas, monospace; }
.entry code { font: 400 .9em/1 ui-monospace, Menlo, Consolas, monospace; }
.entry details.faq summary { font-size: 19px; min-height: 64px; }
.entry .faq + .faq { margin-top: 0; }
.entry .wpcf7, .entry .wpforms-container { max-width: 620px; }
.page-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; font-weight: 600; }

/* ---------- Elementor content (templates/full-width.php): the builder's own layout, browser-like defaults ---------- */
.tg-builder { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.tg-builder p { margin: 0 0 1em; }
.tg-builder p:last-child { margin-bottom: 0; }
.tg-builder h1, .tg-builder h2, .tg-builder h3, .tg-builder h4, .tg-builder h5, .tg-builder h6 { margin: 0 0 .5em; color: var(--text); }
.tg-builder ul:not([class]), .tg-builder ol:not([class]) { margin: 0 0 1em; padding-left: 1.4em; list-style: revert; }
.tg-builder img { display: inline-block; vertical-align: middle; }
.tg-builder a { color: inherit; }

/* ---------- lists, search, 404 ---------- */
.list-main { padding-block: clamp(48px, 7vw, 96px); }
.empty { font-size: 17px; color: var(--text-2); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-2);
  text-decoration: none; color: var(--text); font: 500 15px/1 var(--ff-text); }
.page-numbers.current { background: var(--text); color: var(--paper); border-color: var(--text); }
.page-numbers.dots { border-color: transparent; }
.sform { display: flex; gap: 10px; max-width: 640px; margin-bottom: 40px; }
.sform input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid var(--field); border-radius: var(--r); background: var(--card); font-size: 16px; }
.sform input:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 4px rgba(163, 65, 42, .15); }
.results { display: grid; border-top: 2px solid var(--text); max-width: 760px; }
.result { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.result-h { font: 500 22px/1.25 var(--ff-serif); }
.result-h a { color: var(--text); text-decoration: none; }
.result-h a:hover { text-decoration: underline; text-decoration-color: var(--brick); }
.result-x { margin-top: 6px; color: var(--text-2); font-size: 15.5px; }
.services-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 900px; }
.services-list a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); font: 500 16px/1.3 var(--ff-text); transition: border-color .2s; }
.services-list a:hover { border-color: var(--brick); }
.services-list .ico-svc { color: var(--brick); }
.services-list .ico-go { margin-left: auto; width: 17px; height: 17px; color: var(--text-3); }
.more-sec { padding-block: 0 clamp(56px, 8vw, 104px); }
.more-h { margin-bottom: 28px; font-size: clamp(26px, 2.8vw, 36px); }

/* ---------- responsive ---------- */
@media (min-width: 1100px) {
  /* home hero: keep the headline in the open sky above the arch. The photo is drawn at least 760px + 46vw wide
     (anchored top left, the right side runs under the card), so the arch sits lower than the text at every width. */
  .hero { padding-top: calc(var(--head-h) + clamp(20px, 2.2vw, 48px)); }
  .hero-media img { width: max(100%, calc(760px + 46vw)); max-width: none; object-position: 0 0; }
  .hero-h1 { margin-top: 18px; }
  .h1-name { font-size: clamp(40px, 4.45vw, 66px); }
  .h1-rest { margin-top: 14px; font-size: clamp(18px, 1.55vw, 24px); }
  .hero-h1.is-one { max-width: 24ch; font-size: clamp(36px, 3vw, 50px); line-height: 1.03; }
  /* pages and posts: the quote card sits in the side column, reaches up into the page header, and stays in view */
  .t-main { grid-template-columns: minmax(0, 1fr) var(--aside-w); column-gap: clamp(48px, 5vw, 88px); padding-top: clamp(56px, 6vw, 88px); }
  .t-article { grid-column: 1; grid-row: 1; }
  .t-aside { grid-column: 2; grid-row: 1; margin-top: calc(-1 * var(--pull) - clamp(56px, 6vw, 88px)); }
  .t-hero.has-aside .t-hero-copy { max-width: calc(100% - var(--aside-w) - clamp(48px, 5vw, 88px)); }
  .t-hero.has-aside { min-height: calc(var(--head-h) + var(--pull) + 120px); }
  .t-hero.has-aside .t-hero-grid { padding-bottom: clamp(56px, 6vw, 80px); }
}
@media (min-width: 1100px) and (min-height: 880px) {
  .t-aside { position: sticky; top: calc(var(--head-h) + 20px); }
}
@media (max-width: 1366px) {
  .head-phone span { display: none; }
}
@media (max-width: 1240px) {
  .nav-link, .nav-btn { padding: 0 9px; }
  .hero-body { grid-template-columns: minmax(0, 1fr) 460px; }
}
@media (max-width: 1099px) {
  .hero-body { grid-template-columns: 1fr; gap: 36px; }
  .hero-form { width: 100%; max-width: 620px; }
  .hero-credit { display: none; }
  .t-hero.has-form .t-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .t-aside { max-width: 620px; width: 100%; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .also { flex-direction: column; align-items: flex-start; }
  .also ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .also li + li::before { display: none; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: end; }
  .story-side .eyebrow, .story-side .h2 { grid-column: 1; }
  .story-ph { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .posts { grid-template-columns: 1fr 1fr; }
  .post-card:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .band-grid { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 960px) {
  :root { --bar-h: 64px; }
  .nav, .head-phone, .head-cta { display: none; }
  .icon-btn { display: inline-flex; }
  .head-row .head-actions { margin-left: auto; gap: 6px; }
  .brand .logo-img { height: 44px; }
  .logo-mark { min-width: 38px; height: 38px; }
  .sec-head, .sec-head.is-rail { grid-template-columns: 1fr; align-items: start; }
  .intro-grid { grid-template-columns: 1fr; }
  .how-top { grid-template-columns: 1fr; align-items: start; }
  .faq-grid { grid-template-columns: 1fr; }
  .areas-wrap { grid-template-columns: 1fr; }
  .story-entry { columns: 1; }
  .band-grid { grid-template-columns: 1fr; }
  .band-photo { display: none; }
  .mbar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(239, 237, 232, .96);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-top: 1px solid var(--line); transition: transform .3s; }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar .btn { --h: 50px; white-space: normal; line-height: 1.15; }
  .mbar .btn-line { padding: 0 18px; background: var(--card); color: var(--text); border-color: var(--line-2); }
  .mbar .btn-line .ico { color: var(--brick); }
  .mbar .btn-accent { padding: 0 14px; }
  /* room for the phone bar under the last line of the page, in the footer's own colour */
  .tg .aa-legal-line { padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
  .site-foot:not(:has(~ .aa-legal-line)) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .grecaptcha-badge { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
  .posts { grid-template-columns: 1fr; gap: 0; }
  .post-card, .post-card:nth-child(2n+1) { border-left: 0; padding: 22px 0 24px 0; border-bottom: 1px solid var(--line-2); }
  .posts.guides .post-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); }
  .posts.guides .post-card .post-body { grid-column: 2; }
  .posts.guides .post-body::before { position: absolute; left: 0; top: 22px; margin: 0; font-size: 38px; }
}
@media (max-width: 640px) {
  .topnote span { font-size: 9.5px; letter-spacing: .08em; }
  .logo-text { gap: 10px; }
  .logo-words b { white-space: normal; font-size: 16px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .logo-words small { display: none; }
  /* phones: the tall crop as a block at the top (sky for the headline, then the arch and the tower), the card over its foot */
  .hero { background: var(--paper); padding-top: calc(var(--head-h) + 22px); }
  .hero-media { inset: 0 0 auto 0; height: 177.75vw; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
  .hero-copy { min-height: calc(118vw - var(--head-h) - 22px); padding-top: 0; }
  .hero .eyebrow { font-size: 15px; }
  .hero-h1 { margin-top: 14px; }
  .h1-name { font-size: clamp(36px, 10.8vw, 46px); line-height: 1; }
  .h1-rest { margin-top: 10px; max-width: 19em; font-size: 17px; line-height: 1.32; padding-right: 64px; }
  .hero-h1.is-one { max-width: none; padding-right: 44px; font-size: clamp(29px, 8.4vw, 35px); line-height: 1.07; letter-spacing: -.018em; }
  .hero .lede { margin-top: 14px; font-size: 16px; }
  .hero-body { gap: 0; padding-bottom: 36px; }
  .hero-cta { flex-direction: column; gap: 10px; margin-top: 28px; }
  .hero-cta .btn { width: 100%; white-space: normal; }
  .h1, .t-hero .h1 { font-size: clamp(32px, 9.2vw, 40px); line-height: 1.06; }
  .h1.is-long, .t-hero .h1.is-long { font-size: clamp(27px, 7.6vw, 33px); line-height: 1.1; }
  .h2 { font-size: clamp(30px, 8.4vw, 38px); }
  .t-hero { padding-top: calc(var(--head-h) + 10px); }
  .t-hero .crumbs { margin-bottom: 4px; }
  .t-hero .eyebrow { margin-bottom: 12px; }
  .t-hero .lede { margin-top: 12px; font-size: 16px; }
  .t-hero .hero-note { display: none; }
  .t-hero-grid { padding-bottom: 26px; }
  .t-hero.has-form .t-hero-grid { gap: 22px; }
  .t-main { padding-top: 16px; }
  .quote-card { --qp: 16px; padding: 18px 16px 16px; }
  .quote-head { margin-top: -18px; margin-bottom: 14px; padding: 14px 16px 14px; gap: 2px; }
  .quote-num { font-size: 31px; }
  .tg-form #formcontainer, .tg-form #getformid, .tg-form .wpforms-field-container { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .intro-grid { padding-block: 40px 44px; gap: 28px; }
  .standfirst { font-size: 23px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 13px 0 14px; }
  .svc-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 16px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); padding-bottom: 8px; }
  .svc { scroll-snap-align: start; }
  .also ul { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 0; margin-top: 44px; }
  .how-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 8px; padding: 20px 0 22px; }
  .how-steps .n { grid-row: span 2; font-size: 44px; }
  .how-steps h3 { margin-top: 2px; font-size: 21px; }
  .story-side { display: block; }
  .story-ph { margin-top: 28px; }
  .story-entry > p:first-child { font-size: 19.5px; }
  /* v2 fix: the long old text folds behind "More about us" (only when tg.js runs, so it is never lost) */
  .js .story-more { display: none; }
  .js .story-more.is-open { display: block; }
  .js .story-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin-top: 22px; padding: 0 18px;
    border: 1px solid var(--text); border-radius: var(--r-btn); background: transparent; font: 600 15.5px/1.2 var(--ff-text); color: var(--text); cursor: pointer; }
  .story-toggle .ico { width: 18px; height: 18px; color: var(--brick); transition: transform .2s; }
  .story-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .sec-head.is-rail { padding-top: 18px; }
  .sec-head.is-rail .eyebrow { margin-top: 0; }
  .areas { grid-template-columns: 1fr; gap: 32px; }
  .area:first-child { grid-row: auto; }
  .faq summary { font-size: 18px; min-height: 64px; gap: 14px; }
  .faq summary::before { width: 28px; height: 28px; }
  .faq > :not(summary) { padding: 0 0 22px 42px; }
  .foot-legal { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .entry { font-size: 16.5px; }
  .entry .alignleft, .entry .alignright { float: none; max-width: 100%; margin: 0 0 16px; }
  .entry table { display: block; overflow-x: auto; }
  .sform { flex-direction: column; }
  .sform .btn { width: 100%; }
  .menu-cta .btn { --h: 54px; }
}
@media (max-width: 380px) {
  .topnote span { font-size: 8.8px; letter-spacing: .03em; }
  .brand .logo-img { height: 40px; }
  .head-actions { gap: 4px; }
}
@media print {
  .site-head, .menu-sheet, .mbar, .band, .t-aside, .hero-form, .hero-media { display: none !important; }
  .hero, .t-hero { padding-top: 24px; color: #000; background: none; }
  body.tg { padding-bottom: 0; }
}
