/* ============================================================
   RESET & TOKENS
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

:root {
  --accent: #fb923c;
  --accent-soft: color-mix(in oklab, var(--accent) 18%, transparent);
  --accent-dim: color-mix(in oklab, var(--accent) 60%, var(--ink));

  --font-display: "Fraunces";
  --font-body: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --bg: #0b0b0c;
  --bg-2: #131315;
  --bg-3: #1a1a1d;
  --ink: #f5f1ea;
  --ink-2: #c8c1b4;
  --ink-3: #8a8478;
  --ink-4: #555049;
  --line: #26252a;
  --line-2: #1f1e22;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --d-section-y: 140px;
  --d-block: 64px;
}

[data-mode="light"] {
  --bg: #f6f3ec;
  --bg-2: #ece8df;
  --bg-3: #ffffff;
  --ink: #14130f;
  --ink-2: #3a3733;
  --ink-3: #6c6962;
  --ink-4: #9b9890;
  --line: #d8d3c7;
  --line-2: #e6e1d4;
}

[data-density="compact"] { --d-section-y: 96px; --d-block: 44px; }
[data-density="spacious"] { --d-section-y: 200px; --d-block: 88px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

.cv-mono { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: -0.01em; }
.cv-accent-text { color: var(--accent); }

/* ============================================================
   APP SHELL
   ============================================================ */
.cv-app {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

.cv-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   NAV
   ============================================================ */
.cv-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, padding .25s ease;
}
.cv-nav.is-scrolled {
  border-bottom-color: var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}

.cv-nav-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.cv-nav-mark-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent);
}
.cv-nav-mark-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
}
.cv-nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.cv-nav-link {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.cv-nav-link:hover { color: var(--ink); }
.cv-nav-link.is-active { color: var(--ink); background: var(--bg-2); }
.cv-nav-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}
.cv-nav-link.is-active .cv-nav-num { color: var(--accent); }

.cv-nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--accent);
  color: #0b0b0c;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.cv-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--accent); }

@media (max-width: 880px) {
  .cv-nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.cv-hero {
  position: relative;
  padding-top: 24px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}

.cv-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-rows: auto 1fr auto;
  gap: 24px 48px;
  grid-template-areas:
    "meta meta"
    "main aside"
    "stats stats";
  align-items: start;
}

.cv-hero-meta { grid-area: meta; }
.cv-hero-main { grid-area: main; align-self: end; }
.cv-hero-aside { grid-area: aside; }
.cv-hero-stats { grid-area: stats; }

@media (max-width: 880px) {
  .cv-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "main"
      "aside"
      "stats";
  }
  .cv-hero-aside { max-width: 320px; }
}

.cv-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.cv-status-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.cv-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.cv-hero-eyebrow span:first-child { color: var(--accent); }

.cv-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
}
.cv-hero-line { display: block; }
.cv-hero-line-2 {
  font-style: normal;
  font-weight: 300;
  margin-left: clamp(20px, 6vw, 80px);
  color: var(--ink);
}
.cv-hero-period { color: var(--accent); }

.cv-hero-tagline {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 36px;
  text-wrap: pretty;
}

