/* Chemify — design system and home page.
   Palette: Chemify brand colours (graphite, steel, grey, turquoise, aquamarine, ice, light grey, white). */
:root {
  --graphite: #323439;
  --steel: #595D62;
  --grey: #A8A8A8;
  --teal: #4CB0B5;
  --aqua: #8FE9EE;
  --ice: #D0F4F6;
  --mist: #F2F4F4;
  --white: #FFFFFF;
  /* derived tones: darker graphite for depth, deep teal for small text on light backgrounds (contrast AA) */
  --graphite-2: #2A2C30;
  --teal-ink: #2B7C81;
  --line: rgba(50, 52, 57, .14);
  --line-d: rgba(255, 255, 255, .14);

  --f: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1680px;
  --gut: clamp(16px, 4vw, 64px);
  --sec: clamp(64px, 7.5vw, 112px);
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--mist); color: var(--graphite);
  font: 400 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
address { font-style: normal; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--aqua); color: var(--graphite); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--aqua); color: var(--graphite); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.muted { color: var(--steel); }
.small { font-size: 14px; line-height: 1.5; }

/* ── type ── */
.h2 { font-weight: 300; font-size: clamp(2.25rem, 4.6vw, 4.75rem); line-height: 1.02; letter-spacing: -.018em; text-wrap: balance; }
.h4 { font-weight: 500; font-size: clamp(1.125rem, 1.4vw, 1.3rem); line-height: 1.25; letter-spacing: -.01em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; font-weight: 300; letter-spacing: -.01em; max-width: 40ch; }
.label, .eyebrow, .num {
  font: 500 12px/1.3 var(--mono); letter-spacing: .01em; text-transform: none; color: var(--teal-ink);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--aqua); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(143, 233, 238, .18); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--aqua); color: var(--graphite); }
.btn--accent:hover { background: var(--ice); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--aqua); color: var(--aqua); }
.btn--line { border-color: var(--graphite); }
.btn--line:hover { background: var(--graphite); color: var(--white); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.icon-btn:hover { background: rgba(127, 127, 127, .14); }

/* ── header ── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background .35s, color .35s, box-shadow .35s, transform .4s var(--ease); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 32px; }
.hdr.is-solid { background: rgba(242, 244, 244, .86); color: var(--graphite); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-glass { background: rgba(42, 44, 48, .72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line-d); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 38px; height: 38px; color: var(--aqua); }
.hdr.is-solid .brand__mark { color: var(--teal); }
.brand__name { display: flex; flex-direction: column; font-weight: 500; font-size: 19px; line-height: 1; letter-spacing: -.01em; }
.brand__name small { font: 400 10px/1.4 var(--mono); letter-spacing: .01em; text-transform: none; opacity: .7; margin-top: 4px; }
.nav { display: flex; gap: clamp(16px, 2vw, 32px); margin-left: auto; font-size: 15px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; padding: 6px 0; opacity: .82; transition: opacity .2s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__item:hover .nav__link, .nav__link:focus-visible, .nav__item.is-current .nav__link { opacity: 1; }
.nav__item:hover .nav__link::after, .nav__item.is-current .nav__link::after { transform: scaleX(1); transform-origin: left; }
/* the chevron opens the list for touch and keyboard; on a mouse the list opens on hover */
.nav__caret { width: 22px; height: 28px; display: grid; place-items: center; margin-left: 2px; opacity: .7; }
.nav__caret svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.nav__item--dd:hover .nav__caret svg, .nav__item.open .nav__caret svg { transform: rotate(180deg); }
/* the list: a white panel under the item; the transparent top padding bridges the gap so the pointer can move into it */
.nav__drop { position: absolute; top: 100%; left: -24px; padding-top: 14px; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.nav__item--dd:hover .nav__drop, .nav__item.open .nav__drop, .nav__item--dd:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.nav__panel { min-width: 320px; padding: 18px 20px 16px; border-radius: 18px; background: var(--white); color: var(--graphite); box-shadow: 0 24px 60px rgba(30, 32, 35, .18), 0 0 0 1px var(--line); }
.nav__drop--wide .nav__panel { width: 560px; }
.nav__drop--wide .nav__list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.nav__head { font: 500 11.5px/1 var(--mono); color: var(--teal-ink); margin-bottom: 8px; }
.nav__list { display: grid; }
.nav__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 10px; margin: 0 -10px; border-radius: 10px; font-size: 15px; transition: background .2s; }
.nav__list a:hover, .nav__list a:focus-visible, .nav__list a[aria-current] { background: var(--ice); }
.nav__list em { font: 400 12px var(--mono); font-style: normal; color: var(--steel); }
.nav__list small { display: block; font-size: 12.5px; color: var(--steel); text-align: right; }
.nav__list a:has(small) { flex-direction: column; gap: 2px; }
.nav__list a:has(small) small { text-align: left; }
.nav__all { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 500; font-size: 14px; }
.nav__all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.nav__all:hover svg { transform: translateX(4px); }
.hdr__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .hdr__tools { margin-left: 8px; }
.req-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 16px; border-radius: 999px; border: 1px solid currentColor; font-size: 14px; border-color: rgba(127, 127, 127, .45); transition: border-color .2s; }
.req-btn:hover { border-color: currentColor; }
.req-btn__count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--aqua); color: var(--graphite); font: 500 13px/1 var(--mono); }
.req-btn__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.burger { display: none; }
@media (max-width: 1180px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: inline-grid; }
  .hdr__tools, .nav + .hdr__tools { margin-left: auto; }
}
@media (max-width: 560px) {
  .req-btn__label { display: none; }
  .req-btn { padding: 0 6px; border: 0; }
  .brand__name small { display: none; }
  .hdr__in { gap: 12px; }
}

