/* =================================================================
   figma-case-study.css
   -----------------------------------------------------------------
   Case-study stylesheet for "A Gallery in Figma".
   Uses the site's signature cobalt blue accent for full alignment
   with the rest of ux-JP.com. Mirrors the structure and responsive
   breakpoints of showcase-01.css / japan.css so the visual language
   stays consistent across all case studies.
   ================================================================= */


/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* ── LIGHT MODE ── */
  --ink:           #0A1628;
  --ink-dim:       #5B6A82;
  --surface:       #FFFFFF;
  --panel:         #F2F6FB;
  --panel-mid:     #E8EEF5;

  --dark:          #0D1B2E;
  --navy:          #1A3A5C;
  --blue:          #2563AE;
  --sky:           #5BA8D9;

  /* Site signature accent (cobalt blue) — same as styles.css */
  --accent:        #2563EB;
  --accent-dark:   #1D4ED8;
  --accent-glow:   rgba(37, 99, 235, .28);
  --accent-glow-2: rgba(37, 99, 235, .12);
  --accent-halo:   rgba(37, 99, 235, .40);
  --accent-tint:   rgba(37, 99, 235, .07);
  --accent-border: rgba(37, 99, 235, .18);
  --on-accent:     #FFFFFF;

  --border-l:      #E2E8F0;

  --nav-bg:        rgba(255, 255, 255, .94);
  --nav-cta-bg:    #E8EEF5;
  --nav-cta-bg-h:  #D5DFEC;
  --nav-cta-text:  #0A1628;

  --radius:        12px;
  --radius-lg:     18px;
  --nav-h:         56px;

  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-spring:   cubic-bezier(.34,1.56,.64,1);
  --ease-gentle:   cubic-bezier(.25,.46,.45,.94);
}

/* ─── DARK MODE ─────────────────────────────────────────── */
[data-theme="dark"] {
  --ink:           #E6EDF7;
  --ink-dim:       #8DA0BD;
  --surface:       #0A1321;
  --panel:         #111E37;
  --panel-mid:     #172340;

  --dark:          #050B17;
  --navy:          #8AB4FF;
  --blue:          #60A5FA;
  --sky:           #60A5FA;

  --accent:        #2563EB;
  --accent-dark:   #1D4ED8;
  --accent-glow:   rgba(37, 99, 235, .30);
  --accent-glow-2: rgba(37, 99, 235, .14);
  --accent-halo:   rgba(37, 99, 235, .45);
  --accent-tint:   rgba(37, 99, 235, .10);
  --accent-border: rgba(37, 99, 235, .28);

  --border-l:      #1B2742;

  --nav-bg:        rgba(10, 19, 33, .85);
  --nav-cta-bg:    #172340;
  --nav-cta-bg-h:  #223152;
  --nav-cta-text:  #E6EDF7;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Noto Sans', sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ─── NAV ────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-l);
  transition: box-shadow .3s var(--ease-out-expo),
              background-color .4s ease,
              border-color .4s ease;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.07); }

.nav-left { display: flex; align-items: center; gap: 20px; }
.nav-logo {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.3px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s, color .4s ease;
}
.nav-logo:hover { opacity: .85; }

.nav-logo-mark { flex-shrink: 0; overflow: visible; }
.nav-logo-mark .logo-outer {
  stroke: currentColor; stroke-width: 2; stroke-linejoin: round;
  fill: none; transition: stroke .4s ease;
}
.nav-logo-mark .logo-inner {
  fill: var(--accent);
  transform-origin: center; transform-box: fill-box;
  transition: fill .4s ease, transform .3s var(--ease-spring);
}
.nav-logo:hover .logo-inner { transform: scale(1.25); }

.nav-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-dim);
  transition: color .4s ease;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22C55E; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--ink-dim); transition: color .2s; }
