:root {
  --bg: #f7f6f1;
  --ink: #070707;
  --muted: #626873;
  --line: rgba(7, 7, 7, 0.12);
  --panel: #ffffff;
  --gold: #b87908;
  --blue: #4c5dff;
  --pink: #e85ab7;
  --green: #087f68;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: auto;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  width: 100%;
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 201, 77, 0.17), transparent 320px),
    radial-gradient(circle at 90% 16%, rgba(76, 93, 255, 0.10), transparent 340px),
    linear-gradient(180deg, #fff 0%, var(--bg) 46%, #fff 100%);
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
}
.brand, nav, .hero-actions, .project-actions, .skill-strip, .tool-belt { display: flex; align-items: center; }
.brand { min-width: 0; gap: 10px; font-weight: 850; }
.brand img { width: 36px; height: 36px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
nav { gap: 8px; color: var(--muted); font-size: 14px; }
nav a { padding: 9px 12px; border-radius: 999px; }
nav a:hover { color: var(--ink); background: rgba(7,7,7,.05); }

/* ── Hamburger toggle button (hidden on desktop) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.92);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .18s ease, border-color .18s ease;
}
.nav-toggle:hover { background: rgba(7,7,7,.06); border-color: rgba(7,7,7,.18); }
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav drawer ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 19;
  padding: 80px 20px 28px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(7,7,7,.10);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .22s ease;
  pointer-events: none;
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s ease;
}
.mobile-nav a:hover, .mobile-nav a:active { background: rgba(7,7,7,.06); }


.button,
nav a,
.project-actions a,
.project-logo,
.hero-visual img,
.tool-belt span,
.method-grid article,
.ai-feature,
.ai-grid article,
.project-row,
.growth-card,
.aso-grid article,
.writing-feature,
.writing-grid article,
.case-card,
.issue-card,
.flow-card,
.architecture-card {
  transition:
    transform .22s var(--motion-ease),
    box-shadow .22s ease,
    border-color .22s ease,
    background-color .22s ease,
    color .18s ease,
    filter .22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  nav a:hover,
  .project-actions a:hover {
    transform: translateY(-1px);
  }

  .project-row:hover .project-logo {
    transform: translateY(-2px) scale(1.06);
  }

  .method-grid article:hover,
  .ai-feature:hover,
  .ai-home-points article:hover,
  .ai-grid article:hover,
  .project-row:hover,
  .growth-card:hover,
  .aso-grid article:hover,
  .writing-feature:hover,
  .writing-grid article:hover,
  .case-card:hover,
  .issue-card:hover,
  .flow-card:hover,
  .architecture-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 70px rgba(7,7,7,.09);
  }

  .tool-belt span:hover {
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 14px 34px rgba(7,7,7,.06);
  }
}

.desktop-br {
  display: block;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  scroll-margin-top: 90px;
}
.hero { position: relative; padding-top: 58px; overflow: hidden; }
.hero-modern {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  min-height: clamp(560px, 68svh, 700px);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 138px;
  left: 50%;
  width: min(1040px, 92vw);
  height: 330px;
  border: 46px solid rgba(7,7,7,.035);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(90deg, #f3c94d, #e85ab7, #4c5dff) border-box;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1040px;
  margin-bottom: 22px;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}
h2 { max-width: 840px; margin-bottom: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
h3 { font-size: 21px; line-height: 1.16; }
p { color: var(--muted); line-height: 1.65; }
.hero-lead { max-width: 760px; font-size: 20px; }
.hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center { justify-content: center; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7,7,7,.05);
  font-weight: 850;
}
.button.primary { color: #fff; border-color: #070707; background: #070707; }
.button.ghost { color: var(--muted); background: transparent; }
.button.light { margin-top: 18px; color: #070707; background: #fff; }
.hero-panel {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  align-items: center;
  max-width: 900px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 28px 90px rgba(7,7,7,.08);
}
.hero-panel img { width: 118px; height: 118px; object-fit: cover; border-radius: 20px; }
.hero-panel strong, .hero-panel span { display: block; }
.hero-panel span { margin-top: 6px; color: var(--muted); }

.hero-visual {
  position: relative;
  width: min(340px, 100%);
  margin-inline: auto;
  isolation: isolate;
}
.hero-visual picture {
  position: relative;
  display: block;
}
.hero-visual picture::before {
  content: "";
  position: absolute;
  inset: -20px -18px 18px;
  z-index: -2;
  border: 1px solid rgba(7,7,7,.08);
  border-radius: 42% 42% 28px 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(247,246,241,.34)),
    radial-gradient(circle at 18% 12%, rgba(243,201,77,.26), transparent 230px);
  box-shadow: 0 34px 100px rgba(7,7,7,.10);
}
.hero-visual picture::after {
  content: "";
  position: absolute;
  inset: 13% -14% auto -12%;
  z-index: -3;
  height: 48%;
  border: 30px solid rgba(7,7,7,.035);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 43%;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 42% 42% 26px 26px;
  box-shadow: 0 24px 72px rgba(7,7,7,.15);
}
.hero-proof {
  position: absolute;
  z-index: 3;
  width: 168px;
  padding: 12px 14px;
  border: 1px solid rgba(7,7,7,.11);
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(7,7,7,.12);
}
.hero-proof span,
.hero-proof strong {
  display: block;
}
.hero-proof span {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.hero-proof strong {
  font-size: 13px;
  line-height: 1.15;
}
.proof-top { top: 7%; right: -16px; }
.proof-left { left: -28px; bottom: 19%; }
.proof-right { right: -32px; bottom: 7%; }

.skill-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 70px rgba(7,7,7,.07);
}
.skill-strip span, .project-actions a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7,7,7,.06);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.tool-belt {
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 24px;
  position: relative;
  display: block;
  padding: 10px 0 14px;
  overflow: hidden;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.tool-belt::-webkit-scrollbar {
  display: none;
}
.tool-track {
  display: flex;
  width: max-content;
  gap: 12px;
  transform: translate3d(0, 0, 0);
}
.tool-belt span {
  flex: 0 0 124px;
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 12px;
  border: 1px solid rgba(7,7,7,.09);
  border-top: 2px solid rgba(184,121,8,.55);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 28px rgba(7,7,7,.045);
}
.tool-belt span[data-tone="mobile"] { border-top-color: #54c5f8; }
.tool-belt span[data-tone="android"] { border-top-color: #34a853; }
.tool-belt span[data-tone="ios"] { border-top-color: #8a8f98; }
.tool-belt span[data-tone="editor"] { border-top-color: #2f80ed; }
.tool-belt span[data-tone="firebase"] { border-top-color: #f9ab00; }
.tool-belt span[data-tone="store"] { border-top-color: #4c5dff; }
.tool-belt span[data-tone="dev"] { border-top-color: #070707; }
.tool-belt span[data-tone="team"] { border-top-color: #e85ab7; }
.tool-belt span[data-tone="product"] { border-top-color: #0e9f6e; }
.tool-belt span[data-tone="ai"] { border-top-color: #087f68; }
.tool-belt img {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  object-fit: contain;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(7, 7, 7, .055);
}
.tool-belt img.tool-logo-wide {
  width: 74px;
  height: 36px;
  padding: 4px 6px;
}
.tool-belt b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0;
}
.tool-belt em {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 780;
  line-height: 1.2;
  text-align: left;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 920px;
}
.section-heading .eyebrow {
  margin: 0;
}
.section-heading h2 {
  max-width: none;
}
.section-heading .section-lead {
  margin: 4px 0 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.65;
}
.section-lead {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
  overflow: visible;
  align-items: stretch;
}
.method-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(7, 7, 7, 0.10);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(7,7,7,.06);
}
.method-grid span, .tag { color: var(--gold); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.method-grid h3 { margin: 28px 0 12px; }
.method-grid article p {
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 14.5px;
}
.method-tagline {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px !important;
}
.method-detail-item {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 14px;
}
.method-detail-item strong {
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
}
.method-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.method-detail-tags span {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  background: rgba(7, 7, 7, 0.04);
  border: 1px solid rgba(7, 7, 7, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Outer container card for Product Method / Delivery Loop */
.method-section {
  padding-top: 24px;
  padding-bottom: 24px;
}
.method-section-inner {
  width: 100%;
  padding: 48px clamp(22px, 4vw, 40px) 40px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0% 0%, rgba(243, 201, 77, 0.12), transparent 300px),
    radial-gradient(circle at 100% 100%, rgba(232, 90, 183, 0.08), transparent 320px),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 90px rgba(7, 7, 7, 0.06);
}