/* mobile menu */
.mmenu { position: fixed; inset: var(--hdr) 0 0; z-index: 45; background: var(--graphite); color: var(--white); overflow: auto; }
.mmenu__nav { display: flex; flex-direction: column; padding-top: 24px; padding-bottom: 40px; }
.mmenu__nav > a:not(.btn), .mmenu__group summary { font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 300; letter-spacing: -.015em; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
/* sections with their own pages open in place */
.mmenu__group summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.mmenu__group summary::-webkit-details-marker { display: none; }
.mmenu__group summary svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s var(--ease); }
.mmenu__group[open] summary svg { transform: rotate(180deg); }
.mmenu__group ul { display: grid; padding: 8px 0 14px; border-bottom: 1px solid var(--line-d); }
.mmenu__group li a { display: block; padding: 9px 0 9px 16px; font-size: 17px; color: rgba(255, 255, 255, .78); }
.mmenu__group li:first-child a { color: var(--aqua); }
.mmenu__group a[aria-current] { color: var(--white); font-weight: 500; }
.mmenu__group a[aria-current]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); margin: 0 10px 2px -17px; }
.mmenu__nav .btn { margin-top: 28px; align-self: flex-start; }
body.menu-open .hdr { background: var(--graphite); color: var(--white); box-shadow: none; }

/* ── search overlay ── */
.search { position: fixed; inset: 0; z-index: 60; background: rgba(42, 44, 48, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.search__panel { background: var(--mist); padding-top: 20px; padding-bottom: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .18); animation: drop .35s var(--ease); }
@keyframes drop { from { transform: translateY(-20px); opacity: 0; } }
.search__form { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--graphite); padding-bottom: 12px; }
.search__form > svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.search__form input { flex: 1; min-width: 0; border: 0; background: none; font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: 300; letter-spacing: -.01em; padding: 8px 0; }
.search__form input:focus { outline: none; }
.search__res { margin-top: 12px; max-height: min(60vh, 560px); overflow: auto; }

