@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700&family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

/* ============================================
   혁신계량연구소 (Innovation Metrics)
   Global Stylesheet - styles-20260629-v6.css
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors */
  --navy:        #1B2A4A;
  --navy-dark:   #111D35;
  --navy-light:  #2C3E6B;
  --gold:        #D4A832;
  --gold-light:  #F0D060;
  --gold-muted:  #C6A24E;

  /* Neutrals */
  --white:       #FFFFFF;
  --bg:          #F6F7F9;
  --bg-alt:      #EEF0F4;
  --gray-100:    #E8EAF0;
  --gray-300:    #C2C7D3;
  --gray-500:    #7A8299;
  --gray-700:    #4A5068;
  --gray-900:    #2A2F3E;
  --text:        #2A2F3E;
  --text-light:  #5C6378;

  /* Typography */
  --font-heading: 'Noto Serif KR', 'Georgia', serif;
  --font-body:    'Pretendard', 'Noto Sans KR', 'Helvetica Neue', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Layout */
  --max-width:   1200px;
  --header-h:    72px;
  --radius:      8px;
  --radius-lg:   16px;
  --scroll-offset: 92px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(27,42,74,0.06);
  --shadow-md:  0 4px 16px rgba(27,42,74,0.08);
  --shadow-lg:  0 8px 32px rgba(27,42,74,0.10);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: var(--scroll-offset);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: var(--space-md); }
h3 { font-size: 1.35rem; margin-bottom: var(--space-sm); }
h4 { font-size: 1.1rem; }

p { margin-bottom: var(--space-sm); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
  display: block;
}

.section-label--light {
  color: var(--gold-light);
}

/* ---------- Layout Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
  scroll-margin-top: var(--scroll-offset);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.8); }

.section--bg {
  background: var(--bg);
}

.text-center { text-align: center; }

.section-intro {
  width: 100%;
  margin-bottom: var(--space-xl);
}

.section-intro--compact {
  margin-bottom: var(--space-lg);
}

.section-intro-copy {
  color: var(--text-light);
  max-width: none;
  margin: 0;
}

.text-center .section-intro-copy {
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.work-areas-grid {
  align-items: stretch;
}

.grid-2-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-dark);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-logo img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.header-logo-text {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.header-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: -2px;
}

.nav-menu {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.25s var(--ease);
  position: relative;
  padding: 0.3rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
  display: block;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-muted);
  border-color: var(--gold-muted);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,168,50,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
  color: var(--gold);
  font-size: 2.6rem;
  margin-bottom: var(--space-md);
  line-height: 1.35;
}

.hero .lead {
  font-size: 1.18rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin-bottom: 0;
}

@media (min-width: 1200px) {
  .hero .lead {
    max-width: none;
    white-space: nowrap;
  }
}

.hero-logo {
  width: 90px;
  height: auto;
  margin-bottom: var(--space-lg);
  border-radius: 8px;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  margin-top: var(--space-lg);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid rgba(240,208,96,0.42);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 0.45rem 0.8rem;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero-chip--primary {
  background: rgba(255,255,255,0.09);
  border-color: rgba(240,208,96,0.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-chip--primary:hover,
.hero-chip--primary:focus-visible {
  background: rgba(255,255,255,0.14);
  border-color: rgba(240,208,96,0.72);
  transform: translateY(-1px);
}

.hero-chip-kicker {
  color: var(--gold-light);
  font-weight: 800;
}

.hero-chip-divider {
  color: rgba(255,255,255,0.46);
  font-weight: 500;
}

.hero-chip-label {
  color: rgba(255,255,255,0.64);
  font-weight: 600;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.work-area-card {
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
}

.card-icon--gold {
  background: rgba(212,168,50,0.1);
}

.card h3 { color: var(--navy); }
.card p { color: var(--text-light); font-size: 0.95rem; }

#for-whom .card h4 {
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

/* Navy card variant */
.card--navy {
  background: var(--navy);
  border-color: var(--navy-light);
}
.card--navy h3 { color: var(--white); }
.card--navy p { color: rgba(255,255,255,0.7); }
.card--navy .card-icon { background: rgba(255,255,255,0.08); }
.logo-story-section {
  position: relative;
  overflow: hidden;
}

.logo-story-layout {
  align-items: center;
  gap: var(--space-xl);
}

.representative-layout {
  align-items: start;
  gap: var(--space-xl);
}

.representative-intro {
  display: grid;
  gap: var(--space-md);
}

.representative-intro > p {
  max-width: 42rem;
}