/* Outer button actions container for Product Method section */
.method-actions {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.ai-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 34px;
}
.ai-feature > div,
.ai-grid article,
.ai-warning {
  border: 1px solid rgba(7, 7, 7, 0.12);
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 24px 70px rgba(7,7,7,.07);
}
.ai-feature > div {
  padding: 30px;
}
.ai-feature h3 {
  max-width: 780px;
  margin: 18px 0 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
}
.ai-feature p,
.ai-warning p {
  margin-bottom: 0;
}
.ai-feature .button {
  width: fit-content;
  margin-top: 20px;
}
.ai-section {
  padding-top: 24px;
  padding-bottom: 24px;
}
.ai-section-inner {
  width: 100%;
  padding: 48px clamp(22px, 4vw, 40px) 40px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0% 0%, rgba(243, 201, 77, 0.12), transparent 280px),
    radial-gradient(circle at 100% 0%, rgba(76, 93, 255, 0.10), transparent 320px),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 90px rgba(7, 7, 7, 0.06);
}
.ai-section .section-heading {
  max-width: none;
}
.ai-home-card {
  display: grid;
  gap: 22px;
  margin-top: 30px;
  padding: 28px;
  border: 1px solid rgba(7, 7, 7, 0.10);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 56px rgba(7, 7, 7, 0.05);
}
.ai-home-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 24px;
  align-items: start;
}
.ai-home-copy p {
  max-width: 640px;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.62;
}
.ai-home-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-home-tools li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 14px;
  background: rgba(247, 246, 241, 0.8);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.ai-home-tools img {
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(7, 7, 7, 0.06);
}
.ai-home-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ai-home-points article {
  padding: 20px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #fcfcfa 0%, #f7f6f1 100%);
}
.ai-home-points span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ai-home-points p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.ai-home-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding-top: 6px;
  border-top: 1px solid rgba(7, 7, 7, 0.08);
}
.ai-home-footer p {
  max-width: 420px;
  margin: 0;
  font-size: 14px;
}
.ai-home-card-compact {
  gap: 18px;
  padding: 24px;
}
.ai-home-card-compact .ai-home-copy p {
  font-size: 16px;
}
.ai-home-card-compact .button {
  width: fit-content;
  margin-top: 18px;
}
.growth-card .hero-actions {
  margin-top: 16px;
}
.method-grid article p {
  font-size: 15px;
}
.ai-principle {
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at 100% 0%, rgba(76, 93, 255, 0.12), transparent 280px),
    #fff;
}
.ai-principle strong,
.ai-warning strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.2;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.ai-grid article {
  min-height: 220px;
  padding: 24px;
}
.ai-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.ai-grid h3 {
  margin: 34px 0 0;
  font-size: 23px;
}
.ai-warning {
  margin-top: 16px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(184,121,8,.10), transparent 45%),
    #fff;
}

