/* Mobilepablo portfolio styles — editorial, minimal, black text + orange-red accent dot */

:root {
  --accent: #FF4B1F;
  --accent-2: #FF7A3D;
  --ink: #0A0A0A;
  --ink-2: rgba(10,10,10,0.68);
  --ink-3: rgba(10,10,10,0.44);
  --ink-4: rgba(10,10,10,0.18);
  --bg: #FAF8F4;
  --bg-2: #F2EDE5;
  --bg-card: #fff;
  --line: rgba(10,10,10,0.12);
  --line-soft: rgba(10,10,10,0.06);
}

:root[data-theme="dark"] {
  --ink: #F5F2EC;
  --ink-2: rgba(245,242,236,0.70);
  --ink-3: rgba(245,242,236,0.48);
  --ink-4: rgba(245,242,236,0.18);
  --bg: #0B0B0D;
  --bg-2: #141418;
  --bg-card: #15151A;
  --line: rgba(245,242,236,0.14);
  --line-soft: rgba(245,242,236,0.07);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

.mp-serif { font-family: 'Fraunces', 'Lora', Georgia, serif; font-weight: 500; }
.mp-italic { font-style: italic; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: #fff; }

/* ─── Nav ───────────────────────────────────────────────── */
.mp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
}

.mp-nav-inner {
  max-width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 2200px) {
  .mp-nav-inner { max-width: min(1920px, calc(100% - 128px)); }
}

.mp-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.mp-logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 3px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.mp-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}
.mp-nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: all 0.2s;
  position: relative;
}
.mp-nav-links a:hover { color: var(--ink); background: var(--line-soft); }
.mp-nav-links a.active { color: var(--ink); background: var(--line-soft); }

.mp-nav-sep {
  width: 1px;
  height: 18px;
  background: var(--line);
  margin: 0 4px;
}

.mp-nav-pc {
  background: var(--ink) !important;
  color: var(--bg) !important;
  font-weight: 600;
}
.mp-nav-pc:hover { background: var(--accent) !important; color: #fff !important; }

.mp-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-layout-switch {
  display: flex;
  padding: 2px;
  background: var(--line-soft);
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  margin-right: 2px;
}
.mp-layout-switch button {
  padding: 5px 9px;
  font-size: 10.5px;
  font-weight: 800;
  font-family: var(--font-display, serif);
  font-style: italic;
  letter-spacing: 0.02em;
  border-radius: 999px;
  color: var(--ink-3);
  min-width: 22px;
}
.mp-layout-switch button.active {
  background: var(--accent, #FF4B1F);
  color: #fff;
}

.mp-lang-switch {
  display: flex;
  padding: 2px;
  background: var(--line-soft);
  border-radius: 999px;
  border: 1px solid var(--line-soft);
}
.mp-lang-switch button {
  padding: 5px 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  color: var(--ink-3);
}
.mp-lang-switch button.active {
  background: var(--ink);
  color: var(--bg);
}

.mp-theme-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all 0.2s;
}
.mp-theme-btn:hover { color: var(--ink); border-color: var(--ink-3); }

/* ─── Hero switcher ─────────────────────────────────────── */
.mp-hero-switch {
  position: fixed;
  top: 80px;
  right: 32px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.mp-hero-switch-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mp-hero-switch button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
}
.mp-hero-switch button.active {
  background: var(--ink);
  color: var(--bg);
}

/* ─── Shared section ────────────────────────────────────── */
.mp-section {
  max-width: min(1440px, calc(100% - 128px));
  margin: 0 auto;
  padding: 120px 0;
  position: relative;
}
@media (min-width: 2200px) {
  .mp-section { max-width: min(1920px, calc(100% - 320px)); }
}
.mp-section-head {
  max-width: 780px;
  margin-bottom: 80px;
}
.mp-section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}
.mp-section-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.mp-section-sub {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.5;
}
.mp-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--line-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.mp-dot-accent {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.mp-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2BB869;
  display: inline-block;
  animation: mpPulse 2s infinite;
}
@keyframes mpPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43,184,105,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(43,184,105,0); }
}

