@font-face {
  font-family: Figtree;
  src: url('https://www.genscript.com/dist/genscript-website/us/fonts/Figtree-Regular.1de0e939.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url('https://www.genscript.com/dist/genscript-website/us/fonts/Figtree-SemiBold.54ff5595.woff2') format('woff2');
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --ink: #122c4d;
  --muted: #49637a;
  --accent: #075e8a;
  --line: #d4e0ea;
  --pale: #edf5fa;
  --white: #fff;
  font: 16px/1.55 Figtree, system-ui, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .22em; }
a, button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #d76d0c; outline-offset: 3px; }
button { cursor: pointer; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 5; padding: .65rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.utility { background: var(--pale); }
.util-row, .nav-row, .nav-actions, .section-heading, .controls { display: flex; align-items: center; gap: 1rem; }
.util-row { padding-block: .5rem; font-size: .875rem; }
.util-row span { margin-right: auto; color: var(--muted); }
.util-row a, nav a { text-decoration: none; }
.util-row a:hover, nav a:hover { text-decoration: underline; }
.nav-row { position: relative; min-height: 4.7rem; justify-content: space-between; }
.brand { font-size: 1.7rem; font-weight: 750; letter-spacing: -.045em; text-decoration: none; color: var(--ink); }
.brand span { color: #0785ad; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
nav a { font-weight: 620; color: var(--ink); }
.nav-actions button, .controls button, .close { background: white; color: var(--ink); border: 1px solid var(--line); border-radius: .35rem; padding: .45rem .85rem; }
.nav-actions button:hover, .controls button:hover, .close:hover { background: var(--pale); }
#menu-toggle { display: none; }
.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, #0a203a, #0a4364 65%, #167596); color: white; }
.hero::before { content: ''; z-index: -1; position: absolute; width: min(65rem, 83vw); aspect-ratio: 1; top: -73%; right: -20%; border-radius: 50%; border: 1px solid #95e4df80; box-shadow: 0 0 0 4rem #4bbab817, 0 0 0 8rem #4bbab817, 0 0 0 12rem #4bbab817; }
.hero-inner { display: grid; align-content: center; justify-items: start; min-height: clamp(24rem, 45vw, 42rem); padding-block: 4rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; }
h1 { max-width: 14ch; margin-bottom: 2rem; font-size: clamp(2.9rem, 6vw, 6rem); letter-spacing: -.065em; }
h2 { margin-bottom: 1.35rem; font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.045em; }
h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.button { display: inline-block; padding: .65rem 1.25rem; border: 1px solid transparent; border-radius: .35rem; color: white; background: #09678e; text-decoration: none; font-weight: 675; }
.button:hover { background: #07516e; }
.hero .button { color: #0a3552; background: white; }
.hero .button:hover { background: var(--pale); }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-heading { justify-content: space-between; margin-bottom: 1.5rem; }
.section-heading h2 { margin-bottom: 0; }
.controls { gap: .45rem; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 1fr); gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: .9rem; }
.track > article { scroll-snap-align: start; border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; }
.service { background: #0c3351; color: white; }
.service a { display: inline-block; color: #b7e6f9; margin: 0 1rem 1.15rem; }
.service h3 { margin: 1rem; min-height: 2.3em; }
.art { aspect-ratio: 1.35; background: radial-gradient(ellipse at 68% 38%, #70d6d6a6, #146a842f 43%, transparent 69%), repeating-linear-gradient(131deg, #ffffff13 0 1px, transparent 1px 23px), #13485f; }
.service:nth-child(3n + 2) .art { filter: hue-rotate(24deg); }
.service:nth-child(3n) .art { filter: hue-rotate(-25deg); }
.company, .updates { background: var(--pale); }
.figures { display: grid; grid-template-columns: repeat(auto-fit,minmax(12rem,1fr)); gap: 1.25rem; margin: 1.7rem 0 .8rem; }
.figures div { display: grid; padding: 1rem 0; border-top: 1px solid #8bb3c8; }
.figures dd { grid-row: 1; margin: 0; color: var(--accent); font-size: clamp(1.9rem, 3vw, 3.35rem); font-weight: 700; letter-spacing: -.05em; }
.source-note { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.stories article, .updates-grid article { padding: 1.25rem; background: white; }
.stories p, .type { color: var(--muted); margin-bottom: .5rem; }
.updates-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.updates-grid article { border: 1px solid var(--line); border-radius: .75rem; }
.updates-grid h3 { min-height: 2.3em; }
.type { font-size: .875rem; }
.contact { display: grid; grid-template-columns: .6fr 1.4fr; gap: 2rem; }
.contact form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
label { display: grid; gap: .35rem; }
input, select { padding: .55rem .7rem; max-width: 100%; border: 1px solid #869fb3; border-radius: .35rem; background: white; color: var(--ink); }
.form-action { grid-column: 1/-1; }
.form-action p { margin-top: .75rem; }
footer { background: #0b233c; color: white; padding-block: 2.5rem; }
footer a, footer .brand { color: white; display: block; }
footer h2, footer p { font-size: 1rem; margin-bottom: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 1.25rem; }
dialog { width: min(calc(100% - 2rem), 37rem); max-height: 80vh; color: var(--ink); border: 1px solid var(--line); border-radius: .75rem; padding: 1.3rem; }
dialog::backdrop { background: #081d34a0; }
dialog input { width: 100%; }
dialog form { text-align: right; }
#search-results { padding-left: 1.25rem; }

@media (max-width: 54rem) {
  #menu-toggle { display: block; }
  nav { display: none; position: absolute; z-index: 3; top: 100%; right: 0; min-width: min(17rem, 100%); padding: 1rem; background: white; border: 1px solid var(--line); border-radius: .4rem; }
  nav.open { display: grid; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 35rem) {
  .wrap { width: calc(100% - 2rem); }
  .util-row { flex-wrap: wrap; gap: .6rem; }
  .nav-actions { gap: .4rem; }
  .section-heading { flex-wrap: wrap; }
  .updates-grid, .contact form { grid-template-columns: 1fr; }
  .updates-grid h3 { min-height: 0; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header, .site-header .utility { background: #050b42; color: white; }
.site-header .wrap, .hero .wrap { width: min(calc(100% - 3rem), 1068px); }
.site-header a { color: #fff; }
.util-row { display: grid; grid-template-columns: 1fr minmax(13rem, 20rem) 1.3fr; min-height: 60px; padding-block: .5rem; }
.site-header .brand { position: relative; justify-self: start; padding-left: 2.25rem; line-height: 1; font-size: 1.6rem; letter-spacing: -.035em; }
.site-header .brand::before { content: ''; position: absolute; inset: 0 auto 0 .55rem; margin: auto; width: .8rem; height: 1.35rem; border: .25rem solid #5ea937; border-top-color: transparent; border-radius: 70% 30% 64% 60%; transform: rotate(24deg); }
.site-header .brand small { display: block; color: #80be4b; text-align: right; font-size: .53rem; margin-top: .2rem; letter-spacing: -.01em; }
.search-trigger { min-height: 2.3rem; padding: .25rem 1rem; color: #fff; border: 1px solid #e1e4f7b5; border-radius: 30px; background: transparent; display: flex; align-items: center; justify-content: space-between; text-align: left; }
.search-trigger > span { margin: 0; color: #eef0ff; }
.utility-actions { display: flex; justify-content: flex-end; gap: clamp(.7rem,2vw,1.6rem); text-transform: uppercase; white-space: nowrap; }
.utility-actions span { color: white; margin: 0; }
.site-header .nav-row { height: 60px; min-height: 0; }
.site-header nav a { font-size: .875rem; font-weight: 540; text-transform: uppercase; color: #ebeeff; }
.quick-order { color: #82bc44 !important; text-decoration: none; border: 2px solid #619c42; border-radius: 30px; padding: .45rem 1.8rem; }
.quick-order:hover { color: #fff !important; border-color: #a3d374; }
.hero { background: #061a3a; }
.hero::before { content: none; }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg,#03082566,transparent 76%); }
.hero-inner { min-height: 100svh; padding-bottom: clamp(5rem,13vw,11rem); }
.hero h1 { max-width: none; margin: 0; font-size: clamp(2.5rem,4.7vw,4.5rem); letter-spacing: -.025em; line-height: 1.17; font-weight: 640; }
.hero h1 span { color: #67ac35; }
.hero p { margin: 1.5rem 0 0; font-size: clamp(1.45rem,3.4vw,3rem); line-height: 1.14; }
.video-toggle { position: absolute; right: max(1rem,calc((100% - 1068px)/2)); bottom: 1.4rem; padding: .3rem .75rem; border-radius: 30px; border: 1px solid #fff7; color: white; background: #050b4260; font-size: .875rem; }
.services { overflow: hidden; background: #050b42; color: white; text-align: center; padding-bottom: 4.6rem; }
.services-intro h2 { margin-bottom: 1.25rem; font-weight: 480; letter-spacing: -.025em; }
.services-intro p { margin-bottom: 0; font-size: 1.1rem; line-height: 1.3; }
#services-track { padding: 1rem max(1.25rem,calc((100vw - 1068px)/2)); margin: 2.5rem 0 0; text-align: left; }
#services-track .service { position: relative; display: flex; flex-direction: column; justify-content: end; min-height: 18rem; isolation: isolate; padding: 1rem; background: var(--card-color,#12519f); border: 1px solid #ffffff45; border-radius: 1rem; }
.service .art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; background: linear-gradient(0deg,#02082966,transparent 70%),var(--card-image,none) center / cover no-repeat,radial-gradient(ellipse at 62% 23%, #f1ffff60, transparent 55%); filter: none !important; }
#services-track .service h3 { margin: 0; min-height: 0; font-size: 1.5rem; line-height: 1.08; letter-spacing: -.03em; }
#services-track .service p { margin: .6rem 0 0; font-size: .87rem; }
#services-track .service a { margin: .5rem 0 0; color: #fff; font-weight: 650; }
.fan-controls { justify-content: center; margin-top: 1.4rem; gap: 1.4rem; }
.fan-controls > button { width: 3rem; height: 3rem; padding: 0; border: 1px solid #8493cf75; border-radius: 50%; background: radial-gradient(circle at 40% 10%, #46568e,#24346a); color: white; font-size: 1.45rem; }
.fan-controls > button:hover { background: #3f559b; }
#fan-indicators { display: flex; align-items: center; }
#fan-indicators button { width: 14px; height: 24px; border: 0; padding: 0; background: transparent; }
#fan-indicators button::before { content: ''; display: block; margin: auto; width: 5px; height: 13px; background: #b0b9e9; border-radius: 5px; transform: rotate(32deg); }
#fan-indicators button[aria-current='true']::before { width: 6px; height: 17px; background: #4166ff; }
.company { text-align: center; background: linear-gradient(155deg,#eaf6ff 0, white 39%,#f5f8fd 100%); }
#company-title { color: #244bbb; font-weight: 550; }
#company-title span { color: #61a43c; }
.company .figures div { border: 0; }
.company .figures dd { color: #090c49; font-weight: 520; }
#customers { width: 100%; max-width: none; padding-inline: max(1.5rem,calc((100vw - 1068px)/2)); color: white; border-radius: 30px 30px 0 0; background: repeating-linear-gradient(126deg, #283a971f 0 8rem,transparent 8rem 16rem),linear-gradient(110deg,#101d72,#213fae); }
#customers .stories article { background: #ffffff12; border-color: #dadeff45; }
#customers .stories a, #customers .stories p { color: #ebeeff; }

@media (min-width: 58rem) {
  #services-track { display: block; position: relative; overflow: visible; height: min(36vw, 450px); max-width: 1440px; margin-inline: auto; padding: 0; }
  #services-track .service { position: absolute; width: clamp(10.1rem,16vw,13.8rem); min-height: 0; aspect-ratio: 0.715; left: 50%; top: .25rem; padding: 1.12rem; z-index: var(--stack,1); transform: translateX(calc(-50% + var(--step,0) * clamp(5.6rem,9.7vw,9rem))) translateY(var(--drop,0px)) rotate(var(--lean,0deg)) scale(var(--size,1)); transition: transform .56s cubic-bezier(.22,.82,.32,1), box-shadow .3s; transform-origin: 50% 80%; }
  #services-track .service.is-active { border-color: #e1f7bb; box-shadow: 0 14px 44px #03072e8f; }
  #services-track .service:not(.is-active) p, #services-track .service:not(.is-active) a { display: none; }
  #services-track .service:focus-visible { z-index: 22; }
}

@media (max-width: 54rem) {
  .util-row { grid-template-columns: 1fr minmax(7rem,13rem); }
  .utility-actions { display: none; }
  .site-header .nav-row { height: 48px; justify-content: flex-end; }
  .site-header nav { background: #091354; border-color: #6879b0; }
  .quick-order { padding: .2rem .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  #services-track .service { transition: none; }
}