.cv-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.cv-btn-primary { background: var(--accent); color: #0b0b0c; }
.cv-btn-primary:hover { transform: translateY(-2px); }
.cv-btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.cv-btn-ghost:hover { border-color: var(--ink); }
.cv-btn-arrow { transition: transform .25s; }
.cv-btn:hover .cv-btn-arrow { transform: translateX(3px); }

/* portrait card */
.cv-portrait {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cv-portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cv-portrait-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-3);
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 12px,
      var(--line-2) 12px,
      var(--line-2) 13px
    );
}
[data-monogram="off"] .cv-portrait-mono { display: none; }
.cv-portrait-mono {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 84px;
  line-height: 1;
  color: var(--ink-2);
  letter-spacing: -0.04em;
}
.cv-portrait-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
}
.cv-portrait-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}
.cv-portrait-corner-tl { top: 8px; left: 8px; border-top-width: 1.5px; border-left-width: 1.5px; }
.cv-portrait-corner-tr { top: 8px; right: 8px; border-top-width: 1.5px; border-right-width: 1.5px; }
.cv-portrait-corner-bl { bottom: 8px; left: 8px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.cv-portrait-corner-br { bottom: 8px; right: 8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.cv-portrait-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
}
.cv-portrait-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.cv-portrait-meta-row > span:first-child { color: var(--ink-3); }
.cv-portrait-meta-row > span:last-child { color: var(--ink); }

/* stats */
.cv-hero-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
@media (max-width: 720px) {
  .cv-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
.cv-stat-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cv-stat-label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* marquee */
.cv-marquee {
  margin-top: 64px;
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.cv-marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 50s linear infinite;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-3);
}
.cv-marquee-content {
  display: flex;
  gap: 32px;
}
@keyframes marquee {
  to { transform: translateX(calc(-100% / 3)); }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.cv-section {
  padding-top: var(--d-section-y);
  padding-bottom: var(--d-block);
  border-bottom: 1px solid var(--line);
}
.cv-section:last-of-type { border-bottom: none; }

.cv-section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: baseline;
  margin-bottom: var(--d-block);
}
@media (max-width: 720px) {
  .cv-section-head { grid-template-columns: 1fr; gap: 12px; }
}
.cv-section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  position: sticky;
  top: 80px;
  align-self: start;
}
.cv-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.cv-section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

/* ============================================================
   SUMMARY
   ============================================================ */
.cv-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px 48px;
}
@media (max-width: 720px) { .cv-summary { grid-template-columns: 1fr; } }
.cv-summary-lead {
  grid-column: 2;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: pretty;
  max-width: 28ch;
}
.cv-summary-body {
  grid-column: 2;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 48px;
  max-width: 60ch;
  text-wrap: pretty;
}
.cv-summary-pillars {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
@media (max-width: 720px) { .cv-summary-pillars { grid-template-columns: 1fr; } }
.cv-pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}
.cv-pillar-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--ink);
}
.cv-pillar-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  text-wrap: pretty;
}

/* ============================================================
   EXPERIENCE
   ============================================================ */
.cv-timeline {
  display: flex;
  flex-direction: column;
}
.cv-job {
  border-top: 1px solid var(--line);
}
.cv-job:last-child { border-bottom: 1px solid var(--line); }

.cv-job-head {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  gap: 16px;
  align-items: start;
  width: 100%;
  padding: 28px 0;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--ink);
  transition: padding-left .25s ease;
}
.cv-job-head:hover { padding-left: 8px; }

.cv-job-rail {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.cv-job-marker {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-3);
  background: var(--bg);
}
.cv-job-marker.is-current {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.cv-job-row1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.cv-job-company {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cv-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: 0.04em;
}
.cv-job-role {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}
.cv-job-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  gap: 8px;
}
.cv-job-meta-sep { opacity: 0.4; }

.cv-job-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--ink-3);
  transition: color .2s;
  padding-top: 4px;
}
.cv-job.is-open .cv-job-toggle { color: var(--accent); }

.cv-job-body {
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
}
.cv-job-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0 64px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 720px) {
  .cv-job-bullets { padding: 0 0 0 0; }
}
.cv-bullet {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
@media (max-width: 720px) {
  .cv-bullet { grid-template-columns: 1fr; gap: 4px; }
}
.cv-bullet-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.cv-bullet-text { text-wrap: pretty; }

/* ============================================================
   PROJECTS
   ============================================================ */
.cv-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .cv-projects { grid-template-columns: 1fr; } }