/* search results (shared) */
.sr__h { font: 500 11px/1 var(--mono); letter-spacing: .01em; text-transform: none; color: var(--steel); padding: 14px 0 8px; display: flex; justify-content: space-between; gap: 12px; }
.sr__h a { color: var(--teal-ink); }
.sr { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.sr__name { font-weight: 500; }
.sr__name:hover { color: var(--teal-ink); }
.sr__meta { font: 400 13px/1.4 var(--mono); color: var(--steel); }
.sr__meta sub { font-size: .75em; }
.sr__empty { padding: 18px 0; color: var(--steel); }
@media (max-width: 640px) { .sr { grid-template-columns: 1fr auto; } .sr__meta { grid-column: 1; grid-row: 2; } .sr .add { grid-row: 1 / span 2; grid-column: 2; } }

/* add-to-request toggle */
.add {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background .2s, border-color .2s, color .2s;
}
.add::before { content: "+"; font: 400 18px/1 var(--mono); }
.add:hover { border-color: var(--graphite); }
.add.on { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.add.on::before { content: "✓"; font-size: 14px; }

/* ── reveal animations ── */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.in .ln > span, .ln.in > span { transform: none; }
.no-js .rv, .no-js .ln > span { opacity: 1; transform: none; }

/* photo frame: the photo is shown as it is — no greyscale, no tint, no grain */
.duo { position: relative; overflow: hidden; background: var(--graphite); }
.duo img { width: 100%; height: 100%; object-fit: cover; }

/* ── 02 product lines (cards straddle light background and a texture, after the Caladan reference) ── */
.lines { background: var(--mist); padding-top: var(--sec); }
.lines__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; padding-bottom: clamp(40px, 5vw, 72px); }
.lines__head .label { grid-column: 1 / -1; }
.lines__head .h2 { grid-column: 1 / span 8; }
.lines__note { grid-column: 10 / -1; color: var(--steel); font-size: 15px; }
.lines__stage { position: relative; padding-bottom: clamp(104px, 11vw, 168px); isolation: isolate; }
.lines__tex { position: absolute; left: 0; right: 0; top: clamp(140px, 14vw, 240px); bottom: 0; z-index: -1; }
/* a neutral shade only under the white statement on the texture */
.lines__tex::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(30, 32, 35, .1), rgba(30, 32, 35, .55) 55%, rgba(30, 32, 35, .7)); }
.lines__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lcard {
  position: relative; display: flex; flex-direction: column; min-height: 470px; padding: 26px 24px 24px; border-radius: var(--r);
  background: var(--ice); color: var(--graphite); overflow: hidden; transition: transform .5s var(--ease), background .4s;
}
.lcard:hover { transform: translateY(-8px); background: var(--white); }
.lcard__top { display: flex; justify-content: space-between; align-items: baseline; }
.lcard__top .num { color: var(--teal-ink); }
.lcard__count { font: 400 12px/1 var(--mono); color: var(--steel); }
.lcard h3 { margin-top: 18px; font-weight: 400; font-size: clamp(1.25rem, 1.5vw, 1.5rem); line-height: 1.15; letter-spacing: -.01em; min-height: 3.45em; }
.lcard__art { flex: none; height: 200px; display: grid; place-items: center; margin: 8px 0 20px; }
.lcard__art svg { width: min(170px, 80%); height: auto; fill: none; stroke: var(--graphite); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.lcard__art svg .dash { stroke-dasharray: 3 4; }
.lcard__art svg .acc { stroke: var(--teal); }
.lcard__art svg .fill { fill: var(--graphite); stroke: none; }
.lcard:hover .lcard__art .spin { animation: spin 9s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.lcard__art .bob { transition: transform .8s var(--ease); }
.lcard:hover .lcard__art .bob { transform: translateY(-6px); }
.lcard p { flex: 1; font-size: 14px; line-height: 1.5; color: var(--steel); }
.lcard__go { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(50, 52, 57, .16); font-weight: 500; font-size: 14px; }
.lcard__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.lcard:hover .lcard__go svg { transform: translateX(4px); }
.lcard:nth-child(2) { --d: .07s; } .lcard:nth-child(3) { --d: .14s; } .lcard:nth-child(4) { --d: .21s; } .lcard:nth-child(5) { --d: .28s; }
.statement {
  margin-top: clamp(72px, 8vw, 128px); color: var(--white); font-weight: 300; letter-spacing: -.023em; line-height: 1;
  font-size: clamp(2.4rem, 6.8vw, 7.6rem); text-align: center;
}
.statement .ln:nth-child(2) > span { --d: .1s; } .statement .ln:nth-child(3) > span { --d: .2s; }
@media (max-width: 1280px) {
  .lines__grid { grid-template-columns: repeat(6, 1fr); }
  .lcard { grid-column: span 2; min-height: 430px; }
  .lcard:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 900px) {
  .lines__head .h2, .lines__note { grid-column: 1 / -1; }
  .lines__grid { grid-template-columns: 1fr 1fr; }
  .lcard, .lcard:nth-child(4) { grid-column: auto; }
  .lcard:last-child { grid-column: 1 / -1; }
}
/* on a tablet the fifth card spans both columns: text on the left, the drawing on the right, so it is not an empty wide box */
@media (min-width: 561px) and (max-width: 900px) {
  .lcard:last-child { display: grid; grid-template-columns: minmax(0, 1fr) 220px; grid-template-rows: auto auto 1fr auto; column-gap: 32px; min-height: 0; }
  .lcard:last-child .lcard__top { grid-column: 1 / -1; }
  .lcard:last-child h3, .lcard:last-child p, .lcard:last-child .lcard__go { grid-column: 1; }
  .lcard:last-child h3 { min-height: 0; }
  .lcard:last-child .lcard__art { grid-column: 2; grid-row: 2 / 5; height: auto; margin: 0; }
}
@media (max-width: 560px) {
  .lines__grid { grid-template-columns: 1fr; }
  .lcard { min-height: 0; }
  .lcard__art { height: 150px; margin: 0 0 12px; }
  .lcard h3 { min-height: 0; }
  .lcard__art svg { width: 130px; }
  .statement { text-align: left; }
}

/* ── generic section ── */
.sec { padding: var(--sec) 0; }
.sec__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 1100px; }
.sec__head--split { max-width: none; grid-template-columns: 1fr minmax(0, 520px); align-items: end; gap: 22px 64px; }
.sec__head--split > div { display: grid; gap: 22px; }
@media (max-width: 900px) { .sec__head--split { grid-template-columns: 1fr; } }

/* ── 03 key products ── */
.keyp { background: var(--white); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--steel);
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--graphite); color: var(--graphite); }
.tab[aria-selected="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.tab sup { font: 400 10px/1 var(--mono); margin-left: 4px; opacity: .7; }
.ptable { border-top: 1px solid var(--graphite); }
.prow {
  display: grid; grid-template-columns: 52px minmax(0, 2.2fr) minmax(0, 1.1fr) 130px minmax(0, 2fr) 170px; gap: 20px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; animation: rowin .6s var(--ease) both; animation-delay: var(--d, 0s);
}
@keyframes rowin { from { opacity: 0; transform: translateY(10px); } }
.prow::before { content: ""; position: absolute; inset: 0 -14px; background: var(--mist); border-radius: 12px; opacity: 0; transition: opacity .25s; z-index: 0; }
.prow:hover::before { opacity: 1; }
.prow > * { position: relative; z-index: 1; }
.prow__i { font: 400 12px/1 var(--mono); color: var(--grey); }
.prow__name { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.prow__name:hover { color: var(--teal-ink); }
.prow__name small { display: block; font: 400 12px/1.4 var(--mono); color: var(--steel); margin-top: 4px; letter-spacing: 0; }
.prow__f { font: 400 14px/1.3 var(--mono); }
.prow__f sub { font-size: .72em; }
.prow__cas { font: 400 13px/1.3 var(--mono); color: var(--steel); }
.prow__apps { font-size: 14px; color: var(--steel); }
.prow .add { justify-self: end; }
.prow__head { font: 500 11px/1 var(--mono); letter-spacing: .01em; text-transform: none; color: var(--steel); padding: 14px 0; border-bottom: 1px solid var(--line); animation: none; }
.prow__head::before { display: none; }
.prow__head > span { font: inherit; color: inherit; }
.keyp__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; }
.keyp__foot .small { max-width: 520px; }
@media (max-width: 1100px) {
  .prow { grid-template-columns: 40px minmax(0, 1fr) 130px 170px; }
  .prow__apps, .prow__cas { display: none; }
  .prow__head .prow__apps, .prow__head .prow__cas { display: none; }
}
@media (max-width: 640px) {
  .prow { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px 14px; }
  .prow__i, .prow__head { display: none; }
  .prow__f { grid-row: 2; font-size: 13px; color: var(--steel); }
  .prow .add { grid-row: 1 / span 2; grid-column: 2; justify-self: end; }
  .prow .add span { display: none; }
  .prow .add { padding: 0; width: 40px; justify-content: center; }
}

/* ── 08 experience ── */
.exp { background: var(--white); }
.exp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.exp__head { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 22px; }
.exp__head .small { max-width: 44ch; }
.exp__head .link { justify-self: start; }
.exp__list { counter-reset: e; columns: 2; column-gap: 32px; border-top: 1px solid var(--graphite); }
.exp__list li {
  counter-increment: e; break-inside: avoid; display: grid; grid-template-columns: 40px 1fr; column-gap: 8px;
  padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.35;
}
.exp__list li::before { content: counter(e, decimal-leading-zero); font: 400 12px/1.9 var(--mono); color: var(--teal-ink); grid-row: span 2; }
.exp__list li span { grid-column: 2; font: 400 13px/1.4 var(--mono); color: var(--steel); margin-top: 4px; }
@media (max-width: 960px) {
  .exp__grid { grid-template-columns: 1fr; }
  .exp__head { position: static; }
}
@media (max-width: 600px) { .exp__list { columns: 1; } }

/* ── request drawer ── */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(42, 44, 48, .45); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(460px, 100%); background: var(--mist);
  display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.cart.open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.cart__body { flex: 1; overflow: auto; padding: 8px 24px; }
.cart__list .item { grid-template-columns: minmax(0, 1fr) 40px; }
.cart__list .vol { grid-column: 1; grid-row: 2; background: var(--white); }
.cart__list .rm { grid-row: 1 / span 2; grid-column: 2; }
.cart__empty { padding: 24px 0; }
.cart__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); }

