/* Header */
.logo {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.nav-links a:hover {
  color: var(--accent);
}

.toggle-group {
  display: flex;
  gap: 7px;
}

.btn-toggle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 7px 11px;
  cursor: pointer;
}

/* Hero */
.hero-title {
  font-size: clamp(30px, 7.4vw, 120px);
  line-height: 0.94;
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-lede {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.55;
  max-width: 52ch;
  text-wrap: pretty;
}

.btn {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 24px;
}

.btn-outline {
  border: 2px solid currentColor;
}

.btn-outline:hover {
  background: var(--on-accent);
  color: var(--accent);
}

.btn-solid {
  background: var(--on-accent);
  color: var(--accent);
}

/* Metrics */
.metric-item {
  padding: clamp(20px, 2.6vw, 34px) clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--line2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-value {
  font-size: clamp(22px, 2.6vw, 34px);
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.metric-label {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--dim);
}

/* Cases */
.case-num-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-num-row span:last-child {
  color: var(--faint);
}

.case-title {
  font-size: clamp(19px, 3.4vw, 48px);
  line-height: 1.14;
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.case-kpi {
  font-size: clamp(46px, 7vw, 110px);
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--accent);
}

.case-kpi-label {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.35;
  max-width: 36ch;
  text-wrap: pretty;
}

.case-compare-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-compare-label--was {
  color: var(--faint);
}

.case-compare-label--now {
  color: var(--accent);
}

.case-compare-value {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.case-compare-value--was {
  font-size: clamp(17px, 1.9vw, 28px);
  letter-spacing: -0.04em;
  color: var(--faint);
}

.case-compare-value--now {
  font-size: clamp(19px, 2.2vw, 34px);
  letter-spacing: -0.045em;
  color: var(--accent);
}

.case-compare-note {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--dim);
}

.case-compare-arrow {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(16px, 1.6vw, 24px);
  color: var(--accent);
  align-self: center;
}

.case-problem {
  font-size: clamp(16px, 1.4vw, 18.5px);
  font-weight: 500;
  line-height: 1.65;
  text-wrap: pretty;
}

.case-did {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-did-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  border-top: 1px solid var(--line2);
  padding-top: 14px;
}

.case-did-list {
  margin: 0;
  padding-left: 1.1em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-did-item {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--dim);
  text-wrap: pretty;
}

.case-did-item::marker {
  color: var(--accent);
}

.case-stack {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 1px solid var(--line2);
  padding-top: 14px;
}

/* Experience */
.section-title {
  font-size: clamp(22px, 2.6vw, 36px);
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-total {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--dim);
}

.timeline-period {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-duration {
  color: var(--faint);
  font-weight: 500;
}

.timeline-role {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-company {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.timeline-position {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--accent);
}

.timeline-note {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--dim);
  text-wrap: pretty;
}

/* About */
.about-para {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--dim);
  text-wrap: pretty;
}

.side-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.side-title--bordered {
  border-top: 1px solid var(--line2);
  padding-top: 18px;
}

.skills-run {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 600;
  line-height: 1.7;
  text-wrap: pretty;
}

.skill-sep {
  color: var(--accent);
}

.edu-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line2);
}

.edu-year {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

.edu-detail-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edu-place {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: pretty;
}

.edu-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--dim);
  line-height: 1.45;
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dim);
}

/* Contact */
.contact-title {
  font-size: clamp(24px, 3.8vw, 60px);
  line-height: 1.05;
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  max-width: 22ch;
  text-wrap: balance;
}

.contact-note {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.6;
  max-width: 66ch;
  text-wrap: pretty;
}

.contact-link {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid currentColor;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-link:hover {
  opacity: 0.7;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-value {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.contact-cv-link {
  border-bottom: 2px solid currentColor;
}
