*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:Montserrat,system-ui,sans-serif;color:#444;background:#fff;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
:root{--navy:#1f2a48;--line:#c0cdd8}

/* ---------- Home ---------- */
.home{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:24px}
.pen-a{position:absolute;left:43vw;top:13.9vw;width:63.5vw;pointer-events:none}
.pen-a svg{width:100%;height:auto;overflow:visible;display:block}
.pen-a path{fill:#C0D0DA;fill-opacity:0;stroke:#C0D0DA;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:1;
  animation:aDraw 1.5s cubic-bezier(.6,0,.3,1) .2s forwards,aFill 1s ease 1.25s forwards,aStroke .8s ease 1.7s forwards}
@keyframes aDraw{to{stroke-dashoffset:0}}
@keyframes aFill{to{fill-opacity:1}}
@keyframes aStroke{to{stroke-opacity:0}}
@media (prefers-reduced-motion:reduce){.pen-a path{animation:none;fill-opacity:1;stroke-opacity:0}}
.home-inner{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center}
.home h1{font-size:clamp(34px,4.45vw,64px);font-weight:700;color:var(--navy);letter-spacing:.01em;line-height:1.1;animation:nameFade 1.2s ease .3s both}
@keyframes nameFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.home h1{animation:none}}
.tagline{margin-top:10px;font-size:clamp(12px,1.05vw,15px);color:#3b4c78;letter-spacing:.01em}
.pill{margin-top:34px;background:var(--navy);color:#fff;font-size:12px;letter-spacing:.04em;padding:11px 26px;border-radius:100px;transition:background .2s}
.pill:hover{background:#3b4c78}
.home-social{display:flex;gap:14px;margin-top:38px}
.home-social a{width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;transition:background .2s,transform .2s ease}
.home-social a:hover{background:#3b4c78;transform:scale(1.15)}
.home-social svg{width:17px;height:17px}

/* ---------- Layout ---------- */
.layout{min-height:100vh;padding:28px 50px 80px 320px}
.sidebar{position:fixed;top:0;left:0;width:310px;height:100vh;overflow:auto;padding:64px 12px 40px 48px;background:#fff;z-index:20}
.brand{display:block;font-size:18px;font-weight:700;color:var(--navy);letter-spacing:.02em;line-height:1.3}
.menu-btn{display:none}
.sb-body{margin-top:32px;display:flex;flex-direction:column;gap:32px;align-items:flex-start}
.work{display:flex;flex-direction:column;gap:18px;border-left:1px solid var(--line);padding:2px 0 2px 16px;width:100%}
.work-label{font-size:10px;font-weight:600;color:#8c98ac;letter-spacing:.16em;margin-top:14px}
.nav-link{font-size:11px;font-weight:500;color:#444;letter-spacing:.03em;line-height:1.3;transition:color .2s}
.nav-link:hover,.nav-link.is-active{color:#111;font-weight:600}
.meet{font-size:11px;font-weight:600;color:var(--navy);letter-spacing:.1em;padding-bottom:4px;border-bottom:1px solid var(--navy)}
.sb-social{display:flex;gap:22px;padding-top:4px}
.sb-social a{width:24px;height:24px;color:#666;transition:color .2s,transform .2s ease}
.sb-social a:hover{color:var(--navy);transform:scale(1.15)}
.content{max-width:1020px;margin:0 auto}

/* ---------- Category ---------- */
.cat-title{text-transform:uppercase;font-size:13px;font-weight:500;color:#444;letter-spacing:.06em;text-align:center;padding:36px 0 40px;line-height:1.25}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 28px;padding:0 20px}
.card{display:flex;flex-direction:column}
.card-img{position:relative;aspect-ratio:295/211;overflow:hidden;background:#f3f3f3}
.card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .45s ease,transform .6s ease}
.card-img .hover{opacity:0}
.card:hover .card-img .hover{opacity:1}
.card:hover .card-img img{transform:scale(1.02)}
.card-title{margin-top:20px;font-size:13px;color:#333}
.card-year{margin-top:6px;font-size:11px;color:#aaa;letter-spacing:.04em}
.live{padding:64px 20px 0}
.live h2{font-size:11px;font-weight:600;letter-spacing:.2em;color:#7a849c;margin-bottom:22px}
.live li{list-style:none;display:flex;align-items:baseline;gap:10px;font-size:13px;margin-bottom:14px}
.live .dot{color:#999;font-size:10px}
.live a{color:#222;font-weight:500}
.live a:hover{text-decoration:underline}
.live .via{font-size:11px;color:#aaa;letter-spacing:.02em}

/* ---------- Project ---------- */
.project{display:flex;flex-direction:column;align-items:center}
.proj-head{width:100%;padding:36px 0 28px}
.proj-title{font-size:30px;font-weight:700;color:#222;text-transform:uppercase;text-align:center;line-height:1.2}
.proj-head .cat-title{padding:8px 0 0}
.sections{width:100%;display:flex;flex-direction:column;gap:8px;align-items:center}
.text{width:100%;max-width:760px;padding:56px 0 40px;text-align:center}
.text.is-caption{padding:40px 0 32px}
.sec-h{font-size:11px;font-weight:600;color:#7a849c;letter-spacing:.2em;line-height:1.3}
.sec-s{margin-top:16px;font-size:13px;font-weight:600;color:#222;letter-spacing:.12em;line-height:1.4}
.sec-h+.body{margin-top:28px}
.sec-s+.body{margin-top:28px}
.body p,.side-text p{font-size:12px;line-height:1.85;color:#666}
.body p+p,.side-text p+p{margin-top:14px}
.side-text strong{color:#333;font-weight:600}
.jrow{display:flex;gap:8px;width:100%;align-items:flex-start}
.jrow figure{flex:1 1 0%;min-width:0}
.jrow img{width:100%;height:auto;cursor:zoom-in}
.side{display:flex;gap:48px;align-items:center;width:100%;max-width:860px;padding:24px 0}
.side-img{flex:1;display:flex;justify-content:center}
.side-img img{max-width:240px;width:100%}
.side-text{flex:1}
.btn-row{display:flex;justify-content:center;padding:8px 0 24px}
.side-text .btn-row{justify-content:flex-start;padding:22px 0 0}
.btn{background:#222;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.02em;padding:14px 32px;border-radius:100px;transition:opacity .2s}
.btn:hover{opacity:.82}
.btn-outline{display:inline-block;padding:1px;border-radius:100px;background:var(--c)}
.btn-outline span{display:block;background:#fff;color:var(--c);font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;padding:8px 22px;border-radius:100px;transition:background .2s,color .2s}
.btn-outline:hover span{background:var(--c);color:#fff}
.embed{width:100%;height:620px;margin-bottom:16px}
.embed.dark{background:#191919}
.embed iframe{width:100%;height:100%;border:0}
.back-top{margin:40px 0 24px;font-size:11px;color:#9a9a9a}
.back-top:hover{color:#444}

/* ---------- About ---------- */
.about{max-width:820px;margin:0 auto;padding-top:56px}
.about-top{display:flex;gap:56px;align-items:flex-start}
.portrait{width:360px;flex:none}
.portrait img{width:100%;aspect-ratio:4/5;object-fit:cover}
.about-intro{flex:1;padding-top:24px}
.about-intro h1{font-size:56px;font-weight:700;color:#222;line-height:1;letter-spacing:-.01em}
.about-intro>p{margin-top:30px;font-size:13px;line-height:1.65;color:#666}
.facts{list-style:none;margin-top:52px}
.facts li{font-size:13px;color:#333;padding:10px 0;border-bottom:1px solid #c9ced6}
.facts span{font-weight:600;color:var(--navy);margin-right:8px}
.label{font-size:11px;font-weight:600;color:#222;letter-spacing:.14em;margin:62px 0 26px}
.ticker{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.ticker ul{display:flex;gap:48px;width:max-content;list-style:none;animation:tick 45s linear infinite;align-items:center}
.ticker li img{height:46px;width:auto;opacity:.55;filter:grayscale(1)}
.ticker:hover ul{animation-play-state:paused}
@keyframes tick{to{transform:translateX(-50%)}}
.story{display:flex;gap:96px;margin-top:62px}
.story .label{margin:4px 0 0;flex:none;width:68px}
.story>div{flex:1}
.story p{font-size:13px;line-height:1.7;color:#666}
.story p+p{margin-top:18px}
.underline-link{display:inline-block;margin-top:24px;font-size:11px;font-weight:600;color:#222;letter-spacing:.1em;padding-bottom:6px;border-bottom:1px solid #222}
.recs{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.rec{border:1px solid #9fb3c3;border-radius:8px;padding:24px 22px 22px}
.rec-head{display:flex;gap:12px;align-items:flex-start}
.rec-head img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.rec-head b{display:block;font-size:13px;color:#222}
.rec-head span{display:block;font-size:11px;color:#666;margin-top:4px}
.rec-head small{display:block;font-size:10px;color:#aaa;margin-top:3px}
.rec p{margin-top:22px;font-size:11.5px;line-height:1.75;color:#666;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.more{display:inline-block;margin-top:16px;font-size:10px;font-weight:600;color:#222;letter-spacing:.12em}
.tools{display:flex;flex-wrap:wrap;gap:8px}
.tool{width:48px;height:48px;border-radius:10px;object-fit:cover;transition:transform .2s ease}
.tool:hover{transform:scale(1.12)}
.tool-text{display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:500}
.contact{margin:96px 0 40px;background:var(--navy);color:#fff;padding:30px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.contact span{font-size:10px;letter-spacing:.14em;opacity:.75}
.contact p{margin-top:8px;font-size:19px}
.contact a{font-size:12px;letter-spacing:.1em;padding-bottom:6px;border-bottom:1px solid #fff;white-space:nowrap}
.nf{text-align:center}

/* ---------- Lightbox ---------- */
.lightbox{position:fixed;inset:0;z-index:100;background:rgba(18,22,34,.94);display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .3s}
.lightbox.on{opacity:1;pointer-events:auto}
.lightbox img{max-width:88vw;max-height:84vh;object-fit:contain;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.lightbox button{position:absolute;background:none;border:0;color:#fff;font-size:38px;line-height:1;cursor:pointer;opacity:.8;width:48px;height:48px;font-family:inherit}
.lightbox button:hover{opacity:1}
.lb-x{top:14px;right:14px}.lb-p{left:8px;top:50%;margin-top:-24px}.lb-n{right:8px;top:50%;margin-top:-24px}
.lb-c{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:rgba(255,255,255,.75);font-size:11px;letter-spacing:.14em}

/* ---------- Responsive ---------- */
@media (max-width:1199.98px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .about-top{gap:36px}.portrait{width:300px}.about-intro h1{font-size:44px}
}
@media (max-width:809.98px){
  .pen-a{left:-8vw;top:auto;bottom:4vh;width:118vw;opacity:.9}
  .tagline{display:flex;flex-direction:column}.tagline .sep{display:none}
  .layout{padding:84px 20px 60px}
  .sidebar{height:auto;width:100%;padding:20px;border-bottom:1px solid #eee}
  .sb-top{display:flex;justify-content:space-between;align-items:center}
  .menu-btn{display:flex;flex-direction:column;gap:5px;background:none;border:0;padding:6px;cursor:pointer}
  .menu-btn span{width:22px;height:1.5px;background:var(--navy)}
  .sb-body{display:none;margin-top:24px;padding-bottom:8px}
  .sidebar.open .sb-body{display:flex}
  .grid{grid-template-columns:1fr;padding:0}
  .live{padding:48px 0 0}
  .proj-title{font-size:24px}
  .text{padding:40px 4px 28px}
  .jrow{flex-direction:column}.jrow figure{flex:none !important;width:100%}
  .side{flex-direction:column;gap:24px}
  .embed{height:480px}
  .about{padding-top:16px}
  .about-top{flex-direction:column}.portrait{width:100%}
  .story{flex-direction:column;gap:20px}
  .recs{grid-template-columns:1fr}
  .contact{flex-direction:column;align-items:flex-start;padding:28px 24px}
}
