/* WEB-SOLVE1: shared visual rhythm, real products and readable explanations. */
:root { --section-space: clamp(56px, 7vw, 96px); }
main { overflow: clip; overflow-anchor: none; }
main [id] { scroll-margin-top: 100px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #1269DC; outline-offset: 5px; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 12px 20px; background: white; color: #081E35; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.nav nav a[aria-current="page"] { color: #78D8EB; text-decoration: underline; text-underline-offset: 8px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1263B9; }
.editorial { padding-block: var(--section-space); }
.editorial h2 { max-width: 23ch; font-size: clamp(30px,3.4vw,46px); line-height: 1.12; letter-spacing: -.035em; color: #081E35; }
.editorial p { max-width: 56ch; }
.editorial p + p { margin-top: 16px; }
.editorial .eyebrow { margin-bottom: 16px; }
.editorial .home-text-link { margin-top: 22px; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: clamp(32px,5vw,76px); }
.editorial-grid > * { min-width: 0; }
.editorial-copy > p:not(.eyebrow) { margin-top: 22px; }
.editorial.reverse .editorial-copy { order: 2; }
.editorial.reverse .editorial-visual { order: 1; }
.editorial-visual { margin: 0; position: relative; }
.editorial-visual > img, .editorial-visual > a > img { width: 100%; max-height: 500px; object-fit: contain; border-radius: 20px; }
.editorial-visual figcaption { padding: 12px 4px 0; font-size: 13px; color: #52677C; }
.editorial-tint { background: #F0F7FB; }
.editorial-dark { background: #081E35; color: #CCDFEC; }
.editorial-dark h2 { color: #FFF; }
.editorial-dark .eyebrow, .editorial-dark a { color: #78D8EB; }
.home .hero { padding: 66px 0 64px; }
.home .hero h1 { font-size: clamp(38px,3.4vw,52px); max-width: none; }
.home .hero-layout { grid-template-columns: .88fr 1.12fr; gap: 48px; }
.home .hero .sub { font-size: 19px; max-width: 36ch; }
.home .hero .shot { background: transparent; padding: 0; border: 0; box-shadow: none; }
.home .hero-product-stage { border-radius: 22px; }
.home .hero-product-image { border-radius: 22px; }
.home .hero .shot figcaption { padding-top: 12px; }
.home .hero::before, .home .hero::after { display: none; }
.context-line { padding: 22px 24px; text-align: center; font-size: 14px; color: #52677C; border-bottom: 1px solid #D8E5EF; }
.context-line span { margin-inline: 18px; display: inline-block; }
.product-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 38px; }
.product-strip figure { margin: 0; }
.product-strip img { border-radius: 14px; width: 100%; }
.product-strip figcaption { font-size: 14px; padding-top: 12px; }
.product-strip strong { display: block; color: #081E35; }
.document-spread { padding: 32px; border-radius: 22px; background: #E5F0F7; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.document-spread img { box-shadow: 0 8px 24px #12364F24; border: 1px solid #D1DEE8; border-radius: 3px; width: 100%; }
.document-spread img:last-child { transform: translateY(16px); }
.knowledge-thread { padding: 34px; border: 1px solid #35516A; border-radius: 22px; }
.knowledge-thread .thread-core { border: 1px solid #5ECBE0; border-radius: 14px; padding: 24px; color: white; text-align: center; font-size: 25px; font-weight: 650; }
.thread-core span { display: block; font-size: 14px; font-weight: 400; margin-top: 6px; color: #C9DEEB; }
.thread-branches { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding-top: 28px; }
.thread-branches span { position: relative; text-align: center; padding: 16px 8px; border-top: 1px solid #59778F; font-size: 14px; }
.thread-branches span::before { content: ''; position: absolute; left: 50%; top: -28px; height: 27px; border-left: 1px solid #59778F; }
.thread-foot { text-align: center; margin: 20px auto 0; font-size: 13px; color: #AFCADB; }
.story-page .home-story { padding-top: 48px; }
.story-page .journey { margin-top: 0; }
.story-page .home-system { border-top: 1px solid #D8E5EF; }
.story-page .page-intro, .page-intro { padding-block: 64px 54px; background: #081E35; color: #CCDFEC; }
.page-intro h1 { font-size: clamp(36px,4.3vw,58px); max-width: 19ch; color: white; line-height: 1.12; letter-spacing: -.035em; }
.page-intro .eyebrow { color: #78D8EB; }
.page-intro p { max-width: 62ch; margin-top: 20px; }
.article-proof { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding: 26px; margin-block: 34px; border-radius: 18px; background: #EDF7FD; }
.article-proof img { width: 100%; max-height: 340px; object-fit: contain; border-radius: 10px; }
.article-proof figcaption { font-size: 16px; line-height: 1.7; }
.article-proof figcaption strong { display: block; color: #081E35; margin-bottom: 10px; }
.article-proof a { display: inline-block; margin-top: 10px; text-decoration: underline; text-underline-offset: 4px; }
.knowledge-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.fcard h3 { line-height: 1.3; }
.featgrid .fcard h2 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
footer.site .fgrid > div:first-child > p { max-width: 44ch; }
.home .home-maker { background: #FFF; color: #52677C; }
.home main .home-maker h2, .home .home-maker-name .home-person { color: #081E35; }
.home .home-maker h2 span, .home .home-maker-name a { color: #1263B9; }
.home .home-maker a:focus-visible { outline-color: #1269DC; }
@media (max-width: 1050px) {
  .nav { gap: 18px; }
  .nav nav { gap: 15px; font-size: 14px; }
  .home .hero-layout { gap: 30px; }
}
@media (max-width: 780px) {
  .editorial-grid, .home .hero-layout { grid-template-columns: 1fr; }
  .editorial.reverse .editorial-copy, .editorial.reverse .editorial-visual { order: initial; }
  .home .hero h1 { max-width: 17ch; }
  .home .hero { padding-top: 42px; }
  .home .hero .sub { max-width: 50ch; }
  .context-line { text-align: left; padding: 18px 24px; }
  .context-line span { margin: 3px 12px 3px 0; }
  .product-strip { gap: 12px; }
  .document-spread { padding: 24px; }
  .article-proof { grid-template-columns: 1fr; padding: 20px; }
  .knowledge-thread { padding: 22px; }
  .thread-branches { gap: 6px; }
  .thread-branches span { padding-inline: 0; font-size: 12px; }
}
@media (max-width: 440px) {
  .product-strip { grid-template-columns: 1fr; }
  .product-strip figure { display: grid; grid-template-columns: 46% 1fr; gap: 16px; align-items: center; }
  .product-strip figcaption { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* WEB-HUMAN1: controlled product previews and readable production examples. */
[data-product-slide][hidden], [data-length-proposal][hidden], [data-length-reset][hidden] { display: none; }
.product-carousel-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.product-carousel-controls [role="group"] { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #17364F; }
.product-carousel-controls button { font: inherit; font-size: 13px; min-height: 44px; padding: 9px 13px; border: 0; border-radius: 8px; background: transparent; color: #D5E6F0; cursor: pointer; }
.product-carousel-controls button[aria-pressed="true"] { background: #DFF3FA; color: #081E35; }
.product-carousel-controls [data-product-pause] { text-decoration: underline; text-underline-offset: 4px; }
.hero-measure { position: absolute; z-index: 2; top: 4%; left: 4%; border: 1px solid #D9EDFF; border-radius: 999px; background: #1263C4; color: white; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: 0 3px 12px #081E3526; }
.hero-measure:hover { background: #094D9E; }
.conveyor-crop { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 22px; background: #D5D8DB; }
.home .hero .conveyor-crop img { position: absolute; width: 173.913%; max-width: none; height: auto; left: -73.913%; top: -16.31%; border-radius: 0; }
.length-example, .rule-proof, .production-excerpt { padding: clamp(20px, 2.4vw, 32px); border: 1px solid #D4E4EE; border-radius: 18px; background: #FFF; color: #173D5D; }
.length-example .example-label { margin: 0; font-size: 15px; font-weight: 650; color: #081E35; }
.length-drawing { width: 100%; display: block; }
.length-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.length-choices button { flex: 1; min-height: 44px; padding: 10px 8px; border: 1px solid #ADC7DB; border-radius: 8px; background: #F3F8FC; color: #173D5D; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.length-choices button[aria-pressed="true"] { background: #0B579A; border-color: #0B579A; color: #FFF; }
.length-current { margin: 18px 0 0; font-size: 17px; font-weight: 650; color: #081E35; }
.length-proposal { margin-top: 20px; padding: 22px; background: #EDF7FD; border: 1px solid #B5D7EB; border-radius: 12px; }
.length-proposal h3 { font-size: 19px; line-height: 1.35; color: #081E35; }
.length-proposal p { font-size: 15px; margin-block: 12px; }
.length-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.length-actions .btn { font-size: 14px; white-space: normal; text-align: center; justify-content: center; }
.length-actions .btn.ghost { color: #173D5D; border-color: #8DAEC6; }
.length-status { margin-top: 16px; font-size: 14px; }
.length-status:empty { display: none; }
.text-button { border: 0; background: none; color: #095CBF; text-decoration: underline; text-underline-offset: 4px; padding: 12px 0; min-height: 44px; font: inherit; font-size: 14px; cursor: pointer; }
.length-example .example-footnote, .production-excerpt .excerpt-note { margin-top: 20px; font-size: 12px; line-height: 1.6; color: #52677C; }
.document-spread { grid-template-columns: .7fr 1.3fr; padding: 18px; gap: 16px; }
.document-spread .production-excerpt { padding: 20px; }
.production-excerpt h3 { font-size: 20px; line-height: 1.3; margin: 8px 0 18px; color: #081E35; }
.production-excerpt table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.production-excerpt th, .production-excerpt td { padding: 12px 6px; border-bottom: 1px solid #D8E5EF; vertical-align: top; }
.production-excerpt td { font-variant-numeric: tabular-nums; }
.production-excerpt thead th { color: #52677C; font-weight: 500; }
.production-excerpt .eyebrow { font-size: 10px; margin: 0; }
.rule-proof { min-height: 240px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.rule-proof h3 { font-size: 25px; color: #081E35; }
.rule-proof a { color: #095CBF; text-decoration: underline; text-underline-offset: 4px; }
.media-dialog { position: fixed; inset: 0; margin: auto; width: min(1200px, 94vw); max-width: 94vw; max-height: 92dvh; padding: 64px 24px 20px; border: 1px solid #C5D9E7; border-radius: 18px; background: #F7FAFC; color: #173D5D; box-shadow: 0 30px 90px #0006; }
.media-dialog::backdrop { background: #041523CD; }
.media-close { position: absolute; right: 14px; top: 10px; padding: 10px 18px; min-height: 44px; border: 1px solid #9CB7CC; border-radius: 9px; background: #FFF; color: #081E35; font: inherit; font-weight: 650; cursor: pointer; }
.media-dialog-content img, .media-dialog-content video { display: block; width: auto; max-width: 100%; max-height: calc(92dvh - 160px); margin: auto; object-fit: contain; }
.media-dialog-content p { font-size: 14px; margin: 16px auto 0; max-width: 75ch; text-align: center; }
@media (max-width: 600px) {
  .home .hero { padding-top: 28px; }
  .home .hero .sub { font-size: 18px; }
  .home .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .home .hero .actions .btn { padding: 12px; font-size: 14px; white-space: normal; text-align: center; justify-content: center; }
  .product-carousel-controls { gap: 4px; }
  .product-carousel-controls button { font-size: 12px; padding-inline: 9px; }
  .hero-measure { font-size: 12px; padding-inline: 9px; }
  .document-spread { grid-template-columns: 1fr; }
  .document-spread > img { max-height: 240px; width: auto; margin: auto; }
  .length-proposal { padding: 16px; }
  .media-dialog { padding: 64px 12px 16px; }
}
