/* ==========================================================================
   D.L.I. — Homepage (Edition 2026.09)
   Editorial Korean typography · navy & coral brand system · measured motion.
   Detail pages keep styles.css.
   ========================================================================== */

:root {
  /* Brand */
  --ink: #151b2a;            /* D.L.I. navy (logo) */
  --ink-soft: #2c3344;
  --coral: #d85b4d;          /* D.L.I. coral square */
  --coral-ink: #b4463a;      /* coral for text on light surfaces (AA) */

  /* Surfaces */
  --paper: #f5f2ec;
  --paper-2: #ece7de;
  --card: #fbfaf7;
  --night: #0f1420;
  --night-2: #171d2c;

  /* Text */
  --muted: #646977;
  --on-dark: #eeebe4;
  --on-dark-muted: rgba(238, 235, 228, .6);

  /* Lines */
  --line: rgba(21, 27, 42, .12);
  --line-strong: rgba(21, 27, 42, .28);
  --line-dark: rgba(238, 235, 228, .14);

  /* Type */
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
  --latin: 'Manrope', 'Pretendard Variable', Pretendard, system-ui, sans-serif;

  /* Motion & layout */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 80px;
  --radius: 2px;
  --section-pad: clamp(96px, 12vw, 176px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: -.012em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss06';
  overflow-x: clip;
}
h1, h2, h3, h4, h5, p, figure, ul, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.35; letter-spacing: -.04em; text-wrap: balance; }
p { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--coral); color: #fff; }
.container { width: min(calc(100% - var(--gutter) * 2), 1320px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; font-size: 14px; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }
.pictogram { display: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn-arrow { transform: translate(3px, 0); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-soft); }
.btn-coral { background: var(--coral-ink); color: #fff; }
.btn-coral:hover { background: #9c3b30; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--ink); background: rgba(21, 27, 42, .04); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
.btn-dot { width: 7px; height: 7px; background: currentColor; border-radius: 1px; flex-shrink: 0; }
.btn-coral .btn-dot { background: #fff; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s var(--ease), color .3s;
}
.text-link:hover { color: var(--coral-ink); background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  --progress: 0;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 242, 236, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background-color .4s, opacity .4s;
}
.site-header.scrolled::before { border-bottom-color: var(--line); background: rgba(245, 242, 236, .86); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; z-index: 2; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--coral); transform-origin: 0 50%; transform: scaleX(var(--progress)); }
.header-inner { position: relative; z-index: 3; display: flex; align-items: center; height: 100%; gap: 32px; }
.brand-link { margin-right: auto; flex-shrink: 0; width: 150px; overflow: hidden; }
.brand-logo { width: 280px; max-width: none; margin-left: -9px; transition: filter .4s; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color .3s;
}
.nav-num { font-family: var(--latin); font-size: 9.5px; font-weight: 600; letter-spacing: .04em; color: var(--coral-ink); opacity: .8; line-height: 1; padding-top: 3px; }
.desktop-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.desktop-nav .nav-link:hover, .desktop-nav .nav-link[aria-current] { color: var(--ink); }
.desktop-nav .nav-link:hover::after, .desktop-nav .nav-link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-cta .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.mobile-menu-btn, .mobile-nav-drawer { display: none; }

/* ---------- Section index ---------- */
.section-index {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted);
}
.section-index > span:first-child { color: var(--coral-ink); letter-spacing: .04em; }
.section-index-ko { margin-left: auto; font-family: var(--sans); letter-spacing: 0; font-weight: 500; font-size: 13px; }
.section-kicker { font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.section-title { font-size: clamp(34px, 4.1vw, 60px); font-weight: 600; line-height: 1.28; letter-spacing: -.045em; }
.section-title .title-accent { color: var(--coral-ink); }
.section-lead, .team-intro { font-size: 17px; line-height: 1.9; color: var(--muted); max-width: 30em; }
.title-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.title-line-inner { display: block; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 4.6vw, 68px) 0 0; }
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--muted);
}
.hero-label { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.hero-label::before { content: ''; width: 8px; height: 8px; background: var(--coral); }
.hero-place i { font-style: normal; color: var(--coral); padding: 0 6px; }
.hero-title {
  font-size: clamp(40px, 6.3vw, 98px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.055em;
}
.hero-line--1 { font-weight: 300; color: var(--ink-soft); }
.hero-title em { color: var(--coral); white-space: nowrap; }
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 64px;
  margin-top: clamp(28px, 3vw, 44px);
}
.hero-lead { max-width: 37em; font-size: 17px; line-height: 1.9; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-visual-card { position: relative; margin-top: clamp(48px, 5vw, 72px); }
.hero-image-wrap {
  position: relative;
  height: clamp(440px, 72vh, 780px);
  overflow: hidden;
  clip-path: inset(0 var(--image-inset, 0%));
  will-change: clip-path;
}
.hero-image-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 20, 32, .62) 0%, rgba(15, 20, 32, .18) 18%, rgba(15, 20, 32, 0) 32%, rgba(15, 20, 32, 0) 50%, rgba(15, 20, 32, .5) 100%); pointer-events: none; }
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: translate3d(0, var(--scroll-shift, 0px), 0) scale(1.14);
  will-change: transform;
}
.hero-visual-index {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: calc(var(--image-inset, 0%) + 32px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: var(--latin);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-shadow: 0 1px 12px rgba(15, 20, 32, .45);
}
.hero-visual-index::before { content: ''; width: 32px; height: 1px; background: var(--coral); }
.hero-image-caption {
  position: absolute;
  z-index: 2;
  left: calc(var(--image-inset, 0%) + 28px);
  bottom: 28px;
  max-width: min(460px, calc(100% - 56px));
  padding: 20px 24px;
  border-left: 2px solid var(--coral);
  background: rgba(15, 20, 32, .5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
}
.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - var(--gutter) * 2), 1320px);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: baseline; gap: 14px; padding: 24px 0; font-size: 15px; font-weight: 500; }
.trust-item + .trust-item { padding-left: 28px; border-left: 1px solid var(--line); }
.trust-item span { font-family: var(--latin); font-size: 11px; font-weight: 700; color: var(--coral-ink); letter-spacing: .06em; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 20px 0; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { flex-shrink: 0; padding: 0 28px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; line-height: 1.6; white-space: nowrap; color: var(--ink-soft); }
.marquee span:nth-of-type(even) { font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.marquee i { flex-shrink: 0; width: 5px; height: 5px; background: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 01 Purpose ---------- */
.section-purpose { padding-block: var(--section-pad); }
.purpose-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.statement { grid-column: 1 / span 11; font-size: clamp(32px, 4.5vw, 70px); line-height: 1.28; letter-spacing: -.05em; }
.statement .w { color: var(--ink); transition: opacity .6s var(--ease), color .6s; }
.js-highlight .statement .w { opacity: .16; }
.js-highlight .statement .w.is-lit { opacity: 1; }
.js-highlight .statement .w.is-accent.is-lit { color: var(--coral-ink); }
.purpose-head .section-lead { grid-column: 7 / span 6; margin-top: clamp(40px, 5vw, 72px); font-size: 18px; color: var(--ink-soft); }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(80px, 9vw, 140px); border-top: 1px solid var(--line-strong); }
.value-card { padding: 36px clamp(20px, 3vw, 44px) 0 0; }
.value-card + .value-card { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.value-num { display: block; font-family: var(--latin); font-size: clamp(64px, 7vw, 112px); font-weight: 200; line-height: .9; letter-spacing: -.06em; color: var(--ink); margin-bottom: 36px; }
.value-card-index { display: block; font-family: var(--latin); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--coral-ink); margin-bottom: 12px; }
.value-card h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 14px; }
.value-card p { font-size: 16px; color: var(--muted); line-height: 1.9; }

/* ---------- 02 Tracks (dark) ---------- */
.section-tracks { padding-block: var(--section-pad); background: var(--night); color: var(--on-dark); }
.section-tracks .section-index, .section-index--light { border-bottom-color: var(--line-dark); color: var(--on-dark-muted); }
.section-tracks .section-index > span:first-child, .section-index--light > span:first-child { color: var(--coral); }
.section-tracks .section-kicker, .section-index--light .section-kicker { color: var(--on-dark-muted); }
.section-tracks .section-title .title-accent { color: var(--coral); }
.section-tracks .section-lead { color: var(--on-dark-muted); }
.tracks-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: clamp(56px, 7vw, 104px); }
.tracks-head .section-lead { max-width: 22em; }
.tracks-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.tracks-visual { position: sticky; top: calc(var(--header-h) + 32px); }
.tracks-visual-frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 64px); border-radius: var(--radius); overflow: hidden; background: var(--night-2); }
.tracks-visual-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  scale: 1.08;
  filter: saturate(.72) contrast(1.06) brightness(.86);
  transition: opacity 1s var(--ease), scale 1.8s var(--ease);
}
.tracks-visual-frame img.is-active { opacity: 1; scale: 1; }
.tracks-visual-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 20, 32, .1) 30%, rgba(15, 20, 32, .82) 100%); }
.tracks-visual-meta { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tracks-counter { font-family: var(--latin); font-size: 14px; font-weight: 500; color: var(--on-dark-muted); letter-spacing: .02em; }
.tracks-counter b { display: block; font-size: clamp(56px, 6vw, 96px); font-weight: 200; line-height: .9; letter-spacing: -.06em; color: #fff; }
.tracks-visual-label { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: #fff; }
.tracks-visual-label::before { content: ''; width: 24px; height: 1px; background: var(--coral); }

.tracks-grid { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.track-card {
  position: relative;
  padding: clamp(40px, 4.5vw, 64px) 0;
  border-bottom: 1px solid var(--line-dark);
  transition: opacity .6s var(--ease);
}
.js-tracks .track-card:not(.is-active) { opacity: .38; }
.track-card::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.track-card.is-active::before { transform: scaleX(1); }
.track-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.track-index { font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--coral); }
.track-arrow { font-size: 24px; line-height: 1; color: var(--on-dark-muted); transition: color .4s, transform .6s var(--ease); }
.track-card:hover .track-arrow, .track-card:focus-within .track-arrow { color: var(--coral); transform: translate(4px, -4px); }
.track-subtitle { font-size: 15px; color: var(--on-dark-muted); margin-bottom: 10px; }
.track-title { font-size: clamp(34px, 3.6vw, 54px); letter-spacing: -.05em; line-height: 1.2; margin-bottom: 24px; transition: transform .6s var(--ease); }
.track-card:hover .track-title { transform: translateX(8px); }
.track-desc { font-size: 17px; line-height: 1.9; color: rgba(238, 235, 228, .78); max-width: 34em; }
.track-bullets { display: grid; gap: 10px; margin: 28px 0 32px; font-size: 15px; color: var(--on-dark-muted); }
.track-bullets li { position: relative; padding-left: 18px; }
.track-bullets li::before { content: ''; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; background: var(--coral); }
.track-footer-link { display: inline-flex; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; }
.track-footer-link::after { content: ''; position: absolute; inset: 0; }
.track-footer-link span { transition: transform .45s var(--ease); }
.track-card:hover .track-footer-link span { transform: translateX(4px); }
.track-media { display: none; }

/* ---------- 03 Programs ---------- */
.section-programs { padding-block: var(--section-pad); }
.programs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: clamp(56px, 7vw, 104px); }
.programs-head .section-lead { max-width: 24em; }
.programs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: start; }
.program-card { position: relative; }
.program-card:nth-child(2) { margin-top: clamp(0px, 8vw, 128px); }
.program-card:nth-child(3) { margin-top: clamp(0px, 4vw, 64px); }
.program-image-wrap { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.program-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--scroll-shift, 0px), 0) scale(1.18);
  filter: saturate(.85);
  transition: filter .8s var(--ease);
  will-change: transform;
}
.program-image-wrap::after { content: ''; position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity .6s var(--ease); }
.program-card:hover .program-image { filter: saturate(1.02); }
.program-card:hover .program-image-wrap::after { opacity: .08; }
.program-body { padding-top: 28px; }
.program-meta { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.program-no { font-family: var(--latin); font-size: 13px; font-weight: 500; color: var(--muted); }
.program-tag { font-size: 13px; font-weight: 600; color: var(--coral-ink); }
.program-title { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 14px; }
.program-desc { font-size: 16px; color: var(--muted); line-height: 1.9; margin-bottom: 22px; }
.program-link {
  display: inline-flex; gap: 8px;
  font-size: 15px; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .5s var(--ease), color .3s;
}
.program-link::after { content: ''; position: absolute; inset: 0; }
.program-card:hover .program-link { background-size: 100% 1px; color: var(--coral-ink); }

/* ---------- 04 Team ---------- */
.section-team { padding-block: var(--section-pad); background: var(--paper-2); }
.section-team .section-index { border-bottom-color: var(--line-strong); }
.team-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: clamp(48px, 6vw, 88px); }
.team-intro { max-width: 22em; }
.team-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.team-portrait { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; }
.team-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: scale 1.6s var(--ease); }
.team-lead:hover .team-portrait img { scale: 1.03; }
.team-portrait::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgba(15, 20, 32, 0), rgba(15, 20, 32, .55)); pointer-events: none; }
.team-portrait figcaption { position: absolute; z-index: 1; left: 28px; bottom: 24px; display: flex; align-items: center; gap: 14px; color: #fff; font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.team-portrait figcaption span { color: var(--coral); }
.team-role { font-size: 14px; font-weight: 600; color: var(--coral-ink); margin-bottom: 8px; }
.team-lead-body h3 { font-size: clamp(36px, 3.6vw, 56px); letter-spacing: -.05em; margin-bottom: 24px; }
.team-bio { font-size: 15.5px; line-height: 2; color: var(--ink-soft); }
.team-members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 7vw, 104px); border-top: 1px solid var(--line-strong); }
.team-member { position: relative; padding: 32px clamp(20px, 3vw, 40px) 8px 0; }
.team-member + .team-member { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.team-number { display: block; font-family: var(--latin); font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 40px; }
.team-member h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 8px; }
.team-member .team-role { margin-bottom: 6px; }
.team-note { font-size: 15px; color: var(--muted); }
.team-status { display: inline-flex; align-items: center; gap: 10px; color: var(--coral-ink); font-size: 14px; font-weight: 600; }
.team-status::before { content: ''; width: 6px; height: 6px; background: var(--coral); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- 05 Diagnosis ---------- */
.section-diagnosis { padding-block: var(--section-pad); }
.diagnosis-box { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(32px, 5vw, 80px); align-items: start; }
.diagnosis-head { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: clamp(48px, 6vw, 80px); }
.diagnosis-head .section-lead { max-width: 24em; }
.diagnosis-options { border-top: 1px solid var(--line-strong); }
.diagnosis-btn {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 24px;
  width: 100%;
  padding: 30px 8px 30px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: padding .6s var(--ease), background-color .4s;
}
.diagnosis-btn::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.diagnosis-btn:hover { padding-left: 10px; }
.diagnosis-btn.active::before { transform: scaleX(1); }
.diagnosis-btn-num { padding-top: 2px; font-family: var(--latin); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: .04em; transition: color .4s; }
.diagnosis-btn.active .diagnosis-btn-num { color: var(--coral-ink); }
.diagnosis-btn-text strong { display: block; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; line-height: 1.5; letter-spacing: -.03em; margin-bottom: 8px; color: var(--ink-soft); transition: color .3s; }
.diagnosis-btn.active .diagnosis-btn-text strong { color: var(--ink); }
.diagnosis-btn-text > span { display: block; font-size: 15px; line-height: 1.75; color: var(--muted); }
.diagnosis-btn-mark { width: 10px; height: 10px; margin-top: 10px; justify-self: end; background: var(--coral); transform: scale(0) rotate(45deg); transition: transform .5s var(--ease); }
.diagnosis-btn.active .diagnosis-btn-mark { transform: scale(1) rotate(0); }
.diagnosis-result-slot { position: sticky; top: calc(var(--header-h) + 32px); }
.diagnosis-result-card {
  position: relative;
  padding: clamp(32px, 3.4vw, 52px);
  border-radius: var(--radius);
  background: var(--night);
  color: var(--on-dark);
  overflow: hidden;
}
.diagnosis-result-card::before { content: ''; position: absolute; top: 0; right: 0; width: 72px; height: 72px; background: var(--coral); clip-path: polygon(100% 0, 100% 100%, 0 0); opacity: .95; }
.diagnosis-result-card.is-updating > * { animation: resultIn .7s var(--ease) both; }
.diagnosis-result-card.is-updating > *:nth-child(2) { animation-delay: .06s; }
.diagnosis-result-card.is-updating > *:nth-child(3) { animation-delay: .12s; }
.diagnosis-result-card.is-updating > *:nth-child(4) { animation-delay: .18s; }
@keyframes resultIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.diagnosis-result-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; padding-right: 40px; }
.diagnosis-result-badge { font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--coral); }
.diagnosis-result-note { white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--on-dark-muted); }
.diagnosis-result-card h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.4; letter-spacing: -.04em; margin-bottom: 20px; }
.diagnosis-result-card p { font-size: 15.5px; line-height: 1.95; color: var(--on-dark-muted); }
.diagnosis-result-action { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; }
.diagnosis-result-action .btn { width: 100%; }

