/*
Theme Name: All Seasons
Theme URI: https://allseasonslandscapingms.com
Author: Rossi Studios
Author URI: https://rossistudios.co
Description: Custom theme for All Seasons Landscaping & Irrigation, Corinth MS. Industrial-rugged "Bedrock" design direction — forest green and gold, condensed display type. All content is managed from the WordPress admin: services, projects, testimonials and seasons are custom post types, contact details and home page sections live in the Customizer, and every other page is built with the block editor.
Version: 1.0.6
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: all-seasons
Tags: business, custom-colors, custom-logo, custom-menu, featured-images, block-patterns, editor-style, full-width-template, threaded-comments, translation-ready
*/

/* ============================================================
   ALL SEASONS LANDSCAPING — design system ("Bedrock")
   Tokens are emitted by inc/customizer.php as an inline <style>
   block so the accent color stays editable from the admin.
   ============================================================ */

:root {
  --bg:        #f1ede2;
  --bg-2:      #e8e2d3;
  --surface:   #faf7ef;
  --ink:       #1b231d;
  --ink-2:     #44493f;
  --ink-3:     #7b7e72;
  --line:      #d8d1be;
  --brand:     #20402c;   /* forest green */
  --brand-2:   #16301f;
  --brand-ink: #f1ede2;   /* text on brand */
  --accent:    #bd942f;   /* gold */
  --accent-2:  #a87f23;
  --accent-ink:#1b231d;   /* text on accent */

  --display:   'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --body:      'Public Sans', system-ui, -apple-system, sans-serif;
  --disp-up:   uppercase;
  --disp-track:0.012em;
  --disp-weight:600;
  --disp-lh:   0.98;

  --radius:    3px;
  --radius-lg: 4px;
  --shadow:    0 1px 0 rgba(0,0,0,.04), 0 18px 40px -24px rgba(27,35,29,.5);
  --hero-tint: linear-gradient(180deg, rgba(20,32,22,.28) 0%, rgba(20,32,22,.46) 48%, rgba(20,32,22,.84) 100%);
}

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

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Visible keyboard focus — the prototype had none. */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip-path: none; background: var(--surface); color: var(--brand);
  display: block; font-size: 14px; font-weight: 700; height: auto; width: auto;
  left: 8px; top: 8px; padding: 14px 22px; z-index: 100000;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---- Type helpers ---- */
.display {
  font-family: var(--display);
  font-weight: var(--disp-weight);
  text-transform: var(--disp-up);
  letter-spacing: var(--disp-track);
  line-height: var(--disp-lh);
  margin: 0;
  text-wrap: balance;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body);
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2);
}
.kicker::before {
  content: ""; width: 22px; height: 2px; background: var(--accent); display: inline-block;
}
.kicker--light { color: var(--accent); }
.kicker--center { justify-content: center; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3);
}

/* ---- Layout ---- */
.wrap { width: min(1200px, 92vw); margin: 0 auto; }
.section { padding: clamp(56px, 8vw, 116px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--bg-2); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); line-height: 1.62; max-width: 60ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius);
  font-family: var(--body); font-weight: 700; font-size: 15px;
  letter-spacing: .02em; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .14s ease, background .2s ease, color .2s ease, border-color .2s;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--brand-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--onbrand { background: var(--brand-ink); color: var(--brand); }