/* ─── Hero ──────────────────────────────────────────────── */
.mp-hero {
  max-width: min(1440px, calc(100% - 128px));
  margin: 0 auto;
  padding: 160px 0 120px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 2200px) {
  .mp-hero { max-width: min(1920px, calc(100% - 320px)); }
}
/* Layout A — centered editorial */
.mp-hero-a {
  max-width: min(1100px, calc(100% - 128px));
  align-items: center;
  text-align: center;
}
@media (min-width: 2200px) {
  .mp-hero-a { max-width: min(1400px, calc(100% - 320px)); }
}
.mp-hero-a .mp-hero-meta {
  justify-content: center;
}
.mp-hero-a .mp-hero-ctas {
  justify-content: center;
}
.mp-hero-a .mp-hero-title {
  max-width: 14ch;
}
.mp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* Hero A — editorial */
.mp-hero-a .mp-hero-title {
  font-size: clamp(52px, 8.5vw, 128px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 60px;
  max-width: 1200px;
}
.mp-hero-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.mp-meta-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.mp-meta-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.mp-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.mp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.2s;
  cursor: pointer;
}
.mp-btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.mp-btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent);
}
.mp-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.mp-btn-ghost:hover {
  border-color: var(--ink);
}
.mp-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}

/* Hero B — split with stack cards */
.mp-hero-b {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.mp-name-huge {
  font-size: clamp(72px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  display: block;
}
.mp-hero-sub {
  font-size: clamp(20px, 1.8vw, 28px);
  color: var(--ink-2);
  margin: 32px 0 40px;
  max-width: 540px;
  line-height: 1.3;
}
.mp-hero-b-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.mp-stack-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: all 0.3s;
}
.mp-stack-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.mp-stack-card img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}
.mp-stack-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mp-stack-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}
.mp-stack-arrow {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 20px;
}
.mp-stack-1 { transform: rotate(-1.5deg); margin-left: 8px; }
.mp-stack-2 { transform: rotate(1deg); margin-right: 8px; }
.mp-stack-tagline {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.mp-tagline-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}

/* Hero C — editorial magazine */
.mp-hero-c-grid {
  display: grid;
  grid-template-columns: 180px 1fr 280px;
  gap: 60px;
  align-items: end;
}
.mp-hero-c-index {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}
.mp-index-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
}
.mp-index-label {
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.mp-index-val {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mp-hero-c-title {
  font-size: clamp(80px, 13vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-weight: 400;
  margin: 30px 0 30px;
}
.mp-hero-c-sub {
  font-size: clamp(20px, 1.7vw, 26px);
  color: var(--ink-2);
  line-height: 1.35;
  max-width: 640px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mp-hero-c-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}
.mp-side-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.mp-side-num {
  font-size: 56px;
  line-height: 1;
  font-weight: 400;
  color: var(--accent);
  font-style: italic;
  min-width: 80px;
}
.mp-side-lbl {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.3;
  font-weight: 500;
}

/* ─── Hero D — Phone forward ─────────────────────────────── */
.mp-hero-d { padding: 140px 60px 100px; }
.mp-hero-d-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.mp-hero-d-title {
  font-size: clamp(64px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 28px 0 28px;
}
.mp-hero-d-sub {
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink-2);
  margin: 0 0 48px;
  max-width: 520px;
}
.mp-hero-d-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.mp-hero-d-stat { flex: 1; padding: 0 20px; }
.mp-hero-d-stat:first-child { padding-left: 0; }
.mp-hero-d-stat-n {
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-style: italic;
}
.mp-hero-d-stat-l {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mp-hero-d-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
}
.mp-hero-d-right {
  position: relative;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-hero-d-phone-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.mp-hero-d-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 700px;
  transition: transform 0.4s ease;
}
.mp-hero-d-phone .mp-phone {
  box-shadow: 0 60px 120px -30px rgba(0,0,0,0.35), 0 30px 60px -20px rgba(0,0,0,0.2);
}
.mp-hero-d-label {
  position: absolute;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  animation: mp-float 6s ease-in-out infinite;
}
.mp-hero-d-label-1 {
  top: 8%;
  right: -20px;
  animation-delay: 0s;
}
.mp-hero-d-label-2 {
  bottom: 22%;
  left: -40px;
  animation-delay: 1.5s;
}
.mp-hero-d-label-3 {
  bottom: 4%;
  right: 40px;
  font-family: 'JetBrains Mono', monospace;
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  animation-delay: 3s;
}
@keyframes mp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── Hero E — Manifesto ────────────────────────────────── */
.mp-hero-e {
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mp-hero-e-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg);
  margin-top: 64px;
}
.mp-marquee-track {
  display: flex;
  gap: 32px;
  align-items: center;
  animation: mp-marquee 32s linear infinite;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.mp-marquee-track span { display: inline-block; }
.mp-m-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes mp-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.mp-hero-e-body {
  margin: 0;
  padding: 0;
  width: 100%;
}
.mp-hero-e-title {
  font-size: clamp(54px, 8.5vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 40px 0 80px;
  max-width: 1200px;
}
.mp-hero-e-title .mp-hl {
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  padding: 0 4px;
}
.mp-hero-e-under {
  position: relative;
  display: inline-block;
}
.mp-hero-e-under::after {
  content: '';
  position: absolute;
  bottom: 2%;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent);
  transform: skewY(-1deg);
}
.mp-hero-e-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.mp-hero-e-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.mp-hero-e-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.mp-hero-e-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 14px;
  display: inline-block;
  min-width: 70px;
}

/* ─── Hero F — Portrait lead ────────────────────────────── */
.mp-hero-f { padding: 140px 60px 100px; }
.mp-hero-f-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 100px;
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}
.mp-hero-f-photo-col {
  position: sticky;
  top: 120px;
}
.mp-hero-f-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.25);
}
.mp-hero-f-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}
.mp-hero-f-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.mp-hero-f-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 14px;
  background: var(--bg);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.mp-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.2);
  animation: mp-pulse-dot 2s ease-in-out infinite;
}
@keyframes mp-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.mp-hero-f-photo-meta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mp-hero-f-text-col {
  padding-top: 20px;
}
.mp-hero-f-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-family: 'JetBrains Mono', monospace;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg-soft);
}
.mp-hero-f-title {
  font-size: clamp(80px, 13vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 28px 0 36px;
}
.mp-hero-f-lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0;
}
.mp-hero-f-lead b { color: var(--ink); font-weight: 700; }

