/* kireva.tech 1473c01a */
/* Kireva · kireva.tech · MirrorPane / Aethron Biocare navy */
:root {
  --navy: #0c1b28;
  --navy-2: #0d2137;
  --navy-3: #122a45;
  --blue: #3282ef;
  --blue-bright: #60a5fa;
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.35);
  --blue-glow: rgba(59, 130, 246, 0.42);
  --card: #ffffff;
  --card-soft: #f4f7fb;
  --text: #0b1a2e;
  --text-inv: #f5f8ff;
  --muted: #5b6b82;
  --muted-inv: #9bb0c9;
  --line: rgba(59, 130, 246, 0.18);
  --line-soft: rgba(10, 25, 47, 0.08);
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #f87171;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
  --header-h: 64px;
  --sticky-h: 64px;
  --shadow-card: 0 12px 36px rgba(10, 25, 47, 0.1);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.16);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--card-soft);
  line-height: 1.55;
  min-height: 100vh;
  padding-bottom: calc(var(--sticky-h) + 18px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #1d4ed8; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 650; letter-spacing: -0.02em; line-height: 1.18; margin: 0; }
p { margin: 0; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sec {
  padding: 56px 0;
}

.sec-head {
  max-width: 640px;
  margin: 0 0 28px;
}

.sec-head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--navy);
  margin-bottom: 10px;
}

.sec-head p {
  color: var(--muted);
  font-size: 16px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.muted { color: var(--muted); }

/* ——— Buttons ——— */
.btn,
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn:active,
.btn-primary:active,
.btn-ghost:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, #4f8ff7 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 28px var(--blue-glow);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 14px 34px rgba(59, 130, 246, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--text-inv);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost.on-light {
  color: var(--navy);
  border-color: rgba(10, 25, 47, 0.18);
}

.btn-ghost.on-light:hover {
  background: rgba(59, 130, 246, 0.08);
  color: var(--navy);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 12px;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  background: rgba(10, 25, 47, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.16);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.logo:hover { color: #fff; }

.logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  margin-right: 10px;
}

.site-nav a {
  color: var(--muted-inv);
  font-size: 14px;
  font-weight: 600;
}

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

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(59, 130, 246, 0.38), transparent 55%),
    radial-gradient(700px 420px at 8% 30%, rgba(34, 211, 238, 0.16), transparent 50%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 48%, #081526 100%);
  color: var(--text-inv);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--card-soft));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(30px, 5.2vw, 50px);
  color: #fff;
  margin: 0 0 14px;
}

.hero h1 .accent {
  color: var(--cyan);
  text-shadow: 0 0 28px var(--cyan-glow);
}

.hero-lead {
  color: var(--muted-inv);
  font-size: 17px;
  max-width: 460px;
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: #7f93ad;
}

.float-stage {
  position: relative;
  min-height: 340px;
}

.float-pane {
  position: absolute;
  background: rgba(13, 33, 55, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(59, 130, 246, 0.12);
  overflow: hidden;
  padding: 10px;
}

.float-pane--main {
  inset: 18px 28px 40px 0;
}

.float-pane--side {
  width: 42%;
  right: 0;
  top: 8%;
  aspect-ratio: 4 / 5;
  z-index: 2;
  transform: rotate(3deg);
}

.float-pane--chip {
  left: 4%;
  bottom: 6%;
  width: 46%;
  z-index: 3;
  transform: rotate(-2deg);
  padding: 12px 14px;
}

.float-pane .slot-ph,
.float-pane .photo-slot {
  width: 100%;
  height: 100%;
  min-height: 160px;
}

.float-pane--chip .slot-ph {
  min-height: 72px;
}

.float-pane .slot-label,
.float-pane[data-slot]::before {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
}

.float-pane[data-slot]::before {
  content: attr(data-slot);
  display: block;
  margin-bottom: 8px;
}

.pane-caption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted-inv);
}

/* Placeholders */
.photo-slot,
.slot-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  border: 1.5px dashed rgba(96, 165, 250, 0.45);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(34, 211, 238, 0.04));
  color: var(--muted-inv);
  text-align: center;
  padding: 16px;
}

.photo-slot .slot-label,
.slot-ph .slot-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.photo-slot .slot-hint,
.slot-ph .slot-hint {
  font-size: 13px;
  color: inherit;
  opacity: 0.85;
}

.photo-slot img,
.slot-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 2px);
}

.on-light .photo-slot,
.on-light .slot-ph,
.examples .photo-slot,
.guides .slot-ph {
  color: var(--muted);
  border-color: rgba(59, 130, 246, 0.28);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.06), #fff);
}

