/* ================================================================
 *  pengfei.ink · landing v3 (deep-dive)
 *  – No Three.js. Each core product gets its own pinned narrative.
 * ================================================================ */
:root {
  --bg: #f5f5f7;
  --bg-2: #ececf0;
  --bg-elev: #ffffff;
  --bg-tint: #eef0f3;
  --text: #1d1d1f;
  --text-2: #424247;
  --text-3: #6e6e73;
  --text-4: #a1a1a6;
  --border: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.14);
  --accent: #0071e3;
  --accent-soft: rgba(0,113,227,0.10);
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.08), 0 20px 60px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 36px rgba(0,0,0,0.12), 0 40px 100px rgba(0,0,0,0.14);
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Menlo", monospace;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.mono { font-family: var(--mono); }
code { font-family: var(--mono); font-size: 0.92em; background: rgba(0,0,0,0.05); padding: 1px 5px; border-radius: 4px; }

/* ---- Scrollbar ---- */
html { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.22) transparent; }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: transparent; }
body::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
body::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.35); }

/* ---- Scroll progress ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 100; pointer-events: none;
}
#sp-bar {
  display: block; height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0071e3 0%, #af52de 50%, #ff2d55 100%);
  box-shadow: 0 0 12px rgba(0,113,227,0.45);
}

/* ---- Glass utilities ---- */
.glass {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 10px 32px rgba(31,38,135,0.10);
}
.glass-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}

