/* =========================================================================
   DLight Commuz — Design System
   색상 · 글꼴 · 간격은 아래 :root 에서 한 번에 바꿀 수 있습니다.
   ========================================================================= */

:root {
  /* Color — 명함의 Deep Navy(#00173C)와 Warm Ivory */
  --navy: #00173c;
  --navy-deep: #000f29;
  --navy-soft: #13295a;
  --ivory: #f6f1e7;
  --paper: #fbf8f2;
  --ink: #00173c;
  --ink-muted: #505b76;
  --mist: #a8b2c7;
  --rule: rgba(0, 23, 60, 0.16);
  --rule-strong: rgba(0, 23, 60, 0.4);
  --rule-inv: rgba(246, 241, 231, 0.2);
  --rule-inv-strong: rgba(246, 241, 231, 0.55);

  /* Type */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --fs-display: clamp(3rem, 10.5vw, 9rem);
  --fs-h1: clamp(2.5rem, 7vw, 5.75rem);
  --fs-h2: clamp(2rem, 5vw, 4rem);
  --fs-h3: clamp(1.25rem, 2.2vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1.6vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  /* Space */
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --section: clamp(80px, 12vw, 168px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss06";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; 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: 100; background: var(--ivory); color: var(--navy); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Section surfaces ---------- */
.surface-navy { background: var(--navy); color: var(--ivory); }
.surface-deep { background: var(--navy-deep); color: var(--ivory); }
.surface-ivory { background: var(--ivory); color: var(--ink); }
.surface-paper { background: var(--paper); color: var(--ink); }
.section { padding-block: var(--section); }

/* ---------- Typography helpers ---------- */
.label {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.surface-navy .label, .surface-deep .label { color: var(--mist); }
.surface-ivory .label, .surface-paper .label { color: var(--ink-muted); }

.display {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }
.h2 { font-size: var(--fs-h2); font-weight: 750; letter-spacing: -0.035em; line-height: 1; }
.h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.lead { font-size: var(--fs-lead); line-height: 1.8; max-width: 34em; }
.muted { color: var(--ink-muted); }
.surface-navy .muted, .surface-deep .muted { color: var(--mist); }
.num { font-variant-numeric: tabular-nums; }

/* Section heading row: big English title + rule */
.sec-head {
  display: grid;
  gap: 20px;
  padding-bottom: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--rule-strong);
}
.surface-navy .sec-head, .surface-deep .sec-head { border-color: var(--rule-inv-strong); }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- Buttons: square, hairline ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 0 22px;
  border: 1px solid var(--b);
  background: transparent;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn .arrow { display: inline-block; width: 22px; height: 1px; background: currentColor; position: relative; transition: width 0.25s var(--ease); }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 32px; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--navy-soft); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.surface-navy .btn, .surface-deep .btn { --b: var(--ivory); }
.surface-navy .btn--solid, .surface-deep .btn--solid { background: var(--ivory); color: var(--navy); }
.surface-navy .btn--solid:hover, .surface-deep .btn--solid:hover { background: #fff; }
.surface-navy .btn--line:hover, .surface-deep .btn--line:hover { background: var(--ivory); color: var(--navy); }

.text-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  padding-block: 6px; border-bottom: 1px solid currentColor;
}
.text-link .arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width 0.25s var(--ease); }
.text-link .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.text-link:hover .arrow { width: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--ivory);
  border-bottom: 1px solid var(--rule-inv);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 22px; width: auto; }