.on-light .slot-label,
.examples .slot-label {
  color: var(--blue);
}

/* ——— Expertise row ——— */
.expertise {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding: 0 0 8px;
}

.expertise-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.expertise-row::-webkit-scrollbar { height: 6px; }
.expertise-row::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.35);
  border-radius: 99px;
}

.expertise-card {
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-soft);
  min-height: 148px;
}

.expertise-card .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.14), rgba(34, 211, 238, 0.1));
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.expertise-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}

.expertise-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ——— Masonry solutions ——— */
.masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.masonry-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  grid-column: span 4;
}

.masonry-card:nth-child(1) { grid-column: span 5; min-height: 180px; }
.masonry-card:nth-child(2) { grid-column: span 7; min-height: 180px; }
.masonry-card:nth-child(3) { grid-column: span 4; }
.masonry-card:nth-child(4) { grid-column: span 4; }
.masonry-card:nth-child(5) { grid-column: span 4; }
.masonry-card:nth-child(6) { grid-column: span 7; }
.masonry-card:nth-child(7) { grid-column: span 5; }

.masonry-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.masonry-card p {
  font-size: 14px;
  color: var(--muted);
}

.masonry-card .tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ——— Stats bar ——— */
.stats-bar {
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(34, 211, 238, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--text-inv);
  padding: 36px 0;
  border-block: 1px solid rgba(59, 130, 246, 0.2);
}

.stats-bar .stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.stat {
  text-align: center;
  padding: 10px 6px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  color: #fff;
  margin-bottom: 4px;
}

.stat span {
  font-size: 13px;
  color: var(--muted-inv);
}

/* ——— Studio MirrorPane ——— */
.studio {
  background: linear-gradient(180deg, #eef3f9 0%, var(--card-soft) 100%);
}

.studio-shell {
  background: var(--navy);
  border-radius: 22px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 30px 70px rgba(10, 25, 47, 0.28), 0 0 60px rgba(59, 130, 246, 0.12);
  overflow: hidden;
  color: var(--text-inv);
}

.studio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 33, 55, 0.65);
}

.studio-top h2 {
  font-size: 20px;
  color: #fff;
}

.studio-top .hint {
  font-size: 13px;
  color: var(--muted-inv);
}

.studio-body {
  display: none;
}

.studio-body.is-visible { display: block; }

.studio-upload.is-hidden { display: none; }

.studio-disc {
  margin: 0 22px 22px;
  font-size: 13px;
  color: #9bb0c9;
  line-height: 1.45;
}

.cta-sec {
  padding-top: 0;
}

.masonry-card img,
.method-col img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 0 0 14px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  background: #0d2137;
}

.guide-card .slot-ph {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  background: #0d2137;
}

.guide-card .slot-ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: inherit;
  display: block;
}

.dropzone {
  margin: 22px;
  border: 1.5px dashed rgba(96, 165, 250, 0.5);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(59, 130, 246, 0.18), transparent 70%),
    rgba(13, 33, 55, 0.55);
  padding: 42px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dropzone.is-drag {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15), inset 0 0 40px rgba(34, 211, 238, 0.08);
}

.dropzone h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}

.dropzone p {
  color: var(--muted-inv);
  font-size: 14px;
  max-width: 420px;
  margin: 0 auto 18px;
}

.dropzone .btn-primary { pointer-events: none; }

.mirror-pane {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 0;
  min-height: 480px;
}

.photo-stage {
  position: relative;
  background: #071422;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 420px;
  overflow: hidden;
}

