:root {
  --bg: #050505;
  --surface: #0a0a0b;
  --surface-2: #101013;
  --text: #f2f2f4;
  --muted: #919197;
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.075);
  --accent: #8aa4ff;
  --max-width: 1480px;
  --pad: clamp(22px, 5vw, 78px);
  color-scheme: dark;
  font-family: Inter, "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(circle at 83% 9%, rgba(71,91,160,.12), transparent 27%), radial-gradient(circle at 17% 72%, rgba(55,62,94,.08), transparent 30%), #050505; }
main { display: flex; flex-direction: column; }
body.dialog-open, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.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; }

.cursor-light { position: fixed; z-index: 0; width: 520px; height: 520px; pointer-events: none; background: radial-gradient(circle, rgba(100,129,232,.045), transparent 68%); transform: translate3d(calc(var(--mouse-x, 50vw) - 50%), calc(var(--mouse-y, 50vh) - 50%), 0); transition: transform .18s ease-out; }

.site-header { position: fixed; top: 0; left: 0; z-index: 100; display: flex; width: 100%; height: 78px; align-items: center; justify-content: space-between; padding: 0 var(--pad); border-bottom: 1px solid transparent; color: #fff; transition: height .3s ease, background .3s ease, border-color .3s ease; }
.site-header.is-scrolled { height: 62px; border-color: var(--line-soft); background: rgba(5,5,6,.78); backdrop-filter: blur(22px) saturate(130%); }
.brand { position: relative; z-index: 2; font-size: 19px; font-weight: 850; letter-spacing: -.07em; }
.brand span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(25px,3vw,48px); font-size: 12px; font-weight: 650; }
.site-nav a { position: relative; padding: 10px 0; color: #aaaab0; transition: color .2s ease; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav a.is-active { color: #fff; }
.site-nav a.is-active::after { transform: scaleX(.32); transform-origin: left; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 10px 7px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: #fff; transition: transform .25s ease; }

.hero { position: relative; display: flex; min-height: 100svh; overflow: hidden; order: 1; align-items: center; padding: 126px var(--pad) 92px; border-bottom: 1px solid var(--line-soft); background: #050506; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 77% 35%,rgba(112,135,209,.2),transparent 24%), linear-gradient(90deg,#050506 2%,rgba(5,5,6,.94) 35%,rgba(5,5,6,.43) 66%,rgba(5,5,6,.16) 100%), linear-gradient(0deg,#050506 0%,transparent 27%,rgba(5,5,6,.14) 74%,#050506 100%), url("./public/images/hero-studio-v1.png") center/cover no-repeat; filter: brightness(.59) contrast(1.3) saturate(.42); transform: scale(1.015); }
.hero::after { content: ""; position: absolute; top: 78px; right: var(--pad); left: var(--pad); height: 1px; background: linear-gradient(90deg,rgba(255,255,255,.22),rgba(255,255,255,.04) 58%,transparent); }
.hero__content { width: min(var(--max-width),100%); min-width: 0; margin: 0 auto; }
.hero__lead { width: min(900px,69vw); }
.hero__role { display: flex; width: min(620px,100%); align-items: baseline; gap: 26px; margin: 0 0 38px; color: #cacacf; }
.hero__role::before { content: ""; width: 38px; height: 1px; flex: 0 0 38px; background: var(--accent); }
.hero__role strong { font-size: 17px; font-weight: 720; letter-spacing: -.035em; }
.hero__role span { color: #919198; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.hero__title { max-width: 920px; margin: 0; color: #f6f6f7; font-size: clamp(68px,9vw,146px); font-weight: 690; letter-spacing: -.082em; line-height: .9; text-wrap: balance; }
.hero__title span { color: transparent; background: linear-gradient(105deg,#f4f4f6 2%,#b6c3e8 38%,#7388c7 72%,#d6d9e4 100%); background-clip: text; -webkit-background-clip: text; }
.hero__intro { max-width: 625px; margin: 38px 0 0; color: #acacb2; font-size: 14px; line-height: 1.9; }
.hero__actions { display: flex; align-items: center; gap: 27px; margin-top: 34px; }
.button { display: inline-flex; min-width: 132px; height: 50px; align-items: center; justify-content: center; gap: 17px; border-radius: 999px; font-size: 12px; font-weight: 760; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { border: 1px solid #f3f3f5; background: #f3f3f5; color: #09090a; }
.button--primary:hover { border-color: var(--accent); background: var(--accent); color: #050505; }
.text-link { padding-bottom: 6px; border-bottom: 1px solid #4c4c51; color: #d2d2d5; font-size: 12px; font-weight: 700; }
.text-link span { color: var(--accent); }
.hero__footer { position: absolute; right: var(--pad); bottom: 28px; left: var(--pad); display: flex; align-items: center; justify-content: space-between; color: #65656b; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i { color: var(--accent); font-style: normal; font-size: 15px; }

.section { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; padding: clamp(110px,12vw,185px) var(--pad); }
.about-section, .work-section, .visuals-section { max-width: none; padding-right: max(var(--pad),calc((100vw - var(--max-width))/2 + var(--pad))); padding-left: max(var(--pad),calc((100vw - var(--max-width))/2 + var(--pad))); }
.about-section { order: 2; border-bottom: 1px solid var(--line-soft); background: radial-gradient(circle at 77% 26%,rgba(69,82,126,.11),transparent 26%),#080809; }
.about-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(330px,.72fr); gap: clamp(55px,7.5vw,120px); align-items: end; }
.about-title-wrap h2, .section-heading h2, .contact-section h2 { margin: 0; font-size: clamp(44px,6vw,88px); font-weight: 680; letter-spacing: -.067em; line-height: 1.02; }
.about-title-wrap h2 { max-width: 900px; font-size: clamp(46px,4.85vw,76px); line-height: .98; }
.about-title-wrap h2 span { display: block; white-space: nowrap; }
.about-copy { padding-top: 27px; border-top: 1px solid rgba(255,255,255,.36); color: #a4a4aa; font-size: clamp(15px,1.15vw,17px); line-height: 1.95; }
.about-copy p { margin: 0 0 22px; }
.facts { display: grid; grid-template-columns: repeat(3,1fr); margin-top: clamp(78px,10vw,138px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts article { min-height: 205px; padding: 32px 32px 28px; border-right: 1px solid var(--line); }
.facts article:last-child { border-right: 0; }
.facts strong { display: block; margin-bottom: 46px; color: #f1f1f3; font-size: clamp(58px,6vw,94px); font-weight: 650; letter-spacing: -.075em; line-height: .9; }
.facts sup { color: var(--accent); font-size: .35em; letter-spacing: -.03em; }
.facts span { color: var(--muted); font-size: 12px; }
.experience { display: grid; grid-template-columns: .55fr 1.45fr; gap: 40px; margin-top: 100px; padding-top: 28px; border-top: 1px solid var(--line); }
.experience__label { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.experience__rows article { display: grid; grid-template-columns: .65fr 1.35fr; gap: 26px; padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line-soft); }
.experience time, .experience p { color: var(--muted); font-size: 12px; }
.experience h3 { margin: 0 0 10px; font-size: clamp(20px,2vw,29px); font-weight: 620; letter-spacing: -.035em; }
.experience p { margin: 0; line-height: 1.7; }

.work-section { order: 3; background: #050506; }
.section-heading { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: end; margin-bottom: clamp(52px,7vw,94px); padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.project-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(56px,7vw,104px) 24px; }
.project-card { grid-column: span 6; cursor: pointer; }
.project-card:nth-child(3n + 1) { grid-column: span 7; }
.project-card:nth-child(3n + 2) { grid-column: span 5; padding-top: 8vw; }
.project-card:nth-child(3n) { grid-column: 3/span 8; }
.project-card__poster { position: relative; aspect-ratio: var(--ratio,16/10); overflow: hidden; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--poster-bg); box-shadow: 0 32px 90px rgba(0,0,0,.48); isolation: isolate; }
.project-card__poster::before, .detail-poster::before, .visual-card::before, .lightbox__image::before { content: ""; position: absolute; inset: -25%; z-index: -1; background: radial-gradient(circle at var(--x,72%) var(--y,28%),var(--glow,rgba(90,120,255,.34)),transparent 25%), linear-gradient(145deg,transparent 38%,rgba(255,255,255,.13) 50%,transparent 62%); transform: scale(1.04); transition: transform .85s cubic-bezier(.2,.7,0,1); }
.project-card:hover .project-card__poster::before { transform: scale(1.17) rotate(3deg); }
.project-card__media, .visual-card img, .lightbox__image img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,0,1); }
.project-card:hover .project-card__media, .visual-card:hover img { transform: scale(1.035); }
.poster-noise { position: absolute; inset: 0; z-index: 2; opacity: .11; 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='.75'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.poster-index, .poster-timecode, .poster-tag, .poster-word { position: absolute; z-index: 3; }
.poster-index { top: 20px; left: 22px; color: rgba(255,255,255,.56); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.poster-timecode { top: 21px; left: 50%; color: rgba(255,255,255,.43); font-size: 8px; font-weight: 750; letter-spacing: .16em; transform: translateX(-50%); }
.poster-tag { top: 17px; right: 17px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(7,7,8,.28); color: rgba(255,255,255,.76); font-size: 9px; font-weight: 750; letter-spacing: .11em; backdrop-filter: blur(10px); }
.poster-word { right: 18px; bottom: 13px; left: 18px; color: rgba(255,255,255,.9); font-size: clamp(30px,5vw,80px); font-weight: 830; letter-spacing: -.072em; line-height: .88; text-transform: uppercase; }
.project-card__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-top: 20px; }
.project-card__meta h3 { margin: 0 0 7px; font-size: clamp(20px,2vw,29px); font-weight: 620; letter-spacing: -.04em; }
.project-card__meta p { max-width: 520px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.project-card__arrow { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-bottom: 1px solid #56565b; color: #c8c8cc; transition: border-color .25s ease,color .25s ease,transform .25s ease; }
.project-card:hover .project-card__arrow { border-color: var(--accent); color: var(--accent); transform: translate(3px,-3px); }

.visuals-section { order: 4; border-top: 1px solid var(--line-soft); background: radial-gradient(circle at 16% 16%,rgba(64,75,112,.11),transparent 25%),#0a0a0b; }
.visual-grid { display: grid; grid-template-columns: repeat(12,1fr); grid-auto-rows: 90px; gap: 14px; }
.visual-card { position: relative; grid-column: span 4; grid-row: span 4; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--poster-bg); color: #fff; cursor: zoom-in; text-align: left; box-shadow: 0 20px 55px rgba(0,0,0,.25); }
.visual-card:nth-child(2), .visual-card:nth-child(5) { grid-row: span 5; }
.visual-card:nth-child(3) { grid-row: span 3; }
.visual-card::before { z-index: 0; }
.visual-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 48%,rgba(0,0,0,.73)); }
.visual-card img { z-index: 0; }
.visual-card span { position: absolute; z-index: 2; right: 18px; bottom: 16px; left: 18px; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.visual-card:hover::before { transform: scale(1.15) rotate(2deg); }

.contact-section { order: 5; position: relative; min-height: 82svh; padding: clamp(120px,14vw,205px) var(--pad) 34px; overflow: hidden; border-top: 1px solid var(--line-soft); background: #050506; }
.contact-section::before { content: "CONTACT"; position: absolute; right: -.05em; bottom: -.2em; color: #0c0c0e; font-size: clamp(120px,23vw,380px); font-weight: 850; letter-spacing: -.09em; line-height: .8; }
.contact-section__inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; }
.contact-section h2 { max-width: 980px; font-size: clamp(60px,8.8vw,136px); }
.contact-section__inner > p:not(.eyebrow) { margin: 30px 0 56px; color: #85858c; }
.contact-email { display: inline-flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--accent); color: #fff; font-size: clamp(20px,2.3vw,32px); font-weight: 620; }
.contact-section footer { position: absolute; right: var(--pad); bottom: 28px; left: var(--pad); z-index: 1; display: flex; justify-content: space-between; color: #66666d; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease,transform .72s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible, body.is-ready .hero .reveal { opacity: 1; transform: translateY(0); }

.project-dialog, .lightbox { width: 100%; max-width: none; height: 100%; max-height: none; padding: 0; border: 0; margin: 0; background: #080809; color: #f6f6f7; }
.project-dialog::backdrop, .lightbox::backdrop { background: rgba(0,0,0,.84); }
.project-dialog[open], .lightbox[open] { animation: dialog-in .4s cubic-bezier(.16,1,.3,1) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.project-dialog__shell { min-height: 100%; padding: 92px var(--pad) 110px; }
.dialog-close { position: fixed; top: 20px; right: 24px; z-index: 5; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(18,18,20,.82); backdrop-filter: blur(14px); cursor: pointer; transition: background .2s ease,transform .2s ease; }
.dialog-close:hover { border-color: var(--accent); background: #5f7fff; transform: rotate(90deg); }
.dialog-close span { position: absolute; top: 22px; left: 13px; width: 19px; height: 1px; background: #fff; }
.dialog-close span:first-child { transform: rotate(45deg); }
.dialog-close span:last-child { transform: rotate(-45deg); }
.detail-header { max-width: 1160px; margin: 0 auto 65px; }
.detail-header h2 { max-width: 960px; margin: 0 0 18px; font-size: clamp(49px,7vw,104px); font-weight: 700; letter-spacing: -.07em; line-height: .98; }
.detail-header > p { max-width: 670px; margin: 0; color: #9898a0; font-size: clamp(15px,1.5vw,20px); line-height: 1.7; }
.detail-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; max-width: 1160px; margin: 0 auto 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.detail-meta p { margin: 0; color: #94949d; font-size: 12px; line-height: 1.8; }
.detail-meta span { display: block; margin-bottom: 4px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.video-placeholder { position: relative; display: grid; max-width: 1160px; aspect-ratio: 16/9; margin: 0 auto; overflow: hidden; place-items: center; border: 1px solid var(--line); background: var(--poster-bg); }
.detail-poster { position: absolute; inset: 0; overflow: hidden; }
.detail-poster::before { z-index: 0; }
.video-placeholder__message { position: relative; z-index: 2; display: grid; place-items: center; gap: 13px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.video-placeholder__play { display: grid; width: 72px; height: 72px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(5,5,6,.36); color: #fff; font-size: 17px; backdrop-filter: blur(12px); }
.detail-video { display: block; width: min(1160px,100%); aspect-ratio: 16/9; margin: 0 auto; border: 1px solid var(--line); background: #000; object-fit: contain; }
.detail-description { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; max-width: 900px; margin: 84px auto 0; padding-top: 26px; border-top: 1px solid var(--line); }
.detail-description h3 { margin: 0; color: var(--accent); font-size: 11px; letter-spacing: .11em; }
.detail-description p { margin: 0; color: #a0a0a8; font-size: clamp(15px,1.4vw,18px); line-height: 1.95; }
.lightbox { display: none; place-items: center; padding: 70px; }
.lightbox[open] { display: grid; }
.lightbox__image { position: relative; width: min(920px,86vw); height: min(72vh,760px); overflow: hidden; border: 1px solid var(--line); background: var(--poster-bg); }
.lightbox__image::before { z-index: 0; }
.lightbox__image img { object-fit: contain; }
.lightbox p { margin: 18px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-align: center; }

@media (max-width: 940px) {
  .menu-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px; background: rgba(5,5,6,.98); font-size: 28px; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .3s ease,transform .3s ease; }
  .menu-open .site-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .menu-open .menu-toggle > span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-open .menu-toggle > span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .hero::before { background-position: 58% center; }
  .hero__lead { width: min(720px,84vw); }
  .project-card, .project-card:nth-child(3n + 1), .project-card:nth-child(3n + 2), .project-card:nth-child(3n) { grid-column: span 12; padding-top: 0; }
  .visual-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 80px; }
  .visual-card { grid-column: span 1; }
  .about-layout { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts article:last-child { grid-column: span 2; }
  .experience { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { height: 62px; }
  .hero { min-height: 100svh; padding-top: 104px; padding-bottom: 76px; }
  .hero::after { top: 62px; }
  .hero::before { background: radial-gradient(circle at 76% 34%,rgba(105,126,194,.18),transparent 25%), linear-gradient(90deg,rgba(5,5,6,.98),rgba(5,5,6,.78) 64%,rgba(5,5,6,.4)), linear-gradient(0deg,#050506 0%,transparent 30%,#050506 100%), url("./public/images/hero-studio-v1.png") 68% center/cover no-repeat; filter: brightness(.53) contrast(1.28) saturate(.36); }
  .hero__lead { width: 100%; }
  .hero__role { display: grid; grid-template-columns: 28px auto; gap: 9px 14px; margin-bottom: 29px; }
  .hero__role::before { width: 28px; }
  .hero__role span { grid-column: 2; }
  .hero__title { font-size: clamp(56px,17vw,80px); line-height: .94; }
  .hero__intro { max-width: 92%; font-size: 13px; }
  .hero__footer > span:first-child { display: none; }
  .hero__footer { justify-content: flex-start; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .project-card__poster { aspect-ratio: 4/3 !important; }
  .poster-word { font-size: 43px; }
  .visual-grid { grid-template-columns: 1fr; grid-auto-rows: 75px; }
  .visual-card, .visual-card:nth-child(2), .visual-card:nth-child(3), .visual-card:nth-child(5) { grid-column: span 1; grid-row: span 4; }
  .facts { grid-template-columns: 1fr; }
  .facts article:last-child { grid-column: span 1; }
  .facts article { min-height: 170px; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts article:last-child { border-bottom: 0; }
  .facts strong { margin-bottom: 34px; }
  .about-title-wrap h2 { font-size: clamp(40px,11vw,48px); }
  .about-title-wrap h2 span { white-space: nowrap; }
  .experience__rows article { grid-template-columns: 1fr; gap: 14px; }
  .contact-section { min-height: 72svh; }
  .contact-section footer { display: block; }
  .contact-section footer a { display: block; margin-top: 10px; }
  .project-dialog__shell { padding-top: 88px; }
  .detail-meta { grid-template-columns: 1fr; }
  .detail-description { grid-template-columns: 1fr; gap: 20px; margin-top: 55px; }
  .video-placeholder__play { width: 58px; height: 58px; }
  .lightbox { padding: 64px 18px 30px; }
  .lightbox__image { width: 100%; height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Reference-led dark portfolio composition */
body { background: #030406; }
body::before { background: linear-gradient(90deg,rgba(0,18,32,.22),transparent 28%,transparent 72%,rgba(28,5,34,.22)),#030406; }
.cursor-light { display: none; }

.site-header { height: 58px; padding: 0 38px; border-bottom: 1px solid rgba(255,255,255,.035); background: rgba(2,3,5,.86); }
.site-header.is-scrolled { height: 58px; background: rgba(2,3,5,.88); border-color: rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.brand { font-size: 17px; letter-spacing: -.05em; }
.site-nav { position: absolute; left: 50%; gap: clamp(26px,3vw,48px); transform: translateX(-50%); }
.site-nav a { color: #96969d; font-size: 12px; }
.site-nav a::after { bottom: 2px; }
.header-cta { display: inline-flex; min-width: 74px; height: 36px; align-items: center; justify-content: center; border-radius: 999px; background: #f4f4f5; color: #09090a; font-size: 12px; font-weight: 720; transition: transform .25s ease,background .25s ease; }
.header-cta:hover { background: var(--accent); transform: translateY(-1px); }

.hero { order: 1; min-height: 100svh; justify-content: center; padding: 104px clamp(24px,4vw,72px) 84px; border-bottom: 0; background: linear-gradient(90deg,rgba(0,19,34,.16),transparent 25%,transparent 75%,rgba(31,5,36,.18)),#030406; }
.hero::before { inset: 58px max(0px,calc((100vw - 1640px)/2)) 0; background: linear-gradient(90deg,rgba(1,3,6,.56),rgba(1,3,6,.22) 46%,rgba(3,2,7,.3)), linear-gradient(0deg,#030406 0%,transparent 28%,rgba(2,3,5,.1) 70%,#030406 100%), url("./public/images/hero-cinema-dark-v2.png") center/cover no-repeat; filter: brightness(.72) contrast(1.18) saturate(.82); transform: none; }
.hero::after { display: none; }
.hero__content { position: relative; z-index: 1; width: min(1640px,100%); }
.hero__lead { display: flex; width: 100%; flex-direction: column; align-items: center; text-align: center; }
.availability { display: inline-flex; align-items: center; gap: 11px; margin: 0 0 26px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(22,22,24,.68); color: #a2a2a8; box-shadow: 0 12px 30px rgba(0,0,0,.26); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 9px; font-weight: 700; letter-spacing: .17em; backdrop-filter: blur(10px); }
.availability i { width: 6px; height: 6px; border-radius: 50%; background: #38dc78; box-shadow: 0 0 12px rgba(56,220,120,.8); }
.hero__title { max-width: 1000px; font-size: clamp(86px,10.5vw,160px); font-weight: 760; letter-spacing: -.09em; line-height: 1.06; }
.hero__title span { display: inline-block; padding: 0 .03em .08em; background: linear-gradient(105deg,#187dff 2%,#6c55f8 30%,#ad48d7 56%,#d572a4 78%,#dc9468 100%); background-clip: text; -webkit-background-clip: text; }
.hero__intro { max-width: 720px; margin: 28px auto 0; color: #939399; font-size: clamp(14px,1.15vw,18px); line-height: 1.72; }
.hero__intro strong { color: #c9c9cd; font-weight: 680; }
.hero__actions { justify-content: center; margin-top: 34px; }
.button { min-width: 138px; height: 50px; }
.button--primary { border-color: #f2f2f3; background: #f2f2f3; }
.button--secondary { border: 1px solid rgba(255,255,255,.18); background: rgba(22,22,24,.72); color: #d5d5d9; backdrop-filter: blur(10px); }
.button--secondary:hover { border-color: rgba(255,255,255,.34); background: rgba(42,42,46,.86); }
.hero__footer { right: 0; bottom: 23px; left: 0; justify-content: center; }
.scroll-cue { flex-direction: column; gap: 7px; font-family: ui-monospace,SFMono-Regular,monospace; letter-spacing: .18em; }
.scroll-cue i { position: relative; width: 13px; height: 22px; border: 1px solid #4b4b50; border-radius: 10px; }
.scroll-cue i::after { content: ""; position: absolute; top: 4px; left: 5px; width: 2px; height: 5px; border-radius: 2px; background: #77777e; animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0%,100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(7px); opacity: 1; } }

.about-section { order: 2; min-height: auto; padding-top: clamp(120px,10vw,170px); padding-bottom: clamp(64px,5vw,88px); border: 0; background: radial-gradient(circle at 84% 34%,rgba(76,32,89,.14),transparent 27%), radial-gradient(circle at 22% 60%,rgba(14,45,71,.12),transparent 30%),#030406; }
.about-layout { grid-template-columns: minmax(0,1.16fr) minmax(380px,.84fr); gap: clamp(70px,8vw,135px); align-items: center; }
.about-story { max-width: 760px; }
.about-story .eyebrow { color: #2497ff; }
.about-story h2 { margin: 0; font-size: clamp(54px,5.3vw,82px); font-weight: 720; letter-spacing: -.065em; line-height: 1.16; }
.about-copy { max-width: 740px; margin-top: 60px; padding: 0; border: 0; color: #8f8f96; font-size: clamp(14px,1.15vw,17px); line-height: 1.9; }
.about-copy strong { color: #f0f0f2; }
.facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 0; border: 0; }
.facts article { min-height: 150px; padding: 26px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: linear-gradient(145deg,rgba(15,15,17,.88),rgba(17,11,21,.88)); transition: border-color .3s ease,transform .3s ease; }
.facts article:last-child { border-right: 1px solid rgba(255,255,255,.09); }
.facts article:hover { border-color: rgba(138,164,255,.32); transform: translateY(-3px); }
.facts strong { margin: 0 0 28px; font-size: clamp(48px,4vw,68px); letter-spacing: -.065em; }
.facts sup { color: #f4f4f5; font-size: .35em; }
.facts sup.stat-plus { margin-left: .04em; font-size: .52em; vertical-align: .48em; }
.facts sup.stat-unit { display: inline-block; margin-left: .2em; letter-spacing: 0; }

.work-section { order: 3; padding-top: clamp(76px,6vw,104px); background: #050506; }
.short-video-section { order: 4; border-top: 1px solid rgba(255,255,255,.06); background: radial-gradient(circle at 78% 24%,rgba(90,45,111,.17),transparent 28%),radial-gradient(circle at 18% 72%,rgba(20,55,82,.13),transparent 30%),#050506; }
.visuals-section { order: 5; background: radial-gradient(circle at 85% 15%,rgba(61,21,74,.16),transparent 24%),#070608; }
.skills-section { order: 6; max-width: none; padding-right: max(var(--pad),calc((100vw - var(--max-width))/2 + var(--pad))); padding-left: max(var(--pad),calc((100vw - var(--max-width))/2 + var(--pad))); border-top: 1px solid rgba(255,255,255,.06); background: #040405; }
.contact-section { order: 7; }
.section-heading { margin-bottom: clamp(58px,7vw,92px); padding-bottom: 24px; }
.section-heading h2 { font-size: clamp(52px,6vw,88px); }
.section-heading .eyebrow { color: #8c7cff; }

.project-grid { gap: 78px 24px; }
.project-card, .project-card:nth-child(3n + 1), .project-card:nth-child(3n + 2), .project-card:nth-child(3n) { grid-column: span 6; padding-top: 0; }
.project-card:first-child { grid-column: span 12; }
.project-card:first-child .project-card__poster { aspect-ratio: 16/7; }
.project-card__poster { border-color: rgba(255,255,255,.1); border-radius: 8px; }
.project-card__meta h3 { font-size: clamp(22px,2.2vw,32px); }
.poster-word { font-weight: 800; }

/* Keep every portfolio section on the same wide cinematic canvas. */
.about-section, .work-section, .short-video-section, .visuals-section, .skills-section {
  width: 100%;
  max-width: none;
  padding-right: clamp(24px,4vw,72px);
  padding-left: clamp(24px,4vw,72px);
}
.about-layout,
.work-section .section-heading,
.work-section .project-grid,
.short-video-section .section-heading,
.short-video-section .short-video-intro,
.short-video-section .short-video-layout,
.visuals-section .section-heading,
.visuals-section .visual-grid,
.skills-section .section-heading,
.skills-section .skills-grid {
  width: min(1640px,100%);
  margin-right: auto;
  margin-left: auto;
}
.work-section .project-grid { column-gap: clamp(22px,2.2vw,38px); }
.work-section .project-card:first-child { grid-column: 1 / -1 !important; }
.work-section .project-card:first-child .project-card__poster { aspect-ratio: 16 / 7; }
.work-section .project-card:not(:first-child) { grid-column: span 6; }
.work-section .project-card__meta { padding-top: 24px; }
.work-section .project-card__meta h3 { font-size: clamp(24px,2.4vw,38px); }

.short-video-section .section-heading { margin-bottom: clamp(56px,6vw,86px); }
.short-video-intro { margin-bottom: clamp(46px,5vw,72px); }
.short-video-intro h3 { margin: 0 0 12px; font-size: clamp(28px,3vw,42px); font-weight: 650; letter-spacing: -.045em; line-height: 1.12; }
.short-video-intro > p { max-width: 760px; margin: 0; color: #929299; font-size: clamp(12px,.92vw,14px); line-height: 1.8; }
.short-video-layout { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,2.3vw,38px); align-items: start; }
.short-video-main { width: 100%; }
.vertical-media, .proof-card { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; background: linear-gradient(145deg,#16161a,#09090b); box-shadow: 0 32px 90px rgba(0,0,0,.42); }
.vertical-media video, .proof-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vertical-media video { background: #000; }
.vertical-media__index { position: absolute; top: 18px; left: 18px; z-index: 1; padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(5,5,7,.5); color: rgba(255,255,255,.78); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 8px; font-weight: 750; letter-spacing: .12em; pointer-events: none; backdrop-filter: blur(12px); }
.short-video-proof { display: contents; }
.proof-card { margin: 0; }
.proof-card img { transition: transform .7s cubic-bezier(.16,1,.3,1),filter .5s ease; }
.proof-card:hover img { transform: scale(1.025); filter: brightness(1.06); }

.visual-card { border-radius: 8px; }
.visuals-section .section-heading { margin-bottom: 34px; }
.visual-filter { display: flex; width: min(1640px,100%); gap: 9px; margin: 0 auto 42px; }
.visual-filter button { display: inline-flex; height: 38px; align-items: center; gap: 9px; padding: 0 16px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.025); color: #85858d; font-size: 11px; font-weight: 680; cursor: pointer; transition: border-color .25s ease,background .25s ease,color .25s ease,transform .25s ease; }
.visual-filter button:hover { border-color: rgba(255,255,255,.25); color: #d8d8dc; transform: translateY(-1px); }
.visual-filter button.is-active { border-color: #ededf0; background: #ededf0; color: #09090a; }
.visual-filter span { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 9px; opacity: .6; }
.visual-grid { grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: auto; gap: clamp(14px,1.3vw,22px); }
.visual-card,
.visual-card:nth-child(2),
.visual-card:nth-child(3),
.visual-card:nth-child(5) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
.visual-card span { padding-top: 48px; background: linear-gradient(transparent,rgba(0,0,0,.68)); }
.skills-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.skills-grid article { position: relative; min-height: 230px; padding: 34px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: linear-gradient(145deg,rgba(15,15,17,.92),rgba(16,10,20,.84)); }
.skills-grid article::after { content: ""; position: absolute; right: -90px; bottom: -100px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle,rgba(100,72,174,.18),transparent 67%); }
.skills-grid span { color: #75757c; font-family: ui-monospace,SFMono-Regular,monospace; font-size: 10px; letter-spacing: .16em; }
.skills-grid h3 { margin: 58px 0 12px; font-size: clamp(28px,3vw,44px); font-weight: 650; letter-spacing: -.05em; }
.skills-grid p { max-width: 520px; margin: 0; color: #85858c; font-size: 13px; line-height: 1.8; }

.contact-section { min-height: 88svh; padding-right: clamp(24px,4vw,72px); padding-left: clamp(24px,4vw,72px); background: radial-gradient(circle at 75% 35%,rgba(81,27,91,.14),transparent 30%),#030406; }
.contact-section__inner { width: min(1640px,100%); max-width: none; }
.contact-section h2 { max-width: 1320px; }
.contact-section footer { right: clamp(24px,4vw,72px); left: clamp(24px,4vw,72px); }
.contact-section::before { color: #0a0a0c; }

@media (max-width: 940px) {
  .site-header { padding: 0 24px; }
  .site-nav { position: fixed; left: 0; transform: translateY(-12px); }
  .menu-open .site-nav { transform: translateY(0); }
  .header-cta { display: none; }
  .hero__title { font-size: clamp(80px,15vw,125px); }
  .about-layout { grid-template-columns: 1fr; }
  .about-story { max-width: none; }
  .facts { max-width: 760px; }
  .visual-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-card, .project-card:first-child, .project-card:nth-child(3n + 1), .project-card:nth-child(3n + 2), .project-card:nth-child(3n) { grid-column: span 12; }
  .work-section .project-card:not(:first-child) { grid-column: span 12; }
  .project-card:first-child .project-card__poster { aspect-ratio: 16/9; }
  .short-video-layout { gap: 16px; }
}

@media (max-width: 620px) {
  .site-header { height: 58px; }
  .hero { padding: 92px 22px 82px; }
  .hero::before { inset: 58px 0 0; background: linear-gradient(90deg,rgba(2,3,6,.52),rgba(2,3,6,.18),rgba(3,2,7,.38)), linear-gradient(0deg,#030406 0%,transparent 30%,#030406 100%), url("./public/images/hero-cinema-dark-v2.png") 41% center/cover no-repeat; filter: brightness(.62) contrast(1.2) saturate(.82); }
  .availability { margin-bottom: 24px; font-size: 8px; }
  .hero__title { font-size: clamp(66px,20vw,88px); line-height: 1.04; }
  .hero__intro { max-width: 100%; margin-top: 25px; font-size: 13px; line-height: 1.7; }
  .hero__actions { gap: 12px; margin-top: 27px; }
  .button { min-width: 126px; height: 46px; }
  .hero__footer { justify-content: center; }
  .about-story h2 { font-size: clamp(38px,10vw,44px); }
  .about-copy { margin-top: 38px; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .facts article { min-height: 130px; padding: 20px 17px; border-bottom: 1px solid rgba(255,255,255,.09); }
  .facts strong { margin-bottom: 24px; font-size: 43px; }
  .facts span { font-size: 10px; }
  .visual-filter { gap: 7px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .visual-filter::-webkit-scrollbar { display: none; }
  .visual-filter button { flex: 0 0 auto; }
  .visual-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card:first-child .project-card__poster, .project-card__poster { aspect-ratio: 4/3 !important; }
  .short-video-layout { grid-template-columns: 1fr; gap: 18px; }
  .short-video-main, .proof-card { width: min(100%,380px); justify-self: center; }
  .proof-card { border-radius: 13px; }
  .skills-grid { grid-template-columns: 1fr; }
  .skills-grid article { min-height: 190px; padding: 28px; }
  .skills-grid h3 { margin-top: 42px; }
}

/* AI drama: full 9:16 posters on the shared portfolio canvas. */
.ai-drama-section {
  order: 4;
  width: 100%;
  max-width: none;
  padding-right: clamp(24px,4vw,72px);
  padding-left: clamp(24px,4vw,72px);
  border-top: 1px solid var(--line-soft);
  background: radial-gradient(ellipse at 80% 15%,rgba(80,47,92,.13),transparent 42%),#050506;
}
.ai-drama-section > * { width: min(1640px,100%); margin-right: auto; margin-left: auto; }
.ai-drama-section .section-heading { margin-bottom: 28px; }
.ai-drama-intro { margin-bottom: clamp(34px,4vw,58px); }
.ai-drama-intro > p { max-width: 840px; margin: 0; color: #a0a0a8; font-size: clamp(13px,1.05vw,16px); line-height: 1.9; }
.ai-drama-intro .ai-drama-credits { margin-top: 18px; font-size: 12px; line-height: 2; color: #7f7f89; }
.ai-drama-credits > span { display: inline-block; margin-right: 16px; color: #c5c5ce; }
.ai-drama-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,2.3vw,38px); }
.ai-drama-card { min-width: 0; }
.ai-drama-card__poster { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #111; cursor: pointer; box-shadow: 0 20px 55px rgba(0,0,0,.25); }
.ai-drama-card__poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ai-drama-card__play { position: absolute; top: 50%; left: 50%; display: grid; width: 58px; height: 58px; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(8,8,10,.48); color: #fff; font-size: 18px; backdrop-filter: blur(12px); opacity: 0; transform: translate(-50%,-40%); transition: opacity .25s ease,transform .25s ease; }
.ai-drama-card__poster:hover .ai-drama-card__play, .ai-drama-card__poster:focus-visible .ai-drama-card__play { opacity: 1; transform: translate(-50%,-50%); }
.ai-drama-card__poster:focus-visible, .ai-drama-card__meta a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.ai-drama-card__meta { padding-top: 22px; }
.ai-drama-card__meta .ai-drama-card__genre { margin: 0 0 10px; color: #8a8790; font-size: 11px; letter-spacing: .1em; }
.ai-drama-card__meta h3 { margin: 0 0 10px; font-size: clamp(24px,2.2vw,34px); font-weight: 650; letter-spacing: -.035em; line-height: 1.3; }
.ai-drama-card__meta h3 a { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ai-drama-card__meta h3 span { color: var(--accent); font-size: 21px; font-weight: 400; }
.ai-drama-card__meta > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.short-video-section { order: 5; }
.visuals-section { order: 6; }
.skills-section { order: 7; }
.contact-section { order: 8; }
.project-card__media.project-card__media--portrait { object-fit: contain; }
.project-card:hover .project-card__media--portrait { transform: none; }
.detail-video.detail-video--portrait { width: min(100%,440px,42.75svh); height: auto; aspect-ratio: 9 / 16; border-radius: 10px; }
.project-dialog--portrait .detail-header { margin-bottom: 34px; }
.project-dialog--portrait .detail-header h2 { font-size: clamp(38px,5vw,72px); line-height: 1.2; }
.project-dialog--portrait .detail-meta { grid-template-columns: 1fr; margin-bottom: 32px; }
.project-dialog--portrait .detail-description { margin-top: 52px; }
.project-dialog--portrait .detail-description--followup { margin-top: 30px; }
@media (min-width: 941px) and (max-width: 1200px) {
  .site-nav { gap: 22px; }
}
@media (hover: none) {
  .ai-drama-card__play { opacity: 1; transform: translate(-50%,-50%); }
}
@media (max-width: 620px) {
  .ai-drama-grid { grid-template-columns: 1fr; gap: 40px; }
  .ai-drama-card { width: min(100%,380px); justify-self: center; }
  .ai-drama-credits > span { display: block; }
  .ai-drama-card__meta { padding-top: 18px; }
  .detail-video.detail-video--portrait { width: min(100%,380px); }
}

/* Consistent section spacing without stacking oversized blank areas. */
.section {
  padding-top: clamp(48px,4.5vw,72px);
  padding-bottom: clamp(48px,4.5vw,72px);
}
.contact-section {
  min-height: 0;
  padding-top: clamp(56px,5vw,80px);
  padding-bottom: 120px;
}
