:root {
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #0d0f13;
}

.tabs {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(20, 22, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tab {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab:hover { color: #fff; }

.tab.is-active {
  background: #fff;
  color: #14161c;
}

.panel { display: none; min-height: 100vh; }
.panel.is-active { display: block; }

.panel-mike {
  --bg: #0d0f13;
  --panel: #14171d;
  --fg: #eef0f3;
  --muted: #9aa1ab;
  --line: #242832;
  --accent: #c9a26b;
  --accent-fg: #16130d;
  position: relative;
  background-color: #0a0c10;
  background-image:
    radial-gradient(85% 55% at 88% 108%, rgba(201, 162, 107, 0.12), transparent 60%),
    linear-gradient(180deg, #17130c 0%, #0b0d11 42%, #08090c 100%);
  background-size: 100% 100%, 100% 100%;
  background-position: 50% 100%, 0 0;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  color: var(--fg);
}

.panel-mike::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(42% 42% at 50% 16%, rgba(201, 162, 107, 0.42), transparent 62%);
  animation: glowdrift 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes glowdrift {
  0%   { transform: translate(-5%, -1%) scale(1); }
  50%  { transform: translate(5%, 4%) scale(1.07); }
  100% { transform: translate(-2%, -3%) scale(1.03); }
}

.panel-mike::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
}

.panel-mike .wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }

.panel-mike section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.panel-mike .section-title {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.75rem;
}

.panel-mike .hero { padding-top: 6.5rem; text-align: center; }

.headshot {
  width: 198px; height: 198px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--line); margin-bottom: 2rem;
}

.eyebrow {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem;
}

.panel-mike .hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.12;
  letter-spacing: -0.01em; max-width: 20ch; margin: 0 auto;
}

.lede { color: var(--muted); font-size: 1.15rem; max-width: 42ch; margin: 1.5rem auto 0; }
.lede strong { color: var(--fg); font-weight: 600; }

.cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 2.25rem; }

.btn {
  display: inline-block; padding: 0.8rem 1.6rem; border-radius: 999px;
  font-size: 0.98rem; font-weight: 600; text-decoration: none;
  transition: transform 0.06s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: #d8b47f; }
.btn-ghost { color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }

.creds { text-align: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.creds p {
  color: var(--muted); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.8;
}

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pillar h2 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin-bottom: 0.6rem; }
.pillar p { color: var(--muted); font-size: 1rem; }

.case { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 2rem; }
.case + .case { margin-top: 1.5rem; }
.case h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; }
.case .role { color: var(--accent); font-size: 0.92rem; font-weight: 600; margin-bottom: 1.25rem; }
.case-intro { color: var(--muted); font-size: 1.02rem; line-height: 1.6; margin-bottom: 1.4rem; max-width: 60ch; }
.case ul { list-style: none; }
.case li { color: var(--muted); padding-left: 1.4rem; position: relative; margin-bottom: 0.55rem; }
.case li::before {
  content: ""; position: absolute; left: 0; top: 0.65rem; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}

.cred-list { list-style: none; }
.cred-list li { padding: 1rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.cred-list li:first-child { border-top: none; padding-top: 0; }
.cred-list strong { color: var(--fg); font-weight: 600; }

.contact { text-align: center; border-bottom: none !important; }
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.contact p { color: var(--muted); max-width: 46ch; margin: 1rem auto 0; font-size: 1.1rem; }

.panel-mike footer { text-align: center; padding: 2.5rem 0; color: var(--muted); font-size: 0.85rem; }

.panel-veronika {
  --paper: #f4efe6;
  --ink: #1b1712;
  --ink-2: #5c5348;
  --accent: #c93b20;
  --accent-2: #a8321a;
  --accent-bright: #e5482a;
  --line: #ddd4c5;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  display: none;
  min-height: 100vh;
  position: relative;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
}
.panel-veronika.is-active { display: block; }

.panel-veronika::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(38% 38% at 30% 18%, rgba(229, 72, 42, 0.13), transparent 62%);
  animation: vglow 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes vglow {
  0%   { transform: translate(-4%, -2%) scale(1); }
  50%  { transform: translate(6%, 4%) scale(1.1); }
  100% { transform: translate(-2%, 3%) scale(1.04); }
}

.vx-deco {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; color: var(--ink);
  background-image: radial-gradient(circle, rgba(27, 23, 18, 0.06) 1.1px, transparent 1.6px);
  background-size: 26px 26px;
}
.vd { position: absolute; fill: none; stroke: currentColor; stroke-width: 1; }
.vd-select { width: 320px; height: 267px; top: -50px; right: -70px; opacity: 0.06; }
.vd-frame { width: 380px; height: auto; bottom: 8%; left: -100px; opacity: 0.05; }
.vd-pen { width: 200px; height: auto; top: 14%; left: 7%; opacity: 0.08; }
.vd-dim { width: 150px; height: auto; bottom: 30%; right: 9%; opacity: 0.07; }
.vd-guide { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink); opacity: 0.04; }
.vd-guide-l { left: 22%; }
.vd-guide-r { right: 20%; }

.vx { position: relative; z-index: 1; max-width: 74rem; margin: 0 auto; padding: 0 2rem; }

.vx-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  min-height: 100vh;
  padding: 7rem 0 4rem;
}
.vx-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  animation: vrise 0.7s ease both;
}
.vx-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.vx-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 1.2rem 0 1.5rem;
  animation: vrise 0.8s ease both 0.08s;
}
.vx-title em { font-style: italic; color: var(--accent-bright); }
.vx-intro {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-2);
  max-width: 44ch;
  line-height: 1.6;
  animation: vrise 0.8s ease both 0.16s;
}
.vx-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; animation: vrise 0.8s ease both 0.24s; }

