/* unias.kr — AE(portfolio_webfont.aep) 1920×1080 좌표를 그대로 옮긴 레이아웃.
   모든 수치는 AE 컴프 픽셀. 화면 폭에 맞춰 zoom(--k)으로 키우고 줄인다. */
@font-face { font-family: 'NSR'; font-weight: 400; font-display: swap; src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareRound/NanumSquareRoundR.woff2) format('woff2'), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareRound/NanumSquareRoundR.woff) format('woff'); }
/* 스티커 제목: 영문은 Bagel Fat One(AE와 같음), 한글은 롯데리아 촵땡겨요 (Bagel 한글은 ㄸ이 ㄷ처럼 보이고 빠진 글자가 있음) */
@font-face { font-family: 'Bagel Latin'; font-display: swap; src: url(https://fonts.gstatic.com/s/bagelfatone/v2/hYkPPucsQOr5dy02WmQr5Zkd4Blsvw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lotteria Chab'; font-display: swap; src: url(https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/LOTTERIACHAB.woff2) format('woff2'); }
@font-face { font-family: 'NSR'; font-weight: 700; font-display: swap; src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareRound/NanumSquareRoundB.woff2) format('woff2'), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareRound/NanumSquareRoundB.woff) format('woff'); }

:root {
  --k: 1;
  --text: #38302e;      /* AE 0.22 0.19 0.18 */
  --ring: #332e2b;      /* AE 0.20 0.18 0.17 */
  --pill-fg: #fff7ed;   /* AE 1 0.97 0.93 */
  --label: #998f87;     /* AE 0.60 0.56 0.53 */
  --body: #6b615c;      /* AE 0.42 0.38 0.36 */
  --chip: #fffcf7;
  --visual: #e0ded9;
  --rule: #ccc7c2;
  --paper: #f7f3ee;
  --nsr: 'NSR', 'NanumSquareRound', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --bagel: 'Bagel Latin', 'Lotteria Chab', 'Bagel Fat One', 'NSR', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--nsr); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--text); color: var(--pill-fg); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 4px; }

/* ---------- 무대 ---------- */
.z { position: relative; width: 1920px; zoom: var(--k); }
.stage { position: relative; width: 1920px; height: 1080px; margin-bottom: 70px; } /* 1080+70 = 115×10: 다음 섹션도 모눈 칸에서 시작 */
.sheet { position: relative; width: 1920px; }

/* 이음새 없는 배경: 화면에 고정된 AE 무대 한 장 (BG · Depth Inner · 모눈 · Mid · Outer · Overlap · Circle 순서 그대로)
   높이는 화면 높이(--vh, AE 단위)에 맞춰 늘어나고, 모눈은 위아래 80 여백을 지킨다 */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--paper); }
.bd { position: absolute; left: 0; top: 0; width: 1920px; height: calc(var(--vh, 1080) * 1px); zoom: var(--k); background: url(/assets/ae/bg.webp) 0 0 / 100% 100% no-repeat; }
.grid {
  position: absolute; left: 80px; top: 80px; width: 1761px; height: calc(100% - 159px); pointer-events: none;
  background-image: linear-gradient(to right, rgba(170, 170, 170, .45) 1px, transparent 1px), linear-gradient(to bottom, rgba(170, 170, 170, .45) 1px, transparent 1px);
  background-size: 110px 115px;
  /* 프레임은 그대로, 안쪽 선만 느리게 흐른다 (115 주기라 이음새 없음) */
  /* 프레임(테두리)은 고정, 안쪽 선은 내용과 같이 스크롤 → 글자와 선이 어긋나지 않는다 */
  background-position: 0 calc(var(--sg, 0) * -1px); border-bottom: 1px solid rgba(170, 170, 170, .45);
}
/* 스크롤 시차: --s(AE 단위 스크롤) × --sp(층 속도), 가까운 층은 --zs만큼 커진다. 마우스 시차(--mx, --my)는 따로 더한다 */
.depth {
  position: absolute; pointer-events: none; user-select: none; max-width: none; will-change: transform, opacity;
  transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px - var(--s, 0) * var(--sp, 0) * 1px), 0) scale(calc(1 + var(--p, 0) * var(--zs, 0)));
}
.depth.outer {
  left: -240px; top: -240px; width: 2400px; height: calc(100% + 480px); opacity: var(--outer-op, 1);
  background: url(/assets/ae/depth-outer-tile.webp) 0 calc(var(--s, 0) * -.45px) / 2400px 3120px repeat-y;
  transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px), 0);
}
.depth.hs { opacity: var(--hero-op, 1); }

