/* Chemify — inner page blocks and the block library frame.
   Tokens, buttons, fields, the process, stacking cards and the wizard come from main.css and home.css.
   The language of the chosen blocks: dark bands with a halftone dot field, cards across a photo texture,
   large mono formulas, catalog rows with hairlines, dot emblems in a ring. */

/* ══ Library frame ══ */
.lib-page { background: var(--white); }
.lib { display: grid; grid-template-columns: 260px minmax(0, 1fr); padding-top: var(--hdr); }
.lib__nav { position: sticky; top: var(--hdr); align-self: start; height: calc(100svh - var(--hdr)); overflow: auto; padding: 28px 20px 40px max(16px, env(safe-area-inset-left, 0px)); border-right: 1px solid var(--line); background: var(--mist); }
.lib__brand { font-weight: 500; font-size: 15px; margin-bottom: 18px; }
.lib__brand small { display: block; font: 400 12px/1.4 var(--mono); color: var(--steel); margin-top: 4px; }
.lib__nav ol { display: grid; gap: 2px; }
.lib__nav a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--steel); transition: background .2s, color .2s; }
.lib__nav a span { font: 500 12px/1.6 var(--mono); color: var(--teal-ink); }
.lib__nav a.is-done { color: var(--grey); }
.lib__nav a.is-done span::after { content: " ✓"; }
.lib__nav a:hover { background: var(--white); color: var(--graphite); }
.lib__main { min-width: 0; }
.lib__intro { display: grid; gap: 20px; padding: 56px max(var(--gut), 32px) 40px; border-bottom: 1px solid var(--line); }
.lib__title { font-weight: 300; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.02em; }
.lib__lead { max-width: 80ch; color: var(--steel); }
.lib__map { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 8px; }
.lib__map > div { padding: 12px 14px; border-radius: 10px; background: var(--mist); }
.lib__map dt { font-weight: 500; font-size: 14px; }
.lib__map dd { font: 400 12.5px/1.5 var(--mono); color: var(--steel); margin-top: 2px; }
.blk { border-bottom: 1px solid var(--line); scroll-margin-top: var(--hdr); }
.blk__h { display: flex; gap: 20px; align-items: baseline; padding: 48px max(var(--gut), 32px) 20px; }
.blk__n { font: 500 13px/1 var(--mono); color: var(--teal-ink); }
.blk__h h2 { font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.015em; }
.blk__h p { color: var(--steel); font-size: 15px; margin-top: 6px; max-width: 70ch; }
.var { position: relative; padding: 52px 0 56px; border-top: 1px dashed var(--line); overflow: clip; }
.var__tag { position: absolute; top: 14px; left: max(var(--gut), 32px); z-index: 5; padding: 4px 10px; border-radius: 999px; background: var(--graphite); color: var(--white); font: 500 12px/1.4 var(--mono); }
.var__tag--ok { background: var(--teal-ink); }
.lib .wrap { max-width: 1400px; }
@media (max-width: 1000px) {
  .lib { grid-template-columns: 1fr; }
  .lib__nav { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .lib__nav ol { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ══ Shared bits ══ */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 400 13px/1.4 var(--mono); color: var(--steel); }
.crumbs a:hover { color: var(--teal-ink); }
.crumbs [aria-current] { color: var(--graphite); }
.crumbs--light { color: rgba(255, 255, 255, .6); }
.crumbs--light [aria-current] { color: var(--white); }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--mist); font: 500 12px/1 var(--mono); color: var(--steel); }
.checks { display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 20px; font-size: 14.5px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.vol--lg { height: 48px; min-width: 150px; background: var(--white); }
.pbuy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pbuy .add { height: 48px; padding: 0 20px; }
.copy { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; transition: border-color .2s, background .2s; }
.copy:hover { border-color: var(--graphite); }
.copy--dark { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.copy--dark:hover { border-color: var(--aqua); color: var(--aqua); }
.snote { font-size: 13px; color: inherit; opacity: .7; margin-top: 14px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
.lf-wide { grid-column: 1 / -1; }
.ufield--light input, .ufield--light textarea { color: var(--white); border-bottom-color: rgba(255, 255, 255, .35); }
.ufield--light label { color: rgba(255, 255, 255, .6); }
.ufield--light input:focus, .ufield--light textarea:focus { border-bottom-color: var(--aqua); }
.ufield--light input:focus + label, .ufield--light input:not(:placeholder-shown) + label, .ufield--light textarea:focus + label, .ufield--light textarea:not(:placeholder-shown) + label { color: var(--aqua); }

/* Caladan: cards across a photo texture */
.straddle { position: relative; padding: 56px 0 0; isolation: isolate; }
.straddle__tex { position: absolute; left: 0; right: 0; top: 0; height: 58%; z-index: -1; }
.straddle__tex img { position: absolute; inset: 0; }
.straddle--tall .straddle__tex { height: 62%; }
.straddle__head { display: grid; gap: 14px; color: var(--white); margin-bottom: 40px; }
.straddle__head .label { color: var(--aqua); }
.straddle__head h2, .straddle__statement { font-weight: 300; font-size: clamp(2.4rem, 5vw, 5.4rem); line-height: .98; letter-spacing: -.025em; color: var(--white); }
.straddle__statement { margin: 24px 0 56px; }
.straddle__tex::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 44, 48, .62), rgba(42, 44, 48, .3)); }