.cv-project {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 32px 28px;
  background: var(--bg);
  transition: background .25s;
  position: relative;
}
.cv-project:hover { background: var(--bg-2); }
.cv-project::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 2px solid transparent;
  transition: border-color .25s;
  pointer-events: none;
}
.cv-project:hover::before { border-bottom-color: var(--accent); }

.cv-project-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  padding-top: 6px;
}
.cv-project-kind {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.cv-project-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.cv-project-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.cv-project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.cv-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
  background: var(--bg-2);
}
.cv-project:hover .cv-tag { border-color: var(--line-2); }
.cv-project-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.cv-project-metric-arrow { color: var(--accent); }

/* ============================================================
   SKILLS
   ============================================================ */
.cv-skills {
  display: flex;
  flex-direction: column;
}
.cv-skill-group {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.cv-skill-group:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 720px) {
  .cv-skill-group { grid-template-columns: 1fr; gap: 12px; }
}
.cv-skill-cat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
}
.cv-skill-cat-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-style: normal;
}
.cv-skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cv-skill-item {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  transition: border-color .2s, color .2s, background .2s;
  cursor: default;
}
.cv-skill-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ============================================================
   EDU + LANGUAGES
   ============================================================ */
.cv-edulang {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
@media (max-width: 720px) { .cv-edulang { grid-template-columns: 1fr; gap: 40px; } }

.cv-sub-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cv-edu-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}
.cv-edu-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  padding-top: 4px;
}
.cv-edu-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
}
.cv-edu-org {
  font-size: 14px;
  color: var(--ink-3);
}

.cv-lang-item {
  margin-bottom: 28px;
}
.cv-lang-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.cv-lang-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.cv-lang-level {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.cv-lang-bar {
  height: 4px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.cv-lang-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  transition: width .8s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   CONTACT
   ============================================================ */
.cv-contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) { .cv-contact { grid-template-columns: 1fr; gap: 40px; } }

.cv-contact-lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: pretty;
}

.cv-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.cv-channel {
  display: grid;
  grid-template-columns: 130px 1fr 24px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .2s;
}
.cv-channel:not(.cv-channel-static):hover { padding-left: 8px; }
.cv-channel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cv-channel-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
}
.cv-channel-arrow {
  font-family: var(--font-mono);
  color: var(--ink-3);
  text-align: right;
  transition: color .2s, transform .2s;
}
.cv-channel:not(.cv-channel-static):hover .cv-channel-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* form */
.cv-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cv-form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
}
.cv-form-tag { color: var(--accent); letter-spacing: 0.06em; }
.cv-form-status { color: var(--ink-3); }

.cv-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cv-field-full { grid-column: 1 / -1; }

.cv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color .2s, background .2s;
  cursor: text;
}
.cv-field.is-focused { border-color: var(--accent); }
.cv-field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cv-field input,
.cv-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  width: 100%;
  resize: vertical;
  padding: 0;
  line-height: 1.5;
}
.cv-field textarea { min-height: 100px; }

.cv-btn-submit { align-self: flex-start; }

/* ============================================================
   FOOTER
   ============================================================ */
.cv-footer {
  border-top: 1px solid var(--line);
  padding: 32px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.cv-footer-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.cv-footer-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.cv-footer-mono {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent);
}
.cv-footer-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
}
.cv-footer-meta {
  display: flex;
  gap: 8px;
}
.cv-footer-back a { color: var(--ink-3); transition: color .2s; }
.cv-footer-back a:hover { color: var(--accent); }
@media (max-width: 720px) {
  .cv-footer-grid { flex-wrap: wrap; }
}

/* ============================================================
   TWEAKS PANEL CUSTOM
   ============================================================ */
.tweak-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.tweak-swatch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: transparent;
  border: 1px solid var(--line, #333);
  border-radius: 4px;
  font-size: 11px;
  color: var(--ink-2, #ccc);
  transition: border-color .2s, background .2s;
}
.tweak-swatch.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--ink, #fff); }
.tweak-swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sw);
  flex-shrink: 0;
}