.btn--onbrand:hover { background: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* ---- Header ---- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.admin-bar .hdr { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .hdr { top: 46px; } }

.hdr__bar { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 50px; height: 50px; object-fit: contain; background: transparent; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display); font-weight: 700;
  text-transform: var(--disp-up); letter-spacing: var(--disp-track);
  font-size: 21px; color: var(--brand); white-space: nowrap;
}
.brand__sub {
  font-size: 9.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav__link, .nav a {
  display: block; padding: 9px 14px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  cursor: pointer; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_parent > a {
  color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, transparent);
}

/* Dropdowns — the prototype had a flat menu, but WordPress menus nest. */
.nav li { position: relative; }
.nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  flex-direction: column; align-items: stretch; gap: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 60;
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu .sub-menu { top: 0; left: 100%; }

.hdr__cta { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.hdr__call { flex: none; }
.hdr__menu { display: none; }

/* Mobile panel */
.hdr__mobile { display: none; }
.hdr__mobile.is-open { display: block; }
.hdr__mobile-in { padding-bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.hdr__mobile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.hdr__mobile .sub-menu { padding-left: 14px; }
.hdr__mobile a {
  display: block; padding: 11px 14px; border-radius: var(--radius);
  font-weight: 600; font-size: 16px; color: var(--ink-2);
}
.hdr__mobile a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.hdr__mobile .current-menu-item > a, .hdr__mobile .current_page_item > a {
  color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, transparent);
}

/* ---- Hero ----
   Column direction so .hero__inner keeps the shared 1200px measure (its .wrap
   auto-margins are inert as a row flex item) and the trust strip spans full
   width underneath it. */
.hero { position: relative; min-height: clamp(560px, 82vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img, .hero__bg .ph { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--hero-tint); }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 84px); padding-top: 60px; color: #fff; }
.hero h1 { font-size: clamp(40px, 6.4vw, 86px); max-width: 16ch; color: #fff; }
.hero__sub { margin: 22px 0 30px; font-size: clamp(17px, 1.8vw, 20px); max-width: 46ch; color: rgba(255,255,255,.9); line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__strip {
  position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(20,32,22,.34); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.hero__strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; padding: 16px 0; color: rgba(255,255,255,.92); list-style: none; margin: 0; }
.hero__strip-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.hero__strip-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---- Section heading ---- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.head__l { max-width: 62ch; }
.head h2 { font-size: clamp(30px, 4.2vw, 50px); margin-top: 14px; }
.head p { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; max-width: 56ch; }
.head--light h2 { color: #fff; }
.head--light p { color: rgba(255,255,255,.82); }

/* ---- Split: residential / commercial ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split__card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--brand); color: var(--brand-ink);
  padding: clamp(28px, 3vw, 44px); min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid color-mix(in srgb, var(--brand) 60%, #000);
  background-size: cover; background-position: center;
}
.split__card:nth-child(2) { background-color: var(--brand-2); }
.split__icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: auto; opacity: .95; }
.split__card h3 {
  font-family: var(--display); font-weight: 700; text-transform: var(--disp-up);
  letter-spacing: var(--disp-track); font-size: clamp(24px, 3vw, 34px); margin: 18px 0 10px;
}
.split__card p { color: rgba(255,255,255,.82); margin: 0 0 20px; font-size: 16px; max-width: 42ch; }
.split__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); letter-spacing: .03em; transition: gap .15s; }
.split__link:hover { gap: 12px; }

/* ---- Services grid ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 28px; transition: transform .16s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.svc:hover, .svc:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.svc__icon { width: 52px; height: 52px; object-fit: contain; margin-bottom: 20px; }
.svc__tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.svc h3 {
  font-family: var(--display); font-weight: 700; text-transform: var(--disp-up);
  letter-spacing: var(--disp-track); font-size: 23px; margin: 8px 0 12px; color: var(--ink); line-height: 1.05;
}
.svc p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.svc__more { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 14px; color: var(--brand); display: inline-flex; gap: 7px; align-items: center; transition: gap .15s; }
.svc:hover .svc__more { gap: 11px; }

/* ---- Seasonal ---- */
.season { background: var(--brand); color: var(--brand-ink); border-radius: var(--radius-lg); overflow: hidden; }
.season__tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,.14); }
.season__tab {
  background: transparent; border: 0; color: rgba(255,255,255,.6); cursor: pointer;
  padding: 22px 16px; text-align: left; border-right: 1px solid rgba(255,255,255,.1);
  transition: background .2s, color .2s; position: relative;
}
.season__tab:last-child { border-right: 0; }
.season__tab:hover { color: #fff; background: rgba(255,255,255,.05); }
.season__tab.is-active { background: rgba(255,255,255,.07); color: #fff; }
.season__tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); }
.season__tab .nm { font-family: var(--display); font-weight: 700; text-transform: var(--disp-up); letter-spacing: var(--disp-track); font-size: 24px; display: block; }
.season__tab .mo { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-top: 4px; display: block; }
.season__body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: clamp(32px, 4vw, 56px); align-items: center; }
.season__panel[hidden] { display: none; }
.season__lead { font-family: var(--display); font-weight: 700; text-transform: var(--disp-up); letter-spacing: var(--disp-track); font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 14px; }
.season__desc { color: rgba(255,255,255,.84); font-size: 17px; margin: 0 0 4px; max-width: 44ch; }
.season__jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.season__jobs li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; font-weight: 600; }
.season__jobs li::before { content: ""; margin-top: 7px; width: 9px; height: 9px; background: var(--accent); flex: none; border-radius: 2px; transform: rotate(45deg); }

/* ---- Before / After slider ---- */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; user-select: none; aspect-ratio: 16 / 10; background: var(--bg-2); border: 1px solid var(--line); touch-action: none; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img, .ba__layer .ph { width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
/* max-width keeps the two pills from colliding when the labels are
   descriptive rather than just "Before" / "After". */
.ba__tag { position: absolute; top: 16px; padding: 6px 13px; border-radius: 14px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: rgba(20,32,22,.78); color: #fff; backdrop-filter: blur(4px); max-width: 40%; line-height: 1.4; }
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; background: var(--accent); color: var(--accent-ink); }
.ba__handle { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; left: var(--pos, 50%); transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 18px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---- Why us / feature split ---- */
.feat { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feat__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line); }
.feat__media img, .feat__media .ph { width: 100%; height: 100%; object-fit: cover; }
.feat__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.feat__list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.feat__num { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--accent-ink); background: var(--accent); width: 34px; height: 34px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.feat__li-t { font-weight: 700; font-size: 17px; margin: 4px 0 3px; }
.feat__li-d { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* ---- Testimonials ---- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px); position: relative; margin: 0; }
.qcard p { font-family: var(--display); font-weight: 500; text-transform: none; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.32; margin: 6px 0 22px; color: var(--ink); letter-spacing: 0; }
.qcard__who { display: flex; flex-direction: column; font-style: normal; }
.qcard__name { font-weight: 800; font-size: 15px; }
.qcard__meta { font-size: 13px; color: var(--ink-3); }
.stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 12px; }