/* ====================== NAV ====================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(245,245,247,0.62);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0a0a0a, #2a2a2e);
  position: relative;
}
.brand-mark::after {
  content: "P";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px;
  font-family: var(--font-display);
}
.brand-name { font-weight: 600; letter-spacing: -0.01em; font-size: 16px; }
.nav-links {
  display: inline-flex; gap: 28px;
  font-size: 13.5px;
  color: var(--text-2);
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links { gap: 16px; font-size: 12.5px; } }

/* ====================== HERO ====================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 28px 80px;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  position: absolute; inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 35%, transparent 80%);
}
.hero-blobs {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.hero-blobs span {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.42;
}
.hero-blobs .b1 { width: 540px; height: 540px; left: -130px; top: -80px; background: radial-gradient(circle, #0071e3, transparent 70%); }
.hero-blobs .b2 { width: 480px; height: 480px; right: -120px; top: 12%; background: radial-gradient(circle, #ff2d55, transparent 70%); }
.hero-blobs .b3 { width: 460px; height: 460px; left: 28%; bottom: -120px; background: radial-gradient(circle, #34c759, transparent 70%); }

.hero-inner { position: relative; z-index: 2; max-width: 920px; text-align: center; }
.eyebrow.glass {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52,199,89,0.20);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 28px;
}
.hero-title .line { display: block; }
.hero-title .accent {
  background: linear-gradient(120deg, #0071e3, #af52de, #ff2d55);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-2);
  margin: 0 auto 34px;
  max-width: 640px;
  line-height: 1.65;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  border: 0;
  transition: transform .12s var(--ease), background .15s, box-shadow .15s;
}
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--text); color: var(--bg-elev); }
.btn.primary:hover { background: #000; box-shadow: var(--shadow-md); }
.btn.ghost {
  background: rgba(255,255,255,0.75);
  color: var(--text);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(14px);
}
.btn.ghost:hover { background: #fff; }

/* Hero floating domain tags */
.hero-tags {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.ht-tag {
  position: absolute; left: 50%; top: 50%;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  opacity: 0.85;
  animation: float-tag 6s ease-in-out infinite;
}
.ht-tag.t-music  { animation-delay: -0.8s; }
.ht-tag.t-mmusic { animation-delay: -1.4s; }
.ht-tag.t-novel  { animation-delay: -2.0s; }
.ht-tag.t-api    { animation-delay: -2.6s; }
.ht-tag.t-mail   { animation-delay: -3.4s; }
@keyframes float-tag {
  0%,100% { translate: 0 0; }
  50%     { translate: 0 -12px; }
}
@media (max-width: 880px) { .hero-tags { display: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--text-4);
  border-radius: 14px;
  display: grid; place-items: start center;
  padding-top: 8px; opacity: 0.5;
  z-index: 2;
}
.scroll-cue span {
  width: 3px; height: 8px;
  background: var(--text-3);
  border-radius: 2px;
  animation: scrollCue 1.6s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================================
 *  DEEP-DIVE — sticky pinned product narratives
 * ============================================================ */
.deep {
  position: relative;
  background: var(--bg);
}
.deep.alt {
  background: linear-gradient(180deg, var(--bg) 0%, #eaeaef 50%, var(--bg) 100%);
}
.deep-runway { height: 360vh; position: relative; }
.deep-runway.runway-3 { height: 280vh; } /* 3-step product */
.deep-pin {
  position: sticky; top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 50px;
  padding: 80px 7vw 40px;
  overflow: hidden;
}

/* ---- Left text column ---- */
.dp-text {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column;
  gap: 14px;
}
.dp-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-4);
  letter-spacing: 0.16em;
}
.dp-kicker {
  display: inline-block; align-self: flex-start;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
}
.mark-auth-bg  { background: linear-gradient(135deg, #0a0a0a, #2a2a2e); }
.mark-music-bg { background: linear-gradient(135deg, #ff2d55, #af52de); }
.mark-novel-bg { background: linear-gradient(135deg, #0a66ff, #6f53fb); }
.mark-nav-bg   { background: linear-gradient(135deg, #34c759, #007aff); }

.dp-text h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 60px);
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 4px 0 2px;
  line-height: 1.05;
}
.dp-domain {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 14px;
}

.step-list {
  list-style: none; padding: 0; margin: 4px 0 24px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.step {
  padding: 16px 18px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  opacity: 0.42;
  transition: opacity .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.step.active {
  opacity: 1;
  background: #fff;
  border-color: var(--text);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.step .s-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 15.5px; font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.step .s-no {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--bg-tint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
}
.step.active .s-no { background: var(--text); color: #fff; }
.step p {
  margin: 0; font-size: 13.5px; color: var(--text-2);
  line-height: 1.55;
}

.visit-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px;
  background: var(--text); color: #fff;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  transition: background .15s, transform .1s;
}
.visit-btn:hover { background: #000; }
.visit-btn:active { transform: scale(0.97); }
.visit-btn .arr { transition: transform .2s var(--ease); }
.visit-btn:hover .arr { transform: translateX(4px); }

/* ---- Right visual column ---- */
.dp-viz {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
}
.device {
  position: relative;
  width: 100%;
  max-width: 720px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: transform .5s var(--ease);
}
.device.window.dark { background: #0a0a0a; border-color: rgba(255,255,255,0.06); }
.title-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.04);
  border-bottom: 1px solid var(--border);
}
.device.dark .title-bar { background: rgba(255,255,255,0.03); border-bottom-color: rgba(255,255,255,0.06); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.addr {
  flex: 1; text-align: center;
  font-family: var(--mono); font-size: 12.5px;
  color: var(--text-3);
  background: rgba(0,0,0,0.04);
  padding: 4px 14px;
  border-radius: 999px;
  max-width: 360px; margin: 0 auto;
}
.device.dark .addr {
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
}
.device > img {
  display: block;
  width: 100%; height: auto;
  max-height: 62vh;
  object-fit: cover; object-position: top center;
}

/* Dual layout — PC + phone overlap */
.dp-viz.dual {
  align-items: stretch;
  justify-content: center;
}
.dp-viz.dual .window {
  max-width: 100%;
}
.dp-viz.dual .device.phone {
  position: absolute;
  right: 0; bottom: 4%;
  width: 22%;
  max-width: 200px;
  padding: 8px;
  background: #0a0a0a;
  border-radius: 28px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.06);
  transform: rotate(4deg);
  transition: transform .6s var(--ease);
}
.dp-viz.dual .device.phone:hover { transform: rotate(0); }
.dp-viz.dual .device.phone .notch {
  position: absolute; left: 50%; top: 12px;
  transform: translateX(-50%);
  width: 56px; height: 14px;
  background: #0a0a0a;
  border-radius: 8px;
  z-index: 2;
}
.dp-viz.dual .device.phone img {
  display: block;
  width: 100%; border-radius: 20px;
  height: auto; max-height: 50vh;
  object-fit: cover; object-position: top center;
}

/* ---- Callouts overlaid on the screenshot ---- */
.callouts {
  position: absolute; inset: 0;
  pointer-events: none;
}
.callout {
  position: absolute;
  width: 16px; height: 16px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.callout.active { opacity: 1; transform: scale(1); }
.callout .ring {
  position: absolute;
  left: 0; top: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.30), 0 0 0 8px rgba(0,113,227,0.15);
}
.callout .ring::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: ringPulse 1.8s var(--ease) infinite;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}
.callout .cl-card {
  position: absolute;
  left: 22px; top: -10px;
  width: 260px;
  padding: 12px 14px;
  border-radius: 12px;
  pointer-events: none;
}
.callout.c-tr .cl-card,
.callout.c-br .cl-card { left: auto; right: 22px; }
.cl-tag {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cl-t {
  font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.cl-d {
  font-size: 12.5px; color: var(--text-3);
  line-height: 1.5;
}

.dp-dots {
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  gap: 8px;
}
.dp-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-2);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.dp-dots .dot.active {
  background: var(--text);
  transform: scale(1.4);
}

@media (max-width: 980px) {
  .deep-runway { height: auto; }
  .deep-runway.runway-3 { height: auto; }
  .deep-pin {
    position: static; height: auto;
    grid-template-columns: 1fr;
    padding: 80px 24px;
    gap: 32px;
  }
  .step { opacity: 1; }
  .step.active { transform: none; }
  .dp-dots { display: none; }
  .callout { opacity: 1 !important; transform: scale(1) !important; }
}

/* ============================================================
 *  MORE PRODUCTS · simple, dense, glass cards
 * ============================================================ */
.section {
  padding: 120px 28px;
  position: relative;
}
.section.dark { background: #0a0a0a; color: #f5f5f7; }
.section.dark .sec-head h2 { color: #fff; }
.section.dark .sec-head p { color: #a1a1a6; }
.section.dark .kicker { color: var(--accent); }
.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.kicker {
  font-size: 12.5px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.sec-head p {
  font-size: 16.5px;
  color: var(--text-3);
  margin: 0;
}

.more-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.more-grid.two {
  max-width: 900px;
  grid-template-columns: repeat(2, 1fr);
}
.more-card.glass {
  padding: 30px 26px;
  border-radius: var(--r-xl);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
  gap: 8px;
  opacity: 0; transform: translateY(20px);
}
.more-card.glass.reveal { opacity: 1; transform: translateY(0); }
.more-card.glass:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mc-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.mc-mark svg { width: 20px; height: 20px; }
.mark-api    { background: linear-gradient(135deg, #ff9500, #ff375f); }
.mark-xs     { background: linear-gradient(135deg, #5e5ce6, #007aff); }
.mark-mail   { background: linear-gradient(135deg, #1d1d1f, #6e6e73); }
.mc-domain { font-size: 12.5px; color: var(--text-3); }
.more-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2px 0;
}
.more-card p {
  font-size: 14px; color: var(--text-2);
  margin: 4px 0 14px;
  line-height: 1.55;
}
.mc-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mc-pills span {
  font-size: 11.5px;
  padding: 4px 10px;
  background: var(--bg-tint);
  border-radius: 999px;
  color: var(--text-3);
}

@media (max-width: 880px) { .more-grid { grid-template-columns: 1fr; } }

/* ============================================================
 *  TECH NOTES · dark section, restrained narrative list
 *  (replaces the old card-grid that looked busy)
 * ============================================================ */
.tech-list {
  list-style: none;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  display: flex; flex-direction: column;
}
.tech-list > li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.tech-list > li.reveal { opacity: 1; transform: translateY(0); }
.tech-list > li:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.tl-no {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.16em;
  padding-top: 6px;
}
.tl-body h4 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.3;
}
.tl-body p {
  font-size: 15px;
  color: #c7c7d1;
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}
.tl-body code {
  background: rgba(255,255,255,0.07);
  color: #e5e5ea;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}
@media (max-width: 720px) {
  .tech-list > li { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
}

/* Old tech-grid kept (just in case) but unused now. */
.tech-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .tech-grid { grid-template-columns: 1fr; } }

.tech-card {
  position: relative;
  padding: 28px 26px 22px;
  border-radius: 18px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  display: flex; flex-direction: column;
}
.tech-card.reveal { opacity: 1; transform: translateY(0); }
.tc-no {
  position: absolute;
  top: 18px; right: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.32);
}
.tech-card h4 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.005em;
  color: #fff;
  margin: 8px 60px 12px 0;
  line-height: 1.35;
}
.tech-card p {
  font-size: 14px;
  color: #c7c7d1;
  line-height: 1.6;
  margin: 0 0 16px;
}
.tech-card code {
  background: rgba(255,255,255,0.07);
  color: #e5e5ea;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
}
.tc-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.tc-tags span {
  font-size: 11px;
  padding: 4px 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: #c7c7d1;
}

/* ============================================================
 *  CONTACT + FOOTER
 * ============================================================ */
.contact { padding-bottom: 60px; }
.contact-card.glass {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 36px;
  border-radius: var(--r-xl);
}
.contact-card h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.contact-card p { color: var(--text-2); margin: 0 0 22px; }
.contact-card p a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.contact-card p a:hover { border-color: var(--accent); }
.contact-row { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  padding: 8px 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-2);
  transition: background .15s, color .15s;
  backdrop-filter: blur(12px);
}
.chip:hover { background: var(--text); color: var(--bg-elev); border-color: transparent; }
.footer {
  padding: 32px 28px 48px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-4);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
}
.ft-line {}

/* ---- Animation initial states ---- */
[data-anim] { opacity: 0; }

/* ---- Keyboard focus ring (a11y) ---- */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Respect reduced-motion: kill scroll-jacking + ambient motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}