.dark-section {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 58px clamp(22px, 4vw, 56px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 8%, rgba(243,201,77,.14), transparent 340px),
    radial-gradient(circle at 92% 24%, rgba(76,93,255,.14), transparent 380px),
    #050505;
  box-shadow: 0 34px 100px rgba(7,7,7,.18);
}
.dark-section .eyebrow { color: #fff; background: linear-gradient(#050505,#050505) padding-box, linear-gradient(90deg,#f3c94d,#e85ab7,#4c5dff) border-box; }
.dark-section .section-lead,
.dark-section .section-heading .section-lead {
  color: rgba(255,255,255,.68);
}
.project-list { display: grid; gap: 12px; margin-top: 34px; }
.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.project-row:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
}
.main-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.project-number {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: rgba(255,255,255,.34);
  border-right: 1px solid rgba(255,255,255,.10);
  font-size: 18px;
  font-weight: 950;
}
.project-copy { padding: 28px; }
.project-title-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}
.project-logo {
  width: 70px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.project-copy h3 { margin: 6px 0 0; font-size: clamp(20px, 2vw, 26px); }
.project-copy p { max-width: 850px; color: rgba(255,255,255,.72); }
.project-copy strong { display: block; margin: 16px 0; color: #f3c94d; }
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.project-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 800;
}
.project-actions { flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.project-actions a {
  position: relative;
  z-index: 2;
  color: #fff;
  background: rgba(255,255,255,.10);
}
.project-actions a:hover {
  background: rgba(255, 255, 255, 0.18);
}
.project-actions a::after { content: " ↗"; }

/* Highlight the primary action (View Case Study) when card is hovered */
.project-row:hover .project-actions a:first-child {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* Light-themed Creative Card for Personal Projects in Light Sections */
.personal-section .project-row {
  color: var(--ink);
  border: 1px solid rgba(7, 7, 7, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 246, 241, 0.85) 100%);
  box-shadow: 0 24px 72px rgba(7, 7, 7, 0.04);
}
.personal-section .project-row:hover {
  border-color: rgba(7, 7, 7, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(244, 243, 237, 0.95) 100%);
}
.personal-section .project-number {
  color: rgba(7, 7, 7, 0.35);
  border-right: 1px solid rgba(7, 7, 7, 0.08);
}
.personal-section .project-copy h3 {
  color: var(--ink);
}
.personal-section .project-copy p {
  color: var(--muted);
}
.personal-section .project-tags span {
  border-color: rgba(7, 7, 7, 0.08);
  color: var(--muted);
  background: rgba(7, 7, 7, 0.04);
}
.personal-section .project-actions a {
  position: relative;
  z-index: 2;
  color: var(--ink);
  background: rgba(7, 7, 7, 0.05);
  border: 1px solid rgba(7, 7, 7, 0.08);
}
.personal-section .project-actions a:hover {
  background: rgba(7, 7, 7, 0.10);
  border-color: var(--ink);
}
.personal-section .project-row:hover .project-actions a:first-child {
  background: rgba(7, 7, 7, 0.10);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.personal-section .project-logo {
  border-color: rgba(7, 7, 7, 0.08);
  box-shadow: 0 10px 24px rgba(7, 7, 7, 0.04);
}

/* .personal-section width handled by .section */
.tracker-showcase {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 30px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, #070809 0%, #171717 52%, #050505 100%);
  box-shadow: 0 34px 100px rgba(0,0,0,.26);
  isolation: isolate;
}
.tracker-showcase p { color: #d8dde4; }
.phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 34px;
}
.phone-shot {
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: #060606;
  position: relative;
  transition: transform .4s var(--motion-ease), box-shadow .4s var(--motion-ease), border-color .4s var(--motion-ease);
  will-change: transform, box-shadow;
  cursor: pointer;
}
.phone-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.09) 45%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.09) 55%, transparent 60%);
  background-size: 250% 250%;
  background-position: 200% 0;
  transition: background-position .6s ease;
}
.phone-shot:hover::after {
  background-position: -50% 0;
}
.phone-shot:hover {
  transform: scale(1.03) translate3d(0, -6px, 0);
  box-shadow: 0 30px 70px rgba(7,7,7,.22) !important;
  border-color: var(--gold) !important;
}
.phone-gallery img,
.phone-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
  border: 0;
  border-radius: 0;
  background: #060606;
}
.screenshot-gallery {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: start;
}
.screenshot-gallery .phone-shot {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 22px 60px rgba(7,7,7,.12);
}