/* ---- CTA band ---- */
.cta {
  background: var(--brand); color: var(--brand-ink); border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 72px); text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(30px, 4.5vw, 56px); max-width: 18ch; margin: 0 auto 14px; }
.cta p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 46ch; margin: 0 auto 30px; }
.cta__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.cta__phone { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 44px); color: #fff; letter-spacing: .01em; }

/* ---- Placeholder (missing image) ---- */
.ph {
  position: relative;
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--brand) 8%, var(--bg-2)) 0 14px, var(--bg-2) 14px 28px);
  display: flex; align-items: center; justify-content: center; min-height: 120px;
}
.ph span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: .04em; color: var(--ink-3);
  text-transform: uppercase; text-align: center; padding: 8px 14px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); border-radius: 3px;
  max-width: 80%;
}

/* ---- Footer ---- */
.ftr { background: var(--brand-2); color: var(--brand-ink); padding: clamp(48px, 6vw, 80px) 0 32px; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ftr__name { font-family: var(--display); font-weight: 700; text-transform: var(--disp-up); letter-spacing: var(--disp-track); font-size: 26px; color: #fff; }
.ftr__blurb { color: rgba(255,255,255,.7); font-size: 15px; margin: 14px 0 0; max-width: 34ch; }
.ftr h4 { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ftr a, .ftr li { color: rgba(255,255,255,.8); font-size: 15px; }
.ftr a:hover { color: #fff; }
.ftr__phone { font-family: var(--display); font-weight: 700; font-size: 26px; color: #fff; }
.ftr__social { display: flex; gap: 10px; margin-top: 16px; }
.ftr__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.ftr__social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.ftr__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 26px; color: rgba(255,255,255,.5); font-size: 13px; }
.ftr__credit a { color: rgba(255,255,255,.5); font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.2); }
.ftr__credit a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.6); }

/* ---- Page intro (inner pages) ---- */
.pintro { background: var(--brand); color: var(--brand-ink); padding: clamp(54px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.pintro::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 24px); }
.pintro--image { background-size: cover; background-position: center; }
.pintro--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,22,.72), rgba(14,28,20,.9)); }
.pintro__in { position: relative; z-index: 2; }
.pintro h1 { font-size: clamp(36px, 5.5vw, 68px); color: #fff; max-width: 18ch; margin: 14px 0 0; }
.pintro p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 52ch; margin: 18px 0 0; }
.crumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); }
.crumb a { color: rgba(255,255,255,.75); }
.crumb a:hover { color: #fff; }
.crumb .sep { color: var(--accent); }

/* ---- Service detail rows ---- */
.svcrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.svcrow:nth-child(even) .svcrow__media { order: -1; }
.svcrow__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; border: 1px solid var(--line); }
.svcrow__media img, .svcrow__media .ph { width: 100%; height: 100%; object-fit: cover; }
.svcrow h2, .svcrow h3 { font-size: clamp(26px, 3.4vw, 40px); margin: 14px 0 14px; }
.svcrow__pts { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.svcrow__pts li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; font-weight: 600; }
.svcrow__pts li::before { content: ""; margin-top: 7px; width: 8px; height: 8px; background: var(--accent); flex: none; transform: rotate(45deg); }
/* These buttons carry the full service name, which can be long, so let them
   wrap instead of overflowing the column. */
