/* ARCH Lab — 가상 건축환경·도시설계 연구실 디자인 샘플 (디코랩)
   색: 벽돌 · 콘크리트 · 해 노랑 · 먹. 제목 영문 Sofia Sans Extra Condensed(OFL), 본문 Pretendard(OFL). */
:root {
  --brick: #D2401F;
  --brick-ink: #A8301A;
  --conc: #E9E7E2;
  --conc-2: #D6D3CC;
  --paper: #F7F6F3;
  --ink: #1B1A18;
  --ink-2: #4E4A44;
  --sun: #FFC21A;
  --cobalt: #2456D6;
  --line: rgba(27, 26, 24, .16);
  --f-ko: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-en: "Sofia Sans Extra Condensed", "Pretendard Variable", Pretendard, sans-serif;
  --mbar-h: 60px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--f-ko); font-size: 17px; line-height: 1.75; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: anywhere; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 3000; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 44px); }
.wrap--narrow { max-width: 1000px; }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.fine { margin-top: 14px; font-size: .875rem; line-height: 1.6; color: var(--ink-2); }
.ph { display: inline-block; padding: 0 6px; border: 1.5px dashed currentColor; border-radius: 4px; opacity: .8; font-size: .92em; }
code { font-size: .9em; padding: 1px 5px; background: var(--conc); border-radius: 3px; }

