/* ==========================================================================
   Lee Jae Hong Law - V12 Modern White-Centric Theme (Final Adjusted Candidate)
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  /* Core Colors */
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-tint-blue: #f0f7ff;
  
  --navy-primary: #00205D;
  --navy-dark: #001640;
  --navy-light: #1e3a8a;
  
  --text-title: #0a1d37;
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-subtle: #e2e8f0;
  --border-light: #f1f5f9;

  /* Typography */
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1160px;
  --header-height: 72px;

  /* Restrained Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 12px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 8px 24px rgba(0, 32, 93, 0.08);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.68;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
}

.top-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--navy-primary);
  display: inline-block;
}

/* ==========================================================================
   Main Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-fast);
}

.header.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 32, 93, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.symbol-mark {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-primary);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-heading);
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.links a:hover {
  color: var(--navy-primary);
}

.links a.ext-link {
  color: var(--navy-primary);
}

.arr-ext {
  font-size: 11px;
  display: inline-block;
  transform: translateY(-1px);
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: var(--navy-primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 8px rgba(0, 32, 93, 0.15);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.header-call:hover {
  background-color: var(--navy-dark);
  color: #ffffff;
}

.mobile-menu {
  display: none;
}

/* ==========================================================================
   Hero Section (White-Centric Editorial, Restrained)
   ========================================================================== */
.hero {
  background-color: #ffffff;
  padding: 68px 0 76px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-affiliation {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--text-title);
  margin: 0;
}

.hero-title-sub {
  display: inline-block;
  margin-left: 8px;
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 700;
  color: var(--text-heading);
}

.hero-statement {
  font-size: clamp(22px, 2.3vw, 29px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--navy-primary);
  margin: 16px 0 0;
  word-break: keep-all;
}

.hero-practices-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
}

.practices-label {
  font-weight: 700;
  color: var(--navy-primary);
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12.5px;
}

.practices-items {
  font-weight: 600;
  color: var(--text-heading);
}

.hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 20px 0 0;
  max-width: 530px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  background-color: var(--navy-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 32, 93, 0.18);
  transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
  background-color: var(--navy-dark);
  color: #ffffff;
}

.hero-sublink {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  transition: color var(--transition-fast);
}

.hero-sublink:hover {
  color: var(--navy-primary);
  text-decoration: underline;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-photo-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: #f8fafc;
}

.hero-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.hero-photo-caption {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 12px 0 0;
  padding-left: 4px;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-white {
  background-color: #ffffff;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-header {
  margin-bottom: 40px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--text-title);
  margin: 0;
}

.section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 700px;
  margin: 14px 0 0;
}

/* ==========================================================================
   Practice Cards (4 Practices, Clean)
   ========================================================================== */
.practice-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.practice-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.practice-card:hover {
  border-color: var(--navy-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.practice-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.practice-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-primary);
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
}

.practice-arr {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-primary);
  transition: transform var(--transition-fast);
}

.practice-card:hover .practice-arr {
  transform: translate(2px, -2px);
}

.practice-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.practice-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 18px;
  flex-grow: 1;
}

.practice-link-text {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Before Consultation (Restrained, No Emojis)
   ========================================================================== */
.reassurance-simple {
  background-color: #ffffff;
  border-left: 3px solid var(--navy-primary);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 32px;
}

.reassurance-simple p {
  font-size: 15px;
  color: var(--text-heading);
  line-height: 1.7;
  margin: 0;
}

.reassurance-simple strong {
  color: var(--navy-primary);
  font-weight: 700;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast);
}

.step-card:hover {
  border-color: var(--navy-primary);
}

.step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.step-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Profile Section (No Yellow Star, Clean List & Actions)
   ========================================================================== */
.editorial-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.editorial-photo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: #ffffff;
}

.editorial-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.editorial-content {
  display: flex;
  flex-direction: column;
}

.profile-quote {
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.4;
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
}

.profile-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 20px;
}

.career-facts-clean {
  margin-bottom: 28px;
}

.fact-item.fact-priority {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-primary);
  padding: 10px 14px;
  background-color: #f1f5f9;
  border-left: 3px solid var(--navy-primary);
  border-radius: 2px;
  margin-bottom: 12px;
}

.facts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.fact-text {
  font-size: 13.5px;
  color: var(--text-heading);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
}