.svcrow .btn { white-space: normal; text-align: left; }

/* ---- Projects ---- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .16s, box-shadow .2s; }
.proj:hover, .proj:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); }
.proj__img { aspect-ratio: 4/3; overflow: hidden; }
.proj__img img, .proj__img .ph { width: 100%; height: 100%; object-fit: cover; }
.proj__body { padding: 18px 20px 20px; }
.proj__cat { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.proj__title { font-family: var(--display); font-weight: 700; text-transform: var(--disp-up); letter-spacing: var(--disp-track); font-size: 19px; margin: 7px 0 4px; line-height: 1.1; }
.proj__loc { font-size: 13px; color: var(--ink-3); }
.proj[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.filter { padding: 9px 17px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.filter:hover { border-color: var(--ink-2); }
.filter.is-active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* ---- Quote / contact layout ---- */
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px); }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list .k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-list .v { font-size: 17px; font-weight: 600; }
.contact-list .v a:hover { color: var(--accent-2); }

/* ---- Form controls, incl. Contact Form 7 / WPForms ---- */
.field { margin-bottom: 18px; }
.field label,
.form label,
.wpcf7-form label {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px;
}
.field input, .field textarea, .field select,
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form input[type="url"], .form input[type="date"], .form input[type="number"],
.form textarea, .form select,
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"], .wpcf7-form input[type="date"], .wpcf7-form input[type="number"],
.wpcf7-form textarea, .wpcf7-form select,
.wpforms-field input[type="text"], .wpforms-field input[type="email"],
.wpforms-field input[type="tel"], .wpforms-field textarea, .wpforms-field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--bg); font-family: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .15s; box-sizing: border-box;
}
.field input:focus, .field textarea:focus, .field select:focus,
.form input:focus, .form textarea:focus, .form select:focus,
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus,
.wpforms-field input:focus, .wpforms-field textarea:focus, .wpforms-field select:focus {
  outline: none; border-color: var(--brand);
}
.field textarea, .form textarea, .wpcf7-form textarea { resize: vertical; min-height: 120px; }
.field--err input, .field--err textarea { border-color: #b5462f; }
.field__err { color: #b5462f; font-size: 13px; margin-top: 6px; font-weight: 600; }

/* CF7 chrome */
.wpcf7-form p { margin: 0 0 18px; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; }
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"],
.wpforms-submit,
.form input[type="submit"],
.form button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 18px 32px; border-radius: var(--radius);
  background: var(--brand); color: var(--brand-ink);
  font-family: var(--body); font-weight: 700; font-size: 16px; letter-spacing: .02em;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, transform .14s;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover,
.wpforms-submit:hover,
.form input[type="submit"]:hover,
.form button[type="submit"]:hover { background: var(--brand-2); }
.wpcf7-form input[type="submit"]:active,
.form input[type="submit"]:active { transform: translateY(1px); }

.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0; padding: 14px 18px; border-radius: var(--radius);
  border: 1.5px solid var(--line); font-size: 15px; font-weight: 600; background: var(--bg);
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--brand); color: var(--brand); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #b5462f; color: #b5462f; }
.wpcf7-not-valid-tip { color: #b5462f; font-size: 13px; margin-top: 6px; font-weight: 600; }
.wpcf7-not-valid { border-color: #b5462f !important; }
.wpcf7-spinner { margin: 12px auto 0; display: block; }

/* Checkbox / radio / acceptance groups keep their inline layout */
.wpcf7-form .wpcf7-checkbox, .wpcf7-form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 9px; }
.wpcf7-form .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-list-item label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 10px 15px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--bg); font-weight: 600; font-size: 14px; cursor: pointer;
  text-transform: none; letter-spacing: 0; color: var(--ink-2); transition: all .14s;
}
.wpcf7-form .wpcf7-list-item label:hover { border-color: var(--ink-2); }
.wpcf7-form .wpcf7-list-item input[type="checkbox"],
.wpcf7-form .wpcf7-list-item input[type="radio"] { width: auto; margin: 0; accent-color: var(--brand); }
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item label { border: 0; background: transparent; padding: 0; border-radius: 0; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   WordPress content — block editor output on regular pages
   ============================================================ */

/* Matches settings.layout.contentSize in theme.json so classic flow content and
   constrained block layouts line up on the same measure. */
.entry-content { max-width: 760px; }
.entry-content.is-wide { max-width: none; }
.entry-content > * { margin-top: 0; margin-bottom: 1.4em; }
.entry-content > *:last-child { margin-bottom: 0; }

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  font-family: var(--display); font-weight: var(--disp-weight);
  text-transform: var(--disp-up); letter-spacing: var(--disp-track);
  line-height: var(--disp-lh); color: var(--ink);
  margin-top: 1.8em; margin-bottom: .5em; text-wrap: balance;
}
.entry-content h1 { font-size: clamp(34px, 4.6vw, 54px); }
.entry-content h2 { font-size: clamp(28px, 3.6vw, 42px); }
.entry-content h3 { font-size: clamp(23px, 2.6vw, 30px); }
.entry-content h4 { font-size: 21px; }
.entry-content h5 { font-size: 18px; }
.entry-content h6 { font-size: 15px; letter-spacing: .14em; }
.entry-content > h1:first-child, .entry-content > h2:first-child,
.entry-content > h3:first-child { margin-top: 0; }