/* 안내 띠 */
.sample-banner { background: var(--ink); color: rgba(255, 255, 255, .86); font-size: .8125rem; line-height: 1.5; }
.sample-banner__inner { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.sample-banner__tag { flex: none; padding: 2px 8px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: .75rem; }
.sample-banner__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 2px solid var(--ink); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; background: #fff; color: var(--ink); transition: background-color .2s, color .2s, transform .2s; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #FFD44F; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #33312D; }
.btn--line { background: transparent; color: #fff; border-color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .12); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn:active { transform: translateY(1px); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--brick); margin-right: 18px; }
.more::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.linklike { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.linklike:hover { text-decoration-color: currentColor; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 700; color: var(--brick-ink); }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.eyebrow[lang="en"] { font-family: var(--f-en); font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow--sun { color: var(--sun); }
.badge { display: inline-block; padding: 1px 8px; border: 1.5px solid var(--ink); font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.ttag { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.ttag::before { content: ""; width: 10px; height: 10px; background: var(--tc, var(--ink)); border: 1.5px solid var(--ink); }

/* ── 문패 */
.np { background: var(--brick); color: #FFF7F1; position: relative; }
.np::before, .np::after { content: ""; position: absolute; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: #F2C9BC; box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .25); }
.np::before { left: 14px; } .np::after { right: 14px; }
.np__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-block: 18px 16px; }
.np__name { font-family: var(--f-en); font-weight: 900; font-size: clamp(54px, 8vw, 104px); line-height: .78; letter-spacing: -0.005em; text-transform: uppercase; display: flex; align-items: flex-end; gap: .12em; }
.np__lab { font-weight: 500; font-size: .5em; line-height: 1; color: var(--sun); text-transform: none; padding-bottom: .06em; }
.np--home .np__in { padding-block: 26px 22px; }
.np--home .np__name { font-size: clamp(96px, 20vw, 300px); }
.np__meta { text-align: right; padding-bottom: 4px; }
.np__ko { font-size: clamp(1rem, 1.6vw, 1.375rem); font-weight: 800; line-height: 1.35; }
.np__univ { font-size: .875rem; opacity: .9; }

/* ── 메뉴 줄 */
.mbar { position: sticky; top: 0; z-index: 60; background: var(--ink); color: #fff; }
.mbar__in { display: flex; align-items: center; gap: 18px; height: var(--mbar-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { width: 30px; height: 30px; }
.logo__t { font-family: var(--f-en); font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
.logo__t b { font-weight: 900; }
.gnb { flex: 1; display: flex; justify-content: center; }
.gnb__list { display: flex; height: var(--mbar-h); }
.gnb__a { display: flex; align-items: center; height: 100%; padding: 0 clamp(12px, 1.6vw, 24px); font-size: 1.0625rem; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.gnb__a:hover { background: #33312D; }
.gnb__a[aria-current] { background: var(--sun); color: var(--ink); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-bottom: 5px solid var(--brick); box-shadow: 0 18px 30px rgba(27, 26, 24, .14); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.gnb:hover .mega, .gnb:focus-within .mega, .gnb.is-open .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
.gnb.is-closed .mega { visibility: hidden; opacity: 0; }
.mega__in { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding-block: 22px 26px; }
.mega__col { padding: 0 18px; border-left: 1px solid var(--line); }
.mega__col:first-child { border-left: 0; }
.mega__t { font-weight: 800; margin-bottom: 8px; }
.mega__en { font-family: var(--f-en); font-weight: 600; color: var(--brick-ink); font-size: 1.0625rem; margin-left: 2px; }
.mega__col a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink-2); }
.mega__col a:hover, .mega__col a[aria-current] { color: var(--brick-ink); text-decoration: underline; text-underline-offset: 4px; }
.mbar__menu { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 2px solid rgba(255, 255, 255, .6); background: none; color: #fff; cursor: pointer; font-weight: 700; font-size: .9375rem; }
.mbar__bars { position: relative; width: 18px; height: 2px; background: currentColor; }
.mbar__bars::before, .mbar__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.mbar__bars::before { top: -6px; } .mbar__bars::after { top: 6px; }
.allmenu { position: fixed; inset: 0; z-index: 900; background: var(--ink); color: #fff; overflow-y: auto; }
.allmenu__in { max-width: 1100px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 44px) 60px; position: relative; }
.allmenu__h { font-family: var(--f-en); font-size: 3rem; font-weight: 900; color: var(--brick); line-height: 1; text-transform: uppercase; }
.allmenu__close { position: absolute; top: 28px; right: clamp(16px, 4vw, 44px); height: 44px; padding: 0 16px; border: 2px solid #fff; background: none; color: #fff; font-weight: 700; cursor: pointer; }
.allmenu nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 34px; }
.allm__home { grid-column: 1 / -1; font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.allm__t { font-size: 1.25rem; font-weight: 800; padding-bottom: 8px; border-bottom: 2px solid var(--brick); margin-bottom: 8px; }
.allm__t span { font-family: var(--f-en); color: var(--sun); font-weight: 600; margin-left: 4px; }
.allm__g a { display: block; padding: 7px 0; text-decoration: none; font-size: 1.0625rem; color: rgba(255, 255, 255, .88); }
.allm__g a[aria-current] { color: var(--sun); font-weight: 700; }
.allmenu__mail { margin-top: 36px; }
body.menu-open { overflow: hidden; }
@media (max-width: 1080px) {
  .gnb { display: none; }
  .mbar__in { justify-content: space-between; }
  .mbar__cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .mbar__cta { display: none; }
  .np__in { flex-direction: column; align-items: flex-start; gap: 10px; }
  .np__meta { text-align: left; }
  .np--home .np__name { font-size: 27vw; }
  .np__name { font-size: 15vw; }
  .allmenu nav { grid-template-columns: 1fr 1fr; }
}

/* ── 히어로 */
.hero { background: var(--conc); position: relative; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: clamp(40px, 6vw, 84px); }
.hero__h { margin-top: 18px; font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 300; line-height: 1.22; letter-spacing: -0.02em; text-wrap: balance; }
.hero__h b { font-weight: 800; color: var(--brick-ink); }
.hero__lead { margin-top: 20px; max-width: 34em; color: var(--ink-2); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__fig { position: relative; }
.hero__fig figcaption { margin-top: 8px; font-size: .8125rem; color: var(--ink-2); padding-right: 110px; }
.hero__replay { position: absolute; right: 0; bottom: 0; height: 32px; padding: 0 12px; border: 1.5px solid var(--ink); background: #fff; font-size: .8125rem; font-weight: 700; cursor: pointer; }
.isohero { width: 100%; height: auto; overflow: visible; }
.iso-plate { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.iso-grid { fill: none; stroke: var(--ink); stroke-width: .6; opacity: .12; }
.iso-road { fill: var(--conc-2); stroke: var(--ink); stroke-width: .8; }
.iso-lane { stroke: #fff; stroke-width: 1.4; stroke-dasharray: 8 6; }
.iso-shadow polygon { fill: rgba(27, 26, 24, .2); }
.iso-tree path { stroke: var(--ink); stroke-width: 1.2; }
.iso-tree ellipse { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.iso-face { fill: var(--c); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.iso-floor { fill: none; stroke: var(--ink); stroke-width: .6; opacity: .45; }
.isohero__sun circle { fill: var(--sun); stroke: var(--ink); stroke-width: 1.5; }
.isohero__sun path { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }
@keyframes fade { to { opacity: 1; } }
html.has-motion .isohero .iso-face { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; animation: draw 1s var(--d, 0s) cubic-bezier(.4, 0, .2, 1) forwards, fillin .6s calc(var(--d, 0s) + 1.05s) forwards; }
html.has-motion .isohero .iso-floor { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s calc(var(--d, 0s) + .7s) forwards; }
html.has-motion .isohero .iso-shadow, html.has-motion .isohero .isohero__sun { opacity: 0; animation: fade .8s 2.7s forwards; }
html.has-motion .isohero .isohero__sun { animation-delay: 2.4s; }
html.has-motion .isohero .iso-tree { opacity: 0; animation: fade .6s 1.6s forwards; }
html:not(.has-motion) .hero__replay { display: none; }

/* ── 표제란 */
.tblock { border-bottom: 3px solid var(--ink); background: #fff; }
.tblock__grid { display: grid; grid-template-columns: 1.7fr repeat(5, 1fr); border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.tblock__grid > div { padding: 14px 16px; border-left: 1.5px solid var(--ink); }
.tblock__grid > div:first-child { border-left: 0; }
.tblock dt { font-size: .75rem; font-weight: 700; color: var(--ink-2); }
.tblock dd { font-size: .9375rem; font-weight: 600; line-height: 1.5; }
.tblock dd a { text-decoration: none; border-bottom: 1.5px solid var(--brick); }
.tblock__name dd b { font-family: var(--f-en); font-size: 1.5rem; font-weight: 900; color: var(--brick-ink); margin-right: 6px; }
.tblock__upd { background: var(--sun); }
@media (max-width: 1000px) {
  .tblock__grid { grid-template-columns: 1fr 1fr; border: 0; }
  .tblock__grid > div { border-left: 0; border-top: 1.5px solid var(--ink); }
  .tblock__grid > div:nth-child(even) { border-left: 1.5px solid var(--ink); }
  .tblock__name { grid-column: 1 / -1; }
  .tblock__name ~ div:nth-child(even) { border-left: 0; }
  .tblock__name ~ div:nth-child(odd) { border-left: 1.5px solid var(--ink); }
  .tblock .wrap { padding-inline: 0; }
}

/* ── 공통 섹션 */
.sec { padding-block: clamp(64px, 8vw, 112px); }
.sec__head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.sec__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.sec__head--row .sec__lead { max-width: 30em; }
.sec__h { margin-top: 10px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
.sec__lead { margin-top: 12px; color: var(--ink-2); }
.sec__more { margin-top: 28px; }

/* ── 평면 배치도 */
.plan-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.plan { width: 100%; height: auto; border: 2px solid var(--ink); background: #fff; }
.plan__ground { fill: var(--paper); stroke: none; }
.plan__road { stroke: var(--conc-2); stroke-width: 18; }
.plan__b { fill: #fff; stroke: var(--ink); stroke-width: 2; transition: fill .25s; }
.plan__b--yard { fill: var(--conc); }
.plan__shade { stroke: none; }
.plan__ray { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 4; }
.plan__sunpt { fill: var(--sun); stroke: var(--ink); stroke-width: 2; }
.plan__wind { fill: none; stroke: var(--cobalt); stroke-width: 3; }
.plan__alley { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 2 5; }
.plan__no { font-family: var(--f-en); font-size: 30px; font-weight: 900; fill: var(--ink); }
.plan__north circle { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.plan__north path { fill: var(--ink); }
.plan__north text { font-family: var(--f-en); font-size: 13px; font-weight: 800; text-anchor: middle; fill: var(--ink); }
.plan__g { cursor: pointer; }
.plan__g.is-on[data-plan="sun"] .plan__b { fill: var(--sun); }
.plan__g.is-on[data-plan="wind"] .plan__b { fill: #B9C9F5; }
.plan__g.is-on[data-plan="block"] .plan__b { fill: #F0A08C; }
.plan__g.is-on[data-plan="block"] .plan__b--yard { fill: var(--brick); }
.plan__g.is-on .plan__no { fill: var(--brick-ink); }
.plan-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ptab2 { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 2px solid var(--ink); background: #fff; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.ptab2 .num { font-family: var(--f-en); font-size: 1.375rem; font-weight: 900; color: var(--brick-ink); }
.ptab2[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: inset 6px 0 0 var(--tc); }
.ptab2[aria-pressed="true"] .num { color: var(--sun); }
.plan-panel { border: 2px solid var(--ink); border-top: 10px solid var(--tc); padding: 22px 24px 24px; background: #fff; }
.plan-panel + .plan-panel { margin-top: 16px; }
.js .plan-panel + .plan-panel { margin-top: 0; }
.plan-panel__en { font-family: var(--f-en); font-size: 1.375rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
.plan-panel__h { font-size: 1.625rem; font-weight: 800; margin: 2px 0 10px; }
.plan-panel__n { margin: 14px 0; padding: 10px 0; border-block: 1.5px solid var(--line); color: var(--ink-2); }
.plan-panel__n b { color: var(--ink); font-size: 1.125rem; }
.plan-panel.is-in-anim { animation: panelIn .3s ease; }
@keyframes panelIn { from { opacity: 0; } to { opacity: 1; } }

/* ── 일조 분석 */
.sun-sec { background: var(--conc); }
.sun { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 40px); padding: clamp(16px, 2.6vw, 32px); background: var(--ink); color: #fff; }
.sun__fig { margin: 0; }
.sun__fig figcaption { margin-top: 8px; font-size: .8125rem; color: rgba(255, 255, 255, .72); }
.sunplan { width: 100%; height: auto; max-height: 76vh; margin-inline: auto; }
.sunplan__ground { fill: var(--paper); transition: fill .3s; }
.sunplan.is-night .sunplan__ground { fill: #5C5850; }
.sunplan__road { fill: var(--conc-2); }
.sunplan__lane { stroke: #fff; stroke-width: .5; stroke-dasharray: 2.4 1.6; }
.sunplan__shadow { fill: rgba(27, 26, 24, .34); }
.sunplan__front { fill: var(--brick); stroke: var(--ink); stroke-width: .5; }
.sunplan__rear { fill: #fff; stroke: var(--ink); stroke-width: .5; }
.sunplan__lbl { font-size: 3.3px; font-weight: 700; fill: var(--ink); text-anchor: middle; letter-spacing: 0; }
.sunplan__lbl--w { fill: #fff; }
.sunplan__ray { stroke: #8A867E; stroke-width: .5; stroke-dasharray: 1.6 1.2; }
.sunplan__ray.is-on { stroke: #D99A00; stroke-width: .8; stroke-dasharray: none; }
.sunplan__win { fill: #8A867E; stroke: var(--ink); stroke-width: .4; }
.sunplan__win.is-on { fill: var(--sun); }
.sunplan__sun circle { fill: var(--sun); stroke: var(--ink); stroke-width: .4; }
.sunplan__sun path { stroke: #D99A00; stroke-width: .7; stroke-linecap: round; }
.sunplan.is-night .sunplan__sun { opacity: 0; }
.sunplan__north circle { fill: #fff; stroke: var(--ink); stroke-width: .35; }
.sunplan__north path { fill: var(--ink); }
.sunplan__north text { font-size: 3.4px; font-weight: 800; text-anchor: middle; fill: var(--ink); }
.sun__status { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 800; line-height: 1.35; padding-left: 16px; border-left: 6px solid #8A867E; }
.sun__status.is-on { border-left-color: var(--sun); color: var(--sun); }
.sun__read { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .25); }
.sun__read > div { padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.sun__read dt { font-size: .8125rem; color: rgba(255, 255, 255, .72); }
.sun__read dd { font-size: 1.25rem; font-weight: 800; }
.sun__read .is-key dd { color: var(--sun); }
.sstrip { margin-top: 18px; }
.sstrip svg { width: 100%; height: 26px; }
.sstrip__bg { fill: rgba(255, 255, 255, .14); }
.sstrip__on rect { fill: var(--sun); }
.sstrip__now { stroke: #fff; stroke-width: 2; }
.sstrip__ax { display: flex; justify-content: space-between; font-size: .75rem; color: rgba(255, 255, 255, .7); }
.sstrip__ax span:nth-child(2) { margin-left: 4%; } .sstrip__ax span:nth-child(4) { margin-right: 14%; }
.sun__ctl { margin-top: 18px; display: grid; gap: 14px; }
.ctl label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: .9375rem; }
.ctl output { color: var(--sun); }
.ctl input[type="range"] { width: 100%; margin: 6px 0 0; accent-color: var(--sun); height: 28px; }
.ctl select { width: 100%; margin-top: 6px; height: 42px; padding: 0 10px; background: #fff; color: var(--ink); border: 0; }
.ctl--two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.segs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.seg { height: 36px; padding: 0 14px; border: 1.5px solid rgba(255, 255, 255, .7); background: none; color: #fff; font-weight: 700; font-size: .875rem; cursor: pointer; }
.seg[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.spath { grid-column: 2; margin: 0; }
.spath svg { width: min(100%, 300px); height: auto; }
.spath__ring { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: .5; }
.spath__axis { stroke: rgba(255, 255, 255, .2); stroke-width: .4; }
.spath text { font-size: 5px; fill: rgba(255, 255, 255, .8); text-anchor: middle; dominant-baseline: middle; font-weight: 700; }
.spath .spath__deg { font-size: 3.6px; text-anchor: start; fill: rgba(255, 255, 255, .55); }
.spath__ref { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: .6; stroke-dasharray: 1.4 1.2; }
.spath__day { fill: none; stroke: var(--sun); stroke-width: 1.6; }
.spath__dot { fill: var(--sun); stroke: #fff; stroke-width: .8; }
.spath figcaption { margin-top: 6px; font-size: .8125rem; color: rgba(255, 255, 255, .72); }
.sun--full { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.sun--full .sun__fig { grid-row: span 2; }
@media (max-width: 860px) {
  .sun, .sun--full { grid-template-columns: 1fr; }
  .sun__fig { position: sticky; top: calc(var(--mbar-h) + 6px); z-index: 3; background: var(--ink); padding-bottom: 6px; }
  .sunplan { max-height: 38vh; width: auto; }
  .sun__fig figcaption { text-align: center; }
  .sun--full .sun__fig { grid-row: auto; }
  .spath { grid-column: auto; }
  .sun__read { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) { .ctl--two { grid-template-columns: 1fr; } }

/* ── 논문 목록표(메인) */
.dreg-wrap { border: 3px solid var(--ink); }
.dreg { width: 100%; border-collapse: collapse; }
.dreg th { background: var(--ink); color: #fff; text-align: left; font-size: .8125rem; font-weight: 700; padding: 10px 14px; }
.dreg td { padding: 16px 14px; border-top: 1.5px solid var(--ink); vertical-align: top; font-size: .9375rem; }
.dreg td + td, .dreg th + th { border-left: 1.5px solid var(--ink); }
.dreg th + th { border-left-color: rgba(255, 255, 255, .25); }
.dreg__no { font-family: var(--f-en); font-size: 1.375rem !important; font-weight: 800; color: var(--brick-ink); white-space: nowrap; }
.dreg__t a { display: block; font-size: 1.0625rem; font-weight: 700; line-height: 1.45; text-decoration: none; }
.dreg__t a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dreg__au { display: block; margin-top: 4px; font-size: .875rem; color: var(--ink-2); }
.dreg__v { color: var(--ink-2); }
.dreg td:nth-child(4) { white-space: nowrap; }
@media (max-width: 760px) {
  .dreg thead { display: none; }
  .dreg tr { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 16px; border-top: 1.5px solid var(--ink); }
  .dreg tr:first-child { border-top: 0; }
  .dreg td { padding: 0; border: 0 !important; }
  .dreg__no { grid-row: span 4; }
}

/* ── 게시판(메인) */
.board-sec { border-top: 3px solid var(--ink); }
.board { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); }
.nlist { margin: 18px 0 16px; border-top: 2px solid var(--ink); }
.nlist li { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nlist .num { font-size: .875rem; color: var(--ink-2); }
.nlist .linklike { font-weight: 600; }
.nsks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 16px; }
.nsk { border: 2px solid var(--ink); background: #fff; padding: 12px 14px 16px; }
.nsk .mini { width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--conc); margin-bottom: 10px; padding: 6px; }
.nsk__m { font-size: .8125rem; color: var(--ink-2); }
.nsk__t { margin-top: 4px; font-size: 1rem; font-weight: 700; line-height: 1.45; }
.nsk--big .nsk__t { font-size: 1.125rem; }
.nsk .linklike { margin-top: 8px; font-size: .875rem; font-weight: 700; text-decoration-color: var(--brick); }
.nsks--page { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini .iso-plate { fill: #fff; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .nsks { grid-template-columns: 1fr 1fr; } .nsks .nsk:nth-child(3) { display: none; } .nsks--page { grid-template-columns: 1fr; } .nsks--page .nsk:nth-child(3) { display: block; } }

/* ── 연락 */
.office { background: var(--brick); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.office__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.office__h { margin-top: 12px; font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 800; line-height: 1.35; text-wrap: balance; }
.office__card { background: var(--ink); padding: 24px; }
.office__mail a { font-family: var(--f-en); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--sun); text-decoration: none; letter-spacing: .01em; }
.office__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.office .fine { color: rgba(255, 255, 255, .8); }
@media (max-width: 860px) { .office__in { grid-template-columns: 1fr; } }

/* ── 바닥글 */
.foot { background: var(--ink); color: rgba(255, 255, 255, .82); font-size: .9375rem; padding-top: 48px; }
.foot__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; padding-bottom: 32px; }
.foot__logo { font-family: var(--f-en); font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1; text-transform: uppercase; }
.foot__logo span { color: var(--sun); font-weight: 500; text-transform: none; font-size: .6em; }
.foot__info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.foot__info dt { font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 18px 28px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .8125rem; }
.foot__credit { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot__credit img { filter: brightness(0) invert(1); opacity: .9; }
@media (max-width: 760px) { .foot__inner, .foot__info { grid-template-columns: 1fr; } }

/* ── 서브: 그룹 문패 + 채움 탭 */
.gplate { background: var(--conc); border-bottom: 3px solid var(--ink); }
.gplate__in { position: relative; padding-block: 18px 22px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8125rem; color: var(--ink-2); }
.crumb li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.gplate__en { margin-top: 10px; font-family: var(--f-en); font-weight: 900; font-size: clamp(64px, 11vw, 160px); line-height: .8; color: var(--brick); text-transform: uppercase; letter-spacing: -0.005em; }
.gplate__ko { margin-top: 10px; font-size: 1.125rem; font-weight: 800; }
.ftabs { background: var(--conc); margin-top: -3px; }
.ftabs ul { display: flex; overflow-x: auto; scrollbar-width: none; }
.ftabs ul::-webkit-scrollbar { display: none; }
.ftab { display: flex; align-items: center; height: 52px; padding: 0 clamp(16px, 2.2vw, 30px); border: 3px solid var(--ink); border-top: 0; margin-right: -3px; background: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.ftab:hover { background: var(--paper); }
.ftab[aria-current] { background: var(--brick); color: #fff; }
.ftabs + .phead { padding-top: 40px; }
.phead { padding-block: 52px 28px; }
.phead__title { font-size: clamp(1.875rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.phead__desc { margin-top: 8px; color: var(--ink-2); }
.phead__upd { display: inline-block; margin-top: 12px; padding: 2px 10px; border-left: 5px solid var(--sun); background: var(--paper); font-size: .875rem; font-weight: 700; }
.spage { padding-bottom: clamp(64px, 8vw, 110px); }
.sub-h { font-size: 1.375rem; font-weight: 800; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.sub-h .num { color: var(--brick-ink); margin-left: 4px; }
.sub-h3 { font-size: 1.125rem; font-weight: 800; margin: 26px 0 10px; }

/* 표 */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: .9375rem; }
.tbl th, .tbl td { padding: 12px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--conc); font-size: .875rem; }
.tbl tbody th { font-weight: 700; white-space: nowrap; }
.tbl--slim th { width: 5em; color: var(--brick-ink); }
.tbl--board td:first-child, .tbl--board td:last-child { white-space: nowrap; color: var(--ink-2); }
.tbl__t .linklike { font-weight: 600; }
@media (max-width: 640px) {
  .tbl--board thead { display: none; }
  .tbl--board tr { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl--board td { border: 0; padding: 0; }
  .tbl--board td:first-child { display: none; }
  .tbl--board .tbl__t { grid-column: 1 / -1; }
}

/* 인사말 */
.greet { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.greet__fig { background: var(--conc); border: 2px solid var(--ink); padding: 18px; }
.greet__fig .mini { width: 100%; height: auto; }
.greet__txt p + p { margin-top: 14px; }
.greet__lead { font-size: clamp(1.375rem, 2.4vw, 1.875rem); font-weight: 300; line-height: 1.45; text-wrap: balance; }
.greet__lead b { font-weight: 800; color: var(--brick-ink); }
.greet__sign { margin-top: 24px !important; padding-top: 16px; border-top: 2px solid var(--ink); }
.greet__sign b { font-size: 1.25rem; margin: 0 6px; }
.greet__sign .num { font-family: var(--f-en); font-size: 1.25rem; color: var(--ink-2); }
.vals__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); }
.vals__list li { padding: 20px; border-left: 2px solid var(--ink); counter-increment: v; }
.vals__list li:first-child { border-left: 0; }
.vals__list b { display: block; font-size: 1.125rem; }
.vals__list b::before { content: counter(v); display: block; font-family: var(--f-en); font-size: 2.5rem; font-weight: 900; line-height: 1; color: var(--brick); margin-bottom: 6px; }
.vals__list span { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 760px) { .greet { grid-template-columns: 1fr; } .vals__list { grid-template-columns: 1fr; } .vals__list li { border-left: 0; border-top: 2px solid var(--ink); } .vals__list li:first-child { border-top: 0; } }

/* 연혁 */
.hist { border-top: 3px solid var(--ink); }
.hist__y { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1.5px solid var(--line); }
.hist__yh { font-family: var(--f-en); font-size: 3.75rem; font-weight: 900; line-height: .9; color: var(--brick); }
.hist__y li { display: flex; gap: 16px; padding: 4px 0; }
.hist__y li .num { flex: none; width: 3em; font-weight: 700; color: var(--ink-2); }
@media (max-width: 640px) { .hist__y { grid-template-columns: 1fr; gap: 6px; } .hist__yh { font-size: 3rem; } }

/* 오시는 길 */
.loc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 44px); }
.loc__map svg { width: 100%; height: auto; border: 2px solid var(--ink); }
.loc__map figcaption { margin-top: 8px; font-size: .875rem; color: var(--ink-2); }
.lm__ground { fill: var(--paper); }
.lm__road { fill: none; stroke: var(--conc-2); stroke-width: 22; }
.lm__b { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.lm__b--on { fill: var(--brick); }
.lm__t { font-size: 17px; font-weight: 800; text-anchor: middle; fill: var(--ink); }
.lm__t--on { fill: #fff; font-size: 20px; }
.lm__s { font-size: 13px; font-weight: 700; text-anchor: middle; fill: var(--ink); }
.lm__b--on + .lm__t + .lm__s { fill: #fff; }
.lm__route { fill: none; stroke: var(--sun); stroke-width: 5; stroke-dasharray: 10 6; }
.lm__pin { fill: var(--sun); stroke: var(--ink); stroke-width: 2; }
.loc__info { border-top: 2px solid var(--ink); }
.loc__info > div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.loc__info dt { font-weight: 800; }
@media (max-width: 860px) { .loc { grid-template-columns: 1fr; } }

/* 교수 */
.prof { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.prof__card { border: 2px solid var(--ink); padding: 18px; position: sticky; top: calc(var(--mbar-h) + 20px); }
.prof__ph svg { width: 100%; height: auto; }
.prof__ph rect { fill: var(--conc); }
.prof__ph circle, .prof__ph path { fill: var(--conc-2); }
.prof__name { margin-top: 14px; font-size: 1.5rem; font-weight: 800; }
.prof__name span { font-family: var(--f-en); font-size: 1.25rem; font-weight: 600; color: var(--ink-2); margin-left: 6px; }
.prof__pos { color: var(--brick-ink); font-weight: 700; }
.prof__dl { margin-top: 12px; border-top: 1px solid var(--line); }
.prof__dl > div { display: grid; grid-template-columns: 4em 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.prof__dl dt { font-weight: 700; }
.prof__body .sub-h:first-child { margin-top: 0; }
.cv li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cv .num { font-weight: 700; color: var(--brick-ink); }
.chips-static { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-static li { padding: 6px 14px; border: 1.5px solid var(--ink); font-weight: 600; font-size: .9375rem; }
@media (max-width: 860px) { .prof { grid-template-columns: 1fr; } .prof__card { position: static; max-width: 420px; } }

/* 구성원 뒤집기 카드 */
.pgroup + .pgroup { margin-top: 12px; }
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.pcard { position: relative; perspective: 1000px; }
.pcard__in { position: relative; height: 270px; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.pcard__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 2px solid var(--ink); padding: 18px; display: flex; flex-direction: column; }
.pcard__front { background: #fff; border-top: 10px solid var(--tc); }
.pcard__back { background: var(--ink); color: #fff; transform: rotateY(180deg); }
.pcard__ini { width: 64px; height: 64px; display: grid; place-items: center; background: var(--conc); border: 2px solid var(--ink); font-family: var(--f-en); font-size: 1.75rem; font-weight: 900; }
.pcard__name { margin-top: 12px; font-size: 1.25rem; font-weight: 800; }
.pcard__en { font-family: var(--f-en); font-size: 1.0625rem; color: var(--ink-2); line-height: 1.2; }
.pcard__topic { margin: 8px 0 auto; font-size: .9375rem; line-height: 1.55; }
.pcard__back dl { margin-top: 12px; }
.pcard__back dl > div { display: grid; grid-template-columns: 3em 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: .875rem; }
.pcard__back dt { color: var(--sun); font-weight: 700; }
.pcard__back a { color: #fff; }
.pcard__flip { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 34px; height: 34px; border: 2px solid var(--ink); background: var(--sun); cursor: pointer; font-size: 0; }
.pcard__flip::before { content: ""; position: absolute; inset: 9px; border: 2px solid var(--ink); border-left-color: transparent; border-radius: 50%; }
.pcard.is-flipped .pcard__in { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pcard__in { transform: rotateY(180deg); } .pcard.is-flipped:hover .pcard__in { transform: rotateY(180deg); } }

@media (max-width: 560px) { .pcards { grid-template-columns: 1fr 1fr; gap: 10px; } .pcard__in { height: 250px; } .pcard__face { padding: 12px; } .pcard__ini { width: 48px; height: 48px; font-size: 1.375rem; } .pcard__name { font-size: 1.0625rem; margin-top: 8px; } .pcard__topic { font-size: .875rem; } .pcard__back dl > div { grid-template-columns: 1fr; gap: 0; } }

/* 연구 */
.rintro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.rintro .plan { cursor: default; }
.rintro .plan__g { cursor: default; }
.rjump ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.rjump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-left: 8px solid var(--tc); text-decoration: none; font-weight: 700; }
.rjump .num { font-family: var(--f-en); font-size: 1.25rem; font-weight: 900; }
.rtheme { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); padding-top: 40px; margin-top: 40px; border-top: 8px solid var(--tc); }
.rtheme__fig { background: var(--conc); border: 2px solid var(--ink); padding: 14px; align-self: start; }
.rtheme__fig .mini { width: 100%; height: auto; }
.rtheme__en { font-family: var(--f-en); font-size: 1.375rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
.rtheme__en .num { font-weight: 900; color: var(--brick-ink); }
.rtheme__h { font-size: clamp(1.625rem, 2.8vw, 2.125rem); font-weight: 800; }
.rtheme__q { margin: 8px 0 18px; font-size: 1.125rem; }
.rtheme__h3 { font-size: 1.0625rem; font-weight: 800; margin: 20px 0 6px; }
.rtheme__pubs li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.rtheme__pubs a { font-weight: 600; text-decoration-color: var(--brick); text-underline-offset: 4px; }
.rtheme__mem { margin-top: 14px; }
.rtheme__mem b { margin-right: 8px; }
.rtheme__links { margin-top: 16px; }
@media (max-width: 860px) { .rintro, .rtheme { grid-template-columns: 1fr; } .rtheme__fig { max-width: 360px; } }

/* 일조 분석 쪽 */
.tool__share { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tool__share .fine { margin: 0; }
.how { margin-top: 48px; }
.how__list { counter-reset: h; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 2px solid var(--ink); }
.how__list li { padding: 18px 20px; border-top: 2px solid var(--ink); counter-increment: h; }
.how__list li:nth-child(-n+2) { border-top: 0; }
.how__list li:nth-child(even) { border-left: 2px solid var(--ink); }
.how__list b { display: block; font-size: 1.0625rem; margin-bottom: 4px; }
.how__list b::before { content: counter(h) " "; font-family: var(--f-en); font-size: 1.5rem; font-weight: 900; color: var(--brick); }
@media (max-width: 760px) { .how__list { grid-template-columns: 1fr; } .how__list li:nth-child(2) { border-top: 2px solid var(--ink); } .how__list li:nth-child(even) { border-left: 0; } }

/* 장비 */
.facs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fac { border: 2px solid var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.fac__k { font-size: .8125rem; font-weight: 800; color: #fff; background: var(--ink); align-self: flex-start; padding: 1px 8px; }
.fac__h { font-size: 1.25rem; font-weight: 800; }
.fac__spec { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--ink); font-size: .875rem; color: var(--ink-2); }
@media (max-width: 900px) { .facs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facs { grid-template-columns: 1fr; } }

/* 논문 목록 */
.pubnote { padding: 12px 16px; background: var(--paper); border-left: 6px solid var(--sun); font-size: .9375rem; }
.pubnote b { font-weight: 800; }
.pfilter { margin-top: 24px; }
.ptabs { display: flex; flex-wrap: wrap; border-bottom: 3px solid var(--ink); }
.ptab { height: 48px; padding: 0 18px; border: 2px solid var(--ink); border-bottom: 0; margin-right: -2px; background: #fff; font-weight: 700; cursor: pointer; }
.ptab .num { color: var(--brick-ink); margin-left: 4px; }
.ptab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ptab[aria-pressed="true"] .num { color: var(--sun); }
.pfilter__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--ink); background: #fff; font-weight: 700; font-size: .9375rem; cursor: pointer; }
.chip[data-pf]:not([data-pf=""])::before { content: ""; width: 10px; height: 10px; background: var(--tc); border: 1.5px solid var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip[aria-pressed="true"]::before { border-color: #fff; }
.chips--scroll { flex-wrap: wrap; margin-top: 22px; }
.search input { width: min(320px, 100%); height: 44px; padding: 0 14px; border: 2px solid var(--ink); background: #fff; }
.pubcount { margin: 18px 0 6px; font-weight: 700; color: var(--ink-2); }
.publayout { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; }
.yidx, .pubyears { min-width: 0; }
.yidx { position: sticky; top: calc(var(--mbar-h) + 20px); }
.yidx ol { border-top: 2px solid var(--ink); }
.yidx a { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.yidx a > .num:first-child { font-family: var(--f-en); font-size: 1.375rem; font-weight: 800; }
.yidx__n { font-size: .8125rem; color: var(--ink-2); }
.yidx a.is-current, .yidx a[aria-current] { background: var(--ink); color: #fff; padding-inline: 8px; }
.yidx a.is-current .yidx__n, .yidx a[aria-current] .yidx__n { color: var(--sun); }
.pyear { margin-top: 10px; }
.pyear + .pyear { margin-top: 30px; }
.pyear__h { display: flex; align-items: baseline; gap: 12px; padding-bottom: 6px; border-bottom: 3px solid var(--ink); }
.pyear__h > .num:first-child { font-family: var(--f-en); font-size: 3rem; font-weight: 900; line-height: 1; color: var(--brick); }
.pyear__n { font-size: .9375rem; color: var(--ink-2); }
.pub { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pub__no { font-family: var(--f-en); font-size: 1.5rem; font-weight: 800; color: var(--ink-2); line-height: 1.2; }
.pub__link { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: 1.0625rem; font-weight: 700; line-height: 1.5; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--brick); }
.pub__link:hover { color: var(--brick-ink); }
.pub__au { margin-top: 4px; font-size: .9375rem; line-height: 1.55; }
.pub__ven { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.pub__tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; align-items: center; }
.ptype { display: inline-block; padding: 0 8px; background: var(--conc); font-size: .8125rem; font-weight: 700; }
.ptype--on { background: var(--sun); }
.pub__btns { display: flex; gap: 8px; align-self: end; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 99px; background: #fff; font-size: .8125rem; font-weight: 800; cursor: pointer; }
.pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill:hover { background: var(--ink); color: #fff; }
.empty { padding: 40px 0; text-align: center; color: var(--ink-2); }
.pubyears--single .pyear:first-child { margin-top: 26px; }
@media (max-width: 860px) {
  .publayout { grid-template-columns: 1fr; gap: 6px; }
  .yidx { position: static; }
  .yidx ol { display: flex; overflow-x: auto; border-top: 0; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .yidx a { border: 1.5px solid var(--ink); gap: 8px; padding: 4px 10px; white-space: nowrap; }
  .pub { grid-template-columns: 38px minmax(0, 1fr); }
  .pub__btns { grid-column: 2; align-self: start; }
  .pub__no { font-size: 1.25rem; }
}

/* 과제 */
.bigtabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid var(--line); }
.bigtabs a { padding: 16px 8px; text-align: center; font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 700; text-decoration: none; color: var(--ink-2); border-bottom: 5px solid transparent; margin-bottom: -2px; }
.bigtabs a .num { font-size: .8em; margin-left: 4px; }
.bigtabs a[aria-current] { color: var(--brick-ink); border-bottom-color: var(--brick); font-weight: 800; }
.prjs { }
.prj { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.prj__no { font-size: .875rem; color: var(--ink-2); font-weight: 700; padding-top: 3px; }
.prj__t { font-size: 1.125rem; font-weight: 800; line-height: 1.45; }
.prj__dl { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 6px; font-size: .9375rem; }
.prj__dl > div { display: flex; gap: 8px; }
.prj__dl dt { color: var(--ink-2); }
.prj__dl dt::after { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--line); margin-left: 8px; vertical-align: -1px; }
.prj__dl dd { font-weight: 600; }
.prj__tag { padding-top: 4px; }
@media (max-width: 640px) { .prj { grid-template-columns: 30px minmax(0, 1fr); } .prj__tag { grid-column: 2; } }

/* 토스트·등장 */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 1000; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; background: var(--ink); color: #fff; font-size: .9375rem; font-weight: 600; border-left: 6px solid var(--sun); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
html.has-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.has-motion .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pcard__in { transition: none; }
  .pcard__face { backface-visibility: visible; }
  .pcard__back { transform: none; opacity: 0; transition: opacity .2s; }
  .pcard.is-flipped .pcard__in, .pcard:hover .pcard__in { transform: none !important; }
  .pcard.is-flipped .pcard__back, .pcard:hover .pcard__back { opacity: 1; }
  .mega { transition: opacity .1s; transform: none; }
  * { scroll-behavior: auto !important; }
}

@media (max-width: 860px) {
  .plan-wrap { grid-template-columns: 1fr; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__fig { order: 2; }
}