/* Button Hierarchy */
.profile-actions-clean {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.btn-profile-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  background-color: var(--navy-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(0, 32, 93, 0.15);
  transition: all var(--transition-fast);
}

.btn-profile-primary:hover {
  background-color: var(--navy-dark);
  color: #ffffff;
}

.profile-external-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.link-external {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.link-external:hover {
  text-decoration: underline;
  color: var(--navy-dark);
}

.link-sep {
  color: var(--text-light);
  font-size: 12px;
}

/* ==========================================================================
   Issue Index
   ========================================================================== */
.issue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.issue-card {
  display: grid;
  grid-template-columns: 80px 1fr 20px;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 18px 22px;
  transition: all var(--transition-fast);
}

.issue-card:hover {
  border-color: var(--navy-primary);
  background-color: var(--bg-subtle);
}

.issue-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-primary);
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
}

.issue-text {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-heading);
}

.issue-arr {
  font-size: 16px;
  color: var(--navy-primary);
  transition: transform var(--transition-fast);
}

.issue-card:hover .issue-arr {
  transform: translateX(2px);
}

/* ==========================================================================
   Location Section (Clean Directory Grid, No Atlas Image, No Pink Pin)
   ========================================================================== */
.location-directory {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-item {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 22px 24px;
  transition: all var(--transition-fast);
  display: block;
}

.location-item:hover {
  border-color: var(--navy-primary);
  box-shadow: var(--shadow-sm);
}

.location-item.location-featured {
  border-left: 4px solid var(--navy-primary);
  background-color: #ffffff;
}

.loc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.loc-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-primary);
}

.loc-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-primary);
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
}

.loc-detail {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.loc-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.location-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ==========================================================================
   Direct Answers FAQ
   ========================================================================== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guide-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast);
}

.guide-card:hover {
  border-color: var(--navy-primary);
}

.guide-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-primary);
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 12px;
}

.guide-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.45;
}

.guide-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 16px;
  flex-grow: 1;
}

.guide-arr {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.section-cta {
  background-color: var(--bg-subtle);
  padding: 68px 0;
}

.cta-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--navy-primary);
  border-radius: 8px;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.cta-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy-primary);
  margin-bottom: 10px;
}

.cta-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--text-title);
  margin: 0 0 12px;
}

.cta-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  background-color: var(--navy-primary);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 32, 93, 0.18);
  transition: all var(--transition-fast);
}

.btn-cta-primary:hover {
  background-color: var(--navy-dark);
  color: #ffffff;
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  background-color: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.btn-cta-secondary:hover {
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--navy-dark);
  color: #94a3b8;
  padding: 56px 0 72px;
  font-size: 13.5px;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-logo img {
  height: 34px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 3px;
}

.footer-title {
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.footer-sub, .footer-loc {
  margin: 3px 0;
  color: #cbd5e1;
}

.footer-ext a {
  color: #93c5fd;
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
}

.footer-ext a:hover {
  text-decoration: underline;
}

.footer-col-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-phone a {
  color: #ffffff;
  font-size: 16.5px;
  font-weight: 800;
}

.footer-email a {
  color: #cbd5e1;
}

.footer-practices {
  line-height: 1.8;
}

.footer-practices a {
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.footer-practices a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
}

.footer-legal {
  margin: 0 0 6px;
}

.footer-copy {
  margin: 0;
}

/* ==========================================================================
   Mobile Floating Call Bar (Strict Scroll & Menu Aware)
   ========================================================================== */
.mobile-floating-call {
  display: none;
}

/* ==========================================================================
   Header Actions & Mobile Consultation Button (Desktop Defaults)
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.call-text-desktop {
  display: inline;
}

.call-text-mobile {
  display: none;
}

.brand-sub .sub-en {
  display: inline;
}

/* ==========================================================================
   Hero Statement Refined Line Wrapping
   ========================================================================== */
.hero-statement {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.45;
  margin: 0 0 20px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-statement .statement-part-1 {
  display: inline-block;
}

.hero-statement .statement-part-2 {
  display: inline-block;
}

.hero-statement .statement-sub {
  display: inline-block;
}

.hero-statement .statement-keep {
  display: inline-block;
  white-space: nowrap;
}

/* ==========================================================================
   Subpage Layouts & Universal Components (V12 Modern Design System)
   ========================================================================== */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  padding: 18px 28px 10px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.breadcrumb a {
  color: var(--text-body);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--navy-primary);
}

.page-hero {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 52px 0 46px;
}

.page-hero .kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin: 6px 0 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.page-hero .lead {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.72;
  max-width: 820px;
  margin: 0;
  word-break: keep-all;
}

.answer {
  margin-top: 24px;
  padding: 20px 24px;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--navy-primary);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-body);
  word-break: keep-all;
}

