/* Songa-informed portfolio system
   Clean · organized · advanced without being loud
   Inspired by Songa Labs visual language */

:root {
  --warm-white: #faf8f5;
  --charcoal: #0f1115;
  --soft-stone: #e8e5e0;
  --signal-blue: #2563ff;
  --muted-silver: #d7dbe0;
  --line: color-mix(in srgb, var(--charcoal) 14%, transparent);
  --line-soft: color-mix(in srgb, var(--charcoal) 8%, transparent);
  --ink-soft: color-mix(in srgb, var(--charcoal) 64%, transparent);
  --ink-faint: color-mix(in srgb, var(--charcoal) 48%, transparent);
  --card: rgba(250, 248, 245, .72);
  --card-solid: #fffcf8;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow: 0 22px 70px rgba(15, 17, 21, .08), 0 2px 12px rgba(15, 17, 21, .06);
  --shadow-soft: 0 16px 55px rgba(15, 17, 21, .045);
  --max: 1180px;
  --gutter: clamp(18px, 3vw, 36px);
  --header-h: 72px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--warm-white);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(circle at 64% 12%, rgba(215, 219, 224, .30), transparent 32%),
    linear-gradient(180deg, #fffdfa 0%, var(--warm-white) 52%, #f6f3ee 100%);
  color: var(--charcoal);
  letter-spacing: -.02em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible {
  outline: 2px solid var(--signal-blue);
  outline-offset: 3px;
}
::selection {
  background: color-mix(in srgb, var(--signal-blue) 22%, white);
  color: var(--charcoal);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap,
.shell {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(250, 248, 245, .88);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 560;
  font-size: 15px;
  letter-spacing: -.035em;
  min-width: 120px;
}
.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--signal-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal-blue) 16%, transparent);
}
.brand small {
  display: none;
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  font-size: 13px;
  letter-spacing: -.015em;
}
.nav-links a {
  color: color-mix(in srgb, var(--charcoal) 72%, transparent);
  transition: color .18s ease;
  padding: 8px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--charcoal); }
.nav-links a.active {
  box-shadow: inset 0 -2px 0 var(--signal-blue);
}
.nav-cta,
.button,
.btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--charcoal) 22%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.02em;
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.nav-cta:hover,
.button:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15,17,21,.08);
}
/* variants — more specific, always win over base .btn */
.nav-cta,
.button.primary,
.btn.btn-primary,
.btn-primary {
  background: var(--charcoal);
  color: var(--warm-white);
  border-color: var(--charcoal);
}
.button.ghost,
.btn.btn-ghost,
.btn-ghost {
  background: rgba(255, 255, 255, .78);
  color: var(--charcoal);
  border-color: color-mix(in srgb, var(--charcoal) 18%, transparent);
}
.btn.btn-signal,
.btn-signal,
.btn.btn-accent,
.btn-accent {
  background: var(--signal-blue);
  color: #fff;
  border-color: var(--signal-blue);
}
.nav-cta:hover,
.btn.btn-primary:hover,
.btn-primary:hover {
  background: #1a1f28;
  color: #fff;
}
.btn.btn-signal:hover,
.btn-signal:hover,
.btn.btn-accent:hover,
.btn-accent:hover {
  background: #1f54e0;
  color: #fff;
  border-color: #1f54e0;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--charcoal) 18%, transparent);
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  font-size: 18px;
}
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(var(--header-h) + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fffcf8;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 8px;
  }
  .nav.open .nav-links a {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(var(--header-h) + 250px);
  }
}