.growth-card {
  display: grid;
  gap: 18px;
  align-items: start;
  margin-top: 34px;
  padding: 34px;
  border: 1px solid rgba(8,127,104,.22);
  border-radius: 28px;
  background: radial-gradient(circle at top right, rgba(8,127,104,.12), transparent 320px), #fff;
  box-shadow: 0 28px 90px rgba(7,7,7,.08);
}
.section-more {
  margin-top: 18px;
}
.section-more a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.section-more a:hover {
  color: var(--ink);
}
.growth-card h3,
.growth-card p {
  margin-bottom: 0;
}
.growth-card strong {
  display: block;
  color: var(--green);
  font-size: 22px;
  line-height: 1.25;
}
.growth-card .button {
  width: fit-content;
  margin-top: 0;
}
.aso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.aso-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 64px rgba(7,7,7,.07);
}
.aso-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.aso-grid h3 {
  margin: 38px 0 12px;
  font-size: 26px;
}
.aso-grid p {
  margin-bottom: 0;
  font-size: 15.5px;
  line-height: 1.58;
}
.writing-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-top: 34px;
  padding: 32px;
  border: 1px solid rgba(7, 7, 7, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 16%, rgba(184, 121, 8, 0.12), transparent 300px),
    radial-gradient(circle at 90% 10%, rgba(76, 93, 255, 0.10), transparent 320px),
    #fff;
  box-shadow: 0 28px 90px rgba(7,7,7,.08);
}
.writing-feature h3 {
  max-width: 780px;
  margin: 18px 0 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
}
.writing-feature p {
  max-width: 820px;
  margin-bottom: 0;
}
.writing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.writing-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 64px rgba(7,7,7,.07);
}
.writing-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.writing-grid h3 {
  margin: 34px 0 0;
  font-size: 24px;
}
.contact-section { text-align: center; }
.contact-section h2, .contact-section p { margin-left: auto; margin-right: auto; }
.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.contact-links span {
  display: inline-flex;
  align-items: center;
}

.case-context {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 0;
}
.case-context article,
.case-detail-grid article,
.case-narrative {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 24px 70px rgba(7,7,7,.08);
}
.case-context article {
  padding: 22px;
}
.case-context span,
.case-detail-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.case-context strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.25;
}
.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.case-detail-grid article {
  padding: 26px;
}
.case-detail-grid h3 {
  margin: 14px 0 12px;
}
.case-narrative {
  margin-top: 34px;
  padding: 34px;
}
.case-narrative p:last-child {
  margin-bottom: 0;
}
.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.case-stack span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #333942;
  font-size: 13px;
  font-weight: 850;
}
.challenge-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}
.challenge-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7,7,7,.08);
}
.challenge-card h3 {
  margin-bottom: 14px;
}
.challenge-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.challenge-card > div:first-child strong {
  display: block;
  margin-bottom: 8px;
}
.challenge-card p {
  margin-bottom: 12px;
}
.desktop-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  margin-top: 34px;
  padding: 10px 0 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.desktop-gallery::-webkit-scrollbar {
  display: none;
}
.desktop-gallery figure {
  flex: 0 0 min(680px, 85vw);
  scroll-snap-align: start;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 24px 70px rgba(7,7,7,.08);
  position: relative;
  transition: transform .4s var(--motion-ease), box-shadow .4s var(--motion-ease), border-color .4s var(--motion-ease);
  will-change: transform, box-shadow;
  cursor: pointer;
}
.desktop-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.08) 45%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.08) 55%, transparent 60%);
  background-size: 250% 250%;
  background-position: 200% 0;
  transition: background-position .6s ease;
}
.desktop-gallery figure:hover::after {
  background-position: -50% 0;
}
.desktop-gallery figure:hover {
  transform: scale(1.02) translate3d(0, -6px, 0);
  box-shadow: 0 34px 80px rgba(7,7,7,.15) !important;
  border-color: var(--gold) !important;
}
.desktop-gallery figure:first-child,
.desktop-gallery figure:nth-child(9) {
  grid-column: 1 / -1;
}
.desktop-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  background: #eef0f4;
}
.desktop-gallery figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.issue-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
    radial-gradient(circle at top right, rgba(76,93,255,.08), transparent 260px);
  box-shadow: 0 24px 70px rgba(7,7,7,.07);
}
.issue-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.issue-card h3 {
  margin: 14px 0 14px;
  font-size: 24px;
}
.issue-card p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.55;
}
.issue-card p:last-child {
  margin-bottom: 0;
}
.issue-card strong {
  color: #222832;
}
.issue-card:nth-child(6n + 1) {
  border-top: 4px solid rgba(184,121,8,.72);
}
.issue-card:nth-child(6n + 2) {
  border-top: 4px solid rgba(76,93,255,.62);
}
.issue-card:nth-child(6n + 3) {
  border-top: 4px solid rgba(232,90,183,.58);
}
.issue-card:nth-child(6n + 4) {
  border-top: 4px solid rgba(8,127,104,.64);
}

.case-page .hero {
  padding-top: clamp(40px, 5vw, 58px);
}
.case-page h1 {
  max-width: 1040px;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}
.case-page h2 {
  max-width: 900px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: 0;
}
.case-page h3 {
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: 0;
}
.case-page .hero-lead {
  max-width: 860px;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.62;
}
.case-page .button {
  min-height: 44px;
}

@media (prefers-reduced-motion: no-preference) {
  .tool-track {
    animation: toolMarquee 22s linear infinite;
  }

  .tool-belt:hover .tool-track {
    animation-play-state: paused;
  }

  .js-enabled .reveal {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition: opacity .28s var(--motion-ease), transform .28s var(--motion-ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js-enabled .reveal:has(img) {
    transform: none;
    transition: opacity .28s var(--motion-ease);
  }

  .js-enabled .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .js-enabled .reveal:has(img).is-visible {
    transform: none;
  }
}

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

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes toolMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 5px), 0, 0); }
}