/* ─── Apps ──────────────────────────────────────────────── */
.mp-app {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.mp-app-reverse .mp-app-mock { order: 2; }
.mp-app-reverse .mp-app-info { order: 1; }

.mp-app-mock {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

/* 3D Phone */
.mp-phone-wrap {
  filter: drop-shadow(0 50px 80px rgba(0,0,0,0.22));
  transition: transform 0.5s cubic-bezier(0.2,0.7,0.3,1);
}
.mp-phone-wrap:hover {
  transform: perspective(1600px) rotateY(-6deg) rotateX(3deg) !important;
}
.mp-phone {
  width: 320px;
  height: 650px;
  border-radius: 52px;
  background: linear-gradient(145deg, #3a3a40 0%, #1a1a1d 50%, #0b0b0d 100%);
  padding: 8px;
  position: relative;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.06),
    inset 0 2px 0 rgba(255,255,255,0.12),
    inset 0 -2px 0 rgba(0,0,0,0.6);
}
.mp-phone::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  width: 95px;
  height: 28px;
  background: #000;
  border-radius: 18px;
  z-index: 5;
}
.mp-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  position: relative;
}
.mp-phone-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.mp-phone-reflect {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 52px;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0.14) 30%,
    rgba(255,255,255,0.05) 40%,
    transparent 60%
  );
  pointer-events: none;
  mix-blend-mode: overlay;
}