/* Type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--signal-blue);
}
h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.02;
  text-wrap: pretty;
}
h1 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -.06em;
  line-height: .98;
  max-width: 16ch;
}
h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -.05em;
}
h3 {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.04em;
}
.lede,
.muted {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.45;
  letter-spacing: -.025em;
  max-width: 54ch;
}
.page-hero .lede { margin-top: 14px; max-width: 58ch; }

/* Layout */
.hero {
  padding: clamp(28px, 4vw, 48px) 0 28px;
  display: grid;
  gap: 22px;
}
.hero-card,
.card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(250, 248, 245, .72);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.hero-card {
  min-height: min(560px, calc(100svh - 140px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  background:
    linear-gradient(135deg, rgba(255,255,255,.74), rgba(250,248,245,.72)),
    var(--warm-white);
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}
.hero-copy {
  padding: clamp(28px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.hero-side {
  padding: clamp(22px, 3vw, 36px);
  border-left: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(37,99,255,.04), transparent 40%),
    rgba(255,255,255,.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 900px) {
  .hero-side { border-left: 0; border-top: 1px solid var(--line-soft); }
}
.actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

section { padding: 28px 0 8px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 18px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.section-head p {
  margin: 0;
  max-width: 36ch;
  text-align: right;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head p { text-align: left; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.panel-pad,
.panel { padding: 0; }
.card > .panel,
.panel > .panel-pad,
.work-body,
.hero-side,
.chat-head,
.chat-form,
.chat-hints { }
.card .panel,
div.panel {
  padding: clamp(22px, 3vw, 34px);
}
.panel p { margin: 0 0 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.panel p:last-child { margin-bottom: 0; }
.panel h3 { margin: 0 0 10px; }

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.meta-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.4;
}
.meta-list li:first-child { border-top: 0; padding-top: 0; }
.meta-list span {
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding-top: 2px;
}
.hero-side h2 {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Work cards */
.work-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
  background: rgba(255,252,248,.8);
}
a.work-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.work-visual {
  min-height: 220px;
  padding: 18px 18px 0;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  background:
    linear-gradient(180deg, #f4f2ed 0%, #ebe7e0 100%);
  border-bottom: 1px solid var(--line-soft);
}
.phone-frame,
.phone {
  width: min(44%, 140px);
  border-radius: 18px 18px 0 0;
  border: 1px solid color-mix(in srgb, var(--charcoal) 12%, transparent);
  background: #111;
  box-shadow: 0 14px 34px rgba(15,17,21,.12);
  overflow: hidden;
}
.phone-frame:nth-child(2),
.phone:nth-child(2) {
  width: min(50%, 156px);
  transform: translateY(6px);
}
.phone-frame img,
.phone img,
.work-visual img.phone { width: 100%; height: auto; }
.work-body {
  padding: 20px 20px 22px;
  display: grid;
  gap: 8px;
}
.tag {
  width: fit-content;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--signal-blue);
  background: color-mix(in srgb, var(--signal-blue) 10%, white);
  border: 1px solid color-mix(in srgb, var(--signal-blue) 16%, transparent);
  border-radius: 999px;
  padding: 5px 9px;
}
.work-body h3 { font-size: 22px; }
.work-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}
.cta {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cta::after { content: "→"; color: var(--signal-blue); }

/* Case pages */
.page-hero { padding: clamp(28px, 4vw, 44px) 0 10px; }
.page-hero h1 { max-width: 18ch; }
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 760px) { .shots { grid-template-columns: 1fr 1fr; } }
.shots figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: white;
}
.shots img { width: 100%; height: auto; object-fit: cover; object-position: top; }
.shots figcaption {
  padding: 10px 12px 12px;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: -.01em;
}
.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: dec;
}
@media (max-width: 860px) { .decision-grid { grid-template-columns: 1fr; } }
.decision {
  padding: 20px 20px 22px;
  counter-increment: dec;
  background: rgba(255,252,248,.84);
}
.decision strong {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: -.03em;
}
.decision strong::before {
  content: counter(dec, decimal-leading-zero);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  color: var(--signal-blue);
  background: color-mix(in srgb, var(--signal-blue) 10%, white);
  border: 1px solid color-mix(in srgb, var(--signal-blue) 14%, transparent);
  border-radius: 8px;
  padding: 4px 6px;
  line-height: 1;
  margin-top: 2px;
}
.decision p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 560;
  color: color-mix(in srgb, var(--charcoal) 78%, transparent);
}

.feature-band {
  margin: 8px 0 10px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--signal-blue) 6%, transparent), transparent 42%),
    rgba(255,252,248,.8);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 800px) { .feature-band { grid-template-columns: 1fr; } }
.kicker {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
  font-weight: 600;
}
.feature-band h3 { margin-bottom: 8px; }
.feature-band .lede { font-size: 15px; }

/* Service / overview strip */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  margin: 8px 0 8px;
  background: rgba(255,255,255,.4);
}
.strip span {
  padding: 16px 14px;
  text-align: center;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-right: 1px solid var(--line-soft);
}
.strip span:last-child { border-right: 0; }
@media (max-width: 720px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip span:nth-child(2) { border-right: 0; }
  .strip span:nth-child(1),
  .strip span:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
}

/* System tokens */
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 800px) { .token-grid { grid-template-columns: 1fr 1fr; } }
.swatch {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: white;
}
.swatch-chip { height: 68px; }
.swatch-meta { padding: 12px 14px; }
.swatch-meta strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.swatch-meta span { font-size: 12px; color: var(--ink-faint); }