@media (max-width: 920px) {
  nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .section-heading, .method-grid, .ai-feature, .ai-home-top, .ai-home-points, .tracker-showcase, .case-context, .case-detail-grid, .challenge-card, .issue-grid, .desktop-gallery, .aso-grid, .writing-feature, .writing-grid { grid-template-columns: 1fr; }
  .ai-home-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-modern {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: auto;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 28px;
  }
  .hero-visual picture {
    width: min(280px, 76vw);
  }
  .hero-visual .hero-proof {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 280px !important;
    box-shadow: 0 8px 24px rgba(7,7,7,.06) !important;
  }
  .section-heading {
    gap: 12px;
  }
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aso-grid,
  .issue-grid,
  .case-detail-grid,
  .writing-grid,
  .ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .desktop-gallery figure:first-child,
  .desktop-gallery figure:nth-child(9) {
    grid-column: auto;
  }
  .method-grid article { min-height: auto; }
  .method-grid h3 { margin-top: 28px; }
  .case-page .method-grid {
    gap: 14px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .case-page .method-grid article {
    border-radius: 24px;
    box-shadow: 0 18px 52px rgba(7,7,7,.07);
  }
  .aso-grid article {
    min-height: auto;
  }
  .aso-grid h3 {
    margin-top: 20px;
  }
  .issue-card {
    min-height: auto;
  }
}
@media (max-width: 720px) {
  .site-header {
    min-height: 58px;
  }
  .case-page .hero {
    padding-top: 34px;
  }
  .case-page h1 {
    font-size: clamp(25px, 6vw, 30px);
    line-height: 1.1;
  }
  .case-page h2 {
    font-size: clamp(21px, 5vw, 24px);
    line-height: 1.14;
  }
  .case-page h3 {
    font-size: 19px;
  }
  .case-page p {
    font-size: 15px;
    line-height: 1.55;
  }
  .case-page .hero-lead {
    font-size: 15.5px;
    line-height: 1.55;
  }
  .case-page .eyebrow {
    margin-bottom: 14px;
    padding: 7px 10px;
    color: #333942;
    font-size: 11px;
    line-height: 1;
  }
  .case-page .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .case-page .button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }
  .case-detail-grid,
  .aso-grid,
  .issue-grid,
  .method-grid,
  .writing-grid,
  .ai-grid {
    grid-template-columns: 1fr;
  }
  .case-page .case-context strong {
    font-size: 17px;
    line-height: 1.25;
  }
  .case-page .challenge-card h3 {
    font-size: 24px;
  }
  .case-page .screenshot-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(178px, 220px);
    grid-template-columns: none;
    gap: 14px;
    margin-inline: -16px;
    margin-top: 24px;
    padding: 2px 16px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
  }
  .phone-gallery {
    margin-top: 24px;
  }
  .desktop-gallery {
    margin-top: 24px;
  }
  .case-page .screenshot-gallery .phone-shot {
    scroll-snap-align: start;
  }
}
@media (max-width: 620px) {
  .desktop-br {
    display: none;
  }
  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }
  .brand img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .brand span {
    font-size: 17px;
    font-weight: 900;
  }
  .contact-links {
    flex-direction: column;
    gap: 8px;
  }
  .contact-links .contact-sep {
    display: none;
  }
  .section { width: min(100% - 32px, 1180px); padding: 34px 0; }
  .ai-section-inner,
  .method-section-inner {
    width: 100%;
    padding: 28px 18px 24px;
    border-radius: 24px;
  }
  .ai-home-card {
    padding: 20px;
    border-radius: 22px;
  }
  .ai-home-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ai-home-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .ai-home-footer .button,
  .ai-home-card-compact .button {
    width: 100%;
  }
  h1 {
    font-size: clamp(25px, 6vw, 30px);
    line-height: 1.1;
  }
  h2 {
    font-size: clamp(21px, 5vw, 24px);
    line-height: 1.14;
  }
  h3 {
    font-size: 19px;
    line-height: 1.16;
  }
  p {
    font-size: 15px;
    line-height: 1.55;
  }
  .hero {
    padding-top: 30px;
  }
  .hero-modern {
    gap: 26px;
    text-align: left;
    justify-items: stretch;
  }
  .hero::before {
    top: 150px;
    right: -180px;
    left: auto;
    width: 520px;
    height: 230px;
    border-width: 34px;
    transform: none;
  }
  .hero-visual {
    margin-top: 20px;
  }
  .hero-visual picture {
    width: min(230px, 68vw);
  }
  .hero-visual picture::before {
    inset: -18px -14px 18px;
    border-radius: 42% 42% 26px 26px;
  }
  .hero-visual .hero-proof {
    max-width: 230px !important;
  }
  .hero-lead {
    font-size: 15.5px;
    line-height: 1.56;
  }
  .eyebrow {
    margin-bottom: 14px;
    padding: 7px 10px;
    font-size: 11px;
    line-height: 1;
  }
  .dark-section {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    padding: 28px 16px;
    border-radius: 22px;
    overflow: hidden;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .dark-section .section-heading h2,
  .dark-section h2 {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .section-heading {
    gap: 12px;
  }
  .dark-section .section-heading {
    gap: 12px;
  }
  .dark-section .section-heading h2 {
    font-size: clamp(21px, 5vw, 24px);
    line-height: 1.14;
  }
  .skill-strip {
    width: calc(100% - 32px);
    gap: 8px;
    padding: 12px;
    border-radius: 22px;
  }
  .tool-belt {
    width: calc(100% - 16px);
    margin-top: 8px;
    padding: 12px 8px 16px;
  }
  .tool-belt span {
    flex-basis: 118px;
    min-height: 108px;
    padding: 12px;
    border-radius: 16px;
  }
  .tool-belt img {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
  }
  .tool-belt img.tool-logo-wide {
    width: 72px;
    height: 32px;
  }
  .tool-belt b {
    font-size: 13px;
  }
  .tool-belt em {
    font-size: 10px;
  }
  .skill-strip span,
  .project-actions a {
    padding: 7px 10px;
    font-size: 12px;
  }
  .method-grid {
    margin-top: 24px;
    border-radius: 22px;
    gap: 12px;
  }
  .case-page .method-grid {
    gap: 12px;
    margin-top: 22px;
  }
  .method-grid h3 {
    margin-top: 18px;
  }
  .case-context {
    gap: 10px;
  }
  .case-context article {
    padding: 18px;
    border-radius: 20px;
  }
  .case-context strong {
    font-size: 17px;
  }
  .case-narrative,
  .growth-card,
  .writing-feature,
  .ai-feature > div,
  .ai-warning {
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
  }
  .case-detail-grid article,
  .challenge-card,
  .method-grid article,
  .issue-card,
  .aso-grid article,
  .writing-grid article,
  .ai-grid article {
    padding: 20px;
    border-radius: 22px;
  }
  .method-grid article {
    min-height: 0;
  }
  .method-grid h3,
  .aso-grid h3 {
    margin-top: 12px;
  }
  .aso-grid article {
    min-height: 0;
  }
  .writing-grid article {
    min-height: 0;
  }
  .ai-grid article {
    min-height: 0;
  }
  .writing-grid h3 {
    margin-top: 18px;
    font-size: 21px;
  }
  .ai-feature h3 {
    font-size: 24px;
    line-height: 1.12;
  }
  .ai-grid h3 {
    margin-top: 18px;
    font-size: 21px;
  }
  .ai-feature .button {
    width: 100%;
  }
  .issue-grid {
    gap: 12px;
    margin-top: 24px;
  }
  .issue-card h3 {
    font-size: 22px;
  }
  .issue-card p {
    font-size: 15px;
  }
  .challenge-card {
    gap: 12px;
  }
  .challenge-card p {
    margin-bottom: 10px;
  }
  .case-stack span {
    font-size: 12px;
  }
  .hero-panel { grid-template-columns: 86px 1fr; }
  .hero-panel img { width: 86px; height: 86px; }
  .hero-actions {
    display: flex;
    gap: 10px;
  }
  .button {
    width: auto;
    min-height: 42px;
    padding: 0 15px;
    font-size: 14px;
  }
  .project-row { grid-template-columns: 42px minmax(0, 1fr); gap: 0; border-radius: 20px; overflow: hidden; }
  .project-number,
  .personal-section .project-number {
    min-height: auto;
    font-size: 14px;
    padding: 20px 0 0;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.08);
  }
  .personal-section .project-number { border-right: 1px solid rgba(7,7,7,.06); }
  .project-title-row { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; }
  .project-logo { width: 50px; border-radius: 14px; }
  .project-copy { min-width: 0; padding: 16px 14px 20px; }
  .project-copy h3 {
    font-size: clamp(17px, 5vw, 20px);
    line-height: 1.12;
  }
  .project-copy p {
    font-size: 14.5px;
  }
  .project-tags {
    gap: 6px;
  }
  .project-tags span {
    font-size: 11.5px;
    padding: 5px 9px;
  }
  .project-actions a {
    font-size: 12.5px;
    padding: 6px 10px;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }
  .tracker-showcase {
    gap: 20px;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
  }
  .tracker-showcase h3 {
    font-size: 25px;
  }
  .phone-gallery { grid-template-columns: repeat(2, 1fr); }
  .tracker-showcase .phone-gallery {
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 180px);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }
  .tracker-showcase .phone-shot {
    scroll-snap-align: start;
  }
  .screenshot-gallery {
    grid-template-columns: none;
  }
}
@media (max-width: 420px) {
  .section {
    width: min(100% - 24px, 1180px);
    padding: 30px 0;
  }
  .site-header {
    padding: 10px 12px;
  }
  .brand {
    gap: 8px;
  }
  .brand span {
    font-size: 15px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .hero-visual picture {
    width: min(220px, 66vw);
  }
  .hero-visual .hero-proof {
    max-width: 220px !important;
  }
  .hero-proof strong {
    font-size: 13px;
  }
  .hero-proof span {
    font-size: 10px;
  }
  h1,
  .case-page h1 {
    font-size: clamp(27px, 7vw, 32px);
    line-height: 1.1;
  }
  h2,
  .case-page h2 {
    font-size: clamp(22px, 5.8vw, 28px);
  }
  .hero-actions,
  .case-page .hero-actions {
    gap: 8px;
  }
  .button,
  .case-page .button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }
  .growth-card strong {
    font-size: 18px;
    line-height: 1.25;
  }
  .growth-card .button {
    max-width: 100%;
  }
  .writing-feature h3 {
    font-size: 24px;
    line-height: 1.12;
  }
  .hero-panel {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px;
  }
  .hero-panel img {
    margin: 0 auto;
  }
  .project-title-row {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }
  .project-logo {
    width: 50px;
    border-radius: 14px;
  }
  .dark-section {
    width: calc(100% - 16px);
    max-width: calc(100vw - 16px);
    padding: 24px 12px;
    border-radius: 20px;
  }
  .dark-section .eyebrow {
    max-width: 100%;
    white-space: normal;
  }
  .project-list {
    margin-top: 24px;
  }
  .project-row {
    grid-template-columns: 1fr;
  }
  .project-number,
  .personal-section .project-number {
    display: block;
    padding: 12px 14px 0;
    border-right: 0;
    text-align: left;
  }
  .personal-section .project-number {
    border-right: 0;
  }
  .project-title-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
  }
  .project-logo {
    width: 46px;
  }
  .project-copy {
    padding: 12px 14px 18px;
  }
  .project-copy .tag {
    overflow-wrap: anywhere;
  }
  .project-copy strong {
    font-size: 15px;
    line-height: 1.35;
  }
  .case-page .button,
  .button {
    min-width: 0;
  }
}