.photo-stage-inner {
  position: absolute;
  inset: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a192f;
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.photo-stage-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.anno-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.anno-pane {
  position: absolute;
  max-width: min(220px, 46%);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10, 25, 47, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(34, 211, 238, 0.12);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.anno-pane.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.anno-pane .anno-k {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}

.anno-pane .anno-v {
  font-size: 13px;
  color: #e8eef8;
  line-height: 1.35;
}

.anno-pane[data-pos="tl"] { top: 8%; left: 5%; }
.anno-pane[data-pos="tr"] { top: 12%; right: 5%; }
.anno-pane[data-pos="ml"] { top: 42%; left: 4%; }
.anno-pane[data-pos="mr"] { top: 48%; right: 4%; }
.anno-pane[data-pos="bc"] { bottom: 8%; left: 50%; transform: translate(-50%, 10px) scale(0.96); }
.anno-pane[data-pos="bc"].is-on { transform: translate(-50%, 0) scale(1); }

.stage-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(7, 20, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.stage-progress .stage-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.stage-progress .stage-dots {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.stage-progress .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.stage-progress .dot.is-done {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.stage-progress .dot.is-active {
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-glow);
}

.module-rail {
  background: var(--navy-2);
  padding: 16px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-rail h3 {
  font-size: 14px;
  color: var(--muted-inv);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 2px 4px 8px;
}

.module-line {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.45;
  transition: opacity 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.module-line.is-active {
  opacity: 1;
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.12);
}

.module-line.is-done {
  opacity: 1;
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
}

.module-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: transparent;
  transition: all 0.3s ease;
}

.module-line.is-done .module-check {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--navy);
  font-weight: 800;
}

.module-line.is-active .module-check {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.module-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.module-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-inv);
}

.module-line.is-active .module-status { color: var(--blue-bright); }
.module-line.is-done .module-status { color: var(--cyan); }

.module-fill {
  grid-column: 2 / -1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: -2px;
}

.module-fill > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: inherit;
  transition: width 0.8s ease;
}

.module-line.is-active .module-fill > i,
.module-line.is-done .module-fill > i {
  width: 100%;
}

/* Result report */
.studio-result {
  display: none;
  padding: 22px;
  background: linear-gradient(180deg, #0d2137, #0a192f);
}

.studio-result.is-visible { display: block; }

.report {
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.report-head h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 6px;
}

.report-head .sub {
  font-size: 14px;
  color: var(--muted);
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.meter {
  background: var(--card-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.meter-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 8px;
}

.meter-top .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.meter-top .val {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--blue);
}

.meter-track {
  height: 8px;
  border-radius: 99px;
  background: rgba(10, 25, 47, 0.08);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.meter[data-tone="soft"] .meter-fill {
  background: linear-gradient(90deg, #34d399, var(--cyan));
}

.meter[data-tone="mid"] .meter-fill {
  background: linear-gradient(90deg, var(--blue), #818cf8);
}

.meter[data-tone="hot"] .meter-fill {
  background: linear-gradient(90deg, #f59e0b, #f87171);
}

.report-block {
  margin-bottom: 16px;
}

.report-block h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}

.report-block p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 10px;
}

.report-block p:last-child { margin-bottom: 0; }

.tips-list {
  display: grid;
  gap: 8px;
}

.tips-list li {
  position: relative;
  padding: 12px 14px 12px 36px;
  background: rgba(59, 130, 246, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.12);
  font-size: 14px;
  color: #334155;
}

.tips-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.report-disclaimer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* ——— Method split ——— */
.method-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.method-col {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  padding: 24px 22px;
}

.method-col.dark {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  color: var(--text-inv);
  border-color: transparent;
}

.method-col h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: inherit;
}

.method-col.dark h3 { color: #fff; }

.method-col p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.method-col.dark p { color: var(--muted-inv); }

.method-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.method-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
}

.method-list .n {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
}

.method-col.dark .method-list .n {
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
}

/* ——— Examples ——— */
.examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.example-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.example-card .media {
  aspect-ratio: 3 / 4;
  background: #0d2137;
  overflow: hidden;
}

.example-card .media .photo-slot,
.example-card .media .slot-ph {
  height: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: #0d2137;
}

.example-card .media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
}

.example-card .body {
  padding: 16px;
}

.example-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}

.example-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ——— Guides ——— */
.guides {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.guide-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.12);
}

.guide-card .guide-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.guide-card h3 {
  font-size: 16px;
  color: var(--navy);
}

.guide-card p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}

.guide-card .more {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

/* ——— Impact map ——— */
.impact-map {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 24px 18px;
  box-shadow: var(--shadow-card);
}

.impact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 8px;
}

.impact-node {
  min-width: 120px;
  max-width: 160px;
  padding: 14px 12px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(160deg, #fff, #f0f6ff);
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.08);
}

.impact-node.core {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 30px var(--blue-glow);
  min-width: 140px;
}

.impact-node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 4px;
}

.impact-node span {
  font-size: 12px;
  color: var(--muted);
}

.impact-node.core span { color: var(--muted-inv); }

.impact-link {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), var(--cyan), rgba(59, 130, 246, 0.2));
  flex: 0 0 auto;
  position: relative;
}

.impact-link::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: translateY(-50%) rotate(-45deg);
}

.impact-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ——— FAQ ——— */
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  box-shadow: 0 6px 18px rgba(10, 25, 47, 0.04);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 650;
  color: var(--navy);
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  font-family: var(--font-body);
  font-weight: 700;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  padding: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

/* ——— CTA banner ——— */
.cta-banner {
  margin: 20px 0 40px;
  padding: 36px 28px;
  border-radius: 22px;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(34, 211, 238, 0.22), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #12375a 100%);
  color: var(--text-inv);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: 0 24px 50px rgba(10, 25, 47, 0.22);
}