.mp-app-info {
  max-width: 520px;
}
.mp-app-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.mp-app-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.mp-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.mp-app-name {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.mp-app-tag {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.mp-app-dl {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mp-app-dl strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.mp-app-desc {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.mp-app-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  padding: 20px 0;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mp-app-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.mp-feat-num {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.mp-app-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.mp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  transition: all 0.2s;
}
.mp-badge:hover { transform: translateY(-2px); }
.mp-badge-sm { font-size: 9px; opacity: 0.8; letter-spacing: 0.04em; }
.mp-badge-lg { font-size: 14px; font-weight: 600; margin-top: -2px; }

.mp-app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  transition: all 0.2s;
}
.mp-app-link:hover {
  border-bottom-color: var(--accent);
}

.mp-app-screens {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.mp-app-screen {
  flex: 0 0 110px;
  aspect-ratio: 9/19.5;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.mp-app-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Skills ────────────────────────────────────────────── */
.mp-skills-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 32px;
}
.mp-skills-block {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.mp-skills-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.mp-skills-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mp-skills-count {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
}

.mp-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mp-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.mp-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mp-lang-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mp-lang-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mp-lang-row:last-child { border-bottom: 0; }
.mp-lang-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.mp-lang-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
}
.mp-lang-name {
  font-size: 15px;
  font-weight: 600;
}
.mp-lang-dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.mp-lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: 1px solid var(--line);
}
.mp-lang-dot.on {
  background: var(--accent);
  border-color: var(--accent);
}
.mp-lang-level {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-transform: uppercase;
  min-width: 42px;
  text-align: right;
}

.mp-certs-list {
  display: flex;
  flex-direction: column;
}
.mp-cert-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.mp-cert-row:last-child { border-bottom: none; }
.mp-cert-link {
  transition: padding 0.2s, background 0.2s;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.mp-cert-link:hover {
  background: var(--line-soft);
  padding-left: 12px;
  padding-right: 12px;
}
.mp-cert-issuer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}
.mp-cert-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.mp-cert-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mp-cert-year {
  font-size: 11px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}
.mp-cert-arrow {
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.2s, transform 0.2s;
}
.mp-cert-link:hover .mp-cert-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ─── About ─────────────────────────────────────────────── */
.mp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.mp-about-left {
  position: sticky;
  top: 120px;
  align-self: start;
}
.mp-about-left .mp-section-title {
  margin-bottom: 32px;
}
.mp-about-photo-wrap {
  position: relative;
  margin-top: 16px;
  max-width: 340px;
}
.mp-about-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.mp-about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -8px -8px 28px -8px;
  border: 1px solid var(--line);
  border-radius: 28px;
  pointer-events: none;
}
.mp-about-photo-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.mp-about-photo-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mp-about-photo-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.mp-about-p {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--ink-2);
}
.mp-about-lead {
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}
.mp-about-quote {
  margin-top: 40px;
  padding: 32px 36px;
  border-left: 3px solid var(--accent);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-card);
  border-radius: 0 20px 20px 0;
  position: relative;
}
.mp-quote-mark {
  color: var(--accent);
  font-size: 60px;
  line-height: 0;
  position: absolute;
  top: 40px;
  left: 22px;
  font-family: 'Fraunces', serif;
}
.mp-about-quote {
  padding-left: 52px;
}

/* ─── Contact ───────────────────────────────────────────── */
.mp-section-contact {
  padding-bottom: 40px;
}
.mp-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.mp-contact-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%);
}
.mp-contact-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(43,184,105,0.1);
  color: #2BB869;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}
.mp-contact-huge {
  font-size: clamp(42px, 6.5vw, 92px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  word-break: break-word;
}
.mp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.mp-contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.mp-contact-val {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.mp-contact-val:hover { color: var(--accent); }
.mp-contact-cta {
  position: relative;
}

/* ─── Footer ────────────────────────────────────────────── */
.mp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 0 16px;
  font-size: 13px;
  color: var(--ink-3);
}
.mp-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mp-footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-4);
}