.nav-links a:not(.nav-cta) { position: relative; padding-bottom: 2px; }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent-dark);
  border-radius: 2px;
  transition: width .25s var(--ease-out-expo), background-color .4s ease;
}
.nav-links a:not(.nav-cta):hover        { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-active { font-weight: 600; color: var(--ink) !important; }
.nav-active:not(.nav-cta)::after { width: 100% !important; }

.nav-cta {
  font-size: 13px; font-weight: 600; padding: 8px 16px;
  background: var(--nav-cta-bg);
  color: var(--nav-cta-text) !important;
  border-radius: 8px;
  transition: background .2s, transform .15s, color .4s ease;
}
.nav-cta:hover { background: var(--nav-cta-bg-h); transform: translateY(-1px); }

.theme-toggle {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border-l);
  border-radius: 50%;
  color: var(--ink-dim);
  cursor: pointer; padding: 0;
  transition: color .25s ease, border-color .25s ease, background .25s ease,
              transform .3s var(--ease-spring);
}
.theme-toggle:hover {
  color: var(--accent-dark);
  border-color: var(--accent);
  background: var(--accent-glow-2);
  transform: rotate(-12deg);
}
[data-theme="dark"] .theme-toggle:hover {
  color: var(--accent);
  transform: rotate(12deg);
}
.tt-icon { display: none; }
[data-theme="light"] .tt-moon,
:root:not([data-theme="dark"]) .tt-moon { display: block; }
[data-theme="dark"] .tt-sun { display: block; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease-out-expo), opacity .2s, background-color .4s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--surface); border-bottom: 1px solid var(--border-l);
  padding: 20px 32px 24px; z-index: 99; flex-direction: column; gap: 4px;
  transform: translateY(-6px); opacity: 0;
  transition: transform .25s var(--ease-out-expo), opacity .2s,
              background-color .4s ease, border-color .4s ease;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-menu a {
  font-size: 16px; color: var(--ink-dim);
  padding: 12px 0; border-bottom: 1px solid var(--border-l);
  transition: color .2s, border-color .4s ease;
}
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu a:last-of-type { border-bottom: none; }

.mobile-theme-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 0 2px;
  background: none; border: none;
  border-top: 1px solid var(--border-l); margin-top: 6px;
  font-family: inherit; font-size: 16px; color: var(--ink-dim);
  cursor: pointer;
  transition: color .2s, border-color .4s ease;
}
.mobile-theme-toggle:hover { color: var(--accent-dark); }
[data-theme="dark"] .mobile-theme-toggle:hover { color: var(--accent); }
.mtt-label-light, .mtt-label-dark { display: none; }
[data-theme="light"] .mtt-label-light,
:root:not([data-theme="dark"]) .mtt-label-light { display: inline; }
[data-theme="dark"] .mtt-label-dark { display: inline; }
.mtt-icon-wrap {
  width: 30px; height: 30px;
  border: 1px solid var(--border-l); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: inherit; transition: border-color .2s;
}
.mobile-theme-toggle:hover .mtt-icon-wrap { border-color: var(--accent); }


/* ─── PAGE LAYOUT ────────────────────────────────────────────── */
.showcase-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  padding-top: var(--nav-h);
  align-items: start;
}
.study-banner {
  grid-column: 1; grid-row: 1;
  width: 100%; height: 260px;
  position: relative;
  background: var(--dark);
  border-bottom: 1px solid var(--border-l);
  border-right: 1px solid var(--border-l);
  overflow: hidden; flex-shrink: 0;
}
.showcase-panel {
  grid-column: 1; grid-row: 2;
  background: var(--surface);
  border-right: 1px solid var(--border-l);
  display: flex; flex-direction: column;
  min-width: 0; overflow-x: hidden;
  transition: background-color .4s ease, border-color .4s ease;
}
.meta-panel {
  grid-column: 2; grid-row: 1 / 3;
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  background: var(--panel);
  border-left: 1px solid var(--border-l);
  -webkit-overflow-scrolling: touch;
  transition: background-color .4s ease, border-color .4s ease;
}
.meta-panel::-webkit-scrollbar { width: 4px; }
.meta-panel::-webkit-scrollbar-track { background: transparent; }
.meta-panel::-webkit-scrollbar-thumb { background: var(--border-l); border-radius: 4px; }