/* ── cookie ── */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 65; max-width: 460px; display: flex; gap: 16px; align-items: center;
  padding: 16px 16px 16px 20px; border-radius: 18px; background: var(--white); color: var(--graphite); font-size: 13.5px; line-height: 1.45;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18); animation: drop .5s var(--ease);
}
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .cookie { right: 16px; flex-direction: column; align-items: stretch; } }


/* phone: text links get a taller tap area */
@media (max-width: 560px) { .link { padding-top: 10px; } }

/* dot drawings outside the screen pause their animations */
svg.dots.off, svg.dots.off * { animation-play-state: paused !important; }

/* ── page preloader (assets/js/pre.js): first page of a visit only; the page stays hidden under it until it slides up ── */
html.is-pre { background: var(--graphite, #323439); overflow: hidden; }
html.is-pre body { visibility: hidden; }
.pre { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; visibility: visible; background: var(--graphite, #323439); color: #fff; transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.pre.is-out { transform: translateY(-100%); }
.pre__in { display: grid; justify-items: center; gap: 22px; transition: opacity .5s, transform 1s cubic-bezier(.76, 0, .24, 1); }
.pre.is-out .pre__in { opacity: 0; transform: translateY(-40px); }
.pre__mark { width: 56px; height: 56px; }
.pre__hex { stroke: #8FE9EE; stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pre__cells { stroke: rgba(143, 233, 238, .35); stroke-width: 2.6; stroke-linejoin: round; animation: preCells 1.6s ease-in-out infinite alternate; }
@keyframes preCells { to { stroke: #8FE9EE; } }
.pre__n { display: flex; align-items: flex-start; font: 300 clamp(88px, 15vw, 200px)/.8 var(--f, "Geist", sans-serif); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pre__n i { font-style: normal; font-size: .32em; line-height: 1; margin: .12em 0 0 .12em; color: #8FE9EE; letter-spacing: 0; }
.pre__l { font: 400 12px/1 var(--mono, monospace); text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .55); }
.pre__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .1); }
.pre__bar i { position: absolute; inset: 0; background: #4CB0B5; transform: scaleX(0); transform-origin: left; }
