@charset "UTF-8";
/* =========================================================
   과학 전문과외 정선생님 · style.css
   Personal color: Lab Navy + Reagent Lime on Notebook Paper
   ========================================================= */

:root {
  --navy: #13294b;
  --navy-2: #1d3b66;
  --navy-deep: #0b1a31;
  --lime: #c8f169;
  --lime-ink: #4d6b06;
  --lime-bg: #f0f9d8;
  --paper: #f6f4ee;
  --card: #ffffff;
  --ink: #1e293b;
  --sub: #475569;
  --faint: #64748b;
  --line: #e3dfd3;
  --line-strong: #cfc9b8;
  --kakao: #fee500;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(11, 26, 49, 0.28);
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --font-mono: "JetBrains Mono", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --section-y: 100px;
  --ease-cam: cubic-bezier(0.22, 1, 0.36, 1);
  --cam-dur: 1.1s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.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: 12px;
  top: -60px;
  z-index: 300;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 238, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text small {
  font-size: 11px;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.02em;
}

.logo-text strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gnb {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sub);
}

.gnb a:hover {
  color: var(--navy);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--navy-2);
}

@media (max-width: 860px) {
  .gnb {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-cam), background-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lime {
  background: var(--lime);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px -10px rgba(200, 241, 105, 0.8);
}

.btn-kakao {
  background: var(--kakao);
  color: #191600;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.35);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: #fff;
}

.btn-line {
  background: #fff;
  color: var(--navy);
  border-color: var(--line-strong);
}

.ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -2;
  background-image:
    linear-gradient(rgba(200, 241, 105, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 241, 105, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 320px at 85% 10%, rgba(29, 59, 102, 0.95), transparent 70%),
    radial-gradient(520px 360px at 5% 100%, rgba(29, 59, 102, 0.85), transparent 70%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag-mono {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(200, 241, 105, 0.45);
  color: var(--lime);
  background: rgba(200, 241, 105, 0.08);
}

.tag-mono.light {
  color: var(--lime-ink);
  border-color: #cfe59a;
  background: var(--lime-bg);
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 .brand-line {
  display: block;
  font-size: 0.5em;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero .lede {
  margin-top: 20px;
  font-size: 17px;
  color: #cbd5e1;
  max-width: 560px;
}

.grade-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.grade-pills li {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}

.hero .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero .hint {
  margin-top: 16px;
  font-size: 14px;
  color: #94a3b8;
}

.hero .hint a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* OG frame inside hero */
.og-stage {
  position: relative;
  perspective: 1200px;
}

.og-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
  background: var(--navy);
  aspect-ratio: 1200 / 630;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-cam);
}

.og-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.og-caption {
  margin-top: 14px;
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
}

.orbit-ring {
  position: absolute;
  inset: -18px -26px;
  border: 1.5px dashed rgba(200, 241, 105, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring .electron {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px 4px rgba(200, 241, 105, 0.6);
}

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .og-stage {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .og-frame {
    aspect-ratio: 4 / 3;
  }
  .orbit-ring {
    inset: -10px -8px;
  }
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.trust-item b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.trust-item span {
  font-size: 14px;
  color: var(--faint);
}

@media (max-width: 760px) {
  .trust .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }
}

/* ---------- Sections ---------- */
.blk,
.trust {
  overflow-x: clip;
}

.blk {
  padding: var(--section-y) 0;
}

.blk.alt {
  background: var(--card);
}

.blk.navy {
  background: var(--navy);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--lime-ink);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.navy .eyebrow {
  color: var(--lime);
}

.blk h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 760px;
}

.navy h2 {
  color: #fff;
}

.blk .desc {
  margin-top: 14px;
  font-size: 17px;
  color: var(--sub);
  max-width: 720px;
}

.navy .desc {
  color: #cbd5e1;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.35s var(--ease-cam), box-shadow 0.35s var(--ease-cam), border-color 0.35s;
}

.alt .card {
  background: var(--paper);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.card p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--sub);
}

.card .label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--lime-ink);
  background: var(--lime-bg);
  border-radius: 6px;
  padding: 3px 8px;
  margin-bottom: 14px;
}

.card ul {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.card li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--sub);
}

.card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-ink);
}

/* Lens cards (four science lenses) */
.lens {
  position: relative;
  overflow: hidden;
}

.lens .glyph {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.lens .glyph svg {
  width: 26px;
  height: 26px;
}

.lens .q {
  font-size: 14px;
  font-weight: 700;
  color: var(--lime-ink);
  margin-bottom: 4px;
}

/* Lab report steps */
.report {
  margin-top: 44px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.report li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-strong);
}

.report .step {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--faint);
}

.report .step b {
  display: block;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 4px;
}

.report h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.report p {
  margin-top: 8px;
  color: var(--sub);
  font-size: 16px;
  max-width: 720px;
}

