:root {
  color-scheme: dark;
  --bg: #0b0b11;
  --bg-soft: #111119;
  --panel: #171720;
  --text: #f6f3ef;
  --muted: #aaa6b2;
  --line: rgba(255,255,255,.11);
  --accent: #ff6344;
  --accent-2: #d02b55;
  --mint: #59d3c9;
  --gradient: linear-gradient(120deg, #ffc169 0%, #ff6344 48%, #d02b55 100%);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --max: 1180px;
  --font-display: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 15% 5%, rgba(208,43,85,.16), transparent 32rem), radial-gradient(circle at 90% 72%, rgba(255,99,68,.12), transparent 32rem); pointer-events: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: var(--font-display); }
h1, h2 { letter-spacing: -.045em; line-height: 1.06; }
h3 { line-height: 1.2; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }
.section-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section-space { padding-block: clamp(88px, 12vw, 160px); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; height: 84px; padding-inline: max(20px, calc((100vw - var(--max)) / 2)); transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(11,11,17,.9); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; font-weight: 800; font-size: 1.28rem; letter-spacing: .08em; text-decoration: none; }
.brand em { font-style: normal; color: var(--accent); }
.navigation, .legal-nav { display: flex; align-items: center; gap: 28px; }
.navigation a, .legal-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 600; transition: color .2s; }
.navigation a:hover, .legal-nav a:hover { color: var(--text); }
.navigation .nav-cta { padding: 10px 19px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: var(--text); }
.navigation .nav-cta:hover { border-color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--text); align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-toggle > span:not(.sr-only) { width: 18px; height: 1px; background: currentColor; transition: transform .2s; }

.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; padding-top: 130px; padding-bottom: 90px; overflow: hidden; }
.hero-orb { position: absolute; z-index: -1; width: min(52vw, 650px); aspect-ratio: 1; border-radius: 50%; right: -8%; top: 13%; background: radial-gradient(circle at 35% 35%, rgba(255,193,105,.9), rgba(255,99,68,.38) 35%, rgba(208,43,85,.1) 62%, transparent 70%); filter: blur(8px); opacity: .55; }
.eyebrow, .section-label { color: var(--muted); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px var(--mint); }
.hero h1 { max-width: 1050px; margin: 24px 0 30px; font-size: clamp(3rem, 8vw, 7.2rem); }
.hero h1 strong, .contact h2 strong { font-weight: inherit; color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.hero-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border-radius: 999px; text-decoration: none; font-weight: 750; transition: transform .2s, box-shadow .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gradient); color: #fff; box-shadow: 0 12px 36px rgba(255,99,68,.24); }
.button-primary:hover { box-shadow: 0 16px 44px rgba(255,99,68,.38); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.button-secondary:hover { border-color: rgba(255,255,255,.34); }
.scroll-cue { position: absolute; left: 0; bottom: 24px; display: flex; align-items: center; gap: 12px; color: var(--muted); text-decoration: none; font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; }
.scroll-cue i { width: 52px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }

.section-label { margin-bottom: 28px; color: var(--mint); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.intro h2, .section-heading h2 { font-size: clamp(2.25rem, 5.3vw, 4.9rem); margin-bottom: 0; }
.intro h2 span, .section-heading h2 span { color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; }
.prose { color: var(--muted); font-size: 1.05rem; }
.prose p + p { margin-top: 20px; }

.services, .team { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 50px; align-items: end; margin-bottom: 52px; }
.section-heading > p { color: var(--muted); margin-bottom: 6px; }
.section-heading.compact { display: block; max-width: 900px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.service-card { position: relative; min-height: 300px; padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); overflow: hidden; transition: transform .25s, border-color .25s; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(255,99,68,.48); }
.service-number { position: absolute; right: 24px; top: 22px; color: rgba(255,255,255,.28); font-size: .75rem; letter-spacing: .12em; }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 55px; border: 1px solid rgba(255,99,68,.32); border-radius: 50%; color: var(--accent); font-size: 1.2rem; }
.service-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); max-width: 500px; margin-bottom: 0; }

