:root {
  color-scheme:dark; --bg:#0e0e0d; --surface:#181816; --ink:#f2eee7; --muted:#aca79e;
  --line:#383632; --accent:#ff772e; --frame:1280px;
  --mono:"SFMono-Regular",Menlo,Consolas,monospace;
  font-family:Inter,"Helvetica Neue","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink)}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
img,video{max-width:100%;display:block}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.frame{max-width:var(--frame);width:calc(100% - 104px);margin-inline:auto}
.header{height:76px;display:grid;grid-template-columns:1fr auto auto;gap:30px;align-items:center;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;width:clamp(72px,7vw,86px);min-height:44px}
.brand-mark{width:100%;height:auto;filter:invert(1);opacity:.94}
#top .brand{flex-direction:column;justify-content:center;gap:3px}
.brand-initials{font:600 11px/1.1 ui-monospace,monospace;letter-spacing:.24em;text-indent:.24em}
.detail-bar .brand-mark{width:74px}
.header nav{display:flex;justify-content:center;gap:36px;white-space:nowrap;font-size:15px}
.header nav a:hover,.footer a:hover{text-decoration:underline;text-underline-offset:5px}
.manage{justify-self:end;color:var(--muted);font-size:14px}
.manage:hover{color:var(--ink)}
.header a.manage{border:1px solid var(--accent);border-radius:99px;padding:8px 15px;color:var(--accent)}
.hero {
  display:grid; grid-template-columns:1fr 1.03fr; align-items:center;
  position:relative; min-height:clamp(510px,68svh,760px);
  padding-block:56px 76px;
}
.hero-copy {position:relative;z-index:1;min-width:0}
.eyebrow {margin:0;font:500 12px/1.45 var(--mono);color:var(--muted);letter-spacing:.075em}
.hero .eyebrow {display:flex;align-items:center;gap:10px}
.hero .eyebrow span {width:7px;height:7px;border-radius:50%;background:var(--accent)}
h1,h2,p {overflow-wrap:break-word}
h1 {font-size:clamp(64px,7.6vw,114px);font-weight:550;letter-spacing:-.065em;line-height:1.02;margin:23px 0 20px}
.hero h1 span {display:block;margin-top:.1em;font:italic 450 .70em/1.05 "Helvetica Neue",Arial,sans-serif;letter-spacing:-.06em;color:#ece7df}
.hero-role {display:flex;align-items:center;gap:12px;font-size:clamp(16px,1.7vw,23px);font-weight:500;margin:0 0 8px}
.hero-role i {width:16px;height:1px;background:var(--accent)}
.hero-note {color:var(--muted);line-height:1.8;max-width:32em;font-size:15px;margin:0 0 25px}
.solid {display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:44px;padding:10px 20px;border:0;border-radius:24px;background:var(--accent);font-weight:650;color:#17100d}
.solid:hover {background:#ff9860}
.solid:disabled {opacity:.6;cursor:wait}
.portrait-stage {margin:0;min-width:0;display:grid;place-items:center}
.hero-portrait {width:min(100%,640px);height:auto;border-radius:12px}
.hero-credit {position:absolute;bottom:26px;left:0}
.school-mark {width:118px;height:auto;filter:brightness(0) invert(.84)}
.works {padding:46px 0 82px;border-top:1px solid var(--line);scroll-margin-top:15px}
.section-top {display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:27px}
h2 {font-size:clamp(32px,4vw,57px);font-weight:520;line-height:1.17;letter-spacing:-.055em;margin:9px 0 0}
.works .eyebrow::before,.about .eyebrow::before {content:"// ";color:var(--accent)}
.filters {display:flex;flex-wrap:wrap;gap:5px}
.filters button,.detail-bar button,.subtle {
  min-height:36px;border:1px solid var(--line);border-radius:22px;
  padding:6px 12px;color:var(--muted);background:transparent;font-size:14px
}
.filters button:hover,.detail-bar button:hover,.subtle:hover {color:var(--ink);border-color:#868078}
.filters [aria-pressed="true"] {border-color:var(--accent);color:var(--accent);background:#221911}
.grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 20px}
.card {display:block;min-width:0;border-bottom:1px solid var(--line)}
.card-image {display:block;position:relative;overflow:hidden;aspect-ratio:16/9;background:var(--surface)}
.card-image img {width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.card:hover .card-image img {transform:scale(1.025)}
.card:hover .card-title,.card:focus-visible .card-title {color:var(--accent)}
.card-line {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;padding:15px 0}
.card-title {font-size:18px;font-weight:600;transition:color .16s}
.tag {font:13px/1.45 var(--mono);color:var(--muted)}
.play {position:absolute;bottom:12px;right:12px;width:36px;height:36px;border-radius:50%;background:#151412e8;color:white;display:grid;place-items:center;font-size:13px}
.about {background:var(--surface);border-block:1px solid var(--line);padding:70px 0}
.about-inner {display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:40px}
.about-portrait {margin-top:24px;width:104px;height:auto;border-radius:12px}
.about-name {font-weight:650;margin:14px 0}
.about-name span {font:12px var(--mono);color:var(--muted);margin-left:9px}
.about-bio p {margin:0 0 1em;color:#c1bbb2;line-height:1.9}
.about-bio p:first-child {color:var(--ink);font-size:1.12rem}
.about-bio p:last-child {margin-bottom:0}
.footer {display:flex;justify-content:space-between;padding:24px 0;color:var(--muted);font-size:14px}
.card-image,#detail,.detail-media img,.detail-media video,.detail-extra {border-radius:clamp(8px,1vw,12px)}
dialog {width:min(970px,calc(100% - 28px));max-height:92dvh;padding:0;border:1px solid var(--line);background:var(--bg);color:var(--ink);overscroll-behavior:contain}
dialog::backdrop {background:#050503c9}
body:has(dialog[open]) {overflow:hidden}
.detail-bar {position:sticky;top:0;z-index:1;background:var(--bg);border-bottom:1px solid var(--line);height:60px;padding:0 24px;display:flex;justify-content:space-between;align-items:center}
#detail-body {padding:32px}
#detail-body h2 {font-size:clamp(30px,4.5vw,55px)}
#detail-body p {line-height:1.7;color:var(--muted)}
#detail-body .eyebrow {color:var(--accent)}
.detail-media {display:grid;gap:18px;margin-top:24px}
.detail-media img,.detail-media video {width:100%;max-height:75vh;object-fit:contain;background:#191918}
.detail-media.ui-boards img {height:auto;max-height:none}
summary:focus-visible {outline:3px solid var(--accent);outline-offset:4px}
.detail-video{margin:0}
.detail-video video.full-poster{aspect-ratio:1;object-fit:cover;object-position:50% 55%}
.detail-video figcaption{margin-bottom:8px;font-weight:650}
.detail-extra{border:1px solid var(--line);padding:12px 14px}
.detail-extra summary{cursor:pointer;font-weight:650}
.detail-extra-images{display:grid;gap:16px;margin-top:14px}
.detail-extra .long-images img{width:min(100%,760px);height:auto;max-height:none;margin-inline:auto;background:transparent}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;top:6px;left:6px;z-index:4;background:var(--surface);padding:10px}
.admin{padding:44px 0 80px;max-width:1000px}
.admin-layout{margin-top:28px;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.panel{border:1px solid var(--line);padding:22px;background:var(--surface);border-radius:12px}
.login-panel{max-width:380px;margin-top:28px}
.login-panel label{margin-bottom:6px}
.login-panel button{margin-top:16px}
.login-panel .notice:empty{display:none}
.panel h2{font-size:26px;margin:0 0 16px}
label{display:grid;gap:6px;margin:0 0 15px;font-weight:600}
label small,.help{font-size:14px;line-height:1.5;font-weight:400;color:var(--muted)}
input,textarea,select{width:100%;padding:8px;background:var(--bg);border-radius:6px;border:1px solid #67635d;min-height:42px}
textarea{resize:vertical}
.form-actions{display:flex;flex-wrap:wrap;gap:8px}
.notice{min-height:1.5em;line-height:1.5;margin:12px 0 0}
.entry{padding:12px 0;border-top:1px solid var(--line);display:grid;gap:8px}
.entry strong{display:block}
.entry-actions{display:flex;flex-wrap:wrap;gap:6px}
.entry-actions button{font-size:14px}
@media(max-width:1040px){
  .frame{width:calc(100% - 64px)}
  .section-top{align-items:flex-start;flex-direction:column;gap:18px}
  .grid{gap:20px 15px}
}
@media(max-width:700px){
  .frame{width:calc(100% - 36px)}
  .header{height:64px;gap:16px}.header nav{gap:14px;font-size:14px}
  .header a.manage{font-size:13px;padding:7px 11px}
  .hero{min-height:0;grid-template-columns:1fr;gap:0;padding:42px 0 20px}
  .hero h1{font-size:clamp(58px,11vw,76px);margin:19px 0}
  .hero-note{max-width:25em;margin-bottom:20px}
  .portrait-stage{width:min(100%,410px);justify-self:center;margin-block:24px 16px}
  .hero-credit{position:static}
  .works{padding:30px 0 48px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .card-title{font-size:16px}
  .about{padding:42px 0}.about-inner,.admin-layout{grid-template-columns:1fr;gap:20px}
  #detail-body{padding:22px 16px}
}
@media(max-width:480px){
  .grid{grid-template-columns:1fr}
  .filters button{min-height:38px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.admin h1{font-size:clamp(43px,7vw,78px);letter-spacing:-.055em;margin:9px 0 0}
fieldset{padding:0;border:0;margin:0;min-width:0}
fieldset:disabled{opacity:.64}
[hidden]{display:none!important}