@media (max-width: 640px) {
  .report li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Method strip */
.method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.method > div {
  padding: 30px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.method > div:last-child {
  border-right: none;
}

.method .k {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime);
}

.method h3 {
  font-size: 24px;
  font-weight: 800;
  margin-top: 6px;
}

.method p {
  margin-top: 8px;
  font-size: 15px;
  color: #cbd5e1;
}

@media (max-width: 760px) {
  .method {
    grid-template-columns: 1fr;
  }
  .method > div {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 40px;
}

.timeline li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.alt .timeline li {
  background: var(--paper);
}

.timeline .y {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.timeline .t {
  margin-top: 6px;
  font-size: 14px;
  color: var(--sub);
}

.timeline li.now {
  background: var(--navy);
  border-color: var(--navy);
}

.timeline li.now .y {
  color: var(--lime);
}

.timeline li.now .t {
  color: #e2e8f0;
}

.timeline li.now::after {
  content: "올해";
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy-deep);
  background: var(--lime);
  border-radius: 999px;
  padding: 2px 8px;
}

@media (max-width: 860px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--faint);
}

.callout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.callout > div {
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px dashed var(--line-strong);
  background: var(--card);
}

.callout small {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime-ink);
  font-weight: 600;
}

.callout p {
  margin-top: 6px;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 640px) {
  .callout {
    grid-template-columns: 1fr;
  }
}

/* Price table */
.table-wrap {
  margin-top: 36px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table caption {
  text-align: left;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.price-table th,
.price-table td {
  padding: 15px 20px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.price-table th:first-child,
.price-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
}

.price-table thead th {
  font-size: 13px;
  color: var(--faint);
  font-weight: 700;
  background: #fbfaf6;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tr.hl td {
  background: var(--lime-bg);
}

.formula {
  margin-top: 16px;
  font-size: 15px;
  color: var(--sub);
}

.formula code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  color: var(--navy);
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.steps .n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime-ink);
  font-weight: 700;
}

.steps h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 8px;
}

.steps p {
  font-size: 15px;
  color: var(--sub);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Teacher profile */
.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.profile-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(19, 41, 75, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 41, 75, 0.06) 1px, transparent 1px),
    var(--lime-bg);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
}

.profile-visual img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 92%;
  transform: translateX(-50%);
}

.profile-visual .badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
}

.profile blockquote {
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.55;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  border-left: 4px solid var(--lime);
  padding-left: 20px;
}

.profile .role {
  margin-top: 18px;
  color: var(--faint);
  font-size: 15px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.stats div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--paper);
}

.stats b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.stats span {
  font-size: 14px;
  color: var(--faint);
}

@media (max-width: 860px) {
  .profile {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .profile-visual {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
}

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.principles li {
  border-top: 3px solid var(--navy);
  padding-top: 16px;
}

.principles .no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime-ink);
  font-weight: 700;
}

.principles h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 4px;
}

.principles p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--sub);
}

@media (max-width: 900px) {
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
}

/* Regions */
.region-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}

.region-grid a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 800;
  color: var(--navy);
  transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease-cam);
}

.alt .region-grid a {
  background: var(--paper);
}

.region-grid a small {
  font-size: 12px;
  font-weight: 600;
  color: var(--faint);
}

