/* Material surfaces and family colors used by the renewed GODWIZ prototype. */
:root {
  --page: #faf9ff;
  --ink: #202038;
  --title: #181831;
  --muted: #505267;
  --accent: #514198;
  --accent-deep: #372774;
  --tonal: #e7defb;
  --wash: #f0eef8;
  --mint: #e1f2eb;
  --line: #dedbea;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 10px 30px #241a5114, 0 2px 6px #241a510d;
  --wrap: 1600px;
  --pad: clamp(20px, 4.5vw, 79px);
  --section: clamp(57px, 7.7vw, 100px);
  color: var(--ink);
  background: var(--page);
  font-family: Pretendard, "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  scroll-padding-top: 104px;
}
[data-family="people"] { --accent:#874528; --accent-deep:#6a311b; --tonal:#ffdecb; --wash:#fbf1eb; --line:#eadbd2; }
[data-family="reviews"] { --accent:#305d91; --accent-deep:#1c4979; --tonal:#d9e9fc; --wash:#edf4fc; --line:#d4dfef; }
[data-family="guides"] { --accent:#24614e; --accent-deep:#154d3c; --tonal:#ccefe0; --wash:#eaf5ef; --line:#d2e5dc; }
[data-family="lab"] { --accent:#5a449e; --accent-deep:#453286; --tonal:#e8defd; --wash:#f0eafa; --line:#e1d8ef; }
[data-family="work"] { --accent:#3b558f; --accent-deep:#283e73; --tonal:#dde5ff; --wash:#eff2fa; --line:#d9dff0; }
[data-family="about"] { --accent:#704165; --accent-deep:#5a3151; --tonal:#f9dff1; --wash:#f9f0f6; --line:#eadce6; }
body { min-width: 0; }
h1,h2,h3,p,dd,li { word-break: keep-all; overflow-wrap: anywhere; }
h1,h2,h3 { letter-spacing: -.035em; line-height: 1.27; }
h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 2.75vw, 2.45rem); font-weight: 780; }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.45rem); }
.section-head { margin-bottom: clamp(22px, 3vw, 38px); }
.section-head > div { max-width: 64ch; }
.section-head p { color: var(--muted); }
.site-header { top: 0; background: #faf9fff5; backdrop-filter: blur(16px); border-color: #e6e3ef; }
.masthead { min-height: 76px; }
.brand { gap: 10px; font-weight: 800; font-size: 1.48rem; }
.brand-mark { width: 33px; height: 33px; border-radius: 50%; background: var(--accent); }
.brand-mark::before { inset: 8px 15px 8px 15px; }
.brand-mark::after { inset: 12px 9px 18px 9px; }
.primary-nav > ul { gap: clamp(3px,.52vw,11px); }
.nav-label { border-radius: 24px; padding-inline: 9px 4px; transition: background .18s; }
.nav-label > a { padding: 11px 4px; font-size: .9rem; }
.nav-label:hover, .nav-group.is-open > .nav-label { background: var(--wash); }
.nav-group.is-current .nav-label { background: var(--tonal); color: var(--accent-deep); }
.nav-toggle { border-radius: 20px; width: 23px; }
.submenu { top: calc(100% + 1px); padding: 9px; border-radius: 16px; background: var(--page); }
.submenu a { padding: 9px 14px; }
.search-link { display: inline-flex; align-items: center; gap: 8px; border-radius: 24px; min-height: 42px; padding-inline: 14px; color: var(--accent-deep); background: var(--tonal); }
.search-link::before { content:""; width: 14px; height: 14px; border: 1.7px solid currentColor; border-radius: 50%; }
.search-link:hover { background: var(--wash); }
.button { min-height: 48px; border-radius: 24px; padding: 10px 20px; }
.button-outline { background: #ffffffb8; color: var(--accent-deep); border-color: color-mix(in srgb, var(--accent) 47%, white); }
.button-light { background: #f4f5ff; color: #222d51; }
.button-small { min-height: 42px; padding: 8px 14px; }
.filter-pill { min-height: 36px; background: #fff; padding: 5px 13px; }
.filter-pill.selected { color: var(--accent-deep); background: var(--tonal); border-color: var(--tonal); }
.filter-pill:hover:not(.selected) { background: var(--wash); color: var(--accent-deep); border-color: var(--accent); }
.tag { color: var(--accent-deep); background: var(--tonal); border-radius: 30px; font-size: 0.965rem; padding: 5px 10px; }
.card[data-type="people"] .tag { background:#ffdecb; color:#6a311b; }
.card[data-type="reviews"] .tag { background:#d9e9fc; color:#1c4979; }
.card[data-type="guides"] .tag { background:#ccefe0; color:#154d3c; }
.card[data-type="lab"] .tag { background:#e8defd; color:#453286; }
.card[data-type="work"] .tag { background:#dde5ff; color:#283e73; }

.section + .section:not(.tint):not(.developer-band) { padding-top: clamp(30px, 5vw, 73px); }
.section.tint + .section { padding-top: var(--section) !important; }
.section.quick-section { padding-block: 26px clamp(30px,5.5vw,67px) !important; }
.section.tint { background: var(--wash); }
.section.material-home-hero { padding-block: clamp(22px,3.5vw,48px) 0; }
.home-canvas { background: #ebe4fa; border-radius: clamp(26px,4vw,52px); padding: clamp(18px,2.5vw,34px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px,3vw,48px); }
.home-intro { padding: clamp(14px,3vw,52px); padding-right: 0; animation: enter .54s ease-out both; }
.home-enterprise { font-size: .91rem; color:#483381; font-weight: 780; margin-bottom: 14px; }
.home-intro h1 { font-size: clamp(2.45rem, 4.05vw, 4.1rem); line-height:1.22; letter-spacing:-.06em; text-wrap: initial; }
.home-intro h1 span { color:#574097; }
.home-intro h1 + p { color: var(--muted); font-size: clamp(1.04rem,1.55vw,1.2rem); margin: 20px 0 24px; max-width: 41ch; }
.home-visual { margin: 0; min-width: 0; position: relative; }
.home-visual img { aspect-ratio: 4/3; border-radius: clamp(20px,3vw,38px); min-height: 235px; object-position: 56% 46%; }
.home-visual figcaption { position: absolute; inset: auto 13px 13px auto; display: flex; }
.home-visual figcaption a { background: #fbf8ffef; color: #372774; padding: 7px 13px; border-radius: 30px; font-size:.88rem; font-weight:750; box-shadow: var(--shadow); }
.home-visual figcaption a:hover { background:#fff; text-decoration: underline; }
.material-intents { gap: 12px; }
.material-intents .quick-card { padding: clamp(14px, 1.8vw, 23px); align-items: flex-start; border-radius: 24px; background:#f2edf9; color:var(--ink); }
.material-intents .quick-card:nth-child(2) { background:#eaf2fc; }
.material-intents .quick-card:nth-child(3) { background:#e8f3ed; }
.material-intents .quick-card:nth-child(4) { background:#fff0e5; }
.material-intents .quick-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.material-intents .quick-card strong { font-size: 1.02rem; line-height: 1.35; }
.material-intents .quick-card small { font-size: .9rem; margin-top: 6px; }
.material-intents .quick-icon { width:37px; height:37px; border:0; border-radius: 50%; }
.material-spotlight { background:#eee9fa; }
.spotlight-grid { display: grid; grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr); gap: clamp(18px,3vw,38px); }
.spotlight-grid > img { aspect-ratio: 16/10; height: auto; min-width:0; background:#e2daf4; border-radius:28px; }
.spotlight-links { display: grid; align-content: stretch; grid-template-columns:repeat(2,minmax(0,1fr)); gap: 10px; }
.spotlight-links a { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:6px; padding: clamp(14px,2vw,25px); border-radius:20px; background:#faf8ff; border:1px solid #e1d9ee; }
.spotlight-links strong { color:#372774; font-size:1.05rem; }
.spotlight-links span { color:var(--muted); font-size:.94rem; }
.spotlight-links a:hover { background:#fff; box-shadow:var(--shadow); }
.collection-people .home-people { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.collection-review { background:#ecf3fc !important; }
.collection-review .section-head h2 { color:#233d66; }
.collection-guides .section-head { justify-content:center; text-align:center; flex-direction:column; align-items:center; }
.collection-work .card-media img { aspect-ratio: 2/1; object-fit: contain; background:#eef2fa; }
.process-track { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.process-track article { padding:22px; background:#eee8fa; border:1px solid #ded4f0; border-radius:20px; }
.process-track article:nth-child(2) { background:#e8defb; }
.process-track article:nth-child(3) { background:#e1d5f8; }
.process-track p { margin: 7px 0 0; color:var(--muted); }
.material-process { background:#faf7ff; }
.developer-band { background:#293550; }

.hero, .detail-heading { background:var(--wash); }
.hero-simple .container > .button-row { margin-top:23px; }
.hero-simple .container p { width:min(100%,62ch); }
.crumbs { font-size:0.995rem; }
.hero-grid { gap:clamp(22px,4.4vw,76px); }
.hero-copy { padding-block:clamp(44px,5.8vw,95px); }
.hero-media { border-radius:26px; margin-block: clamp(15px,3vw,44px); }
.dark-hero { background:#202d49; color:white; }
.dark-hero h1,.dark-hero .crumbs { color:#fff; }
.dark-hero p { color:#e3ebff; }
.dark-hero .button:not(.button-light) { background:#d9e3ff; color:#283e73; }
.dark-hero .button:not(.button-light):hover { background:white; color:#283e73; }
.portfolio-hero .hero-media { min-height: 275px; margin-block: 30px; }
.portfolio-feature .case-feature { padding: clamp(15px,3vw,39px); border-radius:28px; background:var(--wash); border:1px solid var(--line); }
.portrait-hero { background:#fbf1eb; }
.portrait-stage { display:grid; grid-template-columns:minmax(0, .88fr) minmax(0,1.12fr); gap:clamp(21px,5vw,70px); align-items:stretch; }
.portrait-text { padding:10px 0; }
.portrait-text > p { color:var(--muted); margin:12px 0 24px; max-width:43ch; }
.portrait-text article { padding:clamp(16px,2.7vw,35px); background:#fffaf7; border-radius:26px; border:1px solid #f1ddd1; }
.portrait-text h2 { margin:9px 0; font-size:clamp(1.38rem,2.38vw,2rem); }
.portrait-text article p { color:var(--muted); }
.portrait-stage > img { min-height:280px; border-radius:31px; object-position:55% 40%; }
.review-heading { background:linear-gradient(108deg,#dfedff,#f4f8ff 72%); }
.review-directory .review-filters { background:#e8f1fc; border-radius:20px; top:100px; }
.review-directory .review-list { gap:16px; }
.filter-hint { border-top:1px solid var(--line); padding-top:14px; margin-top:18px; }
.filter-hint h3 { font-size:1rem; }
.filter-hint p { margin:7px 0; font-size:.91rem; color:var(--muted); }
.course-hero { background:#dcefe5; }
.course-feature .step-grid { gap: 14px; }
.course-feature .step { background:#edf7f1; }
.course-feature .step:nth-child(2) { background:#e5f3ea; }
.course-feature .step:nth-child(3) { background:#daefe2; }
.lab-board { background:#efe7fb; }
.lab-board-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:clamp(24px,5vw,68px); align-items:center; }
.lab-board-grid h1 + p { margin:17px 0 23px; color:var(--muted); font-size: 1.14rem; max-width:45ch; }
.lab-board-result { padding:12px; background:#e1d5f6; border-radius:26px; }
.lab-board-result img { height:auto; aspect-ratio:16/9; border-radius:17px; background:#f5efff; }
.lab-board-result p { margin:8px 5px 0; color:#443568; font-size:.9rem; }
.lab-stages { margin-top:clamp(18px,3vw,34px); display:grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style:none; padding:0; gap:9px; }
.lab-stages li { background:#fbf8ff; color:#453286; text-align:center; padding:10px 9px; border-radius:14px; border:1px solid #e1d8ef; font-weight:730; }
.about-heading { background:#f9f0f6; }
.about-intro { text-align:center; max-width:62ch; margin:12px auto 30px; }
.about-intro p { color:var(--muted); margin:15px 0 0; font-size:1.14rem; }
.about-wide { width:min(100%,880px); margin-inline:auto; }
.about-wide img { aspect-ratio: 2.3/1; border-radius:30px; object-position:50% 47%; }
.about-roles > article { border-radius:22px; border:1px solid var(--line); background:#fff; padding:20px; }
.about-roles p { margin:8px 0 0; color:var(--muted); }

.card { border-radius:24px; box-shadow:0 2px 4px #21194b07; }
.card:hover { box-shadow:var(--shadow); }
.card-media, .featured, .form-aside { background: var(--wash); }
.card-body { padding:clamp(15px,2vw,25px); }
.card-body p { font-size:.98rem; }
.card-media img.fit { background:var(--wash); }
.home-people-list .card.horizontal img, .home-review-list .card.horizontal img { max-height: 180px; }
.step { border-radius:24px; }
.step-number { background:var(--tonal); color:var(--accent-deep); width:34px; min-width:34px; height:34px; }
.file-row { border-radius:18px; }
.form-aside, .form-panel { border-radius:28px; }
.panel { border-radius:24px; }
.announce { background:var(--tonal); border-radius:30px; }
.filter-bar,.compare-controls { border-radius:21px; }
.compare-controls { padding:18px; background:var(--wash); border:1px solid var(--line); }
.review-filters { padding:16px; }
.toc a:hover { background:var(--tonal); }
.site-footer { background:#26243d; }
.site-footer .brand-mark { background:#7463ad; }

.detail-heading.section { padding-block:clamp(30px,4vw,56px); }
.detail-heading h1 { font-size:clamp(2.02rem,3.7vw,3.4rem); }
.detail-heading p { margin-top:12px; }
.editorial-main.section { padding-top:clamp(22px,3.5vw,53px) !important; }
.editorial-renewed { display:grid; grid-template-columns:minmax(154px,213px) minmax(0,1fr); gap:clamp(20px,4vw,58px); }
.editorial-renewed > .editorial-summary { grid-column:1 / -1; padding:0; border-radius:30px; background:var(--wash); overflow:hidden; }
.editorial-summary.has-visual { display:grid; grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr); align-items:stretch; }
.editorial-summary.has-visual > img { height:100%; min-height:210px; max-height:420px; }
.editorial-intent { padding:clamp(20px,3.3vw,45px); }
.editorial-intent > p { color:var(--ink); font-size:clamp(1.05rem,1.42vw,1.18rem); max-width:65ch; margin:7px 0 15px; }
.editorial-summary-message { border-radius:16px; border-color:var(--line); background:var(--tonal); }
.editorial-summary-message p { color:var(--ink); max-width:65ch; }
.editorial-intent > a { margin-top:13px; }
.editorial-renewed .editorial-toc { background:var(--wash); border-radius:21px; }
.editorial-renewed .editorial-toc a { padding-block:8px; }
.editorial-renewed .article-content { width:100%; min-width:0; }
.editorial-renewed .article-content h2 { font-size:clamp(1.45rem,2.25vw,2.12rem); }
.editorial-renewed .article-content > section + section { margin-top:clamp(41px,5.3vw,76px); }
.editorial-renewed .article-content p { font-size:1rem; line-height:1.78; }
.editorial-renewed .editorial-section > p { max-width:70ch; }
.editorial-renewed .editorial-note { background:var(--wash); border:1px solid var(--line); border-radius:20px; }
.editorial-renewed .editorial-facts,.editorial-renewed .editorial-panel { border-radius:18px; }
.editorial-people .editorial-summary.has-visual > img { object-position:63% 47%; }
.editorial-reviews .editorial-intent,.editorial-lab .editorial-intent { width:min(100%,1000px); }
.editorial-guides .guide-facts { display:grid; grid-template-columns:1fr 1fr; gap:8px 26px; }
.editorial-guides .guide-facts .fact { grid-template-columns:1fr; gap:4px; }
.editorial-guides .guide-facts .fact:nth-child(2) { border-top:0; }
.editorial-lab { grid-template-columns:minmax(0,1fr); }
.editorial-lab .editorial-toc { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:6px 9px; z-index:1; }
.editorial-lab .editorial-toc h2 { margin-right:8px; font-size:.97rem; }
.editorial-lab .editorial-toc a { background:#fff; border-radius:100px; border:1px solid var(--line); }
.editorial-lab .editorial-toc a:hover { background:var(--tonal); }
.editorial-work .editorial-summary.has-visual { background:#eef2fc; }
.worked-example { padding:clamp(17px,2.9vw,37px); background:var(--wash); border:1px solid var(--line); border-radius:26px; }
.worked-example > p { color:var(--ink); font-weight:650; margin-bottom:15px; }
.worked-example dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.worked-example .fact { display:block; padding:14px 15px; background:var(--white); border:1px solid var(--line); border-radius:16px; }
.worked-example .fact:last-child { background:var(--tonal); border-color:transparent; }
.worked-example dt { color:var(--accent-deep); margin-bottom:5px; }
.worked-example dd { color:var(--ink); }
.editorial-people .worked-example dl,.editorial-reviews .worked-example dl { grid-template-columns:1fr; }
.editorial-people .worked-example .fact,.editorial-reviews .worked-example .fact { display:grid; grid-template-columns:minmax(105px,.24fr) minmax(0,1fr); gap:10px; }
.editorial-work .worked-example dl { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.editorial-work .worked-example .fact:last-child { grid-column:1 / -1; }
.editorial-table-wrap { border-radius:18px; }
.editorial-table thead th { color:var(--accent-deep); background:var(--tonal); }

.admin-view { background:#f3f1f9; grid-template-columns:235px minmax(0,1fr); }
.admin-sidebar { background:#30264e; padding:24px 15px; }
.admin-sidebar nav a { border-radius:100px; padding:8px 13px; }
.admin-sidebar nav a[aria-current="page"] { background:#e7ddfc; color:#382b62; font-weight:750; }
.admin-progress { min-height:55px; border-radius:100px; align-items:center; }
.admin-progress li::before { min-width:30px; height:30px; }
.admin-form legend { font-size:1.23rem; }
.admin-result .tabs button { border-radius:100px; padding:8px 12px; }
.choice-grid label { border-radius:18px; }
.studio-output dl > div { border-radius:14px; }

@media (max-width:1100px) {
  .nav-label { padding-inline:5px 2px; }
  .nav-label > a { padding-inline:2px; }
}
@media (max-width:915px) {
  .nav-label { border-radius:15px; }
  .nav-label > a { padding:9px 11px; }
  .primary-nav { background:var(--page); }
  .masthead { min-height:64px; }
  .nav-toggle { width:43px; }
  .admin-view { grid-template-columns:174px minmax(0,1fr); }
  .collection-people .home-people { grid-template-columns:minmax(0,1fr); }
  .editorial-renewed { grid-template-columns:minmax(0,1fr); gap:17px; }
}
@media (max-width:740px) {
  .home-canvas,.portrait-stage,.spotlight-grid,.lab-board-grid,.editorial-summary.has-visual { grid-template-columns:minmax(0,1fr); }
  .home-intro { padding:13px 12px 4px; }
  .home-intro h1 { font-size:clamp(2.05rem,7vw,3.2rem); }
  .home-intro h1 + p { margin:11px 0 18px; }
  .home-visual img { min-height:170px; aspect-ratio:16/10; }
  .portrait-stage > img { min-height:0; aspect-ratio:16/11; }
  .hero-media { margin-block:0 20px; }
  .portfolio-hero .hero-media { min-height:0; margin-block:0 20px; }
  .process-track,.worked-example dl,.editorial-work .worked-example dl { grid-template-columns:minmax(0,1fr); }
  .worked-example .fact { padding:12px; }
  .lab-stages { display:flex; flex-wrap:wrap; }
  .lab-stages li { flex:1 0 105px; }
  .editorial-summary.has-visual > img { min-height:0; height:auto; aspect-ratio:16/10; }
  .editorial-toc a { font-size:0.985rem; }
  .search-link { gap:5px; padding-inline:10px; font-size:0.985rem; }
  .search-link::before { width:11px; height:11px; }
}
@media (max-width:480px) {
  .admin-view { grid-template-columns:minmax(0,1fr); }
  .admin-progress { border-radius:17px; }
  .material-intents .quick-card { flex-direction:column; }
  .material-intents .quick-card small { font-size:0.995rem; }
  .home-visual figcaption { position:static; margin-top:8px; }
  .home-visual figcaption a { box-shadow:none; }
  .editorial-people .worked-example .fact,.editorial-reviews .worked-example .fact { grid-template-columns:1fr; gap:0; }
  .editorial-guides .guide-facts { grid-template-columns:1fr; }
  .editorial-guides .guide-facts .fact:nth-child(2) { border-top:1px solid var(--line); }
}
.home-intro h1 { font-size: clamp(2.15rem, 3.75vw, 3.65rem); }
.material-intents small { word-break:keep-all; overflow-wrap:anywhere; }
.search-link { position:relative; }
.search-link::after { content:""; position:absolute; width:5px; height:1.7px; left:24px; top:calc(50% + 5px); background:currentColor; border-radius:1px; transform:rotate(45deg); }
@media (max-width:740px) {
  .home-intro h1 { font-size:clamp(2.02rem,6.8vw,3.1rem); }
  .search-link::after { left:18px; top:calc(50% + 4px); width:4px; }
}
