/* HS Design: navy that lightens (client's reference), grotesk display, mono labels */
:root {
  --night: #06090e; --navy: #0e1521; --deep: #19263b; --blue: #304a63; --sky: #63879d; --mist: #97adb5; --haze: #dde7e8;
  --ink: #eef3f6; --dim: #8796a8; --line: rgba(238, 243, 246, .12); --card: rgba(255, 255, 255, .04);
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --gut: clamp(20px, 5vw, 72px); --max: 1360px; --r: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 17px/1.6 var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--night); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--mist); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.dim { color: var(--dim); }
.muted { color: var(--dim); }
.num { font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--sky); text-transform: uppercase; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 18px var(--gut); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: background .4s, backdrop-filter .4s; }
.nav.is-solid { background: rgba(3, 9, 21, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav a { text-decoration: none; }
.nav__logo { font: 600 15px/1 var(--display); letter-spacing: -.01em; text-transform: none; }
.nav__logo sup { font-size: 9px; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { opacity: .8; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__links span { color: var(--dim); }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.lang { display: flex; gap: 10px; }
.lang a { color: var(--dim); }
.lang a[aria-current="true"] { color: var(--ink); }
.nav__cta { border: 1px solid var(--line); padding: 11px 16px; border-radius: 999px; transition: background .25s, color .25s; }
.nav__cta:hover { background: var(--ink); color: var(--night); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 var(--display); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s; }
.btn i { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover i { transform: translate(3px, -3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--light { background: var(--ink); color: var(--night); }
.btn--ghost { border-color: rgba(238, 243, 246, .28); color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 75% at 50% 118%, #23344b 0%, #121b2a 38%, #080c14 68%, #05070c 100%); }
.orb { position: absolute; inset: 0; pointer-events: none; perspective: 1200px; }
.orb img { position: absolute; left: 0; top: 0; width: 165px; height: 210px; object-fit: cover; border-radius: 6px; will-change: transform, opacity, filter; transform-origin: 50% 50%; backface-visibility: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(58% 42% at 50% 50%, rgba(5, 7, 12, .55), transparent 80%), radial-gradient(130% 110% at 50% 50%, transparent 55%, rgba(5, 7, 12, .92) 100%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; text-align: center; padding: 120px var(--gut) 96px; display: grid; justify-items: center; gap: 24px; }
.hero__title { font: 500 clamp(44px, 7.6vw, 118px)/.95 var(--display); letter-spacing: -.045em; max-width: 13ch; text-wrap: balance; }
.hero__title span { display: inline; }
.hero__lead { max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); color: rgba(238, 243, 246, .86); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* blocks */
.block { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.display { font: 500 clamp(42px, 6.4vw, 104px)/.98 var(--display); letter-spacing: -.045em; margin-top: 20px; text-wrap: balance; }
.display--md { font-size: clamp(36px, 4.6vw, 72px); }
.display--sm { font-size: clamp(30px, 3.4vw, 52px); }
.mega { font: 500 clamp(64px, 12vw, 200px)/.88 var(--display); letter-spacing: -.055em; }
.lede { font-size: clamp(18px, 1.6vw, 22px); max-width: 52ch; color: rgba(238, 243, 246, .86); margin-top: 28px; }
.fine { font-size: 14px; color: var(--dim); margin-top: 20px; }

/* problem */
.grow { margin: 64px auto 0; width: 34%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; will-change: width; }
.grow img { width: 100%; height: 100%; object-fit: cover; }
.scenes { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.scenes li { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 14px; }
.scenes p { font-size: 18px; }

/* why */
.why { background: linear-gradient(180deg, var(--night) 0%, #121b2b 50%, var(--night) 100%); text-align: center; }
.highlight { margin: 28px auto 0; max-width: 22ch; font: 500 clamp(34px, 5vw, 76px)/1.08 var(--display); letter-spacing: -.035em; }
.highlight .w { color: rgba(238, 243, 246, .16); transition: color .35s; }
.highlight .w.on { color: var(--ink); }
.highlight .w.on.key { color: var(--sky); }

/* solution */
.circles { display: flex; justify-content: center; margin: 0 auto 80px; }
.circles span { width: clamp(130px, 17vw, 240px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(238, 243, 246, .25); display: grid; place-items: center; font: 400 clamp(14px, 1.3vw, 18px)/1 var(--display); color: rgba(238, 243, 246, .85); margin: 0 -1.6vw; transition: transform 1.4s var(--ease), background 1.4s; }
.circles span:nth-child(1) { transform: translateX(-60%); }
.circles span:nth-child(3) { transform: translateX(60%); }
.circles.is-in span { transform: none; background: radial-gradient(circle at 50% 120%, rgba(120, 146, 170, .16), transparent 70%); }
.ticks { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.ticks li { padding: 20px 0 20px 34px; border-top: 1px solid var(--line); position: relative; font-size: 18px; }
.ticks li::before { content: "↗"; position: absolute; left: 0; color: var(--sky); }

/* work */
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.work__note { max-width: 28ch; font-size: 19px; color: rgba(238, 243, 246, .8); padding-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--navy); }
.card--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 9, 21, .55) 0%, transparent 28%, transparent 70%, rgba(3, 9, 21, .55) 100%); pointer-events: none; }
.card__top { position: absolute; z-index: 2; inset: 24px 24px auto; display: flex; justify-content: space-between; align-items: center; }
.card h3 { font: 500 clamp(20px, 2vw, 28px)/1.1 var(--display); letter-spacing: -.02em; }
.card__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(238, 243, 246, .16); backdrop-filter: blur(6px); transition: background .3s, color .3s, transform .4s var(--ease); }
.card:hover .card__go { background: var(--ink); color: var(--night); transform: rotate(45deg); }
.card__tags { position: absolute; z-index: 2; left: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.card__tags span { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: rgba(3, 9, 21, .45); backdrop-filter: blur(6px); }
.also { margin-top: 40px; color: rgba(238, 243, 246, .78); font-size: 17px; max-width: 90ch; }
.also .label { display: block; margin-bottom: 10px; }

/* ribbon: two crossing bands of client names */
.ribbon-wrap { position: relative; height: clamp(280px, 30vw, 440px); overflow: hidden; display: grid; place-items: center; background: linear-gradient(180deg, var(--night), #141e2f 50%, var(--night)); }
.ribbon { position: absolute; left: -10%; right: -10%; top: 50%; padding: 18px 0; transform: translateY(-50%) rotate(-6deg); background: rgba(238, 243, 246, .96); color: var(--night); }
.ribbon--b { transform: translateY(-50%) rotate(4deg); background: transparent; color: var(--ink); border-block: 1px solid rgba(238, 243, 246, .25); }
.ribbon__track { display: flex; gap: 56px; width: max-content; animation: slide 40s linear infinite; font: 600 clamp(32px, 4.6vw, 72px)/1 var(--display); letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; }
.ribbon--b .ribbon__track { animation-direction: reverse; animation-duration: 46s; }
.ribbon__track span::after { content: "✦"; margin-left: 56px; font-size: .5em; vertical-align: middle; opacity: .6; }
@keyframes slide { to { transform: translateX(-50%); } }

/* services */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.offer { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 3.4vw, 48px); background: linear-gradient(160deg, rgba(52, 78, 108, .22), rgba(255, 255, 255, .02) 60%); display: flex; flex-direction: column; gap: 18px; transition: border-color .3s, transform .5s var(--ease); }
.offer:hover { border-color: rgba(185, 211, 220, .45); transform: translateY(-4px); }
.offer h3 { font: 500 clamp(28px, 2.8vw, 40px)/1.05 var(--display); letter-spacing: -.03em; }
.offer ul { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 0; }
.offer li { padding: 12px 0; border-top: 1px solid var(--line); }
.offer .btn { align-self: flex-start; margin-top: auto; }

/* process */
.process { position: relative; height: 340vh; background: linear-gradient(180deg, var(--night) 0%, #111826 40%, #1a283d 100%); }
.process__sticky { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; padding: 110px 0 60px; }
.process__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 4px; }
.steps li { padding: 18px 0 18px 20px; border-left: 2px solid var(--line); opacity: .38; transition: opacity .5s, border-color .5s; }
.steps li.is-on { opacity: 1; border-color: var(--mist); }
.steps h3 { font: 500 22px/1.2 var(--display); margin: 8px 0 4px; }
.steps p { color: rgba(238, 243, 246, .82); max-width: 44ch; }
.steps__pics { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--r); overflow: hidden; background: var(--navy); }
.steps__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.steps__pics img.is-on { opacity: 1; transform: none; }

/* about */
.about { overflow: hidden; background: #1a283d; }
.drift { position: absolute; top: 48px; left: 0; right: 0; pointer-events: none; }
.drift__track { white-space: nowrap; font: 500 clamp(90px, 16vw, 260px)/1 var(--display); letter-spacing: -.05em; color: rgba(238, 243, 246, .9); width: max-content; animation: slide 40s linear infinite; }
.panel { position: relative; z-index: 2; margin-top: clamp(120px, 14vw, 200px); border: 1px solid rgba(238, 243, 246, .18); border-radius: var(--r); background: rgba(6, 11, 20, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.panel__main { display: grid; gap: 20px; align-content: start; }
.panel__main .display { margin-top: 0; }
.panel__main p:not(.label) { color: rgba(238, 243, 246, .86); }
.panel__col ul { list-style: none; padding: 0; margin: 14px 0 28px; }
.panel__col li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.panel dl { margin: 14px 0 0; }
.panel dt { font-weight: 600; margin-top: 14px; }
.panel dd { margin: 4px 0 0; color: rgba(238, 243, 246, .78); font-size: 15px; }

/* faq */
.faq { background: #1a283d; padding-top: 40px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
.qa details { border-top: 1px solid rgba(238, 243, 246, .18); }
.qa details:last-child { border-bottom: 1px solid rgba(238, 243, 246, .18); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 500 clamp(18px, 1.6vw, 22px)/1.3 var(--display); position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-size: 26px; font-weight: 300; transition: transform .3s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 40px 24px 0; color: rgba(238, 243, 246, .82); }

/* contact */
.contact { padding: clamp(96px, 12vw, 160px) 0; background: linear-gradient(180deg, #1a283d 0%, #2b455d 40%, #536d7f 72%, #7997a7 100%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .lede { color: rgba(238, 243, 246, .92); }
.mail { display: inline-block; margin-top: 28px; font: 500 clamp(18px, 1.8vw, 24px)/1 var(--display); text-decoration: none; border-bottom: 1px solid rgba(238, 243, 246, .5); padding-bottom: 6px; }
.form { background: rgba(6, 11, 20, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(238, 243, 246, .14); border-radius: var(--r); padding: clamp(24px, 3.4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(238, 243, 246, .7); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(238, 243, 246, .18); background: rgba(255, 255, 255, .04); color: var(--ink); font: 400 16px/1.4 var(--display); }
.field select option { color: #050c1a; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mist); background: rgba(255, 255, 255, .07); }
.field [aria-invalid="true"] { border-color: #ff9b8a; }
.err { color: #ffb4a6; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.status { margin-top: 14px; font-size: 15px; min-height: 1.4em; }
.form .btn { margin-top: 6px; }

/* footer */
.foot { background: linear-gradient(180deg, #7997a7 0%, var(--haze) 100%); color: #0e1521; padding: 72px 0 24px; overflow: hidden; }
.foot .label { color: rgba(6, 22, 51, .6); margin-bottom: 14px; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 32px; }
.foot__cols a, .foot__cols span { display: block; text-decoration: none; font-size: 18px; margin-top: 6px; }
.foot__cols a:hover { text-decoration: underline; }
.foot__contact { text-align: right; }
.foot__word { font: 600 clamp(84px, 21vw, 360px)/1 var(--display); letter-spacing: -.07em; text-align: center; margin: 40px 0 8px; color: #0e1521; white-space: nowrap; }
.foot__legal { display: flex; justify-content: space-between; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(6, 22, 51, .7); }
.foot__legal a { text-decoration: none; }

/* tablet and phone */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr 1fr; }
  .panel__main { grid-column: 1 / -1; }
  .process__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .process { height: 300vh; }
  .steps__pics { aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { padding: 14px var(--gut); gap: 12px; }
  .lang { display: none; }
  .nav__cta { padding: 10px 14px; }
  .orb img { width: 96px; height: 120px; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .grow { width: 70%; }
  .scenes, .ticks, .cards, .offers, .panel, .form { grid-template-columns: 1fr; }
  .card, .card--wide { aspect-ratio: 4 / 4.2; grid-column: auto; }
  .work__head { flex-direction: column; align-items: flex-start; }
  .process { height: auto; }
  .process__sticky { position: relative; min-height: 0; padding: 96px 0; }
  .steps li { opacity: 1; }
  .steps__pics { display: none; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__contact { grid-column: 1 / -1; text-align: left; }
  .foot__legal { flex-direction: column; gap: 12px; }
  .circles span { margin: 0 -4vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .highlight .w { color: var(--ink); }
  .grow { width: 100%; }
  .circles span { transform: none !important; }
}
