/* ============================================================================
   AHE DESIGN SYSTEM — textures + section library
   ----------------------------------------------------------------------------
   Ported from "AHE Design System v1.0" (Nov 2026). base.css already carries the
   tokens this file uses (--red, --ink, --gray-*, --radius, --font-head), and
   pages.css already implements L04 (.spec), L05 (.fcard grid), L07 (.split +
   .note), L10 (.sect.dark split), L11 (.cap-steps), L12 (.cap-timeline),
   L14 (.faqs), L15 (.bgrid), L16 (.chips), L17 (.artcard), L19 (.locs),
   L22 (.callout) and L24 (.cta).

   What lives here is what the kit added on top of those: the five unused
   textures, and the heroes and feature sections L03, L25–L35.

   Loaded on child pages only — not the front page, not the store. See
   ahe_enqueue() in functions.php.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   TEXTURES
   One textured section per screen-height. Photo textures always sit under a
   protection gradient so text holds 4.5:1; the CSS ones need no image request.
   --------------------------------------------------------------------------- */

/* Mottled Iron — photo. Page heroes. */
.tx-iron{background-color:var(--black);background-image:linear-gradient(rgba(13,13,15,.82),rgba(13,13,15,.82)),url('../images/texture-iron.jpg');background-size:cover;background-position:center;background-repeat:no-repeat;color:#fff}

/* Dark Blueprint — photo. Stat panels and overlaps. */
.tx-blueprint{background-color:var(--black);background-image:linear-gradient(rgba(13,13,15,.72),rgba(13,13,15,.72)),url('../images/Project_Background.jpg');background-size:cover;background-position:center;background-repeat:no-repeat;color:#fff}

/* Red Grit + Mark — photo. CTA bands, 24/7. */
.tx-grit{background-color:var(--red);background-image:url('../images/CTA_background.jpg');background-size:cover;background-position:right center;background-repeat:no-repeat;color:#fff}

/* Line Drawing — art, light sections. */
.tx-linework{background-color:#f4f4f6;background-image:linear-gradient(to right,rgba(244,244,246,.72) 0%,rgba(244,244,246,.93) 26%,rgba(244,244,246,1) 56%),url('../images/Find What You Need Fast_Background.png');background-size:cover,auto 116%;background-position:center,left center;background-repeat:no-repeat,no-repeat}

/* Drafting Grid — CSS. Title blocks and tech specs. */
.tx-grid{background-color:#141416;background-image:
  linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),
  linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),
  linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
  linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:80px 80px,80px 80px,16px 16px,16px 16px;color:#fff}

/* Dot Matrix — CSS. The light-band alternative to .sect.alt. */
.tx-dots{background-color:var(--gray-50);background-image:radial-gradient(#c4c4ca 1px,transparent 1.3px);background-size:18px 18px;background-position:0 0}

/* Red Hatch — CSS. Strips and accents only, never a full band. */
.tx-hatch{background-color:var(--red);background-image:repeating-linear-gradient(-45deg,rgba(0,0,0,.18) 0 4px,transparent 4px 14px)}

/* Brushed Steel — CSS. Product plinths. */
.tx-steel{background-image:
  repeating-linear-gradient(90deg,rgba(255,255,255,.45) 0 1px,transparent 1px 3px),
  linear-gradient(180deg,#eeeef0 0%,#cfd0d4 52%,#e6e6e9 100%)}

/*
 * Specificity note. pages.css sets `.sect.alt` and `.sect.dark` (0-2-0), which
 * outranks a bare `.tx-*` class (0-1-0) no matter what order the files load in
 * — so a textured band would silently keep its flat grey or iron background.
 * These compound selectors match that 0-2-0, and ds.css loads after pages.css,
 * so the texture wins on source order. Keep them in step with the rules above.
 */
.sect.tx-blueprint{background-color:var(--black);background-image:linear-gradient(rgba(13,13,15,.72),rgba(13,13,15,.72)),url('../images/Project_Background.jpg');background-size:cover;background-position:center;background-repeat:no-repeat;color:#fff}
.sect.tx-dots{background-color:var(--gray-50);background-image:radial-gradient(#c4c4ca 1px,transparent 1.3px);background-size:18px 18px;background-position:0 0}
.sect.tx-grid{background-color:#141416;background-image:
  linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),
  linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),
  linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
  linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:80px 80px,80px 80px,16px 16px,16px 16px;color:#fff}
.sect.tx-iron{background-color:var(--black);background-image:linear-gradient(rgba(13,13,15,.82),rgba(13,13,15,.82)),url('../images/texture-iron.jpg');background-size:cover;background-position:center;background-repeat:no-repeat;color:#fff}
.sect.tx-linework{background-color:#f4f4f6;background-image:linear-gradient(to right,rgba(244,244,246,.72) 0%,rgba(244,244,246,.93) 26%,rgba(244,244,246,1) 56%),url('../images/Find What You Need Fast_Background.png');background-size:cover,auto 116%;background-position:center,left center;background-repeat:no-repeat,no-repeat}

/* Dark text colours inside the dark textures, matching .sect.dark. */
.tx-blueprint p,.tx-grid p,.sect.tx-blueprint p,.sect.tx-grid p{color:#c8c8ce}
.tx-blueprint h1,.tx-blueprint h2,.tx-blueprint h3,.tx-blueprint h4,
.tx-grid h1,.tx-grid h2,.tx-grid h3,.tx-grid h4,
.sect.tx-blueprint h2,.sect.tx-grid h2{color:#fff}
/* The dot matrix is a light band: keep body copy on the light-surface colour. */
.sect.tx-dots{color:var(--ink)}
.sect.tx-dots p{color:var(--gray-700)}

/* ---------------------------------------------------------------------------
   L03 — Full-bleed photo hero + stat bar
   Landing-style pages (About, Careers). The bar holds 3–4 proof numbers.
   --------------------------------------------------------------------------- */
.phero-shot{position:relative;background:var(--black) center/cover no-repeat;color:#fff;padding:0;overflow:hidden}
/*
 * The kit's L03 gradient starts at .55, which on a bright photo (the Building
 * shot has a lot of sky) left the red eyebrow and the breadcrumb sitting on a
 * mid-tone. Starting at .72 puts them on the same near-black the flat .phero
 * heroes give them, so the top of the page is no less readable than the rest.
 */
.phero-shot::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,13,15,.72) 0%,rgba(13,13,15,.9) 100%);z-index:0}
.phero-shot > .wrap{position:relative;z-index:1;padding-top:110px;padding-bottom:70px}
.phero-shot h1{font-family:var(--font-head);font-size:3.4rem;font-weight:600;letter-spacing:-.02em;line-height:1.04;max-width:20ch;text-wrap:pretty}
.phero-shot p.lead{margin-top:20px;color:#e7e7ea;font-size:1.06rem;max-width:58ch;text-wrap:pretty}
.phero-shot .eyebrow{display:block;margin-bottom:16px}
.phero-shot .btns{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}

.phero-bar{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.15);background:rgba(13,13,15,.7)}
.phero-bar .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));padding-left:0;padding-right:0}
.phero-bar-cell{padding:24px 28px;border-left:1px solid rgba(255,255,255,.1)}
.phero-bar-cell:first-child{border-left:none}
.phero-bar-cell .k{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:#8f8f98;font-weight:800}
.phero-bar-cell .v{font-family:var(--font-head);font-size:1.75rem;font-weight:600;color:#fff;margin-top:6px;line-height:1.1}
.phero-bar-cell:last-child .v{color:var(--red)}
@media(max-width:880px){
  .phero-shot h1{font-size:2.4rem}
  .phero-shot > .wrap{padding-top:72px;padding-bottom:56px}
  .phero-bar .wrap{grid-template-columns:repeat(2,1fr)}
  .phero-bar-cell:nth-child(odd){border-left:none}
  .phero-bar-cell:nth-child(n+3){border-top:1px solid rgba(255,255,255,.1)}
}

/* ---------------------------------------------------------------------------
   L25 — Light blueprint hero
   The inverse of .phero: ink text on drawing paper, photo carrying the machine
   on the right.
   --------------------------------------------------------------------------- */
.phero-light{position:relative;background:var(--gray-100) right center/cover no-repeat;min-height:520px;display:flex;align-items:center;color:var(--ink);overflow:hidden}
.phero-light::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,247,249,.97) 0,rgba(247,247,249,.95) 640px,rgba(247,247,249,0) 900px);z-index:0}
.phero-light > .wrap{position:relative;z-index:1;padding-top:72px;padding-bottom:72px}
.phero-light .crumb{color:var(--gray-500)}
.phero-light .crumb a{color:var(--gray-500)}
.phero-light .crumb a:hover{color:var(--red)}
.phero-light .eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:16px}
/* The rule that leads the eyebrow — a drafting tick, per the kit. */
.phero-light .eyebrow::before{content:"";width:28px;height:2px;background:var(--red);flex-shrink:0}
.phero-light h1{font-family:var(--font-head);font-size:3.25rem;font-weight:600;letter-spacing:-.02em;line-height:1.04;color:var(--black);max-width:16ch;text-wrap:pretty}
.phero-light p.lead{margin-top:20px;font-size:1.06rem;color:var(--gray-700);max-width:48ch;text-wrap:pretty}
.phero-light .btns{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.phero-light .inner{max-width:min(616px,100%)}
@media(max-width:880px){
  .phero-light{min-height:0}
  .phero-light::before{background:rgba(247,247,249,.95)}
  .phero-light h1{font-size:2.3rem;max-width:none}
}

/* ---------------------------------------------------------------------------
   L26 — Blueprint numbers panel
   Oversized proof numbers on the dark blueprint. Replaces the .spec strip when
   the numbers are the story rather than a footnote to it.
   --------------------------------------------------------------------------- */
.ds-numbers{padding:80px 0}
.ds-numbers .sect-head{margin-bottom:48px;max-width:56ch}
.ds-numbers .sect-head h2{font-size:2.35rem;line-height:1.08}
.ds-figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0}
.ds-fig{border-left:2px solid rgba(255,255,255,.18);padding:4px 28px 4px 24px;display:flex;flex-direction:column;gap:8px}
.ds-fig:first-child{border-left-color:var(--red)}
.ds-fig-v{font-family:var(--font-head);font-size:4.75rem;font-weight:700;letter-spacing:-.04em;line-height:.9;color:#fff}
.ds-fig-v em{font-style:normal;color:var(--red)}
.ds-fig-k{font-size:.88rem;color:#b6b6bd;max-width:22ch}
@media(max-width:880px){
  .ds-numbers{padding:56px 0}
  .ds-figs{grid-template-columns:repeat(2,1fr);gap:28px 0}
  .ds-fig-v{font-size:3rem}
}
@media(max-width:520px){ .ds-figs{grid-template-columns:1fr} }

/* ---------------------------------------------------------------------------
   L27 — Outline statement
   A brand moment. Three words max per line, one of them filled red. Used once
   per site section, never twice on a page.
   --------------------------------------------------------------------------- */
.ds-statement{position:relative;padding:88px 0;overflow:hidden}
.ds-statement .wrap{position:relative;z-index:1}
.ds-words{display:flex;flex-direction:column;gap:6px}
.ds-word{font-family:var(--font-head);font-size:clamp(3.5rem,9vw,9.4rem);font-weight:900;letter-spacing:-.03em;line-height:.92;text-transform:uppercase;color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.55)}
.ds-word.is-fill{color:var(--red);-webkit-text-stroke:0}
.ds-statement-foot{margin-top:40px;display:flex;justify-content:space-between;align-items:flex-end;gap:28px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.15);padding-top:28px}
.ds-statement-foot p{font-size:1.06rem;color:#dadadf;max-width:52ch}
@media(max-width:880px){ .ds-statement{padding:56px 0} }

/* ---------------------------------------------------------------------------
   L28 — Bento grid
   Mixed tiles: photo, stat, texture, link. For pages that route onward to four
   or five destinations rather than making one argument.
   --------------------------------------------------------------------------- */
.ds-bento{display:flex;flex-wrap:wrap;gap:14px}
.ds-bento-lead{flex:2 1 420px;min-height:434px;position:relative;border-radius:var(--radius);overflow:hidden;background:var(--ink) center/cover no-repeat;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:30px}
.ds-bento-lead::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,13,15,0) 35%,rgba(13,13,15,.9) 100%)}
.ds-bento-lead > *{position:relative}
.ds-bento-lead:hover{color:#fff}
.ds-bento-lead .eyebrow{font-size:.75rem}
.ds-bento-lead h3{font-family:var(--font-head);font-size:1.9rem;font-weight:600;line-height:1.1;margin-top:8px;max-width:18ch}
.ds-bento-lead .read{font-weight:700;font-size:.88rem;margin-top:14px;display:inline-flex;gap:7px;align-items:center}
.ds-bento-col{flex:1 1 240px;display:flex;flex-direction:column;gap:14px}
.ds-bento-tile{flex:1;min-height:210px;border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;justify-content:space-between;color:#fff}
.ds-bento-tile:hover{color:#fff}
.ds-bento-tile .k{font-size:.75rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ds-bento-tile .v{font-family:var(--font-head);font-size:3.6rem;font-weight:700;letter-spacing:-.03em;line-height:.9}
.ds-bento-tile .t{font-family:var(--font-head);font-size:1.5rem;font-weight:600;line-height:1.15}
.ds-bento-tile .s{font-size:.88rem;margin-top:8px}
.ds-bento-tile .read{font-size:.88rem;margin-top:10px;font-weight:700}
/* The grid tile is lighter-weight than the full drafting grid: 28px only. */
.ds-bento-tile.tx-grid{background-size:28px 28px,28px 28px;background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px)}
.ds-bento-tile.tx-grid .k{color:var(--red)}
.ds-bento-wide{flex:1 1 100%;min-height:210px;border-radius:var(--radius);border:1px solid var(--gray-200);padding:26px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--ink);transition:border-color .18s ease}
.ds-bento-wide:hover{border-color:var(--red);color:var(--ink)}
.ds-bento-wide .t{font-family:var(--font-head);font-size:1.6rem;font-weight:600;line-height:1.1;max-width:16ch;margin-top:8px}
.ds-bento-wide img{height:120px;width:auto;max-width:40%;object-fit:contain}
@media(max-width:880px){
  .ds-bento-lead{min-height:300px;flex-basis:100%}
  .ds-bento-lead h3{font-size:1.5rem}
  .ds-bento-tile .v{font-size:2.6rem}
  .ds-bento-wide img{display:none}
}

/* ---------------------------------------------------------------------------
   L29 — Overlap path cards
   Cards straddle a dark blueprint band and the white band below it.
   --------------------------------------------------------------------------- */
.ds-paths-head{padding:72px 0 170px;text-align:center}
.ds-paths-head .inner{display:flex;flex-direction:column;align-items:center;gap:12px}
.ds-paths-head h2{font-family:var(--font-head);font-size:2.35rem;font-weight:600;letter-spacing:-.02em;line-height:1.08;max-width:24ch}
.ds-paths-wrap{background:#fff}
.ds-paths{margin-top:-120px;position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:22px;padding-bottom:64px}
.ds-path{background:#fff;border-radius:var(--radius);padding:34px 30px;box-shadow:0 24px 50px rgba(0,0,0,.18);border-bottom:3px solid var(--red);display:flex;flex-direction:column;gap:12px;color:var(--ink);transition:transform .2s ease}
.ds-path:hover{transform:translateY(-6px);color:var(--ink)}
.ds-path img{height:56px;width:auto;align-self:flex-start}
.ds-path h3{font-family:var(--font-head);font-size:1.35rem;font-weight:600}
.ds-path p{font-size:.94rem;color:var(--gray-700)}
.ds-path .read{font-weight:700;font-size:.88rem;color:var(--red);display:inline-flex;gap:7px;align-items:center}
@media(max-width:880px){
  .ds-paths-head{padding:56px 0 140px}
  .ds-paths-head h2{font-size:1.8rem}
}

/* ---------------------------------------------------------------------------
   L31 — Diagonal cut
   A red grit panel sliced over a photo. The slant echoes the italic of the AHE
   wordmark. The clip-path is dropped on narrow screens, where a 16% diagonal
   eats most of the text column.
   --------------------------------------------------------------------------- */
.ds-diagonal{position:relative;min-height:440px;background:var(--ink) right center/cover no-repeat;display:flex;align-items:stretch}
.ds-diagonal-panel{position:relative;width:min(100%,62%);clip-path:polygon(0 0,100% 0,84% 100%,0 100%);padding:72px 18% 72px var(--gutter);color:#fff;display:flex;flex-direction:column;justify-content:center;gap:16px}
.ds-diagonal-panel .eyebrow{color:#fff}
.ds-diagonal-panel h2{font-family:var(--font-head);font-size:2.6rem;font-weight:600;letter-spacing:-.02em;line-height:1.06}
.ds-diagonal-panel p{font-size:1rem;color:#fff;max-width:44ch}
.ds-diagonal-panel .btn{align-self:flex-start;margin-top:6px}
@media(max-width:1080px){ .ds-diagonal-panel{width:min(100%,76%);padding-right:14%} }
@media(max-width:880px){
  .ds-diagonal{min-height:0}
  .ds-diagonal-panel{width:100%;clip-path:none;padding:56px var(--gutter)}
  .ds-diagonal-panel h2{font-size:1.9rem}
}

/* ---------------------------------------------------------------------------
   L33 — Hatch strip
   A thin divider band between two sections. One line of content, no more.
   --------------------------------------------------------------------------- */
.ds-strip{display:flex;align-items:stretch;background:var(--ink);color:#fff}
.ds-strip-hatch{width:72px;flex-shrink:0}
.ds-strip-body{flex:1;padding:26px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px 40px;flex-wrap:wrap}
.ds-strip-k{font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--red)}
.ds-strip-list{display:flex;align-items:center;gap:14px 22px;flex-wrap:wrap;font-family:var(--font-head);font-size:1.35rem;font-weight:600}
/* Diamond separators are decoration; they carry no text for a screen reader. */
.ds-strip-list span.sep{width:7px;height:7px;background:var(--red);transform:rotate(45deg);display:inline-block}
@media(max-width:880px){
  .ds-strip-hatch{width:28px}
  .ds-strip-body{padding:22px 24px}
  .ds-strip-list{font-size:1.05rem}
}

/* ---------------------------------------------------------------------------
   L34 — 24/7 emergency banner
   The service-page closer. The phone number is the button.
   --------------------------------------------------------------------------- */
.ds-emergency .wrap{padding-top:56px;padding-bottom:56px;display:flex;align-items:center;gap:28px 56px;flex-wrap:wrap}
.ds-emergency-mark{font-family:var(--font-head);font-size:clamp(5rem,11vw,10.6rem);font-weight:900;letter-spacing:-.05em;line-height:.85;font-style:italic}
.ds-emergency-body{flex:1;min-width:260px;display:flex;flex-direction:column;gap:14px}
.ds-emergency-k{display:inline-flex;align-items:center;gap:10px;font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
/* The pulse dot: a live-service tell, static so it respects reduced motion. */
.ds-emergency-k::before{content:"";width:9px;height:9px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.25);flex-shrink:0}
.ds-emergency-body h2{font-family:var(--font-head);font-size:2.1rem;font-weight:600;letter-spacing:-.02em;line-height:1.1;max-width:22ch}
.ds-emergency-call{display:inline-flex;align-items:center;gap:12px;background:var(--black);color:#fff;font-family:var(--font-head);font-weight:700;font-size:1.5rem;padding:20px 30px;border-radius:var(--radius);transition:background .18s ease}
.ds-emergency-call:hover{background:#000;color:#fff}
.ds-emergency-call svg{color:var(--red);flex-shrink:0}
@media(max-width:880px){
  .ds-emergency-body h2{font-size:1.5rem}
  .ds-emergency-call{font-size:1.2rem;padding:16px 22px}
}

/* ---------------------------------------------------------------------------
   L35 — Drawing title block
   A product spec presented as an engineering drawing: drafting grid, dimension
   lines, title block.
   --------------------------------------------------------------------------- */
.ds-titleblock .wrap{padding-top:56px;padding-bottom:56px}
.ds-tb{border:1.5px solid rgba(255,255,255,.4);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.ds-tb-view{position:relative;padding:56px 56px 72px 72px;border-right:1.5px solid rgba(255,255,255,.4)}
.ds-tb-shot{position:relative;aspect-ratio:4/3;border:1px solid rgba(255,255,255,.55);background:var(--ink) center/cover no-repeat;filter:grayscale(1) contrast(1.1)}
.ds-tb-label{position:absolute;top:22px;left:72px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem;color:var(--red);letter-spacing:.1em}
.ds-tb-dim-x{position:absolute;left:72px;right:56px;bottom:34px;display:flex;align-items:center;gap:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem;color:#dadadf}
.ds-tb-dim-x::before,.ds-tb-dim-x::after{content:"";flex:1;height:1px;background:rgba(255,255,255,.55)}
.ds-tb-dim-y{position:absolute;top:56px;bottom:72px;left:30px;display:flex;flex-direction:column;align-items:center;gap:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem;color:#dadadf}
.ds-tb-dim-y::before,.ds-tb-dim-y::after{content:"";flex:1;width:1px;background:rgba(255,255,255,.55)}
.ds-tb-dim-y span{writing-mode:vertical-rl;transform:rotate(180deg)}
.ds-tb-meta{display:flex;flex-direction:column;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.ds-tb-title{padding:22px 24px;border-bottom:1.5px solid rgba(255,255,255,.4);display:flex;flex-direction:column;gap:6px}
.ds-tb-title .k{font-size:.7rem;color:#8f8f98;letter-spacing:.12em}
.ds-tb-title .v{font-family:var(--font-head);font-size:1.6rem;font-weight:600;letter-spacing:-.01em;color:#fff}
.ds-tb-row{display:grid;grid-template-columns:1fr 1fr;border-bottom:1.5px solid rgba(255,255,255,.4)}
.ds-tb-cell{padding:16px 24px}
.ds-tb-cell + .ds-tb-cell{border-left:1px solid rgba(255,255,255,.25)}
.ds-tb-cell .k{font-size:.7rem;color:#8f8f98;letter-spacing:.12em}
.ds-tb-cell .v{font-size:1.05rem;margin-top:4px;color:#fff}
.ds-tb-opts{padding:16px 24px;border-bottom:1.5px solid rgba(255,255,255,.4)}
.ds-tb-opts .k{font-size:.7rem;color:#8f8f98;letter-spacing:.12em}
.ds-tb-opts .v{font-size:.88rem;margin-top:6px;line-height:1.6;color:#dadadf}
.ds-tb-foot{display:grid;grid-template-columns:1fr 1fr;flex:1}
.ds-tb-cta{display:flex;align-items:center;justify-content:center;background:var(--red);padding:16px 24px}
.ds-tb-cta a{color:#fff;font-family:var(--font);font-weight:700;font-size:.95rem}
.ds-tb-cta a:hover{color:#fff}
@media(max-width:880px){
  .ds-tb-view{padding:28px;border-right:none;border-bottom:1.5px solid rgba(255,255,255,.4)}
  .ds-tb-label,.ds-tb-dim-x,.ds-tb-dim-y{display:none}
}

/* ---------------------------------------------------------------------------
   L23 — Form + contact aside
   The RFQ pattern: form on the left, direct phone/email/address card pinned
   beside it.
   --------------------------------------------------------------------------- */
.ds-aside{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius);padding:32px;display:flex;flex-direction:column;gap:20px;align-self:start}
.ds-aside-item{display:flex;flex-direction:column;gap:4px}
.ds-aside-item .k{font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--gray-500)}
.ds-aside-item .phone{font-family:var(--font-head);font-size:1.5rem;font-weight:700;color:var(--red)}
.ds-aside-item .mail{font-size:1rem;font-weight:600;color:var(--ink)}
.ds-aside-item .mail:hover{color:var(--red)}
.ds-aside-item .addr{font-size:.95rem;color:var(--gray-700)}

/* ---------------------------------------------------------------------------
   Shared — the red top rule the kit puts on a headquarters or credential card.
   --------------------------------------------------------------------------- */
.is-primary{border-top:3px solid var(--red)}

/* L19 — the kind label above a location name ("Headquarters" / "Branch"). */
.loc-kind{display:block;font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--gray-500);margin-bottom:6px}
.loc.is-primary .loc-kind{color:var(--red)}
.sect.dark .loc-kind,.tx-blueprint .loc-kind{color:#8f8f98}
.sect.dark .loc.is-primary .loc-kind,.tx-blueprint .loc.is-primary .loc-kind{color:var(--red)}

/* ---------------------------------------------------------------------------
   Grid children and wide embeds
   ---------------------------------------------------------------------------
   A grid item defaults to min-width:auto, so it refuses to shrink below its
   widest child. On the narrow viewports that put .split into one column, the
   embedded Caldera form was therefore holding its column ~32px wider than the
   page, which pushed the whole document into a horizontal scroll. min-width:0
   lets the column shrink and the form reflow inside it.
   --------------------------------------------------------------------------- */
.split > *,.ds-bento-col > *{min-width:0}
.ahe-form,.ahe-form .caldera-grid{max-width:100%}
.ahe-form .caldera-grid [class*="col-"]{max-width:100%}

/* ===========================================================================
   IMAGE-DRIVEN SECTIONS
   ---------------------------------------------------------------------------
   The kit's layouts that are built around photography. Where a real photo does
   not exist yet these run on assets/images/placeholders/*.svg — drafting-style
   stand-ins, each labelled PLACEHOLDER. Every one is swappable from the page's
   defaults file or ACF, so dropping in real photography is a URL change and
   nothing else.
   ========================================================================= */

/* ---------------------------------------------------------------------------
   L02 — Split hero, photo right
   For capability pages that have a strong product photo.
   --------------------------------------------------------------------------- */
.phero-split{display:grid;grid-template-columns:1fr 1fr;background:var(--black);color:#fff;align-items:stretch}
.phero-split .inner{padding:72px var(--gutter);display:flex;flex-direction:column;gap:18px;justify-content:center}
.phero-split .crumb{margin-bottom:0}
.phero-split .eyebrow{display:block}
.phero-split h1{font-family:var(--font-head);font-size:2.9rem;font-weight:600;letter-spacing:-.02em;line-height:1.06;max-width:18ch;text-wrap:pretty}
.phero-split p.lead{color:#dadadf;font-size:1.06rem;max-width:52ch;text-wrap:pretty}
.phero-split .btns{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}
.phero-split-media{min-height:420px;background:var(--ink) center/cover no-repeat}
@media(max-width:1080px){ .phero-split .inner{padding-left:64px;padding-right:64px} }
@media(max-width:880px){
  .phero-split{grid-template-columns:1fr}
  .phero-split .inner{padding:56px var(--gutter);order:1}
  .phero-split h1{font-size:2.1rem}
  .phero-split-media{order:0;min-height:260px}
}

/* ---------------------------------------------------------------------------
   L08 — Media split
   One idea, one photo. The photo bleeds to the section edge rather than sitting
   in the text column, which is what separates this from a card.
   --------------------------------------------------------------------------- */
.ds-media{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:#fff}
.ds-media-img{min-height:400px;background:var(--ink) center/cover no-repeat}
.ds-media-body{padding:72px var(--gutter);display:flex;flex-direction:column;gap:16px;justify-content:center}
.ds-media-body h2{font-family:var(--font-head);font-size:2.1rem;font-weight:600;letter-spacing:-.02em;line-height:1.1;text-wrap:pretty}
.ds-media-body p{font-size:1rem;color:var(--gray-700);max-width:52ch}
.ds-media-body .read{margin-top:6px;display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:.95rem;color:var(--red);align-self:flex-start}
.ds-media-body .read:hover .arrow{transform:translateX(4px)}
/* Photo right instead of left. */
.ds-media.is-flipped .ds-media-img{order:1}
.ds-media.is-flipped .ds-media-body{order:0}
/* On the dark surface. */
.ds-media.is-dark{background:var(--ink);color:#fff}
.ds-media.is-dark .ds-media-body p{color:#c8c8ce}
@media(max-width:1080px){ .ds-media-body{padding-left:64px;padding-right:64px} }
@media(max-width:880px){
  .ds-media,.ds-media.is-flipped{grid-template-columns:1fr}
  .ds-media-img,.ds-media.is-flipped .ds-media-img{order:0;min-height:240px}
  .ds-media-body,.ds-media.is-flipped .ds-media-body{order:1;padding:48px var(--gutter)}
  .ds-media-body h2{font-size:1.6rem}
}

/* ---------------------------------------------------------------------------
   L09 — Zig-zag rows
   Alternating image/text rows. Good for a product family or a service menu
   with depth, where each item deserves more than a card.
   --------------------------------------------------------------------------- */
.ds-zig{display:flex;flex-direction:column;gap:56px}
.ds-zig-row{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.ds-zig-img{aspect-ratio:4/3;border-radius:var(--radius);background:var(--ink) center/cover no-repeat}
.ds-zig-body{display:flex;flex-direction:column;gap:14px}
.ds-zig-body h3{font-family:var(--font-head);font-size:1.75rem;font-weight:600;letter-spacing:-.01em;line-height:1.15;text-wrap:pretty}
.ds-zig-body p{font-size:1rem;color:var(--gray-700)}
.ds-zig-body .read{margin-top:4px;display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:.92rem;color:var(--red);align-self:flex-start}
/* Odd rows put the image on the right. nth-child is 1-indexed. */
.ds-zig-row:nth-child(even) .ds-zig-img{order:1}
.ds-zig-row:nth-child(even) .ds-zig-body{order:0}
.sect.dark .ds-zig-body p,.sect.tx-blueprint .ds-zig-body p{color:#c8c8ce}
@media(max-width:880px){
  .ds-zig{gap:40px}
  .ds-zig-row,.ds-zig-row:nth-child(even){grid-template-columns:1fr;gap:22px}
  .ds-zig-row .ds-zig-img,.ds-zig-row:nth-child(even) .ds-zig-img{order:0}
  .ds-zig-row .ds-zig-body,.ds-zig-row:nth-child(even) .ds-zig-body{order:1}
  .ds-zig-body h3{font-size:1.4rem}
}

/* ---------------------------------------------------------------------------
   L30 — Annotated product
   Numbered hotspots over a photo, with a legend beneath. Marker positions are
   percentages of the image, set inline per page, so they track the photo when
   it is replaced rather than being baked into this file.
   --------------------------------------------------------------------------- */
.ds-annot{display:flex;flex-direction:column;gap:30px}
.ds-annot-fig{position:relative;border-radius:var(--radius);overflow:hidden;line-height:0}
.ds-annot-fig img{width:100%;height:auto;display:block}
.ds-annot-pin{position:absolute;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:var(--red);color:#fff;font-weight:800;font-size:.88rem;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px rgba(209,31,38,.25);transition:transform .15s ease;line-height:1}
.ds-annot-fig:hover .ds-annot-pin{transform:scale(1.08)}
.ds-annot-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:24px}
.ds-annot-item{display:flex;gap:14px}
.ds-annot-n{width:28px;height:28px;flex-shrink:0;border-radius:50%;background:var(--ink);color:#fff;font-weight:800;font-size:.8rem;display:flex;align-items:center;justify-content:center}
.ds-annot-item h4{font-family:var(--font-head);font-size:1.05rem;font-weight:600}
.ds-annot-item p{font-size:.88rem;color:var(--gray-700);margin-top:4px}
.sect.dark .ds-annot-n,.sect.tx-grid .ds-annot-n{background:#fff;color:var(--ink)}
.sect.dark .ds-annot-item p,.sect.tx-grid .ds-annot-item p{color:#c8c8ce}
@media(max-width:880px){
  /* Pins get unreadable at phone width; the numbered legend carries it alone. */
  .ds-annot-pin{width:26px;height:26px;margin:-13px 0 0 -13px;font-size:.75rem;box-shadow:0 0 0 4px rgba(209,31,38,.25)}
}
@media(max-width:520px){ .ds-annot-pin{display:none} }
