/* Page composition. Controls and action styles live in components.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 400 18px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open, body.menu-open { overflow: hidden; }
.not-found { min-height: 55vh; padding-block: 96px; }
.not-found h1 { max-width: 900px; }
.not-found p { max-width: 700px; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, textarea, summary { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1 { font-size: var(--type-h1); line-height: var(--type-h1-line); letter-spacing: -1.45px; }
h2 { font-size: var(--type-h2); line-height: var(--type-h2-line); letter-spacing: -1.1px; }
h3 { font-size: var(--type-h3); line-height: var(--type-h3-line); letter-spacing: -.6px; }
p { margin-block: 16px; }
.mono, .kicker, .section-label, .item-number, .eyebrow { font-family: var(--mono); }
.muted { color: var(--muted); }
.section-label { margin: 0 0 18px; font-size: 18px; line-height: 24px; text-transform: uppercase; }
.eyebrow { color: var(--muted); font-size: 13px; line-height: 20px; letter-spacing: .7px; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -100px; padding: 12px; background: var(--mint); }
.skip-link:focus { top: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.honeypot[hidden]{display:none!important;}
.capability h3{white-space:normal!important;font-size:24px;line-height:1.3;overflow-wrap:break-word;}
.repeat-form{margin-top:32px;scroll-margin-top:110px;}
.repeat-form .kiod-form{padding:28px;}
.footer-contact h3{max-width:360px;}
.site-shell { max-width: var(--site-max); margin-inline: auto; background: #fff; container: kiod-page / inline-size; }
.content-width, .section-inner { width: calc(100% - 2 * var(--page-gutter)); max-width: var(--content-max); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: #fffffff5; border-bottom: 1px solid #d8e0e3; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { flex: none; }
.brand img { width: 120px; height: auto; mix-blend-mode: multiply; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 17px; white-space: nowrap; }
.main-nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.main-nav a:hover { color: #285a51; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.menu-toggle { display: none; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.menu-toggle span { width: 18px; height: 1px; background: var(--ink); }
#main-content { position: relative; isolation: isolate; padding-bottom: 32px; }
.hero, .kiod-section { position: relative; z-index: 1; }
.hero { padding-bottom: 104px; }
.hero-pane { position: relative; display: flex; align-items: center; min-height: 704px; overflow: hidden; }
.hero-photo { position: absolute; inset: 0 0 0 26%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#fff 0%,#fffffff5 17%,#ffffff8c 31%,#fff0 47%); }
.hero-photo figcaption { position: absolute; right: 24px; bottom: 24px; z-index: 1; padding: 6px 12px; border: 1px solid #ffffffb0; border-radius: 6px; color: #fff; background: #14282f66; font: 400 16px/24px var(--mono); }
.hero-copy { position: relative; z-index: 2; width: 58%; padding-block: 56px; padding-left: max(var(--page-gutter),calc((100cqw - var(--content-max)) / 2)); }
.kicker { display: flex; align-items: center; gap: 16px; margin: 0 0 36px; font-size: 16px; line-height: 20px; text-transform: uppercase; }
.kicker::before { content: ''; flex: 0 0 12px; width: 12px; height: 12px; background: var(--mint); }
.hero h1 { max-width: 730px; }
.hero-lead { max-width: 650px; margin: 28px 0 36px; font-size: 20px; line-height: 28px; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.hero-actions .text-link { max-width: 290px; font-size: 18px; }
.hero-note { margin-top: 24px; font-size: 16px; line-height: 24px; }
.hero-facts { display: grid; grid-template-columns: 1fr 1.1fr .9fr; gap: 40px; padding-block: 40px; }
.hero-fact { position: relative; display: flex; align-items: flex-start; gap: 24px; }
.hero-fact + .hero-fact::before { content: ''; position: absolute; left: -20px; top: 0; bottom: 0; border-left: 1px solid #cad5da; }
.fact-icon { flex: none; width: 56px; height: 56px; }
.hero-fact h3 { font-size: 24px; line-height: 30px; }
.hero-fact p { max-width: 320px; margin-top: 8px; margin-bottom: 0; font-size: 16px; line-height: 23px; }
.hero-fact .mono { font-size: 16px; }
.kiod-section { padding-block: 64px; }
.kiod-section h2 { margin-bottom: 36px; }
.situations { padding-block: 40px 28px; }
.situations h2 { margin-bottom: 12px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; }
.scenario { position: relative; }
.scenario + .scenario::before { content: ''; position: absolute; left: -24px; top: 8px; bottom: 0; border-left: 1px solid #cfd8dc; }
.scenario-top { display: flex; align-items: center; gap: 28px; margin-bottom: 20px; }
.scenario-top .item-number { display: flex; align-items: center; gap: 16px; font-size: 16px; }
.scenario-top .item-number::after { content: ''; width: 64px; height: 1px; background: var(--mint); }
.scenario-top img { width: 56px; height: 56px; }
.scenario h3 { min-height: 64px; font-size: 28px; line-height: 34px; }
.scenario h3 br { display: none; }
.scenario p { margin: 16px 0 0; font-size: 20px; line-height: 26px; }
.scenario .scenario-accent { min-height: 28px; margin-top: 12px; font-weight: 500; }
.section-actions { display: flex; align-items: center; gap: 40px; margin-top: 24px; }
.section-actions p { margin: 0; font-size: 18px; }
.estimate { padding-block: 56px 72px; background: radial-gradient(ellipse at 78% 60%,#edf7f4 0%,#f8fafa 40%,#fff0 70%); }
.estimate .section-inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto min-content 1fr; column-gap: 56px; align-items: start; }
.estimate .section-label, .estimate h2 { grid-column: 1; }
.estimate h2 { margin-bottom: 36px; }
.estimate-grid { display: contents; }
.estimate-copy { grid-column: 1; }
.estimate .copy-groups { margin-top: 20px; }
.estimate .copy-groups p { margin-block: 12px; }
.estimate-copy h3 { font-size: 26px; line-height: 34px; }
.estimate-copy h3 br { display: none; }
.copy-groups { margin-top: 24px; }
.copy-groups p { margin-block: 16px; font-size: 20px; line-height: 28px; }
.estimate-note { margin: 28px 0 16px; font-size: 20px; line-height: 28px; }
.estimate-visual { grid-column: 2; grid-row: 2 / span 2; position: relative; min-width: 0; padding: 4px 0 0; }
.estimate-document { position: relative; padding: 36px 36px 52px; border: 1px solid #dce6e9; border-radius: var(--panel-radius); background: linear-gradient(140deg,#fff,#fafcfc); box-shadow: 0 14px 36px #1f4c3d0c; }
.estimate-document h3 { font-size: 32px; line-height: 40px; }
.estimate-document p { margin-top: 8px; font-size: 20px; line-height: 28px; }
.estimate-document::after { content: '+'; position: absolute; right: 24px; top: 24px; width: 170px; height: 100px; text-align: right; color: #8ca0ad; font: 24px var(--mono); background: var(--mini-trace) center/contain no-repeat; opacity: .75; pointer-events: none; }
.estimate-steps { display: flex; position: relative; justify-content: space-between; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.estimate-steps::before { content: ''; position: absolute; top: 11px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg,var(--mint) 38%,var(--ink) 38%); }
.estimate-steps li { position: relative; flex: 1; text-align: center; font-size: 18px; line-height: 24px; }
.estimate-steps li::before { content: ''; display: block; width: 22px; height: 22px; margin: 0 auto 18px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; }
.estimate-steps .complete::before { border: 6px solid var(--mint); background: var(--ink); box-shadow: 0 0 0 4px #3ce0b433; }
.board-accent { position: relative; margin: 20px 0 0 auto; width: 60%; max-width: 400px; }
.board-accent img { width: 100%; }
.board-accent figcaption { margin-top: 8px; text-align: right; text-transform: uppercase; color: var(--muted); font-size: 12px; line-height: 18px; }
.responsibility { padding-block: 64px; }
.responsibility h2 { max-width: 850px; }
.team-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: start; }
.engineer-copy { grid-column: 1 / span 3; position: relative; padding-right: 24px; }
.engineer-copy::after { content: ''; position: absolute; top: 0; right: 0; bottom: 56px; border-right: 1px solid #cfd8dc; }
.team-grid .item-number { margin: 0 0 16px; font-size: 16px; line-height: 24px; }
.team-grid h3 { font-size: 30px; line-height: 36px; }
.engineer-copy .copy-groups { margin-top: 28px; }
.engineer-copy .copy-groups p { margin: 20px 0; }
.engineer-copy .text-disclosure { margin-top: 32px; }
.workshop-copy { grid-column: 4 / span 4; padding-left: 8px; max-width: 408px; }
.workshop-copy p:not(.item-number) { margin: 24px 0 0; font-size: 20px; line-height: 28px; }
.workshop-copy br { display: none; }
.machine-figure { grid-column: 8 / span 5; align-self: stretch; position: relative; display: flex; justify-content: flex-end; align-items: flex-end; min-height: 460px; margin-top: -100px; background: radial-gradient(ellipse at 60% 70%,#f0f3f4,#fff0 72%); }
.machine-figure img { flex: none; width: 118%; max-width: none; max-height: 600px; object-fit: contain; filter: drop-shadow(0 12px 10px #14282f12); }
.capabilities { padding-block: 48px 56px; }
.capability-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; }
.capability { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; align-items: center; }
.capability + .capability::before { content: ''; position: absolute; top: 0; bottom: 0; left: -24px; border-left: 1px solid #cfd8dc; }
.capability img { grid-column: 1; grid-row: 1 / span 2; width: 56px; height: 56px; }
.capability h3 { grid-column: 2; font-size: 28px; line-height: 36px; white-space: nowrap; }
.capability p { grid-column: 2; margin: 0; font-size: 18px; line-height: 26px; }
.materials-note { display: inline-block; margin: 32px 40px 0 0; font-size: 20px; }
.capability-details { display: inline; }
.capability-details[open] { display: block; margin-top: 16px; }
.capability-details > div { margin-top: 16px; }
.table-scroll { max-width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 24px; }
.table-scroll table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 16px; }
.table-scroll caption { padding: 16px; text-align: left; background: var(--surface); }
.table-scroll th, .table-scroll td { padding: 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-scroll thead th { background: var(--surface); }
.table-scroll tbody th { position: sticky; left: 0; width: 20%; background: #fff; font-weight: 500; }
.inquiry { padding-block: 56px 64px; background: radial-gradient(ellipse at 65% 70%,#f2fbf7,#fff0 70%); }
.inquiry .section-label { margin-bottom: 24px; }
.inquiry-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 56px; align-items: start; }
.inquiry-copy h2 { font-size: 38px; line-height: 46px; margin-bottom: 28px; }
.inquiry-copy h2 br, .inquiry-copy > p br { display: none; }
.inquiry-copy > p { margin: 16px 0; max-width: 620px; font-size: 20px; line-height: 28px; }
.engineer-portrait { max-width: 500px; margin-top: 24px; }
.engineer-portrait img { width: 100%; aspect-ratio: 1.9; object-fit: cover; object-position: center 48%; border-radius: 8px; }
.engineer-portrait figcaption { margin-top: 10px; }
.engineer-portrait strong { display: block; font-size: 24px; line-height: 32px; font-weight: 600; }
.engineer-portrait .mono { display: block; margin-top: 4px; font-size: 14px; line-height: 22px; text-transform: uppercase; color: var(--muted); }
.inquiry::after { content: ''; position: absolute; right: max(48px,calc((100% - var(--content-max)) / 2)); bottom: 16px; width: 160px; height: 70px; background: var(--mini-trace) center/contain no-repeat; opacity: .6; pointer-events: none; }
/* Shared form layout; controls use the same design tokens as page actions. */
.kiod-form { padding: 32px; border: 1px solid #d8e3e7; border-radius: var(--panel-radius); background: linear-gradient(140deg,#fff,#fcfdfd); box-shadow: 0 8px 22px #18473809; min-width: 0; }
.kiod-form .eyebrow { margin-bottom: 12px; }
.kiod-form h3 { margin-bottom: 24px; font-size: 26px; line-height: 34px; }
.form-intro { margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 24px; }
.field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.field { display: block; margin-bottom: 20px; font-size: 16px; line-height: 22px; }
.field input, .field textarea { display: block; width: 100%; min-width: 0; min-height: var(--field-height); margin-top: 8px; padding: 11px 12px; border: 1px solid #b6c6cd; border-radius: var(--field-radius); background: #fff; font-size: 16px; line-height: 24px; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #607786; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field [aria-invalid=true] { border-color: var(--error); }
.file-field, .radio-field { padding: 0; margin: 4px 0 12px; border: 0; min-width: 0; }
.file-field legend, .radio-field legend { margin-bottom: 8px; font-size: 16px; }
.upload-area { position: relative; padding: 20px; border: 1px dashed #c1cfd6; border-radius: var(--field-radius); background: #f8fafb; }
.upload-area.dragging { border-color: #28755e; background: #e8fcf4; }
.upload-area > input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-area:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.upload-label { display: flex; align-items: center; gap: 20px; min-height: 56px; font-size: 17px; line-height: 25px; cursor: pointer; }
.upload-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding-right: 16px; border-right: 1px solid #d3dde2; font-size: 32px; }
.upload-plus { margin-left: auto; font-size: 24px; }
.upload-or { color: var(--muted); }
.field-help { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 20px; }
.field-error, .form-status { margin-block: 8px; color: var(--error); font-size: 14px; line-height: 22px; }
.field-error:empty, .form-status:empty { display: none; }
.file-list { font: 400 14px/20px var(--mono); }
.file-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.file-row > span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.file-row progress { width: 56px; min-width: 40px; accent-color: var(--mint); }
.file-remove { flex: 0 0 44px; min-width: 44px; height: 44px; border: 0; background: transparent; font-size: 24px; }
.folder-disclosure > summary { width: fit-content; min-height: 36px; padding-block: 8px; color: var(--muted); font-size: 14px; cursor: pointer; }
.folder-disclosure .field { margin-top: 8px; }
.more-fields { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 44px; margin-bottom: 8px; padding: 10px 0; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; font-size: 14px; }
.more-fields span { font-size: 20px; }
.radio-field { font-size: 14px; }
.radio-field label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: 16px; }
.radio-field input { width: 18px; height: 18px; accent-color: var(--ink); }
.consent { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-block: 12px 16px; color: var(--muted); font-size: 14px; line-height: 20px; }
.consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.form-submit { width: 100%; }
.form-question { width: fit-content; min-height: 44px; margin-top: 8px; padding-block: 10px; }
.honeypot { position: absolute; left: -99999px; visibility: hidden; }
.form-success { padding-block: 32px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #e4fbf3; color: #206d54; font-size: 30px; }
.form-success p { color: var(--muted); font-size: 16px; }
.cancel-upload { min-height: 44px; padding: 8px 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.kiod-form[data-context=inline] :is(.form-intro,.eyebrow,.form-fields > .field-help) { display: none; }
.kiod-form[data-context=inline] .upload-area { padding: 16px; }
.kiod-form[data-context=inline] .upload-label { min-height: 44px; }
.kiod-form[data-context=inline] .file-field > legend { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.form-dialog { width: calc(100% - 32px); max-width: 680px; max-height: calc(100svh - 48px); padding: 36px; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 24px 100px #14282f3d; overscroll-behavior: contain; }
.form-dialog::backdrop { background: #14282f9e; backdrop-filter: blur(4px); }
.form-dialog .kiod-form { padding: 12px 0 0; border: 0; background: #fff; box-shadow: none; }
.dialog-close { display: grid; place-items: center; position: sticky; top: 0; z-index: 2; width: 44px; height: 44px; margin: -16px -16px -28px auto; border: 0; border-radius: 50%; background: var(--surface); font-size: 28px; }
.document-dialog > h2 { margin-block: 24px; font-size: 30px; line-height: 38px; }
.document-dialog > p { font-size: 18px; line-height: 28px; }
.document-dialog .text-link { margin-block: 16px; }
.site-footer { color: #fff; background: linear-gradient(120deg,#14282f,#0d2c2e); }
.footer-inner { padding-block: 40px 24px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 28px; }
.footer-brand { position: relative; display: block; width: 160px; }
.footer-brand img { width: 160px; filter: grayscale(1) invert(1) brightness(1.2); mix-blend-mode: screen; }
/* Preserve the mint square from the original logo while showing a light wordmark. */
.footer-brand::after { content: ''; position: absolute; inset: 0; background: url(logo.webp) center/contain no-repeat; clip-path: polygon(32.5% 7%,39.7% 7%,39.7% 26%,32.5% 26%); }
.footer-top > div > p { max-width: 350px; margin-top: 12px; font-size: 18px; line-height: 26px; }
.footer-top h3 { margin-bottom: 8px; font-size: 24px; line-height: 32px; font-weight: 500; }
.footer-top nav { display: flex; flex-direction: column; border-inline: 1px solid #ffffff60; padding-inline: 40px; font-size: 18px; line-height: 28px; }
.footer-top nav a { display: flex; align-items: center; min-height: 30px; text-decoration: none; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-contact p { margin: 0 !important; font-size: 17px; line-height: 26px; }
.footer-contact .kiod-button { margin-top: 8px; }
.site-footer :is(.kiod-button--outline,.btn2) { color: #fff; border-color: #fff; }
.site-footer :is(.kiod-button--outline,.btn2):hover { color: #fff; background: #203b43; }
.site-footer :focus-visible { outline-color: var(--mint); }
.footer-bottom { display: flex; align-items: center; gap: 24px; padding-top: 16px; border-top: 1px solid #ffffff80; font-size: 14px; line-height: 22px; }
.footer-bottom > span:first-child { margin-right: auto; }
.footer-bottom a { text-decoration: none; }
.document-link { min-height: 44px; border: 0; padding: 8px 0; background: transparent; color: inherit; font-size: inherit; text-align: left; }
.scroll-route { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.scroll-route path { fill: none; stroke: var(--mint); stroke-width: 1; vector-effect: non-scaling-stroke; }
.scroll-route .route-dot { fill: var(--mint); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 7px #3ce0b4bb); }
.scroll-route:not([data-ready]) { visibility: hidden; }
body:has(#wpadminbar) .site-header { top: 32px; }
@container kiod-page (max-width: 1500px) {
  .header-inner { gap: 20px; }
  .main-nav { gap: 24px; font-size: 16px; }
  .hero h1 { font-size: 50px; }
  .hero-copy { width: 60%; }
  .hero-lead { font-size: 18px; line-height: 27px; }
  .hero-actions { gap: 24px; }
  .hero-actions .text-link { font-size: 17px; max-width: 260px; }
  .hero-facts { gap: 32px; }
  .hero-fact { gap: 20px; }
  .hero-fact + .hero-fact::before { left: -16px; }
  .hero-fact h3 { font-size: 22px; line-height: 28px; }
  .hero-fact p { font-size: 15px; line-height: 23px; }
  .scenario-grid, .capability-grid { gap: 40px; }
  .scenario + .scenario::before, .capability + .capability::before { left: -20px; }
  .scenario h3 { font-size: 26px; line-height: 32px; min-height: 64px; }
  .scenario p { font-size: 18px; line-height: 27px; }
  .estimate .section-inner { column-gap: 48px; }
  .estimate-document { padding-inline: 28px; }
  .estimate-steps li { font-size: 16px; line-height: 22px; }
  .team-grid h3 { font-size: 26px; line-height: 32px; }
  .copy-groups p, .workshop-copy p:not(.item-number) { font-size: 18px; line-height: 27px; }
  .machine-figure { min-height: 420px; margin-top: -80px; }
  .capability { grid-template-columns: 52px 1fr; column-gap: 16px; }
  .capability img { width: 48px; height: 48px; }
  .capability h3 { font-size: 24px; line-height: 32px; }
  .capability p { font-size: 16px; line-height: 24px; }
  .inquiry-grid { gap: 48px; }
  .inquiry-copy h2 { font-size: 34px; line-height: 42px; }
}
@container kiod-page (max-width: 1250px) {
  .brand img { width: 104px; }
  .main-nav { gap: 20px; font-size: 15px; }
  .header-inner { gap: 16px; }
  .hero h1 { font-size: 46px; }
  .hero-copy { width: 63%; }
  .hero-actions { flex-wrap: wrap; gap: 20px; }
  .hero-actions .text-link { max-width: 340px; }
  .hero-fact { display: block; }
  .fact-icon { margin-bottom: 12px; width: 48px; height: 48px; }
  .scenario-grid { gap: 32px; }
  .scenario + .scenario::before { left: -16px; }
  .scenario h3 { font-size: 24px; line-height: 30px; min-height: 90px; }
  .scenario .scenario-accent { min-height: 81px; }
  .scenario-top { gap: 16px; }
  .scenario-top .item-number::after { width: 40px; }
  .estimate-copy h3 { font-size: 24px; line-height: 32px; }
  .estimate-document h3 { font-size: 28px; line-height: 36px; }
  .estimate-document p { font-size: 18px; }
  .estimate-steps { margin-top: 56px; }
  .estimate-steps li { font-size: 14px; line-height: 20px; }
  .board-accent figcaption { display: block; }
  .team-grid { grid-template-columns: .65fr 1.35fr; gap: 32px; }
  .engineer-copy { grid-column: 1; grid-row: 1 / span 2; }
  .workshop-copy { grid-column: 2; grid-row: 1; padding-left: 0; }
  .machine-figure { grid-column: 2; grid-row: 2; min-height: 300px; margin-top: -16px; }
  .machine-figure img { width: 100%; max-width: 100%; max-height: 400px; }
  .capability-grid { gap: 32px; }
  .capability { display: block; }
  .capability img { margin-bottom: 12px; }
  .capability h3 { font-size: 24px; line-height: 32px; }
  .inquiry-grid { grid-template-columns: .85fr 1.15fr; gap: 32px; }
  .inquiry-copy > p { font-size: 18px; line-height: 27px; }
  .kiod-form { padding: 28px; }
  .kiod-form h3 { font-size: 24px; line-height: 32px; }
  .field-row { gap: 16px; }
  .footer-top { gap: 32px; }
  .footer-top nav { padding-inline: 24px; }
  .footer-top h3 { font-size: 22px; line-height: 30px; }
  .footer-top > div > p, .footer-top nav, .footer-contact p { font-size: 16px; line-height: 24px; }
}
@container kiod-page (max-width: 1300px) {
  .main-nav { display: none; position: absolute; top: 80px; left: 0; width: 100%; padding: 16px 32px 24px; background: #fff; border-bottom: 1px solid var(--line); white-space: normal; font-size: 18px; }
  .main-nav.is-open { max-height: calc(100dvh - 80px); overflow-y: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: flex; }
  .header-actions { gap: 12px; }
}
@container kiod-page (max-width: 1100px) {
  .hero { padding-bottom: 64px; }
  .hero-pane { flex-direction: column; align-items: stretch; min-height: 0; overflow: visible; }
  .hero-photo { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 2.2; order: 1; }
  .hero-photo::after { background: linear-gradient(180deg,#fff,#fff0 18%); }
  .hero-copy { order: 0; width: 100%; padding: 48px var(--page-gutter) 32px; }
  .hero h1 { max-width: 640px; }
  h2, .kiod-section h2 { font-size: 36px; line-height: 44px; }
  .section-label { font-size: 14px; }
  .scenario h3 { font-size: 23px; line-height: 30px; }
  .scenario p { font-size: 16px; line-height: 24px; }
  .scenario .scenario-accent { min-height: 72px; }
  .estimate .section-inner { column-gap: 32px; }
  .estimate-copy h3 { font-size: 22px; line-height: 30px; }
  .copy-groups p, .estimate-note { font-size: 18px; line-height: 26px; }
  .estimate-document { padding: 28px 20px 44px; }
  .estimate-document h3 { font-size: 26px; line-height: 34px; }
  .estimate-document p { font-size: 16px; line-height: 24px; }
  .estimate-steps { margin-top: 48px; gap: 4px; }
  .estimate-steps li { font-size: 12px; line-height: 18px; }
  .estimate-steps li::before { width: 18px; height: 18px; margin-bottom: 16px; }
  .estimate-steps::before { top: 9px; }
  .board-accent { width: 80%; right: -8px; }
  .capability h3 { font-size: 22px; line-height: 30px; }
  .capability p { font-size: 15px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-top nav { border-left: 0; padding-left: 0; }
}
@container kiod-page (max-width: 700px) {
  .hero { padding-bottom: 0; }
  .content-width, .section-inner { width: calc(100% - 48px); }
  .header-inner { width: calc(100% - 32px); min-height: 72px; gap: 12px; }
  .brand img { width: 88px; }
  .header-actions { gap: 8px; }
  .header-cta { --button-padding: 12px; --button-gap: 10px; }
  .main-nav { top: 72px; padding-inline: 24px; }
  .hero-pane { flex-direction: column; align-items: stretch; min-height: 0; overflow: visible; }
  .hero-copy { width: 100%; padding: 40px 24px 28px; order: 0; }
  .kicker { max-width: 320px; margin-bottom: 24px; gap: 12px; font-size: 12px; line-height: 20px; align-items: flex-start; }
  .kicker::before { flex-basis: 8px; width: 8px; height: 8px; margin-top: 5px; }
  .hero h1 { max-width: 100%; font-size: 36px; line-height: 42px; letter-spacing: -.8px; }
  .hero-lead { margin-block: 24px; font-size: 16px; line-height: 24px; }
  .hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-actions .text-link { font-size: 16px; max-width: 330px; }
  .hero-note { max-width: 340px; margin-top: 20px; font-size: 13px; line-height: 20px; }
  .hero-photo { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1.45; order: 1; }
  .hero-photo::after { background: linear-gradient(180deg,#fff,#fff0 22%); }
  .hero-photo img { object-position: 72% center; }
  .hero-photo figcaption { right: 16px; bottom: 16px; padding: 4px 8px; font-size: 12px; line-height: 18px; }
  .hero-facts { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
  .hero-fact { display: flex; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .hero-fact:last-child { border-bottom: 0; padding-bottom: 0; }
  .hero-fact + .hero-fact::before { display: none; }
  .fact-icon { flex: 0 0 40px; width: 40px; height: 40px; margin: 0; }
  .hero-fact h3 { font-size: 20px; line-height: 27px; }
  .hero-fact p { max-width: 320px; margin-top: 4px; font-size: 14px; line-height: 21px; }
  .hero-fact .mono { font-size: 14px; }
  .kiod-section { padding-block: 48px; }
  h2, .kiod-section h2 { font-size: 32px; line-height: 39px; letter-spacing: -.6px; }
  .kiod-section h2 { margin-bottom: 28px; }
  .section-label { font-size: 13px; line-height: 20px; margin-bottom: 16px; }
  .scenario-grid { grid-template-columns: 1fr; gap: 28px; }
  .scenario { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .scenario:last-child { padding-bottom: 0; border-bottom: 0; }
  .scenario + .scenario::before { display: none; }
  .scenario-top { gap: 24px; margin-bottom: 16px; }
  .scenario-top .item-number { font-size: 13px; }
  .scenario-top img { width: 48px; height: 48px; }
  .scenario h3 { min-height: 0; font-size: 25px; line-height: 32px; }
  .scenario .scenario-accent { min-height: 0; margin-top: 16px; font-size: 16px; }
  .scenario p { font-size: 16px; line-height: 24px; margin-top: 12px; }
  .section-actions { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 28px; }
  .section-actions p { font-size: 14px; }
  .estimate .section-inner { display: block; }
  .estimate-grid { display: flex; flex-direction: column; gap: 32px; }
  .estimate-copy h3 { font-size: 24px; line-height: 31px; }
  .copy-groups p, .estimate-note { font-size: 16px; line-height: 24px; }
  .estimate-note { margin: 28px 0 20px; }
  .estimate-visual { width: 100%; padding: 0; }
  .estimate-document { padding: 28px 20px 44px; }
  .estimate-document h3 { font-size: 25px; line-height: 33px; }
  .estimate-document p { font-size: 15px; line-height: 23px; }
  .estimate-document::after { width: 100px; height: 64px; right: 16px; top: 20px; }
  .estimate-steps { margin-top: 48px; }
  .estimate-steps li { font-size: 12px; line-height: 18px; }
  .board-accent { right: -4px; bottom: 0; width: 80%; max-width: 320px; }
  .team-grid { display: flex; flex-direction: column; gap: 32px; }
  .engineer-copy, .workshop-copy { padding: 0; width: 100%; }
  .engineer-copy::after { display: none; }
  .team-grid .item-number { font-size: 13px; margin-bottom: 12px; }
  .team-grid h3 { font-size: 26px; line-height: 33px; }
  .engineer-copy .copy-groups { margin-top: 20px; }
  .engineer-copy .copy-groups p { margin-block: 16px; }
  .engineer-copy .text-disclosure { margin-top: 24px; }
  .workshop-copy p:not(.item-number) { margin-top: 16px; font-size: 16px; line-height: 24px; }
  .machine-figure { width: 100%; min-height: 0; margin-top: -8px; }
  .machine-figure img { max-height: 340px; width: 100%; }
  .capability-grid { grid-template-columns: 1fr; gap: 28px; }
  .capability { display: grid; grid-template-columns: 44px 1fr; gap: 0 20px; }
  .capability + .capability::before { display: none; }
  .capability img { width: 40px; height: 40px; margin: 0; }
  .capability h3 { font-size: 24px; line-height: 32px; }
  .capability p { font-size: 14px; line-height: 22px; }
  .materials-note { display: block; margin: 28px 0 8px; font-size: 16px; }
  .capability-details { display: block; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 32px; }
  .inquiry-copy h2 { max-width: 400px; font-size: 32px; line-height: 39px; }
  .inquiry-copy > p { font-size: 16px; line-height: 24px; }
  .engineer-portrait { max-width: 320px; margin-top: 24px; }
  .engineer-portrait img { aspect-ratio: 1.7; }
  .engineer-portrait strong { font-size: 20px; line-height: 28px; }
  .engineer-portrait .mono { font-size: 12px; line-height: 20px; }
  .inquiry::after { display: none; }
  .kiod-form { padding: 24px 20px; }
  .kiod-form h3 { font-size: 23px; line-height: 30px; }
  .field { font-size: 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .upload-area { padding: 16px; }
  .upload-label { gap: 12px; font-size: 14px; line-height: 22px; }
  .upload-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 28px; padding-right: 12px; }
  .upload-or, .upload-plus { display: none; }
  .field-help { font-size: 14px; line-height: 20px; }
  .more-fields { font-size: 13px; }
  .consent { font-size: 14px; line-height: 20px; }
  .footer-inner { padding-top: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top > div:first-child { grid-column: auto; }
  .footer-top nav { border: 0; padding: 0; font-size: 16px; }
  .footer-top nav a { min-height: 44px; }
  .footer-top h3 { font-size: 22px; line-height: 30px; }
  .footer-top > div > p, .footer-contact p { font-size: 16px; line-height: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12px; }
  .footer-bottom > span:first-child { margin: 0 0 4px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .form-dialog { width: 100%; height: 100svh; max-width: none; max-height: 100svh; margin: 0; padding: 28px 24px; border-radius: 0; }
  .dialog-close { margin-top: -8px; margin-right: -8px; }
  .form-dialog .kiod-form { padding-top: 20px; }
  .form-dialog .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-dialog .form-submit { position: sticky; bottom: -28px; z-index: 2; }
}
@container kiod-page (max-width: 359px) {
  .header-inner { width: calc(100% - 24px); gap: 8px; }
  .brand img { width: 76px; }
  .header-cta { --button-padding: 10px; --button-gap: 8px; font-size: 14px; }
  .hero h1 { font-size: 32px; line-height: 38px; }
  .capability h3 { font-size: 22px; line-height: 30px; }
  .kiod-form { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-route .route-dot { filter: none; }
}
@container kiod-page (max-width: 700px) {
  .hero h1 .desktop-break { display: none; }
}

/* Match WordPress toolbar breakpoints; the mobile toolbar scrolls away. */
@media (max-width: 782px) {
  body:has(#wpadminbar) .site-header { top: 46px; }
}
@media (max-width: 600px) {
  body:has(#wpadminbar) .site-header { top: 0; }
}

.site-search{min-height:55vh;}
.site-search h1{max-width:1000px;overflow-wrap:anywhere;}
.site-search-form{display:flex;align-items:end;gap:20px;max-width:760px;margin-block:32px;}
.site-search-form .field{flex:1;min-width:0;}
.search-results-list{max-width:900px;list-style:none;padding:0;margin-block:32px;}
.search-results-list li{border-bottom:1px solid var(--line);}
.search-results-list a{display:block;min-height:48px;padding-block:16px;font-size:22px;}
@media(max-width:600px){.site-search-form{flex-wrap:wrap;}.site-search-form .field{flex-basis:100%;}}

/* One shared contact system in the header, footer and page content. */
.contact-phone{font-size:18px;font-weight:600;line-height:26px;color:var(--ink);white-space:nowrap;text-decoration:none;}
.messenger-links{display:flex;align-items:center;gap:4px;flex:none;}
.messenger-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:8px;text-decoration:none;}
.messenger-link img{display:block;width:30px;height:30px;object-fit:contain;}
.messenger-link:hover{background:#3ce0b41a;}
.header-contact-block{display:flex;align-items:center;gap:12px;flex:none;}
.header-contact-number{position:relative;display:flex;align-items:center;min-height:44px;}
.header-contact-number>.contact-phone{display:flex;align-items:center;min-height:44px;}
.header-contact-hours{position:absolute;top:calc(50% + 13px);left:0;font-size:12px;line-height:16px;white-space:nowrap;color:var(--muted);}
.nav-links{display:flex;align-items:center;gap:inherit;}
.nav-contact-block,.nav-calc,.header-call-icon{display:none;}
.header-call-icon{align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;}
.site-footer .contact-phone{font-size:18px;font-weight:600;line-height:26px;color:#fff;}
.contact-strip{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;}
.contact-hours{font-size:12px;line-height:18px;color:var(--muted);white-space:nowrap;}
.contact-strip--voice{margin-top:24px;font-size:14px;line-height:20px;}
.contact-strip--voice>span:first-child{flex-basis:100%;}
.assembly-faq-contact{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:24px;}
@container kiod-page (max-width:1400px){.header-contact-hours{display:none;}}
@container kiod-page (max-width:1300px){
 .main-nav{top:100%;}
 .main-nav.is-open{max-height:calc(100dvh - 81px - var(--wp-admin--admin-bar--height,0px));}
 .nav-links{flex-direction:column;align-items:stretch;gap:0;}
 .main-nav .contact-phone{padding-block:0;border:0;}
 .main-nav .messenger-link{min-height:44px;padding:0;border:0;}
 .main-nav .nav-calc .kiod-button{min-height:var(--button-height);color:#fff;}
 .main-nav .nav-calc .kiod-button:hover{color:#fff;}
}
@container kiod-page (max-width:900px){
 .header-actions>.header-cta{display:none;}
 .nav-calc{display:block;margin-top:20px;}
}
@container kiod-page (max-width:700px){.main-nav.is-open{max-height:calc(100dvh - 73px - var(--wp-admin--admin-bar--height,0px));}}
@container kiod-page (max-width:480px){
 .header-actions>.header-contact-block{display:none;}
 .header-call-icon{display:inline-flex;}
 .nav-contact-block{display:block;padding-block:8px 20px;border-bottom:1px solid var(--line);}
 .nav-contact-block .header-contact-block{justify-content:space-between;gap:8px;}
}

/* Homepage brief: existing components, compact offer and reordered sections. */
.home .hero{padding-bottom:56px;}
.home .hero-pane{min-height:580px;}
.home .hero-copy{width:64%;padding-top:32px;padding-bottom:32px;}
.home .hero .kicker{margin-bottom:18px;}
.home .hero h1{max-width:800px;font-size:42px;line-height:47px;letter-spacing:-1px;text-wrap:balance;}
.home .hero-photo::after{background:linear-gradient(90deg,#fff 0%,#fffffff5 37%,#ffffffb8 48%,#fff0 68%);}
.home .hero-lead{max-width:760px;margin:20px 0 24px;font-size:20px;line-height:28px;}
.home .hero-actions{flex-wrap:wrap;gap:16px 24px;}
.home .hero-actions .text-link{max-width:360px;}
.home .hero-note{margin:10px 0 12px;font-size:14px;line-height:20px;}
.home .estimate-example-link{margin-top:16px;}
.home .capabilities .section-actions{flex-wrap:wrap;gap:12px 24px;}
.home .capabilities .section-actions>p{flex-basis:100%;}
.home .inquiry>.section-inner>h2{max-width:1150px;margin-bottom:32px;}
.home .inquiry-form-column{min-width:0;}
.home .kiod-form[data-context=inline] .form-fields>.eyebrow,
.home .kiod-form[data-context=inline] .form-fields>.field-help{display:block;}
@container kiod-page (max-width:1100px){
 .home .hero-pane{min-height:0;}
 .home .hero-photo::after{background:linear-gradient(180deg,#fff,#fff0 18%);}
 .home .hero-copy{width:100%;padding:28px var(--page-gutter) 24px;}
 .home .hero h1{max-width:900px;font-size:40px;line-height:45px;}
 .home .hero-lead{max-width:900px;}
 .home .hero-actions .text-link{max-width:400px;}
}
@container kiod-page (max-width:700px){
 .home .hero{padding-bottom:0;}
 .home .hero-copy{padding-top:20px;padding-bottom:24px;}
 .home .hero .kicker{margin-bottom:12px;font-size:12px;line-height:18px;}
 .home .hero h1{font-size:29px;line-height:33px;letter-spacing:-.6px;}
 .home .hero-lead{font-size:16px;line-height:23px;margin:14px 0 16px;}
 .home .hero-actions{gap:12px;}
 .home .hero-actions>.kiod-button{width:100%;}
 .home .hero-actions .text-link{font-size:16px;line-height:23px;max-width:100%;}
 .home .hero-note{font-size:13px;line-height:18px;margin:8px 0;}
 .home .hero .contact-strip{gap:0 8px;}
 .home .hero .contact-hours{flex-basis:100%;}
 .home .capabilities .section-actions{flex-direction:row;gap:12px 16px;}
 .home .inquiry>.section-inner>h2{margin-bottom:24px;}
}
@container kiod-page (max-width:359px){.home .hero h1{font-size:26px;line-height:30px;}}

/* Image captions and the shared engineer card reuse existing site components. */
.machine-figure:has(figcaption){flex-direction:column;}
.machine-figure figcaption{max-width:100%;margin-top:12px;font-size:14px;line-height:20px;color:var(--muted);text-align:right;}
.engineer-card{margin-top:24px;max-width:620px;}
.engineer-card.estimate-document{padding:28px;}
.engineer-card.estimate-document::after{display:none;}
.engineer-card>.eyebrow{margin:0 0 20px;font-size:12px;line-height:20px;}
.engineer-card-heading{display:flex;align-items:center;gap:20px;}
.engineer-card-initials{display:grid;place-items:center;flex:0 0 80px;width:80px;height:80px;border-radius:var(--panel-radius);background:var(--mint);color:var(--ink);font-size:28px;font-weight:600;}
.engineer-card .engineer-card-name{margin:0;font-size:28px;line-height:34px;}
.engineer-card .engineer-card-role{margin:4px 0 0;font-size:16px;line-height:24px;}
.engineer-card .engineer-card-copy{margin:20px 0;font-size:18px;line-height:26px;}
.engineer-card .engineer-card-hours{margin:12px 0 0;font-size:13px;line-height:20px;color:var(--muted);}
.document-contact{margin-top:20px;}
.board-accent>img[src*="smd-quality"]{border-radius:12px;}
@container kiod-page (max-width:700px){
 .engineer-card.estimate-document{padding:20px;}
 .engineer-card-heading{gap:14px;}
 .engineer-card-initials{width:64px;height:64px;flex-basis:64px;font-size:24px;}
 .engineer-card .engineer-card-name{font-size:24px;line-height:30px;}
 .engineer-card .engineer-card-copy{font-size:16px;line-height:25px;}
 .engineer-card .contact-strip{gap:4px 8px;}
}