.region-grid a:hover {
  border-color: var(--navy);
  background: var(--lime-bg);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .region-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.link-cloud a,
.link-cloud span {
  font-size: 14px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s;
}

.alt .link-cloud a,
.alt .link-cloud span {
  background: var(--paper);
}

.link-cloud a:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.link-cloud .on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.sub-title {
  margin-top: 40px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.sub-title small {
  font-weight: 600;
  color: var(--faint);
  font-size: 14px;
  margin-left: 6px;
}

/* Region directory (sido page) */
.dir-group {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.dir-group h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.dir-group h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* FAQ */
.faq-list {
  margin-top: 36px;
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.alt .faq {
  background: var(--paper);
}

.faq summary {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--faint);
  transition: transform 0.3s var(--ease-cam);
}

.faq[open] summary::after {
  transform: rotate(45deg);
}

.faq .q,
.faq .a-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--lime-ink);
  flex-shrink: 0;
}

.faq .answer {
  display: flex;
  gap: 12px;
  padding: 0 22px 22px;
  color: var(--sub);
  font-size: 16px;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
  padding: 56px 40px;
  text-align: center;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(200, 241, 105, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 241, 105, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cta-band h2 {
  color: #fff;
  margin: 0 auto;
}

.cta-band p {
  margin: 12px auto 0;
  color: #cbd5e1;
  max-width: 560px;
}

.cta-band .btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

/* Breadcrumb + landing header */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 22px;
}

.crumb a:hover {
  color: #fff;
}

.crumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: #475569;
}

.crumb [aria-current="page"] {
  color: var(--lime);
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chips li {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.school-box {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}

.school-box .row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.school-box .row b {
  font-size: 15px;
  color: var(--navy);
  padding-top: 6px;
}

.school-box .link-cloud {
  margin-top: 0;
}

@media (max-width: 560px) {
  .school-box .row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.prose {
  max-width: 760px;
}

.prose p + p {
  margin-top: 14px;
}

.prose p {
  font-size: 17px;
  color: var(--sub);
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--faint);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #94a3b8;
  padding: 64px 0 120px;
  font-size: 14px;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.site-footer .logo {
  color: #fff;
}

.site-footer .logo-text small {
  color: #94a3b8;
}

.site-footer h2 {
  font-size: 14px;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .about {
  margin-top: 16px;
  max-width: 340px;
}

.site-footer .copy {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #1e2d47;
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-footer .cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Floating contact ---------- */
.float-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 30px -10px rgba(11, 26, 49, 0.45);
  transition: transform 0.3s var(--ease-cam);
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.float-btn .ico {
  width: 20px;
  height: 20px;
}

.float-kakao {
  background: var(--kakao);
  color: #191600;
}

.float-tel {
  background: var(--navy);
  color: #fff;
}

.float-tel .num {
  font-family: var(--font-mono);
  font-weight: 700;
}

@media (max-width: 560px) {
  .float-stack {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }
  .float-btn {
    min-height: 48px;
    padding: 0 16px 0 14px;
    font-size: 14px;
  }
  .float-tel .num {
    display: none;
  }
}

/* =========================================================
   Motion UI · Camera language
   Pan · Tilt · Roll · Truck · Pedestal · Dolly · Zoom · Orbit
   Hero plays on load; sections play on scroll via animation-timeline: view().
   ========================================================= */

@keyframes cam-pan {
  from { opacity: 0; transform: perspective(1200px) rotateY(-14deg) translateX(-4%); }
  to { opacity: 1; transform: perspective(1200px) rotateY(0) translateX(0); }
}

@keyframes cam-tilt {
  from { opacity: 0; transform: perspective(1200px) rotateX(16deg) translateY(24px); }
  to { opacity: 1; transform: perspective(1200px) rotateX(0) translateY(0); }
}

@keyframes cam-roll {
  from { opacity: 0; transform: rotate(-5deg) scale(0.98); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes cam-truck {
  from { opacity: 0; transform: translateX(64px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cam-truck-left {
  from { opacity: 0; transform: translateX(-64px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cam-pedestal {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cam-dolly {
  from { opacity: 0; transform: perspective(1200px) translateZ(-180px); }
  to { opacity: 1; transform: perspective(1200px) translateZ(0); }
}

@keyframes cam-zoom {
  from { opacity: 0; transform: scale(1.12); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes cam-orbit {
  from { transform: rotate(0deg) translateX(var(--orbit-r, 50%)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(var(--orbit-r, 50%)) rotate(-360deg); }
}

@keyframes amb-pan {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(40px, 40px, 0); }
}

@keyframes amb-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Camera moves are pure CSS: no JS touches the markup, so crawlers and
   hydration always see the final, fully visible content. */
[data-cam="pan"] { --cam: cam-pan; }
[data-cam="tilt"] { --cam: cam-tilt; transform-origin: 50% 100%; }
[data-cam="roll"] { --cam: cam-roll; }
[data-cam="truck"] { --cam: cam-truck; }
[data-cam="truck-left"] { --cam: cam-truck-left; }
[data-cam="pedestal"] { --cam: cam-pedestal; }
[data-cam="dolly"] { --cam: cam-dolly; }
[data-cam="zoom"] { --cam: cam-zoom; }

.hero [data-cam] {
  animation: var(--cam) var(--cam-dur) var(--ease-cam) both;
  animation-delay: var(--cam-delay, 0s);
}

.hero .og-stage[data-cam] {
  --cam-delay: 0.15s;
}

@supports (animation-timeline: view()) {
  .blk [data-cam],
  .trust [data-cam] {
    animation: var(--cam) linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
  .cam-stagger > *:nth-child(2) { animation-range: entry 4% cover 30%; }
  .cam-stagger > *:nth-child(3) { animation-range: entry 8% cover 32%; }
  .cam-stagger > *:nth-child(4) { animation-range: entry 12% cover 34%; }
  .cam-stagger > *:nth-child(5) { animation-range: entry 16% cover 36%; }
  .cam-stagger > *:nth-child(6) { animation-range: entry 20% cover 38%; }
}

.hero::before {
  animation: amb-pan 18s linear infinite alternate;
}

.og-frame img {
  animation: amb-zoom 14s ease-in-out infinite alternate;
}

@keyframes orbit-path {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.orbit-ring .electron {
  top: 0;
  left: 0;
  margin: 0;
  offset-path: ellipse(50% 50% at 50% 50%);
  offset-rotate: 0deg;
  animation: orbit-path 12s linear infinite;
}

.orbit-ring .electron.e2 {
  width: 8px;
  height: 8px;
  animation-duration: 18s;
  animation-delay: -7s;
  opacity: 0.8;
}

.cam-orbit-host {
  position: relative;
}

.cam-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px 3px rgba(200, 241, 105, 0.55);
  animation: cam-orbit 9s linear infinite;
  --orbit-r: 180px;
}

.cam-orbit.slow {
  animation-duration: 15s;
  animation-direction: reverse;
  --orbit-r: 150px;
}

[data-tilt] {
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-cam] {
    animation: none !important;
  }
  [data-tilt] {
    transform: none !important;
  }
}

@media print {
  .float-stack,
  .site-header,
  .cta-band {
    display: none !important;
  }
}
