/* SNS Lifescience site v4.
   Layout and sizes follow chemlytesolutions.com (measured at 1440px: 95px header (their 58px top bar removed at the client's request), 16px/600 uppercase
   menu with 10px 19px padding, 1320px content with 60px gutters, 727px hero, 50/60 hero title, 43/53 section titles,
   283px footer). Colours and gradients are sampled from the Nucelia reference slide. Fonts are the SNS brand kit. */
:root {
  --blue: #55a8ff;        /* Nucelia blue (card corners) */
  --blue-2: #5dacff;      /* panel bottom, icon circle */
  --sky: #91c7fe;
  --pale: #d9eeff;        /* panel top */
  --mist: #e7f5ff;
  --frost: #f0f9fe;       /* card centre-bottom */
  --ink: #0f233a;         /* headline ink */
  --body: #253946;        /* body ink */
  --mute: #5a6b79;
  --line: #dbe7f2;
  --blue-ink: #1d74d6;    /* the same blue, deep enough for text and buttons on white */
  --deep: #1f0070;        /* the orb's darkest vein */
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --gut: 60px;
  --max: 1440px;
  --ease: cubic-bezier(.22, .8, .3, 1);
  /* outer card of the reference: blue corners, pale centre-bottom */
  --grad-card: radial-gradient(65% 130% at 50% 100%, rgba(240,249,254,1) 0%, rgba(240,249,254,.92) 38%, rgba(240,249,254,.4) 77%, rgba(240,249,254,0) 100%),
               linear-gradient(180deg, #55a8ff 0%, #8fc6fe 20%, #b9dcfe 50%, #dbeeff 80%, #e9f6ff 100%);
  /* inner panel of the reference: straight top-to-bottom */
  --grad-panel: linear-gradient(180deg, #d9eeff 0%, #5dacff 100%);
  --grad-btn: linear-gradient(135deg, #55a8ff 0%, #1d74d6 100%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; background: #fff; color: var(--body); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; font-kerning: normal; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.nw { white-space: nowrap; }
h3 { font: 600 18px/1.4 var(--sans); color: var(--ink); }
.ttl { font-size: 43px; line-height: 53px; }
.lead { font-size: 18px; line-height: 1.6; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
       background: var(--grad-btn); color: #fff; font: 600 15px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
       padding: 14px 26px; box-shadow: 0 8px 22px rgba(29,116,214,.24); transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.btn:hover { filter: brightness(1.06); box-shadow: 0 10px 26px rgba(29,116,214,.32); }
.btn:active { transform: scale(.97); }
.btn.sm { font-size: 12px; padding: 7px 7px 7px 14px; gap: 10px; box-shadow: none; }
.btn .arr { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--blue-ink); display: grid; place-items: center; flex: none; }
.btn .arr svg { width: 12px; height: 12px; }
/* button motion: a light sweeps across, the button lifts, the arrow loops out to the right and back in from the left.
   Hovering a card plays its button too. On touch screens, each card's arrow nudges once as the card scrolls into view. */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
              background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.42) 50%, transparent 75%); transform: translateX(-130%); }
.btn .arr { overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.btn:hover, .btn:focus-visible, .card:hover .btn.go { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(29,116,214,.34); filter: brightness(1.05); }
.btn:hover::after, .btn:focus-visible::after, .card:hover .btn.go::after { transform: translateX(130%); transition: transform .75s var(--ease); }
.btn:hover .arr, .btn:focus-visible .arr, .card:hover .btn.go .arr { transform: translateX(3px) scale(1.06); }
@media (hover: none) { .card.seen .btn.go .arr svg { animation: arr-nudge .62s var(--ease) calc(.35s + var(--i, 0) * 120ms) both; } }
.btn:hover .arr svg, .btn:focus-visible .arr svg, .card:hover .btn.go .arr svg { animation: arr-loop .62s var(--ease) both; }
@keyframes arr-loop { 0% { transform: translateX(0); } 45% { transform: translateX(160%); } 46% { transform: translateX(-160%); } 100% { transform: translateX(0); } }
@keyframes arr-nudge { 0% { transform: translateX(0); } 45% { transform: translateX(160%); } 46% { transform: translateX(-160%); } 100% { transform: translateX(0); } }
.btn:active { transform: translateY(0) scale(.97); }
.btn.ghost { background: #fff; color: var(--blue-ink); box-shadow: inset 0 0 0 1.5px var(--blue-ink); }


/* ---------- header ---------- */
/* the header stays on screen while the page scrolls; site.js adds .stuck (a soft shadow) once it has */
.hd { position: sticky; top: 0; z-index: 40; background: #fff; height: 95px; transition: box-shadow .25s; }
.hd.stuck { box-shadow: 0 8px 24px rgba(15,35,58,.09); }
.hd .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.logo { margin-left: 20px; display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo-i { height: 46px; width: auto; flex: none; }
.logo-t { display: flex; flex-direction: column; gap: 5px; }
.logo-w { height: 22px; width: auto; }
.tag { font: 600 9.5px/1 var(--sans); color: #1e659a; white-space: nowrap; width: max-content; }
.nav { margin-left: auto; display: flex; align-items: center; }
.nav a { font: 600 16px/20px var(--sans); text-transform: uppercase; color: var(--ink); padding: 10px 19px; text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-ink); }
.quote { margin-left: 14px; padding: 13px 22px; }
.burger { display: none; }

/* ---------- hero (home) and banner (inner pages): the outer-card gradient ---------- */
.hero, .banner { position: relative; overflow: hidden; background: var(--grad-card); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero { height: 727px; }
.banner { height: 680px; }
.hero .in, .banner .in { position: relative; z-index: 2; max-width: 900px; padding: 0 var(--gut) 70px; }
.hero h1 { font-size: 50px; line-height: 60px; }
.hero p { font-size: 20px; line-height: 1.55; color: var(--body); max-width: 760px; margin: 28px auto 0; }
.hero .btn { margin-top: 40px; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero .acts .btn { margin-top: 0; }
.brand-line { display: block; color: var(--blue-ink); }
.banner h1 { font-size: 43px; line-height: 53px; }
.banner .rule { width: 135px; height: 2px; background: var(--ink); margin: 26px auto 28px; border: 0; }
.banner p { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 800px; margin: 0 auto; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; z-index: 1; }
.dots { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.dots i { position: absolute; border-radius: 50%; background: var(--ink); opacity: .85; }

/* ---------- film hero (after rasyn.ai): the film fills the right two-thirds and melts into the gradient under the text.
   Rasyn's wash (solid to 36% of the hero, .8 at 43%, .38 at 56%, clear at 75%) is applied as a MASK on the film itself,
   so the film fades to transparent and our gradient shows through; the same fade is used for the photos. ---------- */
.hero.film, .banner.photo { display: block; text-align: left; }
.film-v, .fade-r { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 3%, rgba(0,0,0,.2) 13.6%, rgba(0,0,0,.62) 33%, #000 62%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 3%, rgba(0,0,0,.2) 13.6%, rgba(0,0,0,.62) 33%, #000 62%); }
.film-v video, .fade-r img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero.film .in, .banner.photo .in { position: relative; z-index: 2; height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 90px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero.film h1 { max-width: 560px; }
.hero.film p { margin: 26px 0 0; max-width: 540px; }
.banner.photo .in > * { max-width: 560px; }
.banner.photo .rule { margin: 26px 0 28px; }
.banner.photo p { margin: 0; }
.vbtn { position: absolute; z-index: 3; right: var(--gut); bottom: 128px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
        background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(15,35,58,.14); }
.vbtn svg { width: 14px; height: 14px; }
.vbtn .i-play { display: none; }
.vbtn.paused .i-play { display: block; }
.vbtn.paused .i-pause { display: none; }
/* photos inside a band or box also fade out at the bottom */
.fade-rb { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,.7) 48%, #000 78%), linear-gradient(180deg, transparent 0%, #000 24%, #000 58%, transparent 100%);
           -webkit-mask-composite: source-in;
                   mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,.7) 48%, #000 78%), linear-gradient(180deg, transparent 0%, #000 24%, #000 58%, transparent 100%);
                   mask-composite: intersect; }
.band.photo, .cta.photo { position: relative; overflow: hidden; }
.band.photo .fade-r { width: 54%; }
.band.photo .wrap { position: relative; z-index: 1; }
.band.photo .ttl, .band.photo .lead { max-width: 640px; }
.band.photo .stats { max-width: 640px; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
.cta.photo { text-align: left; padding: 70px 56px; }
.cta.photo .fade-r { width: 56%; }
.cta.photo > :not(.fade-r) { position: relative; z-index: 1; margin-left: 0; margin-right: 0; max-width: 560px; }

/* ---------- sections ---------- */
.sec { padding: 90px 0; }
.band { background: var(--grad-panel); padding: 90px 0 100px; }
.band .lead { max-width: 1016px; margin-top: 22px; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.stat b { display: block; font: 600 44px/1 var(--serif); color: var(--ink); }
.stat span { display: block; margin-top: 12px; font-size: 16px; color: var(--ink); }
.head2 { display: grid; grid-template-columns: 390px 1fr; gap: 60px; align-items: start; }
.head2 .lead { max-width: 650px; justify-self: end; font-size: 17px; line-height: 1.5; color: var(--body); }

/* supply cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 12px 34px rgba(15,35,58,.06); display: flex; flex-direction: column; }
.card .pic { height: 190px; border-radius: 10px; background: linear-gradient(180deg, var(--frost), var(--pale)); display: grid; place-items: center; padding: 18px; }
.card .pic svg { width: 100%; height: 100%; }
.card .count { margin-top: 20px; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); }
.card h3 { margin-top: 20px; font-size: 20px; }
.card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(15,35,58,.1); border-color: #cfe1f2; }
/* five cards: three, then two centred under them */
.cards.c5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.cards.c5 .card { flex: 0 1 calc((100% - 48px) / 3); }
.card .pic .cic { width: 64px; height: 64px; color: var(--blue-ink); opacity: .8; }
.card p { margin-top: 8px; color: var(--body); flex: 1; }
.card .btn { margin-top: 20px; align-self: flex-start; }
.mol-svg { max-width: 100%; max-height: 100%; }
.mol-svg .b { fill: none; stroke: var(--ink); stroke-width: 1.3px; stroke-linecap: butt; }
.mol-svg .a { fill: var(--ink); stroke: none; }

/* the reference slide, rebuilt: outer card, inner panel with the orb and labels, text on the right */
.slide { border-radius: 22px; background: var(--grad-card); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { position: relative; border-radius: 14px; background: var(--grad-panel); aspect-ratio: 478 / 458; overflow: hidden; }
.orb { position: absolute; left: 50%; top: 50%; width: 40%; transform: translate(-50%, -50%); animation: float 7s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(31,0,112,.18)); }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 8px)); } }
.chip { position: absolute; z-index: 2; background: #fff; border-radius: 8px; padding: 12px 18px; font: 500 19px/1.2 var(--sans); color: var(--ink); white-space: nowrap; box-shadow: 0 8px 22px rgba(15,35,58,.08); }
.chip::after { content: ''; position: absolute; border: 0 dotted var(--ink); }
.chip.dn::after { left: var(--x, 50%); top: 100%; height: var(--len, 40px); border-left-width: 2px; }
.chip.up::after { left: var(--x, 50%); bottom: 100%; height: var(--len, 40px); border-left-width: 2px; }
.chip.lt::after { top: 50%; right: 100%; width: var(--len, 40px); border-top-width: 2px; }
.chip.rt::after { top: 50%; left: 100%; width: var(--len, 40px); border-top-width: 2px; }
.pdot { position: absolute; z-index: 1; border-radius: 50%; background: var(--ink); }
.side h2 { font-size: 52px; line-height: 1.08; letter-spacing: -.02em; }
.side .big { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.side .big .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--blue-2); display: grid; place-items: center; color: #fff; flex: none; }
.side .big .ic svg { width: 26px; height: 26px; }
.side .big b { font: 400 56px/1 var(--sans); color: var(--ink); }
.side .big span { font-size: 19px; color: var(--ink); }
.side p { margin-top: 22px; max-width: 30em; font-size: 17px; line-height: 1.5; color: var(--body); }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.step { background: rgba(255,255,255,.72); border-radius: 14px; padding: 26px 22px; box-shadow: 0 10px 30px rgba(15,35,58,.06); }
.hexn { width: 44px; height: 50px; display: grid; place-items: center; color: #fff; font: 700 14px/1 var(--sans); background: var(--grad-btn); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.step h3 { margin-top: 18px; font-size: 19px; }
.step p { margin-top: 8px; color: var(--body); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.faq-t { display: flex; align-items: center; gap: 22px; justify-content: center; }
.faq-t svg { width: 92px; height: 92px; color: var(--blue-ink); flex: none; }
.faq-t h2 { font-size: 72px; line-height: 1; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 4px; font: 600 17px/1.4 var(--sans); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font: 400 24px/1 var(--sans); color: var(--blue-ink); flex: none; transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 4px 20px; color: var(--body); max-width: 40em; }
.faq .btn { margin-top: 28px; }

/* call to action box */
.cta { border-radius: 22px; background: var(--grad-card); text-align: center; padding: 64px 40px; }
.cta h2 { font-size: 40px; line-height: 1.2; max-width: 22em; margin: 0 auto; }
.cta p { font-size: 18px; margin: 16px auto 0; max-width: 36em; }
.cta .btn { margin-top: 30px; }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .panel { aspect-ratio: 5 / 4; }
.prose h2 { font-size: 43px; line-height: 53px; }
.prose p { margin-top: 18px; font-size: 17px; line-height: 1.6; }
.prose p.strong { font: 600 22px/1.4 var(--serif); color: var(--ink); }
.docs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.docs span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font: 600 16px/1 var(--sans); color: var(--ink); box-shadow: 0 6px 16px rgba(15,35,58,.05); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
.info { display: grid; gap: 18px; }
.info .box { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; }
.info .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-2); color: #fff; display: grid; place-items: center; flex: none; }
.info .ic svg { width: 20px; height: 20px; }
.info h3 { font-size: 17px; }
.info a, .info address { display: block; margin-top: 4px; font-style: normal; font-size: 16px; line-height: 1.5; color: var(--body); text-decoration: none; }
.info a:hover { color: var(--blue-ink); }
.form { border-radius: 18px; background: var(--grad-card); padding: 34px; }
.form h2 { font-size: 30px; line-height: 1.2; }
.form .sub { margin-top: 8px; color: var(--body); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.fgrid .full { grid-column: 1 / -1; }
.fgrid label { display: block; font: 600 14px/1.2 var(--sans); color: var(--ink); margin-bottom: 7px; }
.fgrid input, .fgrid textarea { width: 100%; border: 1px solid #c9dcee; border-radius: 10px; background: #fff; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; }
.fgrid textarea { min-height: 110px; resize: vertical; }
.fgrid input:focus, .fgrid textarea:focus { border-color: var(--blue-ink); box-shadow: 0 0 0 3px rgba(29,116,214,.15); }
.form .btn { margin-top: 22px; }
.msg { margin-top: 14px; min-height: 1.5em; font-size: 15px; color: var(--body); }
.msg b { color: var(--blue-ink); }

/* products: after dhruvremedies.com's product pages. A category card on the left, search above, then a table:
   product name, CAS No., structure, synonyms, IUPAC name, enquire. The table needs 1280px; narrower screens get one card
   per product, and below 1101px the categories fold into a button. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shop { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 54px; padding-bottom: 80px; }
.cats { position: sticky; top: 115px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 16px; box-shadow: 0 12px 34px rgba(15,35,58,.06); }
.cats-t { display: flex; align-items: center; gap: 10px; padding: 0 6px 16px; border-bottom: 1px solid var(--line); font: 600 19px/1.25 var(--sans); color: var(--ink); }
.cats-t svg { width: 18px; height: 18px; color: var(--blue-ink); flex: none; }
.cat-list { margin-top: 12px; display: grid; gap: 2px; }
.cat { display: flex; align-items: center; gap: 8px; padding: 10px 10px; border-radius: 10px; text-decoration: none; font: 600 15px/1.3 var(--sans); color: var(--ink); transition: background .2s, color .2s; }
.cat:hover { background: var(--frost); }
.cat .n { margin-left: auto; flex: none; min-width: 26px; text-align: center; border-radius: 999px; padding: 2px 8px; background: var(--mist); font: 600 12px/1.4 var(--sans); color: var(--blue-ink); white-space: nowrap; }
.cat .chev { width: 14px; height: 14px; flex: none; opacity: .5; }
.cat.on { color: var(--blue-ink); }
.cat[aria-current="true"] { background: var(--blue-ink); color: #fff; }
.cat[aria-current="true"] .n { background: rgba(255,255,255,.2); color: #fff; }
.cat-list .l1 .cat { margin-left: 12px; font-size: 14.5px; }
.cat-list .l2 .cat { margin-left: 22px; padding-top: 7px; padding-bottom: 7px; font-weight: 500; font-size: 14px; }
.ftoggle { display: none; }
.results { min-width: 0; }
.rbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rbar .showing { font-size: 14px; color: var(--body); }
.rbar .showing b { color: var(--ink); }
.search { width: 100%; border: 1px solid #c9dcee; border-radius: 10px; padding: 12px 14px 12px 40px; font: 400 16px/1.3 var(--sans); color: var(--ink); outline: 0; background: #fff; }
.search:focus { border-color: var(--blue-ink); box-shadow: 0 0 0 3px rgba(29,116,214,.15); }
/* search with suggestions (combobox) and "did you mean" */
.sbox { position: relative; width: 440px; max-width: 100%; }
.sbox > svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--mute); pointer-events: none; }
.sugg { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid #c9dcee; border-radius: 12px;
        box-shadow: 0 18px 40px rgba(15,35,58,.14); padding: 6px; max-height: 380px; overflow-y: auto; }
.sugg li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--ink); }
.sugg li[aria-selected="true"], .sugg li:hover { background: var(--mist); }
.sugg mark { background: none; color: var(--blue-ink); font-weight: 700; }
.sugg .sc { flex: none; font: 600 11px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.sugg .fix { display: block; font-size: 12px; color: var(--mute); margin-top: 2px; }
.sugg .hd2 { display: block; padding: 6px 10px 4px; font: 600 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); cursor: default; }
.sugg .hd2:hover { background: none; }
.dym { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--frost); border: 1px solid var(--line); font-size: 15px; color: var(--body); }
.dym button { border: 0; background: none; padding: 0; margin: 0 2px; font: 700 15px/1.4 var(--sans); color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* the table */
.tbl { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 34px rgba(15,35,58,.06); }
.ptable { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.4; color: var(--body); }
.ptable thead { background: var(--ink); color: #fff; }
.ptable th { padding: 15px 12px; text-align: left; font: 600 13px/1.3 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.ptable th.c-name { padding-left: 18px; }
.ptable th.c-name { width: 20%; }
.ptable th.c-cas { width: 116px; }
.ptable th.c-str { width: 140px; }
.ptable th.c-tc { width: 14%; }
.ptable th.c-act { width: 124px; }
.ptable td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
.ptable td.c-name { padding-left: 18px; }
.ptable td.c-act { padding-right: 16px; }
.ptable tbody tr:nth-child(even) { background: #f8fbfe; }
.ptable tbody tr:hover { background: var(--frost); }
.ptable tbody tr:last-child td { border-bottom: 0; }
.pname { display: block; font: 700 16px/1.35 var(--sans); color: var(--ink); }
.psub { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--mute); }
.cas-b { display: inline-block; white-space: nowrap; border: 1px solid #cfe3f7; background: var(--mist); color: var(--blue-ink); border-radius: 6px; padding: 3px 8px; font: 600 14.5px/1.3 var(--sans); }
.none { color: #9aa9b6; }
.thumb { display: grid; place-items: center; width: 100%; height: 86px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: zoom-in;
         transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.thumb:hover, .thumb:focus-visible { transform: scale(1.05); border-color: var(--blue-2); box-shadow: 0 6px 16px rgba(15,35,58,.1); }
.thumb img { display: block; max-width: 100%; max-height: 100%; }
.nodraw { display: grid; place-items: center; width: 100%; height: 86px; padding: 6px; border: 1px dashed #c9dcee; border-radius: 8px; background: var(--frost); text-align: center;
          font: 600 11px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.cap { display: block; margin-top: 5px; text-align: center; font: 600 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.tc { color: var(--ink); font-weight: 600; }
.ptable td.c-iu { overflow-wrap: break-word; }
.iu i { font-style: italic; }
.iu sup { font-size: .7em; line-height: 0; }
/* IUPAC names: shown in full, in the widest column; each salt component on its own line, counter-ions lighter */
.iu { display: block; font-size: 14.5px; line-height: 1.5; color: #1f3346; letter-spacing: .005em; }
.iu .cmp { display: block; }
.iu .cmp + .cmp { margin-top: 3px; }
.iu .ion { color: var(--mute); font-size: 13.5px; }
.lbl { display: none; margin-bottom: 4px; font: 600 11.5px/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.btn.ghost .arr { background: var(--blue-ink); color: #fff; }
.btn.ghost::after { background: linear-gradient(110deg, transparent 25%, rgba(29,116,214,.14) 50%, transparent 75%); }
.empty-row td { padding: 56px 24px; text-align: center; color: var(--body); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager button { min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid #c9dcee; border-radius: 8px; background: #fff; font: 600 14px/1 var(--sans); color: var(--ink); cursor: pointer; }
.pager button[aria-current="page"] { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }

/* structure viewer */
.mview { margin: auto; width: min(92vw, 560px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 30px 70px rgba(15,35,58,.3); color: var(--body); }
.mview::backdrop { background: rgba(15,35,58,.55); }
.mv-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mv-h h2 { font: 700 18px/1.35 var(--sans); color: var(--ink); }
.mv-h p { margin-top: 3px; font-size: 14px; color: var(--mute); }
.mv-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.mv-x svg { width: 15px; height: 15px; }
.mv-b { display: grid; place-items: center; min-height: 260px; padding: 24px; background: linear-gradient(180deg, var(--frost), var(--pale)); }

/* under 1280px: one card per product (name and structure side by side, then CAS No., synonyms, IUPAC name) */
@media (max-width: 1279px) {
  .ptable, .ptable tbody { display: block; }
  .ptable thead { display: none; }
  .ptable tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 150px; gap: 12px 20px; padding: 18px; border-bottom: 1px solid var(--line); }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable td, .ptable td.c-name, .ptable td.c-act { display: block; padding: 0; border: 0; text-align: left; }
  .ptable td.c-name { grid-column: 1 / 3; grid-row: 1; }
  .ptable td.c-cas { grid-column: 1 / 3; grid-row: 2; }
  .ptable td.c-str { grid-column: 3; grid-row: 1 / 3; }
  .ptable td.c-iu { grid-column: 1; }
  .ptable td.c-tc { grid-column: 2; }
  .ptable td.c-tc.empty { display: none; }
  .ptable td.c-act { grid-column: 1 / -1; }
  .ptable td.c-cas.empty { display: none; }
  .lbl { display: block; }
  .empty-row { display: block !important; }
  .empty-row td { padding: 40px 20px; }
}
/* under 1101px: categories fold into a button above the list */
@media (max-width: 1100px) {
  .shop { grid-template-columns: 1fr; gap: 20px; padding-top: 36px; }
  .cats { position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .ftoggle { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 1px solid #c9dcee; border-radius: 10px; background: #fff;
             padding: 13px 16px; font: 600 16px/1 var(--sans); color: var(--ink); cursor: pointer; }
  .cats-in { display: none; margin-top: 8px; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; background: #fff; }
  .cats.open .cats-in { display: block; }
  .cats-t { display: none; }
  .cat-list { margin-top: 0; }
}
@media (max-width: 767px) {
  .shop { padding-top: 26px; }
  .rbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .sbox { width: 100%; }
  .ptable tbody tr { grid-template-columns: minmax(0, 1fr) 118px; gap: 10px 14px; padding: 16px; }
  .ptable td.c-name, .ptable td.c-cas { grid-column: 1; }
  .ptable td.c-str { grid-column: 2; grid-row: 1 / 3; }
  .ptable td.c-iu, .ptable td.c-tc, .ptable td.c-act { grid-column: 1 / -1; }
  .thumb, .nodraw { height: 78px; }
}


/* ---------- footer ---------- */
.ft { padding-top: 58px; text-align: center; }
.ft-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ft-logo .logo-i { height: 40px; }
.ft-logo .logo-w { height: 20px; }
.ft-nav { display: flex; justify-content: center; flex-wrap: wrap; margin: 30px 0 50px; }
.ft-nav a { font: 600 16px/20px var(--sans); text-transform: uppercase; color: var(--ink); padding: 10px 19px; text-decoration: none; }
.ft-nav a:hover, .ft-nav a[aria-current="page"] { color: var(--blue-ink); }
.copy { background: var(--ink); color: #fff; font: 600 14px/1.4 var(--sans); padding: 22px var(--gut); }

/* ---------- tablet: the menu folds into the hamburger ---------- */
@media (max-width: 1100px) {
  .burger { display: block; position: relative; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; cursor: pointer; padding: 0; flex: none; }
  .burger i { position: absolute; left: 9px; right: 9px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
  .burger i:nth-child(1) { transform: translateY(-8px); }
  .burger i:nth-child(3) { transform: translateY(8px); }
  .menu-open .burger i:nth-child(1) { transform: rotate(45deg); }
  .menu-open .burger i:nth-child(2) { opacity: 0; }
  .menu-open .burger i:nth-child(3) { transform: rotate(-45deg); }
  .quote { margin-left: 4px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; padding: 6px var(--gut) 18px;
         box-shadow: 0 18px 30px rgba(15,35,58,.12); border-top: 1px solid var(--line);
         opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:last-child { border-bottom: 0; }
  .cards, .cards.c4 { grid-template-columns: 1fr 1fr; }
  .cards.c5 .card { flex-basis: calc((100% - 24px) / 2); }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .slide, .split { grid-template-columns: 1fr; gap: 36px; }
  .side { padding: 0 12px 16px; }
  .head2 { grid-template-columns: 1fr; gap: 18px; }
  .head2 .lead { justify-self: start; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .faq-t { justify-content: flex-start; }
  /* film and photos stack under the text and fade in from the top (as rasyn.ai does on phones) */
  .hero.film, .banner.photo { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .hero.film .in, .banner.photo .in { order: 1; height: auto; padding: 64px var(--gut) 0; }
  .film-v, .banner.photo .fade-r { order: 2; position: relative; width: 100%; height: 440px; margin-top: -10px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 26%, #000 52%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 26%, #000 52%); }
  .banner.photo .fade-r { height: 320px; }
  .vbtn { bottom: 96px; }
  .band.photo .fade-r { position: relative; width: auto; height: 300px; margin: 30px calc(-1 * var(--gut)) -100px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 60%, transparent 100%); }
  .cta.photo { padding: 48px 32px 0; }
  .cta.photo .fade-r { position: relative; width: auto; height: 240px; margin: 26px -32px 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%); }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  :root { --gut: 16px; }
  .hd { height: 66px; }
  html { scroll-padding-top: 80px; }
  .logo { margin-left: 0; gap: 8px; }
  .logo-i { height: 30px; }
  .logo-w { height: 15px; }
  .tag { display: none; }
  .burger { width: 40px; height: 40px; }
  .burger i { left: 8px; right: 8px; }
  .quote { padding: 11px 14px; font-size: 12px; letter-spacing: .04em; }
  .hero { height: auto; min-height: 640px; }
  .dots { display: none; }
  .hero .in, .banner .in { padding: 70px var(--gut) 120px; }
  .hero.film .in, .banner.photo .in { padding: 44px var(--gut) 0; }
  .film-v { height: 340px; }
  .banner.photo .fade-r { height: 240px; }
  .vbtn { bottom: 70px; width: 40px; height: 40px; }
  .band.photo .stats { grid-template-columns: 1fr 1fr; }
  .cta.photo { padding: 40px 20px 0; }
  .cta.photo .fade-r { margin: 22px -20px 0; height: 200px; }
  .hero h1 { font-size: 36px; line-height: 44px; }
  .hero p { font-size: 18px; margin-top: 22px; }
  .banner { height: auto; min-height: 460px; }
  .banner h1 { font-size: 34px; line-height: 42px; }
  .banner p { font-size: 17px; }
  .wave { height: 60px; }
  .ttl, .prose h2 { font-size: 32px; line-height: 40px; }
  .sec { padding: 60px 0; }
  .band { padding: 60px 0 70px; }
  .lead { font-size: 17px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 16px; margin-top: 40px; }
  .stat b { font-size: 38px; }
  .cards { grid-template-columns: 1fr; margin-top: 36px; }
  .cards.c4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cards.c5 { gap: 16px; }
  .cards.c5 .card { flex-basis: 100%; }
  .cards.c4 .card { padding: 12px; }
  .cards.c4 .pic { height: 110px; padding: 10px; }
  .cards.c4 .pic .cic { width: 46px; height: 46px; }
  .cards.c4 h3 { font-size: 16px; }
  .cards.c4 p { display: none; }
  .cards.c4 .count { margin-top: 12px; }
  .steps4 { grid-template-columns: 1fr; margin-top: 36px; }
  .slide { padding: 14px; border-radius: 18px; }
  .chip { font-size: 15px; padding: 9px 12px; }
  .side h2 { font-size: 34px; }
  .side .big { margin-top: 28px; }
  .side .big b { font-size: 46px; }
  .faq-t svg { width: 60px; height: 60px; }
  .faq-t h2 { font-size: 48px; }
  .cta { padding: 44px 20px; border-radius: 18px; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 17px; }
  .contact { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .fgrid { grid-template-columns: 1fr; }
  .ft-nav a { padding: 8px 12px; font-size: 15px; }
}
@media (max-width: 380px) {
  .logo-i { height: 26px; }
  .logo-w { height: 13px; }
  .quote { padding: 10px 11px; font-size: 11px; }
}
/* home: the R&D section shows the molecule photo in the panel; a blue highlighter on the pale card (the R&D page's band uses white) */
.photo-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.side .hl { background: linear-gradient(180deg, transparent 58%, rgba(85,168,255,.3) 58%); }
.side .btn { margin-top: 26px; }

/* R & D page: the heading, then the four services, two to a row */
.hl { font-weight: 700; color: var(--ink); background: linear-gradient(180deg, transparent 58%, rgba(255,255,255,.8) 58%); padding: 0 2px; }
.rd-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.rd-cards .step { padding: 30px 28px; }
.rd-cards .step h3 { font-size: 21px; line-height: 1.3; }
.rd-cards .step p { margin-top: 10px; font-size: 16.5px; line-height: 1.6; }
.rd-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-btn); color: #fff; display: grid; place-items: center; flex: none; }
.rd-ic svg { width: 22px; height: 22px; }
@media (max-width: 767px) {
  .rd-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .rd-cards .step { padding: 24px 20px; }
}
/* five menu items: a little tighter until the screen is wide enough for full spacing */
@media (min-width: 1101px) and (max-width: 1320px) {
  .nav a { padding: 10px 12px; font-size: 15px; }
  .quote { margin-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