/* ---------- 06 Contact (dark) ---------- */
.section-contact { padding-block: var(--section-pad); background: var(--night); color: var(--on-dark); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact-title { font-size: clamp(40px, 5.2vw, 80px); font-weight: 600; line-height: 1.18; letter-spacing: -.055em; }
.contact-title em { color: var(--coral); }
.contact-lead { margin-top: 36px; max-width: 30em; font-size: 17px; line-height: 1.9; color: var(--on-dark-muted); }
.contact-channels { margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line-dark); }
.channel-card { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.channel-card small { font-family: var(--latin); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--on-dark-muted); }
.channel-card strong { font-family: var(--latin); font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.02em; transition: color .3s, transform .6s var(--ease); }
.channel-arrow { font-size: 18px; color: var(--on-dark-muted); transition: transform .5s var(--ease), color .3s; }
.channel-card:hover strong { color: var(--coral); transform: translateX(6px); }
.channel-card:hover .channel-arrow { color: var(--coral); transform: rotate(45deg); }

.contact-tabs-card { padding: clamp(28px, 3.2vw, 48px); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.tab-nav { display: flex; gap: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.tab-btn { position: relative; min-height: 48px; font-size: 16px; font-weight: 600; color: var(--muted); transition: color .3s; }
.tab-btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: resultIn .6s var(--ease) both; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: grid; gap: 6px; margin-bottom: 26px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.form-group label b { color: var(--coral); font-weight: 600; }
.form-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-control::placeholder { color: #9a9ca3; }
.form-control:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
select.form-control { padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23151b2a' stroke-width='1.4' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center; }
textarea.form-control { min-height: 128px; resize: vertical; line-height: 1.75; }
.form-note { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--muted); text-align: center; }
.form-success-banner { display: none; margin-top: 20px; padding: 18px 20px; border-left: 3px solid var(--coral); border-radius: 0; background: rgba(216, 91, 77, .08); font-size: 14px; line-height: 1.8; }
.resource-list { border-top: 1px solid var(--line); }
.resource-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.resource-item h4 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.5; margin-bottom: 4px; }
.resource-item p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.resource-download { min-height: 38px; padding: 0 16px; font-size: 13px; flex-shrink: 0; }
.resource-empty { padding: 36px 0; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- Brand story ---------- */
.section-brand-story { padding-block: clamp(80px, 9vw, 136px); }
.brand-story-box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.brand-story-mark { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.brand-story-logo { width: min(78%, 380px); margin-left: 8%; }
.brand-story-text .section-kicker { display: block; margin-bottom: 18px; color: var(--coral-ink); }
.brand-story-text h3 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 18px; }
.brand-story-text p { font-size: 16px; color: var(--muted); line-height: 1.95; max-width: 36em; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(72px, 8vw, 120px) 0 32px; background: var(--night); color: var(--on-dark); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding-bottom: clamp(56px, 7vw, 96px); }
.footer-brand img { width: 260px; margin-left: -12px; margin-bottom: 20px; }
.footer-brand p { max-width: 20em; font-size: 14px; color: var(--on-dark-muted); margin-bottom: 28px; }
.footer-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-col h5 { font-family: var(--latin); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--on-dark-muted); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 10px; font-size: 15px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--coral); }
.footer-wordmark {
  display: flex;
  align-items: flex-end;
  font-family: var(--latin);
  font-size: clamp(56px, 9vw, 136px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.045em;
  color: var(--on-dark);
  margin-left: -.04em;
  user-select: none;
}
.footer-wordmark i { width: .16em; height: .16em; margin-left: .04em; margin-bottom: .01em; background: var(--coral); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-muted); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Motion
   ========================================================================== */
.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

/* Line-mask headings */
.motion-ready h1 .title-line-inner,
.motion-ready .reveal .title-line-inner {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.25s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0ms) + var(--line-delay, 0ms));
}
.motion-ready .is-visible .title-line-inner { transform: none; }
.title-line:nth-child(2) { --line-delay: 110ms; }
.title-line:nth-child(3) { --line-delay: 220ms; }
.motion-ready .hero-content.reveal,
.motion-ready h2.reveal { opacity: 1; transform: none; }

