/* Page-specific composition; index owns the navigation, footer and font system. */
html body.sm-page main#main.sm-main {
  --sm-ink: #101b46; --sm-copy: #303a58; --sm-line: #d8dce5;
  padding: var(--detail-header-space, 112px) 0 0 !important;
  margin: 0; color: var(--sm-ink); background: #fff; font-family: var(--site-font);
}
.sm-main *, .sm-main *::before, .sm-main *::after { box-sizing: border-box; }
.sm-container { position: relative; width: min(1360px, calc(100% - 120px)); margin-inline: auto; }
.sm-section { position: relative; isolation: isolate; padding: 68px 0; border-bottom: 1px solid #e9ebef; }
.sm-section:last-child { border-bottom: 0; }
.sm-main .sm-scene { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
html body.sm-page main#main p { font-size: 17px; line-height: 1.65; font-weight: 400; color: var(--sm-copy); margin: 0 0 20px; }
html body.sm-page main#main :is(h1, h2, h3) { color: var(--sm-ink); text-transform: none; }
html body.sm-page main#main .sm-display,
html body.sm-page main#main h1 {
  font-size: clamp(44px, 4.45vw, 72px) !important; line-height: 1.08 !important;
  letter-spacing: -.035em !important; font-weight: 700 !important; margin: 0 0 26px !important; text-wrap: balance;
}
html body.sm-page main#main h3 { font-size: 21px !important; line-height: 1.3 !important; font-weight: 700 !important; letter-spacing: -.025em !important; margin: 0 0 10px !important; }
html body.sm-page main#main .sm-subtitle { font-size: clamp(28px, 2.6vw, 40px) !important; line-height: 1.2 !important; font-weight: 500 !important; margin: 0 0 24px !important; }
html body.sm-page main#main .sm-eyebrow { color: var(--sm-ink); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
html body.sm-page main#main .sm-lead { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; font-weight: 500; color: var(--sm-ink); margin-bottom: 16px; }
.sm-icon { flex: 0 0 auto; display: inline-flex; justify-content: center; align-items: center; width: 64px; height: 64px; color: var(--sm-ink); }
.sm-icon .ph { font-size: 43px; line-height: 1; }
.sm-innovation { min-height: 880px; }
.sm-innovation > .sm-scene { object-fit: cover; object-position: center top; }
.sm-intro { width: 58%; }
.sm-intro h1 { max-width: 760px; }
.sm-intro > p:not(.sm-eyebrow) { max-width: 650px; }
.sm-ingredient-grid { width: 55%; display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; }
.sm-ingredient-grid article { display: flex; gap: 16px; padding: 26px 22px 26px 0; }
.sm-ingredient-grid article:nth-child(even) { padding-left: 22px; padding-right: 0; border-left: 1px solid var(--sm-line); }
.sm-ingredient-grid article:nth-child(n+3) { border-top: 1px solid var(--sm-line); }
.sm-ingredient-grid .sm-icon { width: 64px; height: 64px; border-radius: 50%; background: #eceff4; }
.sm-ingredient-grid .sm-icon .ph { font-size: 36px; }
html body.sm-page main#main .sm-ingredient-grid p { font-size: 15px; line-height: 1.55; margin: 0; }
.sm-quality { width: 57%; display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; padding: 24px 0; border-block: 1px solid var(--sm-line); margin-top: 16px; }
.sm-quality .sm-icon--quality .ph { font-size: 58px; }
html body.sm-page main#main .sm-quality p { font-size: 15px; line-height: 1.5; margin: 0; }
.sm-quality ul { list-style: none; padding: 0 0 0 20px; margin: 0; border-left: 1px solid var(--sm-line); }
.sm-quality li { display: flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.6; white-space: nowrap; }
.sm-quality li + li { margin-top: 5px; }
.sm-quality li .ph { font-size: 21px; }
html body.sm-page main#main .sm-signature { margin: 20px 0 0; font-size: 13px; line-height: 1.7; }
.sm-signature strong, .sm-signature span { display: block; }
.sm-signature strong { color: var(--sm-ink); font-size: 12px; text-transform: uppercase; letter-spacing: .22em; }
.sm-value, .sm-tailored, .sm-application { padding-top: 0; }
.sm-story { position: relative; isolation: isolate; min-height: 640px; padding: 72px 0 44px; }
.sm-story-copy { width: 45%; max-width: 590px; }
.sm-story-copy > p { max-width: 470px; }
.sm-story-copy .sm-display + .sm-eyebrow { margin-top: 36px !important; }
.sm-value .sm-story > .sm-scene { object-position: center; }
.sm-value-chain, .sm-development { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-top: 24px; }
.sm-value-chain article, .sm-development article { display: flex; gap: 18px; padding: 0 28px; border-left: 1px solid var(--sm-line); }
.sm-value-chain article:first-child, .sm-development article:first-child { border-left: 0; padding-left: 0; }
.sm-value-chain article:last-child, .sm-development article:last-child { padding-right: 0; }
html body.sm-page main#main :is(.sm-value-chain, .sm-development) p { font-size: 16px; margin: 0; }
.sm-tailored .sm-story { min-height: 555px; }
.sm-tailored .sm-story-copy { width: 53%; max-width: 700px; }
.sm-tailored .sm-story-copy > p { max-width: 670px; }
.sm-tailored .sm-eyebrow { margin-top: 28px !important; }
.sm-tailored-art { position: absolute; z-index: -1; inset: 0 0 0 51%; overflow: hidden; }
.sm-main .sm-tailored-art img { position: absolute; width: 204.082%; max-width: none; height: auto; left: -104.082%; top: -25%; }
.sm-development { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm-development article { gap: 14px; padding-inline: 22px; }
.sm-development .sm-icon { width: 42px; height: 52px; }
.sm-development .sm-icon .ph { font-size: 38px; }
.sm-formula { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 25px 28px; margin: 36px 0 18px; background: #f3f4f6; border-radius: 8px; }
.sm-formula > span { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; line-height: 1.4; }
.sm-formula > span .ph { font-size: 32px; }
.sm-formula > .ph { font-size: 20px; flex-shrink: 0; }
.sm-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.sm-products article { min-width: 0; }
.sm-product-image { position: relative; width: 100%; aspect-ratio: 1.4; overflow: hidden; margin-bottom: 12px; }
.sm-product-image img { position: absolute; max-width: none; width: 555.5556%; height: auto; left: calc(var(--product-x) * -5.555556); top: -318%; }
html body.sm-page main#main .sm-products p { font-size: 15px; margin: 0; }
.sm-application .sm-story { min-height: 600px; }
.sm-application .sm-story-copy { width: 43%; }
.sm-application .sm-scene { object-position: center top; }
.sm-process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 0; margin: 8px 0 0; gap: 32px; }
.sm-process li { position: relative; text-align: center; }
.sm-process .sm-icon { width: 108px; height: 108px; border-radius: 50%; background: #eef2f8; margin-bottom: 26px; }
.sm-process .sm-icon .ph { font-size: 52px; }
.sm-step-arrow { position: absolute; right: -31px; top: 37px; width: 30px; font-size: 28px; color: var(--sm-ink); }
html body.sm-page main#main .sm-process h3 { font-size: 19px !important; }
html body.sm-page main#main .sm-process p { font-size: 16px; line-height: 1.6; margin: 0; }
.sm-main [id] { scroll-margin-top: 145px; }
@media (min-width: 1700px) {
  .sm-innovation { min-height: 960px; }
  .sm-story { min-height: 740px; }
  .sm-tailored .sm-story { min-height: 630px; }
  .sm-application .sm-story { min-height: 690px; }
}
@media (max-width: 1199px) {
  .sm-container { width: calc(100% - 64px); }
  .sm-innovation { min-height: 900px; }
  .sm-intro { width: 63%; }
  .sm-ingredient-grid { width: 61%; }
  .sm-ingredient-grid article { gap: 10px; padding-right: 16px; }
  .sm-ingredient-grid article:nth-child(even) { padding-left: 16px; }
  .sm-ingredient-grid .sm-icon { width: 44px; height: 44px; }
  .sm-ingredient-grid .sm-icon .ph { font-size: 28px; }
  .sm-quality { width: 65%; grid-template-columns: 46px 1fr; gap: 14px; }
  .sm-quality ul { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 18px; border: 0; padding: 0; }
  .sm-quality li + li { margin: 0; }
  .sm-quality .sm-icon { width: 46px; }
  .sm-value-chain article, .sm-development article { display: block; padding-inline: 20px; }
  .sm-value-chain .sm-icon, .sm-development .sm-icon { margin-bottom: 16px; }
  .sm-story-copy { width: 47%; }
  .sm-story { min-height: 610px; }
  .sm-main .sm-tailored-art img { top: 4%; }
  .sm-formula { gap: 10px; padding-inline: 20px; }
  .sm-formula > span { flex-direction: column; text-align: center; }
  .sm-process { gap: 22px; }
  .sm-step-arrow { right: -27px; }
}
@media (max-width: 1100px) {
  .sm-section { padding: 48px 0; }
  .sm-container { width: calc(100% - 48px); }
  .sm-innovation { min-height: 0; display: flex; flex-direction: column; padding-top: 0; }
  .sm-innovation > .sm-scene { position: relative; order: 0; z-index: 0; height: auto; aspect-ratio: 1.7; object-fit: cover; object-position: right center; }
  .sm-innovation > .sm-container { order: 1; padding-top: 32px; }
  .sm-intro, .sm-ingredient-grid, .sm-quality { width: 100%; }
  html body.sm-page main#main .sm-display, html body.sm-page main#main h1 { font-size: clamp(36px, 6vw, 52px) !important; }
  .sm-intro > p:not(.sm-eyebrow), .sm-story-copy > p { max-width: none; }
  .sm-ingredient-grid { margin-top: 22px; }
  .sm-quality { grid-template-columns: 64px 1fr auto; }
  .sm-quality ul { grid-column: auto; display: block; padding-left: 18px; border-left: 1px solid var(--sm-line); }
  .sm-quality li + li { margin-top: 6px; }
  .sm-story { display: flex; flex-direction: column; padding: 0; min-height: 0 !important; }
  .sm-story > .sm-scene { position: relative; z-index: 0; height: auto; aspect-ratio: 1.7; object-fit: cover; }
  .sm-story > .sm-container { padding-top: 34px; }
  .sm-story-copy, .sm-tailored .sm-story-copy, .sm-application .sm-story-copy { width: 100%; max-width: none; }
  .sm-value, .sm-tailored, .sm-application { padding-top: 0; }
  .sm-tailored-art { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1.7; z-index: 0; }
  .sm-main .sm-tailored-art img { width: 160%; left: -50%; top: -42%; }
  .sm-value-chain, .sm-development { padding-top: 24px; }
  .sm-development { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .sm-development article { display: flex; gap: 20px; }
  .sm-development article:nth-child(3) { border: 0; padding-left: 0; }
  .sm-products { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sm-process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; margin-top: 28px; }
  .sm-step-arrow { display: none; }
  .sm-process .sm-icon { margin-bottom: 18px; }
}
@media (max-width: 599px) {
  .sm-container { width: calc(100% - 40px); }
  .sm-section { padding-bottom: 38px; }
  .sm-innovation > .sm-scene, .sm-story > .sm-scene { aspect-ratio: 1.25; object-fit: cover; object-position: 78% center; }
  .sm-innovation > .sm-scene { height: 290px; object-position: right center; }
  html body.sm-page main#main p { font-size: 16px; line-height: 1.65; }
  html body.sm-page main#main .sm-display, html body.sm-page main#main h1 { font-size: 38px !important; line-height: 1.1 !important; margin-bottom: 22px !important; }
  html body.sm-page main#main .sm-subtitle { font-size: 28px !important; }
  html body.sm-page main#main h3 { font-size: 20px !important; }
  .sm-ingredient-grid { grid-template-columns: 1fr; }
  .sm-ingredient-grid article, .sm-ingredient-grid article:nth-child(even) { padding: 22px 0; gap: 18px; border-left: 0; border-top: 1px solid var(--sm-line); }
  .sm-ingredient-grid article:first-child { border-top: 0; padding-top: 0; }
  .sm-ingredient-grid .sm-icon { width: 58px; height: 58px; }
  .sm-ingredient-grid .sm-icon .ph { font-size: 33px; }
  .sm-quality { grid-template-columns: 48px 1fr; gap: 16px; margin-top: 4px; }
  .sm-quality ul { grid-column: 2; display: grid; gap: 6px; padding: 0; border: 0; }
  .sm-quality li + li { margin: 0; }
  .sm-quality .sm-icon--quality .ph { font-size: 46px; }
  .sm-value-chain, .sm-development { grid-template-columns: 1fr; gap: 0; }
  .sm-value-chain article, .sm-development article, .sm-development article:nth-child(3) { display: flex; padding: 24px 0; gap: 18px; border-left: 0; border-top: 1px solid var(--sm-line); }
  .sm-value-chain .sm-icon, .sm-development .sm-icon { width: 50px; height: 54px; margin: 0; }
  .sm-value-chain .sm-icon .ph { font-size: 38px; }
  .sm-tailored-art { aspect-ratio: 1.35; }
  .sm-main .sm-tailored-art img { width: 200%; left: -82%; top: -36%; }
  .sm-formula { display: grid; grid-template-columns: 1fr; gap: 15px; padding: 26px; margin-top: 8px; justify-items: center; }
  .sm-formula > span { flex-direction: row; gap: 16px; font-size: 16px; }
  .sm-formula > .ph { font-size: 15px; }
  .sm-products { gap: 26px 18px; }
  html body.sm-page main#main .sm-products h3 { font-size: 18px !important; overflow-wrap: anywhere; }
  html body.sm-page main#main .sm-products p { font-size: 14px; line-height: 1.6; }
  .sm-process { grid-template-columns: 1fr; gap: 0; margin-top: 18px; }
  .sm-process li { display: grid; grid-template-columns: 74px 1fr; gap: 0 20px; text-align: left; padding: 24px 0; border-top: 1px solid var(--sm-line); }
  .sm-process .sm-icon { grid-row: span 2; width: 74px; height: 74px; margin: 0; }
  .sm-process .sm-icon .ph { font-size: 36px; }
  html body.sm-page main#main .sm-process h3 { font-size: 20px !important; }
}
/* Keep the site's DM Sans family; give dense reference diagrams their own readable scale. */
html body.sm-page main#main p { font-size: 17px !important; line-height: 1.65 !important; font-weight: 400 !important; }
html body.sm-page main#main .sm-eyebrow { font-size: 12px !important; line-height: 1.5 !important; font-weight: 700 !important; }
html body.sm-page main#main .sm-lead { font-size: 24px !important; line-height: 32px !important; font-weight: 500 !important; }
html body.sm-page main#main :is(.sm-ingredient-grid, .sm-quality, .sm-products) p { font-size: 15px !important; line-height: 1.55 !important; }
html body.sm-page main#main :is(.sm-value-chain, .sm-development, .sm-process) p { font-size: 16px !important; line-height: 1.6 !important; }
html body.sm-page main#main .sm-quality li { font-size: 13px !important; line-height: 1.6 !important; }
html body.sm-page main#main .sm-signature { font-size: 13px !important; line-height: 1.7 !important; }
@media (min-width: 1101px) {
  .sm-tailored-art { top: 90px; bottom: auto; height: 330px; }
  .sm-main .sm-tailored-art img { top: -115px; }
}
@media (max-width: 1100px) {
  .sm-main { --arotec-display-size: 48px; --arotec-display-line-height: 54px; }
}
@media (max-width: 599px) {
  .sm-main { --arotec-display-size: 38px; --arotec-display-line-height: 42px; }
  html body.sm-page main#main p { font-size: 16px !important; }
  html body.sm-page main#main .sm-products p { font-size: 14px !important; }
}
/* Source artwork is deliberately framed within these overflow-hidden windows. */
html body.sm-page main#main :is(.sm-product-image, .sm-tailored-art) img { max-width: none !important; }
.sm-product-image img { top: -306%; }
@media (min-width: 1101px) {
  .sm-tailored-art { top: 150px; height: 280px; }
  .sm-main .sm-tailored-art img { top: -110px; }
}

/* Suppress the generic home-section glow over the supplied white studio artwork. */
html body.sm-page main#main > .sm-section::before { content: none; }
/* Four editorial sections stay laid out for anchor navigation and full-page capture. */
html body.sm-page main#main > .sm-section { content-visibility: visible; contain-intrinsic-size: auto; }
html:has(> body.sm-page) { scroll-behavior: auto; }
@media (max-width: 1100px) {
  .sm-tailored-art { aspect-ratio: 2.3; }
  .sm-main .sm-tailored-art img { width: 205%; left: -100%; top: -30%; }
}
@media (max-width: 599px) {
  .sm-tailored-art { aspect-ratio: 1.8; }
  .sm-main .sm-tailored-art img { width: 285.714%; left: -145%; top: -38%; }
}
