/* Gunina Global site styles */

:root {
  --bg: #FFFFFF;
  --ink: #15202B;
  --ink-2: #3A4653;
  --muted: #5B6672;
  --rule: #D8DDE3;
  --rule-2: #E9ECEF;
  --tint: #F3F5F7;
  --orange: #C4461B;
  --orange-dark: #9E3612;
  --orange-light: #F79A6E;
  --brand: #F26522;
  --dark: #142130;
  --dark-2: #1D2C3C;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --hdr: 4.75rem;
  --hdr-offset: 0px;
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 max(16px, 1.0625rem)/1.65 var(--sans); }
img, svg, video { display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2 { font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 3vw + 1.2rem, 3.9rem); }
h2 { font-size: clamp(1.9rem, 2vw + 1.1rem, 2.9rem); }
h3 { font-size: max(16.5px, 1.12rem); font-weight: 600; line-height: 1.35; }
h4 { font-size: max(15px, 1rem); font-weight: 600; line-height: 1.4; }
a { color: var(--orange); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .1875rem; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: .75rem; top: -3.125rem; background: var(--ink); color: #fff; padding: .5rem .875rem; z-index: 40; }
.skip:focus { top: .5rem; }

.wrap { max-width: 77.5rem; margin: 0 auto; padding: 0 2rem; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2rem; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }

/* Buttons: a fill that sweeps in from the left and an arrow that nudges forward */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .875rem 1.5rem; border: 1px solid var(--orange); border-radius: 2px; background: var(--orange); color: #fff; font: 600 max(14.5px, .96875rem)/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: color .4s var(--ease), border-color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange-dark); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.btn::after { content: ""; width: .875rem; height: .625rem; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .4s var(--ease); }
.btn:hover { color: #fff; border-color: var(--orange-dark); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover::after { transform: translateX(.25rem); }
.btn:active { transform: translateY(1px); }
.btn-light { background: transparent; border-color: rgba(255, 255, 255, .6); }
.btn-light::before { background: #fff; }
.btn-light:hover { color: var(--ink); border-color: #fff; }
.small { font-size: max(13.5px, .90625rem); }
.muted { color: var(--muted); }

.arrow-link { display: inline-flex; align-items: center; gap: .625rem; font-weight: 600; text-decoration: none; }
.arrow-link::after { content: ""; width: .875rem; height: .625rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .4s var(--ease); }
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: translateX(.25rem); }

.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.125rem; font-size: max(12px, .8125rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.dark .eyebrow, .eyebrow.light { color: var(--orange-light); }

/* Top bar and header. Over a dark banner the header starts transparent and turns white on scroll. */
.topbar { position: relative; z-index: 21; background: #0E1824; color: rgba(255, 255, 255, .72); font-size: max(12.5px, .84375rem); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1.25rem; padding-top: .5625rem; padding-bottom: .5625rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar p span + span::before { content: "|"; margin: 0 .625rem; color: rgba(255, 255, 255, .3); }

.header { position: sticky; top: 0; z-index: 20; margin-bottom: calc(var(--hdr) * -1); color: #fff; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .14); transition: background-color .4s, border-color .4s, box-shadow .4s, color .4s, transform .5s var(--ease); }
.header .wrap { display: flex; align-items: center; gap: 1.5rem; height: var(--hdr); }
.header:hover, .header:focus-within, .header.is-scrolled, .header.menu-open { background: #fff; color: var(--ink); border-color: var(--rule); }
.header.is-scrolled { box-shadow: 0 .5rem 1.5rem rgba(20, 33, 48, .08); }
.header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.logo { display: flex; align-items: center; gap: .625rem; color: inherit; text-decoration: none; }
.logo svg { width: 2.25rem; height: 2.25rem; }
.logo b { font: 700 1.1875rem/1 var(--sans); letter-spacing: .07em; }
.logo b small { display: block; font-size: .59375rem; font-weight: 600; letter-spacing: .4em; opacity: .62; margin-top: .25rem; }
.logo:hover { color: inherit; }
.nav { margin-left: auto; align-self: stretch; display: flex; align-items: center; gap: .5rem; }
.nav-list { display: flex; align-self: stretch; }
.nav-list > li { list-style: none; position: relative; display: flex; align-items: center; }
.nav-list > li > a { position: relative; color: inherit; text-decoration: none; font-size: max(14.5px, .96875rem); font-weight: 500; padding: .5rem .875rem; }
.nav-list > li > a::before { content: ""; position: absolute; left: .875rem; right: .875rem; bottom: 0; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-list > li > a:hover::before, .has-sub:hover > a::before, .nav-list > li > a[aria-current="page"]::before { transform: scaleX(1); transform-origin: left; }
.nav-list > li > a:hover, .has-sub:hover > a { color: inherit; }
.has-sub > a::after { content: ""; display: inline-block; width: .375rem; height: .375rem; margin-left: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.1875rem) rotate(45deg); opacity: .65; transition: transform .3s var(--ease); }
.has-sub:hover > a::after { transform: translateY(0) rotate(225deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 16.25rem; padding: .625rem 0; background: #fff; border: 1px solid var(--rule); border-top: 2px solid var(--orange); box-shadow: 0 1.5rem 3rem rgba(20, 33, 48, .14); opacity: 0; visibility: hidden; transform: translateY(.625rem); clip-path: inset(0 0 100% 0); transition: opacity .25s, transform .45s var(--ease), clip-path .45s var(--ease), visibility 0s .45s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 -2.5rem 0); transition: opacity .25s, transform .45s var(--ease), clip-path .45s var(--ease); }
.sub li { list-style: none; }
.sub a { position: relative; display: block; padding: .5rem 1.375rem; color: var(--ink); text-decoration: none; font-size: max(14px, .9375rem); transition: color .2s, background-color .2s, padding-left .35s var(--ease); }
.sub a:hover { background: var(--tint); color: var(--orange); padding-left: 1.75rem; }
.sub.cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 33.75rem; left: auto; right: -2.5rem; }
.nav-list > li:last-child .sub { left: auto; right: 0; }
.sub-note { grid-column: 1 / -1; margin-top: .5rem; padding: .75rem 1.375rem 2px; border-top: 1px solid var(--rule-2); font-size: max(13px, .875rem); color: var(--muted); }
.sub .sub-note a { display: inline; padding: 0; color: var(--orange); text-decoration: underline; font-size: max(13px, .875rem); }
.sub .sub-note a:hover { background: none; padding: 0; }
.nav .btn { margin-left: .625rem; padding: .6875rem 1.125rem; font-size: max(14px, .9375rem); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid currentColor; border-radius: 2px; padding: .5625rem .75rem; font-size: max(14px, .9375rem); font-weight: 600; cursor: pointer; opacity: .9; }
.nav-extra { display: none; }

/* Background video, with a small pause button */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--dark); }
.vid-toggle { position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 4; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(13, 21, 30, .35); color: #fff; cursor: pointer; backdrop-filter: blur(.375rem); transition: background-color .3s, border-color .3s; }
.vid-toggle:hover { background: rgba(13, 21, 30, .7); border-color: #fff; }
.vid-toggle::before { content: ""; position: absolute; inset: 0; margin: auto; width: .625rem; height: .75rem; background: currentColor; clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }
.vid-toggle[aria-pressed="true"]::before { left: .1875rem; clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* Home: hero with video */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(41.25rem, calc(100svh - 2.375rem)); background: var(--dark); color: #fff; }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 17, 26, .9) 0%, rgba(10, 17, 26, .66) 45%, rgba(10, 17, 26, .2) 100%), linear-gradient(0deg, rgba(10, 17, 26, .75) 0%, rgba(10, 17, 26, 0) 40%); }
.hero-body { position: relative; z-index: 2; width: 100%; }
.hero-text { max-width: 47.5rem; padding: calc(var(--hdr) + 5rem) 0 4.5rem; will-change: transform, opacity; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 4.2vw + 1rem, 4.7rem); line-height: 1.04; letter-spacing: -.035em; }
.hero .lead { color: rgba(255, 255, 255, .84); max-width: 34em; }
.kicker { display: flex; align-items: center; gap: .75rem; font-size: max(12.5px, .84375rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-light); margin-bottom: 1.5rem; }
.kicker::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.lead { font-size: 1.1875rem; color: var(--ink-2); margin-top: 1.5rem; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem 1.5rem; margin-top: 2.25rem; }
.hero-foot { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-foot .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 1.5rem; padding-right: 6rem; }
.hero-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; max-width: 53.75rem; }
.hero-links li { list-style: none; }
.hero-links a { position: relative; display: block; height: 100%; padding: 1.375rem 1.5rem 1.5rem 0; color: rgba(255, 255, 255, .86); text-decoration: none; font-size: max(14px, .9375rem); font-weight: 500; line-height: 1.35; }
.hero-links a::before { content: ""; position: absolute; left: 0; right: 1.5rem; top: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hero-links a:hover { color: #fff; }
.hero-links a:hover::before { transform: scaleX(1); transform-origin: left; }
.hero-links span { display: block; font-family: var(--mono); font-size: max(12px, .75rem); color: var(--orange-light); margin-bottom: .375rem; }
.hero-place { align-self: center; font-size: max(12.5px, .84375rem); color: rgba(255, 255, 255, .62); white-space: nowrap; }

/* Platforms marquee */
.platforms { border-bottom: 1px solid var(--rule); overflow: hidden; }
.platforms .wrap { display: flex; align-items: center; gap: .875rem 2.5rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.platforms p { flex: 0 0 auto; max-width: 11em; font-size: max(13px, .875rem); line-height: 1.4; color: var(--muted); }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: 0 0 auto; }
.marquee li { list-style: none; padding: 0 1.75rem; font-size: 1.3125rem; font-weight: 600; letter-spacing: -.01em; color: #6A7581; white-space: nowrap; transition: color .3s; }
.marquee li:hover { color: var(--ink); }
.marquee li::after { content: ""; display: inline-block; width: .375rem; height: .375rem; margin-left: 3.5rem; border-radius: 50%; background: var(--brand); vertical-align: middle; opacity: .7; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* Sections */
.section { padding: 7rem 0; }
.section-sm { padding: 3.75rem 0; }
.tint { background: var(--tint); }
.ruled { border-top: 1px solid var(--rule); }
.sec-head { margin-bottom: 3.25rem; align-items: end; }
.sec-head p { color: var(--ink-2); }
.sec-head p + p { margin-top: .625rem; }
.section-note { color: var(--ink-2); margin-top: 1.125rem; }
.more-link { margin-top: 1.75rem; font-weight: 600; }

/* Home: statement and figures */
.statement { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.45rem); font-weight: 400; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); max-width: 30em; }
.statement .sw { transition: opacity .2s linear; }
.intro-foot { margin-top: 4.5rem; align-items: start; }
.intro-foot .prose { max-width: 32em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.stats > div { padding: 1.625rem 0 1.75rem; border-bottom: 1px solid var(--rule); }
.stats > div:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--rule); }
.stats > div:nth-child(even) { padding-left: 2rem; }
.stats dd { font-size: clamp(2.6rem, 3vw + 1rem, 3.8rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats dd small { font-size: .5em; font-weight: 400; color: var(--orange); margin-left: 2px; }
.stats dt { margin-top: .625rem; font-size: max(13.5px, .90625rem); color: var(--muted); }
.stats > div { display: flex; flex-direction: column-reverse; }

/* Home: services slider. On wide screens the section pins and the cards slide sideways as you scroll. */
.hs { position: relative; background: var(--dark); color: rgba(255, 255, 255, .82); }
.hs-pin { display: flex; flex-direction: column; justify-content: center; gap: 2.75rem; padding: 6.5rem 0; overflow: hidden; }
.hs.is-pinned .hs-pin { position: sticky; top: 0; height: 100svh; padding: 6rem 0 3rem; gap: 2.25rem; }
.hs-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.hs-head h2 { color: #fff; max-width: 13em; }
.hs-side { display: flex; flex-direction: column; align-items: flex-end; gap: 1.375rem; max-width: 30em; }
.hs-side p { color: rgba(255, 255, 255, .72); font-size: max(15px, 1rem); }
.hs-ctrl { display: flex; align-items: center; gap: 1.125rem; flex: 0 0 auto; }
.hs-count { font-family: var(--mono); font-size: max(12px, .8125rem); color: rgba(255, 255, 255, .6); min-width: 4rem; }
.hs-count b { color: #fff; font-weight: 500; }
.hs-btn { width: 3rem; height: 3rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s; }
.hs-btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hs-btn::before { content: ""; display: block; width: .875rem; height: .625rem; margin: auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.hs-btn[data-dir="-1"]::before { transform: scaleX(-1); }
.hs-btn:disabled { opacity: .3; cursor: default; background: none; color: #fff; border-color: rgba(255, 255, 255, .3); }
.hs-bar { height: 1px; margin-top: 1.75rem; background: rgba(255, 255, 255, .16); }
.hs-bar span { display: block; height: 2px; margin-top: -.5px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.hs-view { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hs-view::-webkit-scrollbar { display: none; }
.hs.is-pinned .hs-view { overflow: visible; }
.hs-track { display: flex; gap: 1.5rem; width: max-content; padding: 0 max(2rem, calc((100vw - 77.5rem) / 2 + 2rem)); will-change: transform; }
.card { position: relative; flex: 0 0 auto; width: clamp(17.5rem, calc(clamp(21.25rem, 100svh - 22.5rem, 35rem) * .8), 28.125rem); height: clamp(21.25rem, calc(100svh - 22.5rem), 35rem); overflow: hidden; list-style: none; scroll-snap-align: start; background: var(--dark-2); color: #fff; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 17, 26, .15) 0%, rgba(10, 17, 26, .3) 40%, rgba(10, 17, 26, .92) 100%); transition: background-color .5s; }
.card:hover img { transform: scale(1.1); filter: saturate(1.05); }
.card:hover::before { background-color: rgba(196, 70, 27, .18); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.75rem 1.75rem 1.875rem; }
.card-no { position: absolute; top: 1.5rem; left: 1.75rem; z-index: 2; font-family: var(--mono); font-size: max(12px, .8125rem); color: rgba(255, 255, 255, .8); }
.card-no::after { content: ""; display: inline-block; width: 1.5rem; height: 1px; margin-left: .625rem; vertical-align: middle; background: currentColor; transition: width .5s var(--ease); }
.card:hover .card-no::after { width: 3.5rem; }
.card h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.card h3 a { color: #fff; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card p { margin-top: .625rem; font-size: max(14.5px, .96875rem); color: rgba(255, 255, 255, .8); }
.card .tools { color: var(--orange-light); }
.card-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.card-more > div { overflow: hidden; }
.card:hover .card-more, .card:focus-within .card-more { grid-template-rows: 1fr; }
.card-end { display: flex; flex-direction: column; padding: 2rem 1.875rem; background: var(--brand); }
.card-end > div { margin-top: auto; }
.card-end > div .small { margin-top: .875rem; }
.card-end::before { display: none; }
.card-end h3 { font-size: 1.7rem; color: #fff; }
.card-end p { color: rgba(255, 255, 255, .92); font-size: max(16px, 1.0625rem); margin-top: 1.125rem; }
.card-end .btn { background: #fff; border-color: #fff; color: var(--ink); align-self: flex-start; }
.card-end .btn::before { background: var(--dark); }
.card-end .btn:hover { color: #fff; border-color: var(--dark); }
.card-end a:not(.btn) { color: #fff; }

/* Home: how a project runs (sticky video beside steps that light up in turn) */
.how-media { position: sticky; top: calc(var(--hdr-offset) + 2.5rem); overflow: hidden; aspect-ratio: 4 / 5; background: var(--dark); }
.how-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 17, 26, .35), rgba(10, 17, 26, 0) 40%); pointer-events: none; }
.how-media-col { align-self: stretch; }
.how-steps { position: relative; margin-top: 3rem; padding-left: 4rem; counter-reset: step; }
.how-steps::before, .how-steps::after { content: ""; position: absolute; left: 1.1875rem; top: .5rem; bottom: .5rem; width: 1px; background: var(--rule); }
.how-steps::after { width: 2px; left: 1.15625rem; background: var(--brand); transform: scaleY(var(--p, 0)); transform-origin: top; }
.how-steps:first-child { margin-top: .5rem; }
.how-steps li { position: relative; list-style: none; padding: 0 0 3.25rem; transition: opacity .5s; }
.how-steps li:last-child { padding-bottom: 0; }
.how-steps .no { position: absolute; left: -4rem; top: -.375rem; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--rule); border-radius: 50%; background: var(--bg); font-family: var(--mono); font-size: max(12px, .8125rem); color: var(--muted); transition: background-color .5s, border-color .5s, color .5s; }
.how-steps h3 { font-size: 1.35rem; font-weight: 500; }
.how-steps p { margin-top: .5rem; color: var(--ink-2); max-width: 34em; }
.js .how-steps li { opacity: .38; }
.js .how-steps li.is-on { opacity: 1; }
.how-steps li.is-on .no { background: var(--brand); border-color: var(--brand); color: #fff; }
.dark .how-steps::before { background: rgba(255, 255, 255, .16); }
.dark .how-steps .no { background: var(--dark); border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .7); }
.dark .how-steps p { color: rgba(255, 255, 255, .78); }
.tint .how-steps .no { background: var(--tint); }

/* Home: video band that opens out to the full width as it scrolls into view */
.reel { position: relative; display: flex; align-items: flex-end; min-height: max(40rem, 100svh); color: #fff; overflow: hidden; }
.reel-media { position: absolute; inset: 0; clip-path: inset(var(--ry, 0px) var(--rx, 0px) round var(--rr, 0px)); background: var(--dark); }
.reel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 17, 26, .92) 0%, rgba(10, 17, 26, .55) 45%, rgba(10, 17, 26, .2) 100%); }
.reel-text { position: relative; z-index: 2; width: 100%; padding-top: 10rem; padding-bottom: 5.5rem; }
.reel h2 { color: #fff; max-width: 14em; font-size: clamp(2.1rem, 3vw + 1rem, 3.6rem); }
.reel-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 3.5rem; }
.reel-points li { list-style: none; padding-top: 1.375rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.reel-points h3 { color: #fff; }
.reel-points p { margin-top: .375rem; font-size: max(15px, 1rem); color: rgba(255, 255, 255, .78); }

/* Industries: a list that drives a picture panel, moving on by itself until someone picks one */
.ind { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; align-items: stretch; }
.ind-media { position: relative; overflow: hidden; min-height: 32.5rem; background: var(--dark); }
.ind-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease-io), transform 1.6s var(--ease), opacity 0s 1.1s; }
.ind-media img.is-active { z-index: 2; opacity: 1; transform: none; clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-io), transform 1.6s var(--ease), opacity 0s; }
.ind-media img.was-active { z-index: 1; opacity: 1; transform: scale(1.04); clip-path: inset(0 0 0 0); transition: transform 1.2s var(--ease); }
.ind-media img[data-pos="top"] { object-position: center 30%; }
.ind-caption { position: absolute; left: 0; bottom: 0; z-index: 3; padding: 1.125rem 1.375rem; background: rgba(10, 17, 26, .72); color: #fff; font-size: max(13px, .875rem); backdrop-filter: blur(.375rem); }
.ind-list { border-top: 1px solid var(--rule); }
.ind-list li { list-style: none; border-bottom: 1px solid var(--rule); }
.ind-list button { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 .75rem; width: 100%; padding: 1rem 0; border: 0; background: none; text-align: left; cursor: pointer; }
.ind-list .no { grid-row: span 2; font-family: var(--mono); font-size: max(12px, .78125rem); color: var(--muted); padding-top: .25rem; }
.ind-list b { font-size: max(16.5px, 1.1rem); font-weight: 500; transition: color .3s, transform .45s var(--ease); }
.ind-list button > span:last-of-type { display: grid; grid-template-rows: 0fr; font-size: max(14px, .9375rem); color: var(--muted); opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .4s; }
.ind-list button > span:last-of-type > span { overflow: hidden; }
.ind-list button:hover b { color: var(--orange); }
.ind-list button[aria-pressed="true"] b { color: var(--ink); transform: translateX(.375rem); }
.ind-list button[aria-pressed="true"] .no { color: var(--orange); }
.ind-list button[aria-pressed="true"] > span:last-of-type { grid-template-rows: 1fr; opacity: 1; }
.ind-list button[aria-pressed="true"] > span:last-of-type > span { padding-top: .25rem; }
.ind-timer { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.ind-list button[aria-pressed="true"] .ind-timer { animation: timer var(--ind-time, 5s) linear forwards; }
.ind.is-paused .ind-timer, .ind.is-still .ind-timer { animation-play-state: paused; }
.ind.is-still button[aria-pressed="true"] .ind-timer { animation: none; transform: scaleX(1); }
@keyframes timer { to { transform: scaleX(1); } }

/* Careers band: job titles ticker */
.ticker { overflow: hidden; margin-bottom: 4.5rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ticker-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ticker-track > div { display: flex; flex: 0 0 auto; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { padding: 0 1.625rem; font-size: clamp(1.3rem, 1.2vw + 1rem, 2rem); font-weight: 300; letter-spacing: -.01em; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.ticker span::after { content: "/"; margin-left: 3.25rem; color: var(--brand); }
.dark { background: var(--dark); color: rgba(255, 255, 255, .82); }
.dark h2, .dark h3 { color: #fff; }
.dark a:not(.btn) { color: var(--orange-light); }
.dark a:not(.btn):hover { color: #fff; }
.dark .muted { color: rgba(255, 255, 255, .62); }
.dark .lead, .dark .prose p { color: rgba(255, 255, 255, .82); }
.section.dark.careers-band { padding-top: 0; }
.lead + .plain-list { margin-top: 1.75rem; }
.plain-list li { list-style: none; padding: .75rem 0 .75rem 1.75rem; border-top: 1px solid var(--rule); position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 1.375rem; width: .875rem; height: 1px; background: var(--brand); }
.dark .plain-list li { border-color: rgba(255, 255, 255, .14); }

/* Closing band with a drifting photo */
.cta-band { position: relative; overflow: hidden; padding: 10rem 0 8rem; background: var(--dark); color: rgba(255, 255, 255, .84); }
.cta-band > img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; translate: 0 var(--py, 0px); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 17, 26, .93) 0%, rgba(10, 17, 26, .78) 55%, rgba(10, 17, 26, .5) 100%); }
.cta-band .wrap { position: relative; z-index: 2; align-items: end; }
.cta-band h2 { color: #fff; font-size: clamp(2.3rem, 3.4vw + 1rem, 4rem); }
.cta-band .lead { color: rgba(255, 255, 255, .84); }
.cta-band .aside { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 2rem; }
.cta-band .aside h3 { color: #fff; }
.cta-band .aside p { margin-top: .625rem; font-size: max(15px, 1rem); }
.cta-band a:not(.btn) { color: var(--orange-light); }
.cta-band a:not(.btn):hover { color: #fff; }

.closing .aside { border-left: 1px solid var(--rule); padding-left: 2rem; }
.closing .aside p { color: var(--ink-2); margin-top: .625rem; font-size: max(15px, 1rem); }

/* Lists and text blocks */
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--ink-2); }
h2 + .prose { margin-top: 1.5rem; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.25rem; margin-top: 2.25rem; }
.points li { list-style: none; position: relative; padding: 1.375rem 0 1.5rem; border-top: 1px solid var(--rule); }
.points li::before { content: ""; position: absolute; left: 0; top: -1px; width: 2rem; height: 2px; background: var(--brand); transition: width .6s var(--ease); }
.points li:hover::before { width: 100%; }
.points p { margin-top: .375rem; font-size: max(15px, 1rem); color: var(--ink-2); }
.points.flush { margin-top: 0; }
.facts { display: grid; grid-template-columns: 11.875rem minmax(0, 1fr); margin-top: 2rem; border-top: 1px solid var(--rule); font-size: max(14.5px, .96875rem); }
.facts dt, .facts dd { padding: .8125rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); padding-right: 1rem; }
.facts.flush { margin-top: 0; }
.meta { margin-top: .875rem; font-size: max(13.5px, .90625rem); color: var(--muted); }
.table-intro { color: var(--ink-2); margin-bottom: 1.5rem; }

.loc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.25rem; }
.loc-list li { list-style: none; padding: 1rem 0; border-top: 1px solid var(--rule); transition: padding-left .4s var(--ease); }
.loc-list li:hover { padding-left: .5rem; }
.loc-list b { display: block; font-weight: 600; }
.loc-list span { font-size: max(14px, .9375rem); color: var(--muted); }
.loc-list .hq { grid-column: 1 / -1; padding: 1.25rem 0 1.375rem; }
.loc-list .hq b { font-size: 1.35rem; font-weight: 500; }
.loc-list .hq span { display: block; margin-top: 2px; }

/* Openings panel and job search */
.openings { background: #fff; border: 1px solid var(--rule); color: var(--ink); box-shadow: 0 1.875rem 3.75rem rgba(0, 0, 0, .18); }
.openings-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .8125rem 1.125rem; background: var(--tint); border-bottom: 1px solid var(--rule); }
.openings-head h2, .openings-head h3 { font-size: max(14.5px, .96875rem); font-weight: 600; color: var(--ink); }
.openings-head span { font-size: max(12.5px, .84375rem); color: var(--muted); }
.openings li { list-style: none; border-bottom: 1px solid var(--rule-2); }
.openings li a { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 1rem; padding: .8125rem 1.125rem; color: var(--ink); text-decoration: none; transition: background-color .25s, padding-left .4s var(--ease); }
.openings li a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .1875rem; background: var(--brand); transform: scaleY(0); transition: transform .35s var(--ease); }
.openings li a:hover { background: var(--tint); color: var(--ink); padding-left: 1.5rem; }
.openings li a:hover::before { transform: scaleY(1); }
.openings li a:hover b { color: var(--orange); }
.openings li b { font-weight: 600; font-size: max(14.5px, .96875rem); }
.openings li span { grid-column: 1; font-size: max(13px, .875rem); color: var(--muted); }
.openings li time { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: max(12.5px, .84375rem); color: var(--muted); font-variant-numeric: tabular-nums; }
.openings-foot { padding: .875rem 1.125rem; font-size: max(14px, .9375rem); font-weight: 600; }
.dark .openings h3 { color: var(--ink); }
.dark .openings li a { color: var(--ink); }
.dark .openings-foot a { color: var(--orange); }
.dark .openings-foot a:hover { color: var(--orange-dark); }
.job-search { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: .625rem; align-items: end; padding: 1.125rem; border-bottom: 1px solid var(--rule); }
.job-search label { display: block; font-size: max(12.5px, .84375rem); font-weight: 600; margin-bottom: .375rem; }
.job-search input, .job-search select { width: 100%; height: 3rem; border: 1px solid var(--rule); border-radius: 2px; background: #fff; padding: 0 .75rem; font-size: max(14.5px, .96875rem); }
.job-search input:focus, .job-search select:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.job-search .btn { height: 3rem; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(28.75rem, 68svh, 43.75rem); background: var(--dark); color: #fff; }
.page-hero > img, .page-hero > .bg-video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 17, 26, .92) 0%, rgba(10, 17, 26, .72) 50%, rgba(10, 17, 26, .3) 100%), linear-gradient(0deg, rgba(10, 17, 26, .6) 0%, rgba(10, 17, 26, 0) 45%); }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--hdr) + 4.5rem); padding-bottom: 5.5rem; }
.page-hero h1 { color: #fff; max-width: 14em; font-size: clamp(2.6rem, 3.6vw + 1rem, 4.4rem); line-height: 1.05; letter-spacing: -.03em; }
.page-hero .lead { color: rgba(255, 255, 255, .86); max-width: 36em; }
.page-hero.plain { min-height: 0; }
.page-hero.plain::before { display: none; }
.page-hero.plain .wrap { padding-top: calc(var(--hdr) + 4rem); padding-bottom: 4.5rem; }
.crumbs { font-size: max(13px, .875rem); color: var(--muted); margin-bottom: 1.375rem; }
.crumbs a { color: var(--muted); }
.page-hero .crumbs, .page-hero .crumbs a { color: rgba(255, 255, 255, .72); }
.page-hero .crumbs a:hover { color: #fff; }

.jumpbar { position: sticky; top: var(--hdr-offset); z-index: 15; background: rgba(255, 255, 255, .94); backdrop-filter: blur(.625rem); border-bottom: 1px solid var(--rule); transition: top .5s var(--ease); }
.jumpbar ul { position: relative; display: flex; gap: .25rem 1.875rem; overflow-x: auto; scrollbar-width: none; }
.jumpbar ul::-webkit-scrollbar { display: none; }
.jumpbar li { list-style: none; flex: 0 0 auto; }
.jumpbar a { display: block; padding: 1.0625rem 0; color: var(--ink-2); text-decoration: none; font-size: max(14px, .9375rem); font-weight: 500; white-space: nowrap; transition: color .25s; }
.jumpbar a:hover, .jumpbar a.is-on { color: var(--orange); }
.jump-ink { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand); transition: transform .5s var(--ease), width .5s var(--ease); pointer-events: none; }

.svc { padding: 4rem 0; border-top: 1px solid var(--rule); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc h2 { font-size: clamp(1.7rem, 1vw + 1.2rem, 2.1rem); }
.svc .num { display: block; font-family: var(--mono); font-size: max(12px, .8125rem); color: var(--orange); margin-bottom: .875rem; }
.svc p { color: var(--ink-2); }
.svc h3 { font-size: max(14px, .9375rem); margin: 1.5rem 0 .5rem; }
.bullets { padding-left: 1.15em; }
.bullets li { margin-top: .3125rem; }
.bullets li::marker { color: var(--orange); }

table { width: 100%; border-collapse: collapse; font-size: max(14.5px, .96875rem); }
th { text-align: left; font-size: max(13px, .875rem); font-weight: 600; color: var(--muted); padding: 0 1rem .625rem 0; border-bottom: 1px solid var(--ink-2); }
td { padding: 1.125rem 1rem 1.125rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
td:first-child { color: var(--ink); font-weight: 600; width: 24%; }
tbody tr { transition: background-color .3s; }
tbody tr:hover { background: rgba(255, 255, 255, .7); }
.note-line { margin-top: 1.375rem; font-size: max(14.5px, .96875rem); color: var(--ink-2); }

.legal-doc { max-width: 46em; }
.legal-doc h2 { font-size: 1.5rem; margin-top: 3rem; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--ink-2); }
.legal-doc p { margin-top: .875rem; }
.legal-doc ul { margin-top: .75rem; padding-left: 1.2em; }
.legal-doc li { margin-top: .375rem; }
.legal-doc li::marker { color: var(--orange); }
.toc { font-size: max(14px, .9375rem); border-left: 1px solid var(--rule); padding-left: 1.5rem; position: sticky; top: calc(var(--hdr-offset) + 2rem); align-self: start; transition: top .5s var(--ease); }
.toc h2 { font-size: max(13px, .875rem); font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: .5rem; }
.toc li { list-style: none; padding: .1875rem 0; }

/* Careers: job board */
.jobs-intro { margin-bottom: 2.75rem; }
.filters { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr auto; gap: .75rem; align-items: end; margin-bottom: 1.625rem; }
.filters label, .form label { display: block; font-size: max(13px, .875rem); font-weight: 600; margin-bottom: .375rem; }
.filters input, .filters select, .form input, .form select, .form textarea { width: 100%; border: 1px solid var(--rule); border-radius: 2px; background: #fff; padding: .625rem .75rem; font-size: max(14.5px, .96875rem); transition: border-color .2s, box-shadow .2s; }
.filters input, .filters select { height: 3rem; }
.filters input:focus, .filters select:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); box-shadow: 0 0 0 .25rem rgba(242, 101, 34, .12); }
.link-btn { background: none; border: 0; padding: 0 0 .75rem; color: var(--orange); text-decoration: underline; text-underline-offset: .1875rem; cursor: pointer; font-size: max(14px, .9375rem); white-space: nowrap; }
.count-line { font-size: max(14px, .9375rem); color: var(--muted); margin-bottom: .5rem; }
.job-cols { display: grid; grid-template-columns: minmax(0, 2.4fr) 1.25fr 1.15fr .65fr 1.125rem; gap: 1rem; }
.job-head { font-size: max(13px, .875rem); font-weight: 600; color: var(--muted); padding-bottom: .625rem; border-bottom: 1px solid var(--ink-2); }
.job { position: relative; border-bottom: 1px solid var(--rule); animation: row-in .6s var(--ease) both; }
.job:nth-child(2) { animation-delay: .04s; }
.job:nth-child(3) { animation-delay: .08s; }
.job:nth-child(4) { animation-delay: .12s; }
.job:nth-child(5) { animation-delay: .16s; }
.job:nth-child(6) { animation-delay: .2s; }
.job:nth-child(n+7) { animation-delay: .24s; }
.job::before { content: ""; position: absolute; left: -1rem; top: 0; bottom: 0; width: .1875rem; background: var(--brand); transform: scaleY(0); transition: transform .35s var(--ease); }
.job:hover::before, .job[open]::before { transform: scaleY(1); }
.job summary { list-style: none; cursor: pointer; padding: 1.125rem 0; align-items: baseline; }
.job summary::-webkit-details-marker { display: none; }
.job summary:hover .job-title { color: var(--orange); text-decoration: underline; }
.job-title { font-weight: 600; }
.job-id { display: block; font-family: var(--mono); font-size: max(12px, .78125rem); color: var(--muted); font-weight: 400; margin-top: .1875rem; }
.job summary > span { font-size: max(14px, .9375rem); color: var(--ink-2); }
.job summary > .job-name { font-size: max(15px, 1rem); color: var(--ink); }
.job summary time { font-size: max(13px, .875rem); color: var(--muted); font-variant-numeric: tabular-nums; }
.chev { width: .5625rem; height: .5625rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); align-self: center; margin-top: -.25rem; transition: transform .35s var(--ease), margin-top .35s; }
.job[open] .chev { transform: rotate(-135deg); margin-top: .25rem; }
.job[open] summary .job-title { color: var(--orange); }
.job-body { padding: .25rem 0 1.75rem; }
.job-body .grid { row-gap: 1.25rem; }
.job-body p { color: var(--ink-2); }
.job-body h4 { margin: 1.125rem 0 .375rem; }
.job-facts { display: grid; grid-template-columns: 8.125rem 1fr; font-size: max(14px, .9375rem); border-top: 1px solid var(--rule); }
.job-facts dt, .job-facts dd { padding: .5rem 0; border-bottom: 1px solid var(--rule-2); }
.job-facts dt { color: var(--muted); }
.job-body .btn { margin-top: 1.25rem; }
.no-results { padding: 1.75rem 0; color: var(--ink-2); border-bottom: 1px solid var(--rule); }

.notice { border: 1px solid #E2D29C; background: #FBF5E2; padding: 1rem 1.25rem; font-size: max(14.5px, .96875rem); color: #4A3E14; }
.notice a { color: #7A4A0E; }

.jobs-map { position: relative; z-index: 0; height: 17.5rem; border: 1px solid var(--rule); background: #EEF0EF; }
.map-legend { display: flex; flex-wrap: wrap; gap: .375rem 1rem; margin-top: .75rem; font-size: max(13px, .875rem); color: var(--muted); }
.map-legend button { background: none; border: 0; padding: 0; font-size: max(13px, .875rem); color: var(--orange); text-decoration: underline; text-underline-offset: .1875rem; cursor: pointer; }
.map-legend button[aria-pressed="true"] { color: var(--ink); font-weight: 600; text-decoration: none; }
.leaflet-container { font-family: var(--sans); }
.leaflet-tooltip.map-tip { font-size: max(12px, .8125rem); font-weight: 600; color: var(--ink); border-radius: 2px; border-color: var(--rule); box-shadow: none; padding: .25rem .5rem; }
.map-pulse { animation: pulse 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }

/* Contact */
.contact-info > div { padding: 1.125rem 0; border-top: 1px solid var(--rule); }
.contact-info h2 { font-size: max(13px, .875rem); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: .375rem; }
.contact-info p { font-size: max(15px, 1rem); }
.contact-info p + p { margin-top: .5rem; }
.contact-info .small { color: var(--muted); }
.tabs { position: relative; display: flex; flex-wrap: wrap; gap: .375rem 1.625rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.625rem; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: .625rem 0; font-weight: 600; font-size: max(14.5px, .96875rem); color: var(--muted); cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem 1.25rem; }
.form[hidden] { display: none; }
.form:not([hidden]) > * { animation: row-in .5s var(--ease) both; }
.form .full { grid-column: 1 / -1; }
.form textarea { min-height: 8.75rem; resize: vertical; }
.form input[type="file"] { padding: .5625rem .625rem; }
.form p.full { color: var(--ink-2); font-size: max(15px, 1rem); }
.form .req { color: var(--orange); }
.form.checked :invalid { border-color: #B3261E; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.form-foot small { color: var(--muted); font-size: max(13px, .875rem); }
.form-status { font-size: max(14px, .9375rem); color: var(--orange-dark); font-weight: 500; }
.form-status:empty { display: none; }

/* Footer */
.footer { position: relative; overflow: hidden; background: #0E1824; color: rgba(255, 255, 255, .72); font-size: max(14px, .9375rem); padding: 5rem 0 1.75rem; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .logo { color: #fff; }
.footer-about { margin-top: 1.25rem; max-width: 24em; }
.footer address { font-style: normal; margin-top: 1.125rem; line-height: 1.7; }
.footer h2 { font-size: max(13px, .875rem); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: .875rem; }
.footer h2.footer-sub { margin-top: 1.625rem; }
.footer li { list-style: none; padding: .25rem 0; }
.footer li a { display: inline-block; transition: color .2s, transform .35s var(--ease); }
.footer li a:hover { transform: translateX(.25rem); }
.social { display: flex; gap: .625rem; margin-top: 1.375rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; transition: background-color .3s, color .3s, border-color .3s; }
.social a:hover { background: #fff; color: var(--dark); border-color: #fff; }
.social svg { width: 1.0625rem; height: 1.0625rem; }
.footer-legal { margin-top: 3.5rem; font-size: max(12.5px, .84375rem); color: rgba(255, 255, 255, .58); }
.footer-legal .row { padding-top: 1.375rem; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: .25rem 1.375rem; }
.footer-legal li { padding: 0; }
.footer-legal p.eeo { margin-top: .875rem; max-width: 70em; line-height: 1.55; }
.footer-mark { margin-top: 3.5rem; font-size: clamp(3.4rem, 13.4vw, 13rem); font-weight: 700; line-height: .8; letter-spacing: -.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); user-select: none; text-align: center; translate: 0 var(--fy, 0px); }

/* Photos */
.photo { margin: 0; }
.photo .frame { position: relative; overflow: hidden; background: var(--tint); aspect-ratio: 3 / 2; }
.photo .frame > img, .photo .frame > .bg-video { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; translate: 0 var(--py, 0px); scale: var(--ps, 1); }
.photo figcaption { margin-top: .625rem; font-size: max(12.5px, .84375rem); color: var(--muted); }
.photo.tall .frame { aspect-ratio: 4 / 5; }
.photo.wide .frame { aspect-ratio: 16 / 10; }
.span-4 > h2 + .photo, .span-5 > h2 + .photo, .span-4 > .num + h2 + .photo { margin-top: 1.75rem; }
.dark .photo .frame { background: var(--dark-2); }
.dark .photo + h3 { margin-top: 2rem; }

/* Motion */
a, .tabs button, .link-btn { transition: color .2s, background-color .2s, border-color .2s, text-decoration-color .2s; }

/* Words of a heading rise out of a mask */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.w > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 40ms + var(--d, 0ms)); }
.is-in .w > span, .is-in.w > span { transform: none; }

.js .hero-text > :not(h1), .js .page-hero .wrap > :not(h1) { animation: rise 1s var(--ease) both; animation-delay: calc(var(--intro, 0s) + .45s); }
.js .hero-text > .kicker, .js .page-hero .crumbs { animation-delay: calc(var(--intro, 0s) + .1s); }
.js .page-hero .wrap > .actions { animation-delay: calc(var(--intro, 0s) + .6s); }
.js .hero-foot { animation: rise 1s var(--ease) both; animation-delay: calc(var(--intro, 0s) + .75s); }
.js .hero-media, .js .page-hero > img, .js .page-hero > .bg-video { animation: settle 2.4s var(--ease) both; animation-delay: var(--intro, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } }
@keyframes settle { from { opacity: .3; scale: 1.14; } }
@keyframes row-in { from { opacity: 0; transform: translateY(.625rem); } }
@keyframes kenburns { from { scale: 1.02; } to { scale: 1.12; } }
.page-hero.drift > img { animation: settle 2.4s var(--ease) both, kenburns 24s 2.4s ease-in-out infinite alternate; }

.js .reveal .frame { clip-path: inset(100% 0 0 0); }
.js .reveal .frame > * { --ps: 1.15; }
.js .reveal.is-in .frame { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease-io); }
.js .reveal.is-in .frame > * { --ps: 1; transition: scale 1.8s var(--ease); }

.js .fade { opacity: 0; transform: translateY(1.75rem); }
.js .fade.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }

.js .rise > * { opacity: 0; transform: translateY(1.75rem); }
.js .rise.is-in > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rise.is-in > :nth-child(2) { transition-delay: .08s; }
.js .rise.is-in > :nth-child(3) { transition-delay: .16s; }
.js .rise.is-in > :nth-child(4) { transition-delay: .24s; }
.js .rise.is-in > :nth-child(5) { transition-delay: .32s; }
.js .rise.is-in > :nth-child(6) { transition-delay: .4s; }
.js .rise.is-in > :nth-child(7) { transition-delay: .48s; }
.js .rise.is-in > :nth-child(8) { transition-delay: .56s; }

.js .openings li { opacity: 0; transform: translateY(.5rem); }
.js .openings.is-in li { animation: row-in-done .6s var(--ease) forwards; animation-delay: .1s; }
.js .openings.is-in li:nth-child(2) { animation-delay: .17s; }
.js .openings.is-in li:nth-child(3) { animation-delay: .24s; }
.js .openings.is-in li:nth-child(4) { animation-delay: .31s; }
.js .openings.is-in li:nth-child(5) { animation-delay: .38s; }
@keyframes row-in-done { to { opacity: 1; transform: none; } }

.js .hs .card { opacity: 0; transform: translateX(5rem); }
.js .hs.is-in .card { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }

.job::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.job[open]::details-content { block-size: auto; }

.tab-ink { position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--orange); }
.tabs.ready .tab-ink { transition: transform .45s var(--ease), width .45s var(--ease); }
.js .tabs button[aria-selected="true"] { border-bottom-color: transparent; }
.tabs.no-ink .tab-ink { display: none; }
.js .tabs.no-ink button[aria-selected="true"] { border-bottom-color: var(--orange); }

/* First visit in a session: a short curtain with the logo, then the page */
.intro-curtain { display: none; }
html.intro { --intro: 1.05s; }
html.intro .intro-curtain { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #0E1824; pointer-events: none; animation: curtain-up .9s var(--ease-io) .75s forwards; }
html.intro .intro-curtain svg { width: 4rem; height: 4rem; }
html.intro .intro-curtain path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw .7s var(--ease) .05s forwards; }
html.intro .intro-curtain circle { opacity: 0; animation: pop .4s var(--ease) .45s forwards; }
@keyframes curtain-up { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* Moving between pages: the old page fades and the new one rises (in browsers that support it) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .3s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .55s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-1rem); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(1.5rem); } }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Smaller screens */
@media (max-width: 1080px) {
  .nav-list > li > a { padding: .5rem .625rem; }
  .nav-list > li > a::before { left: .625rem; right: .625rem; }
  .hero-links { grid-template-columns: 1fr 1fr; }
  .hero-links li:nth-child(n+3) a { padding-top: 0; }
  .hero-links li:nth-child(n+3) a::before { display: none; }
}
@media (max-width: 980px) {
  :root { --hdr: 4.25rem; }
  .grid > [class*="span-"] { grid-column: 1 / -1; }
  .menu-btn { display: block; }
  .header .wrap { position: relative; }
  /* The menu is a full-height panel that wipes down, with the links rising in turn */
  .nav { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--menu-top, 6.625rem)); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 2rem 1.75rem; background: var(--bg); color: var(--ink); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io), visibility 0s .6s; }
  .nav.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-io); }
  .nav-list { flex-direction: column; align-self: auto; counter-reset: nav; }
  .nav-list > li { display: block; }
  .nav-list > li > a { display: flex; align-items: center; gap: 1.125rem; padding: 1.125rem 0; border-bottom: 1px solid var(--rule-2); font-size: clamp(1.55rem, 4vw + .9rem, 2.3rem); letter-spacing: -.02em; line-height: 1.15; }
  .nav-list > li > a::before { counter-increment: nav; content: counter(nav, decimal-leading-zero); position: static; height: auto; background: none; transform: none; font: 400 max(12px, .78125rem)/1 var(--mono); letter-spacing: 0; color: var(--orange); }
  .nav-list > li > a::after, .has-sub > a::after { content: ""; display: block; width: 1.125rem; height: .75rem; margin: 0 0 0 auto; border: 0; opacity: .45; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; transform: none; transition: transform .4s var(--ease), opacity .3s; }
  .has-sub:hover > a::after { transform: none; }
  .nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { opacity: 1; transform: translateX(.25rem); }
  .nav-list > li > a[aria-current="page"] { color: var(--orange); }
  .sub, .sub.cols { display: none; }
  .nav .btn { margin: 1.75rem 0 0; padding: 1rem; }
  .nav-extra { display: block; margin-top: auto; padding-top: 2rem; font-size: max(14px, .9375rem); line-height: 1.6; color: var(--muted); }
  .nav-extra p + p { margin-top: .75rem; }
  .nav-extra a { color: var(--ink); }
  .nav-list > li, .nav .btn, .nav-extra { opacity: 0; transform: translateY(1.75rem); transition: opacity .25s, transform .25s; }
  .nav.open .nav-list > li, .nav.open .btn, .nav.open .nav-extra { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .9s var(--ease); }
  .nav.open .nav-list > li:nth-child(1) { transition-delay: .16s; }
  .nav.open .nav-list > li:nth-child(2) { transition-delay: .22s; }
  .nav.open .nav-list > li:nth-child(3) { transition-delay: .28s; }
  .nav.open .nav-list > li:nth-child(4) { transition-delay: .34s; }
  .nav.open .btn { transition-delay: .4s; }
  .nav.open .nav-extra { transition-delay: .48s; }
  html.menu-lock { overflow: hidden; }
  .platforms .wrap { flex-direction: column; align-items: flex-start; }
  .platforms p { max-width: none; }
  .marquee { width: 100%; }
  .closing .aside, .cta-band .aside { border-left: 0; border-top: 1px solid var(--rule); padding: 1.5rem 0 0; }
  .cta-band .aside { border-color: rgba(255, 255, 255, .22); }
  .toc { position: static; border-left: 0; padding-left: 0; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .kw { grid-column: 1 / -1; }
  .job-head { display: none; }
  .job summary { display: grid; grid-template-columns: 1fr 1.125rem; gap: .25rem .75rem; }
  .job summary .job-name { grid-column: 1; }
  .job summary > span:not(.job-name), .job summary time { grid-column: 1; font-size: max(13.5px, .90625rem); }
  .job summary .chev { grid-column: 2; grid-row: 1; }
  .job::before { left: -.75rem; }
  .footer .grid { row-gap: 2rem; }
  .span-4 > h2 + .photo, .span-5 > h2 + .photo { margin-top: 1.25rem; }
  .photo.tall .frame { aspect-ratio: 3 / 2; }
  .hs-pin > .wrap { width: 100%; }
  .hs-head { flex-direction: column; align-items: flex-start; }
  .hs-side { align-items: flex-start; }
  .how-media { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .reel-points { grid-template-columns: 1fr; gap: 0; }
  .reel-points li { padding: 1.125rem 0; }
  /* The picture holds at the top while the list scrolls under it, so a tapped industry is always in view */
  .ind { display: block; }
  .ind-media { position: sticky; top: calc(var(--hdr-offset) + .75rem); z-index: 4; min-height: 0; aspect-ratio: 16 / 10; margin-bottom: 1.5rem; transition: top .5s var(--ease); }
  .intro-foot { margin-top: 3rem; }
}
@media (max-width: 640px) {
  body { font-size: max(15px, 1rem); }
  .wrap { padding: 0 1.25rem; }
  /* Eleven 32px gaps alone are wider than a 360px phone, which made the page zoom out */
  .grid { column-gap: 1rem; }
  .nav { padding: .25rem 1.25rem 1.5rem; }
  .topbar { font-size: max(12px, .78125rem); }
  .topbar .wrap { gap: .75rem; white-space: nowrap; }
  .topbar p span:not(:first-child) { display: none; }
  /* Home banner: everything, including the quick links, fits on the first screen */
  .hero { min-height: calc(100svh - 2.375rem); }
  .hero-media::after { background: linear-gradient(rgba(10, 17, 26, .55), rgba(10, 17, 26, .9)); }
  .hero-text { padding: calc(var(--hdr) + 2.25rem) 0 4.25rem; }
  .kicker { gap: .625rem; margin-bottom: 1.125rem; font-size: max(11.5px, .71875rem); letter-spacing: .1em; }
  .kicker::before { width: 1.5rem; }
  .hero .lead { margin-top: 1.125rem; font-size: max(15.5px, 1.03125rem); line-height: 1.55; }
  .hero-foot .wrap { padding: 0; }
  .hero-links { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 1.25rem; padding: 0 1.25rem; scrollbar-width: none; }
  .hero-links::-webkit-scrollbar { display: none; }
  .hero-links li { flex: 0 0 42%; scroll-snap-align: start; }
  .hero-links a, .hero-links li:nth-child(n+3) a { padding: 1rem 1rem 1.125rem 0; font-size: max(13px, .875rem); }
  .hero-links li:nth-child(n+3) a::before { display: block; }
  .hero-place { display: none; }
  .vid-toggle { right: 1rem; bottom: 1rem; }
  .hero > .vid-toggle { bottom: 7rem; }
  .platforms .wrap { gap: .75rem; padding-top: 1.375rem; padding-bottom: 1.375rem; }
  .marquee li { padding: 0 1.125rem; font-size: max(17px, 1.125rem); }
  .marquee li::after { margin-left: 2.25rem; }
  .lead { font-size: max(16.5px, 1.09375rem); }
  .section { padding: 4.75rem 0; }
  .page-hero { min-height: 72svh; }
  .page-hero .wrap { padding-bottom: 3.5rem; }
  .page-hero::before { background: linear-gradient(rgba(10, 17, 26, .5), rgba(10, 17, 26, .88)); }
  .svc-grid, .points, .loc-list { grid-template-columns: 1fr; }
  .stats dd { font-size: 2.6rem; }
  .stats > div:nth-child(even) { padding-left: 1.25rem; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .job-search { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .tabs button { padding: .75rem .5rem; font-size: max(13.5px, .90625rem); line-height: 1.3; }
  .job-facts { grid-template-columns: 1fr; }
  .job-facts dt { border-bottom: 0; padding-bottom: 0; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: .875rem 0; border-bottom: 1px solid var(--rule); }
  td { border: 0; padding: 2px 0; }
  td:first-child { width: auto; }
  .hs-pin { padding: 4.75rem 0; gap: 2rem; }
  .hs-side { gap: 1.125rem; }
  .hs-btn { width: 2.625rem; height: 2.625rem; }
  .hs-track { gap: .875rem; padding: 0 1.25rem; }
  .card { width: 80vw; height: 108vw; max-height: 30rem; }
  .card-more { grid-template-rows: 1fr; }
  .how-steps { padding-left: 3.5rem; }
  .how-steps .no { left: -3.5rem; }
  .reel { min-height: 0; }
  .reel-text { padding-top: 13.75rem; padding-bottom: 3.5rem; }
  .ticker { margin-bottom: 3.5rem; }
  .cta-band { padding: 6.5rem 0 5.5rem; }
  .ind-list .no { display: none; }
  .ind-list button { grid-template-columns: 1fr; }
  .svc .tools { margin-top: .875rem; font-size: max(14px, .9375rem); color: var(--muted); }
  /* Job rows: title and ID, then place, then type and date on one line */
  .job summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0; position: relative; padding: 1rem 2rem 1rem 0; line-height: 1.5; }
  .job summary .job-name { flex: 0 0 100%; margin-bottom: .25rem; }
  .job summary > span:not(.job-name) { flex: 0 0 100%; }
  .job summary > span:not(.job-name) + span { flex: 0 0 auto; }
  .job summary > span:not(.job-name) + span::after { content: "·"; margin: 0 .5rem; color: var(--muted); }
  .job summary .chev { position: absolute; right: .375rem; top: 1.5rem; margin: 0; }
  .job[open] .chev { margin: 0; top: 1.875rem; }
  /* Footer: the shorter link groups sit side by side */
  .footer { padding-top: 4rem; font-size: max(13.5px, .90625rem); }
  .footer .grid { column-gap: 1.25rem; row-gap: 2rem; }
  .footer .grid > :nth-child(3), .footer .grid > :nth-child(4) { grid-column: span 6; }
  .footer-legal { margin-top: 2.75rem; }
  .footer-mark { margin-top: 2.5rem; font-size: 11.6vw; }
}
@media (max-width: 359px) {
  .topbar p { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (hover: none) {
  html { -webkit-tap-highlight-color: transparent; }
  .btn:active::before { transform: scaleX(1); transform-origin: left; transition-duration: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.intro .intro-curtain { display: none; }
  .js .reveal .frame { clip-path: none; }
  .js .reveal .frame > * { --ps: 1; }
  .js .rise > *, .js .openings li, .js .fade, .js .hs .card { opacity: 1; transform: none; }
  .js .how-steps li { opacity: 1; }
  .w > span { transform: none; }
  .marquee-track, .ticker-track { flex-wrap: wrap; width: auto; }
  .marquee [aria-hidden="true"], .ticker-track > [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee ul, .ticker-track > div { flex: 1 1 auto; flex-wrap: wrap; row-gap: .5rem; }
  .marquee li { padding: 0 1.25rem 0 0; }
  .marquee li::after { margin-left: 1.25rem; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Phones, upright or sideways, show the layout at 90% of its normal size.
   Sizes are set in rem, so this one root value scales spacing, images and headings together.
   Smaller text has a px minimum (the max() sizes above), so it only loses about a pixel and labels stay at 12px or more.
   Form fields stay at 16px so iPhones don't zoom in when one is tapped. */
@media (max-width: 640px), (max-width: 980px) and (max-height: 500px) {
  html { font-size: 90%; }
  .filters :is(input, select), .form :is(input, select, textarea), .job-search :is(input, select) { font-size: 16px; }
}
