/* ═══════════ Development page — extends style.css + career.css ═══════════ */

/* ---------- hero ---------- */
.dev-title {
  letter-spacing: 0.03em;
  font-size: clamp(42px, 7.6vw, 110px);
}

.dev-statement {
  margin: 26px 0 0;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 200;
  line-height: 1.2;
}

.dev-statement .serif {
  color: var(--gold);
  font-size: 1.05em;
}

/* floating product visuals (hero) */
.float-ui {
  position: absolute;
  z-index: 2;
  border: 1px solid oklch(0.95 0.01 90 / 0.18);
  border-radius: 10px;
  background: oklch(0.16 0.005 270 / 0.72);
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 70px oklch(0 0 0 / 0.4);
  padding: 14px;
  pointer-events: none;
  animation: uiFloat var(--f, 7s) ease-in-out infinite;
}

@keyframes uiFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

.fu-dash { top: 18%; right: 8%; width: 200px; --f: 7s; }
.fu-phone { top: 46%; right: 26%; width: 110px; border-radius: 18px; --f: 6s; }
.fu-card { bottom: 16%; right: 10%; width: 170px; --f: 8s; }

.fu-bar { display: flex; gap: 5px; margin-bottom: 12px; }

.fu-bar i {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.95 0.01 90 / 0.3);
}

.fu-stats { display: flex; gap: 8px; margin-bottom: 12px; }

.fu-stats span {
  flex: 1; height: 26px; border-radius: 5px;
  background: oklch(0.95 0.01 90 / 0.1);
}

.fu-graph { color: oklch(0.8 0.06 70 / 0.8); }
.fu-graph svg { width: 100%; height: 34px; }

.fu-notch {
  width: 40px; height: 4px; border-radius: 2px;
  background: oklch(0.95 0.01 90 / 0.25);
  margin: 0 auto 12px;
}

.fu-row {
  height: 7px; border-radius: 4px;
  background: oklch(0.95 0.01 90 / 0.14);
  margin-bottom: 9px;
}

.fu-tile {
  height: 54px; border-radius: 7px;
  background: oklch(0.95 0.01 90 / 0.08);
  border: 1px solid oklch(0.95 0.01 90 / 0.1);
  margin-bottom: 9px;
}

.fu-tile.tall { height: 72px; }

.fu-pill-btn {
  width: 60%; height: 18px; border-radius: 9px;
  background: oklch(0.8 0.06 70 / 0.25);
  border: 1px solid oklch(0.8 0.06 70 / 0.4);
}

/* ---------- 01 · foundation ---------- */
.dev-edu {
  justify-content: center;
  background: radial-gradient(ellipse 900px 700px at 85% 25%, oklch(0.19 0.015 250 / 0.35), transparent 65%);
}

.domain-list { max-width: 420px; justify-self: end; width: 100%; }

.domain {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.domain:last-child { border-bottom: 1px solid var(--hairline); }

.domain-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  width: 18px;
}

/* ---------- 02 · thesis / dashboard ---------- */
.dev-thesis {
  flex-direction: column;
  justify-content: center;
  gap: 60px;
  background: radial-gradient(ellipse 1000px 700px at 15% 75%, oklch(0.18 0.012 200 / 0.35), transparent 65%);
}

.thesis-head { position: relative; z-index: 3; max-width: 860px; width: 100%; }

.thesis-head .ch-body { max-width: 560px; }

.dash {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 64px 1fr;
  width: min(920px, 100%);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background: oklch(0.16 0.004 270);
  box-shadow: 0 50px 110px oklch(0 0 0 / 0.5);
}

.dash-side {
  border-right: 1px solid var(--hairline);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.dash-side i {
  width: 22px; height: 22px; border-radius: 6px;
  background: oklch(0.95 0.01 90 / 0.08);
}

.dash-side i.on { background: oklch(0.8 0.06 70 / 0.35); }

.dash-main { padding: 22px 26px 26px; }

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.dash-search {
  width: 40%; height: 24px; border-radius: 12px;
  background: oklch(0.95 0.01 90 / 0.07);
  border: 1px solid oklch(0.95 0.01 90 / 0.1);
}

.dash-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: oklch(0.8 0.06 70 / 0.4);
}