.entry-content p { color: var(--ink-2); }
.entry-content a:not(.btn):not(.wp-block-button__link) {
  color: var(--brand); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1.5px; text-decoration-color: var(--accent);
}
.entry-content a:not(.btn):not(.wp-block-button__link):hover { color: var(--accent-2); }

.entry-content ul, .entry-content ol { padding-left: 1.3em; color: var(--ink-2); }
.entry-content li { margin-bottom: .5em; }
.entry-content li::marker { color: var(--accent); font-weight: 700; }

.entry-content blockquote,
.entry-content .wp-block-quote {
  border-left: 3px solid var(--accent); margin-left: 0; margin-right: 0;
  padding: 6px 0 6px 26px; font-family: var(--display); font-weight: 500;
  text-transform: none; letter-spacing: 0;
  font-size: clamp(19px, 2.1vw, 24px); line-height: 1.35; color: var(--ink);
}
.entry-content blockquote cite {
  display: block; margin-top: 12px; font-family: var(--body); font-size: 14px;
  font-weight: 700; font-style: normal; color: var(--ink-3);
}
.entry-content .wp-block-pullquote {
  border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  padding: 32px 0; text-align: center;
}

.entry-content code, .entry-content kbd {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em;
  background: var(--bg-2); padding: 2px 6px; border-radius: 3px;
}
.entry-content pre, .entry-content .wp-block-code {
  background: var(--brand-2); color: var(--brand-ink); padding: 22px 24px;
  border-radius: var(--radius-lg); overflow-x: auto; font-size: 14px; line-height: 1.6;
}
.entry-content pre code, .entry-content .wp-block-code code { background: transparent; padding: 0; color: inherit; }

.entry-content hr, .entry-content .wp-block-separator {
  border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; max-width: none;
}
.entry-content .wp-block-separator.is-style-wide { width: 100%; }
.entry-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots) { width: 120px; border-top-width: 3px; border-color: var(--accent); margin-left: 0; }

