/* WEB-20: the Controllers family page and the three controller series pages.

   The Architect's own controllers.css from orders/WEB-20/mockups, taken as he
   wrote it. What is added below the rule he sent is only what OV's own markup
   needs that a flat mockup does not: a mockup writes <img>, OV writes the slot
   macro's <span class="sl"><img></span>, so every rule that sized an <img>
   needs its wrapper sized too. Nothing is restyled. */
.ctl-q{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ctl-q div{border-top:2px solid #111113;padding-top:18px}
.ctl-q b{display:block;font-family:var(--f-display);font-stretch:112%;font-weight:800;font-size:20px;text-transform:uppercase}
.ctl-q p{margin:8px 0 0;color:var(--mute-l);font-size:16px}
.ctl-q svg{color:#FF0000;margin-bottom:14px}
.ch{padding:40px 0 72px}
.ch-media{margin-bottom:34px}
.ch-media{position:relative;width:100%;aspect-ratio:2/1;max-height:620px;overflow:hidden;background:#111113}
.ch-media img{width:100%;height:100%;object-fit:cover;display:block}
.ch-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,11,.92) 0%,rgba(10,10,11,.62) 30%,rgba(10,10,11,0) 62%)}
.ch-over{position:absolute;z-index:2;left:48px;top:44px;right:48px}
.ch-over .eyebrow{color:#fff;margin:0}
/* The floor was 44 px, and "CONTROLLERS" at 44 px is 408 px wide in a
   318 px box at 390 -- the title was clipped mid-word on every phone. The
   Architect's mockup clips it too. 30 px fits the longest family name OV
   has; measured, not guessed. */
.ch-title{color:#fff;font-size:clamp(30px,6.4vw,96px);line-height:.94;margin:14px 0 0}
.ch .car-dots{justify-content:center}
.ch-below{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:64px;margin-top:40px;align-items:start}
.cg-h{font-family:var(--f-mono);font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#FF0000;font-weight:500;margin:48px 0 16px}
.cg-h:first-of-type{margin-top:0}
.cg-h span{color:var(--mute-l);margin-left:8px}
.cg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cimg{margin:0;border:1px solid var(--line-l);background:#fff;display:flex;flex-direction:column}
.cimg-m{padding:22px 22px 14px;display:flex;align-items:center;min-height:118px}
.cimg-m img{width:100%;height:auto}
.cimg figcaption{padding:14px 22px 18px;border-top:1px solid var(--line-l)}
.cimg b{display:block;font-family:var(--f-display);font-stretch:108%;font-weight:700;font-size:20px;line-height:1.25}
.cimg span{display:block;margin-top:6px;font-family:var(--f-mono);font-size:12px;letter-spacing:.06em;color:var(--mute-l)}
.cards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cardlist{border:1px solid var(--line-d);background:var(--ink-2);padding:22px 24px}
.cardlist h3{font-family:var(--f-display);font-stretch:112%;font-weight:800;font-size:20px;text-transform:uppercase;margin:0 0 14px;color:#fff}
.cardlist ul{list-style:none;margin:0;padding:0}
.cardlist li{padding:9px 0;border-top:1px solid var(--line-d);color:#E6E6E8;font-size:15px;display:flex;gap:10px;align-items:baseline}
.cardlist li b{font-family:var(--f-mono);font-size:12px;color:#FF0000;min-width:34px}
.chassis-tbl td,.chassis-tbl th{white-space:nowrap}
.mt-note{margin-top:14px;color:var(--mute-d);font-size:13px}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:56px;align-items:center}
.split img{width:100%;height:auto}
.dimfig svg{width:100%;height:auto;display:block}
.dimfig-cap{margin-top:10px;color:var(--mute-l)}
.vs{display:grid;grid-template-columns:minmax(0,1.1fr) repeat(2,minmax(0,1fr));border-top:1px solid var(--line-d)}
.vs > div{padding:22px 20px;border-bottom:1px solid var(--line-d);display:flex;flex-direction:column;justify-content:center}
.vs .lab{font-family:var(--f-mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--mute-d)}
.vs .num{font-family:var(--f-display);font-stretch:118%;font-weight:800;font-size:56px;line-height:1;color:#fff}
.vs .num.dim{color:#8A8A90;font-weight:600}
.vs .sub{font-size:13px;color:var(--mute-d);margin-top:6px}
.vs .hd{font-family:var(--f-mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;padding:14px 20px}
.vs .hd.f{background:#FF0000;color:#fff}
.vs .hd.e{background:#2A2A2E;color:#fff}
.rc-tbl{width:100%;border-collapse:collapse}
.rc-tbl th,.rc-tbl td{padding:11px 14px;border-bottom:1px solid var(--line-d);text-align:center;font-size:15px;color:#fff}
.rc-tbl thead th{font-family:var(--f-display);font-stretch:112%;font-weight:800;font-size:20px;color:#fff;background:var(--ink-2)}
.rc-tbl thead th span{display:block;font-family:var(--f-mono);font-size:11px;font-weight:400;color:var(--mute-d);letter-spacing:.08em}
.rc-tbl tbody th{text-align:left;font-weight:400;color:var(--mute-d);width:28%}
.rc-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#FF0000}
.rc-no{color:#55555C}
.rc-box{overflow-x:auto;border:1px solid var(--line-d)}
.kv{list-style:none;margin:20px 0 0;padding:0}
.kv li{display:flex;gap:14px;padding:10px 0;border-top:1px solid var(--line-l);font-size:15px}
.kv li b{min-width:150px;font-family:var(--f-mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--mute-l);font-weight:400;padding-top:2px}
.ports3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.wide-img{width:100%;aspect-ratio:21/8;object-fit:cover;display:block}
@media (max-width:1023px){.ch-below{grid-template-columns:1fr;gap:28px}.ctl-q,.cards3,.ports3{grid-template-columns:1fr}.split{grid-template-columns:1fr;gap:32px}.vs .num{font-size:38px}}
@media (max-width:600px){.cg{grid-template-columns:1fr}.ch-media{aspect-ratio:4/3}.ch-over{left:20px;top:22px;right:20px}.ctl-q svg{width:120px;height:120px}.vs{grid-template-columns:1fr 1fr}.vs .lab{grid-column:1/-1;border-bottom:0;padding-bottom:0}.vs .hd:first-child{display:none}}


/* ---- OV's slot wrapper, where the mockup had a bare <img> ---------------- */
.ch-media .sl,.ch-media .car,.ch-media .car-main,.ch-media .car-slide{
  position:absolute;inset:0;width:100%;height:100%}
.ch-media .sl img{width:100%;height:100%;object-fit:cover;display:block}
.cimg-m .sl{width:100%;display:block}
.cimg-m .sl img{width:100%;height:auto}
.split .sl{display:block;width:100%}
.split .sl img{width:100%;height:auto}

/* The dots sit BELOW the photograph, centred, as the Architect's
   `.ch .car-dots{justify-content:center}` has them -- not over the picture,
   where a first attempt put them and where they disappeared into it. They are
   OV's own dashes rather than his round dots, which is the same component
   every other carousel on the site uses. */
.ch-media .car-dots{position:absolute;z-index:3;left:0;right:0;bottom:-26px;
  display:flex;gap:8px;justify-content:center}

/* §3a: the three question icons are 176 px -- the Architect asked for 4x */
.ctl-q svg{width:176px;height:176px}

/* §3b: a controller's Sizes section stacks -- heading and lead, then the
   drawing full width. Four chassis side by side need the whole measure, and
   the Architect lays it out that way. */
.ctl-sizes{display:block}
.ctl-sizes > div:first-child{max-width:720px}
.ctl-sizes .dimfig{margin-top:36px}
.ctl-sizes .dimfig svg{width:100%;height:auto;display:block}
.ctl-sizes .scale-cap{margin-top:10px}


/* WEB-21 §3f: .icg and .ic moved to ov.css, the shared sheet, so one
   definition serves every page that uses the grid. What stays here is only
   what belongs to the Controllers pages. */

/* WEB-20 §5: .h-fit sizes the family title from its own longest run, so a
   long family name comes down only as far as it must. The base is the
   Architect's upper bound. */
.h-display.ch-title.h-fit{--h-fit-base:96px}