/* ---------- 글자: 기준선(--y)에 맞춰 놓는다 ---------- */
.t { position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px - var(--b) * 1em); line-height: 1; white-space: nowrap; margin: 0; font-weight: 400; }
.r { font-family: var(--nsr); font-weight: 400; --b: .79; }
.b { font-family: var(--nsr); font-weight: 700; --b: .79; }
.bagel { font-family: var(--bagel); font-weight: 400; --b: .93; }

/* 스티커 글자: 흰 테두리(--sk-w) + 진한 테두리(--sk-d). 테두리는 JS가 text-shadow로 부풀린다 */
.sk { position: absolute; display: inline-block; isolation: isolate; color: var(--text); }
.sk::before, .sk::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; pointer-events: none; text-indent: inherit; }
.sk::after { color: #fff; text-shadow: var(--sk-w); }
.sk::before { color: var(--ring); text-shadow: var(--sk-d, none); }

/* 알약: AE 사각형(높이 h, 끝까지 둥글게) + 흰 선 5 위에 진한 선 10 */
.pill {
  position: absolute; left: calc(var(--x) * 1px); top: calc((var(--cy) - var(--h) / 2) * 1px); height: calc(var(--h) * 1px);
  display: inline-flex; align-items: flex-start; margin: 0; padding: 0 28.5px; border-radius: 999px; white-space: nowrap;
  background: var(--text); color: var(--pill-fg); font-family: var(--nsr); font-weight: 700; font-size: calc(var(--fs) * 1px);
  letter-spacing: .14em; line-height: 1;
  box-shadow: inset 0 0 0 2.5px #fff, 0 0 0 2.5px #fff, 0 0 0 5px var(--ring);
}
.pill > span { position: relative; top: calc(var(--h) / 2 * 1px + .359em - .79em); margin-right: -.14em; }
.pill.lg { box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px #fff, 0 0 0 6px var(--ring); letter-spacing: .16em; }
.pill.lg > span { margin-right: -.16em; }

/* ---------- 표지 (Portfolio Intro 02) ---------- */
.hero .title { position: absolute; left: 348px; top: 324.5px; width: 1229px; height: 290.5px; }
/* PORTFOLIO 글자별: 외곽선 9장 아래, 채움 9장 위. 호버한 글자만 가로·세로가 다른 박자로 말랑하게 커진다 */
@property --sx { syntax: '<number>'; inherits: false; initial-value: 1; }
@property --sy { syntax: '<number>'; inherits: false; initial-value: 1; }
.ltr {
  position: absolute; max-width: none; user-select: none; pointer-events: none; -webkit-user-drag: none;
  transform: scale(var(--sx), var(--sy));
  transition: --sx .95s var(--spring-a), --sy .8s var(--spring-b);
}
/* 층 순서는 AE 그대로 두고 크기만 바꾼다: 외곽선은 늘 모든 채움 아래라 스티커 테두리가 하나로 이어진 채 부푼다 */
.ltr.on { --sx: 1.14; --sy: 1.14; }
.title.gl .ltr { visibility: hidden; }
:root {
  --spring-a: linear(0, .0534, .194, .3901, .6107, .8283, 1.0209, 1.1737, 1.2787, 1.3344, 1.3448, 1.3175, 1.2629, 1.1919, 1.1149, 1.0412, .9777, .9289, .897, .8819, .882, .8942, .9149, .9404, .967, .9918, 1.0126, 1.028, 1.0375, 1.0413, 1.0401, 1.035, 1.0273, 1.0183, 1.0091, 1.0008, .9941, .9893, .9865, .9857, .9865, .9885, .9913, .9945, .9976, 1.0004, 1.0025, 1.004, 1);
  --spring-b: linear(0, .0849, .3009, .5845, .8751, 1.1235, 1.2985, 1.3871, 1.3935, 1.3343, 1.2333, 1.1159, 1.0049, .9168, .8613, .8403, .8499, .882, .9264, .9732, 1.0144, 1.0444, 1.0607, 1.0636, 1.0555, 1.04, 1.0214, 1.0033, .9885, .9788, .9746, .9755, .9802, .9871, .9946, 1.0014, 1.0065, 1.0095, 1.0102, 1.0092, 1.0068, 1.0039, 1.0009, .9985, .9968, .996, .996, .9967, 1);
}
.hero .name { font-size: 76px; letter-spacing: .04em; --x: 960.2; --y: 688.2; transform: translateX(-50%); text-indent: .04em; }
.hero .role { --cy: 738; --h: 64; --fs: 31; left: 960px; transform: translateX(-50%); padding: 0 43.5px; }

/* ---------- About (Portfolio 03 Overview) ---------- */
.about .name { font-size: 93.5px; letter-spacing: .02em; --x: 195.8; --y: 400.2; }
.about .intro { position: absolute; left: 184px; top: calc(543.7px - 6.75px - 20.935px); width: 720px; margin: 0; font-size: 26.5px; line-height: 40px; color: var(--body); white-space: pre-line; }
.about .divider { position: absolute; left: 934px; top: 256.72px; width: 2px; height: 576.56px; background: var(--rule); }
.chips { position: absolute; left: 187px; top: 739px; width: 640px; display: flex; flex-wrap: wrap; gap: 5px 16px; margin: 0; padding: 0; list-style: none; }
.chip {
  height: 46px; padding: 0 20.5px; border-radius: 23px; background: var(--chip); color: var(--text); white-space: nowrap;
  font-family: var(--nsr); font-weight: 700; font-size: 22px; letter-spacing: .02em; line-height: 46px;
  box-shadow: 0 0 0 2px var(--ring); transition: transform .35s var(--pop), background .2s, color .2s;
}
.chip > span { position: relative; top: 1.7px; margin-right: -.02em; }
.chip:hover { transform: translateY(-3px) rotate(-2deg); background: var(--text); color: var(--pill-fg); }
.career .yr { font-size: 22px; letter-spacing: .02em; color: var(--label); }
.career .ttl { font-size: 29px; color: var(--text); }
.career .ds { font-size: 22px; color: var(--body); }
.info .lab { font-size: 22px; letter-spacing: .02em; color: var(--label); }
.info .vl { font-size: 26.5px; letter-spacing: .01em; color: var(--text); }
.info a.vl:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- 프로젝트 상세 (Portfolio 04 Detail) ---------- */
.detail .ptitle { font-size: 105px; letter-spacing: .02em; --x: 167.1; --y: 318.2; transform-origin: 0 70%; }
.visual {
  position: absolute; left: 160px; top: 360px; width: 1000px; height: 560px; border-radius: 40px; background: var(--visual);
  box-shadow: 0 0 0 4px #fff; overflow: hidden; isolation: isolate;
}
.visual::after { content: ''; position: absolute; inset: 0; border-radius: 40px; box-shadow: inset 0 0 0 4px #fff; pointer-events: none; z-index: 2; }
.visual img, .visual video, .visual iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.visual .label { font-size: 33px; letter-spacing: .2em; color: #8c8580; --x: 500; --y: 291.9; transform: translateX(-50%); text-indent: .2em; }
.visual .play { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); }
.visual .play .pill { position: relative; left: auto; top: auto; --h: 64; --fs: 26; transition: transform .35s var(--pop); }
.visual .play:hover .pill { transform: scale(1.06); }
.visual .play svg { width: .8em; height: .8em; fill: currentColor; margin-right: .5em; vertical-align: -.05em; }
.fact { font-size: 31px; letter-spacing: .02em; color: var(--text); transform-origin: 0 70%; white-space: pre; }
/* 설명 첫 기준선은 마지막 정보 줄 + 87.2 (AE: 정보 4줄이면 695.9). 정보가 적으면 올라오고 썸네일 위까지 줄 수가 늘어난다 */
.desc { position: absolute; left: 1229.2px; top: calc(var(--dy, 695.9) * 1px - 5px - 18.96px); width: 520px; margin: 0; font-size: 24px; line-height: 34px; color: var(--body); white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: var(--clamp, 3); -webkit-box-orient: vertical; overflow: hidden; }
.thumb {
  position: absolute; left: calc(var(--l, 0) * 1px); top: 816.6px; width: 184px; height: 100.4px; border-radius: 22px; background: var(--visual); overflow: hidden;
  box-shadow: 0 0 0 2.5px #fff; cursor: zoom-in; transition: transform .45s var(--pop);
}
.thumb::after { content: ''; position: absolute; inset: 0; border-radius: 22px; box-shadow: inset 0 0 0 2.5px #fff; z-index: 2; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-6px); }
.thumb .more { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: rgba(56, 48, 46, .55); color: var(--pill-fg); font-weight: 700; font-size: 26px; letter-spacing: .06em; }

/* ---------- AE에 없는 면: 작업 목록·스틸·연락 (같은 부품으로) ---------- */
.sheet-in { position: relative; padding: 170px 160px 160px; }
.sheet-in .pill, .contact .pill { position: relative; left: auto; top: auto; }
.works .sheet-in { padding: 425px 190px 0; }  /* 모눈: 세로선 190·1730, 카드 위 425 · 아래 885 (가로선) */
.works .sheet-in > .pill { position: absolute; left: 190px; top: 144.7px; --h: 50.6; --fs: 24.5; } /* 상세(AE)와 같은 중심 170 */
.works-title { position: absolute; left: 190px; top: 0; margin: 0; }
.works-title .sk { font-size: 105px; letter-spacing: .02em; left: 7px; top: calc(318.2px - .93em); white-space: nowrap; }
.works-count { position: absolute; right: 190px; top: calc(177.9px - .79em); line-height: 1; font-weight: 700; font-size: 22px; letter-spacing: .14em; margin-right: -.14em; color: var(--label); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.card { position: relative; display: block; height: 690px; } /* 115×6: 다음 줄 카드도 가로선에서 시작 */
.card .frame { position: relative; height: 460px; border-radius: 40px; background: var(--visual); box-shadow: 0 0 0 4px #fff; overflow: hidden; isolation: isolate; }
.card .frame::after { content: ''; position: absolute; inset: 0; border-radius: 40px; box-shadow: inset 0 0 0 4px #fff; z-index: 2; }
.card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .frame img { transform: scale(1.05); }
.card .frame .pill { position: absolute; left: 26px; top: calc((var(--cy) - var(--h) / 2) * 1px); --cy: 50; --h: 50.6; --fs: 24.5; z-index: 3; }
.card .meta { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: 30px; padding: 0 0 0 7px; }
.card h3 { position: relative; margin: 0; font-family: var(--bagel); font-weight: 400; font-size: 56px; letter-spacing: .02em; line-height: 1.1; }
.card h3 .sk { position: relative; display: inline-block; line-height: inherit; }
.card .sub { font-size: 22px; color: var(--body); margin-top: 16px; }
.card .when { font-weight: 700; font-size: 22px; letter-spacing: .14em; margin-right: -.14em; color: var(--label); white-space: nowrap; }
.empty { font-size: 26px; color: var(--body); }

.contact { text-align: center; padding: 200px 160px 150px; }
.contact .pill { --h: 50.6; --fs: 24.5; }
.contact .big { position: relative; display: block; height: 200px; margin-top: 30px; }
.contact .big .sk { font-size: 170px; letter-spacing: .02em; left: 50%; transform: translateX(-50%); top: 10px; white-space: nowrap; }
.contact .mail { margin-top: 40px; font-weight: 700; font-size: 44px; letter-spacing: .01em; color: var(--text); background: linear-gradient(var(--text), var(--text)) 50% 100% / 0 3px no-repeat; padding-bottom: 6px; transition: background-size .45s var(--ease); }
.contact .mail:hover { background-size: 100% 3px; }
.contact .foot { margin-top: 120px; font-weight: 700; font-size: 18px; letter-spacing: .2em; color: var(--label); }

.stills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 46px; }
.stills-grid .thumb { position: relative; top: auto; width: auto; height: auto; aspect-ratio: 16 / 9; border-radius: 30px; }
.stills-grid .thumb::after { border-radius: 30px; }
.full-desc { margin: 46px 0 0; max-width: 1100px; font-size: 26px; line-height: 44px; color: var(--body); white-space: pre-line; }
.pager { display: flex; justify-content: space-between; gap: 40px; margin-top: 130px; }
.pager a { position: relative; display: grid; gap: 26px; max-width: 48%; }
.pager a.next { margin-left: auto; justify-items: end; text-align: right; }
.pager .pill { --h: 41.4; --fs: 20; justify-self: start; }
.pager a.next .pill { justify-self: end; }
.pager .t2 { font-family: var(--bagel); font-size: 56px; line-height: 1.1; transition: transform .45s var(--ease); }
.pager a.prev:hover .t2 { transform: translateX(-10px); }
.pager a.next:hover .t2 { transform: translateX(10px); }

/* 상단 고정 이동 (AE에 없는 최소 장치) */
.nav { position: fixed; z-index: 50; top: 18px; right: 18px; display: flex; gap: 8px; }
.nav a { height: 34px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 17px; background: rgba(255, 252, 247, .9); color: var(--text); font-weight: 700; font-size: 12px; letter-spacing: .14em; box-shadow: inset 0 0 0 1.5px var(--ring); transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="true"] { background: var(--text); color: var(--pill-fg); }

/* 라이트박스 */
.lb { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(247, 243, 238, .92); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.on { opacity: 1; pointer-events: auto; }
.lb figure { margin: 0; width: min(84vw, calc((100svh - 160px) * 1.7778)); }
.lb img { width: 100%; border-radius: clamp(14px, 2vw, 40px); box-shadow: 0 0 0 4px #fff, 0 40px 80px -40px rgba(52, 43, 41, .6); }
.lb figcaption { text-align: center; margin-top: 18px; color: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .16em; }
.lb .ctl { position: absolute; height: 36px; padding: 0 16px; border-radius: 18px; background: var(--text); color: var(--pill-fg); font-weight: 700; font-size: 12px; letter-spacing: .14em; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #fff, 0 0 0 4px var(--ring); }
.lb .x { top: 24px; right: 24px; }
.lb .pv { left: 24px; top: 50%; transform: translateY(-50%); }
.lb .nx { right: 24px; top: 50%; transform: translateY(-50%); }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 40px; transform: translate(-50%, 20px); opacity: 0; height: 40px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 20px; background: var(--text); color: var(--pill-fg); font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #fff, 0 0 0 4px var(--ring); transition: .35s var(--ease); pointer-events: none; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 움직임 (끝난 상태 = AE 프레임) ---------- */
.js .in-a { opacity: 0; }
.ready .in-a { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 150ms); }
.ready .pill.in-a { animation-name: popin; animation-timing-function: var(--pop); }
.js .hero .title { opacity: 0; }
.hero.ready .title { animation: drop 1.15s var(--ease) both; animation-delay: .1s; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@keyframes popin { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-140px) scale(.92, 1.08); }
  45% { opacity: 1; transform: translateY(12px) scale(1.04, .93); }
  70% { transform: translateY(-6px) scale(.99, 1.02); }
  100% { opacity: 1; transform: none; }
}

/* ---------- 모바일: 무대 대신 세로 흐름 (430 폭 기준 zoom) ---------- */
.m .z { width: 430px; }
.m .stage, .m .sheet { width: 430px; height: auto; background-size: 430px 100%; }
.m .grid { left: 16px; top: 16px; width: 399px; height: calc(100% - 32px); background-size: 44.3px 46px; }
.m .bd { width: 430px; }
.m .depth.outer { left: -520px; top: -160px; width: 1300px; height: calc(100% + 320px); background-size: 1300px 1690px; background-position: 0 calc(var(--s, 0) * -.45px); }
.m .hero { height: 720px; }
.m .depth.hs { display: none; }
.m .hero .title { left: 49.4px; top: 957.4px; width: 1229px; height: 290.5px; zoom: .3238; }
.m .hero .name { --x: 215; --y: 452; font-size: 34px; }
.m .hero .role { --cy: 496 !important; --h: 40 !important; --fs: 15 !important; left: 215px; padding: 0 24px; }
.m .flow { position: relative; padding: 70px 34px 70px; }
.m .flow .t, .m .flow .pill, .m .flow .sk, .m .flow .chips, .m .flow .intro, .m .flow .desc, .m .flow .visual, .m .flow .thumb, .m .flow .divider { position: relative; left: auto; top: auto; }
.m .pill { --h: 34 !important; --fs: 13 !important; padding: 0 16px; }
.m .flow .pill { margin: 5px 0 14px 5px; }
.m .flow .block { margin-bottom: 44px; }
.m .about .name { display: inline-block; font-size: 44px; margin: 4px 0 12px 8px; }
.m .about .divider { display: none; }
.m .about .intro { width: auto; font-size: 16px; line-height: 27px; margin: 10px 0 0; }
.m .chips { width: auto; gap: 8px 10px; }
.m .chip { height: 34px; line-height: 34px; padding: 0 13px; font-size: 14px; box-shadow: 0 0 0 1.5px var(--ring); }
.m .chip > span { top: 1px; }
.m .career .row { position: relative; margin-bottom: 20px; }
.m .career .row .t { display: block; white-space: normal; line-height: 1.45; position: relative; left: auto; top: auto; }
.m .career .yr { font-size: 13px; }
.m .career .ttl { font-size: 18px; margin: 2px 0; }
.m .career .ds { font-size: 14px; }
.m .info { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: baseline; }
.m .info .t { display: block; position: relative; left: auto; top: auto; }
.m .info .lab { font-size: 13px; }
.m .info .vl { font-size: 16px; }
.m .detail .ptitle { display: inline-block; font-size: 44px; white-space: normal; margin: 4px 0 22px 8px; line-height: 1.15; transform: none !important; }
.m .visual { width: 100%; height: auto; aspect-ratio: 1000 / 560; border-radius: 22px; }
.m .visual::after { border-radius: 22px; }
.m .visual .label { font-size: 16px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.m .visual .play .pill { --h: 40 !important; --fs: 15 !important; margin: 0; padding: 0 20px; }
.m .facts { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: center; margin-top: 34px; }
.m .facts .pill { --h: 30 !important; --fs: 11.5 !important; margin: 0 0 0 4px; padding: 0 14px; justify-self: start; }
.m .fact { position: relative; left: auto; top: auto; font-size: 17px; white-space: normal; line-height: 1.35; transform: none !important; }
.m .desc { width: auto; font-size: 15px; line-height: 25px; margin-top: 24px; display: block; }
.m .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.m .thumb { width: auto; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; }
.m .thumb::after { border-radius: 12px; }
.m .sheet-in { padding: 70px 34px 70px; }
.m .stage { margin-bottom: 0; }
.m .works .sheet-in { padding: 70px 34px 70px; }
.m .works .sheet-in > .pill { position: relative; left: auto; top: auto; }
.m .works-title { position: relative; left: auto; display: block; height: 70px; }
.m .works-title .sk { font-size: 56px; top: calc(56px - .93em); }
.m .works-count { position: static; margin-top: -6px; font-size: 13px; line-height: 1.4; }
.m .cards { grid-template-columns: 1fr; gap: 50px; margin-top: 30px; }
.m .card { height: auto; }
.m .card .frame { height: auto; aspect-ratio: 1000 / 560; }
.m .card .frame { border-radius: 22px; }
.m .card .frame::after { border-radius: 22px; }
.m .card .frame .pill { left: 14px; --cy: 28 !important; --h: 30 !important; --fs: 11.5 !important; padding: 0 14px; }
.m .card .meta { flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; }
.m .card h3 { font-size: 30px; }
.m .card .sub, .m .card .when { font-size: 13px; }
.m .contact { padding: 110px 34px 80px; }

.m .contact .big { height: 90px; margin-top: 20px; }
.m .contact .big .sk { font-size: 56px; }
.m .contact .mail { font-size: 22px; margin-top: 18px; }
.m .contact .foot { margin-top: 70px; font-size: 11px; }
.m .stills-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.m .stills-grid .thumb { border-radius: 14px; }
.m .stills-grid .thumb::after { border-radius: 14px; }
.m .full-desc { font-size: 15px; line-height: 26px; }
.m .pager { margin-top: 70px; }
.m .pager .t2 { font-size: 26px; }

.m .nav a { height: 30px; font-size: 11px; padding: 0 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .in-a, .js .hero .title { opacity: 1; }
}