.answer b {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-primary);
  font-size: 15.5px;
  font-weight: 800;
}

/* Subpage Two-Column Content & Sidebar */
.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

.article {
  min-width: 0;
}

.article h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-primary);
  letter-spacing: -0.03em;
  margin: 44px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--navy-primary);
  line-height: 1.3;
  word-break: keep-all;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin: 28px 0 12px;
  word-break: keep-all;
}

.article p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 18px;
  word-break: keep-all;
}

.article ul, .article ol {
  padding-left: 20px;
  margin: 0 0 22px;
  color: var(--text-body);
  line-height: 1.75;
}

.article li {
  margin-bottom: 8px;
}

.check {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  border-top: 1px solid var(--border-subtle);
}

.check li {
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
}

.check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--navy-primary);
  border-bottom: 2px solid var(--navy-primary);
  transform: rotate(-45deg);
}

/* Sidebar Consultation Card */
.side {
  position: sticky;
  top: 92px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--navy-primary);
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.side .eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.side b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.45;
  word-break: keep-all;
}

.side .phone {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-primary);
  margin: 12px 0 14px;
  letter-spacing: -0.02em;
}

.side .btn {
  width: 100%;
  margin-top: 8px;
}

.side-links {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.side-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-heading);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.side-links a:hover {
  color: var(--navy-primary);
  padding-left: 6px;
}

/* Profile Detail Page Hero & Timeline */
.profile-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 520px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: #ffffff;
}

