/* 옛 Wix 사이트(2026-08 아카이브)의 디자인 값을 그대로 옮김: 색·글꼴·크기·배치. 내용은 glan-site 최신 자료. */
:root { --blue: #2d50aa; --ink: #021722; --bar: #2b2b2b; --menu: #d4d4d4; --grid: 980px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Raleway, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--grid), 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }

/* 머리 막대: Wix 진회색 막대, 오른쪽 메뉴 Montserrat 15px, 지금 쪽 흰색·나머지 회색 */
.bar { position: sticky; top: 0; z-index: 50; background: var(--bar); height: 77px; }
.bar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; width: min(1265px, 100% - 32px); }
.logo { display: block; width: 42px; height: 42px; }
.logo img { width: 100%; height: 100%; filter: invert(1) grayscale(1) brightness(2); }
.menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font: 400 15px Montserrat, sans-serif; }
.menu a { display: block; padding: 6px 12px; color: var(--menu); text-decoration: none; }
.menu a[aria-current="page"], .menu a:hover { color: #fff; }
.menu .lang a { font-size: 12px; border: 1px solid #555; border-radius: 2px; padding: 4px 8px; margin-left: 8px; }

/* 첫 화면: 왼쪽 큰 글자 3줄(Raleway 80px 파랑) + 오른쪽 그림, 아래 MORE > */
/* Wix 잰 값(1280 폭): 그림 위 210px·높이 860px, 글자 위 280px, 첫 화면 끝 줄까지 1197px */
.hero { position: relative; min-height: 1197px; padding: 280px 0 100px; overflow: hidden; }
.hero .art { position: absolute; left: 30%; top: 210px; width: 70%; height: 860px; object-fit: cover; }
.hero .txt { position: relative; z-index: 1; }
.hero h1 { margin: 0; font: 300 80px/0.92 Raleway, sans-serif; color: var(--blue); letter-spacing: 0; }
.hero .sub { margin: 60px 0 0; font: 400 37px/1.1 Questrial, sans-serif; letter-spacing: -0.01em; color: var(--blue); max-width: 16em; }
.hero .sub span { background: rgba(255,255,255,.85); }
.more { display: inline-block; margin-top: 70px; font: 600 18px Raleway, sans-serif; letter-spacing: .05em; color: var(--blue); text-decoration: none; }
.more::after { content: ""; display: block; width: 36px; border-top: 1px solid #555; margin-top: 30px; }
.hr { border: 0; border-top: 1px solid #ddd; margin: 0; }

/* CLIENT: 가운데 제목 Raleway 600 50px + 부제 25px, 아래 이름 띠(좌우 화살표 모양) */
.sec { padding: 160px 0 220px; text-align: center; }
.sec h2 { margin: 0; font: 600 50px Raleway, sans-serif; letter-spacing: .05em; color: var(--blue); text-transform: uppercase; }
.sec .lead { margin: 18px 0 0; font: 400 25px Raleway, sans-serif; color: var(--blue); }
.clients { display: flex; align-items: center; gap: 18px; margin-top: 230px; }
.clients::before, .clients::after { content: "‹"; font: 300 48px Raleway, sans-serif; color: #ccc; }
.clients::after { content: "›"; }
.clients ul { flex: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 44px; list-style: none; margin: 0; padding: 0; }
.clients li { font: 600 22px Montserrat, Raleway, sans-serif; color: #333; letter-spacing: .02em; }

/* CONTACT: 검정 띠, 흰 글자 — 제목 Poppins 200 50px, 회사명 Work Sans 200 47px, 칸 제목 Raleway 600 20px, 내용 Roboto 100 16px */
.contact { background: #000; color: #fff; padding: 150px 0 170px; }
.contact h2 { margin: 0 0 180px; font: 200 50px Poppins, sans-serif; letter-spacing: .02em; }
.contact .cols { display: grid; grid-template-columns: 360px 340px 1fr; gap: 0; }
.contact .co { font: 200 47px/0.85 "Work Sans", sans-serif; letter-spacing: .02em; }
.contact h3 { margin: 0 0 30px; font: 600 20px Raleway, sans-serif; letter-spacing: .03em; }
.contact p { margin: 0; font: 100 16px/1.35 Roboto, "Malgun Gothic", sans-serif; }
.contact a { text-decoration: none; }
.foot { text-align: center; padding: 34px 0; font: 300 13px Roboto, sans-serif; color: var(--ink); }

/* WORK: 가운데 제목, 탭(지금 탭 빨강), 2칸 정사각 그림 (칸 사이 4px) */
.work-head { text-align: center; padding: 86px 0 150px; }
.work-head h1 { margin: 0; font: 400 34px Raleway, sans-serif; letter-spacing: .06em; }
.tabs { display: flex; justify-content: center; gap: 140px; margin-top: 70px; list-style: none; padding: 0; font: 600 11px Raleway, sans-serif; letter-spacing: .12em; }
.tabs a { text-decoration: none; color: #111; }
.tabs a[aria-current="page"] { color: #ef4b4b; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: min(1265px, 100%); margin: 0 auto 4px; }
.grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #111; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.grid a:hover img { transform: scale(1.03); }
.grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; font: 600 16px Raleway, sans-serif; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transition: opacity .3s; }
.grid a:hover span, .grid a:focus span { opacity: 1; }

/* 작품 쪽: 검정 띠 위 제목(30px)·부제(13px) + 영상, 아래 "Style Frame" 40px + 그림 */
.detail { background: #000; color: #fff; padding: 140px 0 120px; }
.detail h1 { margin: 0; font: 300 30px Raleway, sans-serif; letter-spacing: -0.02em; }
.detail .cat { margin: 18px 0 50px; font: 600 13px Raleway, sans-serif; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frames { text-align: center; padding: 240px 0 0; }
.frames h2 { margin: 0 0 160px; font: 300 40px Raleway, sans-serif; letter-spacing: -0.03em; color: #000; }
.frames img { width: 100%; }
.pager { display: flex; justify-content: space-between; padding: 40px 0 90px; font: 600 14px Raleway, sans-serif; letter-spacing: .05em; }
.pager a { text-decoration: none; color: var(--ink); }

/* ABOUT: 넓은 그림, 가운데 4단어(Raleway 400 52px), 소개 글(작게), 숫자 줄, HISTORY */
.about-art { width: 100%; height: 340px; object-fit: cover; }
.words { text-align: center; padding: 90px 0 40px; font: 400 52px/1.05 Raleway, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.intro { text-align: center; font: 400 13px/1.9 "Malgun Gothic", Raleway, sans-serif; color: #333; max-width: 560px; margin: 0 auto; padding-bottom: 70px; }
.facts { display: flex; justify-content: center; align-items: baseline; gap: 26px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 22px 0; }
.facts b { font: 300 52px Raleway, sans-serif; }
.facts span { font: 400 13px Raleway, "Malgun Gothic", sans-serif; color: #777; letter-spacing: .04em; }
.history { text-align: center; padding: 110px 0 120px; }
.history h2 { margin: 0 0 70px; font: 300 26px Raleway, sans-serif; }
.history ul { display: inline-block; text-align: left; list-style: none; margin: 0; padding: 0; font: 400 13px/2 "Malgun Gothic", Raleway, sans-serif; }
.history li span { color: #777; margin-right: 14px; }

/* ILLUST·ADVANCE: Wix 처럼 3칸 정사각(칸 사이 8px) */
.grid.g3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid.g3 a { aspect-ratio: 400 / 460; }  /* Wix 칸 400×460 */
.grid.g3 a { background: #f2f2f2; }

/* 크게 보기(Wix 갤러리 확대): #fN 이 열리면 검정 막 위 그림, × · ‹ › */
.lb { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); align-items: center; justify-content: center; padding: 56px 56px; }
.lb:target { display: flex; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb a { position: absolute; color: #fff; text-decoration: none; font: 300 44px/1 Raleway, sans-serif; padding: 8px 14px; }
.lb-x { top: 6px; right: 8px; } .lb-p { left: 4px; top: 50%; transform: translateY(-50%); } .lb-n { right: 4px; top: 50%; transform: translateY(-50%); }
.sf { display: block; cursor: zoom-in; }

/* 폰 메뉴: 넓은 화면은 숨김, 폰 폭에서 ☰ → #menu 전체 화면 */
.ham, #menu .x { display: none; }

@media (max-width: 760px) {
  .ham { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; }
  .ham span { display: block; height: 2px; background: #fff; }
  #menu { display: none; }
  #menu:target { display: flex; position: fixed; inset: 0; z-index: 90; background: var(--bar); align-items: center; justify-content: center; }
  #menu:target .x { display: block; position: absolute; top: 14px; right: 18px; color: #fff; font: 300 44px/1 Raleway, sans-serif; text-decoration: none; }
  #menu .menu { flex-direction: column; align-items: center; gap: 18px; font-size: 22px; }
  .menu .lang a { margin: 12px 0 0; font-size: 14px; }
  .grid.g3 { grid-template-columns: 1fr 1fr; gap: 4px; } .lb { padding: 56px 8px; }
  .menu { font-size: 13px; } .menu a { padding: 6px 7px; }
  .hero { padding: 60px 0; min-height: 0; } .sec { padding: 90px 0; } .clients { margin-top: 60px; } .hero .art { position: static; width: 100%; height: 260px; margin-top: 30px; }
  .hero h1 { font-size: 52px; } .hero .sub { font-size: 24px; margin-top: 30px; }
  .sec h2, .contact h2 { font-size: 34px; } .sec .lead { font-size: 18px; }
  .contact .cols { grid-template-columns: 1fr; gap: 40px; } .contact h2 { margin-bottom: 60px; }
  .tabs { gap: 40px; } .grid { grid-template-columns: 1fr; }
  .words { font-size: 36px; } .facts b { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .grid img { transition: none; } }
