:root {
  color-scheme: dark;
  --bg: #151020;
  --bg-deep: #0e0b16;
  --surface: #21182f;
  --surface-bright: #2a1d3c;
  --text: #f3eff8;
  --muted: #b4aabf;
  --violet: #9c7cff;
  --violet-dark: #7653e8;
  --mint: #9df7df;
  --citron: #e7fa78;
  --line: #ffffff24;
  --scroll-drift: 0px;
  --scroll-tilt: 0deg;
  --pointer-x: 0px;
  --pointer-y: 0px;
  font-family: Manrope, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
/* Contain the rotated ribbon at the viewport, including on mobile Safari. */
html, body { overflow-x: hidden; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(circle at 18% -5%, #6142b04d, transparent 36%), radial-gradient(circle at 95% 38%, #224b5940, transparent 31%), var(--bg); }
body::after { content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--citron); outline-offset: 7px; }
::selection { color: var(--bg-deep); background: var(--citron); }
.wrap { width: calc(100% - 112px); max-width: 1440px; margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 12px 20px; background: var(--mint); color: var(--bg-deep); transform: translateY(-180%); }
.skip:focus { transform: none; }
.cursor-light { position: fixed; left: 0; top: 0; z-index: -1; width: 480px; aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: .18; background: radial-gradient(circle, var(--violet) 0, #9c7cff55 22%, transparent 68%); transform: translate3d(calc(var(--cursor-x, -500px) - 50%), calc(var(--cursor-y, -500px) - 50%), 0); filter: blur(34px); }

.site-header { min-height: 112px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding-block: 16px; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 19px; flex-shrink: 0; font-family: Unbounded, sans-serif; font-weight: 600; letter-spacing: .035em; line-height: 1.2; }
.brand-mark { display: block; flex: 0 0 auto; width: 74px; height: 50px; background: currentColor; -webkit-mask: url('/lupine-mark.png') center/contain no-repeat; mask: url('/lupine-mark.png') center/contain no-repeat; }
.brand > span { font-size: 1.75rem; }
.header-contact, .text-link, .contact-button, .footer-link { display: inline-flex; align-items: center; gap: 24px; }
.header-contact { min-height: 44px; margin-left: auto; font-size: .875rem; }
.header-contact i, .text-link i, .contact-button i, .footer-link i { font-size: 1.3em; font-style: normal; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.header-contact:hover i, .header-contact:focus-visible i, .text-link:hover i, .text-link:focus-visible i, .contact-button:hover i, .contact-button:focus-visible i, .footer-link:hover i, .footer-link:focus-visible i { transform: translate(4px,-4px); }

.roll > span { display: block; position: relative; overflow: hidden; line-height: 1.35; }
.roll > span::after { content: attr(data-label); position: absolute; inset: 0; color: var(--mint); transform: translateY(110%); transition: transform .55s cubic-bezier(.16,1,.3,1); }
.roll-text { display: block; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.roll:hover .roll-text, .roll:focus-visible .roll-text { transform: translateY(-110%); }
.roll:hover > span::after, .roll:focus-visible > span::after { transform: translateY(0); }
.brand > span::after { color: var(--violet); }

.hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(340px, .72fr); align-items: center; gap: 6%; padding-block: 70px 92px; position: relative; }
.hero-copy { min-width: 0; position: relative; z-index: 2; }
.eyebrow { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; line-height: 1.5; }
h1 { margin: 0 0 0 -.065em; font-size: min(8.2vw, 8.75rem); font-weight: 600; line-height: .98; letter-spacing: -.065em; }
.display-line { display: block; transform: translateX(calc(var(--scroll-drift) * -1)); }
.display-line + .display-line { transform: translateX(var(--scroll-drift)); }
.display-line.accent-line { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: var(--violet); letter-spacing: -.045em; padding-right: .08em; }
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; white-space: pre; transform-origin: 50% 88%; }
.hero-intro { margin-top: 45px; display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; max-width: 735px; }
.hero-intro p { margin: 0; max-width: 490px; color: var(--muted); font-size: 1.125rem; line-height: 1.75; letter-spacing: -.02em; }
.text-link { flex-shrink: 0; min-height: 44px; font-size: .875rem; }
.text-link i { color: var(--citron); }

.hero-scene { aspect-ratio: .82; position: relative; isolation: isolate; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: linear-gradient(145deg, #2c2040 0%, #1b1428 58%, #11101c 100%); transform: translate3d(var(--pointer-x), calc(var(--pointer-y) - var(--scroll-drift)), 0) rotate(calc(3deg + var(--scroll-tilt))); box-shadow: 0 45px 90px #07050d70; }
.hero-scene::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 140deg, transparent 0 28%, #9c7cff22 36%, transparent 46% 72%, #9df7df1f 80%, transparent 89%); animation: scene-glow 15s linear infinite; }
.scene-grid { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(#ffffff17 1px, transparent 1px), linear-gradient(90deg, #ffffff17 1px, transparent 1px); background-size: 12.5% 10%; transform: perspective(600px) rotateX(4deg) scale(1.12); }
.scene-code { position: absolute; z-index: 3; color: #d8cfee; font: 600 .65rem/1 Unbounded, sans-serif; letter-spacing: .12em; }
.scene-code-top { top: 25px; left: 27px; }
.scene-code-side { right: -82px; top: 50%; transform: rotate(90deg); }
.mark-orbit { position: absolute; inset: 17% 13%; display: grid; place-items: center; border: 1px solid #9df7df55; border-radius: 50%; animation: orbit-breathe 7s ease-in-out infinite; }
.mark-orbit::before, .mark-orbit::after { content: ""; position: absolute; inset: 10%; border: 1px solid #9c7cff80; border-radius: 50%; transform: rotate(42deg); }
.mark-orbit::after { inset: -10% 22%; border-color: #ffffff24; }
.kinetic-mark { display: block; width: 69%; aspect-ratio: 1.8; color: var(--text); background: currentColor; -webkit-mask: url('/lupine-mark.png') center/contain no-repeat; mask: url('/lupine-mark.png') center/contain no-repeat; filter: drop-shadow(0 0 30px #9c7cff66); animation: mark-float 5.8s ease-in-out infinite; }
.orbit-node { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--citron); box-shadow: 0 0 25px var(--citron); animation: node-orbit 9s linear infinite; }
.scene-readout { position: absolute; z-index: 3; left: 26px; right: 26px; bottom: 24px; display: flex; justify-content: space-between; gap: 12px; font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.scene-readout span { display: flex; gap: 8px; align-items: center; }
.scene-readout b { color: var(--mint); font-weight: 600; }

.ticker { position: relative; z-index: 4; margin-block: -16px 0; padding-block: 22px 25px; overflow: hidden; color: var(--bg-deep); background: var(--citron); transform: rotate(2.2deg) scale(1.04); }
.ticker-track { width: max-content; display: flex; animation: ticker 35s linear infinite; }
.ticker-group { display: flex; flex-shrink: 0; align-items: center; gap: 42px; padding-right: 42px; font-size: clamp(2.1rem, 4.2vw, 4.5rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.ticker-group span { white-space: nowrap; }
.ticker-star { display: block; flex: 0 0 auto; width: .64em; height: .64em; color: var(--violet-dark); }

.practice-section { margin-top: -35px; padding: 150px 0 112px; background: var(--bg-deep); }
.section-heading { display: grid; grid-template-columns: .55fr 1fr .75fr; gap: 44px; align-items: end; padding-bottom: 65px; }
.section-heading h2, .about-copy h2, .contact h2 { margin: 0; font-size: clamp(3.5rem, 7.3vw, 7.25rem); font-weight: 600; line-height: .98; letter-spacing: -.065em; }
.section-heading h2 em, .about-copy h2 em, .contact h2 em { font-family: 'Instrument Serif', Georgia, serif; color: var(--violet); font-weight: 400; font-style: italic; letter-spacing: -.035em; }
.section-intro { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 360px; }
.services { border-top: 1px solid var(--line); }
.service { position: relative; isolation: isolate; display: grid; grid-template-columns: .55fr .95fr 1.35fr; align-items: center; gap: 28px; min-height: 165px; border-bottom: 1px solid var(--line); overflow: hidden; }
.service::before { content: attr(data-service); position: absolute; right: 7%; top: 50%; color: transparent; -webkit-text-stroke: 1px #ffffff18; font: 600 8.4rem/1 Unbounded, sans-serif; transform: translateY(-45%) translateX(34px); opacity: 0; transition: opacity .45s, transform .7s cubic-bezier(.16,1,.3,1); }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--surface); transform: scaleY(0); transform-origin: bottom; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.service:hover::after { transform: scaleY(1); }
.service:hover::before { opacity: 1; transform: translateY(-45%) translateX(0); }
.service-index { color: var(--muted); font-size: .75rem; letter-spacing: .1em; }
.service h3 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 3.7rem); line-height: 1; letter-spacing: -.055em; font-weight: 600; }
.service p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.72; max-width: 520px; }

.one-person { padding-block: 112px; display: grid; grid-template-columns: minmax(320px,.9fr) 1.1fr; gap: 8%; align-items: center; }
.one-visual { aspect-ratio: 1.16; position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--violet-dark), #2d2051 62%, var(--bg-deep)); }
.one-visual::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), #ffffff16 calc(12.5% - 1px) 12.5%); }
.one-number { position: absolute; left: 4%; bottom: -20%; color: #ffffff12; font: 600 min(32vw,28rem)/1 Unbounded,sans-serif; letter-spacing: -.12em; }
.one-mark { position: absolute; width: 42%; aspect-ratio: 1.8; right: 9%; top: 13%; background: var(--citron); -webkit-mask: url('/lupine-mark.png') center/contain no-repeat; mask: url('/lupine-mark.png') center/contain no-repeat; animation: one-mark 7s ease-in-out infinite; }
.one-caption { position: absolute; right: 7%; bottom: 7%; max-width: 16em; text-align: right; color: #eee7ff; font: 600 .64rem/1.6 Unbounded,sans-serif; letter-spacing: .13em; }
.about-copy .eyebrow { margin-bottom: 28px; }
.about-copy h2 { font-size: clamp(3.25rem, 6.3vw, 6.4rem); }
.about-copy h2 em { color: var(--citron); }
.about-copy > p:not(.eyebrow) { margin: 34px 0 25px; max-width: 620px; color: var(--muted); font-size: 1.125rem; line-height: 1.75; letter-spacing: -.02em; }

.contact-section { overflow: hidden; background: var(--violet-dark); color: var(--text); position: relative; }
.contact-section::before { content: "LUPINE"; position: absolute; right: -3%; top: -5%; color: transparent; -webkit-text-stroke: 1px #ffffff20; font: 600 14vw/1 Unbounded,sans-serif; transform: rotate(-7deg); }
.contact { padding-block: 92px 73px; position: relative; z-index: 1; }
.contact .eyebrow { color: #e1d8fb; margin-bottom: 34px; }
.contact h2 { max-width: 1200px; font-size: clamp(4rem, 10.3vw, 10.6rem); }
.contact h2 em { color: var(--citron); }
.contact-row { margin-top: 56px; padding-top: 34px; border-top: 1px solid #ffffff4a; display: flex; justify-content: space-between; align-items: center; gap: 38px; }
.contact-row p { margin: 0; color: #e1d8fb; font-size: 1rem; line-height: 1.65; }
.contact-button { max-width: 100%; padding: 17px 25px; border-radius: 999px; color: var(--bg-deep); background: var(--citron); font-size: clamp(1rem,1.5vw,1.25rem); letter-spacing: -.03em; transition: background .3s, transform .3s; }
.contact-button > span, .contact-button .roll-text { max-width: 100%; overflow-wrap: anywhere; }
.contact-button:hover, .contact-button:focus-visible { background: var(--mint); transform: translateY(-3px); }
.contact-button > span::after { color: var(--violet-dark); }

.site-footer { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: var(--muted); font-size: .75rem; }
.footer-brand { color: var(--text); gap: 12px; }
.footer-brand .brand-mark { width: 45px; height: 32px; }
.footer-brand > span { font-size: 1rem; }
.footer-link { justify-self: end; }

.reveal { transition: opacity .8s, transform 1s cubic-bezier(.16,1,.3,1); }
.reveal:not(.in-view) { opacity: 0; transform: translateY(50px); }
html[data-motion="on"] .char { animation: letter-in 1.05s cubic-bezier(.16,1,.3,1) both, char-wave 8s ease-in-out infinite; animation-delay: calc(90ms + var(--i) * 34ms), calc(1.4s + var(--i) * 110ms); }
html[data-motion="on"] .hero-intro { animation: copy-in 1s cubic-bezier(.16,1,.3,1) .35s both; }
html[data-motion="on"] .hero-scene { animation: scene-in 1.35s cubic-bezier(.16,1,.3,1) .15s both; }

@keyframes letter-in { from { opacity: 0; transform: translate3d(0,90%,0) rotate(7deg); } to { opacity: 1; transform: translate3d(0,0,0) rotate(0); } }
@keyframes char-wave { 0%,100% { transform: translateY(0) rotate(0); } 28% { transform: translateY(-.035em) rotate(-.7deg); } 72% { transform: translateY(.022em) rotate(.5deg); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes scene-in { from { opacity: 0; clip-path: inset(48% 0 48% 0 round 120px); transform: translateY(55px) rotate(-7deg) scale(.9); } to { opacity: 1; clip-path: inset(0 round 0); } }
@keyframes scene-glow { to { transform: rotate(360deg); } }
@keyframes orbit-breathe { 0%,100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(5deg) scale(1.055); } }
@keyframes mark-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes node-orbit { from { transform: rotate(0deg) translateX(165px) rotate(0deg); } to { transform: rotate(360deg) translateX(165px) rotate(-360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes one-mark { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(15px) rotate(4deg); } }

@media (hover:hover) and (pointer:fine) {
  .char { transition: color .3s, translate .45s cubic-bezier(.2,.8,.2,1), rotate .45s cubic-bezier(.2,.8,.2,1); }
  .char:hover { color: var(--mint); translate: 0 -.1em; rotate: -5deg; }
}

@media (min-width: 1600px) {
  .hero { padding-block: 88px 116px; }
}

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .site-header { min-height: 96px; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(290px,.62fr); min-height: 620px; gap: 4%; padding-block: 58px 82px; }
  h1 { font-size: 7.7vw; }
  .hero-intro { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading { grid-template-columns: .4fr 1fr .72fr; gap: 28px; }
  .service { grid-template-columns: .4fr .8fr 1.25fr; gap: 20px; }
  @keyframes node-orbit { from { transform: rotate(0deg) translateX(125px) rotate(0deg); } to { transform: rotate(360deg) translateX(125px) rotate(-360deg); } }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 44px); }
  .cursor-light { display: none; }
  .site-header { min-height: 84px; gap: 18px; }
  .brand { gap: 12px; }
  .brand-mark { width: 52px; height: 36px; }
  .brand > span { font-size: 1.35rem; }
  .header-contact { margin-left: auto; gap: 10px; }
  .header-contact > span { max-width: 58px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 44px; padding-block: 46px 76px; }
  h1 { font-size: min(14.8vw,5rem); line-height: 1.01; }
  .hero-intro { margin-top: 31px; }
  .hero-intro p { font-size: 1rem; line-height: 1.65; }
  .hero-scene { width: 84%; max-width: 380px; justify-self: center; transform: translate3d(var(--pointer-x), calc(var(--pointer-y) - var(--scroll-drift)), 0) rotate(calc(2deg + var(--scroll-tilt))); }
  .scene-code-side { right: -90px; }
  .scene-readout { left: 20px; right: 20px; bottom: 20px; }
  .scene-readout span { gap: 5px; }
  @keyframes node-orbit { from { transform: rotate(0deg) translateX(120px) rotate(0deg); } to { transform: rotate(360deg) translateX(120px) rotate(-360deg); } }
  .ticker { padding-block: 18px 21px; transform: rotate(3deg) scale(1.06); }
  .ticker-group { font-size: 2.25rem; gap: 27px; padding-right: 27px; }
  .practice-section { padding: 115px 0 73px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; padding-bottom: 43px; }
  .section-heading h2 { font-size: min(18vw,6.7rem); }
  .section-intro { font-size: 1rem; }
  .service { grid-template-columns: 78px 1fr; gap: 15px; min-height: 0; padding-block: 27px; }
  .service-index { grid-row: 1 / 3; align-self: start; margin-top: 7px; font-size: .68rem; }
  .service h3 { font-size: 2rem; }
  .service p { grid-column: 2; font-size: .9375rem; line-height: 1.65; }
  .one-person { padding-block: 75px; grid-template-columns: 1fr; gap: 51px; }
  .one-visual { width: 92%; max-width: 530px; }
  .one-caption { font-size: .58rem; }
  .about-copy h2 { font-size: min(16vw,6.2rem); }
  .about-copy > p:not(.eyebrow) { margin-top: 26px; font-size: 1rem; line-height: 1.65; }
  .contact { padding-block: 67px 53px; }
  .contact .eyebrow { margin-bottom: 27px; }
  .contact h2 { font-size: min(19vw,7rem); }
  .contact-row { margin-top: 39px; padding-top: 26px; align-items: flex-start; flex-direction: column; gap: 28px; }
  .contact-button { font-size: 1.05rem; padding: 15px 22px; }
  .site-footer { min-height: 0; padding-block: 25px 29px; grid-template-columns: 1fr auto; gap: 15px; }
  .footer-brand { display: none; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 36px); }
  .brand > span { font-size: 1.15rem; }
  .brand-mark { width: 46px; height: 32px; }
  .header-contact { font-size: .8rem; }
  h1 { font-size: 15vw; }
  .hero-scene { width: 92%; }
  .scene-readout { font-size: .6rem; }
  .service { grid-template-columns: 69px 1fr; gap: 11px; }
  .site-footer { font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .display-line, .hero-scene { transform: none !important; }
  .cursor-light { display: none; }
}

html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] .reveal { opacity: 1; transform: none; }