.profile-photo {
  position: relative;
  background-color: var(--bg-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.profile-copy {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-copy .affiliation {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.profile-copy h1 {
  font-size: clamp(38px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.035em;
}

.profile-copy .lead {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.profile-copy p {
  font-size: 15px;
  color: var(--text-body);
  margin: 0 0 18px;
  line-height: 1.68;
}

.profile-copy .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.timeline {
  margin-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.timeline > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  align-items: baseline;
  transition: background-color var(--transition-fast);
}

.timeline > div:hover {
  background-color: var(--bg-subtle);
}

.timeline span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline b {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

/* Case Rail & Subpage List */
.rail {
  margin-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.rail a {
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  gap: 16px;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast), padding-left var(--transition-fast);
}

.rail a:hover {
  background-color: var(--bg-subtle);
  padding-left: 8px;
}

.rail .tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-primary);
  background-color: #eff6ff;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
}

.rail strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
}

.rail .arr {
  color: var(--navy-primary);
  font-size: 18px;
  text-align: right;
  transition: transform var(--transition-fast);
}

.rail a:hover .arr {
  transform: translateX(3px);
}

/* Region Areas List */
.areas {
  border-top: 1px solid var(--border-subtle);
  margin-top: 20px;
}

.area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast), padding-left var(--transition-fast);
}

.area:hover {
  background-color: var(--bg-subtle);
  padding-left: 8px;
}

.area b {
  font-size: 16px;
  color: var(--navy-primary);
  font-weight: 700;
}

.area span {
  color: var(--text-muted);
  font-size: 13px;
}

/* Focus Grid & Local Context */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.focus-card {
  padding: 20px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
}

.focus-card h3 {
  margin-top: 0;
  font-size: 16px;
  color: var(--navy-primary);
}

.local-context {
  margin: 24px 0;
  padding: 20px;
  background-color: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 14.5px;
  line-height: 1.7;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn.navy, .btn.red, .btn.dark {
  background-color: var(--navy-primary);
  color: #ffffff;
  border-color: var(--navy-primary);
}

.btn.navy:hover, .btn.red:hover, .btn.dark:hover {
  background-color: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #ffffff;
}

.btn.outline-dark, .btn.outline {
  background-color: transparent;
  color: var(--navy-primary);
  border-color: var(--navy-primary);
}

.btn.outline-dark:hover, .btn.outline:hover {
  background-color: var(--navy-primary);
  color: #ffffff;
}

.btn.white {
  background-color: #ffffff;
  color: var(--navy-primary);
  border-color: var(--border-subtle);
}

.btn.white:hover {
  background-color: var(--bg-subtle);
}

.compliance-note {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.sticky {
  display: none;
}

/* ==========================================================================
   Responsive Media Queries (Placed at the end for proper cascading)
   ========================================================================== */

/* ==========================================================================
   Mobile Navigation Dropdown Menu
   ========================================================================== */
.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  padding: 7px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background-color: #ffffff;
  color: var(--text-heading);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  user-select: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.mobile-menu summary::-webkit-details-marker,
.mobile-menu summary::marker {
  display: none;
}

.mobile-menu summary:hover {
  border-color: var(--navy-primary);
  background-color: var(--bg-subtle);
}

.mobile-menu .menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 32, 93, 0.15);
  padding: 6px 0;
  min-width: 220px;
  z-index: 101;
}

.mobile-menu .menu-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-menu .menu-dropdown a:hover {
  background-color: var(--bg-subtle);
  color: var(--navy-primary);
}

.mobile-menu .menu-call {
  padding: 10px 14px;
  background-color: var(--bg-subtle);
  margin-top: 4px;
}

.mobile-menu .menu-call-btn {
  display: block;
  text-align: center;
  background-color: var(--navy-primary);
  color: #ffffff !important;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: none !important;
}

.mobile-menu .menu-call-btn:hover {
  background-color: var(--navy-dark);
}

@media (max-width: 980px) {
  .mobile-menu {
    display: block;
  }
  .links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .call-text-desktop {
    display: none !important;
  }

  .call-text-mobile {
    display: inline !important;
  }

  .header-call {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 38px;
    box-sizing: border-box;
    padding: 0 13px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 6px;
    background-color: var(--navy-primary);
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 32, 93, 0.15);
  }

  .mobile-menu summary {
    height: 38px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 6px;
    line-height: 1;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-affiliation {
    order: 1;
    margin-bottom: 8px;
    text-align: left;
  }

  .hero-title {
    order: 2;
    margin: 0 0 14px;
    font-size: 36px;
    text-align: left;
    width: 100%;
  }

  .hero-title-sub {
    font-size: 28px;
  }

  .hero-statement {
    order: 3;
    font-size: 19px;
    line-height: 1.48;
    margin: 0 0 16px;
    text-align: left;
    width: 100%;
  }

  .hero-statement .statement-part-1 {
    display: block;
    margin-bottom: 4px;
    text-align: left;
  }

  .hero-statement .statement-part-2 {
    display: block;
    text-align: left;
  }

  .hero-practices-compact {
    order: 4;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
  }

  .hero-visual {
    order: 5;
    margin-bottom: 22px;
    width: 100%;
  }

  .hero-photo-card {
    max-width: 100%;
    width: 100%;
  }

  .hero-photo-card img {
    aspect-ratio: 4 / 4.5;
    width: 100%;
  }

  .hero-photo-caption {
    font-size: 13px;
    margin-top: 10px;
    color: var(--text-muted);
    text-align: left;
    padding-left: 0;
  }

  .hero-lead {
    order: 6;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: left;
    width: 100%;
  }

  .hero-actions {
    order: 7;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .btn-hero-primary {
    width: 100%;
  }

  .hero-sublink {
    justify-content: center;
  }

  .content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .profile-hero {
    grid-template-columns: 1fr;
  }

  .profile-photo img {
    max-height: 420px;
  }

  .profile-copy {
    padding: 36px 20px;
  }

  .side {
    position: static;
    margin-top: 24px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .practice-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .practice-card {
    padding: 22px 18px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .facts-list {
    grid-template-columns: 1fr;
  }

  .location-subgrid {
    grid-template-columns: 1fr;
  }

  .issue-card {
    grid-template-columns: 60px 1fr 16px;
    gap: 10px;
    padding: 14px 12px;
  }

  .issue-text {
    font-size: 13.5px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-card {
    padding: 20px 16px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 28px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-external-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .link-sep {
    display: none;
  }

  .btn-profile-primary {
    width: 100%;
  }

  body {
    padding-bottom: 72px;
  }

  .mobile-floating-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 99;
    background-color: var(--navy-primary);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 32, 93, 0.32);
    letter-spacing: -0.01em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .mobile-floating-call.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .top-wrap {
    font-size: 11px;
    height: 32px;
  }

  .nav-wrap {
    height: 60px;
    gap: 10px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .symbol-mark {
    height: 28px;
  }

  .hero {
    padding: 36px 0 48px;
  }
}

@media (max-width: 360px) {
  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub .sub-en {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-title-sub {
    font-size: 25px;
  }

  .hero-statement {
    font-size: 17.5px;
  }

  .hero-statement .statement-sub {
    display: block;
    margin-bottom: 2px;
  }

  .hero-statement .statement-keep {
    display: block;
  }

  .timeline > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