/* ══ 01 · chosen C — texture band ══ */
.ph-c { position: relative; min-height: 600px; display: flex; color: var(--white); background: var(--graphite); overflow: hidden; }
.ph-c__bg { position: absolute; inset: 0; }
.ph-c__bg img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .ph-c__bg img { object-position: var(--fx, 50%) 50%; } }
/* no colour overlay: the photo stays as it is, only shaded under the text */
.ph-c__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 32, 35, .72), rgba(30, 32, 35, .25) 60%, rgba(30, 32, 35, .1)), linear-gradient(180deg, rgba(30, 32, 35, .35), transparent 30%, transparent 55%, rgba(30, 32, 35, .6)); }
.ph-c__in { position: relative; flex: 1; display: flex; flex-direction: column; gap: 28px; padding-top: 48px; padding-bottom: 40px; }
.ph-c__title { margin-top: auto; font-weight: 300; font-size: clamp(3rem, 7.6vw, 8rem); line-height: .94; letter-spacing: -.028em; }
.ph-c__strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.ph-c__strip p { color: rgba(255, 255, 255, .8); max-width: 48ch; }
.ph-c__strip dl { display: flex; gap: 36px; }
.ph-c__strip dt { font: 500 12px/1.3 var(--mono); color: rgba(255, 255, 255, .6); }
.ph-c__strip dd { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.6rem); color: var(--aqua); }
@media (max-width: 800px) { .ph-c__strip { grid-template-columns: 1fr; } }

/* ══ 02 · chosen A — sidebar filters ══ */
.fsearch { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); transition: border-color .2s; }
.fsearch:focus-within { border-color: var(--teal); }
.fsearch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; color: var(--steel); }
.fsearch input { flex: 1; min-width: 0; border: 0; background: none; font-size: 15px; }
.fsearch input:focus { outline: none; }
.fopt { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.fopt input { width: 16px; height: 16px; accent-color: var(--teal-ink); }
.fopt em { font: 400 12px var(--mono); font-style: normal; color: var(--grey); }
.fgroup { border: 0; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); min-width: 0; }
.fgroup legend { font: 500 12px/1 var(--mono); color: var(--teal-ink); padding: 0 0 8px; }
.ftool { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--graphite); }
.vtoggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--mist); }
.vtoggle button { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; color: var(--steel); }
.vtoggle button[aria-pressed="true"] { background: var(--graphite); color: var(--white); }
.flt-a { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
.flt-a__main { min-width: 0; }
.flt-a__side { display: grid; gap: 16px; align-content: start; }
.flt-a .fpreview .prow { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 110px 150px; }
.flt-a .fpreview .prow__apps { display: none; }
@media (max-width: 1000px) { .flt-a { grid-template-columns: 1fr; } }

/* ══ 03 · chosen A — rows ══ */
.prows { border-top: 1px solid var(--graphite); }
.prows .prow, .fpreview .prow { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) 120px minmax(0, 2fr) 170px; }
@media (max-width: 1000px) { .prows .prow, .fpreview .prow, .flt-a .fpreview .prow { grid-template-columns: minmax(0, 1fr) 130px; } .prows .prow__cas, .prows .prow__apps, .fpreview .prow__cas, .fpreview .prow__f, .prows .prow__f { display: none; } }