/* Toolchain Grid and Card styling */
.toolchain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.toolchain-card {
  padding: 30px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 56px rgba(7, 7, 7, 0.04);
}
.toolchain-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.2;
}
.toolchain-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Execution Timeline styling */
.execution-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 34px;
}
.execution-step {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  padding: 34px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(7, 7, 7, 0.05);
}
.step-num {
  font-size: 28px;
  font-weight: 950;
  color: var(--gold);
  border-right: 1px solid rgba(7, 7, 7, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.step-copy h3 {
  font-size: 24px;
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.2;
}
.step-copy p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
}
.step-copy ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-copy li {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.step-copy li strong {
  color: var(--ink);
}

/* Responsive Overrides for Detailed Content elements */
@media (max-width: 720px) {
  .toolchain-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .execution-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }
  .step-num {
    border-right: none;
    border-bottom: 1px solid rgba(7, 7, 7, 0.08);
    padding-bottom: 12px;
    justify-content: flex-start;
    font-size: 24px;
  }
}

/* Insights Grid & Card styling */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
  align-items: stretch;
}
.insight-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 56px rgba(7, 7, 7, 0.04);
  height: 100%;
}
.insight-number {
  color: rgba(7, 7, 7, 0.15);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 18px;
}
.insight-content {
  flex-grow: 1;
  width: 100%;
}
.insight-card .tag {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
}
.insight-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 850;
  color: var(--ink);
}
.insight-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}
.insight-topics {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.insight-topics li {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ink);
  position: relative;
  padding-left: 16px;
}
.insight-topics li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.insight-card .button {
  margin-top: auto;
  width: 100%;
  text-align: center;
}
.insight-actions {
  margin-top: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.insight-actions .button {
  margin-top: 0;
}
.insight-actions .secondary-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-weight: 850;
  color: var(--muted);
}
.insight-actions .secondary-btn:hover {
  background: rgba(7, 7, 7, 0.05);
  color: var(--ink);
}

