:root {
  --ink: #101c18;
  --muted: #54665f;
  --line: rgba(22, 45, 38, 0.14);
  --surface: #ffffff;
  --green: #0f735f;
  --green-dark: #083f35;
  --cream: #f7f4ed;
  --max: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8f8f3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.anchor-target { position: absolute; margin-top: -124px; }

@keyframes premiumRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes premiumSweep {
  from { transform: translateX(-140%) skewX(-16deg); }
  to { transform: translateX(170%) skewX(-16deg); }
}

@keyframes diamondFloat {
  0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.14; }
  50% { transform: rotate(45deg) scale(1.08); opacity: 0.26; }
}

.theme-service { --accent: #0f735f; --accent-dark: #083f35; --soft: #edf7f2; --wash: #fbfaf4; }
.theme-hospital { --accent: #25679a; --accent-dark: #173f62; --soft: #edf5fb; --wash: #f7fafc; }
.theme-recovery { --accent: #8a5f29; --accent-dark: #563a18; --soft: #fbf0df; --wash: #fffaf2; }
.theme-critical { --accent: #164b58; --accent-dark: #0c2931; --soft: #e8f2f4; --wash: #f6fbfa; }
.theme-notice { --accent: #4d6259; --accent-dark: #273630; --soft: #edf1ee; --wash: #f8f6ef; }
.theme-contact { --accent: #0f735f; --accent-dark: #083f35; --soft: #eef7f2; --wash: #fbfaf4; }

.premium-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 226, 222, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(12, 28, 24, 0.052);
}
.premium-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 91, 52, 0.34), transparent);
  content: "";
  pointer-events: none;
}

.premium-nav,
.hero-grid,
.stat-row,
.overview-section,
.feature-section,
.timeline-section,
.standard-section,
.page-cta,
.footer-inner {
  width: min(100% - 56px, var(--max));
  margin: 0 auto;
}

.premium-nav {
  position: relative;
  min-height: 88px;
  display: grid;
  grid-template-columns: 286px 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand-link { display: inline-flex; align-items: center; min-width: 0; }
.brand-mark { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); }
.brand-symbol { position: relative; display: inline-flex; width: 66px; height: 38px; overflow: hidden; flex: 0 0 auto; }
.brand-symbol img { position: absolute; left: 50%; top: 50%; width: 76px; height: auto; transform: translate(-50%, -50%); mix-blend-mode: multiply; }
.brand-divider { width: 1px; height: 36px; background: #111; opacity: 0.78; }
.brand-word { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.brand-word strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; line-height: 1; letter-spacing: 0.05em; }
.brand-word small { color: #5c6c65; font-size: 0.68rem; line-height: 1; font-weight: 800; }

.desktop-menu { display: flex; justify-content: center; gap: 36px; color: #273d36; font-size: 0.94rem; font-weight: 900; }
.desktop-menu a { position: relative; display: inline-flex; align-items: center; min-height: 42px; }
.desktop-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; border-radius: 999px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.desktop-menu a:hover::after,
.desktop-menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.menu-toggle:hover,
.primary-action:hover,
.secondary-action:hover { transform: translateY(-1px); }
.menu-toggle {
  width: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: #243b34;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(21, 35, 31, 0.06);
}
.menu-toggle i {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.menu-toggle i::before {
  position: absolute;
  top: 3.5px;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}
.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.premium-mega {
  position: fixed;
  top: 88px;
  right: auto;
  left: 50%;
  z-index: 70;
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  gap: 0;
  width: min(calc(100vw - 56px), var(--max));
  overflow: hidden;
  border: 1px solid rgba(16, 28, 24, 0.12);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 34px 90px rgba(12, 28, 24, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -14px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}
.premium-mega.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-brand,
.premium-mega a {
  min-height: 222px;
  border-right: 1px solid rgba(16, 28, 24, 0.09);
  padding: 34px 30px;
}
.mega-brand {
  background:
    radial-gradient(circle at 86% 16%, rgba(31, 91, 52, 0.18), transparent 34%),
    #0c1714;
  color: #fff;
}
.mega-brand span,
.premium-mega a span {
  display: block;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mega-brand span { color: #80d4b2; }
.mega-brand strong {
  display: block;
  margin-top: 18px;
  font-size: 1.34rem;
  line-height: 1.22;
}
.mega-brand p {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.65;
}
.premium-mega a {
  position: relative;
  background: linear-gradient(180deg, #fff, #fbfcfa);
  transition: background 160ms ease, transform 160ms ease;
}
.premium-mega a::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(18, 91, 52, 0.24);
  border-right: 1px solid rgba(18, 91, 52, 0.24);
  content: "";
}
.premium-mega a:last-child { border-right: 0; }
.premium-mega a b {
  display: block;
  width: 15px;
  height: 15px;
  margin-bottom: 34px;
  border: 1px solid var(--accent);
  background: rgba(18, 91, 52, 0.08);
  transform: rotate(45deg);
}
.premium-mega a strong {
  display: block;
  color: var(--ink);
  font-size: 1.16rem;
}
.premium-mega a span {
  margin-top: 10px;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}
.premium-mega a:hover {
  background: var(--soft);
  transform: translateY(-1px);
}

.premium-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.94), transparent 34%),
    linear-gradient(118deg, var(--wash), var(--soft) 66%, #fff);
}
.theme-hospital .hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
}
.theme-hospital .hero-visual {
  order: -1;
}
.theme-hospital .feature-section {
  background: linear-gradient(135deg, rgba(237,245,251,0.92), rgba(255,255,255,0.84));
}
.theme-recovery .overview-section {
  background: linear-gradient(180deg, #fffaf2, #fff);
}
.theme-recovery .chapter-grid article:nth-child(2) {
  background: #fff6e7;
}
.theme-critical .premium-hero {
  background:
    radial-gradient(circle at 72% 30%, rgba(47, 121, 130, 0.42), transparent 32%),
    linear-gradient(118deg, #0d2327, #163c42 58%, #0b1b1f);
}
.theme-critical .premium-hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}
.theme-critical .breadcrumb,
.theme-critical .hero-copy .lead {
  color: rgba(255,255,255,0.72);
}
.theme-critical .hero-copy h1 {
  color: #fff;
}
.theme-critical .secondary-action {
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.theme-critical .stat-row {
  border-color: rgba(255,255,255,0.14);
  background: rgba(5, 24, 28, 0.42);
}
.theme-critical .stat-row article {
  border-color: rgba(255,255,255,0.14);
}
.theme-critical .stat-row strong {
  color: #fff;
}
.theme-critical .stat-row span {
  color: rgba(255,255,255,0.68);
}
.theme-critical .hero-visual figcaption {
  border-color: rgba(255,255,255,0.16);
  background: rgba(8, 26, 29, 0.84);
}
.theme-critical .hero-visual figcaption strong {
  color: #fff;
}
.theme-critical .hero-visual figcaption p {
  color: rgba(255,255,255,0.72);
}
.premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 44, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 44, 36, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 70%, transparent);
  pointer-events: none;
}
.premium-hero::after {
  content: "";
  position: absolute;
  top: 132px;
  right: max(28px, calc((100vw - var(--max)) / 2));
  width: 190px;
  height: 190px;
  border: 1px solid rgba(15, 115, 95, 0.2);
  background: linear-gradient(135deg, rgba(15, 115, 95, 0.08), transparent);
  transform: rotate(45deg);
  animation: diamondFloat 4.8s ease-in-out infinite;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
  z-index: 1;
}
.breadcrumb { display: flex; gap: 10px; align-items: center; margin-bottom: 32px; color: var(--muted); font-size: 0.92rem; font-weight: 800; }
.breadcrumb a::after { content: "/"; margin-left: 10px; opacity: 0.45; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 0.8rem; font-weight: 1000; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
.hero-copy h1 {
  margin: 0;
  max-width: 680px;
  color: #0d1d19;
  font-size: clamp(3rem, 5.7vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: 0;
}
.lead,
.hero-copy .lead {
  margin: 30px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 1.16rem;
  font-weight: 750;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.primary-action { min-width: 172px; padding: 0 22px; background: var(--accent); color: #fff; box-shadow: 0 18px 30px rgba(8, 64, 52, 0.18); }
.secondary-action { min-width: 132px; padding: 0 20px; border: 1px solid var(--line); background: rgba(255,255,255,0.72); color: var(--ink); }
.hero-visual {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(21, 45, 39, 0.14);
}
.hero-visual img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 20, 17, 0.18), transparent 36%),
    linear-gradient(180deg, transparent 54%, rgba(7, 20, 17, 0.18));
  pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 8px;
  pointer-events: none;
}
.hero-visual figcaption {
  position: absolute;
  z-index: 3;
  left: 46px;
  right: 28px;
  bottom: 28px;
  max-width: 420px;
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  padding: 24px;
  box-shadow: 0 18px 36px rgba(21,45,39,0.12);
}
.hero-visual figcaption span { display: block; color: var(--accent); font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-visual figcaption span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
.hero-visual figcaption strong { display: block; margin-top: 8px; color: var(--ink); font-size: 1.42rem; line-height: 1.2; }
.hero-visual figcaption p { margin: 10px 0 0; color: var(--muted); font-weight: 850; }

.segment-nav {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 56px, var(--max));
  margin: 52px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 52px rgba(16, 38, 32, 0.08);
  backdrop-filter: blur(14px);
}
.segment-nav a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: #2b3f38;
  font-size: 0.88rem;
  font-weight: 1000;
  transition: background 160ms ease, color 160ms ease;
}
.segment-nav a:last-child { border-right: 0; }
.segment-nav a:hover {
  background: var(--accent);
  color: #fff;
}

.stat-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 74px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255,255,255,0.48);
}
.stat-row article {
  position: relative;
  min-height: 116px;
  border-right: 1px solid var(--line);
  padding: 28px 30px;
}
.stat-row article::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(15, 115, 95, 0.24);
  transform: rotate(45deg);
}
.stat-row strong { display: block; color: var(--ink); font-size: 1.78rem; line-height: 1.1; }
.stat-row span { display: block; margin-top: 10px; color: var(--muted); font-weight: 850; }

section { opacity: 1; transform: none; transition: opacity 480ms ease, transform 480ms ease; }
section.is-visible { opacity: 1; transform: translateY(0); }
.premium-hero { opacity: 1; transform: none; }
.overview-section,
.feature-section,
.timeline-section,
.standard-section,
.page-cta { padding: 104px 0; }
.section-title { display: grid; grid-template-columns: 0.72fr 1fr; gap: 48px; align-items: end; margin-bottom: 42px; }
.section-title h2,
.feature-lead h2,
.page-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 3.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.chapter-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.62);
  padding: 34px;
  transition: background 160ms ease, transform 160ms ease;
}
.chapter-grid article::after,
.feature-list article::after,
.timeline-track article::after,
.standard-panel::after,
.notice-table::after,
.contact-notes article::after {
  content: "";
  position: absolute;
  inset: 0 auto auto -45%;
  width: 36%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  opacity: 0;
  pointer-events: none;
  transform: skewX(-16deg);
}
.chapter-grid article:hover,
.feature-list article:hover {
  background: #fff;
  transform: translateY(-2px);
}
.chapter-grid article:hover::after,
.feature-list article:hover::after,
.timeline-track article:hover::after,
.standard-panel:hover::after,
.notice-table:hover::after,
.contact-notes article:hover::after {
  opacity: 1;
  animation: premiumSweep 720ms ease;
}
.chapter-grid span { color: var(--accent); font-family: Georgia, serif; font-size: 2.2rem; font-weight: 700; }
.chapter-grid h3 { margin: 44px 0 12px; font-size: 1.36rem; line-height: 1.24; }
.chapter-grid p { margin: 0; color: var(--muted); font-weight: 750; }

.feature-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-lead { position: sticky; top: 126px; align-self: start; }
.feature-lead p:last-child { margin-top: 24px; color: var(--muted); font-size: 1.02rem; font-weight: 750; }
.feature-list { display: grid; gap: 16px; }
.feature-list article {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px 210px 1fr;
  align-items: start;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.62));
  padding: 26px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.feature-list article:hover {
  border-color: rgba(15, 115, 95, 0.34);
  box-shadow: 0 24px 58px rgba(21,45,39,0.08);
}
.feature-list span { color: var(--accent); font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.06em; text-transform: uppercase; }
.feature-list h3 { margin: 0; font-size: 1.26rem; line-height: 1.24; }
.feature-list p { margin: 0; color: var(--muted); font-weight: 750; }