/* ══ 05 · chosen A — formula headline ══ */
.pha { display: grid; gap: 22px; }
.pha__f { font: 300 clamp(4rem, 13vw, 12rem)/.9 var(--mono); letter-spacing: -.03em; color: var(--teal-ink); }
.pha__f sub { font-size: .45em; letter-spacing: 0; }
.pha__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; }
.pha__row h1 { font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.018em; max-width: 20ch; }
.pha__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--graphite); }
.pha__meta > div { padding: 16px 16px 0 0; }
.pha__meta dt { font: 500 12px/1.3 var(--mono); color: var(--steel); }
.pha__meta dd { font-size: 17px; margin-top: 6px; }
@media (max-width: 900px) { .pha__meta { grid-template-columns: 1fr 1fr; } }

/* ══ 07 · chosen A — scrolling row ══ */
.rla h2 { font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.8rem); letter-spacing: -.018em; }
.rla__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.rla__nav { display: flex; gap: 6px; }
.rla__nav .icon-btn { border: 1px solid var(--line); font-size: 18px; }
.rla__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 24%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rla__track > * { scroll-snap-align: start; }
.pcard { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 16px; background: var(--mist); border: 1px solid transparent; transition: background .3s, border-color .3s; }
.pcard:hover { background: var(--white); border-color: var(--line); }
.pcard__top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pcard__top .mono { color: var(--steel); font-size: 11.5px; }
.pcard__f { font: 400 clamp(1.4rem, 2vw, 2rem)/1.1 var(--mono); letter-spacing: -.01em; padding: 18px 0 8px; overflow-wrap: anywhere; }
.pcard__f sub { font-size: .6em; }
.pcard h3 { font-weight: 500; font-size: 16px; line-height: 1.3; }
.pcard__key { font: 400 12.5px var(--mono); color: var(--teal-ink); min-height: 1.4em; }
.pcard__key sub { font-size: .72em; }
.pcard .add { justify-self: start; margin-top: 6px; }

/* ══ 08 · chosen A1 — white band with a halftone field, a hairline above ══ */
.nf1 { position: relative; min-height: 440px; display: flex; align-items: center; background: var(--white); color: var(--graphite); border-top: 1px solid var(--line); overflow: hidden; }
.nf1__field { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf1__in { position: relative; display: grid; gap: 22px; padding-top: 56px; padding-bottom: 56px; }
.nf1__in .label { color: var(--teal-ink); }
.nf1 h2 { font-weight: 300; font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.025em; }
.nf1__row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.nf1__row p { color: var(--steel); max-width: 52ch; }

/* ══ cards across the texture (used by 09 B on the industry pages) ══ */
.scards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.scards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scards > li { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r); background: var(--ice); transition: transform .5s var(--ease), background .3s; }
.scards > li:hover { transform: translateY(-6px); background: var(--white); }
.scards svg { width: 100px; --dot: var(--teal-ink); margin-bottom: 8px; }
.scards .mono { color: var(--teal-ink); }
.scards h3 { font-weight: 400; font-size: 1.3rem; letter-spacing: -.01em; }
.scards p, .scards .checks li { color: var(--steel); font-size: 14.5px; }
@media (max-width: 1000px) { .scards, .scards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .scards, .scards--3 { grid-template-columns: 1fr; } }

/* ══ 15 · chosen A — dots gather into 404 ══ */
.e404 { background: var(--graphite); color: var(--white); padding: 48px 0; overflow: hidden; }
.e404 canvas { display: block; width: 100%; }
.e404__txt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; margin-top: 24px; }
.e404 h1 { font-weight: 300; font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: 1; letter-spacing: -.023em; }
.e404 p { color: rgba(255, 255, 255, .7); margin-top: 10px; }
.e404__txt .btn { justify-self: start; }
@media (max-width: 860px) { .e404__txt { grid-template-columns: 1fr; } }

