/* G.LA.D 지엘에이디자인 — 사이트 스타일 */
:root{
  --ink:#141414; --muted:#666; --line:#E3E3E0; --paper:#fff; --stone:#F3F3F0; --dark:#141414;
  --pad:48px; --max:1344px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans KR',sans-serif;font-weight:300;line-height:1.7;-webkit-font-smoothing:antialiased;word-break:keep-all}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
a:hover{opacity:.65}
button{font-family:inherit;cursor:pointer}
h1,h2,h3,p{margin:0}
.wrap{max-width:var(--max);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.muted{color:var(--muted);font-size:14px}
.label,.label-h{font-size:13px;font-weight:500;letter-spacing:.12em}

/* header */
.site-header{border-bottom:1px solid var(--line);background:var(--paper)}
.site-header.on-image{position:relative;z-index:3;border:0;background:none;color:#fff}
.header-row{display:flex;flex-wrap:wrap;gap:16px 40px;justify-content:space-between;align-items:center;padding-top:28px;padding-bottom:28px}
.logo{display:flex;align-items:baseline;gap:14px}
.logo-en{font-size:24px;font-weight:500;letter-spacing:.14em}
.logo-ko{font-size:15px;font-weight:400;letter-spacing:.06em;opacity:.85}
.nav{display:flex;flex-wrap:wrap;gap:32px;font-size:14px;font-weight:400;letter-spacing:.1em}
.nav a{padding:6px 0}
.nav a[aria-current]{border-bottom:1px solid currentColor}

/* hero */
.hero{position:relative;height:100vh;min-height:620px;max-height:1000px;overflow:hidden;color:#fff;background:#2F3530}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1);transition:opacity 1.8s ease,transform 7s ease-out}
.hero-slide.is-on{opacity:1;transform:scale(1.06)}
.hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(10,14,10,.35) 0,rgba(10,14,10,.12) 22%,rgba(10,14,10,.12) 50%,rgba(10,14,10,.62) 100%)}
.hero-title,.hero-cap,.site-header.on-image{text-shadow:0 1px 18px rgba(0,0,0,.35)}
.hero-bottom{position:absolute;left:0;right:0;bottom:56px;z-index:2;display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:flex-end}
.hero-title{font-size:clamp(30px,4vw,52px);line-height:1.35;font-weight:200;max-width:820px}
.hero-meta{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.hero-cap{font-size:13px;letter-spacing:.04em;color:#F0F1EE}
.hero-bars{display:flex;gap:6px}
.hero-bar{width:36px;height:24px;padding:0;border:0;background:none;display:flex;align-items:center}
.hero-bar span{display:block;width:100%;height:2px;background:#fff;opacity:.4;transition:opacity .4s}
.hero-bar.is-on span{opacity:1}

/* intro */
.intro{display:flex;flex-wrap:wrap;gap:48px;padding-top:160px;padding-bottom:140px}
.intro .label{flex:1 1 200px}
.intro-body{flex:4 1 600px;min-width:0;display:flex;flex-direction:column;gap:32px}
.intro-lead{font-size:clamp(22px,2.4vw,34px);line-height:1.6;font-weight:200}
.intro-sub{font-size:17px;line-height:1.9;color:#4A4A4A;max-width:760px}

/* selected work */
.work{display:flex;flex-direction:column;gap:104px;padding-bottom:140px}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid var(--ink);padding-bottom:16px;font-size:14px}
.tile{display:flex;flex-direction:column;gap:20px}
.tile-img{overflow:hidden;background:#EEEEEA}
.tile-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.tile:hover{opacity:1}
.tile:hover .tile-img img{transform:scale(1.03)}
.tile-cap{display:flex;flex-wrap:wrap;gap:8px 32px;justify-content:space-between}
.t-name{font-size:20px;font-weight:400}
.t-where{font-size:14px;color:var(--muted)}
.tile.full .tile-img{height:clamp(320px,50vw,720px)}
.pair{display:flex;flex-wrap:wrap;gap:64px 40px;align-items:flex-start}
.tile.big{flex:3 1 480px;min-width:0}
.tile.big .tile-img{height:clamp(300px,42vw,600px)}
.tile.small{flex:2 1 360px;min-width:0}
.tile.small .tile-img{height:clamp(260px,32vw,460px)}
.tile.offset{margin-top:160px}
.tile.offset-s{margin-top:120px}

/* studio */
.studio{background:var(--stone)}
.studio-inner{padding-top:140px;padding-bottom:140px;display:flex;flex-direction:column;gap:80px}
.two{display:flex;flex-wrap:wrap;gap:48px}
.two .label-h{flex:1 1 200px}
.studio-lead{flex:4 1 600px;min-width:0;font-size:clamp(20px,2vw,28px);line-height:1.6;font-weight:200}
.principles{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:48px;border-top:1px solid var(--ink);padding-top:40px}
.principles div{display:flex;flex-direction:column;gap:12px}
.principles h3{font-size:21px;font-weight:400}
.principles p{font-size:15px;line-height:1.9;color:#3A3A3A}
.p-k{font-size:12px;letter-spacing:.12em;color:var(--muted)}
.facts-row{display:flex;flex-wrap:wrap;gap:40px 80px;font-size:15px;border-top:1px solid #CFCFCA;padding-top:40px}
.facts-row div{display:flex;flex-direction:column;gap:6px}

/* lists */
.index-list{padding-top:140px;padding-bottom:140px}
.rows{display:flex;flex-direction:column;font-size:15px}
.row{display:flex;flex-wrap:wrap;gap:4px 32px;padding:16px 0;border-bottom:1px solid var(--line)}
.c-year{width:64px;color:var(--muted)}
.c-name{flex:3 1 320px}
.c-client{flex:2 1 220px;color:var(--muted)}
.more{display:inline-block;margin-top:32px;font-size:14px;font-weight:400}

/* projects list page */
.page{padding-top:96px;padding-bottom:120px}
.page-head{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:flex-end;margin-bottom:88px}
.page-title{font-size:48px;font-weight:200;line-height:1.2}
.year-group{display:flex;flex-wrap:wrap;gap:24px 48px;border-top:1px solid var(--ink);padding-top:28px;margin-bottom:88px}
.year{flex:1 1 160px;font-size:28px;font-weight:200;line-height:1.2}
.cards{flex:6 1 720px;min-width:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:40px 32px}
.card{display:flex;flex-direction:column;gap:4px}
.card-img{height:260px;overflow:hidden;background:#EEEEEA;margin-bottom:10px}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.card:hover{opacity:1}
.card:hover .card-img img{transform:scale(1.03)}
.card .t-name{font-size:17px;line-height:1.5}
.card .t-where{font-size:13px}
.others{flex-direction:column}
.others .c-year{width:120px}

/* project detail */
.detail{padding-top:48px}
.detail-top{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center;margin-bottom:40px}
.back{font-size:14px;padding:12px 0}
.detail-title{font-size:clamp(28px,3vw,40px);font-weight:200;line-height:1.35;margin-bottom:8px}
.gallery{margin-top:40px}
.frame{position:relative;width:100%;aspect-ratio:16/9;max-height:78vh;background:#1E201E;overflow:hidden}
.g-bg{position:absolute;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);max-width:none;object-fit:cover;filter:blur(28px) brightness(.55)}
.g-main{position:absolute;inset:0;width:100%;height:100%;transition:opacity .35s ease}
.g-main.fit-cover{object-fit:cover}
.g-main.fit-contain{object-fit:contain}
.g-main.is-fading{opacity:0}
.g-nav{position:absolute;top:50%;margin-top:-28px;width:56px;height:56px;border:0;border-radius:28px;background:rgba(255,255,255,.88);color:var(--ink);display:flex;align-items:center;justify-content:center;z-index:2}
.g-nav.prev{left:16px}.g-nav.next{right:16px}
.g-foot{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center;margin-top:16px}
.thumbs{display:flex;flex-wrap:wrap;gap:8px}
.thumb{width:88px;height:58px;padding:0;border:0;background:#EEEEEA;opacity:.55;outline-offset:2px}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb.is-on{opacity:1;outline:1px solid var(--ink)}
.g-count{font-size:14px;letter-spacing:.08em;color:var(--muted)}
.detail-body{display:flex;flex-wrap:wrap;gap:48px 80px;margin-top:40px;padding-top:32px;border-top:1px solid var(--ink)}
.facts{flex:1 1 320px;min-width:0}
.facts .label-h,.story .label-h{margin-bottom:12px}
.fact{display:flex;gap:24px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}
.fact .k{width:80px;flex-shrink:0;color:var(--muted)}
.story{flex:2 1 480px;min-width:0}
.story p{font-size:18px;line-height:2}
.pn{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-top:56px;padding-top:24px;border-top:1px solid var(--line);font-size:15px}
.pn a{padding:12px 0}

/* footer + contact */
.site-footer{background:var(--dark);color:#fff}
.footer-inner{padding-top:56px;padding-bottom:40px;display:flex;flex-direction:column;gap:56px}
.footer-inner.full{padding-top:120px;gap:80px}
.contact-lead{font-size:clamp(26px,3vw,40px);line-height:1.4;font-weight:200}
.contact-lead a{border-bottom:1px solid #fff}
.contact-map{display:flex;flex-wrap:wrap;gap:40px 56px}
.map-box{flex:3 1 520px;min-width:0;height:440px;background:#232623;border:1px solid #3A3A3A}
.map-box iframe{width:100%;height:100%;border:0;filter:grayscale(.35)}
.directions{flex:2 1 300px;min-width:0;display:flex;flex-direction:column;gap:24px}
.directions .label-h{color:#fff}
.kv{display:flex;flex-direction:column;gap:4px;font-size:15px;color:#DADADA}
.kv .k{font-size:12px;letter-spacing:.12em;color:#8F8F8F}
.kv .sub{font-size:13px;color:#9A9A9A}
.map-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:auto}
.btn-line{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border:1px solid #fff;font-size:14px}
.footer-bar{display:flex;flex-wrap:wrap;gap:16px 40px;justify-content:space-between;align-items:baseline;border-top:1px solid #3A3A3A;padding-top:24px}
.footer-bar .logo-en{font-size:20px}
.footer-bar .logo-ko{font-size:14px}
.biz{font-size:12px;color:#8F8F8F;line-height:1.8}

/* tablet / phone */
@media (max-width:900px){
  :root{--pad:24px}
  .intro{padding-top:96px;padding-bottom:88px}
  .work{gap:72px;padding-bottom:96px}
  .tile.offset,.tile.offset-s{margin-top:0}
  .studio-inner,.index-list{padding-top:96px;padding-bottom:96px}
  .page{padding-top:56px}
  .page-title{font-size:36px}
  .footer-inner.full{padding-top:80px}
}
@media (max-width:600px){
  .header-row{padding-top:20px;padding-bottom:20px}
  .logo-en{font-size:20px}.logo-ko{font-size:13px}
  .nav{gap:20px;font-size:13px}
  .hero{height:88vh;min-height:520px}
  .hero-bottom{bottom:32px}
  .hero-meta{align-items:flex-start}
  .frame{aspect-ratio:4/3}
  .g-nav{width:44px;height:44px;margin-top:-22px}
  .thumb{width:64px;height:44px}
  .map-box{height:320px}
  .c-year{width:48px}
}
@media (prefers-reduced-motion:reduce){
  .hero-slide,.tile-img img,.card-img img,.g-main{transition:none}
  .hero-slide.is-on{transform:none}
}
