:root {
    color-scheme: dark;
    --text: #f7f7f4;
    --muted: rgba(247, 247, 244, 0.68);
    --faint: rgba(247, 247, 244, 0.45);
    --line: rgba(255, 255, 255, 0.16);
    --glass: rgba(8, 10, 14, 0.48);
    --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #030406; }
body { min-width: 320px; overflow-x: hidden; background: #030406; color: var(--text); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: #fff; color: #000; transform: translateY(-150%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

.background-video { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 50% 28%, rgba(0,0,0,.03), rgba(0,0,0,.34) 72%), linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.38)); }

.site-header { position: fixed; top: 0; left: 0; z-index: 20; display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 20px clamp(20px,4vw,60px); background: linear-gradient(180deg, rgba(0,0,0,.58), transparent); }
.brand-mark { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; gap: clamp(18px,3vw,42px); }
.site-nav a { position: relative; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 600; letter-spacing: .17em; text-decoration: none; text-transform: uppercase; transition: color 180ms ease; }
.site-nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: #fff; content: ''; transform: scaleX(0); transition: transform 180ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.site-nav a.is-active { color: #fff; }
.site-nav a.is-active::after { transform: scaleX(1); }

main, .site-footer { position: relative; z-index: 2; }
.hero { position: relative; display: grid; min-height: 100svh; place-items: center; padding: 100px 20px 70px; text-align: center; }
.hero-content { display: flex; align-items: center; flex-direction: column; }
.hero-logo { width: clamp(90px,10vw,130px); height: clamp(90px,10vw,130px); margin-bottom: 20px; object-fit: contain; opacity: .95; }
.eyebrow, .section-kicker { color: rgba(255,255,255,.82); font-size: clamp(12px,1.4vw,15px); font-weight: 500; letter-spacing: .38em; text-transform: uppercase; }
.hero .eyebrow { margin-bottom: 18px; font-size: clamp(16px,1.7vw,22px); letter-spacing: .42em; text-shadow: 0 3px 15px rgba(0,0,0,.8); }
.hero h1 { max-width: 100%; font-size: clamp(58px,11.7vw,150px); font-weight: 700; letter-spacing: .02em; line-height: .9; text-shadow: 0 4px 30px rgba(0,0,0,.8); white-space: nowrap; }
.tagline { margin-top: 30px; color: rgba(255,255,255,.88); font-size: clamp(13px,2vw,25px); font-weight: 300; letter-spacing: .16em; line-height: 1.6; text-shadow: 0 3px 15px rgba(0,0,0,.8); }
.hero-contact { display: flex; margin-top: 22px; align-items: center; flex-direction: column; gap: 10px; }
.hero-contact span { font-size: 12px; letter-spacing: .35em; }
.hero-contact a { font-size: 14px; letter-spacing: .18em; text-decoration: none; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; display: flex; min-width: 132px; align-items: center; flex-direction: column; gap: 13px; padding: 12px 18px 0; color: #fff; font-size: clamp(14px,1.25vw,17px); font-weight: 700; letter-spacing: .3em; text-decoration: none; text-shadow: 0 2px 12px rgba(0,0,0,.95), 0 0 20px rgba(255,255,255,.28); text-transform: uppercase; transform: translateX(-50%); transition: transform 180ms ease, text-shadow 180ms ease; }
.scroll-cue:hover, .scroll-cue:focus-visible { text-shadow: 0 2px 12px rgba(0,0,0,.95), 0 0 28px rgba(255,255,255,.6); transform: translateX(-50%) translateY(3px); }
.scroll-line { width: 3px; height: 48px; border-radius: 999px; background: linear-gradient(180deg,#fff 0%,rgba(255,255,255,.7) 45%,transparent 100%); box-shadow: 0 0 12px rgba(255,255,255,.45); animation: scroll-pulse 1.6s ease-in-out infinite; }

.section { position: relative; min-height: 100svh; padding: clamp(100px,13vw,170px) clamp(20px,5vw,70px); }
.section::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(2,3,5,.5),rgba(2,3,5,.72)); content: ''; }
.section-shell { width: min(100%,var(--max-width)); margin: 0 auto; }
.section-kicker { margin-bottom: 24px; }
.section h2 { max-width: 950px; font-size: clamp(45px,7.4vw,96px); font-weight: 600; letter-spacing: -.045em; line-height: .98; }
.section-heading > p:last-child { max-width: 600px; margin-top: 30px; color: var(--muted); font-size: clamp(16px,1.8vw,20px); line-height: 1.7; }

.about-copy { display: grid; max-width: 1000px; margin-top: 60px; grid-template-columns: repeat(2,1fr); gap: clamp(30px,6vw,90px); }
.about-copy p { color: rgba(255,255,255,.74); font-size: clamp(18px,2vw,23px); line-height: 1.68; }
.proof-strip { display: grid; margin-top: clamp(70px,10vw,120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); grid-template-columns: repeat(3,1fr); }
.proof-strip > div { display: flex; min-height: 150px; align-items: flex-start; justify-content: center; flex-direction: column; padding: 28px clamp(18px,4vw,48px); }
.proof-strip > div + div { border-left: 1px solid var(--line); }
.proof-strip strong { font-size: clamp(34px,4vw,52px); font-weight: 500; letter-spacing: -.04em; }
.proof-strip span { margin-top: 7px; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.proof-partner-line { display: flex; width: 100%; margin-top: 10px; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 14px; }
.proof-strip .proof-partner-line > span { margin-top: 0; }
.proof-partner-brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 8px; }
.proof-partner-brand img { width: clamp(22px,2vw,30px); height: clamp(22px,2vw,30px); flex: 0 0 auto; object-fit: contain; }
.proof-partner-brand b { font-size: clamp(16px,1.7vw,22px); font-weight: 650; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }

.services-grid { display: grid; margin-top: clamp(70px,8vw,110px); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.floating-card { position: relative; min-height: 300px; overflow: hidden; padding: clamp(28px,4vw,48px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg,rgba(255,255,255,.08),transparent 48%), var(--glass); box-shadow: 0 30px 70px rgba(0,0,0,.28); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: border-color 240ms ease, transform 240ms ease, background 240ms ease; }
.floating-card:nth-child(even) { transform: translateY(38px); }
.floating-card:hover { border-color: rgba(255,255,255,.35); background: linear-gradient(145deg,rgba(255,255,255,.13),transparent 55%), rgba(8,10,14,.62); transform: translateY(-5px); }
.floating-card:nth-child(even):hover { transform: translateY(33px); }
.card-number { display: inline-block; margin-bottom: 62px; color: var(--faint); font-size: 11px; letter-spacing: .2em; }
.floating-card h3 { max-width: 460px; font-size: clamp(26px,3vw,38px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.floating-card p { max-width: 520px; margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.work-grid { display: grid; margin-top: clamp(70px,8vw,110px); border-top: 1px solid var(--line); grid-template-columns: repeat(2,minmax(0,1fr)); }
.work-card { min-height: 270px; padding: clamp(30px,5vw,58px); border-bottom: 1px solid var(--line); transition: background 220ms ease; }
.work-card:nth-child(odd) { border-right: 1px solid var(--line); }
.work-card:hover { background: rgba(255,255,255,.055); }
.work-card span { color: var(--faint); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.work-card h3 { margin-top: 45px; font-size: clamp(27px,3.3vw,43px); font-weight: 500; letter-spacing: -.035em; }
.work-card p { max-width: 470px; margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.insights-track { display: grid; margin-top: clamp(70px,8vw,110px); padding: 0 0 26px; overflow-x: auto; overscroll-behavior-inline: contain; grid-auto-columns: minmax(320px,42%); grid-auto-flow: column; gap: 18px; scroll-snap-type: inline mandatory; scrollbar-color: rgba(255,255,255,.65) rgba(255,255,255,.12); scrollbar-width: thin; }
.insights-track::-webkit-scrollbar { height: 5px; }
.insights-track::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255,255,255,.12); }
.insights-track::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.65); }
.insight-card { display: flex; min-height: 390px; flex-direction: column; padding: clamp(28px,4vw,48px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg,rgba(255,255,255,.09),transparent 55%), rgba(8,10,14,.58); scroll-snap-align: start; }
.insight-card > span { color: rgba(255,255,255,.65); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.insight-card h3 { margin-top: 45px; font-size: clamp(27px,3vw,40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.insight-card p { margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.insight-card small { margin-top: auto; padding-top: 34px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.slider-hint { display: flex; margin-top: 16px; align-items: center; justify-content: flex-end; gap: 10px; color: var(--faint); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.slider-hint span { color: #fff; font-size: 17px; }


.contact-section { display: grid; place-items: center; }
.contact-panel { width: min(100%,1050px); padding: clamp(38px,8vw,100px); border: 1px solid var(--line); border-radius: 32px; background: rgba(5,7,10,.72); text-align: center; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.contact-panel h2 { margin: 0 auto; }
.contact-panel > p:not(.section-kicker) { max-width: 680px; margin: 30px auto 0; color: var(--muted); font-size: clamp(16px,2vw,21px); line-height: 1.65; }
.contact-actions { display: flex; margin-top: 45px; justify-content: center; flex-wrap: wrap; gap: 14px; }
.primary-action, .secondary-action { display: inline-flex; min-width: 190px; min-height: 52px; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid #fff; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; transition: background 180ms ease,color 180ms ease; }
.primary-action { background: #fff; color: #050505; }
.secondary-action:hover, .secondary-action:focus-visible { background: #fff; color: #050505; }
.primary-action:hover, .primary-action:focus-visible { background: transparent; color: #fff; }
.contact-number { display: inline-block; margin-top: 34px; color: var(--muted); font-size: 13px; letter-spacing: .2em; text-decoration: none; }

.site-footer { display: flex; min-height: 120px; align-items: center; justify-content: space-between; padding: 30px clamp(20px,5vw,70px); border-top: 1px solid var(--line); background: rgba(0,0,0,.76); }
.site-footer img { width: 42px; height: 42px; object-fit: contain; }
.site-footer p, .site-footer a { color: var(--faint); font-size: 10px; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease,transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.floating-card.reveal.is-visible:hover { transform: translateY(-5px); }
.floating-card.reveal.is-visible:nth-child(even):hover { transform: translateY(33px); }
@keyframes scroll-pulse { 0%,100% { opacity: .35; transform: scaleY(.65); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); transform-origin: top; } }

@media (max-width: 800px) {
    .site-header { padding: 16px 18px; }
    .brand-mark { width: 38px; height: 38px; }
    .site-nav { gap: clamp(8px,2.8vw,15px); }
    .site-nav a { font-size: clamp(8px,2.2vw,9px); letter-spacing: .08em; }
    .hero { padding-inline: 15px; }
    .hero h1 { font-size: 16vw; letter-spacing: .01em; white-space: normal; }
    .about-copy, .services-grid, .work-grid { grid-template-columns: 1fr; }
    .insights-track { margin-right: -18px; grid-auto-columns: min(84vw,350px); }
    .floating-card:nth-child(even), .floating-card:nth-child(even):hover { transform: none; }
    .floating-card { min-height: 270px; }
    .work-card:nth-child(odd) { border-right: 0; }
    .proof-strip > div { min-height: 120px; padding: 24px 14px; }
    .proof-strip span { font-size: 9px; letter-spacing: .1em; }
    .proof-partner-line { gap: 10px; }
    .proof-partner-brand { gap: 7px; }
    .proof-partner-brand b { font-size: clamp(17px,5vw,21px); }
    body.mobile-motion .reveal { opacity: 0; filter: blur(8px); transform: translate3d(0,34px,0) scale(.9); transform-origin: 50% 70%; transition: opacity 700ms ease, filter 750ms ease, transform 900ms cubic-bezier(.16,1,.3,1); transition-delay: var(--reveal-delay,0ms); will-change: opacity,filter,transform; }
    body.mobile-motion .reveal.is-visible { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); }
    body.mobile-motion .work-card:nth-child(odd) { transform: translate3d(-28px,26px,0) scale(.92); }
    body.mobile-motion .work-card:nth-child(even) { transform: translate3d(28px,26px,0) scale(.92); }
    body.mobile-motion .work-card.is-visible { transform: translate3d(0,0,0) scale(1); }
    body.mobile-motion .contact-panel { filter: blur(10px); transform: translate3d(0,42px,0) scale(.88); }
    body.mobile-motion .contact-panel.is-visible { filter: blur(0); transform: translate3d(0,0,0) scale(1); }
    .floating-card:active, .work-card:active { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.09); transform: scale(.985); }
}

@media (max-width: 520px) {
    .hero-logo { margin-bottom: 15px; }
    .hero .eyebrow { font-size: 14px; letter-spacing: .34em; }
    .tagline { max-width: 92%; margin-top: 25px; letter-spacing: .12em; }
    .section { padding-inline: 18px; }
    .about-copy { margin-top: 42px; }
    .proof-strip { grid-template-columns: 1fr; }
    .proof-strip > div { min-height: 110px; }
    .proof-strip > div + div { border-top: 1px solid var(--line); border-left: 0; }
    .services-grid, .work-grid { margin-top: 55px; }
    .floating-card, .contact-panel { border-radius: 22px; }
    .insight-card { min-height: 370px; border-radius: 22px; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; }
}