/* ─── SHOWCASE INNER ─────────────────────────────────────────── */
.showcase-inner {
  flex: 1; padding: 52px 52px 40px;
  display: flex; flex-direction: column; gap: 52px;
}
.showcase-header { display: flex; flex-direction: column; gap: 16px; }
.header-eyebrow  { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center;
  font-family: 'Noto Sans', sans-serif;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent-dark);
  background: var(--accent-glow-2);
  border: 1px solid var(--accent-border);
  padding: 5px 12px; border-radius: 20px;
}
.showcase-title {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: clamp(28px, 3.6vw, 52px);
  letter-spacing: -1.2px; color: var(--ink); line-height: 1.05;
  white-space: nowrap;
}
.showcase-subtitle {
  font-size: clamp(16px, 2.2vw, 26px);
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: -28px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  min-width: 0;
}
.showcase-subtitle strong { color: var(--ink); font-weight: 600; }
.section-label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--ink); letter-spacing: -.4px;
  line-height: 1.2; margin-bottom: 20px; display: block;
}


/* ─── HERO MOCKUP (large image of the Figma design) ─────────── */
.hero-mockup {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border-l);
  box-shadow: 0 8px 32px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  padding: 18px;
  transition: background-color .4s ease, border-color .4s ease;
}
.hero-mockup-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border-l);
}


/* ─── STAT CARDS ─────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card {
  background: var(--panel); border: 1px solid var(--border-l);
  border-radius: var(--radius-lg); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 5px;
  transition: box-shadow .25s var(--ease-gentle), transform .25s var(--ease-spring),
              background-color .4s ease, border-color .4s ease;
}
.stat-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); transform: translateY(-3px); }
.stat-number {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: clamp(30px, 3.5vw, 44px);
  color: var(--accent-dark);
  line-height: 1; letter-spacing: -1.5px;
}
.stat-label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 17px; font-weight: 800; color: var(--ink); margin-top: 8px;
  line-height: 1.3;
}
.stat-desc { font-size: 13px; color: var(--ink-dim); line-height: 1.65; margin-top: 4px; }


/* ─── BODY TEXT ──────────────────────────────────────────────── */
.section-body { font-size: 15px; line-height: 1.85; color: var(--ink); }
.section-body + .section-body { margin-top: 16px; }
.section-body strong { font-weight: 700; }
.section-body em { font-style: italic; color: var(--ink); }

.pullquote {
  margin: 22px 0; padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p {
  font-size: 16px; font-style: italic;
  color: var(--ink); line-height: 1.75; font-weight: 600;
}


/* ─── QA LIST  (minimalist "Three questions" section) ────────
   A lean definition list. No card backgrounds, no heavy
   borders. Each question is a left-weighted line, answer
   directly below in smaller dimmed text. Hairline divider
   between items keeps the rhythm without visual noise.
   ────────────────────────────────────────────────────────── */
.qa-list {
  margin-top: 14px;
  display: flex; flex-direction: column;
}
.qa-item {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-l);
}
.qa-item:first-child { padding-top: 8px; }
.qa-item:last-child  { border-bottom: none; padding-bottom: 4px; }

.qa-q {
  display: flex; align-items: baseline; gap: 12px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 17px; font-weight: 700; line-height: 1.35;
  color: var(--ink); letter-spacing: -.2px;
  margin: 0;
}
.qa-tag {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 22px; padding: 0 8px;
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  font-size: 14px; font-weight: 700;
  letter-spacing: .8px;
  flex-shrink: 0;
}
.qa-a {
  font-size: 14.5px; line-height: 1.75;
  color: var(--ink-dim);
  margin: 6px 0 0 40px;   /* aligns with text after tag */
}


/* ─── DECISION LIST (minimalist "Five decisions" section) ────
   A numbered list styled as a tight two-column grid. Big
   cobalt number on the left, title-then-reason on the right.
   Hairline divider between items. No cards.
   ────────────────────────────────────────────────────────── */
