:root {
  --blue: #1748df;
  --blue-deep: #082788;
  --ink: #111b35;
  --muted: #5a657e;
  --light: #f4f7ff;
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video { display: block; }
::selection { background: #bcd1ff; color: #102760; }
:focus-visible { outline: 3px solid #89baff; outline-offset: 4px; }
.page-shell { overflow: clip; }
.section-wrap { max-width: 1540px; margin: 0 auto; padding-left: clamp(22px, 6vw, 98px); padding-right: clamp(22px, 6vw, 98px); }
.scroll-progress { position: fixed; z-index: 100; top: 0; left: 0; height: 3px; width: 100%; background: #cce7ff; transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Navigation */
.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px clamp(22px, 6vw, 98px); color: white; }
.wordmark, .footer-wordmark { display: inline-flex; align-items: baseline; font-size: 39px; line-height: 1; letter-spacing: -.105em; font-weight: 800; }
.wordmark-dot, .footer-wordmark span { color: #b8d1ff; }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 50px); font-size: 14px; font-weight: 700; }
.desktop-nav a, .text-link { transition: opacity .25s ease; }
.desktop-nav a:hover, .text-link:hover { opacity: .64; }
.header-right { display: flex; align-items: center; gap: 12px; }
.language-switcher { display: flex; gap: 1px; align-items: center; padding: 5px; border: 1px solid rgba(255,255,255,.25); border-radius: 40px; background: rgba(255,255,255,.14); backdrop-filter: blur(15px); }
.language-switcher button { border: 0; border-radius: 30px; background: transparent; padding: 7px 9px; color: rgba(255,255,255,.7); font-size: 11px; font-weight: 800; }
.language-switcher button.is-active { background: white; color: #1c45cb; box-shadow: 0 2px 5px rgba(0,0,0,.1); }
.menu-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 38px; height: 38px; border: 0; background: transparent; }
.menu-toggle span { width: 23px; height: 2px; border-radius: 3px; background: white; transition: transform .25s; }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { position: absolute; z-index: 19; top: 84px; left: 20px; right: 20px; display: grid; gap: 1px; padding: 12px; border-radius: 19px; background: #fff; color: var(--ink); box-shadow: 0 20px 55px rgba(5,19,65,.25); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 13px 12px; font-size: 17px; font-weight: 800; border-radius: 9px; }
.mobile-nav a:hover { background: #edf3ff; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: 100vh; overflow: hidden; padding: clamp(145px, 13vw, 180px) clamp(22px, 6vw, 98px) 30px; color: white; background: radial-gradient(circle at 14% 24%, #5891ff 0%, transparent 29%), radial-gradient(circle at 88% 30%, #6fb8ff 0%, transparent 32%), linear-gradient(128deg, #0d2baa 2%, #1c53ec 45%, #76bfff 100%); }
.hero::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: -8%; height: 37%; background: radial-gradient(ellipse at center, rgba(212,237,255,.37), transparent 67%); }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero-glow-one { top: 14%; left: 10%; width: 34vw; height: 34vw; background: #123bcf; opacity: .55; }
.hero-glow-two { top: 45%; right: 7%; width: 29vw; height: 29vw; background: #a4dcff; opacity: .3; }
.hero-content { position: relative; max-width: 1050px; margin: 0 auto; text-align: center; animation: hero-rise .9s both; }
.eyebrow, .section-kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.hero-eyebrow { margin: 0 0 22px; color: #e2edff; }
.hero h1 { margin: 0; font-size: clamp(62px, 8.4vw, 128px); line-height: .94; letter-spacing: -.075em; font-weight: 800; }
.hero h1 em, .display-title em, .closing h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero-subtitle { max-width: 660px; margin: 28px auto 0; color: #eef4ff; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.52; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 29px; margin: 30px 0 44px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; border: 0; border-radius: 13px; padding: 18px 24px; font-size: 15px; font-weight: 800; transition: transform .3s ease, box-shadow .3s ease; }
.button:hover { transform: translateY(-4px); }
.button-white { background: white; color: #0b2869; box-shadow: 0 5px 0 rgba(2,24,105,.26), 0 17px 32px rgba(2,24,105,.15); }
.button-white:hover { box-shadow: 0 7px 0 rgba(2,24,105,.23), 0 23px 36px rgba(2,24,105,.21); }
.button > span:last-child { font-size: 22px; line-height: 0; }
.text-link { font-size: 14px; font-weight: 800; }
.text-link > span:last-child { margin-left: 8px; }
.hero-gallery { display: grid; grid-template-columns: 1.8fr .62fr .8fr; gap: 14px; height: clamp(315px, 31vw, 460px); max-width: 1290px; margin: 0 auto; animation: hero-rise 1s .18s both; }
.media-tile { position: relative; overflow: hidden; border: 5px solid rgba(255,255,255,.78); border-radius: 28px; background: #224cb9; box-shadow: 0 20px 48px rgba(0,24,100,.27); transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s; }
.media-tile:hover { transform: translateY(-9px) rotate(-.3deg); box-shadow: 0 31px 54px rgba(0,24,100,.31); }
.media-tile video, .media-tile img { width: 100%; height: 100%; object-fit: cover; }
.media-tile-campaign video { object-position: center 36%; }
.media-tile-digital img { object-position: 42% center; }
.tile-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 32px 18px 17px; background: linear-gradient(transparent, rgba(4,14,45,.75)); }
.tile-caption span { font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.tile-caption strong { font-size: 13px; }
.hero-bottom { max-width: 1290px; margin: 20px auto 0; display: flex; justify-content: space-between; gap: 20px; color: #e7f2ff; font-size: 10px; font-weight: 800; letter-spacing: .13em; }

/* Shared editorial elements */
.section-kicker { display: flex; align-items: center; gap: 13px; color: #3154b9; }
.kicker-line { display: block; width: 31px; height: 1px; background: currentColor; }
.display-title { margin: 0; font-size: clamp(50px, 6.3vw, 92px); line-height: .97; letter-spacing: -.072em; font-weight: 800; }
.intro { padding-top: 144px; padding-bottom: 132px; }
.intro-grid { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 60px; margin-top: 35px; }
.intro-copy { padding-bottom: 6px; }
.intro-copy p { max-width: 410px; margin: 0; color: #4d5b77; font-size: 20px; line-height: 1.6; }
.intro-tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 30px; }
.intro-tags span { border: 1px solid #cdd9f2; border-radius: 40px; padding: 9px 13px; color: #2950ba; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.marquee { overflow: hidden; border-top: 1px solid #e7ebf5; border-bottom: 1px solid #e7ebf5; color: #2d59d4; background: #fbfcff; }
.marquee-track { width: max-content; padding: 19px 0; font-size: 12px; font-weight: 800; letter-spacing: .23em; white-space: nowrap; animation: ticker 28s linear infinite; }

/* Services */
.services { padding-top: 139px; padding-bottom: 145px; background: linear-gradient(180deg, #f4f7ff 0, #eaf2ff 100%); }
.section-heading { max-width: 920px; margin: 0 auto 66px; text-align: center; }
.section-heading .section-kicker { justify-content: center; }
.section-heading .display-title { margin-top: 28px; }
.section-heading > p { margin: 25px auto 0; color: var(--muted); font-size: 19px; line-height: 1.5; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 12px; border: 1px solid #d7e3fa; border-radius: 28px; background: #fff; box-shadow: 0 13px 30px rgba(24,71,161,.05); transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 23px 44px rgba(24,71,161,.13); }
.service-number { padding: 9px 8px 14px; font-size: 10px; font-weight: 800; letter-spacing: .15em; color: #5771a9; }
.service-media { overflow: hidden; height: clamp(225px, 25vw, 330px); border-radius: 18px; background: #e3ecfb; }
.service-media img, .service-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.service-card:hover .service-media img, .service-card:hover .service-media video { transform: scale(1.045); }
.service-media-video video { object-position: center 40%; }
.service-card-bottom { display: flex; justify-content: space-between; align-items: start; gap: 15px; padding: 21px 9px 8px; }
.service-card-bottom h3 { margin: 0 0 9px; font-size: clamp(21px, 2vw, 29px); letter-spacing: -.045em; }
.service-card-bottom p { max-width: 315px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.round-arrow { flex: 0 0 auto; display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #d8e0ef; border-radius: 50%; font-size: 19px; transition: background .3s, color .3s; }
.service-card:hover .round-arrow { background: var(--blue); color: white; }

/* Selected work */
.work-section { padding-top: 144px; padding-bottom: 142px; }
.work-top { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 62px; }
.work-top .display-title { margin-top: 24px; }
.work-top > p { max-width: 335px; margin: 0 0 7px; color: var(--muted); font-size: 17px; line-height: 1.58; }
.work-feature { display: grid; grid-template-columns: 1.12fr .88fr; overflow: hidden; min-height: 505px; margin-bottom: 24px; border: 1px solid #e5e9f1; border-radius: 30px; background: #f8faff; }
.feature-visual { position: relative; display: grid; place-items: center; min-width: 0; min-height: 505px; overflow: hidden; }
.campaign-visual { background: radial-gradient(circle at 50% 30%, #fff8f2 0, #ebe1da 67%, #dbc9c2 100%); }
.phone-frame { width: 245px; height: 452px; padding: 8px; border: 5px solid #1d222b; border-radius: 33px; background: #1d222b; box-shadow: 0 32px 45px rgba(51,38,29,.28); transform: rotate(-5deg); transition: transform .65s cubic-bezier(.22,1,.36,1); }
.work-feature:hover .phone-frame { transform: rotate(-1deg) translateY(-7px); }
.phone-frame video { width: 100%; height: 100%; border-radius: 21px; object-fit: cover; }
.play-button { position: absolute; z-index: 2; right: 22px; bottom: 22px; display: grid; place-items: center; width: 59px; height: 59px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.94); color: #12308c; box-shadow: 0 9px 25px rgba(0,0,0,.16); transition: transform .25s, background .25s; }
.play-button:hover { transform: scale(1.1); background: #fff; }
.play-button span { margin-left: 3px; font-size: 16px; }
.feature-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 78px); }
.feature-index { margin: 0 0 26px; color: #3856aa; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.feature-content h3 { max-width: 540px; margin: 0; font-size: clamp(37px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.066em; }
.feature-content > p:not(.feature-index) { max-width: 460px; margin: 24px 0 0; color: #56627b; font-size: 17px; line-height: 1.62; }
.feature-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 45px; color: #5a6b94; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.concept-pill { display: inline-flex; align-items: center; border: 1px solid #c4d2ef; border-radius: 30px; padding: 8px 10px; color: #3152a2; white-space: nowrap; }
.work-feature-property { grid-template-columns: .88fr 1.12fr; }
.work-feature-property .feature-visual { order: 2; }
.property-visual { background: #d8edfb; }
.property-visual video { width: 100%; height: 100%; object-fit: cover; }
.property-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 50%, rgba(10,30,61,.07)); }
.digital-visual { padding: clamp(20px, 3vw, 45px); background: linear-gradient(135deg, #cddcff, #eff3ff); }
.browser-frame { width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: white; box-shadow: 0 27px 50px rgba(37,72,137,.22); transform: rotate(-2deg); transition: transform .65s cubic-bezier(.22,1,.36,1); }
.work-feature:hover .browser-frame { transform: rotate(0) translateY(-7px); }
.browser-bar { display: flex; align-items: center; gap: 5px; height: 25px; padding: 0 10px; background: #f6f7fb; }
.browser-bar span { width: 6px; height: 6px; border-radius: 50%; background: #b6c1d5; }
.browser-bar div { width: 38%; height: 7px; margin: 0 auto; border-radius: 6px; background: #e5eaf3; }
.browser-frame img { width: 100%; height: 350px; object-fit: cover; object-position: top; }

/* Process and collaborators */
.approach { padding: 138px 0 150px; color: white; background: radial-gradient(circle at 75% 15%, #2860e8 0, transparent 39%), linear-gradient(132deg, #071c68, #0d359f 64%, #2254b8); }
.approach .section-kicker { color: #9cc7ff; }
.approach-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-top: 30px; }
.approach-heading > p { max-width: 370px; margin: 0 0 8px; color: #d6e5ff; font-size: 18px; line-height: 1.55; }
.approach-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 88px; }
.approach-step { border-top: 1px solid rgba(255,255,255,.38); padding-top: 25px; }
.approach-step > span { color: #9fc8ff; font-size: 13px; font-weight: 800; }
.approach-step h3 { margin: 43px 0 12px; font-size: clamp(30px, 3.2vw, 43px); letter-spacing: -.05em; }
.approach-step p { max-width: 330px; margin: 0; color: #d5e3fc; font-size: 15px; line-height: 1.65; }
.collaborations { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10%; padding-top: 150px; padding-bottom: 150px; }
.collab-copy .display-title { margin-top: 29px; }
.collab-copy > p { max-width: 480px; margin: 27px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.collab-panel { min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 4vw, 55px); border-radius: 28px; background: #eef4ff; box-shadow: inset 0 0 0 1px #dde8fb; }
.collab-panel > span { color: #5b75b3; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.collab-name { display: flex; align-items: center; justify-content: space-between; font-size: clamp(53px, 6vw, 89px); line-height: 1; font-weight: 800; letter-spacing: -.085em; }
.collab-name span { font-size: 32px; letter-spacing: 0; font-weight: 500; }
.collab-panel > p { margin: -10px 0 0; color: #51638a; font-size: 16px; }
.collab-rule { height: 1px; background: #cddaf1; }
.collab-footer { display: flex; justify-content: space-between; gap: 15px; color: #5571ad; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.closing { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(118deg, #0c2eae 0, #2f67ec 60%, #8bc9ff 120%); color: #fff; }
.closing-glow { position: absolute; z-index: -1; right: -10%; bottom: -40%; width: 55vw; height: 55vw; border-radius: 50%; background: #b7e2ff; filter: blur(110px); opacity: .3; }
.closing-inner { padding-top: 136px; padding-bottom: 138px; text-align: center; }
.closing h2 { margin: 25px 0 0; font-size: clamp(66px, 9vw, 127px); line-height: .94; letter-spacing: -.075em; }
.closing-inner > p:not(.eyebrow) { max-width: 550px; margin: 27px auto 31px; color: #e2edff; font-size: 18px; line-height: 1.5; }
.site-footer { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; padding: 44px clamp(22px, 6vw, 98px); background: #08194a; color: white; }
.footer-wordmark { font-size: 39px; }
.site-footer p { margin: 0; color: #c5d3f4; font-size: 13px; }
.site-footer > div { display: grid; gap: 7px; text-align: right; color: #aabce5; font-size: 10px; font-weight: 800; letter-spacing: .13em; }

/* Video viewer and motion */
.video-dialog { width: min(92vw, 850px); max-height: 92vh; padding: 14px; border: 0; border-radius: 20px; background: #071b4c; color: white; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.video-dialog::backdrop { background: rgba(1,10,35,.78); backdrop-filter: blur(8px); }
.video-dialog video { width: 100%; max-height: 75vh; border-radius: 10px; background: #000; }
.dialog-close { position: absolute; top: 19px; right: 19px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: white; color: #08194a; font-size: 27px; line-height: 1; }
.dialog-caption { margin: 11px 6px 2px; color: #d8e4ff; font-size: 13px; }
.ready-motion .reveal { opacity: 0; transform: translateY(30px); transition: opacity .72s ease, transform .72s cubic-bezier(.22,1,.36,1); }
.ready-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .hero-gallery { grid-template-columns: 1.65fr .75fr; }
  .media-tile-digital { display: none; }
  .work-feature { grid-template-columns: 1fr 1fr; }
  .work-feature-property { grid-template-columns: 1fr 1fr; }
  .feature-content { padding: 45px; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 145px; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-copy p { max-width: 680px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; }
  .service-card:last-child .service-media { height: 340px; }
  .approach-heading { display: block; }
  .approach-heading > p { margin-top: 30px; }
  .collaborations { grid-template-columns: 1fr; gap: 48px; }
  .collab-panel { max-width: 680px; }
}
@media (max-width: 680px) {
  .site-header { padding: 22px; }
  .wordmark { font-size: 32px; }
  .language-switcher { padding: 3px; }
  .language-switcher button { padding: 6px; font-size: 10px; }
  .hero { padding: 132px 16px 26px; }
  .hero h1 { font-size: clamp(52px, 13.2vw, 80px); }
  .hero-eyebrow { margin-bottom: 17px; font-size: 10px; }
  .hero-subtitle { margin-top: 22px; font-size: 16px; }
  .hero-actions { gap: 19px; margin: 27px 0 36px; }
  .button { gap: 11px; padding: 16px 17px; font-size: 13px; }
  .text-link { font-size: 12px; }
  .hero-gallery { height: 310px; grid-template-columns: 1.28fr .8fr; gap: 8px; }
  .media-tile { border-width: 3px; border-radius: 18px; }
  .tile-caption { display: block; padding: 23px 9px 10px; }
  .tile-caption span { display: block; font-size: 7px; }
  .tile-caption strong { display: block; margin-top: 5px; font-size: 10px; }
  .hero-bottom { font-size: 7px; }
  .section-wrap { padding-left: 23px; padding-right: 23px; }
  .intro, .services, .work-section { padding-top: 91px; padding-bottom: 94px; }
  .display-title { font-size: clamp(48px, 11.6vw, 69px); }
  .intro-copy p { font-size: 17px; }
  .section-heading { margin-bottom: 37px; }
  .section-heading > p { font-size: 17px; }
  .service-grid { grid-template-columns: 1fr; gap: 15px; }
  .service-card:last-child { grid-column: auto; }
  .service-media, .service-card:last-child .service-media { height: 260px; }
  .work-top { display: block; margin-bottom: 36px; }
  .work-top > p { margin-top: 25px; font-size: 16px; }
  .work-feature, .work-feature-property { display: flex; flex-direction: column; min-height: 0; }
  .work-feature-property .feature-visual { order: 0; }
  .feature-visual { min-height: 375px; }
  .phone-frame { width: 198px; height: 342px; }
  .feature-content { padding: 36px 28px 39px; }
  .feature-content h3 { font-size: 40px; }
  .feature-content > p:not(.feature-index) { font-size: 16px; }
  .feature-meta { margin-top: 28px; }
  .browser-frame img { height: 270px; }
  .approach { padding: 95px 0; }
  .approach-steps { grid-template-columns: 1fr; margin-top: 52px; gap: 38px; }
  .approach-step h3 { margin-top: 18px; }
  .collaborations { padding-top: 95px; padding-bottom: 95px; }
  .collab-copy > p { font-size: 16px; }
  .collab-panel { min-height: 300px; }
  .collab-name { font-size: 63px; }
  .closing-inner { padding-top: 106px; padding-bottom: 113px; }
  .closing h2 { font-size: clamp(58px, 12vw, 81px); }
  .site-footer { align-items: start; }
  .site-footer p { order: 3; width: 100%; }
  .site-footer > div { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ready-motion .reveal { opacity: 1; transform: none; }
}
