/*
Theme Name: Through Line Portfolio
Theme URI: https://throughline-creative.com
Author: Through Line
Description: A cinematic one-page portfolio theme for AI filmmaker Shisi.
Version: 2.0.1
Text Domain: throughline
*/

:root {
  --ink: #f9f4ff;
  --muted: #c8bcd5;
  --night: #090612;
  --violet: #9b5cff;
  --pink: #ff5db1;
  --gold: #f4d7a1;
  --glass: rgba(255,255,255,.075);
  --line: rgba(255,255,255,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-shell { position: relative; min-height: 100vh; isolation: isolate; }
.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.site-shell::before {
  z-index: 0;
  background: url('assets/site-background.jpeg') center center / cover no-repeat;
}
.site-shell::after {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(3,3,14,.2), rgba(6,3,18,.55) 44%, rgba(5,2,15,.72)),
    radial-gradient(circle at 50% 34%, transparent 0 18%, rgba(4,2,15,.28) 64%, rgba(3,1,10,.58) 100%);
}
.ambient-stars {
  position: fixed;
  z-index: 1;
  inset: -8%;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: opacity, transform;
}
.stars-a {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(194,150,255,.9) 0 1.2px, transparent 2.4px),
    radial-gradient(circle, rgba(255,172,224,.84) 0 .8px, transparent 2px);
  background-size: 173px 181px, 257px 239px, 311px 277px;
  background-position: 13px 21px, 91px 47px, 153px 119px;
  animation: starPulseA 4.8s ease-in-out infinite alternate;
}
.stars-b {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1.6px, transparent 3px),
    radial-gradient(circle, rgba(132,211,255,.8) 0 1px, transparent 2.4px);
  background-size: 347px 331px, 419px 383px;
  background-position: 71px 31px, 207px 143px;
  filter: drop-shadow(0 0 5px rgba(224,202,255,.85));
  animation: starPulseB 6.3s ease-in-out infinite alternate-reverse;
}
.site-shell > main,
.site-shell > footer { position: relative; z-index: 2; }
@keyframes starPulseA {
  0% { opacity: .18; transform: translate3d(0,0,0) scale(1); }
  45% { opacity: .66; }
  100% { opacity: .3; transform: translate3d(6px,-4px,0) scale(1.008); }
}
@keyframes starPulseB {
  0% { opacity: .12; transform: scale(.998); }
  58% { opacity: .72; }
  100% { opacity: .24; transform: scale(1.01); }
}
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: fixed; z-index: 50; inset: 0 0 auto;
  backdrop-filter: blur(18px); background: rgba(9,6,18,.62);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: Georgia, serif; letter-spacing: .12em; font-size: 1.05rem; }
