:root {
  --ink: #101010;
  --paper: #f3f2ed;
  --white: #fff;
  --muted: #858580;
  --line: rgba(16, 16, 16, .18);
  --line-dark: rgba(243, 242, 237, .2);
  --mono: 'DM Mono', 'Courier New', monospace;
  --display: 'Space Grotesk', Arial, sans-serif;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
button, a, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
.page-shell { width: min(100%, 1920px); margin: 0 auto; overflow: clip; }
.section-frame { width: min(100% - 112px, 1440px); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: .075em; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 12px 16px; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--ink); color: var(--paper); transition: opacity .55s var(--ease), visibility .55s; }
.site-loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { font-size: 58px; font-weight: 700; letter-spacing: -.11em; }
.loader-mark span, .wordmark span, .footer-wordmark span { font-size: .36em; vertical-align: top; letter-spacing: 0; }
.loader-caption { font: 9px var(--mono); letter-spacing: .17em; }
.loader-line { width: 112px; height: 1px; background: #424242; overflow: hidden; }
.loader-line i { display: block; width: 100%; height: 100%; background: var(--paper); transform: translateX(-100%); animation: loader-progress .8s var(--ease) forwards; }
@keyframes loader-progress { to { transform: translateX(0); } }

.site-header { position: relative; z-index: 50; min-height: 86px; width: min(100% - 112px, 1440px); margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.wordmark { width: fit-content; font-weight: 700; font-size: 25px; letter-spacing: -.095em; }
.header-index { font: 9px var(--mono); letter-spacing: .11em; color: #777771; }
.header-index b { color: var(--ink); padding-inline: 6px; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
.primary-nav a { position: relative; font-size: 12px; font-weight: 500; transition: opacity .2s ease; }
.primary-nav a:hover { opacity: .55; }
.primary-nav a span { margin-right: 5px; color: #8c8c86; font: 9px var(--mono); }
.header-contact { justify-self: end; display: inline-flex; align-items: center; gap: 15px; padding: 12px 0 12px 14px; font: 10px var(--mono); letter-spacing: .08em; }
.header-contact i { font-size: 11px; transition: transform .25s var(--ease); }
.header-contact:hover i { transform: translate(3px, -3px); }
.menu-toggle { display: none; }

.hero { min-height: 720px; padding-top: 28px; padding-bottom: 24px; display: flex; flex-direction: column; }
.hero-topline, .hero-meta { display: flex; justify-content: space-between; align-items: center; font-size: 9px; letter-spacing: .12em; color: #777771; }
.live-state { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.live-state i, .music-live-dot i, .ai-heading span i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #111; box-shadow: 0 0 0 3px rgba(16,16,16,.08); }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); align-items: center; gap: 32px; padding-block: 50px 35px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; font: 10px var(--mono); letter-spacing: .12em; }
.eyebrow-rule { display: inline-block; width: 26px; height: 1px; background: currentColor; }
.hero-title { margin: 17px 0 0 -.065em; font-size: clamp(130px, 19.1vw, 275px); line-height: .82; font-weight: 700; letter-spacing: -.115em; }
.hero-period { color: #8a8a84; }
.hero-bottom { display: grid; grid-template-columns: minmax(200px, .9fr) minmax(190px, .62fr); gap: 45px; align-items: end; margin-top: 47px; max-width: 800px; }
.hero-statement { margin: 0; font-size: clamp(26px, 3.1vw, 42px); line-height: 1.03; letter-spacing: -.065em; font-weight: 600; }
.hero-statement em, .section-title span, .gift-copy h2 em, .connect-heading h2 em { font-style: normal; color: #888882; }
.hero-description { max-width: 300px; margin: 0; color: #666660; font-size: 13px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid var(--ink); border-radius: 0; font-size: 11px; font-weight: 600; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s var(--ease); }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0) scale(.98); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #343430; }
.button-outline { background: transparent; }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.button-arrow { font-size: 17px; font-weight: 400; line-height: 1; }
.hero-art { position: relative; width: min(100%, 440px); aspect-ratio: .88; justify-self: end; overflow: hidden; background: var(--ink); color: var(--paper); display: grid; place-items: center; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.art-index, .art-side, .art-coordinate { position: absolute; z-index: 2; font-size: 8px; letter-spacing: .12em; }
.art-index { top: 23px; left: 23px; right: 23px; display: flex; justify-content: space-between; color: #b3b3ac; }
.art-side { top: 50%; right: 13px; writing-mode: vertical-rl; transform: translateY(-50%); color: #999991; }
.art-coordinate { left: 23px; bottom: 22px; color: #999991; }
.art-orbit { position: absolute; z-index: 1; width: 74%; aspect-ratio: 1; border: 1px solid rgba(243,242,237,.5); border-radius: 50%; transform: rotate(-28deg) scaleY(.64); }
.orbit-one { width: 92%; border-color: rgba(243,242,237,.18); }
.orbit-two { transform: rotate(35deg) scaleY(.64); }
.art-cross { position: absolute; z-index: 1; width: 1px; height: 85%; background: rgba(243,242,237,.25); }
.cross-one { transform: rotate(43deg); }
.cross-two { transform: rotate(-43deg); }
.art-core { position: relative; z-index: 3; font-size: clamp(96px, 13vw, 160px); letter-spacing: -.14em; font-weight: 700; line-height: 1; }
.art-core span { font-size: .5em; color: #a2a29a; }
.hero-meta { padding-top: 24px; border-top: 1px solid var(--line); }
.scroll-mark { position: relative; width: 1px; height: 31px; background: #c4c4bd; overflow: hidden; }
.scroll-mark i { display: block; width: 1px; height: 50%; background: var(--ink); animation: scroll-line 1.6s ease-in-out infinite; }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

.intro-strip { background: var(--ink); color: var(--paper); overflow: hidden; padding: 17px 0; }
.strip-track { display: flex; justify-content: space-around; align-items: center; width: max-content; min-width: 100%; gap: 34px; white-space: nowrap; font-size: 9px; letter-spacing: .13em; animation: marquee 35s linear infinite; }
.strip-track b { font-size: 13px; color: #8e8e87; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-25%); } }

.content-section { padding-block: 112px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.section-kicker { margin: 0; font-size: 9px; letter-spacing: .13em; }
.section-counter { color: #8a8a84; font-size: 8px; letter-spacing: .11em; }
.about-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10%; padding-top: 76px; }
.section-title { margin: 0; font-size: clamp(48px, 7.4vw, 100px); letter-spacing: -.085em; line-height: .95; font-weight: 600; }
.about-body { max-width: 470px; padding-top: 5px; }
.about-body p { margin: 0 0 20px; color: #666660; font-size: 13px; line-height: 1.9; }
.about-body .about-lead { max-width: 440px; color: var(--ink); font-size: 19px; line-height: 1.45; letter-spacing: -.035em; }
.identity-row { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 13px; margin-top: 42px; padding-top: 17px; border-top: 1px solid var(--line); }
.identity-row div { display: flex; flex-direction: column; gap: 10px; }
.identity-row span { color: #888882; font-size: 7px; }
.identity-row strong { font-size: 12px; font-weight: 600; }
.identity-row small { color: #797972; font-size: 10px; font-weight: 400; }
.about-foot { margin-top: 72px; padding-top: 16px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #858580; font-size: 8px; }

.skills-section { background: var(--ink); color: var(--paper); }
.skills-section .section-frame { width: min(100% - 112px, 1440px); }
.skills-section .section-heading { border-color: var(--line-dark); }
.skills-section .section-counter, .skills-section .section-title span { color: #777771; }
.skills-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-block: 66px 42px; }
.skills-note { max-width: 260px; margin: 0 0 5px; color: #a09f98; font-size: 12px; line-height: 1.8; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.skill-card { position: relative; min-height: 260px; padding: 27px 26px 24px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .35s ease, color .35s ease; }
.skill-card:hover { background: var(--paper); color: var(--ink); }
.skill-number { position: absolute; top: 28px; right: 26px; color: #777771; font-size: 8px; }
.skill-icon { width: 54px; height: 54px; margin-bottom: 33px; display: grid; place-items: center; border: 1px solid rgba(243,242,237,.35); color: var(--paper); font-size: 22px; transition: color .35s ease, border-color .35s ease; }
.skill-card:hover .skill-icon { color: var(--ink); border-color: rgba(16,16,16,.3); }
.icon-code { font: 19px var(--mono); letter-spacing: -.1em; }
.icon-code span { color: #9b9b93; }
.icon-type { font-size: 27px; letter-spacing: -.1em; }
.icon-image { font-size: 20px; }
.icon-shape { position: relative; }
.icon-shape span { width: 19px; height: 19px; border: 1px solid currentColor; border-radius: 50%; }
.icon-shape i { position: absolute; width: 18px; height: 18px; border: 1px solid currentColor; transform: rotate(45deg); }
.skill-card h3 { margin: 0 0 9px; font-size: 19px; font-weight: 500; letter-spacing: -.04em; }
.skill-card p { max-width: 290px; margin: 0; color: #a09f98; font-size: 11px; line-height: 1.75; transition: color .35s ease; }
.skill-card:hover p { color: #6e6e68; }
.skill-type { position: absolute; left: 26px; bottom: 24px; color: #777771; font-size: 7px; letter-spacing: .12em; }

.work-section { padding-bottom: 120px; }
.work-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; padding-block: 65px 45px; }
.work-note { max-width: 300px; margin: 0 0 5px; color: #73736d; font-size: 12px; line-height: 1.8; }
.work-grid { display: grid; grid-template-columns: 1.12fr .88fr; grid-template-rows: auto auto; gap: 34px 24px; }
.work-card { display: block; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.work-card-large { grid-row: span 2; }
.work-image-wrap { position: relative; display: block; overflow: hidden; background: #e4e3dd; }
.work-card-large .work-image-wrap { aspect-ratio: 1.02 / 1.12; }
.work-card:not(.work-card-large) .work-image-wrap { aspect-ratio: 1.7 / 1; }
.work-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s ease; }
.work-card:hover .work-image-wrap img { transform: scale(1.035); filter: contrast(1.07); }
.work-view { position: absolute; right: 15px; bottom: 15px; display: flex; align-items: center; gap: 20px; padding: 11px 13px; background: var(--paper); color: var(--ink); font: 8px var(--mono); letter-spacing: .09em; opacity: 0; transform: translateY(7px); transition: opacity .25s ease, transform .25s var(--ease); }
.work-card:hover .work-view, .work-card:focus-visible .work-view { opacity: 1; transform: translateY(0); }
.work-view i { font-size: 14px; font-style: normal; }
.work-caption { display: flex; justify-content: space-between; align-items: center; padding-top: 13px; }
.work-caption span { display: flex; flex-direction: column; gap: 5px; }
.work-caption b { font: 9px var(--mono); letter-spacing: .08em; }
.work-caption small { color: #858580; font-size: 10px; }
.work-caption > i { font-size: 17px; font-style: normal; transition: transform .2s ease; }
.work-card:hover .work-caption > i { transform: translate(3px, -3px); }
.work-foot { display: flex; justify-content: space-between; margin: 47px 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: #858580; font-size: 8px; }
.work-foot span { color: var(--ink); font-size: 15px; }
.work-dialog { position: relative; width: min(92vw, 520px); padding: 38px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 0 25px 100px rgba(0,0,0,.22); }
.work-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.work-dialog form { position: absolute; top: 13px; right: 15px; }
.dialog-close { border: 0; background: transparent; font-size: 29px; cursor: pointer; }
.dialog-kicker { margin: 0 0 20px; color: #81817b; font-size: 8px; }
.work-dialog h2 { margin: 0 0 12px; font-size: 31px; letter-spacing: -.06em; }
.work-dialog p:not(.dialog-kicker) { color: #65655f; font-size: 13px; line-height: 1.8; }
.dialog-actions { margin-top: 25px; }

.gift-section { background: #e8e7e1; }
.gift-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 10%; align-items: center; padding-top: 68px; }
.gift-copy .eyebrow { color: #73736d; }
.gift-copy h2 { margin: 23px 0 22px -.04em; font-size: clamp(57px, 8vw, 112px); line-height: .88; letter-spacing: -.09em; }
.gift-copy p:not(.eyebrow) { max-width: 290px; color: #6e6e68; font-size: 12px; line-height: 1.85; }
.gift-signature { display: block; margin-top: 43px; color: #777771; font-size: 8px; }
.gift-video-shell { position: relative; min-height: 330px; aspect-ratio: 1.52 / 1; overflow: hidden; background: var(--ink); color: var(--paper); }
.gift-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 19px; background: linear-gradient(180deg, rgba(0,0,0,.38), transparent 38%, rgba(0,0,0,.38)); transition: opacity .3s ease; }
.video-state, .video-caption, .video-corner { font-size: 8px; letter-spacing: .14em; }
.video-state, .video-caption { align-self: flex-start; }
.video-caption { align-self: flex-end; }
.video-play { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.65); background: rgba(16,16,16,.4); color: #fff; font: 9px var(--mono); letter-spacing: .1em; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.video-play:hover { background: var(--paper); color: var(--ink); transform: scale(1.04); }
.video-play i { font-size: 12px; }
.video-corner { position: absolute; right: 18px; top: 19px; color: rgba(255,255,255,.7); }
.gift-video-shell.is-playing .video-overlay { opacity: 0; pointer-events: none; }
.gift-video-shell.is-playing:hover .video-overlay { opacity: 1; pointer-events: auto; }
.gift-video-shell.is-playing:hover .video-overlay .video-play { transform: translateY(0); }

.music-section { padding-top: 110px; padding-bottom: 125px; }
.music-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; align-items: center; padding-top: 70px; }
.music-intro .eyebrow { margin-bottom: 22px; color: #858580; }
.music-intro .section-title { font-size: clamp(48px, 6.5vw, 85px); }
.music-player-card { padding: 23px; background: var(--ink); color: var(--paper); }
.music-player-top, .music-player-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 8px; letter-spacing: .11em; }
.music-player-top { padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); color: #a09f98; }
.music-live-dot { display: flex; gap: 8px; align-items: center; color: #deded7; }
.music-live-dot i { width: 5px; height: 5px; background: #e7e7df; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.music-track-row { display: flex; align-items: center; gap: 17px; padding-block: 20px; }
.music-art { flex: 0 0 70px; width: 70px; height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px solid rgba(255,255,255,.35); background: repeating-linear-gradient(135deg, #242420 0 5px, #101010 5px 10px); }
.music-art span { font-size: 24px; line-height: 1; }
.music-art small { font: 6px var(--mono); letter-spacing: .12em; text-align: center; }
.music-track-info { min-width: 0; }
.music-track-info > span { color: #858580; font-size: 7px; }
.music-track-info h3 { margin: 6px 0 4px; font-size: 19px; font-weight: 500; letter-spacing: -.035em; }
.music-track-info p { margin: 0; color: #aaa9a2; font-size: 10px; }
.music-track-index { margin-left: auto; color: #777771; font-size: 8px; white-space: nowrap; }
.apple-embed-wrap { overflow: hidden; border-radius: 8px; background: #1c1c1c; }
.apple-embed-wrap iframe { display: block; border: 0; }
.music-player-bottom { padding-top: 17px; color: #858580; font-size: 7px; }
.music-player-bottom a { color: var(--paper); font: 9px var(--display); letter-spacing: 0; }
.music-player-bottom a i { margin-left: 6px; font-size: 8px; }

.connect-section { padding-block: 112px 125px; background: var(--ink); color: var(--paper); }
.connect-section .section-heading { border-color: var(--line-dark); }
.connect-section .section-counter { color: #777771; }
.connect-heading { padding-block: 72px 60px; }
.connect-heading .eyebrow { color: #a09f98; }
.connect-heading h2 { margin: 21px 0 25px -.045em; font-size: clamp(76px, 11.5vw, 156px); line-height: .83; letter-spacing: -.105em; font-weight: 600; }
.connect-heading h2 em { color: #777771; }
.connect-main-link { display: inline-flex; align-items: center; gap: 28px; padding-bottom: 9px; border-bottom: 1px solid rgba(243,242,237,.55); font-size: 13px; transition: gap .25s var(--ease), color .2s ease; }
.connect-main-link:hover { gap: 40px; color: #bcbcb4; }
.connect-main-link span { font-size: 19px; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.social-card { min-height: 110px; display: flex; align-items: center; gap: 14px; padding: 19px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .3s ease, color .3s ease; }
.social-card:hover { background: var(--paper); color: var(--ink); }
.social-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(243,242,237,.35); font-size: 16px; transition: border-color .3s ease; }
.social-card:hover .social-icon { border-color: rgba(16,16,16,.35); }
.social-info { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.social-info b { font-size: 12px; font-weight: 500; }
.social-info small { color: #92928b; font-size: 9px; overflow-wrap: anywhere; }
.social-arrow { margin-left: auto; align-self: flex-start; color: #92928b; font-size: 16px; transition: transform .2s ease; }
.social-card:hover .social-arrow { transform: translate(3px, -3px); color: var(--ink); }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; padding-block: 44px 25px; }
.footer-wordmark { font-size: 32px; font-weight: 700; letter-spacing: -.1em; }
.footer-note { margin: 0; color: #777771; font-size: 11px; line-height: 1.6; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: #858580; font-size: 7px; letter-spacing: .1em; }
.footer-bottom a { color: var(--ink); }

.back-to-top { position: fixed; z-index: 70; right: 28px; bottom: 28px; width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--paper); font-size: 19px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease, color .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--ink); color: var(--paper); }

.ai-launcher { position: fixed; z-index: 90; right: 28px; bottom: 86px; display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px 12px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; box-shadow: 0 8px 26px rgba(0,0,0,.13); transition: transform .25s var(--ease), background .2s ease, color .2s ease; }
.ai-launcher:hover { transform: translateY(-3px); background: #30302c; }
.ai-launcher:active { transform: scale(.97); }
.ai-launcher-symbol { position: relative; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(243,242,237,.5); border-radius: 50%; font-size: 11px; }
.ai-launcher-symbol .fa-xmark { display: none; }
.ai-launcher-label { font: 9px var(--mono); letter-spacing: .1em; }
.ai-launcher-pulse { width: 5px; height: 5px; border-radius: 50%; background: #f3f2ed; box-shadow: 0 0 0 3px rgba(243,242,237,.12); }
.ai-launcher[aria-expanded="true"] .fa-message { display: none; }
.ai-launcher[aria-expanded="true"] .fa-xmark { display: inline; }
.ai-panel { position: fixed; z-index: 89; right: 28px; bottom: 145px; width: min(390px, calc(100vw - 36px)); height: min(590px, calc(100dvh - 180px)); display: flex; flex-direction: column; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.985); transform-origin: bottom right; transition: opacity .2s ease, visibility .2s ease, transform .25s var(--ease); }
.ai-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.ai-panel-header { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--ink); color: var(--paper); }
.ai-avatar { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); font-size: 16px; font-weight: 700; letter-spacing: -.13em; }
.ai-avatar span { color: #9b9b93; }
.ai-heading { display: flex; flex-direction: column; gap: 5px; }
.ai-heading strong { font-size: 13px; font-weight: 500; }
.ai-heading span { display: flex; align-items: center; gap: 7px; color: #a8a8a1; font: 7px var(--mono); letter-spacing: .1em; }
.ai-heading span i { width: 5px; height: 5px; background: #deded7; }
.ai-close { margin-left: auto; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--paper); font-size: 21px; line-height: 1; cursor: pointer; }
.ai-context { padding: 10px 16px; border-bottom: 1px solid var(--line); color: #898982; font-size: 7px; letter-spacing: .1em; }
.ai-messages { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 13px; overflow-y: auto; padding: 16px; overscroll-behavior: contain; }
.ai-message { max-width: 92%; padding: 12px 13px; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.ai-message p { margin: 0; }
.ai-message-bot { align-self: flex-start; background: #e7e6e0; }
.ai-message-user { align-self: flex-end; background: var(--ink); color: var(--paper); }
.ai-message-tag { display: block; margin-bottom: 7px; color: #858580; font-size: 7px; letter-spacing: .1em; }
.ai-message-user .ai-message-tag { color: #aaa9a2; }
.ai-message img { display: block; max-width: 100%; max-height: 150px; margin-top: 8px; object-fit: contain; }
.ai-message.is-error { border: 1px solid #9b6b6b; background: #f0e6e3; color: #633333; }
.ai-typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px; background: #e7e6e0; }
.ai-typing i { width: 5px; height: 5px; border-radius: 50%; background: #555; animation: typing-bounce .8s ease-in-out infinite alternate; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce { to { transform: translateY(-4px); opacity: .4; } }
.ai-suggestions { display: flex; gap: 7px; padding: 0 16px 11px; overflow-x: auto; }
.ai-suggestions button { flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--line); background: transparent; font-size: 9px; cursor: pointer; }
.ai-suggestions button:hover { background: var(--ink); color: var(--paper); }
.ai-composer { display: flex; align-items: end; gap: 8px; margin: 0 12px; padding: 9px; border: 1px solid var(--line); background: #fff; }
.ai-attach, .ai-send { flex: 0 0 31px; width: 31px; height: 31px; display: grid; place-items: center; cursor: pointer; }
.ai-attach { color: #777771; font-size: 13px; }
.ai-input-wrap { flex: 1; min-width: 0; }
.ai-input-wrap textarea { display: block; width: 100%; max-height: 90px; min-height: 31px; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; line-height: 1.5; padding: 7px 0; }
.ai-attachment-name { padding: 4px 0 1px; color: #777771; font: 8px var(--mono); overflow-wrap: anywhere; }
.ai-send { border: 0; background: var(--ink); color: var(--paper); font-size: 12px; transition: opacity .2s ease, transform .2s ease; }
.ai-send:hover { transform: translateY(-2px); }
.ai-send:disabled { opacity: .4; cursor: wait; }
.ai-disclaimer { margin: 10px 14px 12px; color: #92928b; font-size: 6px; text-align: center; letter-spacing: .1em; }
.cursor-orb { position: fixed; z-index: 100; top: 0; left: 0; width: 15px; height: 15px; border: 1px solid rgba(16,16,16,.5); border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%); transition: width .2s ease, height .2s ease, opacity .2s ease; mix-blend-mode: difference; }
.cursor-orb.is-visible { opacity: .65; }
.cursor-orb.is-hovering { width: 35px; height: 35px; background: rgba(243,242,237,.25); border-color: var(--paper); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-title.reveal { transform: translateY(30px); }
.hero-title.reveal.is-visible { transform: translateY(0); }

@media (min-width: 1500px) {
  .hero-title { font-size: 275px; }
}
@media (max-width: 1100px) {
  .section-frame, .site-header, .skills-section .section-frame { width: min(100% - 64px, 1440px); }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); }
  .hero-title { font-size: clamp(120px, 18vw, 205px); }
  .hero-bottom { gap: 24px; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .music-layout { gap: 5%; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 75px; }
  .section-frame, .site-header, .skills-section .section-frame { width: calc(100% - 40px); }
  .site-header { min-height: 72px; grid-template-columns: 1fr auto auto; gap: 16px; }
  .wordmark { font-size: 23px; }
  .header-index { display: none; }
  .header-contact { font-size: 8px; gap: 8px; padding: 8px 0; }
  .menu-toggle { display: flex; width: 38px; height: 38px; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 100%; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 17px; border: 1px solid var(--line); border-top: 0; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav a span { display: inline-block; width: 26px; }
  .hero { min-height: auto; padding-top: 22px; padding-bottom: 20px; }
  .hero-topline, .hero-meta { font-size: 7px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 36px; padding-block: 65px 35px; }
  .hero-title { margin-top: 20px; font-size: clamp(104px, 24vw, 180px); }
  .hero-bottom { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .hero-statement { font-size: 33px; }
  .hero-description { max-width: 390px; font-size: 12px; }
  .hero-actions { margin-top: 25px; }
  .button { min-height: 46px; padding-inline: 14px; gap: 17px; font-size: 10px; }
  .hero-art { width: min(100%, 390px); aspect-ratio: 1.18 / 1; justify-self: center; align-self: center; }
  .art-core { font-size: 120px; }
  .hero-meta { padding-top: 16px; }
  .content-section { padding-block: 78px; }
  .section-heading { padding-bottom: 15px; }
  .section-kicker { font-size: 8px; }
  .section-counter { font-size: 7px; }
  .about-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 47px; }
  .section-title { font-size: clamp(47px, 11vw, 74px); }
  .about-body { max-width: 100%; }
  .about-body .about-lead { font-size: 17px; }
  .identity-row { margin-top: 30px; }
  .about-foot { margin-top: 45px; font-size: 7px; }
  .skills-intro { display: block; padding-block: 48px 32px; }
  .skills-note { max-width: 350px; margin-top: 20px; font-size: 11px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-card { min-height: 235px; padding: 20px 16px 22px; }
  .skill-number { top: 20px; right: 16px; }
  .skill-icon { width: 47px; height: 47px; margin-bottom: 26px; }
  .skill-card h3 { font-size: 16px; }
  .skill-card p { font-size: 10px; }
  .skill-type { left: 16px; bottom: 18px; font-size: 6px; }
  .work-heading { display: block; padding-block: 48px 30px; }
  .work-note { max-width: 400px; margin-top: 18px; font-size: 11px; }
  .work-grid { grid-template-columns: 1fr; gap: 29px; }
  .work-card-large { grid-row: auto; }
  .work-card-large .work-image-wrap { aspect-ratio: 1.05 / 1; }
  .work-card:not(.work-card-large) .work-image-wrap { aspect-ratio: 1.45 / 1; }
  .work-view { opacity: 1; transform: none; right: 10px; bottom: 10px; padding: 9px 10px; font-size: 7px; }
  .work-foot { margin-top: 35px; font-size: 7px; }
  .gift-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 47px; }
  .gift-copy h2 { margin-block: 18px; font-size: clamp(70px, 17vw, 100px); }
  .gift-signature { margin-top: 25px; }
  .gift-video-shell { min-height: 230px; aspect-ratio: 1.3 / 1; }
  .music-layout { grid-template-columns: 1fr; gap: 31px; padding-top: 48px; }
  .music-intro .eyebrow { margin-bottom: 15px; }
  .music-intro .section-title { font-size: clamp(48px, 11vw, 70px); }
  .music-player-card { padding: 16px; }
  .music-track-row { gap: 12px; }
  .music-art { flex-basis: 58px; width: 58px; height: 58px; }
  .music-track-info h3 { font-size: 16px; }
  .music-track-index { font-size: 7px; }
  .music-player-bottom { align-items: flex-start; font-size: 6px; }
  .music-player-bottom a { font-size: 8px; white-space: nowrap; }
  .connect-section { padding-block: 78px 85px; }
  .connect-heading { padding-block: 49px 42px; }
  .connect-heading h2 { font-size: clamp(68px, 17vw, 115px); }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .social-card { min-height: 92px; padding: 12px 10px; gap: 9px; }
  .social-icon { width: 31px; height: 31px; flex: 0 0 31px; font-size: 14px; }
  .social-info b { font-size: 11px; }
  .social-info small { font-size: 8px; }
  .social-arrow { font-size: 13px; }
  .site-footer { grid-template-columns: auto 1fr; gap: 17px; padding-block: 32px 20px; }
  .footer-wordmark { font-size: 29px; }
  .footer-note { font-size: 10px; }
  .footer-bottom { display: grid; grid-template-columns: 1fr auto; gap: 11px; font-size: 6px; }
  .footer-bottom span:last-child { grid-column: 1 / -1; }
  .back-to-top { right: 14px; bottom: 16px; width: 38px; height: 38px; }
  .ai-launcher { right: 14px; bottom: 64px; padding: 9px 11px 9px 9px; gap: 8px; }
  .ai-launcher-symbol { width: 25px; height: 25px; }
  .ai-launcher-label { font-size: 8px; }
  .ai-panel { right: 10px; bottom: 119px; width: calc(100vw - 20px); height: min(560px, calc(100dvh - 145px)); }
  .cursor-orb { display: none; }
}
@media (max-width: 380px) {
  .section-frame, .site-header, .skills-section .section-frame { width: calc(100% - 30px); }
  .hero-title { font-size: 23vw; }
  .header-contact span { display: none; }
  .identity-row { grid-template-columns: 1fr 1fr; }
  .identity-row div:last-child { grid-column: 1 / -1; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 205px; }
  .social-card { min-height: 86px; }
  .social-info small { font-size: 7px; }
  .music-player-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