.representative-stack {
  display: grid;
  gap: var(--space-md);
}

.representative-panel {
  padding: var(--space-md) var(--space-lg);
}

.representative-panel h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.representative-list {
  display: grid;
  gap: 0.7rem;
}

.representative-list li {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
}

.representative-projects li strong {
  color: var(--navy);
  margin-right: 0.35rem;
}

.logo-story-visual {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
}

.logo-story-section h2,
.logo-story-section h3 {
  color: var(--white);
}

.logo-story-section p {
  color: rgba(255,255,255,0.82);
}

/* ---------- Divider / Accent ---------- */
.gold-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-xl);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Insight Cards ---------- */
.insight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.insight-card-thumb {
  height: 180px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.insight-card-body {
  padding: var(--space-md);
}

.insight-card-meta {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: var(--space-xs);
}

.insight-tag {
  background: rgba(212,168,50,0.12);
  color: var(--gold-muted);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.insight-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.insight-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Featured insight */
.insight-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  margin-bottom: var(--space-xl);
}

.insight-featured .insight-card-thumb {
  height: 100%;
  min-height: 260px;
}

.insight-featured .insight-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,74,0.08);
}

.form-group textarea { resize: vertical; min-height: 140px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.footer-brand .footer-slogan {
  color: var(--gold-muted);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-links h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.footer-links {
  justify-self: end;
}

.footer-links p {
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: nowrap;
  margin-bottom: 0.45rem;
}

.footer-links p:last-child {
  margin-bottom: 0;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Misc ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--bg-alt);
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.tag--gold {
  background: rgba(212,168,50,0.12);
  color: var(--gold-muted);
}

.tag--strategy {
  background: rgba(212,168,50,0.14);
  color: #9d791e;
  border: 1px solid rgba(212,168,50,0.22);
}

.tag--subject {
  background: rgba(44,62,107,0.12);
  color: var(--navy);
  border: 1px solid rgba(44,62,107,0.24);
}

.tag--outcome {
  background: rgba(88,132,102,0.14);
  color: #476b52;
  border: 1px solid rgba(88,132,102,0.24);
}

.why-copy .grid-2 {
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.why-copy p {
  margin-bottom: 0.75rem;
}

.why-copy p:last-child {
  margin-bottom: 0;
}

.work-area-subtitle {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: var(--space-md);
  margin-bottom: 0.7rem;
}

.work-area-groups {
  display: grid;
  gap: 0.95rem;
}

.work-area-group {
  display: grid;
  gap: 0.45rem;
}

.work-area-group-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.work-area-bubbles {
  gap: 0.85rem 0.75rem;
}

.work-area-bubbles .tag {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

.work-area-card--data .work-area-groups {
  gap: 0.7rem;
}

.work-area-card--data .work-area-group {
  gap: 0.3rem;
}

.work-area-card--data .work-area-group-label {
  font-size: 0.78rem;
}

.work-area-card--data .work-area-bubbles {
  gap: 0.55rem 0.55rem;
}

.work-area-card--data .work-area-bubbles .tag {
  padding: 0.5rem 0.95rem;
  font-size: 0.81rem;
}

.work-area-card--link .service-example {
  padding: 0.82rem 0.95rem;
}

.work-area-card--analytics .work-area-bubbles {
  gap: 0.7rem 0.7rem;
}

.service-example-list {
  display: grid;
  gap: 0.85rem;
}

.service-example {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(212,168,50,0.1);
  border: 1px solid rgba(212,168,50,0.18);
}

.service-example--link {
  position: relative;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-example--featured {
  background: linear-gradient(180deg, rgba(212,168,50,0.16), rgba(255,255,255,0.92));
  border-color: rgba(212,168,50,0.42);
  box-shadow: 0 8px 24px rgba(27,42,74,0.08);
}

.service-example--link:hover,
.service-example--link:focus-visible {
  border-color: rgba(212,168,50,0.5);
  box-shadow: 0 8px 22px rgba(27,42,74,0.12);
  transform: translateY(-2px);
}

.service-example-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 0.68rem;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
}

.service-example-more {
  color: var(--gold-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.service-example-more::after {
  content: ' →';
}

.service-example strong {
  color: var(--navy);
  font-weight: 700;
}

.service-example span {
  color: var(--text);
  font-weight: 400;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(212,168,50,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.contact-info-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-direct-card {
  align-self: start;
}

.contact-direct-card p {
  margin-bottom: var(--space-md);
}

/* ---------- Service Detail Sections ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

.service-detail-visual {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ---------- R&D Value Link Detail ---------- */
.context-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.context-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  min-height: 52px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--gray-500);
  font-size: 0.84rem;
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 600;
}

.breadcrumb span::before,
.breadcrumb strong::before {
  content: '/';
  margin-right: 0.45rem;
  color: var(--gray-300);
  font-weight: 400;
}

.breadcrumb strong {
  color: var(--gold-muted);
}

.context-back {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.value-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 68%, #22385f 100%);
  color: var(--white);
  padding: var(--space-xl) 0;
}

.value-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: var(--space-xl);
  align-items: center;
}

.value-hero h1 {
  color: var(--gold-light);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
}

.value-hero .lead {
  color: rgba(255,255,255,0.84);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.value-hero p {
  color: rgba(255,255,255,0.76);
}

.value-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.value-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: var(--space-md);
}

.value-hero-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(240,208,96,0.35);
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.08);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.38rem 0.75rem;
}

.value-hero-visual {
  min-width: 0;
}

.value-snapshot-section {
  background: var(--white);
}

.glance-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.glance-column,
.trust-item,
.related-insight {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.glance-column {
  border-top: 3px solid rgba(212,168,50,0.68);
}

.glance-column-heading {
  margin-bottom: var(--space-sm);
}

.glance-column-heading span {
  display: block;
  color: var(--gold-muted);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.glance-column-heading h3 {
  font-size: 1.16rem;
  margin-bottom: 0;
}

.glance-items {
  display: grid;
  gap: 0.72rem;
}

.glance-mini-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: rgba(246,247,249,0.72);
  padding: 0.85rem 0.95rem;
}

.glance-mini-card strong,
.trust-item strong {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.glance-mini-card p,
.trust-item span {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.section-heading {
  max-width: none;
  margin-bottom: var(--space-lg);
}

.section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-heading p {
  color: var(--text-light);
  max-width: none;
}

.image-frame {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.image-frame img {
  width: 100%;
  height: auto;
}

.image-frame span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.7rem 0.9rem;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  border-top: 1px solid var(--gray-100);
}

.image-frame span::after {
  content: '↗';
  color: var(--gold-muted);
}

.image-frame--hero {
  box-shadow: 0 24px 54px rgba(0,0,0,0.26);
  border-color: rgba(255,255,255,0.22);
}

.value-problem-grid,
.value-question-grid,
.meaning-grid,
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

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

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

.value-problem,
.value-question,
.output-item,
.usecase-item,
.meaning-item,
.commercial-item,
.social-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.value-problem strong,
.value-question strong,
.output-item strong,
.social-item strong {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.value-problem span,
.value-question span,
.output-item span,
.social-item span {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

.value-reveals-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.value-reveals-image {
  height: 100%;
}

.value-reveals-image img {
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  background: var(--white);
}

.value-reveal-bubbles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
}

.value-reveal-bubble {
  display: grid;
  gap: 0.22rem;
  align-content: center;
  min-height: 5rem;
  border: 1px solid rgba(44,62,107,0.14);
  border-left: 3px solid rgba(212,168,50,0.72);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 1rem;
}

.value-reveal-bubble strong {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.35;
}

.value-reveal-bubble span {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.5;
}

.meaning-item span {
  display: block;
  color: var(--gold-muted);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.meaning-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.meaning-item p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.output-grid,
.usecase-grid,
.commercial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}

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

.commercial-item h3 {
  font-size: 1.12rem;
}

.commercial-item p {
  color: var(--text-light);
  font-size: 0.92rem;
}

.commercial-item ul {
  display: grid;
  gap: 0.52rem;
  color: var(--text);
  font-size: 0.9rem;
}

.commercial-item li,
.usecase-item li {
  position: relative;
  padding-left: 1rem;
}

.commercial-item li::before,
.usecase-item li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold-muted);
}

.package-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: var(--space-md);
}

.package-row span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(44,62,107,0.18);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.48rem 0.85rem;
}

.package-heading {
  margin-top: var(--space-lg);
  max-width: none;
}

.package-heading h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.package-heading p {
  color: var(--text-light);
  font-size: 0.94rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.package-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.package-kicker {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(212,168,50,0.14);
  color: #9d791e;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.22rem 0.62rem;
  margin-bottom: 0.7rem;
}

.package-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.package-card ul {
  display: grid;
  gap: 0.48rem;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.package-card li {
  position: relative;
  padding-left: 1rem;
}

.package-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold-muted);
}

.usecase-item h3 {
  font-size: 1.12rem;
}

.usecase-item ul {
  display: grid;
  gap: 0.6rem;
  color: var(--text-light);
  font-size: 0.92rem;
}

.usecase-item li {
  color: var(--text-light);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--gray-100);
}

.case-study:last-of-type {
  border-bottom: 1px solid var(--gray-100);
}

.case-study--reverse .case-study-summary {
  order: 2;
}

.case-study--reverse .case-study-media {
  order: 1;
}

.case-kicker {
  display: inline-flex;
  color: var(--gold-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.impact-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(212,168,50,0.14);
  color: #9d791e;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.24rem 0.62rem;
  margin-left: 0.45rem;
  margin-bottom: 0.45rem;
}

.case-study-summary p {
  color: var(--text-light);
}

.case-stats {
  display: grid;
  gap: 0.65rem;
  margin-top: var(--space-md);
}

.case-stats div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: var(--space-sm);
  align-items: baseline;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gray-100);
}

.case-stats dt {
  color: var(--gray-500);
  font-size: 0.82rem;
  font-weight: 700;
}

.case-stats dd {
  color: var(--navy);
  font-weight: 800;
}

.case-notice {
  background: rgba(27,42,74,0.04);
  border: 1px solid rgba(44,62,107,0.14);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  padding: var(--space-md);
}

.case-notice strong {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.case-notice p {
  margin-bottom: 0.4rem;
}

.case-notice p:last-child {
  margin-bottom: 0;
}

.related-insight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.related-insight h3 {
  font-size: 1.18rem;
  margin-top: 0.55rem;
  margin-bottom: 0.35rem;
}

.related-insight p {
  color: var(--text-light);
  margin-bottom: 0;
}

.related-insight-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(44,62,107,0.18);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.42rem 0.8rem;
}

.value-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-lg);
  align-items: center;
}