@media (max-width: 920px) {
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .insight-card {
    padding: 24px;
  }
  .insight-actions {
    grid-template-columns: 1fr;
  }
  .insight-actions .secondary-btn {
    text-align: center;
    width: 100%;
  }
}

/* Back Link & Back Section styling */
.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 24px;
}
.back-link:hover {
  color: var(--ink);
  transform: translateX(-4px);
}
.back-section {
  padding-top: 14px;
  padding-bottom: 34px;
  display: flex;
  justify-content: flex-start;
}
.back-section .button {
  min-width: 0;
  padding: 0 20px;
}

/* About Me Timeline Styles (Recruiter-First Layout) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 40px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(7,7,7,.03);
}
.timeline-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.timeline-date {
  font-size: 13px;
  font-weight: 950;
  color: var(--gold);
  text-transform: uppercase;
}
.timeline-company {
  display: flex;
  align-items: center;
  gap: 14px;
}
.timeline-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.timeline-company h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.2;
}
.timeline-location {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.timeline-tags span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7,7,7,.03);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.timeline-role {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
}
.experience-block p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.experience-bullets {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.experience-bullets li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.experience-bullets li strong {
  color: var(--ink);
  font-weight: 850;
  display: inline !important;
  margin: 0;
}
.experience-quote {
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: rgba(184, 121, 8, 0.04);
}
.experience-quote p {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--muted);
}
.experience-quote strong {
  color: var(--gold);
  font-weight: 900;
  display: inline !important;
}

/* Responsive adjustments for Timeline */
@media (max-width: 920px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px;
  }
  .timeline-meta {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
}

/* ── Lightbox Modal ── */
.lightbox-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 7, 7, 0.93);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}
.lightbox-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  width: min(90vw, 1200px);
  height: min(85vh, 800px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100% - 60px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s var(--motion-ease);
}
.lightbox-modal.is-active .lightbox-img {
  transform: scale(1);
}
.lightbox-caption {
  margin-top: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  text-align: center;
  max-width: 600px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10000;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10000;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-50%) scale(1.05);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* Hide arrows on mobile if it gets too narrow */
@media (max-width: 720px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ==========================================================================
   ── Interactive Device Mockups & Slideshow Styles ──
   ========================================================================== */

/* Device Slider Container */
.device-slider-container {
  position: relative;
  width: 100%;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* Ambient Radial Glow */
.mockup-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 550px);
  height: min(80vw, 550px);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 1s ease, filter 1s ease;
}