.brand span { color: var(--pink); }
.nav-links { display: flex; gap: 26px; color: var(--muted); font-size: .86rem; letter-spacing: .08em; }
.nav-links a:hover { color: white; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: end center; padding: 130px 0 64px; overflow: hidden; background: #030511; }
.hero-visual { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: url('assets/hero-video-poster.jpg') center / cover no-repeat; }
.hero-video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-blur {
  position: absolute; inset: -34px;
  background: linear-gradient(rgba(3,2,10,.14), rgba(3,2,10,.38)), url('assets/hero-opening.jpeg') center 62% / cover no-repeat;
  filter: blur(22px) saturate(1.15); transform: scale(1.08); opacity: .68;
}
.hero-visual img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: saturate(1.08) contrast(1.04); }
.hero-visual::after {
  content: ""; position: absolute; z-index: 2; inset: 0;
  background: linear-gradient(180deg, rgba(4,3,12,.25), rgba(4,3,12,.12) 44%, rgba(4,3,12,.72) 100%), radial-gradient(circle at center, transparent 30%, rgba(3,2,9,.38) 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 3; border-radius: 50%; filter: blur(1px); pointer-events: none;
}
.hero::before { width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 90px rgba(155,92,255,.2); }
.hero::after { width: 9px; height: 9px; background: white; box-shadow: 110px -160px 15px white, -170px -90px 9px var(--pink), 210px 80px 12px var(--violet), -220px 150px 8px white; }
.hero-inner { position: relative; z-index: 4; text-align: center; text-shadow: 0 2px 28px rgba(3,2,9,.9); }
.screen-reader-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 18px; color: var(--gold); letter-spacing: .3em; font-size: .75rem; text-transform: uppercase; }
h1 { margin: 0; font: 400 clamp(3.5rem, 10vw, 8.5rem)/.92 Georgia, serif; letter-spacing: -.045em; }
h1 em { display: block; font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.78); }
.hero-statement { position: relative; width: min(760px, 100%); margin: 0 auto; padding: 18px 34px 20px; border-top: 1px solid rgba(255,255,255,.34); border-bottom: 1px solid rgba(255,255,255,.16); background: linear-gradient(90deg, transparent, rgba(8,5,25,.47) 18%, rgba(8,5,25,.47) 82%, transparent); backdrop-filter: blur(5px); opacity: 0; animation: heroContentIn .9s ease 3.8s forwards; }
.hero-statement::before { content: ""; position: absolute; top: -1px; left: 50%; width: 34%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #f7d8ff 48%, #fff 52%, transparent); box-shadow: 0 0 12px rgba(230,175,255,.9), 0 0 28px rgba(178,99,255,.45); }
.hero-statement-kicker { display: block; margin-bottom: 5px; color: #e9caff; font: 500 .65rem/1.4 Georgia, serif; letter-spacing: .34em; }
.hero-copy-main { margin: 0; color: #fff; font: 400 clamp(1.12rem,2.25vw,1.55rem)/1.65 "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; letter-spacing: .08em; text-shadow: 0 0 20px rgba(225,183,255,.45); }
.hero-copy-sub { margin: 4px 0 0; color: #d9cfe4; font-size: clamp(.76rem,1.25vw,.9rem); letter-spacing: .045em; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; opacity: 0; animation: heroContentIn .9s ease 4.05s forwards; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 23px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); transition: .25s ease; }
.button.primary { background: linear-gradient(120deg, var(--violet), var(--pink)); border: 0; box-shadow: 0 12px 38px rgba(155,92,255,.28); }
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.48); }
@keyframes heroContentIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

section { position: relative; padding: 100px 0; background: transparent; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
h2 { margin: 0; font: 400 clamp(2.3rem, 6vw, 4.6rem)/1 Georgia, serif; }
.section-note { max-width: 360px; color: var(--muted); font-size: .92rem; }

.glass-carousel { position: relative; height: 570px; margin-top: 30px; overflow: hidden; perspective: 1100px; }
.glass-stage { position: absolute; inset: 0; touch-action: pan-y; user-select: none; }
.work-glass {
  --x: 0px; --scale: 1; --turn: 0deg; --opacity: 0;
  position: absolute; left: 50%; top: 4px; width: 300px; min-height: 535px; margin-left: -150px;
  border: 0; padding: 0; background: transparent; color: var(--ink); cursor: pointer;
  opacity: var(--opacity); transform: translateX(var(--x)) scale(var(--scale)) rotateY(var(--turn));
  transition: transform .75s cubic-bezier(.2,.75,.2,1), opacity .55s ease, filter .45s ease;
}
.work-glass:not(.active) { filter: saturate(.62) brightness(.64) blur(.25px); }
.work-glass.active { filter: drop-shadow(0 0 32px rgba(213,126,255,.5)); }
.work-glass-art { position: relative; display: block; width: 290px; height: 435px; margin: 0 auto; filter: drop-shadow(0 0 18px rgba(217,126,255,.42)); }
.work-glass-bowl {
  position: absolute; z-index: 1; left: 10px; top: 16px; width: 270px; height: 150px; overflow: hidden;
  clip-path: polygon(2% 0, 98% 0, 91% 43%, 76% 76%, 61% 98%, 39% 98%, 24% 76%, 9% 43%);
  background: rgba(255,255,255,.08); border-radius: 50% 50% 18% 18% / 12% 12% 45% 45%;
}
.work-glass-bowl::after { content:""; position:absolute; z-index:2; inset:0; background:linear-gradient(180deg, rgba(255,255,255,.1), transparent 38%, rgba(126,52,174,.18)); pointer-events:none; }
.work-glass-bowl img { width:100%; height:100%; object-fit:cover; transform:scale(1.08); }
.crystal-glass-frame { position:absolute; z-index:3; inset:0; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.orbit-spark { position:absolute; width:7px; height:7px; background:#fff; transform:rotate(45deg); box-shadow:0 0 15px #fff, 0 0 28px #be79ff; animation:orbitTwinkle 2.5s ease-in-out infinite; }
.spark-a { right:2px; top:48px; }.spark-b { left:4px; top:126px; animation-delay:.8s; }.spark-c { right:32px; top:338px; animation-delay:1.55s; }
.glass-caption { display:block; text-align:center; margin-top:-18px; }
.glass-caption small, .glass-caption strong, .glass-caption em { display:block; }
.glass-caption small { color:var(--pink); font-size:.66rem; letter-spacing:.11em; }
.glass-caption strong { margin-top:5px; font:400 1.42rem/1.25 Georgia, "Yu Mincho", serif; }
.glass-caption em { margin-top:5px; color:var(--muted); font-style:normal; font-size:.76rem; }
.carousel-arrow { position:absolute; z-index:40; top:200px; width:52px; height:52px; border:1px solid var(--line); border-radius:50%; background:rgba(10,6,20,.55); color:#fff; font:300 2.1rem/1 Georgia,serif; cursor:pointer; backdrop-filter:blur(10px); }
.carousel-prev { left:10px; }.carousel-next { right:10px; }
.carousel-arrow:hover { border-color:#fff; box-shadow:0 0 24px rgba(174,105,255,.55); }
.carousel-guide { margin:-20px 0 25px; text-align:center; color:var(--muted); font-size:.82rem; letter-spacing:.05em; }
@keyframes orbitTwinkle { 0%,100% { opacity:.25; transform:rotate(45deg) scale(.65); } 50% { opacity:1; transform:rotate(45deg) scale(1.45); } }

/* NEWS */
#news { padding-top: 80px; }
.news-head { margin-bottom: 34px; }
.news-feature { overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 30px; background: linear-gradient(140deg, rgba(13,8,35,.88), rgba(38,12,49,.74)); box-shadow: 0 28px 85px rgba(2,1,10,.42), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.news-feature summary { list-style: none; }
.news-feature summary::-webkit-details-marker { display: none; }
.news-summary { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(310px,.75fr); min-height: 390px; cursor: pointer; }
.news-image-wrap { position: relative; overflow: hidden; min-height: 390px; }
.news-image-wrap::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, transparent 55%, rgba(17,7,31,.8) 100%); pointer-events:none; }
.news-image-wrap img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .7s ease, filter .5s ease; }
.news-summary:hover .news-image-wrap img { transform: scale(1.025); filter: saturate(1.08); }
.news-summary-copy { display:flex; flex-direction:column; justify-content:center; padding: clamp(28px,5vw,58px); }
.news-meta { display:flex; align-items:center; gap:12px; margin-bottom:18px; color:#e8d9f2; font: .72rem/1.4 Georgia,serif; letter-spacing:.13em; }
.news-meta b { padding:5px 10px; border:1px solid rgba(255,187,231,.42); border-radius:999px; color:#ff9fd3; font-size:.62rem; }
.news-summary-copy > strong { font: 400 clamp(1.65rem,3.2vw,2.55rem)/1.45 "Yu Mincho","Hiragino Mincho ProN",Georgia,serif; letter-spacing:.03em; }
.news-excerpt { margin-top:18px; color:var(--muted); font-size:.86rem; }
.news-read { display:flex; align-items:center; gap:12px; margin-top:30px; color:#f1c8ff; font-size:.78rem; letter-spacing:.1em; }
.news-read i { width:34px; height:1px; background:linear-gradient(90deg,#ff8dcc,#b78bff); box-shadow:0 0 9px rgba(223,137,255,.65); transition: width .3s ease; }
.news-summary:hover .news-read i { width:48px; }
.read-close { display:none; }
.news-feature[open] .read-open { display:none; }
.news-feature[open] .read-close { display:inline; }
.news-body { padding: clamp(30px,6vw,72px); border-top:1px solid rgba(255,255,255,.14); background:rgba(5,3,16,.42); }
.news-lead { width:min(820px,100%); margin:0 auto 44px; color:#fff; text-align:center; font:400 clamp(1.05rem,2vw,1.35rem)/1.95 "Yu Mincho","Hiragino Mincho ProN",Georgia,serif; }
.news-lead strong { color:#f3caff; font-weight:500; }
.news-article-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr); gap:clamp(30px,6vw,72px); align-items:center; }
.news-article-grid h3 { margin:0 0 22px; font:400 clamp(1.4rem,2.6vw,2rem)/1.55 "Yu Mincho","Hiragino Mincho ProN",Georgia,serif; color:#fff; }
.news-article-grid p { color:#d7ccdf; }
.news-sign { margin-top:28px; color:#f2d4ff !important; font-family:Georgia,"Yu Mincho",serif; }
.award-certificate { margin:0; padding:18px; border:1px solid rgba(255,255,255,.18); border-radius:22px; background:rgba(255,255,255,.065); box-shadow:0 18px 55px rgba(0,0,0,.28); }
.award-certificate img { display:block; width:100%; border-radius:12px; }
.award-certificate figcaption { margin-top:12px; color:#cdbed8; text-align:center; font:.7rem/1.6 Georgia,serif; letter-spacing:.08em; }
.news-grid { display:grid; gap:24px; }
.news-card { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); overflow:hidden; min-height:390px; border:1px solid rgba(255,255,255,.22); border-radius:30px; background:linear-gradient(140deg,rgba(13,8,35,.88),rgba(38,12,49,.74)); box-shadow:0 28px 85px rgba(2,1,10,.42),inset 0 1px rgba(255,255,255,.08); backdrop-filter:blur(14px); }
.news-card-image { position:relative; overflow:hidden; min-height:390px; }
.news-card-image::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent 55%,rgba(17,7,31,.8)); pointer-events:none; }
.news-card-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .7s ease,filter .5s ease; }
.news-card:hover .news-card-image img { transform:scale(1.025); filter:saturate(1.08); }
.news-card-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(28px,5vw,58px); }
.news-card-copy h3 { margin:0; font:400 clamp(1.65rem,3.2vw,2.55rem)/1.45 "Yu Mincho","Hiragino Mincho ProN",Georgia,serif; letter-spacing:.03em; }
.news-card-copy p { margin:18px 0 0; color:var(--muted); font-size:.86rem; }
.news-more { display:flex; align-items:center; gap:12px; margin-top:30px; color:#f1c8ff; font-size:.78rem; letter-spacing:.1em; }
.news-more i { width:34px; height:1px; background:linear-gradient(90deg,#ff8dcc,#b78bff); box-shadow:0 0 9px rgba(223,137,255,.65); transition:width .3s ease; }
.news-more:hover i { width:48px; }
.single-news { padding:135px 0 100px; }
.single-news-header { width:min(850px,100%); margin:0 auto 42px; text-align:center; }
.single-news-header h1 { margin:18px 0 0; font:400 clamp(2rem,5vw,4rem)/1.35 "Yu Mincho","Hiragino Mincho ProN",Georgia,serif; letter-spacing:.02em; }
.single-news-hero { overflow:hidden; width:min(1040px,100%); margin:0 auto 52px; border:1px solid rgba(255,255,255,.2); border-radius:28px; box-shadow:0 25px 80px rgba(0,0,0,.35); }
.single-news-hero img { display:block; width:100%; max-height:660px; object-fit:cover; }
.single-news-content { width:min(760px,100%); margin:0 auto; color:#ded4e6; font-size:1.02rem; }
.single-news-content h2 { margin:46px 0 18px; font:400 clamp(1.6rem,3vw,2.35rem)/1.5 "Yu Mincho","Hiragino Mincho ProN",Georgia,serif; color:#fff; }
.single-news-content p { margin:0 0 22px; }
.single-news-content strong { color:#f3caff; }
.single-news-content figure { margin:42px 0; }
.single-news-content figure img { width:100%; height:auto; border-radius:18px; }
.single-news-content figcaption { margin-top:10px; color:#aa9ab5; text-align:center; font-size:.72rem; }
.news-article-lead { color:#fff; font:400 1.18rem/2 "Yu Mincho","Hiragino Mincho ProN",Georgia,serif; }
.single-news-back { display:inline-flex; margin-top:46px; color:#efc9ff; border-bottom:1px solid rgba(239,201,255,.55); }

.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { position: relative; overflow: hidden; min-height: 360px; border-radius: 26px; border: 1px solid var(--line); background: #171022; isolation: isolate; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .6s ease, opacity .3s; }
.work-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 25%, rgba(8,5,16,.9) 100%); }
.work-card:hover img { transform: scale(1.045); opacity: .92; }
.work-info { position: absolute; z-index: 2; inset: auto 24px 22px; }
.tag { display: inline-flex; padding: 5px 11px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(8,5,16,.52); font-size: .7rem; letter-spacing: .07em; }
.work-title { margin: 0; font: 400 clamp(1.45rem, 3vw, 2.1rem)/1.25 Georgia, "Yu Mincho", serif; }
.work-meta { margin: 6px 0 0; color: #ddd2e8; font-size: .82rem; }
.play { position: absolute; z-index: 3; top: 20px; right: 20px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(8,5,16,.45); color: white; cursor: pointer; backdrop-filter: blur(8px); }
.play::after { content: ""; display: block; margin: auto; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid white; transform: translateX(2px); }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.portrait-profile { margin: 0; }
.portrait-profile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; display: block; border-radius: 42% 42% 28px 28px; border: 1px solid var(--line); box-shadow: 0 18px 55px rgba(0,0,0,.32), inset 0 0 70px rgba(255,255,255,.04); }
.portrait-profile figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: .76rem; letter-spacing: .04em; }
.about-copy p { color: var(--muted); }
.profile-facts { margin: 24px 0 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,8,35,.48); }
.profile-facts div { display: grid; grid-template-columns: 9.5rem 1fr; padding: 6px 0; }
.profile-facts dt { color: var(--muted); }
.profile-facts dd { margin: 0; color: #fff; }
.profile-story p { margin: 0 0 1em; line-height: 1.95; }
.about-subtitle { margin: 34px 0 0; font: 400 1.25rem/1.4 Georgia, "Yu Mincho", serif; letter-spacing: .08em; }
.credits { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.credits li { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.credits small { color: var(--pink); letter-spacing: .08em; }

.contact-panel { padding: clamp(34px,7vw,78px); border: 1px solid rgba(255,255,255,.24); border-radius: 32px; text-align: center; background: linear-gradient(140deg, rgba(21,11,52,.82), rgba(44,12,53,.68)); box-shadow: 0 24px 80px rgba(4,1,13,.34), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.contact-panel p { color: var(--muted); }
.mail { display: inline-block; margin: 20px 0; font: 400 clamp(1.2rem,3vw,2rem) Georgia, serif; border-bottom: 1px solid var(--pink); }
.social-heading { margin: 22px 0 12px; font-size: .88rem; letter-spacing: .04em; }
.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: min(720px, 100%); margin: 0 auto; text-align: left; }
.social-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; min-height: 82px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; background: rgba(7,4,18,.68); box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.social-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.62); box-shadow: 0 15px 36px rgba(0,0,0,.3), 0 0 28px rgba(177,91,255,.18); }
.social-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: #fff; }
.social-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-icon .social-dot { fill: currentColor; stroke: none; }
.instagram .social-icon { background: linear-gradient(135deg, #7b35d7 5%, #d72f83 52%, #ff9e45 100%); box-shadow: 0 0 24px rgba(214,47,131,.28); }
.x-social .social-icon { background: #050505; border: 1px solid rgba(255,255,255,.3); }
.x-mark { font: 400 2rem/1 Georgia, serif; }
.social-copy { min-width: 0; }
.social-copy strong, .social-copy small { display: block; }
.social-copy strong { font: 400 1.2rem/1.2 Georgia, sans-serif; color: #fff; }
.social-copy small { margin-top: 5px; color: var(--muted); font-size: .73rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-arrow { color: #fff; font-size: 1.2rem; }
.site-footer { padding: 36px 0; border-top: 1px solid rgba(255,255,255,.08); color: #958ba3; font-size: .78rem; }

.modal { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 22px; background: rgba(3,2,8,.9); backdrop-filter: blur(12px); }
.modal.open { display: grid; }
.modal-inner { width: min(1000px, 100%); }
.modal-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.modal-close { border: 1px solid var(--line); background: var(--glass); color: white; border-radius: 999px; padding: 8px 15px; cursor: pointer; }
.video-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 18px; background: black; }
.hidden { display: none !important; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav-links a:not(:last-child) { display: none; }
  .hero { min-height: 100svh; }
  .hero-video { object-fit: contain; }
  .hero-statement { width: calc(100% + 10px); margin-left: -5px; padding: 14px 12px 15px; }
  .hero-statement-kicker { font-size: .57rem; letter-spacing: .25em; }
  .hero-copy-main { font-size: 1rem; letter-spacing: .035em; }
  .hero-copy-sub { font-size: .72rem; line-height: 1.65; }
  .section-head { display: block; }
  .section-note { margin-top: 15px; }
  .news-summary { grid-template-columns:1fr; }
  .news-image-wrap { min-height:220px; aspect-ratio:16/9; }
  .news-image-wrap::after { background:linear-gradient(180deg,transparent 62%,rgba(17,7,31,.62) 100%); }
  .news-summary-copy { padding:26px 22px 30px; }
  .news-summary-copy > strong { font-size:1.45rem; }
  .news-article-grid { grid-template-columns:1fr; }
  .news-body { padding:34px 22px; }
  .news-card { grid-template-columns:1fr; }
  .news-card-image { min-height:220px; aspect-ratio:16/9; }
  .news-card-image::after { background:linear-gradient(180deg,transparent 62%,rgba(17,7,31,.62)); }
  .news-card-copy { padding:26px 22px 30px; }
  .news-card-copy h3 { font-size:1.45rem; }
  .single-news { padding-top:108px; }
  .glass-carousel { height:500px; margin-left:-14px; margin-right:-14px; }
  .work-glass { width:240px; margin-left:-120px; min-height:455px; }
  .work-glass-art { transform:scale(.78); transform-origin:top center; margin-bottom:-86px; }
  .glass-caption strong { font-size:1.08rem; }
  .carousel-arrow { top:174px; width:42px; height:42px; }
  .carousel-prev { left:3px; }.carousel-next { right:3px; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 290px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait-profile { max-width: 390px; margin-inline: auto; }
  .profile-facts div { grid-template-columns: 8rem 1fr; }
  .credits li { grid-template-columns: 1fr; gap: 2px; }
  .socials { grid-template-columns: 1fr; }
  .social-card { padding: 12px 14px; }
  section { padding: 74px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .ambient-stars { animation: none !important; opacity: .32; }
  .hero-statement, .hero-actions { animation: none !important; opacity: 1; transform: none; }
}