.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }

.dash-card {
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dc-label { width: 50%; height: 6px; border-radius: 3px; background: oklch(0.95 0.01 90 / 0.14); }
.dc-value { width: 70%; height: 14px; border-radius: 4px; background: oklch(0.95 0.01 90 / 0.22); }

.dash-chart { color: oklch(0.8 0.06 70 / 0.75); margin-bottom: 20px; }
.dash-chart svg { width: 100%; height: 90px; }

.dash-rows { display: flex; flex-direction: column; gap: 10px; }

.dash-rows span {
  height: 12px; border-radius: 4px;
  background: oklch(0.95 0.01 90 / 0.06);
}

.thesis-features {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: min(920px, 100%);
}

.feat-title {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}

.feat-desc {
  font-size: 12.5px;
  line-height: 1.65;
  opacity: 0.55;
  margin: 0;
  font-weight: 300;
}

/* ---------- 03 · professional ---------- */
.dev-pro { min-height: 100vh; min-height: 100dvh; }

/* ---------- 04 · web ---------- */
.dev-web {
  flex-direction: column;
  justify-content: center;
  gap: 70px;
  background: radial-gradient(ellipse 900px 700px at 85% 80%, oklch(0.19 0.015 290 / 0.3), transparent 65%);
}

.web-stage {
  position: relative;
  z-index: 3;
  width: min(880px, 100%);
  display: flex;
  justify-content: center;
  padding-bottom: 40px;
}

.laptop { width: min(620px, 88%); }

.laptop-screen {
  border: 1px solid var(--hairline);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: oklch(0.16 0.004 270);
  padding: 22px 26px;
  box-shadow: 0 50px 110px oklch(0 0 0 / 0.5);
}

.laptop-base {
  height: 14px;
  border: 1px solid var(--hairline);
  border-radius: 0 0 14px 14px;
  background: oklch(0.19 0.005 270);
}

.ls-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.ls-nav span.w20 { width: 20%; height: 8px; border-radius: 4px; background: oklch(0.95 0.01 90 / 0.2); }

.ls-links { display: flex; gap: 10px; }

.ls-links i { width: 26px; height: 6px; border-radius: 3px; background: oklch(0.95 0.01 90 / 0.12); }

.ls-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 0 26px;
}

.ls-headline { width: 55%; height: 16px; border-radius: 5px; background: oklch(0.95 0.01 90 / 0.24); }
.ls-sub { width: 38%; height: 8px; border-radius: 4px; background: oklch(0.95 0.01 90 / 0.12); }

.ls-btn {
  width: 100px; height: 24px; border-radius: 12px;
  background: oklch(0.8 0.06 70 / 0.28);
  border: 1px solid oklch(0.8 0.06 70 / 0.45);
  margin-top: 4px;
}

.ls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.ls-grid span {
  height: 64px; border-radius: 8px;
  background: oklch(0.95 0.01 90 / 0.07);
  border: 1px solid oklch(0.95 0.01 90 / 0.08);
}

.mini-browser {
  position: absolute;
  width: 180px;
  border: 1px solid oklch(0.95 0.01 90 / 0.18);
  border-radius: 10px;
  background: oklch(0.17 0.005 270 / 0.9);
  backdrop-filter: blur(6px);
  padding: 14px;
  box-shadow: 0 30px 70px oklch(0 0 0 / 0.45);
  animation: uiFloat var(--f, 7s) ease-in-out infinite;
}

.mb-1 { left: 2%; top: -8%; --f: 7.5s; }
.mb-2 { right: 2%; bottom: -6%; --f: 6.3s; }

/* ---------- 05 · current project (teaser) ---------- */
.dev-current {
  background: radial-gradient(ellipse 900px 700px at 15% 30%, oklch(0.2 0.02 70 / 0.25), transparent 65%);
}

.status-lines { margin-top: 26px; }

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7 !important;
  margin: 0 0 12px !important;
}

.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: statusPulse 2.4s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.tease-stage { display: flex; justify-content: center; }

.tease-frame {
  position: relative;
  width: clamp(220px, 22vw, 300px);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  overflow: hidden;
  background: oklch(0.16 0.004 270);
  box-shadow: 0 50px 110px oklch(0 0 0 / 0.5);
}