@media (min-width: 900px) { .brand img { height: 26px; } }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--rule-inv-strong); padding: 8px 14px; cursor: pointer;
  font-size: var(--fs-label); letter-spacing: 0.18em; font-weight: 600; text-transform: uppercase;
}
.nav-toggle .bars { width: 16px; height: 8px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav a {
  text-decoration: none; font-weight: 600; letter-spacing: 0.14em; font-size: 0.8125rem;
  position: relative; padding-block: 6px;
}
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right 0.3s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
@media (max-width: 899px) {
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--navy);
    border-bottom: 1px solid var(--rule-inv);
    padding: 12px var(--gutter) 32px;
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav li { border-bottom: 1px solid var(--rule-inv); }
  .site-nav a { display: block; padding-block: 18px; font-size: 1.25rem; letter-spacing: 0.08em; }
  .site-nav a::after { display: none; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav ul { flex-direction: row; gap: clamp(24px, 3vw, 44px); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 10vw, 140px) clamp(72px, 10vw, 150px); }
.hero .wrap { position: relative; z-index: 1; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: clamp(32px, 5vw, 56px); }
.hero .display { margin-bottom: clamp(40px, 6vw, 72px); }
.hero .display .thin { font-weight: 300; }
.hero-body { display: grid; gap: 36px; border-top: 1px solid var(--rule-inv-strong); padding-top: 32px; }
.hero-body .lead { color: var(--ivory); }
@media (min-width: 900px) {
  .hero-body { grid-template-columns: 5fr 7fr; align-items: end; }
  .hero-body .btn-row { justify-content: flex-end; }
}
.bridge { position: absolute; right: 0; bottom: 0; width: min(62vw, 820px); height: auto; pointer-events: none; opacity: 0.55; }
.bridge path, .bridge line { stroke: var(--mist); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }

.page-hero { padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero .h1 { margin-top: 20px; }
.page-hero .lead { margin-top: 28px; }
.page-hero .bridge { opacity: 0.35; width: min(52vw, 640px); }

/* ---------- What We Do ---------- */
.what-list li {
  display: grid; gap: 10px 32px;
  padding-block: clamp(24px, 3.2vw, 40px);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.35s var(--ease);
}
.what-list .idx { font-size: var(--fs-small); font-weight: 600; color: var(--ink-muted); }
.what-list h3 { font-size: clamp(1.5rem, 3.4vw, 2.75rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.what-list p { color: var(--ink-muted); max-width: 32em; }
@media (min-width: 900px) {
  .what-list li { grid-template-columns: 80px 1.1fr 1fr; align-items: baseline; }
  .what-list li:hover { padding-left: 12px; }
}

/* ---------- Education (list rows) ---------- */
.split { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 1000px) { .split { grid-template-columns: 5fr 7fr; align-items: start; } }
.photo-frame { position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.85); }
.photo-frame figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-muted); }
.edu-rows li {
  display: grid; grid-template-columns: 64px 1fr; gap: 4px 20px;
  padding-block: 22px; border-bottom: 1px solid var(--rule);
}
.edu-rows li:first-child { border-top: 1px solid var(--rule-strong); }
.edu-rows .yr { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-muted); grid-row: span 2; padding-top: 2px; }
.edu-rows .t { font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.edu-rows .c { color: var(--ink-muted); font-size: var(--fs-small); }
@media (min-width: 700px) {
  .edu-rows li { grid-template-columns: 72px 1fr minmax(180px, 34%); align-items: baseline; }
  .edu-rows .yr { grid-row: auto; }
  .edu-rows .c { text-align: right; }
}
.after-list { margin-top: 40px; }

/* ---------- Video cards ---------- */
.video-grid { display: grid; gap: clamp(40px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.vcard { display: flex; flex-direction: column; gap: 18px; }
.vthumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  background: var(--navy-soft); overflow: hidden; cursor: pointer;
}
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.3s; }
.vthumb:hover img { transform: scale(1.03); }
.vthumb .play {
  position: absolute; left: 16px; bottom: 16px; width: 52px; height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 50%;
  background: rgba(0, 15, 41, 0.55);
  display: grid; place-items: center;
  transition: background 0.25s var(--ease);
}
.vthumb .play::before { content: ""; margin-left: 4px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.vthumb:hover .play { background: rgba(0, 15, 41, 0.85); }
.vthumb--locked img { filter: blur(6px) saturate(0.6); transform: scale(1.08); }
.vthumb--locked:hover img { transform: scale(1.1); }
.vthumb .lock {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px;
  background: var(--ivory); color: var(--navy); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em;
}
.vthumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmeta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; }
.surface-navy .vmeta, .surface-deep .vmeta { color: var(--mist); }
.surface-paper .vmeta, .surface-ivory .vmeta { color: var(--ink-muted); }
.vcard h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.vcard p { font-size: var(--fs-small); line-height: 1.7; }
.surface-navy .vcard p, .surface-deep .vcard p { color: var(--mist); }
.vtags { display: flex; flex-wrap: wrap; gap: 6px; }
.vtags span { font-size: 0.75rem; padding: 2px 8px; border: 1px solid var(--rule); color: var(--ink-muted); }
.surface-navy .vtags span { border-color: var(--rule-inv); color: var(--mist); }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter button {
  background: none; border: 1px solid var(--rule-strong); padding: 8px 14px; cursor: pointer;
  font-size: 0.875rem; font-weight: 600;
}
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Placeholder ([콘텐츠 필요]) ---------- */
.placeholder {
  display: grid; place-content: center; gap: 6px; text-align: center;
  min-height: 160px; padding: 24px;
  border: 1px dashed var(--rule-strong);
  font-size: var(--fs-small); color: var(--ink-muted);
}
.placeholder strong { font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.surface-navy .placeholder, .surface-deep .placeholder { border-color: var(--rule-inv-strong); color: var(--mist); }
.surface-navy .placeholder strong, .surface-deep .placeholder strong { color: var(--ivory); }
.vcard .placeholder { aspect-ratio: 16 / 9; min-height: 0; }

/* ---------- About (home + page) ---------- */
.about-grid { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 1000px) { .about-grid { grid-template-columns: 7fr 5fr; align-items: start; } }
.statement { font-size: clamp(1.375rem, 2.6vw, 2.125rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.5; }
.statement + p { margin-top: 28px; }
.profile-card { display: grid; gap: 24px; grid-template-columns: minmax(0, 150px) 1fr; align-items: end; border-top: 1px solid var(--rule-strong); padding-top: 28px; }
.profile-card img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; width: 100%; background: #dfe5ee; }
.profile-card .name { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.profile-card .ttl { font-size: var(--fs-small); font-weight: 600; margin-top: 4px; }
.profile-card .role, .profile-card .edu { font-size: var(--fs-small); color: var(--ink-muted); line-height: 1.6; }
.profile-card .role { margin-top: 14px; }
@media (min-width: 560px) { .profile-card { grid-template-columns: 180px 1fr; } }

.principles { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.principles li { display: grid; gap: 12px; padding-block: 32px; border-bottom: 1px solid var(--rule); }
.principles h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; }
.principles p { color: var(--ink-muted); max-width: 36em; }
@media (min-width: 900px) { .principles li { grid-template-columns: 5fr 7fr; gap: 48px; align-items: baseline; } }

.profile-detail { display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 1000px) { .profile-detail { grid-template-columns: 4fr 8fr; } }
.profile-detail .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; background: #dfe5ee; }
.profile-name { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.dl-block { margin-top: 48px; }
.dl-block > h3 { margin-bottom: 8px; }
.dl-rows li { display: grid; grid-template-columns: 104px 1fr; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.dl-rows li:first-child { border-top: 1px solid var(--rule-strong); }
.dl-rows .k { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.dl-rows.wide li { grid-template-columns: 140px 1fr; }
.dl-rows li:has(.k:empty) { grid-template-columns: 1fr; }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.clients li { padding: 6px 12px; border: 1px solid var(--rule-strong); font-size: var(--fs-small); }
@media (max-width: 520px) { .dl-rows.wide li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Education page ---------- */
.fields { display: grid; border-top: 1px solid var(--rule-strong); }
.fields li { display: grid; gap: 10px 40px; padding-block: clamp(28px, 3.5vw, 44px); border-bottom: 1px solid var(--rule); }
.fields .en { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.fields .ko { font-size: var(--fs-small); font-weight: 600; color: var(--ink-muted); margin-top: 8px; }
.fields .outcome { font-size: var(--fs-lead); line-height: 1.75; max-width: 30em; }
.fields .who { margin-top: 12px; font-size: 0.875rem; color: var(--ink-muted); }
.fields .who b { font-weight: 600; color: var(--ink); margin-right: 8px; }
@media (min-width: 900px) { .fields li { grid-template-columns: 5fr 7fr; } }

/* Collage: 현장 강의 / 온라인 강의 */
.field-block + .field-block { margin-top: clamp(56px, 7vw, 96px); }
.field-block .sub-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.field-block .sub-head h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 750; letter-spacing: -0.035em; }
.collage { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; grid-auto-flow: dense; gap: 8px; }
.collage .tile { position: relative; overflow: hidden; background: #dfe3ea; }
.collage .tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.88); transition: transform 0.6s var(--ease); }
.collage .tile:hover img { transform: scale(1.03); }
.collage figcaption {
  position: absolute; left: 0; bottom: 0; padding: 6px 10px;
  background: var(--navy); color: var(--ivory); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
}
.collage .placeholder { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .collage { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .collage--offline .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .collage--offline .tile:nth-child(3) { grid-row: span 2; }
  .collage--offline .tile:nth-child(6) { grid-column: span 2; }
  .collage--offline .tile:nth-child(9) { grid-column: span 3; }
  .collage--online { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 300px; }
}
@media (min-width: 1100px) { .collage { grid-auto-rows: 210px; } }

.timeline { display: grid; gap: 0; }
.timeline .year-group { display: grid; gap: 8px 40px; padding-block: 32px; border-top: 1px solid var(--rule-strong); }
.timeline .y { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.timeline ul li { display: grid; gap: 2px 24px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.timeline ul li:last-child { border-bottom: 0; }
.timeline .t { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; }
.timeline .c { color: var(--ink-muted); font-size: var(--fs-small); }
@media (min-width: 800px) {
  .timeline .year-group { grid-template-columns: 200px 1fr; }
  .timeline ul li { grid-template-columns: 1fr minmax(200px, 40%); align-items: baseline; }
  .timeline .c { text-align: right; }
}
.timeline .cat { display: inline-block; margin-right: 10px; padding: 1px 7px; border: 1px solid var(--rule-strong); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; vertical-align: 2px; color: var(--ink-muted); }
.timeline .d { display: block; font-weight: 400; font-size: var(--fs-small); color: var(--ink-muted); margin-top: 2px; }
details.more-history { margin-top: 0; }
details.more-history summary { align-items: center; }
details.more-history[open] summary .text-link { opacity: 0.5; }
details.more-history summary { cursor: pointer; list-style: none; }
details.more-history summary::-webkit-details-marker { display: none; }

/* ---------- Contact ---------- */
.cta-block .h1 { margin-block: 20px 28px; }
.contact-lines { display: grid; gap: 0; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--rule-inv-strong); }
.contact-lines li { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--rule-inv); }
.contact-lines .k { font-weight: 700; color: var(--mist); }
.contact-lines .v { font-size: clamp(1.0625rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; }
.contact-lines .v a { text-decoration: none; }
.contact-lines .v a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy-btn {
  background: none; border: 1px solid var(--rule-inv-strong); padding: 6px 12px; cursor: pointer;
  font-size: 0.75rem; letter-spacing: 0.12em; font-weight: 600; text-transform: uppercase;
}
.surface-paper .copy-btn, .surface-ivory .copy-btn { border-color: var(--rule-strong); }
.copy-btn:hover { background: var(--ivory); color: var(--navy); }
.surface-paper .copy-btn:hover, .surface-ivory .copy-btn:hover { background: var(--ink); color: var(--paper); }
@media (min-width: 900px) { .contact-lines { grid-template-columns: repeat(3, 1fr); column-gap: 32px; } .contact-lines li { grid-template-columns: 32px 1fr auto; } }

.inquiry-grid { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.inquiry-grid article { display: grid; gap: 20px; padding-block: 40px; border-bottom: 1px solid var(--rule); }
.inquiry-grid ol { counter-reset: g; display: grid; gap: 10px; }
.inquiry-grid ol li { counter-increment: g; display: grid; grid-template-columns: 32px 1fr; color: var(--ink-muted); }
.inquiry-grid ol li::before { content: counter(g, decimal-leading-zero); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); font-size: 0.875rem; padding-top: 2px; }
@media (min-width: 900px) {
  .inquiry-grid { grid-template-columns: 1fr 1fr; column-gap: 64px; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 40px; font-size: var(--fs-small); }
.site-footer .top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--rule-inv); }
.site-footer .brand img { height: 24px; }
.site-footer .slogan { margin-top: 16px; color: var(--mist); }
.site-footer .cols { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.site-footer h4 { font-size: var(--fs-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); font-weight: 600; margin-bottom: 12px; }
.site-footer li + li { margin-top: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; color: var(--mist); font-size: 0.8125rem; }
@media (min-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }

/* ---------- Motion (very light) ---------- */
.reveal-pending { opacity: 0; transform: translateY(14px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-pending { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; }
}

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--ivory); color: var(--navy); padding: 12px 20px; font-size: 0.875rem; font-weight: 600;
  border: 1px solid var(--navy); z-index: 90;
}
@media (max-width: 759px) { .collage .tile:last-child:nth-child(odd) { grid-column: span 2; } }
.timeline > .year-group:first-child { border-top: 0; padding-top: 0; }