.timeline-section { background: #fff; width: 100%; max-width: none; padding-left: max(28px, calc((100vw - var(--max)) / 2)); padding-right: max(28px, calc((100vw - var(--max)) / 2)); }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.timeline-track article {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 30px 28px;
  background: linear-gradient(180deg, #fff, var(--wash));
  border-right: 1px solid var(--line);
  transition: background 160ms ease;
}
.timeline-track article:hover { background: #fff; }
.timeline-track article:last-child { border-right: 0; }
.timeline-track span { display: inline-flex; color: var(--accent); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.timeline-track h3 { margin: 72px 0 12px; font-size: 1.24rem; }
.timeline-track p { margin: 0; color: var(--muted); font-weight: 750; }

.standard-section { background: linear-gradient(135deg, var(--soft), #fff); }
.standard-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  padding: 38px;
}
.standard-panel p,
.legal-copy { margin: 0; color: var(--muted); font-size: 1.04rem; font-weight: 750; }
.standard-panel dl { margin: 0; display: grid; gap: 12px; }
.standard-panel dl div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.standard-panel dt { color: var(--accent); font-weight: 1000; }
.standard-panel dd { margin: 0; color: var(--ink); font-weight: 850; }
.notice-table {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.table-head,
.table-row {
  display: grid;
  grid-template-columns: 180px 1fr 300px;
  gap: 0;
}
.table-head { background: var(--accent-dark); color: #fff; font-weight: 900; }
.table-head span,
.table-row strong,
.table-row p,
.table-row span { margin: 0; padding: 22px 24px; border-right: 1px solid var(--line); }
.table-row { border-top: 1px solid var(--line); }
.table-row strong { color: var(--accent-dark); }
.table-row p,
.table-row span { color: var(--muted); font-weight: 750; }
.legal-copy { margin-top: 22px; }

.page-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 38px;
  margin-top: 28px;
  margin-bottom: 96px;
  border-radius: 14px;
  background: #0e211c;
  color: #fff;
  padding: 48px;
}
.page-cta .eyebrow { color: #72cfb9; }
.page-cta h2 { color: #fff; max-width: 780px; }
.page-cta p { margin: 18px 0 0; max-width: 720px; color: rgba(255,255,255,0.72); font-weight: 750; }

.premium-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 42px 0 52px;
}
.footer-inner { display: grid; gap: 16px; color: var(--muted); font-size: 0.92rem; font-weight: 800; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #31433d; }

.contact-premium {
  width: min(100% - 56px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
  padding: 96px 0 120px;
}
.contact-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 5.1vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.contact-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.contact-notes article {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.68);
  padding: 22px;
}
.contact-notes strong { display: block; color: var(--accent); font-family: Georgia, serif; font-size: 1.7rem; }
.contact-notes span { display: block; margin-top: 18px; color: var(--ink); font-weight: 900; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 34px 80px rgba(20, 45, 38, 0.1);
  padding: 32px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: #243a33;
  font-size: 0.92rem;
  font-weight: 900;
}
.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}
.contact-form .consent,
.contact-form .legal-copy,
.contact-form .primary-action,
.contact-form .secondary-action {
  grid-column: 1 / -1;
}
.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.6;
}
.contact-form .consent input {
  width: 17px;
  min-height: 17px;
  margin-top: 4px;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .segment-nav,
  .stat-row article,
  .chapter-grid article,
  .feature-lead,
  .feature-list article,
  .timeline-track article,
  .standard-panel,
  .notice-table,
  .page-cta,
  .contact-copy,
  .contact-form {
    animation: premiumRise 620ms ease both;
  }
  .hero-visual,
  .chapter-grid article:nth-child(2),
  .feature-list article:nth-child(2),
  .timeline-track article:nth-child(2),
  .stat-row article:nth-child(2) { animation-delay: 90ms; }
  .segment-nav,
  .chapter-grid article:nth-child(3),
  .feature-list article:nth-child(3),
  .timeline-track article:nth-child(3),
  .stat-row article:nth-child(3) { animation-delay: 160ms; }
  .feature-list article:nth-child(4),
  .timeline-track article:nth-child(4) { animation-delay: 230ms; }
}

@media (max-width: 1040px) {
  .premium-nav { grid-template-columns: 244px 1fr auto; gap: 18px; }
  .desktop-menu { gap: 18px; font-size: 0.88rem; }
  .premium-mega { grid-template-columns: 1fr 1fr 1fr; width: min(calc(100vw - 40px), var(--max)); }
  .mega-brand { grid-column: 1 / -1; min-height: auto; }
  .hero-grid,
  .feature-section,
  .standard-panel,
  .contact-premium { grid-template-columns: 1fr; }
  .feature-lead { position: static; }
  .timeline-track { grid-template-columns: repeat(2, 1fr); }
  .timeline-track article:nth-child(2n) { border-right: 0; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 124px; }
  .premium-nav,
  .hero-grid,
  .stat-row,
  .overview-section,
  .feature-section,
  .standard-section,
  .page-cta,
  .contact-premium,
  .footer-inner { width: min(100% - 32px, var(--max)); }
  .premium-nav {
    min-height: 108px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px;
    padding: 12px 0;
  }
  .brand-link { max-width: calc(100vw - 74px); }
  .brand-mark { gap: 7px; }
  .brand-symbol { width: 44px; height: 27px; }
  .brand-symbol img { width: 56px; }
  .brand-divider { height: 27px; }
  .brand-word strong { font-size: 0.82rem; letter-spacing: 0.025em; }
  .brand-word small { max-width: 112px; overflow: hidden; text-overflow: ellipsis; font-size: 0.5rem; }
  .desktop-menu {
    display: none;
  }
  .desktop-menu::-webkit-scrollbar { display: none; }
  .premium-hero::after { display: none; }
  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: 8px;
  }
  .premium-mega {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 0;
    margin-top: 2px;
    border-radius: 14px;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition: max-height 260ms ease, opacity 180ms ease, transform 180ms ease;
  }
  .premium-mega.is-open {
    max-height: 980px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mega-brand,
  .premium-mega a {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 28, 24, 0.09);
    padding: 18px;
  }
  .premium-mega a b {
    float: right;
    margin: 4px 0 0 16px;
  }
  .premium-hero { padding-top: 54px; }
  .hero-grid { gap: 36px; }
  .breadcrumb { margin-bottom: 22px; }
  .hero-copy h1 { font-size: clamp(2.78rem, 13vw, 4.2rem); line-height: 0.98; }
  .lead, .hero-copy .lead { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .primary-action, .secondary-action { width: 100%; }
  .segment-nav {
    width: min(100% - 32px, var(--max));
    grid-template-columns: repeat(2, 1fr);
    border-radius: 14px;
    margin-top: 34px;
  }
  .segment-nav a:nth-child(2) { border-right: 0; }
  .segment-nav a:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hero-visual { min-height: 360px; border-radius: 10px; }
  .hero-visual::before { display: none; }
  .hero-visual img { min-height: 0; height: auto; aspect-ratio: 3 / 2; background: #eef4ef; object-fit: contain; }
  .hero-visual figcaption {
    position: static;
    max-width: none;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    padding: 18px;
  }
  .stat-row { grid-template-columns: 1fr; margin-top: 42px; border-bottom: 1px solid var(--line); }
  .stat-row article { min-height: auto; padding: 22px; }
  .overview-section, .feature-section, .timeline-section, .standard-section, .page-cta { padding-top: 72px; padding-bottom: 72px; }
  .section-title { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .section-title h2, .feature-lead h2, .page-cta h2 { font-size: 2.35rem; }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter-grid article { min-height: 220px; padding: 26px; }
  .chapter-grid h3 { margin-top: 36px; }
  .feature-list article { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .timeline-section { padding-left: 16px; padding-right: 16px; }
  .timeline-track { grid-template-columns: 1fr; }
  .timeline-track article { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline-track article:last-child { border-bottom: 0; }
  .timeline-track h3 { margin-top: 44px; }
  .standard-panel { padding: 24px; }
  .standard-panel dl div { grid-template-columns: 1fr; gap: 4px; }
  .table-head { display: none; }
  .table-row { grid-template-columns: 1fr; }
  .table-row strong, .table-row p, .table-row span { padding: 18px; border-right: 0; }
  .table-row p, .table-row span { border-top: 1px solid var(--line); }
  .page-cta { grid-template-columns: 1fr; padding: 28px; margin-bottom: 68px; }
  .footer-links { gap: 12px 16px; }
  .contact-premium { padding: 64px 0 82px; gap: 34px; }
  .contact-copy h1 { font-size: 2.7rem; }
  .contact-notes { grid-template-columns: 1fr; margin-top: 32px; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
}

@media (max-width: 380px) {
  .brand-word small { display: none; }
  .brand-symbol { width: 44px; height: 27px; }
  .brand-symbol img { width: 56px; }
  .hero-copy h1 { font-size: 2.55rem; }
}

/* Modern visual pass for detail pages: more cinematic, less boxed. */
.premium-page {
  background:
    linear-gradient(rgba(10, 26, 22, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 26, 22, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, #fff 0, var(--soft) 52%, #fff 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.premium-hero {
  min-height: calc(100svh - 88px);
  padding-top: 86px;
}

.hero-grid {
  min-height: calc(100svh - 240px);
}

.hero-copy h1 {
  max-width: 720px;
  font-size: 5.45rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy .lead {
  max-width: 560px;
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-visual {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 44px 110px rgba(18, 40, 34, 0.18);
}

.hero-visual figcaption {
  border: 0;
  background: rgba(255,255,255,0.86);
}

.segment-nav {
  border: 0;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 18px 52px rgba(16, 38, 32, 0.08);
}

.stat-row {
  overflow: hidden;
  border: 0;
  border-radius: 999px 999px 0 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(18px);
}

.stat-row article {
  border-right: 1px solid rgba(18, 45, 38, 0.08);
}

.chapter-grid {
  gap: 18px;
  border: 0;
}

.chapter-grid article {
  min-height: 320px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 22px 64px rgba(21,45,39,0.07);
}

.feature-section {
  border: 0;
  background: transparent;
}

.feature-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-list article {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 30px 0;
}

.feature-list article:hover {
  box-shadow: none;
}

.timeline-section {
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    #0c1714;
  background-size: 72px 72px;
  color: #fff;
}

.timeline-section .eyebrow {
  color: #88ddc0;
}

.timeline-section .section-title h2 {
  color: #fff;
}

.timeline-track {
  border: 0;
  border-radius: 8px;
}

.timeline-track article {
  border-right: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
}

.timeline-track h3 {
  color: #fff;
}

.timeline-track p {
  color: rgba(255,255,255,0.72);
}

.standard-panel,
.notice-table,
.contact-form,
.page-cta {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 76px rgba(21,45,39,0.09);
}

@media (max-width: 1040px) {
  .hero-copy h1 {
    font-size: 4rem;
  }
}

@media (max-width: 767px) {
  .premium-hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
    line-height: 1.03;
  }

  .stat-row {
    border-radius: 8px;
  }

  .feature-list article {
    grid-template-columns: 1fr;
  }
}

/* White-tone refinement for detail pages. */
.premium-page {
  --soft: #fbfcfb;
  --wash: #ffffff;
  background:
    linear-gradient(rgba(16, 22, 20, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 20, 0.014) 1px, transparent 1px),
    #fff;
  background-size: 78px 78px, 78px 78px, auto;
}

.premium-header {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 28px rgba(20,28,24,0.04);
}

.premium-hero {
  background:
    radial-gradient(circle at 74% 18%, rgba(15,115,95,0.055), transparent 34%),
    radial-gradient(circle at 16% 82%, rgba(16,22,20,0.035), transparent 30%),
    #fff;
}

.premium-hero::before {
  opacity: 0.5;
}

.hero-visual,
.chapter-grid article,
.standard-panel,
.notice-table,
.contact-form,
.page-cta,
.segment-nav {
  box-shadow: 0 24px 70px rgba(20,28,24,0.07);
}

.chapter-grid article,
.standard-panel,
.notice-table,
.segment-nav {
  background: rgba(255,255,255,0.88);
}

.feature-section,
.standard-section {
  background: transparent;
}

.timeline-section {
  background:
    linear-gradient(rgba(16,22,20,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,22,20,0.014) 1px, transparent 1px),
    #fbfcfb;
  background-size: 78px 78px;
  color: var(--ink);
}

.timeline-section .section-title h2,
.timeline-track h3 {
  color: var(--ink);
}

.timeline-section .eyebrow,
.timeline-track span {
  color: var(--accent);
}

.timeline-track article {
  border-right-color: rgba(18,45,38,0.09);
  background: rgba(255,255,255,0.86);
}

.timeline-track p {
  color: var(--muted);
}

.page-cta {
  background: #101614;
}