.dec-list {
  margin-top: 14px;
  display: flex; flex-direction: column;
  counter-reset: dec;
}
.dec-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-l);
  align-items: baseline;
}
.dec-row:first-child { padding-top: 8px; }
.dec-row:last-child  { border-bottom: none; padding-bottom: 4px; }

.dec-num {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.5px;
  line-height: 1;
  color: var(--accent-dark);
}
.dec-text {
  display: flex; flex-direction: column;
  gap: 4px;
}
.dec-title {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--ink); line-height: 1.4;
}
.dec-why {
  font-size: 14px; line-height: 1.75;
  color: var(--ink-dim);
}


/* ─── REFLECTION LIST (what designing taught me) ────────────── */
.reflection-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}
.reflection-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 22px;
  background: var(--panel);
  border: 1px solid var(--border-l);
  border-radius: var(--radius);
  transition: box-shadow .25s var(--ease-gentle), transform .25s var(--ease-spring),
              background-color .4s ease, border-color .4s ease;
}
.reflection-item:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.reflection-num {
  font-family: 'Noto Sans', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--accent-dark);
  line-height: 1;
  letter-spacing: -1px;
  flex-shrink: 0;
  margin-top: 2px;
}
.reflection-body { display: flex; flex-direction: column; gap: 6px; }
.reflection-body strong {
  font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4;
}
.reflection-body p { font-size: 13.5px; line-height: 1.7; color: var(--ink-dim); }


/* ─── IMAGE PAIR ─────────────────────────────────────────────── */
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.img-pair-card { display: flex; flex-direction: column; gap: 8px; }
.img-caption {
  font-size: 12px; font-weight: 600;
  color: var(--ink-dim); text-align: center;
  line-height: 1.55;
}
.img-pair-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--panel);
  border: 1px solid var(--border-l);
}


/* ─── DISCLAIMER ─────────────────────────────────────────────── */
.disclaimer-block {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px;
  background: var(--panel); border: 1px solid var(--border-l); border-radius: var(--radius);
  transition: background-color .4s ease, border-color .4s ease;
}
.disclaimer-icon   { flex-shrink: 0; color: var(--ink-dim); margin-top: 1px; }
.disclaimer-body   { display: flex; flex-direction: column; gap: 5px; }
.disclaimer-title  {
  font-size: 11px; font-weight: 700; color: var(--ink-dim);
  text-transform: uppercase; letter-spacing: 1px;
}
.disclaimer-text   { font-size: 12.5px; color: var(--ink-dim); line-height: 1.7; }


/* ─── FOOTER ─────────────────────────────────────────────────── */
.showcase-footer {
  padding: 24px 52px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--border-l);
  transition: border-color .4s ease;
}
.footer-copy   { font-size: 12px; color: var(--ink-dim); }
.footer-links  { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--ink-dim); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }


/* ─── META PANEL INTERNALS ───────────────────────────────────── */
.meta-inner { padding: 48px 40px; display: flex; flex-direction: column; gap: 28px; }
.meta-divider { height: 1px; background: var(--border-l); }

.glance-card {
  background: var(--surface); border: 1px solid var(--border-l);
  border-radius: var(--radius-lg); overflow: hidden;
}
.glance-card-header { padding: 14px 20px; background: var(--accent); }
.glance-card-title  {
  font-size: 1.15em; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: #fff;
}
.glance-list { display: flex; flex-direction: column; }
.glance-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 11px 20px; border-bottom: 1px solid var(--border-l); gap: 12px;
}
.glance-row:last-child { border-bottom: none; }
.glance-key { color: var(--ink); font-size: 16px; font-weight: 500; flex-shrink: 0; }
.glance-val { color: var(--ink); font-size: 16px; font-weight: 600; text-align: right; line-height: 1.5; }