.tease-feed {
  padding: 18px;
  filter: blur(9px);
  opacity: 0.8;
}

.tf-post { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

.tf-ava {
  width: 28px; height: 28px; border-radius: 50%;
  background: oklch(0.8 0.06 70 / 0.4);
  flex-shrink: 0;
}

.tf-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.tf-lines i { height: 7px; border-radius: 4px; background: oklch(0.95 0.01 90 / 0.2); }

.tf-img {
  height: 110px; border-radius: 10px;
  background: linear-gradient(140deg, oklch(0.3 0.04 70 / 0.5), oklch(0.24 0.03 290 / 0.5));
  margin-bottom: 12px;
}

.tf-img.short { height: 70px; }

.w30 { width: 30%; } .w50 { width: 50%; }

.tease-veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, oklch(0.14 0.003 270 / 0.2), oklch(0.14 0.003 270 / 0.55));
}

.tease-word {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  font-weight: 400;
  color: oklch(0.95 0.004 90 / 0.9);
  border: 1px solid oklch(0.95 0.004 90 / 0.3);
  padding: 12px 22px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

/* ---------- 06 · pills ---------- */
.dev-pills { justify-content: center; }

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  max-width: 760px;
  margin-top: 50px;
}

.pill {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: oklch(0.95 0.01 90 / 0.04);
  animation: uiFloat var(--f, 7s) ease-in-out infinite;
  transition: border-color 0.4s, background 0.4s,
              opacity 1s cubic-bezier(0.16,1,0.3,1) var(--d, 0s),
              transform 1s cubic-bezier(0.16,1,0.3,1) var(--d, 0s);
}

.pill:hover {
  border-color: oklch(0.8 0.06 70 / 0.6);
  background: oklch(0.8 0.06 70 / 0.08);
}

/* ---------- final · philosophy ---------- */
.dev-philosophy { min-height: 90vh; min-height: 90dvh; justify-content: center; text-align: center; }

.philosophy-title {
  font-size: clamp(44px, 8vw, 130px);
  text-transform: none;
}

.philosophy-title .serif { font-size: 0.95em; }

/* ═══ legacy classes kept for videography.html ═══ */
.dev-capabilities { justify-content: center; }

.ch-editorial.wide { max-width: 1000px; width: 100%; margin: 0 auto; }

.cap-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: baseline;
  gap: 32px;
  padding: 44px 0;
  border-top: 1px solid var(--hairline);
}

.cap-row:last-of-type { border-bottom: 1px solid var(--hairline); }

.cap-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.cap-title {
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 200;
  margin: 0;
  letter-spacing: 0.01em;
}

.cap-desc {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.6;
  margin: 0;
  font-weight: 300;
  max-width: 380px;
}

.dev-cta { min-height: 80vh; justify-content: center; text-align: center; }

.cta-title {
  font-size: clamp(38px, 6.5vw, 96px);
  text-transform: none;
}

.stack-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(13px, 1.6vw, 18px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 2.1;
  opacity: 0.75;
  margin: 8px 0 0;
  max-width: 720px;
}

/* ---------- responsive & motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .float-ui, .mini-browser, .pill { animation: none; }
  .status-dot { animation: none; opacity: 1; }
}

@media (max-width: 900px) {
  .float-ui { display: none; }

  .dev-statement { font-size: clamp(20px, 5.5vw, 28px); }

  .domain-list { justify-self: stretch; max-width: none; }

  .dash { grid-template-columns: 44px 1fr; }
  .dash-cards { grid-template-columns: 1fr; }

  .thesis-features { grid-template-columns: 1fr; gap: 24px; }

  .mini-browser { display: none; }

  .cap-row { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .cap-desc { max-width: none; }
}

@media (max-width: 480px) {
  .dev-statement { font-size: clamp(18px, 7vw, 24px); }

  .dash-main { padding: 16px 18px 20px; }
  .dash-cards { gap: 10px; }

  .thesis-features { gap: 20px; }

  .tease-frame { width: clamp(180px, 60vw, 240px); }

  .pill { font-size: 12px; padding: 10px 18px; }
  .pill-cloud { gap: 10px 12px; margin-top: 36px; }

  .laptop { width: 100%; }
}
