/* Elgan Chia — personal portfolio. No frameworks or external assets required. */
:root {
  --ink: #171717;
  --ink-soft: #242424;
  --paper: #f2efe8;
  --paper-deep: #e6e1d8;
  --acid: #e9ff63;
  --orange: #ff5a36;
  --lavender: #cfc3ff;
  --muted: #706e68;
  --line: rgba(23, 23, 23, .2);
  --gutter: clamp(22px, 4vw, 68px);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body, a, button { cursor: default; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
::selection { color: var(--ink); background: var(--acid); }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; padding: 12px 18px; color: var(--ink); background: var(--acid); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; height: 96px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: center; color: var(--paper); border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.brand-mark { width: 34px; height: 34px; color: var(--acid); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark { transform: rotate(135deg); }
.desktop-nav { justify-self: end; display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 12px; }
.desktop-nav a { position: relative; color: #d0cec8; padding: 12px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px; background: var(--acid); transition: right .25s; }
.desktop-nav a:hover { color: #fff; }
.desktop-nav a:hover::after { right: 0; }

.hero { position: relative; isolation: isolate; min-height: max(780px, 100svh); padding: 152px var(--gutter) 0; display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .13; pointer-events: none; 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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"); }
.hero-copy { position: relative; z-index: 3; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.eyebrow { font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 clamp(30px, 5vh, 60px) 4px; color: #c4c2bc; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(233,255,99,.09); animation: pulse 2.5s ease-in-out infinite; }
.eyebrow-divider { margin: 0 4px; color: #686863; }
.hero-title { max-width: 1280px; font-size: clamp(64px, 8.25vw, 142px); font-weight: 800; line-height: .89; letter-spacing: -.06em; }
.title-line { display: block; white-space: nowrap; }
.title-line-two { margin-left: clamp(0px, 3vw, 48px); }
.hero-title em { color: var(--acid); font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
.hero-actions { margin: clamp(25px, 3.5vh, 38px) 0 0 5px; display: flex; align-items: center; gap: 18px; }
.hero-resume-button { min-height: 52px; padding: 15px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 34px; border: 1px solid var(--acid); border-radius: 100px; background: var(--acid); color: var(--ink); font-size: 12px; font-weight: 800; box-shadow: 0 0 0 0 rgba(233,255,99,0); transition: transform .25s, box-shadow .25s, background .25s; }
.hero-resume-button:hover { transform: translateY(-3px); background: #f1ffa0; box-shadow: 0 6px 24px rgba(233,255,99,.18); }
.hero-resume-button span { font-size: 19px; line-height: 1; transition: transform .25s; }
.hero-resume-button:hover span { transform: translate(3px,-3px); }
.hero-action-note { max-width: 170px; color: #a6a49e; font-size: 9px; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
.hero-intro { width: min(360px, 30vw); margin: clamp(24px, 3.5vh, 36px) 0 38px 5px; display: flex; align-items: flex-end; gap: 30px; }
.hero-intro p { color: #b7b5af; font-size: 13px; line-height: 1.65; }
.circle-link { flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid #62625e; border-radius: 50%; transition: background .25s, border-color .25s, color .25s; }
.circle-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.circle-link:hover { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.hero-footer { position: relative; z-index: 4; min-height: 78px; padding-right: calc(290px - var(--gutter)); display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 36px; border-top: 1px solid rgba(255,255,255,.16); color: #8f8e89; font-size: 9px; letter-spacing: .14em; }
.hero-footer a { justify-self: end; display: flex; gap: 20px; align-items: center; color: var(--paper); font-size: 11px; letter-spacing: 0; }
.hero-footer a span { color: var(--acid); font-size: 16px; }

.hero-art { position: absolute; z-index: 1; width: min(49vw, 700px); aspect-ratio: 1; top: 51%; right: 1.5vw; transform: translateY(-50%); }
.sound-stage { position: absolute; inset: 34px 0; cursor: grab; touch-action: pan-y; transform: perspective(1000px) rotateX(var(--stage-y, 0deg)) rotateY(var(--stage-x, 0deg)); transition: transform .25s ease-out; }
.sound-stage:active, .sound-stage.is-scratching { cursor: grabbing; }
.sound-stage::before { content: ""; position: absolute; width: 77%; height: 77%; left: 12%; top: 10%; border-radius: 45% 55% 52% 48% / 55% 43% 57% 45%; background: var(--orange); transform: rotate(-13deg); animation: morph 12s ease-in-out infinite alternate; }
.orbit { position: absolute; z-index: 0; border: 1px solid rgba(242,239,232,.35); border-radius: 50%; pointer-events: none; }
.orbit-one { inset: 3% 5% 6%; transform: rotate(25deg); }
.orbit-two { inset: 12% -2% 14% 8%; border-style: dashed; opacity: .5; }
.record-wrap { position: absolute; z-index: 2; width: 67%; aspect-ratio: 1; left: 17%; top: 17%; transform: translate(var(--record-x, 0px), var(--record-y, 0px)); transition: transform .18s ease-out; }
.record-shadow { position: absolute; inset: 5% -4% -5% 6%; background: rgba(0,0,0,.3); border-radius: 50%; filter: blur(18px); }
.vinyl { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: repeating-radial-gradient(circle at center, transparent 0, transparent 3px, rgba(255,255,255,.09) 3.5px, transparent 4.5px), conic-gradient(from 30deg, #111, #292929, #0b0b0b, #242424, #101010, #2b2b2b, #111); box-shadow: inset 0 0 0 1px #3d3d3d, 0 12px 35px rgba(0,0,0,.3); animation: spin 16s linear infinite; }
.vinyl::after { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 0 0 12px rgba(0,0,0,.05), 0 0 0 38px rgba(255,255,255,.025), 0 0 0 75px rgba(0,0,0,.06); }
.vinyl-light { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.vinyl-light::after { content: ""; position: absolute; width: 45%; height: 130%; top: -15%; left: 7%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); transform: rotate(26deg); }
.vinyl-label { position: relative; z-index: 2; width: 35%; aspect-ratio: 1; padding: 11% 5%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; border-radius: 50%; background: var(--acid); color: var(--ink); text-align: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.vinyl-label strong { font-size: clamp(10px, 1.25vw, 19px); line-height: .92; letter-spacing: -.06em; }
.label-small { font-size: clamp(4px, .43vw, 7px); line-height: 1; font-weight: 700; letter-spacing: .12em; }
.label-line { width: 50%; height: 1px; background: var(--ink); }
.label-hole { position: absolute; width: 6%; aspect-ratio: 1; left: 47%; top: 47%; border-radius: 50%; background: var(--ink); }
.tonearm { position: absolute; z-index: 4; width: 35%; height: 47%; top: 3%; right: 0; transform-origin: 78% 15%; transform: rotate(var(--arm-rotation, -5deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.sound-stage.is-scratching .tonearm { --arm-rotation: -15deg; }
.tonearm-pivot { position: absolute; width: 58px; height: 58px; right: 7%; top: 0; padding: 10px; border-radius: 50%; background: #b9b9b3; box-shadow: 0 5px 12px rgba(0,0,0,.3); }
.tonearm-pivot span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #313131; border: 5px solid #777; }
.tonearm-rod { position: absolute; width: 8px; height: 80%; top: 39px; right: 30px; border-radius: 10px; background: linear-gradient(90deg, #777, #eee, #888); transform: rotate(19deg); transform-origin: top; box-shadow: 2px 3px 4px rgba(0,0,0,.25); }
.tonearm-head { position: absolute; width: 28px; height: 43px; right: 42%; bottom: 1%; border-radius: 3px; background: var(--paper); border-bottom: 8px solid var(--ink); transform: rotate(19deg); }
.waveform { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wave { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wave-back { stroke: var(--acid); stroke-width: 2; stroke-dasharray: 7 9; animation: dash 14s linear infinite; }
.wave-front { stroke: rgba(242,239,232,.6); stroke-width: 1; animation: waveShift 5s ease-in-out infinite alternate; }
.sound-bars { position: absolute; z-index: 5; left: 4%; bottom: 8%; height: 56px; display: flex; align-items: center; gap: 3px; transform: rotate(-8deg); }
.sound-bars i { display: block; width: 3px; height: 12px; background: var(--acid); animation: equalize .8s ease-in-out infinite alternate; }
.sound-bars i:nth-child(3n) { animation-delay: -.4s; }
.sound-bars i:nth-child(4n) { animation-delay: -.7s; }
.sound-bars i:nth-child(5n) { animation-delay: -.2s; }
.sound-bars i:nth-child(7n) { animation-duration: 1.2s; }
.art-sticker { position: absolute; z-index: 6; width: 20%; right: 1%; bottom: 4%; border-radius: 50%; background: var(--acid); color: var(--ink); transform: rotate(12deg); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.art-sticker svg { overflow: visible; animation: spin 24s linear infinite reverse; }
.art-sticker text { font-family: var(--sans); font-size: 7px; font-weight: 800; letter-spacing: 1.1px; fill: currentColor; }
.sticker-bolt { fill: currentColor; transform: scale(.55); transform-origin: center; }
.art-label { position: absolute; z-index: 7; left: 4%; right: 3%; display: flex; justify-content: space-between; color: #a6a49e; font-size: 7px; letter-spacing: .14em; pointer-events: none; }
.art-label-top { top: 10px; }
.art-label-bottom { bottom: 5px; }

main { overflow-x: clip; } /* The tilted ticker extends past the viewport edges. */
.ticker { position: relative; z-index: 5; overflow: hidden; padding: 18px 0; background: var(--acid); border-bottom: 1px solid var(--ink); color: var(--ink); transform: rotate(-1deg) scale(1.015); transform-origin: center; }
.ticker-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.ticker span { padding: 0 28px; font-size: 12px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.ticker i { font-size: 20px; font-style: normal; }

.section-pad { padding: clamp(90px, 11vw, 160px) var(--gutter); }
.section-index { display: grid; grid-template-columns: 70px 1fr; padding-bottom: 22px; margin-bottom: clamp(55px, 7vw, 100px); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 9vw; align-items: start; }
.about-heading .eyebrow { margin-bottom: 28px; color: var(--muted); }
.about-heading h2, .work-heading h2, .music-copy h2 { font-size: clamp(50px, 6.5vw, 100px); font-weight: 700; line-height: .93; letter-spacing: -.065em; }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.amp { color: var(--orange); font-family: var(--serif); font-weight: 400; }
.serif-italic { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.045em; }
.about-copy { padding-top: 40px; max-width: 510px; }
.about-copy p { margin-bottom: 20px; color: #56544f; font-size: 14px; line-height: 1.8; }
.about-copy .about-lead { color: var(--ink); font-size: clamp(19px, 1.65vw, 25px); line-height: 1.4; letter-spacing: -.02em; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 35px; }
.about-tags span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 100px; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 9vw, 130px); border: 1px solid var(--ink); }
.stat { min-height: 300px; padding: clamp(25px, 3vw, 46px); border-right: 1px solid var(--ink); }
.stat:last-child { border: 0; }
.stat strong { display: block; margin-bottom: 65px; font-size: clamp(48px, 5vw, 78px); line-height: 1; letter-spacing: -.07em; }
.stat h3 { margin-bottom: 12px; font-size: 13px; }
.stat p { max-width: 300px; color: #64615b; font-size: 11px; line-height: 1.6; }
.stat-acid { background: var(--acid); }
.stat-acid p { color: #3f4524; }

.work { background: var(--ink); color: var(--paper); }
.section-index-light { border-color: rgba(255,255,255,.18); color: #888680; }
.work-heading { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: end; margin-bottom: clamp(75px, 9vw, 130px); }
.work-heading h2 .serif-italic { color: var(--acid); }
.work-heading > p { padding-bottom: 8px; color: #aaa8a2; font-size: 13px; line-height: 1.7; }
.project { display: grid; grid-template-columns: 55px minmax(0, 1.12fr) minmax(280px, .88fr); gap: clamp(24px, 4vw, 65px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid rgba(255,255,255,.2); }
.project-number { align-self: start; padding-top: 3px; color: #7d7b76; font-size: 11px; }
.project-visual { position: relative; min-height: 390px; overflow: hidden; }
.project-info { max-width: 410px; }
.project-type { margin-bottom: 20px; color: var(--acid); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.project-info h3 { margin-bottom: 20px; font-size: clamp(28px, 3vw, 45px); line-height: 1.05; letter-spacing: -.045em; }
.project-info > p:not(.project-type) { color: #aaa8a2; font-size: 13px; line-height: 1.75; }
.project-result { display: flex; flex-direction: column; gap: 4px; margin-top: 35px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.17); }
.project-result strong { color: var(--paper); font-size: 27px; letter-spacing: -.04em; }
.project-result span { color: #a09e98; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.project-reverse .project-visual { grid-column: 3; grid-row: 1; }
.project-reverse .project-info { grid-column: 2; grid-row: 1; }
.visual-campaign { display: grid; place-items: center; background: var(--lavender); }
.poster { position: absolute; display: flex; flex-direction: column; justify-content: space-between; width: 46%; aspect-ratio: .72; padding: 22px; box-shadow: 0 18px 35px rgba(0,0,0,.25); }
.poster-back { left: 12%; top: 13%; background: var(--paper); color: var(--ink); transform: rotate(-12deg); }
.poster-back strong { font-size: clamp(48px, 6vw, 84px); letter-spacing: -.09em; }
.poster-back span, .poster-front > span { font-size: 7px; font-weight: 700; letter-spacing: .12em; }
.poster-front { right: 12%; top: 11%; background: var(--orange); color: var(--ink); transform: rotate(9deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.project:hover .poster-front { transform: rotate(3deg) translateY(-8px); }
.poster-front strong { font-size: clamp(32px, 4vw, 60px); line-height: .8; letter-spacing: -.08em; }
.poster-front svg { position: absolute; width: 30%; right: 9%; bottom: 8%; fill: var(--acid); }
.visual-live { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: #ff5a36; color: var(--ink); }
.live-top, .live-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.live-top > span:first-child { padding: 7px 10px; border-radius: 20px; background: var(--paper); }
.live-top i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--orange); animation: pulse 1.5s infinite; }
.live-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.live-rings span { position: absolute; width: 48%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; animation: liveRing 3s ease-out infinite; }
.live-rings span:nth-child(2) { animation-delay: -1s; }
.live-rings span:nth-child(3) { animation-delay: -2s; }
.live-rings b { position: relative; z-index: 2; width: 34%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--acid); text-align: center; font-size: clamp(20px, 3vw, 38px); line-height: .85; letter-spacing: -.07em; transform: rotate(-8deg); }
.visual-markets { background: var(--acid); color: var(--ink); }
.market-word { position: absolute; z-index: 1; font-size: clamp(45px, 6.5vw, 100px); font-weight: 900; line-height: .8; letter-spacing: -.08em; }
.market-word-one { left: -2%; top: 10%; }
.market-word-two { right: 1%; bottom: 10%; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.market-guitar { position: absolute; z-index: 2; height: 92%; width: 54%; left: 25%; top: 3%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.project:hover .market-guitar { transform: rotate(-5deg) scale(1.03); }
.market-stamp { position: absolute; z-index: 3; right: 6%; top: 8%; width: 82px; height: 82px; display: grid; place-content: center; border: 1px solid var(--ink); border-radius: 50%; text-align: center; font-size: 20px; font-weight: 800; line-height: .8; transform: rotate(12deg); }
.market-stamp span { font-size: 6px; letter-spacing: .1em; }
.work-note { margin-top: 30px; text-align: center; color: #888680; font-size: 12px; }
.work-note a { margin-left: 10px; color: var(--paper); border-bottom: 1px solid #666; padding-bottom: 4px; }
.work-note a:hover { color: var(--acid); border-color: var(--acid); }

.music-note { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; align-items: center; background: var(--paper); }
.music-graphic { position: relative; min-height: 450px; display: grid; place-items: center; }
.guitar-pick { width: min(90%, 390px); aspect-ratio: .9; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--orange); clip-path: polygon(50% 0, 83% 7%, 97% 27%, 93% 52%, 75% 79%, 50% 100%, 25% 79%, 7% 52%, 3% 27%, 17% 7%); transform: rotate(-13deg); transition: transform .5s; }
.music-graphic:hover .guitar-pick { transform: rotate(-6deg); }
.guitar-pick span { font-size: clamp(42px, 5.3vw, 78px); font-weight: 900; line-height: .79; letter-spacing: -.09em; text-align: center; }
.guitar-pick small { margin-top: 35px; font-size: 8px; letter-spacing: .15em; }
.music-doodle { position: absolute; width: 35%; right: -2%; top: 2%; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.music-copy .eyebrow { margin-bottom: 30px; color: var(--muted); }
.music-copy h2 { margin-bottom: 35px; }
.music-copy h2 .serif-italic { color: var(--orange); }
.music-copy > p:not(.eyebrow) { max-width: 500px; color: #5f5c56; font-size: 14px; line-height: 1.8; }
.credential { display: flex; align-items: center; gap: 18px; margin-top: 35px; padding-top: 28px; border-top: 1px solid var(--line); }
.credential-icon { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--acid); font-size: 22px; }
.credential div { display: flex; flex-direction: column; gap: 5px; }
.credential strong { font-size: 12px; }
.credential div span { color: var(--muted); font-size: 11px; }

.contact { padding: clamp(75px, 8vw, 120px) var(--gutter) 0; background: var(--acid); }
.contact-top { display: flex; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px solid rgba(23,23,23,.3); }
.contact-top > span { font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.contact h2 { max-width: 1200px; margin: clamp(50px, 7vw, 95px) 0; font-size: clamp(58px, 9.5vw, 150px); font-weight: 800; line-height: .83; letter-spacing: -.075em; }
.contact h2 .serif-italic { color: var(--orange); }
.contact-actions { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: clamp(70px, 9vw, 130px); }
.contact-email { display: inline-flex; align-items: center; gap: 35px; padding-bottom: 7px; border-bottom: 2px solid var(--ink); font-size: clamp(17px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.contact-email span { transition: transform .25s; }
.contact-email:hover span { transform: translate(4px,-4px); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 35px; padding: 18px 23px; border: 1px solid var(--ink); border-radius: 100px; font-size: 11px; font-weight: 700; transition: transform .25s, box-shadow .25s; }
.button-acid { background: var(--ink); color: var(--paper); }
.button:hover { transform: translateY(-3px); box-shadow: 0 5px 0 rgba(23,23,23,.2); }
.site-footer { padding: 18px 0 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid rgba(23,23,23,.3); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.site-footer a { justify-self: end; }

/* Reveal-on-scroll: content remains visible when JavaScript is unavailable. */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero .reveal-item { animation: heroEnter .9s cubic-bezier(.2,.8,.2,1) both; }
.hero .hero-eyebrow { animation-delay: .1s; }
.hero .title-line { animation-delay: .18s; }
.hero .title-line-two { animation-delay: .27s; }
.hero .hero-actions { animation-delay: .34s; }
.hero .hero-intro { animation-delay: .44s; }
.hero .hero-art { animation: artEnter 1.2s .35s cubic-bezier(.2,.8,.2,1) both; }
.hero .hero-footer { animation-delay: .6s; }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.audio-player { position: fixed; z-index: 50; right: 22px; bottom: max(22px, env(safe-area-inset-bottom)); max-width: calc(100vw - 28px); padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; background: rgba(23,23,23,.95); color: var(--paper); box-shadow: 0 8px 32px rgba(0,0,0,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.audio-player audio { display: none; }
.audio-copy { min-width: 125px; display: flex; flex-direction: column; gap: 4px; }
.audio-status { color: var(--acid); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.audio-track { color: #a9a7a1; font-size: 10px; }
.audio-mini-bars { height: 22px; display: flex; align-items: center; gap: 3px; }
.audio-mini-bars i { width: 2px; height: 5px; display: block; border-radius: 2px; background: #66645f; }
.audio-mini-bars i:nth-child(2) { height: 13px; }
.audio-mini-bars i:nth-child(3) { height: 9px; }
.audio-mini-bars i:nth-child(4) { height: 17px; }
.audio-toggle { width: 43px; height: 43px; padding: 0; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 50%; background: var(--acid); color: var(--ink); transition: transform .2s, background .2s; }
.audio-toggle:hover { transform: scale(1.06); background: #f1ffa0; }
.audio-toggle svg { width: 19px; height: 19px; fill: currentColor; }
.audio-icon-pause { display: none; }
.audio-player.is-playing .audio-icon-play { display: none; }
.audio-player.is-playing .audio-icon-pause { display: block; }
.audio-player.is-playing .audio-mini-bars i { background: var(--acid); animation: equalize .65s ease-in-out infinite alternate; }
.audio-player.is-playing .audio-mini-bars i:nth-child(2) { animation-delay: -.35s; }
.audio-player.is-playing .audio-mini-bars i:nth-child(3) { animation-delay: -.15s; }
.audio-player.is-playing .audio-mini-bars i:nth-child(4) { animation-delay: -.5s; }
.audio-player.has-error .audio-status { color: #ff9b83; }
.audio-toggle:disabled { opacity: .5; cursor: not-allowed; transform: none; }
@media (max-width: 600px) {
  .audio-player { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); padding-left: 15px; gap: 11px; }
  .audio-copy { min-width: 111px; }
  .audio-status { font-size: 6.5px; }
  .audio-track { font-size: 8px; }
  .audio-toggle { width: 41px; height: 41px; }
}

@keyframes heroEnter { from { opacity: 0; transform: translateY(35px); } to { opacity: 1; transform: translateY(0); } }
@keyframes artEnter { from { opacity: 0; transform: translateY(-47%) scale(.92) rotate(4deg); } to { opacity: 1; transform: translateY(-50%) scale(1) rotate(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .4; } }
@keyframes morph { to { border-radius: 56% 44% 43% 57% / 44% 57% 43% 56%; transform: rotate(-5deg) scale(1.03); } }
@keyframes dash { to { stroke-dashoffset: -160; } }
@keyframes waveShift { to { transform: translateY(-12px) scaleY(1.08); } }
@keyframes equalize { from { height: 6px; } to { height: 48px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes liveRing { from { width: 25%; opacity: 1; } to { width: 90%; opacity: 0; } }

@media (max-width: 1100px) {
  .hero { min-height: 780px; }
  .hero-title { font-size: clamp(62px, 8.6vw, 96px); }
  .hero-art { width: 55vw; right: -7vw; top: 52%; opacity: .85; }
  .hero-intro { width: 310px; }
  .project { grid-template-columns: 35px 1fr 1fr; gap: 28px; }
  .project-visual { min-height: 330px; }
  .about-grid { gap: 5vw; }
  .stats-grid .stat { min-height: 280px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 25px; }
  .site-header { height: 76px; grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .brand { font-size: 11px; gap: 9px; }
  .brand-mark { width: 29px; height: 29px; }
  .hero { min-height: 900px; padding-top: 115px; display: block; }
  .hero-copy { position: static; }
  .hero-eyebrow { margin-bottom: 28px; font-size: 8px; }
  .hero-title { position: relative; z-index: 4; font-size: clamp(48px, 13vw, 82px); line-height: .92; }
  .title-line { white-space: normal; }
  .title-line-two { margin: 0; }
  .hero-title em { display: inline-block; }
  .hero-actions { position: relative; z-index: 6; margin: 24px 0 0; }
  .hero-resume-button { min-height: 49px; padding: 13px 19px; gap: 26px; }
  .hero-action-note { display: none; }
  .hero-intro { position: absolute; z-index: 5; left: var(--gutter); bottom: 110px; width: min(70vw, 320px); margin: 0; }
  .hero-intro p { color: #d0cec8; font-size: 12px; }
  .hero-art { width: min(100vw, 520px); top: 48%; right: -16vw; opacity: 1; }
  .art-label { display: none; }
  .hero-footer { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; min-height: 67px; padding-right: 0; grid-template-columns: 1fr; }
  .hero-footer > span { display: none; }
  .hero-footer a { justify-self: start; font-size: 10px; }
  .ticker { padding: 15px 0; }
  .ticker span { padding: 0 20px; font-size: 10px; }
  .section-index { grid-template-columns: 42px 1fr; margin-bottom: 48px; font-size: 8px; }
  .about-grid, .work-heading, .music-note { grid-template-columns: 1fr; }
  .about-grid { gap: 25px; }
  .about-heading h2, .work-heading h2, .music-copy h2 { font-size: clamp(48px, 13vw, 76px); }
  .about-copy { padding-top: 0; }
  .about-copy .about-lead { font-size: 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { min-height: auto; border-right: 0; border-bottom: 1px solid var(--ink); }
  .stat strong { margin-bottom: 35px; }
  .stat p { max-width: 420px; }
  .work-heading { gap: 25px; margin-bottom: 65px; }
  .work-heading > p { max-width: 390px; }
  .project, .project-reverse { grid-template-columns: 28px 1fr; gap: 18px; padding: 48px 0 60px; }
  .project-number { grid-column: 1; grid-row: 1; }
  .project-visual, .project-reverse .project-visual { grid-column: 2; grid-row: 1; min-height: min(90vw, 420px); }
  .project-info, .project-reverse .project-info { grid-column: 2; grid-row: 2; padding-top: 15px; }
  .project-info h3 { font-size: 33px; }
  .poster { width: 45%; }
  .poster-front strong { font-size: clamp(35px, 11vw, 57px); }
  .poster-back strong { font-size: clamp(48px, 13vw, 72px); }
  .market-word { font-size: 17vw; }
  .work-note { line-height: 2; }
  .work-note a { display: block; width: max-content; max-width: 100%; margin: 5px auto 0; }
  .music-note { gap: 25px; }
  .music-graphic { min-height: 380px; order: 2; }
  .music-copy { order: 1; }
  .guitar-pick { width: min(85%, 350px); }
  .guitar-pick span { font-size: 16vw; }
  .contact-top { gap: 20px; }
  .contact-top > span { max-width: 120px; text-align: right; line-height: 1.5; }
  .contact h2 { font-size: clamp(55px, 15.5vw, 95px); line-height: .88; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .contact-email { gap: 15px; font-size: clamp(17px, 4.7vw, 24px); }
  .site-footer { grid-template-columns: 1fr auto; padding: 25px 0 82px; }
  .site-footer > span:nth-child(2) { display: none; }
}
@media (max-width: 390px) {
  .hero { min-height: 820px; }
  .hero-title { font-size: 47px; }
  .hero-art { top: 47%; }
  .hero-intro { bottom: 95px; }
  .circle-link { display: none; }
  .project-visual, .project-reverse .project-visual { min-height: 300px; }
  .market-stamp { width: 65px; height: 65px; font-size: 16px; }
}
@media (max-width: 379px) {
  .hero-footer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