/* Chat */
.chat-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  min-height: 48px;
  padding: 0 16px 0 12px;
  border: 1px solid color-mix(in srgb, var(--charcoal) 18%, transparent);
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--warm-white);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.chat-fab i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--signal-blue);
  color: white;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}
.chat-panel {
  position: fixed;
  right: 16px;
  bottom: 76px;
  z-index: 50;
  width: min(400px, calc(100vw - 24px));
  height: min(580px, calc(100vh - 100px));
  display: none;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fffcf8;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(250,248,245,.95);
}
.chat-head strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.03em;
}
.chat-head span {
  display: block;
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 12px;
}
.chat-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.chat-log {
  flex: 1;
  overflow: auto;
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.msg {
  max-width: 92%;
  padding: 11px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  letter-spacing: -.015em;
}
.msg.bot {
  background: #f3f1ec;
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 5px;
}
.msg.user {
  margin-left: auto;
  background: var(--charcoal);
  color: var(--warm-white);
  border-bottom-right-radius: 5px;
}
.msg.sys {
  background: transparent;
  color: var(--ink-faint);
  font-size: 12px;
  padding: 2px 2px;
}
.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-height: 14px;
}
.typing i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--ink-faint);
  animation: bounce 1s infinite ease-in-out;
  font-style: normal;
}
.typing i:nth-child(2) { animation-delay: .12s; }
.typing i:nth-child(3) { animation-delay: .24s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-2px); opacity: 1; }
}
.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line-soft);
  background: rgba(250,248,245,.9);
}
.chat-form input {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: white;
  font-size: 14px;
}
.chat-form button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--charcoal);
  padding: 0 16px;
  background: var(--charcoal);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.chat-form button:hover {
  background: #1a1f28;
}
.chat-form button:disabled { opacity: .55; cursor: wait; }
.chat-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 12px;
}
.chat-hints button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
  color: var(--ink-soft);
}
.chat-hints button:hover {
  border-color: color-mix(in srgb, var(--signal-blue) 30%, var(--line));
  color: var(--charcoal);
}

.ask-layout {
  display: grid;
  grid-template-columns: .9fr 1.15fr;
  gap: 18px;
  padding-bottom: 36px;
}
@media (max-width: 900px) { .ask-layout { grid-template-columns: 1fr; } }
.ask-box {
  min-height: min(680px, 76vh);
  display: flex;
  flex-direction: column;
  background: #fffcf8;
}
.ask-box .chat-log { flex: 1; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggest button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
}
.suggest button:hover {
  border-color: color-mix(in srgb, var(--signal-blue) 35%, var(--line));
}

/* Footer */
.site-footer {
  margin-top: 48px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 13px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
}
.site-footer a {
  color: var(--charcoal);
  font-weight: 560;
}
.site-footer a:hover { color: var(--signal-blue); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* clean-songa-1784564283 */

/* ===================== CV page ===================== */
.cv-page {
  padding: 28px 0 48px;
}
.cv-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.cv-sheet {
  width: min(820px, 100%);
  margin: 0 auto;
  background: #fffcf8;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 4vw, 44px);
}
.cv-sheet header.cv-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.cv-sheet h1 {
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -.05em;
  font-weight: 560;
  max-width: none;
  margin: 0 0 6px;
}
.cv-role {
  margin: 0 0 10px;
  color: var(--signal-blue);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.01em;
}
.cv-contact {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.cv-contact a {
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
}
.cv-summary {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  max-width: 68ch;
  letter-spacing: -.02em;
}
.cv-sheet h2 {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 650;
  margin: 22px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.cv-item { margin: 0 0 16px; }
.cv-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}
.cv-sheet h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.03em;
  margin: 0;
}
.cv-meta {
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.4;
}
.cv-sheet ul {
  margin: 8px 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}
.cv-sheet li { margin: 4px 0; }
.cv-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.cv-skills .chip {
  background: white;
  border-color: var(--line);
  color: color-mix(in srgb, var(--charcoal) 82%, transparent);
}

@media print {
  .site-header,
  .site-footer,
  .cv-toolbar,
  .chat-fab,
  .chat-panel,
  .skip-link { display: none !important; }
  body {
    background: white !important;
  }
  body::before, body::after { display: none !important; }
  .cv-page { padding: 0; }
  .cv-sheet {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  a { border: 0 !important; }
}

/* btn-cv-fix-1784567701 */