.value-cta h2 {
  margin-bottom: var(--space-sm);
}

.value-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: flex-end;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2rem; }
  .section { padding: var(--space-xl) 0; }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-links {
    justify-self: start;
  }

  .service-detail,
  .service-detail--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .value-hero-grid,
  .case-study,
  .value-reveals-layout,
  .value-cta-inner {
    grid-template-columns: 1fr;
  }

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

  .value-reveals-image img {
    min-height: 0;
  }

  .value-problem-grid,
  .value-question-grid,
  .meaning-grid,
  .output-grid,
  .usecase-grid,
  .commercial-grid,
  .social-grid,
  .glance-grid,
  .package-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-study--reverse .case-study-summary,
  .case-study--reverse .case-study-media {
    order: initial;
  }

  .value-cta-actions {
    justify-content: flex-start;
  }

  .related-insight {
    align-items: flex-start;
    flex-direction: column;
  }

  .insight-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --scroll-offset: 128px;
  }

  .site-header {
    height: auto;
    align-items: stretch;
  }

  .site-header .container {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .header-logo {
    min-height: var(--header-h);
    padding: 0 var(--space-md);
  }

  .nav-menu {
    display: flex;
    position: static;
    background: var(--navy-dark);
    flex-direction: row;
    justify-content: space-around;
    padding: 0 var(--space-sm);
    gap: var(--space-xs);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    flex: 1;
    min-width: 0;
    padding: 0.72rem 0.2rem 0.82rem;
    border-bottom: 0;
    text-align: center;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-menu a::after {
    bottom: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    width: 70%;
  }

  .hamburger {
    display: none;
  }

  .hero { padding: var(--space-xl) 0; }
  .hero h1 { font-size: 1.75rem; }
  .hero .lead { font-size: 1rem; }

  .hero-chip-row {
    gap: 0.5rem;
  }

  .hero-chip {
    font-size: 0.76rem;
    padding: 0.4rem 0.65rem;
  }

  .context-bar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .context-back {
    white-space: normal;
  }

  .value-hero {
    padding: var(--space-lg) 0;
  }

  .value-hero-grid {
    gap: var(--space-lg);
  }

  .value-hero .lead {
    font-size: 1rem;
  }

  .value-problem-grid,
  .value-question-grid,
  .meaning-grid,
  .output-grid,
  .usecase-grid,
  .commercial-grid,
  .social-grid,
  .glance-grid,
  .value-problem-grid.value-problem-grid--two,
  .package-grid,
  .trust-grid,
  .value-reveal-bubbles {
    grid-template-columns: 1fr;
  }

  .case-study {
    padding: var(--space-md) 0;
  }

  .case-stats div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }
}