/* ══ shared: spec rows, switch, file drop, form note, legal meta ══ */
.straddle .scards { position: relative; }
.straddle .scards address { font-style: normal; font-size: 1.1rem; font-weight: 300; line-height: 1.35; }
.scards .copy { justify-self: start; margin-top: 4px; }
.srow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.srow .mono { color: var(--grey); font-size: 12px; }
.srow__k { font-size: 15px; }
.srow__v { font: 400 16px var(--mono); color: var(--teal-ink); text-align: right; }
.srow sub { font-size: .72em; }
.sw { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw__t { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--line); transition: background .25s; }
.sw__t::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.sw input:checked + .sw__t { background: var(--teal-ink); }
.sw input:checked + .sw__t::after { transform: translateX(18px); }
.sw input:focus-visible + .sw__t { outline: 2px solid var(--teal); outline-offset: 2px; }
.dropzone { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 14px 18px; border: 1px dashed rgba(50, 52, 57, .35); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--teal); background: var(--mist); }
.dropzone svg { width: 64px; --dot: var(--teal-ink); }
.dropzone span { display: grid; gap: 2px; font-size: 15px; }
.dropzone em { font: 400 12px var(--mono); font-style: normal; color: var(--steel); }
.dropzone--inline { grid-template-columns: 48px auto; padding: 8px 18px 8px 10px; border-radius: 999px; }
.dropzone--inline svg { width: 48px; }
.form-note { grid-column: 1 / -1; padding: 12px 16px; border-radius: 10px; background: var(--mist); color: var(--graphite); font-size: 14px; }
.lg-draft { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--ice); font: 500 12px/1.4 var(--mono); color: var(--teal-ink); }
.lg-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.lg-meta dt { font: 500 11px var(--mono); color: var(--steel); }
.lg-meta dd { font-size: 14px; margin-top: 4px; }

/* ══ 04 · chosen A — formula columns, catalog rows ══ */
.cmpa__bar { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.cmpa__bar h1, .cmpa__bar h2 { font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.6rem); letter-spacing: -.023em; line-height: 1; }
.cmpa__scroll { overflow-x: auto; border-top: 1px solid var(--graphite); }
.cmpa__table { min-width: 820px; }
.cmpa__row { display: grid; grid-template-columns: 180px repeat(var(--n), minmax(200px, 1fr)) 150px; gap: 0 20px; border-bottom: 1px solid var(--line); animation: rowin .5s var(--ease) both; }
.cmpa__row > * { padding: 14px 0; min-width: 0; }
.cmpa__row--head > * { padding: 22px 0 20px; }
.cmpa__corner { align-self: end; color: var(--steel); font-size: 12px; }
.cmpa__col { position: relative; display: grid; gap: 10px; align-content: start; justify-items: start; }
.cmpa__f { font: 300 clamp(2.4rem, 4.4vw, 4.4rem)/.95 var(--mono); letter-spacing: -.025em; color: var(--teal-ink); }
.cmpa__f sub { font-size: .45em; letter-spacing: 0; }
.cmpa__col h3 { font-weight: 400; font-size: 15px; line-height: 1.3; padding-right: 28px; }
.cmpa__col h3 a:hover { color: var(--teal-ink); }
.cmpa__x { position: absolute; top: 18px; right: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); color: var(--steel); line-height: 1; transition: border-color .2s, color .2s; }
.cmpa__x:hover { border-color: var(--graphite); color: var(--graphite); }
.cmpa__add { display: grid; place-content: center; justify-items: center; gap: 6px; margin: 22px 0 20px; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--steel); font-size: 14px; transition: border-color .2s, color .2s; }
.cmpa__add span { font-weight: 300; font-size: 2.4rem; line-height: 1; }
.cmpa__add:hover { border-color: var(--teal); color: var(--teal-ink); }
.cmpa__k { font: 400 12.5px/1.5 var(--mono); color: var(--steel); }
.cmpa__v { font-size: 15px; color: var(--steel); }
.cmpa__v sub { font-size: .72em; }
.cmpa__row.is-diff .cmpa__k { color: var(--graphite); }
.cmpa__row.is-diff .cmpa__k::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: 1px; }
.cmpa__row.is-diff .cmpa__v { color: var(--graphite); }
.cmpa.only-diff .is-same { display: none; }