/* Hero choreography */
.motion-ready .hero-meta,
.motion-ready .hero-foot { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.motion-ready .hero-foot { transition-delay: .45s; }
.motion-ready .hero-content.is-visible .hero-meta,
.motion-ready .hero-content.is-visible .hero-foot { opacity: 1; transform: none; }
.motion-ready .hero-line--1 { --line-delay: 120ms; }
.motion-ready .hero-line--2 { --line-delay: 240ms; }
.motion-ready .hero-visual-card.reveal { transform: translate3d(0, 64px, 0); transition-duration: 1.4s, 1.6s; --reveal-delay: 380ms; }
.motion-ready .hero-visual-card .hero-image { scale: 1.18; transition: scale 2.4s var(--ease) .38s; }
.motion-ready .hero-visual-card.is-visible .hero-image { scale: 1; }

/* Staggers */
.values-grid .reveal:nth-child(2), .team-members .reveal:nth-child(2), .programs-grid .reveal:nth-child(2) { --reveal-delay: 120ms; }
.values-grid .reveal:nth-child(3), .team-members .reveal:nth-child(3), .programs-grid .reveal:nth-child(3) { --reveal-delay: 240ms; }
.contact-channels.reveal { --reveal-delay: 120ms; }
.section-lead.reveal, .team-intro.reveal { --reveal-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .motion-ready .reveal, .motion-ready .hero-meta, .motion-ready .hero-foot { opacity: 1; transform: none; }
  .motion-ready .title-line-inner { transform: none; }
  .marquee-track { animation: none; }
  .js-highlight .statement .w { opacity: 1; }
  .hero-image, .program-image { transform: none; scale: 1 !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu-btn {
    position: relative;
    z-index: 3;
    display: grid;
    place-content: center;
    gap: 7px;
    width: 48px;
    height: 48px;
    margin-right: -10px;
  }
  .mobile-menu-btn span { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), background-color .3s; }
  .mobile-menu-btn[aria-expanded="true"] span { background: var(--on-dark); }
  .mobile-menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .mobile-menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .mobile-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
    background: var(--night);
    color: var(--on-dark);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .8s var(--ease-io), visibility 0s .8s;
    overflow-y: auto;
  }
  .mobile-nav-drawer.open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-io); }
  .drawer-nav { display: grid; }
  .drawer-nav .nav-link {
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: clamp(28px, 7vw, 44px);
    font-weight: 600;
    letter-spacing: -.04em;
    color: var(--on-dark);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
  }
  .drawer-nav .nav-link .nav-num { color: var(--coral); font-size: 11px; padding-top: 10px; }
  .mobile-nav-drawer.open .drawer-nav .nav-link { opacity: 1; transform: none; }
  .mobile-nav-drawer.open .drawer-nav .nav-link:nth-child(1) { transition-delay: .2s; }
  .mobile-nav-drawer.open .drawer-nav .nav-link:nth-child(2) { transition-delay: .25s; }
  .mobile-nav-drawer.open .drawer-nav .nav-link:nth-child(3) { transition-delay: .3s; }
  .mobile-nav-drawer.open .drawer-nav .nav-link:nth-child(4) { transition-delay: .35s; }
  .mobile-nav-drawer.open .drawer-nav .nav-link:nth-child(5) { transition-delay: .4s; }
  .mobile-nav-drawer.open .drawer-nav .nav-link:nth-child(6) { transition-delay: .45s; }
  .drawer-foot { display: grid; gap: 20px; margin-top: 40px; }
  .drawer-foot p { font-family: var(--latin); font-size: 13px; line-height: 1.8; color: var(--on-dark-muted); }
  .menu-open .site-header::before { opacity: 0; }
  .menu-open .brand-logo { filter: invert(1) hue-rotate(180deg) brightness(1.2); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand-link { width: 128px; }
  .brand-logo { width: 240px; margin-left: -8px; }
  .hero-foot { grid-template-columns: 1fr; }
  .tracks-head, .programs-head, .team-head, .diagnosis-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tracks-layout { grid-template-columns: 1fr; }
  .tracks-visual { display: none; }
  .js-tracks .track-card:not(.is-active) { opacity: 1; }
  .track-card::before { display: none; }
  .track-media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
  .track-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.9); }
  .programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-card:nth-child(3) { margin-top: 0; }
  .team-lead { grid-template-columns: 1fr; }
  .diagnosis-box { grid-template-columns: 1fr; }
  .diagnosis-result-slot { position: static; margin-top: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .brand-story-box { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 36px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 10.5px; }
  .hero-title { font-size: clamp(34px, 10vw, 48px); line-height: 1.24; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-image-wrap { height: 68vh; min-height: 420px; clip-path: inset(0 var(--image-inset, 0%)); }
  .hero-image-caption { left: calc(var(--image-inset, 0%) + 16px); right: calc(var(--image-inset, 0%) + 16px); bottom: 16px; max-width: none; padding: 18px 20px; font-size: 14.5px; }
  .hero-visual-index { top: 16px; left: calc(var(--image-inset, 0%) + 16px); }
  .hero-trust-bar { grid-template-columns: 1fr; }
  .trust-item { padding: 16px 0; font-size: 14px; }
  .trust-item + .trust-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .section-index { gap: 12px; font-size: 11px; }
  .section-index .section-kicker { font-size: 11px; }
  .section-index-ko { display: none; }
  .section-title { font-size: clamp(30px, 8.4vw, 40px); }
  .statement { grid-column: 1 / -1; font-size: clamp(28px, 8vw, 38px); }
  .purpose-head .section-lead { grid-column: 1 / -1; font-size: 16px; }
  .values-grid, .team-members { grid-template-columns: 1fr; }
  .value-card, .value-card + .value-card, .team-member, .team-member + .team-member { padding: 28px 0 32px; border-left: 0; }
  .value-card + .value-card, .team-member + .team-member { border-top: 1px solid var(--line); }
  .value-num { font-size: 64px; margin-bottom: 20px; }
  .team-number { margin-bottom: 16px; }
  .track-title { font-size: clamp(30px, 8.4vw, 40px); }
  .programs-grid { grid-template-columns: 1fr; gap: 56px; }
  .program-card:nth-child(2) { margin-top: 0; }
  .program-image-wrap { aspect-ratio: 5 / 4; }
  .diagnosis-btn { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .diagnosis-btn:hover { padding-left: 0; }
  .diagnosis-btn-mark { display: none; }
  .diagnosis-btn-text strong { font-size: 17px; }
  .diagnosis-options .diagnosis-result-card { margin: 4px 0 24px; }
  .diagnosis-result-slot { margin-top: 0; }
  .contact-title { font-size: clamp(36px, 10vw, 48px); }
  .channel-card { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; }
  .channel-card small { grid-column: 1 / -1; }
  .contact-tabs-card { padding: 24px 20px; border-radius: var(--radius); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .resource-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .brand-story-logo { width: 80%; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}


/* ---------- 04 Daily Insight (홈 화면: insight 파이프라인이 만든 구간) ---------- */
.section-insight { padding-block: var(--section-pad); background: var(--paper-2); }
.section-insight .section-index { border-bottom-color: var(--line-strong); }
.insight-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.insight-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.insight-photo { position: relative; margin: 0; display: flex; flex-direction: column; }
.insight-photo a.insight-photo-link { display: block; flex: 1; min-height: 340px; overflow: hidden; background: var(--photo-color, #cfc8bb); }
.insight-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.6s var(--ease); }
.insight-photo a.insight-photo-link:hover img { scale: 1.03; }
.insight-photo figcaption { padding-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.insight-photo figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.insight-side { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.insight-date { font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--coral-ink); margin-bottom: 18px; }
.insight-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.insight-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), color .3s; }
.insight-list a:hover { padding-left: 10px; color: var(--coral-ink); }
.insight-list b { font-family: var(--latin); font-size: 12px; font-weight: 600; color: var(--coral-ink); }
.insight-list span { font-size: 17px; font-weight: 600; letter-spacing: -.035em; line-height: 1.5; }
@media (max-width: 960px) {
  .insight-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .insight-feature { grid-template-columns: 1fr; }
  .insight-photo a.insight-photo-link { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
}

/* Unified pastoral resource library */
.contact-tabs-card > h3 { margin-bottom: 28px; }
.section-library { padding-block: var(--section-pad); }
.section-library > .container > .section-lead { margin-top: 24px; }
.library-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-block: 48px; }
.library-shortcuts .resource-item { border-top: 1px solid var(--line); padding-block: 28px; }
.library-shortcuts h3 { font-size: 22px; margin-bottom: 8px; }
.library-shortcuts a:hover h3 { color: var(--coral-ink); }
.library-documents { max-width: 900px; }
.library-documents > h3 { font-size: 24px; }
.library-sample-note { margin-block: 12px 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-library .section-insight { padding-top: 64px; padding-bottom: 0; }
.section-library .section-insight .section-index { display: none; }
@media (max-width: 760px) {
  .library-shortcuts { grid-template-columns: 1fr; gap: 0; margin-block: 32px; }
}