/* ─── Tweaks panel ──────────────────────────────────────── */
.mp-tweaks {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  width: 260px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  backdrop-filter: blur(18px);
}
.mp-tweaks-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mp-tweaks-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
}
.mp-tweaks-row:last-child { margin-bottom: 0; }
.mp-tweaks-seg {
  display: flex;
  padding: 2px;
  background: var(--line-soft);
  border-radius: 999px;
}
.mp-tweaks-seg button {
  padding: 4px 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.mp-tweaks-seg button.active {
  background: var(--ink);
  color: var(--bg);
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .mp-hero-b { grid-template-columns: 1fr; }
  .mp-hero-c-grid { grid-template-columns: 1fr; gap: 32px; }
  .mp-hero-c-side { flex-direction: row; flex-wrap: wrap; }
  .mp-hero-d-grid { grid-template-columns: 1fr; gap: 60px; }
  .mp-hero-d-right { height: 560px; }
  .mp-hero-d-phone { width: 280px; height: 580px; }
  .mp-hero-e-foot { grid-template-columns: 1fr; gap: 32px; }
  .mp-hero-f-grid { grid-template-columns: 1fr; gap: 60px; }
  .mp-hero-f-photo-col { position: static; max-width: 360px; }
  .mp-app { grid-template-columns: 1fr; gap: 40px; }
  .mp-app-reverse .mp-app-mock { order: 0; }
  .mp-skills-grid { grid-template-columns: 1fr; }
  .mp-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .mp-about-left { position: static; }
}

@media (max-width: 720px) {
  .mp-nav-inner { padding: 12px 20px; }
  .mp-nav-links { display: none; }
  .mp-hero { padding: 120px 20px 80px; min-height: auto; }
  .mp-section { padding: 80px 20px; }
  .mp-hero-switch { top: auto; bottom: 80px; right: 20px; }
  .mp-app-features { grid-template-columns: 1fr; }
  .mp-contact-card { padding: 40px 28px; }
  .mp-contact-grid { grid-template-columns: 1fr; }
  .mp-footer { flex-direction: column; gap: 12px; text-align: center; }
  .mp-phone { width: 260px; height: 530px; }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — comprehensive cleanup
   ═══════════════════════════════════════════════════════════════ */

/* Default hero-b is 2-col 1.3fr/1fr. Keep desktop, but tighten for smaller laptops. */

/* Large desktop (≥1600) — give more breathing room */
@media (min-width: 1600px) {
  .mp-nav-inner, .mp-section, .mp-hero { max-width: 1600px; }
  .mp-hero-b { gap: 120px; }
}

@media (min-width: 1900px) {
  .mp-nav-inner, .mp-section, .mp-hero { max-width: 1760px; }
}

/* Standard desktop/laptop (1280–1600) — default CSS fits */

/* Small laptop / large tablet landscape (1024–1279) — tighten grid, keep 2-col */
@media (max-width: 1279px) {
  .mp-nav-inner, .mp-section { padding-left: 28px; padding-right: 28px; }
  .mp-section { padding-top: 100px; padding-bottom: 100px; }
  .mp-hero-b { gap: 60px; grid-template-columns: 1.2fr 1fr; }
  .mp-hero-b-title { font-size: clamp(56px, 7vw, 104px); }
  .mp-app { gap: 60px; }
  .mp-app-name { font-size: clamp(36px, 4.5vw, 60px); }
}

/* Tablet (768–1023) — single column but larger than mobile */
@media (max-width: 1023px) {
  .mp-hero-b { grid-template-columns: 1fr; gap: 48px; }
  .mp-hero-b-right { align-self: start; }
  .mp-hero-c-grid, .mp-hero-d-grid, .mp-hero-e-foot, .mp-hero-f-grid { grid-template-columns: 1fr !important; }
  .mp-app, .mp-app-reverse { grid-template-columns: 1fr !important; gap: 48px; }
  .mp-app-reverse .mp-app-mock { order: -1; }
  .mp-app-features { grid-template-columns: repeat(2, 1fr); }
  .mp-skills-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .mp-contact-grid { grid-template-columns: 1fr !important; }
  .mp-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .mp-section { padding: 80px 24px; }
  .mp-hero-b-title { font-size: clamp(52px, 9vw, 88px); }
}

/* Mobile (≤767) — stack everything */
@media (max-width: 767px) {
  .mp-nav-inner { padding: 12px 18px; gap: 12px; }
  .mp-nav-links { display: none !important; }
  .mp-nav-cta { padding: 8px 14px !important; font-size: 11px; }
  .mp-nav-right { gap: 8px; }
  .mp-hero { padding: 110px 18px 70px !important; min-height: auto; }
  .mp-section { padding: 70px 18px !important; }
  .mp-section-head { margin-bottom: 48px; }
  .mp-section-title { font-size: clamp(36px, 9vw, 56px) !important; }
  .mp-hero-b-title { font-size: clamp(44px, 11vw, 72px) !important; line-height: 1.02; }
  .mp-hero-b-kicker { font-size: 11px; }
  .mp-hero-b-lead { font-size: 15px; }
  .mp-hero-ctas { flex-wrap: wrap; gap: 10px; }
  .mp-btn { padding: 12px 18px; font-size: 13px; }
  .mp-app-features { grid-template-columns: 1fr; }
  .mp-app-name { font-size: clamp(32px, 9vw, 52px) !important; }
  .mp-app-head { gap: 14px; }
  .mp-app-icon { width: 52px; height: 52px; }
  .mp-app-desc { font-size: 15px; }
  .mp-app-badges { flex-direction: column; align-items: stretch; }
  .mp-badge { justify-content: center; }
  .mp-app-screens { gap: 10px; grid-template-columns: repeat(2, 1fr) !important; }
  .mp-phone { width: 240px !important; height: 495px !important; }
  .mp-app-mock { display: flex; justify-content: center; }
  .mp-skills-grid { grid-template-columns: 1fr !important; }
  .mp-contact-card { padding: 36px 24px !important; }
  .mp-contact-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .mp-stats-grid { grid-template-columns: 1fr !important; }
  .mp-footer { flex-direction: column; gap: 10px; text-align: center; padding: 24px 18px; font-size: 12px; }
  .mp-tweaks { right: 12px !important; bottom: 12px !important; left: 12px !important; width: auto !important; }
}

/* Very small phones (≤380) */
@media (max-width: 380px) {
  .mp-hero-b-title { font-size: 40px !important; }
  .mp-section-title { font-size: 34px !important; }
  .mp-phone { width: 220px !important; height: 455px !important; }
}

/* Ensure horizontal scroll never happens */
html, body { overflow-x: hidden; max-width: 100vw; }
.mp-app { overflow-x: hidden; }


/* ═══════════════════════════════════════════════════════════════
   LAYOUT VARIANTS
   ═══════════════════════════════════════════════════════════════ */

/* ───── Layout B — Bold magazine ───── */
.mp-hero-bold {
  padding: 80px 32px 0 !important;
  min-height: auto !important;
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
}
.mp-hero-bold-frame {
  max-width: 1760px;
  margin: 40px auto 0;
  padding: 60px 32px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.mp-hero-bold-title {
  font-size: clamp(120px, 18vw, 340px);
  line-height: 0.85;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-align: center;
  margin: 40px 0;
}
.mp-hero-bold-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  gap: 20px;
  flex-wrap: wrap;
}
.mp-hero-bold-meta > div { display: flex; align-items: center; gap: 10px; }
.mp-hero-bold-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  gap: 60px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: mp-marquee 30s linear infinite;
}
.mp-hero-bold-strip span { flex-shrink: 0; }
.mp-hero-bold-lead {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 32px;
  text-align: center;
}
.mp-hero-bold-lead p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.4;
  color: var(--ink-2);
  margin-bottom: 40px;
  text-wrap: balance;
}
.mp-hero-bold-lead .mp-hero-ctas { justify-content: center; }