.phone-story { position: relative; overflow: clip; }
.phone-story::before { content: ""; position: absolute; z-index: -1; width: 48vw; height: 48vw; min-width: 520px; min-height: 520px; right: -18vw; top: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(255,99,68,.14), rgba(208,43,85,.06) 45%, transparent 70%); filter: blur(18px); pointer-events: none; }
.phone-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr); gap: clamp(50px, 9vw, 130px); align-items: start; }
.phone-steps { min-width: 0; }
.phone-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding-block: 70px; opacity: .42; transition: opacity .45s, transform .45s; }
.phone-step.is-active { opacity: 1; transform: translateX(8px); }
.step-kicker { margin-bottom: 17px; color: var(--mint); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.phone-step h2 { margin-bottom: 22px; font-size: clamp(2.35rem, 5vw, 4.8rem); }
.phone-step h2 span { color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; }
.phone-step > p:last-child { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.phone-stage { position: sticky; top: 84px; height: calc(100vh - 84px); display: grid; place-items: center; perspective: 1500px; }
.phone-device { --phone-progress: 0; position: relative; width: min(310px, 29vw); aspect-ratio: 9 / 19.4; transform-style: preserve-3d; transform: translate3d(0, calc((var(--phone-progress) - .5) * 34px), 0) rotateX(calc((.5 - var(--phone-progress)) * 8deg)) rotateY(calc((var(--phone-progress) - .5) * 16deg)); transition: transform .12s linear; }
.phone-device::before { content: ""; position: absolute; inset: 8% -20% -9%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255,99,68,.25), rgba(208,43,85,.06) 46%, transparent 70%); filter: blur(32px); }
.phone-hardware { position: absolute; inset: 0; padding: 7px; border: 1px solid rgba(255,255,255,.19); border-radius: 48px; background: linear-gradient(145deg, #383841, #0b0b0f 20%, #18181d 80%, #46464e); box-shadow: 0 35px 90px rgba(0,0,0,.58), inset 0 0 0 2px rgba(255,255,255,.05); overflow: hidden; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 40px; background: #0d0d12; overflow: hidden; }
.phone-island { position: absolute; z-index: 15; top: 17px; left: 50%; width: 34%; height: 25px; border-radius: 999px; background: #050507; transform: translateX(-50%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.phone-status { position: absolute; z-index: 12; inset: 14px 18px auto; display: flex; justify-content: space-between; color: rgba(255,255,255,.88); font-size: .62rem; font-weight: 800; }
.phone-glare { position: absolute; z-index: 20; inset: 0; border-radius: 48px; background: linear-gradient(115deg, rgba(255,255,255,.09), transparent 22%, transparent 70%, rgba(255,255,255,.035)); pointer-events: none; }
.social-screen { position: absolute; inset: 0; padding-top: 48px; opacity: 0; transform: scale(.975) translateY(14px); transition: opacity .5s, transform .55s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.social-screen.is-active { opacity: 1; transform: none; }
.profile-screen { display: flex; flex-direction: column; background: #0d0d12; }
.profile-head { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 14px 15px 10px; }
.social-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent); background: #17171f; font-family: var(--font-display); font-weight: 850; }
.social-avatar.small { width: 28px; height: 28px; font-size: .65rem; }
.profile-head strong { display: block; font-size: .76rem; }
.profile-head small { display: block; color: #8f8c98; font-size: .58rem; }
.social-more { font-size: .7rem; letter-spacing: .08em; }
.profile-copy { padding: 3px 15px 13px; color: #e8e5e2; font-size: .66rem; line-height: 1.5; }
.profile-copy span { color: #9d99a5; }
.social-tabs { display: flex; justify-content: space-around; padding: 9px; border-top: 1px solid rgba(255,255,255,.08); color: #a8a5ad; font-size: .8rem; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; flex: 1; gap: 2px; }
.tile { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 6px; text-align: center; color: #fff; overflow: hidden; }
.tile b { font-family: var(--font-display); font-size: clamp(.52rem, .8vw, .66rem); line-height: 1.15; }
.tile > span { font-family: var(--font-display); font-size: 1.4rem; font-weight: 850; line-height: .9; }
.tile em { color: var(--accent); font-style: normal; }
.tile-a { background: linear-gradient(145deg, #d02b55, #681b39); }
.tile-b { background: radial-gradient(circle at 35% 25%, #ffbc73, #ff6344 38%, #6d1934 75%); }
.tile-c { background: #20202b; }
.tile-d { background: #111118; }
.tile-e { background: linear-gradient(145deg, #174744, #101c22); }
.tile-f { background: linear-gradient(145deg, #ff6d4f, #a72245); }
.reel-screen { background: radial-gradient(circle at 52% 28%, #81314a, #29121f 40%, #08080c 78%); overflow: hidden; }
.reel-light { position: absolute; width: 160%; height: 55%; left: -45%; top: 12%; background: linear-gradient(100deg, transparent 24%, rgba(255,186,112,.18), transparent 60%); transform: rotate(-22deg); filter: blur(10px); }
.reel-label { position: absolute; top: 58px; left: 15px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; font-size: .52rem; letter-spacing: .12em; }
.reel-play { position: absolute; left: 50%; top: 44%; display: grid; place-items: center; width: 67px; height: 67px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); transform: translate(-50%, -50%); font-size: 1.1rem; padding-left: 3px; }
.reel-actions { position: absolute; right: 14px; bottom: 98px; display: flex; flex-direction: column; gap: 17px; font-size: 1.25rem; }
.reel-caption { position: absolute; left: 15px; right: 50px; bottom: 24px; font-size: .67rem; line-height: 1.5; }
.reel-caption span { color: #c8c4cd; }
.story-screen { background: linear-gradient(155deg, #d12d57, #ff6747 54%, #ffb763); }
.story-bars { display: flex; gap: 4px; position: absolute; top: 48px; left: 10px; right: 10px; }
.story-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.55); }
.story-bars i:first-child { background: #fff; }
.story-user { position: absolute; top: 60px; left: 14px; display: flex; align-items: center; gap: 8px; font-size: .64rem; }
.story-user span { color: rgba(255,255,255,.72); }
.story-message { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 58px 25px 30px; text-align: center; }
.story-message small { margin-bottom: 16px; font-size: .5rem; font-weight: 850; letter-spacing: .12em; }
.story-message h3 { margin-bottom: 25px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.08; text-shadow: 0 3px 18px rgba(98,15,43,.2); }
.story-pill { padding: 9px 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; font-size: .61rem; font-weight: 750; }

.process-list { list-style: none; padding: 0; margin: 60px 0 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--accent); font-family: var(--font-display); font-weight: 800; }
.process-list h3 { margin-bottom: 3px; font-size: 1.35rem; }
.process-list p { margin-bottom: 0; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.team-card { display: grid; grid-template-columns: 1fr; min-height: 330px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; transition: transform .25s, border-color .25s; }
.team-card:hover { transform: translateY(-4px); border-color: rgba(89,211,201,.4); }
.portrait-wrap { width: 100%; aspect-ratio: 1; min-height: 0; background: #1b1820; overflow: hidden; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portrait-wrap.initials { display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 6rem); color: rgba(255,255,255,.86); background: radial-gradient(circle at 35% 25%, rgba(255,99,68,.38), transparent 45%), linear-gradient(145deg, #20131b, #13131b); }
.team-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.team-copy .role { color: var(--mint); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.team-copy h3 { font-size: 1.55rem; margin-bottom: 10px; }
.team-copy > p:last-child { color: var(--muted); margin-bottom: 0; }

.contact-panel { position: relative; padding: clamp(36px, 7vw, 84px); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: radial-gradient(circle at 90% 10%, rgba(208,43,85,.23), transparent 40%), linear-gradient(145deg, #171720, #111118); box-shadow: var(--shadow); overflow: hidden; }
.contact h2 { max-width: 900px; margin: 24px 0; font-size: clamp(2.55rem, 6vw, 5.5rem); }
.contact-panel > p:not(.eyebrow) { max-width: 660px; color: var(--muted); font-size: 1.08rem; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-block: 34px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p, .site-footer small { margin: 0; font-size: .82rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.legal-page { background: var(--bg); }
.legal-shell { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 150px 0 100px; }
.legal-shell h1 { font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: 42px; }
.legal-shell section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-shell h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); letter-spacing: -.025em; margin-bottom: 14px; }
.legal-shell h3 { font-size: 1.08rem; margin-top: 28px; margin-bottom: 8px; }
.legal-shell p { color: #c7c3cd; }
.legal-shell a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal-intro { font-size: 1.08rem; margin-bottom: 45px; }
@media (max-width: 900px) {
  .section-heading, .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading > p { max-width: 620px; }
  .phone-story-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); gap: 35px; }
  .phone-device { width: min(285px, 35vw); }
  .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-card { grid-template-columns: 1fr; }
  .portrait-wrap { aspect-ratio: 1; min-height: 0; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
  .site-footer small { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .section-shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 72px; padding-inline: 14px; }
  .menu-toggle { display: flex; }
  .navigation { position: fixed; top: 72px; left: 14px; right: 14px; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(17,17,25,.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, visibility .2s, transform .2s; }
  .navigation.is-open { opacity: 1; visibility: visible; transform: none; }
  .navigation a { padding: 13px 12px; }
  .navigation .nav-cta { margin-top: 6px; text-align: center; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { align-items: flex-start; min-height: 92svh; padding-top: 115px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .hero-orb { width: 90vw; right: -45%; top: 18%; }
  .service-grid, .team-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .phone-story-grid { display: flex; flex-direction: column; gap: 0; }
  .phone-stage { order: -1; z-index: 2; top: 72px; width: 100%; height: min(62vh, 590px); background: linear-gradient(to bottom, var(--bg) 82%, transparent); }
  .phone-device { width: min(238px, 58vw); }
  .phone-step { min-height: 55vh; padding-block: 70px; opacity: .58; }
  .phone-step.is-active { transform: none; }
  .team-card { grid-template-columns: minmax(125px, .65fr) 1fr; min-height: 275px; }
  .portrait-wrap { aspect-ratio: auto; min-height: 275px; }
  .team-copy { padding: 22px; }
  .team-copy h3 { font-size: 1.3rem; }
  .process-list li { grid-template-columns: 52px 1fr; }
  .legal-nav a:first-child { display: none; }
}

@media (max-width: 480px) {
  .section-space { padding-block: 82px; }
  .hero-actions, .contact-actions { width: 100%; }
  .hero-actions .button, .contact-actions .button { width: 100%; }
  .team-card { grid-template-columns: 1fr; }
  .portrait-wrap { aspect-ratio: 1; min-height: 0; }
  .phone-stage { height: min(59vh, 540px); }
  .phone-device { width: min(220px, 64vw); }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .site-footer small { grid-column: 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; }
}
