@font-face {
  font-family: Pretendard;
  src: url("/cnc/assets/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root { --ink:#192e39; --forest:#172e39; --muted:#485e67; --paper:#faf9f5; --sand:#efede6; --line:#cdd5d4; --lime:#dcedbd; }
.site-header { background:#faf9f5; color:var(--ink); border-color:var(--line); }
.site-header .brand-mark { --lime:#48724f; }
.site-header nav a:hover,.site-header nav a[aria-current],.top-action { color:#365b40; }
.top-action { border-color:#849683; }
.hero { background:#172e39; min-height:clamp(35rem,71svh,47rem); }
.hero::before { background:linear-gradient(90deg,#172e39 0%,#172e39 36%,#172e39ed 41%,#172e3940 61%,transparent 74%); }
.hero-media { inset:0 0 0 30%; }
.hero-media video,.hero-media img { filter:none; object-position:58% center; }
.hero h1,.hero .lead { text-shadow:none; }
.hero h1 { font-weight:650; font-size:clamp(3rem,5.3vw,5.8rem); letter-spacing:-.055em; line-height:1.13; }
.hero h1 span + span { color:white; }
.hero .lead { max-width:30ch; color:#e5ecec; line-height:1.65; }
.eyebrow,.kicker { letter-spacing:.035em; }
.eyebrow span,.signal-label span { display:none; }
.hero-controls button { background:#172e39eb; border-color:#acbdc0; }
.hero-controls button[aria-pressed=true] { background:#f3f3e9; color:var(--ink); }
.button { border-radius:.35rem; padding-inline:1.2rem; }
.scope-counts { background:#e4eae9; }
.service-link { background:var(--forest); color:#fff; }
.chapter-cover { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); background:var(--sand); }
.chapter-cover .sub-hero { align-self:center; background:transparent; color:var(--ink); padding:clamp(2rem,5vw,6rem) 0; }
.chapter-cover .wrap { width:auto; margin-left:max(1.25rem,calc((100vw - 73rem)/2)); margin-right:clamp(1.25rem,4vw,5rem); }
.chapter-cover h1 { font-size:clamp(2.4rem,4.3vw,4.5rem); font-weight:650; line-height:1.16; }
.chapter-cover .lead,.chapter-cover .breadcrumb { color:var(--muted); }
.chapter-cover .field-photo img { height:100%; min-height:24rem; object-position:center; }
.chapter-cover figcaption { right:1rem; bottom:.85rem; font-size:.8rem; background:#172e39e8; }
.field-guide { padding-block:clamp(3rem,7vw,7rem); background:#f4f3ec; }
.field-guide + .field-guide { background:white; }
.guide-grid { display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.3fr); gap:clamp(2rem,6vw,6rem); }
.guide-grid h2 { font-size:clamp(1.9rem,3.2vw,3.25rem); font-weight:650; }
.guide-grid p { line-height:1.85; }
.guide-grid table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:.96rem; }
.guide-grid caption { text-align:left; margin-bottom:1rem; font-weight:750; }
.guide-grid :is(th,td) { padding:.85rem .5rem; text-align:left; vertical-align:top; border-bottom:1px solid #c0cccc; overflow-wrap:anywhere; }
.guide-grid thead { background:#dfe6e3; }
.guide-grid th:first-child { width:23%; }
.field-flow { display:flex; flex-wrap:wrap; list-style:none; padding:0; gap:.55rem; margin:1.6rem 0; }
.field-flow li { font-size:.94rem; font-weight:650; }
.field-flow li:not(:last-child)::after { content:" →"; color:#476255; }
.service-entry { border-top:1px solid var(--line); padding:1.6rem 0; }
.service-entry h3 { font-size:1.5rem; }
@media(max-width:760px) {
  .chapter-cover,.guide-grid { grid-template-columns:1fr; }
  .chapter-cover .field-photo img { height:clamp(13rem,52vw,22rem); min-height:0; }
  .site-header nav { border-color:var(--line); gap:.4rem; flex-wrap:wrap; }
  .site-header nav a { padding:.25rem 0; }
  .hero { min-height:0; display:flex; flex-direction:column; align-items:stretch; }
  .hero-media { position:relative; inset:auto; order:2; aspect-ratio:16/10; z-index:0; transform:none; }
  .hero::before { display:none; }
  .hero-inner { order:1; padding-block:2.6rem 1.8rem; }
  .hero .actions { margin-bottom:0; }
  .signal-label { margin-top:1rem; }
  .hero-controls { order:3; position:static; max-width:none; justify-content:flex-start; padding:.65rem 1rem; }
  .hero-controls button { min-height:2.75rem; }
  .hero .lead { max-width:36ch; }
  .site-header nav a { font-size:.82rem; }
  .guide-grid :is(th,td) { padding:.65rem .35rem; }
}

.hero { background:#f3f3eb; color:#152f39; }
.hero::before { background:linear-gradient(90deg,#f3f3eb 0%,#f3f3eb 31%,#f3f3ebd9 38%,transparent 55%); }
.hero-media { inset:0 0 0 32%; }
.hero .hero-media img { object-position:50% center; }
.hero h1 span + span { color:#204d48; }
.hero .eyebrow,.hero .signal-label { color:#365849; }
.hero .lead { color:#334c51; }
.hero .actions .lime { background:#214e45; color:white; }
.hero .actions .outline { color:#1c383b; border-color:#83918b; }
.hero .opening { color:white; }
.opening::before { background-image:linear-gradient(90deg,#172e392e,#172e3926),url("assets/equipment-motor.webp"); }
.motor-monitor { position:absolute; right:clamp(1rem,4vw,4.5rem); bottom:6rem; width:18rem; padding:.8rem .95rem; background:#fcfdf8f7; color:#123935; box-shadow:0 6px 25px #152e352b; border-radius:.55rem; }
.motor-monitor header { display:flex; align-items:center; gap:.5rem; }
.motor-monitor header span,.motor-monitor button { font-size:.7rem; }
.motor-monitor button { margin-left:auto; border:0; color:#315148; background:transparent; text-decoration:underline; padding:.3rem; }
.motor-channels { display:flex; gap:1rem; margin:.5rem 0; }
.motor-channels > div { flex:1; min-width:0; font-size:.75rem; }
.motor-channels span { display:block; }
.motor-channels b { font-size:1.25rem; font-variant-numeric:tabular-nums; }
.motor-channels svg { display:block; height:1.45rem; width:100%; }
.motor-channels polyline { stroke:#116e5b; fill:none; stroke-width:2; }
.motor-channels > div+div polyline { stroke:#aa541b; }
.motor-alert { margin:0; padding-top:.35rem; border-top:1px solid #cdd7cc; font-size:.78rem; }
.motor-alert[data-phase="9"] strong,.motor-alert[data-phase="12"] strong { color:#994213; }
@media(max-width:760px) {
  .hero { display:grid; grid-template-columns:minmax(0,1fr); }
  .hero-inner { grid-area:1/1; }
  .hero-media { grid-area:2/1; aspect-ratio:4/4.3; inset:auto; align-self:stretch; }
  .motor-monitor { grid-area:2/1; position:relative; inset:auto; align-self:end; justify-self:end; width:min(16rem,85%); margin:.7rem; padding:.55rem .75rem; }
  .hero-controls { grid-area:3/1; }
  .hero .hero-media img { object-position:50% 20%; }
}
.motor-monitor { z-index:1; }
.hero .opening { z-index:3; }
@media(max-width:760px) {
  .hero-inner { padding-block:1.4rem 1rem; }
  .hero .eyebrow { margin-bottom:.8rem; }
  .hero .actions { margin-top:.9rem; }
  .hero .signal-label { display:none; }
  .hero-media { aspect-ratio:1.26; }
  .hero .motor-monitor { width:min(14.4rem,80%); }
}