/* Layout B — Also make apps section more visual */
[data-layout="B"] .mp-section {
  padding-left: 60px;
  padding-right: 60px;
}
[data-layout="B"] .mp-section-head {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

/* ───── Layout C — Case-study with numbered cards ───── */
.mp-hero-custom {
  max-width: 1760px !important;
  margin: 0 auto !important;
  padding: 120px 40px 80px !important;
  display: block !important;
  min-height: auto !important;
}
.mp-hero-custom-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  margin-bottom: 60px;
}
.mp-hero-custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.mp-hero-custom-left { display: flex; flex-direction: column; gap: 16px; }
.mp-hero-custom-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-top: 24px;
}
.mp-hero-custom-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(80px, 9vw, 160px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.mp-hero-custom-lead {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 600px;
}
.mp-hero-custom-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: center;
}
.mp-hero-custom-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  aspect-ratio: 1 / 1.15;
  transition: transform 0.25s, box-shadow 0.25s;
}
.mp-hero-custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2);
}
.mp-hero-custom-card:nth-child(2) { transform: translateY(40px); }
.mp-hero-custom-card:nth-child(2):hover { transform: translateY(36px); }
.mp-hero-custom-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.mp-hero-custom-card img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin-top: auto;
}
.mp-hero-custom-card-name {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mp-hero-custom-card-tag {
  font-size: 13px;
  color: var(--ink-3);
}
.mp-hero-custom-card-ghost {
  background: transparent;
  border-style: dashed;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.mp-hero-custom-card-ghost .mp-hero-custom-card-name { font-size: 22px; }

/* Layout C — split apps section into story chapters */
[data-layout="C"] .mp-app {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
[data-layout="C"] .mp-app:first-child { border-top: none; }
[data-layout="C"] .mp-app-number {
  font-size: 120px;
  opacity: 0.06;
  position: absolute;
  top: 40px;
  right: 40px;
  pointer-events: none;
}

/* Responsive for layouts */
@media (max-width: 1023px) {
  .mp-hero-custom-grid { grid-template-columns: 1fr; gap: 60px; }
  .mp-hero-custom-right { grid-template-columns: 1fr 1fr; }
  .mp-hero-custom-card:nth-child(2) { transform: none; }
  .mp-hero-bold-title { font-size: clamp(80px, 16vw, 200px); }
}
@media (max-width: 640px) {
  .mp-hero-custom-right { grid-template-columns: 1fr; }
  .mp-hero-custom-card:nth-child(2) { transform: none; }
  .mp-hero-custom-card { aspect-ratio: auto; padding: 20px; }
  .mp-hero-bold { padding: 70px 18px 0 !important; }
  .mp-hero-bold-frame { padding: 40px 18px 24px; }
  .mp-hero-bold-meta { flex-direction: column; font-size: 10px; gap: 8px; }
  .mp-hero-bold-strip { font-size: 12px; gap: 32px; padding: 14px 0; }
  .mp-hero-bold-lead { padding: 0 18px; margin: 50px auto; }
  .mp-hero-custom { padding: 90px 20px 60px !important; }
}