.finding-card {
  background: var(--dark); border-radius: var(--radius-lg);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 11px;
}
.finding-label {
  font-size: 1.1em; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: #fff;
}
.finding-text { font-size: 18px; line-height: 1.85; color: #fff; }


/* ─── CTA CARD (desktop meta panel, hidden on mobile) ──────────
   CTA button font-size and SVG dimensions mirror the Japan
   case-study styles exactly (font-size: 32px, svg 33x33).
   ─────────────────────────────────────────────────────────── */
.cta-card {
  background: var(--surface);
  border: 1px solid var(--border-l);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .25s var(--ease-gentle), transform .25s var(--ease-spring);
}
.cta-card:hover {
  box-shadow: 0 8px 32px rgba(37, 99, 235, .14);
  transform: translateY(-3px);
}
.cta-card-body {
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.cta-headline {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--ink); line-height: 1.2; letter-spacing: -.4px; margin-bottom: 10px;
}
.cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 4px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 32px; font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 14px 20px; border-radius: 10px;
  transition: background .2s, transform .2s var(--ease-spring), box-shadow .2s;
}
.cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(37, 99, 235, .30);
}
.cta-btn svg { flex-shrink: 0; transition: transform .2s; }
.cta-btn:hover svg { transform: translateX(4px); }


/* ─── MOBILE CONTACT SECTION ─────────────────────────────────── */
.mobile-contact-section { display: none; }

.mc-header {
  background: var(--dark);
  position: relative;
  padding: 48px 40px 44px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.mc-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(37, 99, 235, .35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 75%, rgba(26, 58, 92, .50) 0%, transparent 70%);
  pointer-events: none;
}
.mc-header::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.mc-eyebrow {
  position: relative; z-index: 1;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.8px; color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.mc-headline {
  position: relative; z-index: 1;
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  color: #fff; line-height: 1.15; letter-spacing: -.6px;
  margin-bottom: 12px;
}
.mc-sub {
  position: relative; z-index: 1;
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,.60);
}

.mc-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border-l);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 36px 40px 40px;
}
.mc-form { display: flex; flex-direction: column; gap: 12px; }
.mc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mc-form-group { display: flex; flex-direction: column; }
.mc-form-group--select { position: relative; }

.mc-input,
.mc-select,
.mc-textarea {
  width: 100%; padding: 13px 16px;
  font-family: 'Noto Sans', sans-serif; font-size: 14px;
  color: var(--ink); background: var(--panel);
  border: 1.5px solid transparent; border-radius: var(--radius);
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.mc-input::placeholder, .mc-textarea::placeholder { color: var(--ink-dim); }
.mc-input:focus, .mc-select:focus, .mc-textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.mc-input-error { border-color: #EF4444 !important; animation: mc-shake .35s ease; }
@keyframes mc-shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-6px); }
  75%       { transform: translateX(6px); }
}
.mc-select { padding-right: 40px; cursor: pointer; }
.mc-select-chevron {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%); color: var(--ink-dim); pointer-events: none;
}
.mc-textarea { resize: vertical; min-height: 120px; line-height: 1.65; }

.mc-btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 4px; padding: 15px 24px;
  background: var(--accent); color: #fff;
  font-family: 'Noto Sans', sans-serif; font-size: 15px; font-weight: 700;
  border: none; border-radius: 10px; cursor: pointer;
  transition: background .2s, transform .2s var(--ease-spring), box-shadow .2s;
}
.mc-btn-submit:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(37, 99, 235, .28);
}
.mc-btn-submit:active:not(:disabled) { transform: translateY(0); }
.mc-btn-submit:disabled { opacity: .65; cursor: not-allowed; }
.mc-btn-submit svg { flex-shrink: 0; transition: transform .2s; }
.mc-btn-submit:hover svg { transform: translateX(4px); }