.vx-btn {
  display: inline-block; padding: 0.85rem 1.5rem; border-radius: 4px;
  font-family: var(--body); font-size: 0.96rem; font-weight: 600; text-decoration: none;
  transition: transform 0.08s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.vx-btn:active { transform: translateY(1px); }
.vx-btn-solid { background: var(--accent); color: #fff; }
.vx-btn-solid:hover { background: var(--accent-2); }
.vx-btn-line { border: 1px solid var(--ink); color: var(--ink); }
.vx-btn-line:hover { background: var(--ink); color: var(--paper); }

.vx-hero-photo { position: relative; justify-self: end; width: 100%; max-width: 340px; }
.vx-hero-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; display: block; position: relative; z-index: 1;
  animation: vrise 0.9s ease both 0.2s;
}
.vx-hero-photo::before {
  content: ""; position: absolute; z-index: 0;
  right: -14px; bottom: -14px; width: 100%; height: 100%;
  border: 2px solid var(--accent); border-radius: 6px;
}
.vx-photo-tag {
  position: absolute; z-index: 2; left: -12px; bottom: 20px;
  background: var(--ink); color: var(--paper);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45rem 0.85rem; border-radius: 3px;
  animation: vrise 0.9s ease both 0.42s;
}

.vx-marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 0.95rem 0;
}
.vx-marquee-track {
  display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap;
  animation: vmarquee 36s linear infinite; will-change: transform;
}
.vx-marquee-track span {
  display: inline-flex; align-items: center; gap: 2.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
}
.vx-marquee-track span::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

.vx-body { padding: 1rem 0; }
.vx-section { padding: 5rem 0; border-bottom: 1px solid var(--line); }
.vx-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2.75rem; }
.vx-num {
  font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.vx-head h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem); letter-spacing: -0.01em; line-height: 1.05;
}

.vx-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.75rem 3.5rem; }
.vx-step { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.vx-step-n {
  font-family: var(--display); font-size: 0.9rem; font-weight: 600; color: var(--accent);
  display: block; margin-bottom: 0.7rem; font-variant-numeric: tabular-nums;
}
.vx-step h3 { font-family: var(--display); font-weight: 600; font-size: 1.55rem; margin-bottom: 0.55rem; }
.vx-step p { color: var(--ink-2); font-size: 1rem; max-width: 42ch; }

.vx-work { display: grid; grid-template-columns: 0.55fr 1fr; gap: 2.5rem; }
.vx-work-meta h3 { font-family: var(--display); font-weight: 600; font-size: 2.1rem; }
.vx-work-role { color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-top: 0.4rem; }
.vx-work-body p { color: var(--ink-2); font-size: 1.1rem; line-height: 1.65; margin-bottom: 1.4rem; max-width: 54ch; }
.vx-work-body ul { list-style: none; }
.vx-work-body li { position: relative; padding-left: 1.5rem; margin-bottom: 0.7rem; }
.vx-work-body li::before {
  content: ""; position: absolute; left: 0; top: 0.6rem; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}

.vx-facts { display: grid; }
.vx-fact { display: grid; grid-template-columns: 0.35fr 1fr; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.vx-fact:first-child { border-top: none; padding-top: 0; }
.vx-fact dt {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); padding-top: 0.35rem;
}
.vx-fact dd { font-family: var(--display); font-size: 1.2rem; font-weight: 500; line-height: 1.45; }

.vx-contact { position: relative; z-index: 1; background: var(--ink); color: var(--paper); }
.vx-contact-inner { max-width: 74rem; margin: 0 auto; padding: 6.5rem 2rem; text-align: center; }
.vx-contact h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.02em; line-height: 1.05;
}
.vx-contact p { color: rgba(244, 239, 230, 0.7); max-width: 48ch; margin: 1.3rem auto 2.2rem; font-size: 1.12rem; }
.vx-contact .vx-actions { justify-content: center; }
.vx-btn.vx-on-dark.vx-btn-solid { background: var(--accent); color: #fff; }
.vx-btn.vx-on-dark.vx-btn-solid:hover { background: var(--accent-2); }
.vx-btn.vx-on-dark.vx-btn-line { border-color: rgba(244, 239, 230, 0.4); color: var(--paper); }
.vx-btn.vx-on-dark.vx-btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.vx-footer { position: relative; z-index: 1; text-align: center; padding: 2.5rem 2rem; color: var(--ink-2); font-size: 0.85rem; font-weight: 500; }

@keyframes vrise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .vx-hero { grid-template-columns: 1fr; gap: 2.5rem; min-height: auto; padding: 7rem 0 3rem; }
  .vx-hero-photo { justify-self: start; }
  .vx-work { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 720px) {
  .panel-mike section { padding: 3rem 0; }
  .panel-mike .hero { padding-top: 5.5rem; }
  .pillars { grid-template-columns: 1fr; gap: 1.75rem; }
  .vx { padding: 0 1.35rem; }
  .vx-steps { grid-template-columns: 1fr; gap: 2rem; }
  .vx-section { padding: 3.5rem 0; }
  .vx-fact { grid-template-columns: 1fr; gap: 0.4rem; }
  .vx-contact-inner { padding: 4.5rem 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .panel-mike::before, .panel-veronika::before, .vx-kicker, .vx-title, .vx-intro, .vx-actions,
  .vx-hero-photo img, .vx-photo-tag, .vx-marquee-track { animation: none !important; }
}