/* ══ 09 · chosen B — cards across the texture, positions of the industry ══ */
.sup9b { display: grid; gap: 14px; margin-top: 40px; }
.sup9b .mono { color: var(--steel); }
.sup9b__list { display: flex; flex-wrap: wrap; gap: 8px; }
.sup9b__list a { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; transition: border-color .2s, background .2s; }
.sup9b__list a:hover { border-color: var(--graphite); background: var(--mist); }
.sup9b__list .mono { color: var(--teal-ink); font-size: 13px; }
.sup9b__list sub { font-size: .72em; }

/* ══ 09 · chosen D — cards start on the page header photo and drop onto the light page, positions in two columns ══ */
.ph-c--lift { --lift: 230px; min-height: 640px; }
.ph-c--lift .ph-c__in { padding-bottom: calc(var(--lift) + 40px); }
.isup { --lift: 230px; position: relative; z-index: 2; margin-top: calc(var(--lift) * -1); padding-bottom: clamp(64px, 7vw, 112px); }
.isup__label { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; color: var(--white); }
.isup__label p { font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2.4rem); letter-spacing: -.018em; line-height: 1; }
.isup__label span { font: 500 12px/1.3 var(--mono); color: rgba(255, 255, 255, .7); }
.isup__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.isup__cards li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; gap: 14px 20px; min-height: 340px; padding: 28px; border-radius: var(--r); background: var(--white); box-shadow: 0 24px 60px rgba(30, 32, 35, .18); transition: transform .5s var(--ease), background .3s; }
.isup__cards li:hover { transform: translateY(-6px); background: var(--ice); }
.isup__cards .mono { font: 400 12px/1 var(--mono); color: var(--teal-ink); }
.isup__cards svg { grid-column: 2; grid-row: 1 / span 2; width: 120px; --dot: var(--teal-ink); }
.isup__cards h3 { grid-column: 1 / -1; align-self: end; font-weight: 400; font-size: clamp(1.5rem, 2vw, 2rem); letter-spacing: -.018em; line-height: 1.05; }
.isup__cards p { grid-column: 1 / -1; color: var(--steel); max-width: 32ch; }
.isup__pos { margin-top: clamp(64px, 7vw, 112px); }
.isup__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 22px; }
.isup__head h2 { font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1; letter-spacing: -.023em; }
.isup__head h2 em { font-style: normal; color: var(--teal-ink); }
.isup__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); border-top: 1px solid var(--graphite); }
.isup__list a { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: color .2s, padding .3s var(--ease); }
.isup__list a:hover { color: var(--teal-ink); padding-left: 12px; }
.isup__f { font: 400 14px/1.2 var(--mono); color: var(--teal-ink); }
.isup__f sub { font-size: .72em; }
.isup__n { font-size: 17px; letter-spacing: -.01em; }
.isup__list svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.page main > .isup + .sec { padding-top: 0; }
@media (max-width: 1000px) {
  .ph-c--lift, .isup { --lift: 120px; }
  .isup__cards { grid-template-columns: 1fr; } .isup__cards li { min-height: 0; }
  .isup__list { grid-template-columns: 1fr; }
  .isup__list a { grid-template-columns: 90px minmax(0, 1fr) auto; }
}

/* ══ 12 · chosen A — three steps (styles of .wiz in home.css) ══ */
.dropzone { margin-top: 8px; }
@media (max-width: 860px) { .lf-grid { grid-template-columns: 1fr; } }

/* ══ 14 · chosen A — contents with dots that fill as you read ══ */
.lga__head { display: grid; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--graphite); }
.lga__head h2 { font-weight: 300; font-size: clamp(2.4rem, 5vw, 5rem); letter-spacing: -.025em; line-height: 1; }
.lga__main { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-top: 32px; align-items: start; }
.lga__toc { position: sticky; top: calc(var(--hdr) + 24px); display: grid; }
.lga__toc a { display: grid; grid-template-columns: 14px 28px 1fr; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--steel); transition: color .3s; }
.lga__toc i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--grey); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.lga__toc .mono { color: var(--grey); font-size: 12px; }
.lga__toc a.read i { background: var(--teal); border-color: var(--teal); }
.lga__toc a.on { color: var(--graphite); }
.lga__toc a.on i { border-color: var(--teal); transform: scale(1.35); }
.lga__body { display: grid; gap: 4px; justify-items: start; }
.lga__body section { width: 100%; display: grid; gap: 8px; padding: 22px 0 28px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 24px); }
.lga__body .mono { color: var(--teal-ink); }
.lga__body h3 { font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -.013em; }
.lga__body p { color: var(--steel); line-height: 1.7; max-width: 66ch; }
@media (max-width: 860px) { .lga__main { grid-template-columns: 1fr; } .lga__toc { position: static; } }