.cta-banner h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: #fff;
  margin-bottom: 8px;
}

.cta-banner p {
  color: var(--muted-inv);
  font-size: 15px;
  max-width: 520px;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy);
  color: var(--muted-inv);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: var(--muted-inv);
  margin-bottom: 8px;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}

.legal-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #7f93ad;
}

.legal-strip a { color: #9bb0c9; }
.legal-strip a:hover { color: #fff; }

/* ——— Sticky CTA ——— */
#main-target-btn {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(420px, calc(100% - 28px));
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(180deg, #4f8ff7, var(--blue));
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

#main-target-btn:hover {
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

body.studio-focus #main-target-btn,
body.result-open #main-target-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .float-stage { min-height: 300px; }

  .masonry-card,
  .masonry-card:nth-child(n) {
    grid-column: span 6;
    min-height: 0;
  }

  .stats-bar .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .guides { grid-template-columns: repeat(2, 1fr); }
  .mirror-pane { grid-template-columns: 1fr; }
  .photo-stage {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 360px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .menu-toggle { display: grid; place-items: center; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(10, 25, 47, 0.96);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 8px; }

  .header-row .btn-primary { display: none; }

  .masonry { grid-template-columns: 1fr; }
  .masonry-card,
  .masonry-card:nth-child(n) { grid-column: auto; }

  .method-split { grid-template-columns: 1fr; }
  .examples { grid-template-columns: 1fr; }
  .meters { grid-template-columns: 1fr; }
  .stats-bar .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .guides { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .impact-link { display: none; }
  .impact-row {
    flex-direction: column;
    gap: 10px;
  }
  .impact-node { max-width: none; width: 100%; }

  .float-pane--side {
    width: 48%;
    top: 4%;
  }

  .anno-pane { max-width: min(180px, 52%); }
  .sec { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ——— Subpages: guides + legal ——— */
body.subpage { padding-bottom: 28px; }

.page-hero {
  padding: 36px 0 12px;
  background:
    radial-gradient(700px 280px at 90% -20%, rgba(59, 130, 246, 0.28), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 60%, #081526 100%);
  color: var(--text-inv);
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  color: #fff;
  max-width: 760px;
}

.page-hero .lead {
  margin-top: 12px;
  color: var(--muted-inv);
  font-size: 15px;
  max-width: 620px;
}

.article {
  max-width: 720px;
  padding-top: 36px;
  padding-bottom: 48px;
}

.article h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--navy);
  margin: 28px 0 12px;
}

.article p {
  color: var(--text);
  font-size: 16px;
  margin: 0 0 14px;
}

.article .disc {
  font-size: 14px;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid var(--line);
  margin: 22px 0;
}

.article ol.steps {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 12px 0 18px;
  display: grid;
  gap: 10px;
}

.article ol.steps li {
  color: var(--text);
  font-size: 15px;
  padding-left: 4px;
}

.article .cta-inline {
  margin: 28px 0 8px;
  padding: 22px 20px;
  border-radius: 18px;
  background:
    radial-gradient(400px 160px at 100% 0%, rgba(34, 211, 238, 0.18), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--text-inv);
}

.article .cta-inline p {
  color: var(--muted-inv);
  margin-bottom: 14px;
}

.article .cta-inline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 650;
}

.legal-page .article ol.legal-num {
  list-style: decimal;
  padding-left: 1.35rem;
  margin: 8px 0 20px;
  display: grid;
  gap: 14px;
}

.legal-page .article ol.legal-num li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  padding-left: 4px;
}

.legal-page .article ol.legal-num strong {
  color: var(--navy);
}

.sub-footer {
  margin-top: 8px;
}

.sub-footer .legal-strip {
  margin-top: 0;
}

.sub-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 14px;
}

.sub-footer .footer-links a {
  color: var(--muted-inv);
  font-size: 14px;
  font-weight: 600;
}

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


body.p2-mode .hero,
body.p2-mode .expertise,
body.p2-mode #themes,
body.p2-mode #method,
body.p2-mode #examples,
body.p2-mode #guides,
body.p2-mode #faq,
body.p2-mode .site-footer,
body.p2-mode #main-target-btn,
body.p2-mode .site-nav,
body.p2-mode .menu-toggle,
body.p2-mode .header-row .btn-primary { display: none !important; }
body.p2-mode { padding-bottom: 12px; }
body.p2-mode .studio { padding-top: 20px; min-height: calc(100vh - 80px); }
body.p2-mode .lp { min-height: 70vh; }