.entry-content img, .entry-content .wp-block-image img { border-radius: var(--radius-lg); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-element-caption {
  font-size: 13.5px; color: var(--ink-3); margin-top: 10px; text-align: left;
}

.entry-content table, .entry-content .wp-block-table table {
  width: 100%; border-collapse: collapse; font-size: 15.5px;
}
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.entry-content th { background: var(--bg-2); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

.entry-content .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 15px; letter-spacing: .02em; border: 1.5px solid transparent;
  transition: background .2s, transform .14s;
}
.entry-content .wp-block-button__link:hover { background: var(--accent-2); }
.entry-content .is-style-outline .wp-block-button__link {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.entry-content .is-style-outline .wp-block-button__link:hover { border-color: var(--ink-2); background: transparent; }

.entry-content .wp-block-group.has-background,
.entry-content .wp-block-columns.has-background { padding: clamp(24px, 3vw, 44px); border-radius: var(--radius-lg); }
.entry-content .wp-block-cover { border-radius: var(--radius-lg); overflow: hidden; }
.entry-content .wp-block-media-text__content { padding: 0 clamp(16px, 3vw, 40px); }

/* Alignments */
.alignleft { float: left; margin: .3em 1.8em 1.2em 0; }
.alignright { float: right; margin: .3em 0 1.2em 1.8em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignwide {
  width: min(1200px, 92vw);
  margin-left: calc(50% - min(600px, 46vw));
  max-width: none;
}
.entry-content .alignfull {
  width: 100vw; max-width: none;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
.entry-content .alignfull img { border-radius: 0; }

/* ---- Pagination ---- */
.pagination { margin-top: 52px; display: flex; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  font-weight: 700; font-size: 15px; color: var(--ink-2); transition: all .15s;
}
.pagination .page-numbers:hover { border-color: var(--ink-2); color: var(--ink); }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pagination .page-numbers.dots { border-color: transparent; }

/* ---- Posts / blog ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .16s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 16/10; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard__date { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.pcard__title { font-family: var(--display); font-weight: 700; text-transform: var(--disp-up); letter-spacing: var(--disp-track); font-size: 21px; line-height: 1.1; margin: 8px 0 10px; }
.pcard__excerpt { color: var(--ink-2); font-size: 15.5px; margin: 0 0 16px; }
.pcard__more { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--brand); display: inline-flex; gap: 7px; align-items: center; }

.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-top: 18px; }
.entry-footer { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; color: var(--ink-3); }
.entry-footer a { color: var(--brand); font-weight: 700; }

/* ---- Comments ---- */
.comments-area { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title {
  font-family: var(--display); font-weight: 700; text-transform: var(--disp-up);
  letter-spacing: var(--disp-track); font-size: clamp(23px, 2.6vw, 30px); margin: 0 0 28px;
}
.comment-list { list-style: none; margin: 0 0 44px; padding: 0; display: grid; gap: 22px; }
.comment-list ol.children { list-style: none; margin: 22px 0 0 clamp(16px, 4vw, 44px); padding: 0; display: grid; gap: 22px; }
.comment-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 15px; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; color: var(--ink-3); margin: 6px 0 12px; }
.comment-content p { color: var(--ink-2); font-size: 15.5px; }
.reply a { font-weight: 700; font-size: 14px; color: var(--brand); }
.comment-form { display: grid; gap: 0; }
.comment-form .form-submit input[type="submit"] { width: auto; }
.comment-respond { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); }

/* ---- 404 / empty states ---- */
.empty { text-align: center; padding: clamp(40px, 6vw, 80px) 0; }
.empty h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.empty p { color: var(--ink-2); max-width: 48ch; margin: 0 auto 26px; }

.search-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.search-form input[type="search"] {
  flex: 1; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: var(--radius); background: var(--bg); font-family: inherit; font-size: 16px; color: var(--ink);
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--brand); }
.search-form button { padding: 13px 24px; border-radius: var(--radius); background: var(--brand); color: var(--brand-ink); border: 0; font-weight: 700; cursor: pointer; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .svc-grid, .proj-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .feat, .season__body, .quote-grid, .svcrow { grid-template-columns: 1fr; }
  .svcrow:nth-child(even) .svcrow__media { order: 0; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .hdr__quote { display: none; }
  .hdr__menu { display: inline-flex; }
  .hdr__call { padding: 12px 16px; }
  .split, .quotes, .svc-grid, .proj-grid, .post-grid { grid-template-columns: 1fr; }
  .season__tabs { grid-template-columns: repeat(2, 1fr); }
  .season__tab .nm { font-size: 20px; }
  .ftr__top { grid-template-columns: 1fr; }
  .svcrow__pts, .contact-list li { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(34px, 10vw, 54px); }
  .entry-content .alignwide { width: 100%; margin-left: 0; }
  .alignleft, .alignright { float: none; margin: 1.2em 0; }
}

/* Below this the brand, call button and menu toggle stop fitting on one row, so
   the call button collapses to its icon. The number stays reachable via the
   link's aria-label, the mobile panel and the footer. */
@media (max-width: 560px) {
  .hdr__bar { gap: 12px; }
  .hdr__cta { gap: 8px; }
  .hdr__call { padding: 12px 15px; }
  .hdr__call > span { display: none; }
  .hdr__menu { padding: 12px 15px; }
}