@media (prefers-reduced-motion: reduce) { .cmpa__row { animation: none; } }

/* ══ 11 · suppliers: the home page globe block (.geo, .gg) reused ══ */
.sup-geo__cta { justify-self: start; margin-top: 8px; }
.gg--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.sup-geo__lines { display: grid; border-top: 1px solid var(--line-d); }
.sup-geo__lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.sup-geo__lines svg { width: 52px; --dot: var(--aqua); }
.sup-geo__lines .nm { font-weight: 300; font-size: clamp(1.1rem, 1.6vw, 1.5rem); letter-spacing: -.01em; }
.sup-geo__lines .mono { color: var(--aqua); }
.sup-geo--horizon { padding-top: clamp(56px, 7vw, 104px); }
.sup-geo__top { display: grid; gap: 22px; justify-items: center; text-align: center; }
.sup-geo__top .h2 { max-width: 20ch; }
.sup-geo__top .muted { color: rgba(255, 255, 255, .5); }
.sup-geo__hz { margin-top: clamp(24px, 4vw, 56px); }
.sup-geo__hz canvas { display: block; width: 100%; }
.sup-geo__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 22px; padding-bottom: clamp(48px, 6vw, 88px); border-top: 1px solid rgba(255, 255, 255, .35); }
.sup-geo__cols li { display: grid; gap: 6px; }
.sup-geo__cols .mono, .sup-geo__cols .dir { font: 500 12px var(--mono); color: rgba(255, 255, 255, .5); }
.sup-geo__cols .nm { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.6rem); letter-spacing: -.018em; color: var(--aqua); }
@media (max-width: 900px) { .gg--rev { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .sup-geo__cols { grid-template-columns: 1fr; } }

/* ══ 13 · chosen A — the number gathers from dots ══ */
.c4a { background: var(--graphite); color: var(--white); padding: 40px 0 48px; overflow: hidden; }
.c4a__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.c4a__top .label { color: var(--aqua); }
.c4a__clock { display: flex; align-items: baseline; gap: 12px; }
.c4a__clock .mono { color: rgba(255, 255, 255, .55); font-size: 12px; }
.c4a__clock b { font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.4rem); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.c4a__num { display: block; width: 100%; padding: 24px max(var(--gut), 16px) 8px; cursor: copy; }
.c4a__num canvas { display: block; width: 100%; }
.c4a__row { display: grid; grid-template-columns: .8fr 1fr 1.3fr; gap: 24px 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .4); }
.c4a__row > div { display: grid; gap: 8px; justify-items: start; align-content: start; }
.c4a__row .mono { color: var(--aqua); font-size: 12px; }
.c4a__row a, .c4a__row address { font-style: normal; font-weight: 300; font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.3; }
.c4a__row a:hover { color: var(--aqua); }
@media (max-width: 860px) { .c4a__row { grid-template-columns: 1fr; } }

/* ══ Inner pages: the approved blocks put together ══ */
.page .ph-c { min-height: clamp(520px, 62vh, 680px); }
.page .ph-c__in { padding-top: calc(var(--hdr) + 40px); }
.page-top { padding-top: calc(var(--hdr) + clamp(32px, 4vw, 56px)); }
.page-top--dark { background: var(--graphite); padding-top: var(--hdr); }
.page-top--dark .c4a { padding-top: 24px; }
.page-top--dark h1.label { font-size: inherit; }
.sec--top0 { padding-top: 0; }
.page .straddle { padding-top: clamp(40px, 5vw, 64px); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding-top: 16px; }
.cat-empty { padding: 32px 0; color: var(--steel); font-size: 16px; }
.rla__nav { align-items: center; }
.rla__nav .link { margin-right: 12px; }
.page-status { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr) + 32px); }
.page .sup-geo__cols { padding-bottom: clamp(56px, 7vw, 104px); }
/* contacts page: both blocks on white */
.page-top--light { padding-top: var(--hdr); background: var(--white); }
.c4a--light { background: var(--white); color: var(--graphite); }
.c4a--light .c4a__top .label { color: var(--teal-ink); font-size: inherit; }
.c4a--light .c4a__clock .mono { color: var(--steel); }
.c4a--light .c4a__row { border-top-color: var(--graphite); }
.c4a--light .c4a__row .mono { color: var(--teal-ink); }
.c4a--light .c4a__row a:hover { color: var(--teal-ink); }
.req--white { background: var(--white); border-top: 1px solid var(--line); }
.req--white .wiz { background: var(--mist); }