.mc-success {
  display: none; align-items: center; gap: 10px;
  padding: 16px 20px;
  background: rgba(34,197,94,.07); border: 1px solid rgba(34,197,94,.2);
  border-radius: var(--radius);
  font-size: 14px; color: var(--ink); line-height: 1.65;
  margin-top: 4px;
}
.mc-success.visible { display: flex; }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE  (mirrors site breakpoints: 1100 → 960 → 768 → 480)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .showcase-inner { padding: 44px 40px 32px; }
  .meta-inner     { padding: 40px 32px; }
  .reflection-list { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .showcase-title { white-space: normal; }

  .showcase-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    max-width: 100%; overflow-x: hidden;
  }
  .study-banner {
    grid-column: 1; grid-row: 1; order: 1;
    border-right: none; border-bottom: 1px solid var(--border-l);
    height: 220px;
  }
  .meta-panel {
    grid-column: 1; grid-row: 2; order: 2;
    position: relative; top: auto;
    height: auto; overflow-y: visible;
    border-left: none;
    border-top: 1px solid var(--border-l);
    border-bottom: 1px solid var(--border-l);
    max-width: 100%; overflow-x: hidden;
  }
  .showcase-panel {
    grid-column: 1; grid-row: 3; order: 3;
    border-right: none; max-width: 100%; overflow-x: hidden;
  }
  .meta-inner      { padding: 40px 36px; }
  .showcase-inner  { padding: 40px 36px 28px; gap: 40px; }
  .showcase-footer { padding: 24px 36px; }

  .cta-card               { display: none; }
  .mobile-contact-section { display: block; }

  .hero-mockup            { padding: 12px; }
  .reflection-list        { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-status, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .showcase-inner  { padding: 32px 24px 24px; gap: 32px; }
  .showcase-footer { padding: 20px 24px; flex-direction: column; align-items: flex-start; }
  .meta-inner      { padding: 32px 24px; }

  .stat-grid         { grid-template-columns: 1fr; }
  .img-pair          { grid-template-columns: 1fr; }
  .section-label     { font-size: 19px; }
  .glance-row        { flex-direction: column; gap: 3px; }
  .glance-val        { text-align: left; }
  .glance-key, .glance-val { font-size: 14px; }
  .finding-text      { font-size: 15px; line-height: 1.75; }

  /* QA list — tighter on narrow screens */
  .qa-q              { font-size: 15px; }
  .qa-a              { font-size: 14px; margin-left: 40px; }

  /* Decision list — tighter, stacked number sizing */
  .dec-row           { grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; }
  .dec-num           { font-size: 20px; }
  .dec-title         { font-size: 15px; }
  .dec-why           { font-size: 13.5px; }

  .reflection-item   { padding: 18px 20px; gap: 12px; }
  .reflection-num    { font-size: 24px; }

  .mc-header         { padding: 40px 28px 36px; }
  .mc-form-wrap      { padding: 28px 28px 32px; }
  .mc-form-row       { grid-template-columns: 1fr; }

  .study-banner      { height: 180px; }
}

@media (max-width: 480px) {
  .showcase-inner    { padding: 28px 20px 20px; gap: 28px; }
  .meta-inner        { padding: 28px 20px; }
  .showcase-footer   { padding: 20px; flex-direction: column; align-items: flex-start; }
  .section-label     { font-size: 18px; }
  .showcase-title    { letter-spacing: -.8px; }
  .study-banner      { height: 160px; }
  .glance-key, .glance-val { font-size: 13px; }

  .mc-header    { padding: 32px 20px 28px; }
  .mc-headline  { font-size: 24px; }
  .mc-form-wrap { padding: 24px 20px 28px; }

  .hero-mockup  { padding: 10px; }
  .reflection-item { padding: 16px 18px; }

  .qa-q              { font-size: 14.5px; gap: 10px; }
  .qa-a              { font-size: 13.5px; margin-left: 36px; }
  .dec-row           { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; }
  .dec-num           { font-size: 18px; }
}


/* ─── DARK-MODE FINE-TUNING ──────────────────────────────────── */
[data-theme="dark"] .pullquote {
  background: rgba(37, 99, 235, .12);
}
[data-theme="dark"] .hero-mockup {
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.2);
}
[data-theme="dark"] .cta-card:hover {
  box-shadow: 0 8px 32px rgba(37, 99, 235, .18);
}