/* ── iPhone 15 Pro Vector Mockup ── */
.iphone-mockup {
  position: relative;
  width: 290px;
  height: 600px;
  background: #2b2b2b; /* Titanium frame color */
  border-radius: 46px;
  padding: 3px; /* Titanium rim gap */
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 30px 75px rgba(0, 0, 0, 0.5),
    inset 0 0 3px rgba(255, 255, 255, 0.2);
  z-index: 2;
  transition: transform 0.4s var(--motion-ease), box-shadow 0.4s var(--motion-ease);
  cursor: pointer;
}
.iphone-mockup:hover {
  transform: scale(1.015) translateY(-5px);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.5),
    0 40px 90px rgba(0, 0, 0, 0.6),
    inset 0 0 4px rgba(255, 255, 255, 0.3);
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 43px;
  border: 9px solid #000; /* Deep screen bezel */
  overflow: hidden;
}

/* Hardware Buttons */
.iphone-mockup .iphone-button {
  position: absolute;
  width: 3.5px;
  background: #444;
  border-radius: 2px 0 0 2px;
  left: -3px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.4);
}
.iphone-mockup .iphone-button.volume-up {
  top: 110px;
  height: 42px;
}
.iphone-mockup .iphone-button.volume-down {
  top: 165px;
  height: 42px;
}
.iphone-mockup .iphone-button.power {
  left: auto;
  right: -3.5px;
  top: 130px;
  height: 65px;
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 2px rgba(0,0,0,0.4);
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.12);
}
.iphone-camera {
  width: 6px;
  height: 6px;
  background: #0a0e28;
  border-radius: 50%;
  opacity: 0.65;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.4);
}

/* ── MacBook Pro Vector Mockup ── */
.macbook-mockup {
  position: relative;
  width: min(820px, 90vw);
  margin: 0 auto;
  z-index: 2;
  transition: transform 0.4s var(--motion-ease);
}
.macbook-mockup:hover {
  transform: translateY(-5px);
}
.macbook-lid {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #111;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 2px #2b2b2b;
  overflow: hidden;
  cursor: pointer;
}
.macbook-screen {
  position: absolute;
  inset: 12px 12px 0 12px; /* Uniform bezel */
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: #000;
  border: 1px solid #1a1a1a;
}
.macbook-webcam {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #070717;
  border-radius: 50%;
  z-index: 10;
  opacity: 0.75;
  box-shadow: inset 0 0 1px rgba(255,255,255,0.4);
}
.macbook-base {
  position: relative;
  width: 114%;
  height: 12px;
  left: -7%;
  background: linear-gradient(to bottom, #4a4a4a 0%, #303030 20%, #151515 100%);
  border-radius: 0 0 10px 10px;
  box-shadow: 
    0 12px 25px rgba(0, 0, 0, 0.4),
    0 22px 50px rgba(0, 0, 0, 0.3);
  border-top: 1px solid #5a5a5a;
  z-index: 3;
}
.macbook-base-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #111;
  border-radius: 0 0 5px 5px;
}

/* ── Sliding Track & Inner Slides ── */
.mockup-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0a0a;
}
.mockup-slides-track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(calc(var(--active-index, 0) * -100%), 0, 0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.mockup-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  user-select: none;
}
.mockup-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border: 0 !important;
  border-radius: 0 !important;
  display: block;
}

/* Glass glare reflection shine overlay */
.screen-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 60%);
  z-index: 5;
  pointer-events: none;
}

/* ── Mockup Controls & Captions ── */
.mockup-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  z-index: 4;
}
.mockup-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  user-select: none;
}
.mockup-arrow svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.mockup-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(184, 121, 8, 0.3);
}
.mockup-arrow:active {
  transform: scale(0.95);
}
.mockup-arrow.prev-slide:hover svg {
  transform: translateX(-2px);
}
.mockup-arrow.next-slide:hover svg {
  transform: translateX(2px);
}

.mockup-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 4px 8px;
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mockup-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(243, 201, 77, 0.3);
}

.mockup-caption {
  font-size: 14.5px;
  line-height: 1.6;
  color: #a0aec0;
  text-align: center;
  max-width: 580px;
  margin-top: 14px;
  min-height: 48px; /* reserves height to reduce layout shift */
  font-style: italic;
  padding: 0 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mockup-caption.slide-changing {
  opacity: 0;
  transform: translateY(4px);
}

/* ── Responsive Scaling & Adjustments ── */
@media (max-width: 900px) {
  .macbook-mockup {
    max-width: 560px;
  }
}
@media (max-width: 620px) {
  .macbook-mockup {
    max-width: 440px;
  }
  .iphone-mockup {
    width: 270px;
    height: 560px;
    border-radius: 40px;
  }
  .iphone-screen {
    border-radius: 37px;
    border-width: 7px;
  }
  .iphone-island {
    width: 72px;
    height: 18px;
    top: 10px;
  }
  .iphone-mockup .iphone-button.volume-up {
    top: 95px;
    height: 38px;
  }
  .iphone-mockup .iphone-button.volume-down {
    top: 145px;
    height: 38px;
  }
  .iphone-mockup .iphone-button.power {
    top: 115px;
    height: 55px;
  }
}
@media (max-width: 480px) {
  .macbook-mockup {
    max-width: 320px;
  }
  .iphone-mockup {
    width: 250px;
    height: 520px;
    border-radius: 36px;
  }
  .iphone-screen {
    border-radius: 33px;
    border-width: 6px;
  }
  .iphone-island {
    width: 64px;
    height: 16px;
    top: 8px;
  }
  .device-slider-container {
    margin: 30px auto;
  }
  .mockup-caption {
    font-size: 13.5px;
    min-height: 40px;
  }
}