/* ══ 06 · chosen B — white card with the main value, rows beside it ══ */
.sp4__h { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -.015em; margin: 8px 0 12px; }
.sp4__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--graphite); }
.sp4__cond { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--graphite); }
.sp4__cond > div { padding: 14px 16px 14px 0; }
.sp4__cond > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.sp4__cond dt { font: 500 11.5px var(--mono); color: var(--steel); }
.sp4__cond dd { font-size: 15px; margin-top: 6px; }
/* B · white card and rows */
.sp4b { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sp4b__card { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 10px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--white); }
.sp4b__card .mono { color: var(--steel); }
.sp4b__v { font: 300 clamp(2.4rem, 4.4vw, 4rem)/1 var(--mono); letter-spacing: -.025em; color: var(--teal-ink); margin-bottom: 14px; }
.sp4b__card .sp4__cond { grid-template-columns: 1fr; }
.sp4b__card .sp4__cond > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
.sp4b__card .sp4__cond dd { margin: 0; }
.sp4b__rows { border-top: 1px solid var(--graphite); }
@media (max-width: 900px) { .sp4__rows, .sp4b { grid-template-columns: 1fr; } .sp4__cond { grid-template-columns: 1fr 1fr; } .sp4__cond > div + div { border-left: 0; padding-left: 0; } .sp4b__card { position: static; } }


/* ══ 16 · chosen A — About page, Caladan's opening: a large heading, the lead, a paragraph and two buttons ══ */
.ab18a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.ab18a__h { font-weight: 300; font-size: clamp(2.6rem, 5.6vw, 5.8rem); line-height: .98; letter-spacing: -.025em; }
.ab18a__copy { display: grid; gap: 20px; padding-top: 10px; }
.ab18a__lead { font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.2; letter-spacing: -.013em; }
.ab18a__copy p:not(.ab18a__lead) { color: var(--steel); font-size: 17px; max-width: 52ch; }
.ab18a__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 900px) { .ab18a { grid-template-columns: 1fr; } }

/* ══ 17 · Services page: three live variants ══ */
.sv19a .label { color: var(--teal-ink); }
/* A · a sticky drawing made of a cloud of dots, the services scroll beside it */
.sv19a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.sv19a__stage { position: sticky; top: calc(var(--hdr) + 32px); display: grid; gap: 22px; }
.sv19a__fig { position: relative; width: min(100%, 440px); margin-top: 12px; }
.sv19a__fig canvas { display: block; width: 100%; }
.sv19a__fig .mono { position: absolute; right: 0; bottom: 0; color: var(--grey); font-size: 14px; }
.sv19a__fig .mono b { font-weight: 500; color: var(--graphite); }
.sv19a__steps { display: grid; padding-top: clamp(20px, 8vh, 100px); }
.sv19a__steps li { min-height: 48vh; display: grid; align-content: center; gap: 14px; padding: 32px 0; border-top: 1px solid var(--line); opacity: .28; transition: opacity .5s; }
.sv19a__steps li.on { opacity: 1; }
.sv19a__steps li:last-child { min-height: 36vh; }
.sv19a__steps .mono { color: var(--teal-ink); }
.sv19a__steps h3 { font-weight: 300; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.02em; }
.sv19a__mini { display: none; width: 120px; --dot: var(--teal-ink); }
.sv19a__steps .checks li { min-height: 0; display: block; padding: 0 0 0 20px; border: 0; opacity: 1; color: var(--steel); }
@media (max-width: 900px) {
  .sv19a { grid-template-columns: 1fr; }
  .sv19a__stage { position: relative; top: 0; }
  .sv19a__fig { display: none; }
  .sv19a__steps li { min-height: 0; opacity: 1; }
  /* on a phone each service carries its own drawing, as the process on the home page */
  .sv19a__mini { display: block; }
}

/* inner pages are white: the page and the home sections reused on it (advantages, process, globe) */
body.page, .page .adv, .page .proc, .page .geo--light { background: var(--white); }
/* cards that were white on the grey page get the grey instead, so they still read as cards */
.page .sp4b__card { background: var(--mist); }
.page .acard:nth-child(even) { background: var(--mist); }
.geo--light { color: var(--graphite); }
.geo--light .label { color: var(--teal-ink); }
.geo--light .gg__list .mono, .geo--light .gg__list .dir { color: var(--steel); }
.geo--light .gg__list li.on, .geo--light .gg__list li.on .mono, .geo--light .gg__list li.on .dir { color: var(--teal-ink); }

/* ══ Inner pages: one even gap between blocks ══ */
/* each block used to keep its own top and bottom padding, so two blocks in a row stood twice as far apart */
.page .sec { padding: clamp(48px, 5.5vw, 88px) 0; }
.page main > .sec + .sec { padding-top: 0; }
.page .sec.page-top { padding-top: calc(var(--hdr) + clamp(32px, 4vw, 56px)); padding-bottom: clamp(32px, 4vw, 56px); }
.page .straddle { padding-top: 0; }
/* catalog cards: outlined, light up on hover */
.pcard { background: var(--white); border: 1px solid var(--line); transition: background .3s, border-color .3s, box-shadow .3s; }
.pcard:hover { background: var(--ice); border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.pcard__top { align-items: flex-start; }
/* round arrow buttons: the drawing sits exactly in the middle */
.rla__nav .icon-btn svg { width: 20px; height: 20px; stroke-width: 1.6; }
.rla__nav .icon-btn:hover { border-color: var(--graphite); background: var(--white); }
.cmpa__x { display: grid; place-items: center; padding: 0; font-size: 18px; }
/* the related row scrolls without a visible bar: the arrows and a swipe move it */
.rla__track { scrollbar-width: none; padding-bottom: 0; }
.rla__track::-webkit-scrollbar { display: none; }

/* catalog filters: open beside the list on a wide screen, folded into a “Filters” button on a tablet or phone */
.fdrawer { display: grid; gap: 16px; }
.fdrawer > summary { display: none; }
@media (max-width: 1000px) {
  .fdrawer > summary { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 15px; cursor: pointer; list-style: none; justify-self: start; }
  .fdrawer > summary::-webkit-details-marker { display: none; }
  .fdrawer > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
  .fdrawer[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
  .fdrawer[open] { padding-bottom: 8px; }
  .flt-a__side { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .flt-a__side .fsearch { grid-column: 1; }
  .fdrawer { grid-column: 1 / -1; }
}
.fdrawer__n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--aqua); font: 500 12px var(--mono); }

/* compare on a phone or a narrow tablet: parameter names stay pinned on the left while the positions scroll sideways */
@media (max-width: 760px) {
  .cmpa__table { min-width: 0; width: max-content; }
  .cmpa__row { grid-template-columns: 104px repeat(var(--n), 150px) 0; gap: 0 14px; }
  .cmpa__add { display: none; }
  .cmpa__k, .cmpa__corner { position: sticky; left: 0; z-index: 2; background: var(--white); padding-right: 8px; }
  .cmpa__corner { align-self: stretch; display: flex; align-items: flex-end; }
  .cmpa__f { font-size: 2.2rem; }
}

/* ══ phone: specification values under their names, roomier taps ══ */
@media (max-width: 560px) {
  .srow { grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; }
  .srow__v { grid-column: 2; text-align: left; font-size: 15px; }
  .crumbs a { display: inline-block; padding: 6px 0; margin: -6px 0; }
  .rla__head { flex-wrap: wrap; align-items: center; }
  .rla__head h2 { flex: 1 1 100%; }
  /* the dot field stays behind the text, not over it */
  .nf1__field { opacity: .35; }
}
@media (max-width: 560px) {
  /* services: a small drawing above each service, like the process steps */
  .sv19a__mini { width: 72px; }
  .sv19a__steps > li { padding: 24px 0; gap: 10px; }
  .sv19a__steps h3 { font-size: 1.9rem; }
}
