/* ============================================================
   DESIGN TOKENS
   Palette: black / violet / white — soft lavender-tinted paper, deep ink,
   single violet accent. Type: Bitter (display, serif) / Public Sans (body).
   No gradients, no glassmorphism, no emoji-as-UI, no monospace/dev look.
   ============================================================ */

:root {
  --ink: #1b1730;
  --ink-soft: #55516c;
  --ink-faint: #8b87a0;
  --paper: #f7f5fb;
  --surface: #ffffff;
  --line: #e3ddf0;
  --line-strong: #cec4e3;

  --accent: #6d46c7;
  --accent-strong: #4f2f96;
  --accent-soft: #ece6f9;
  --accent-ink: #ffffff;

  --status-completed: #2f6f4e;
  --status-active: #2a5f8f;
  --status-systematized: #9a5b25;
  --status-progress: #6d46c7;

  --font-display: 'Bitter', 'Georgia', serif;
  --font-body: 'Public Sans', -apple-system, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 20px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --space-8: 112px;

  --radius-sm: 3px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(27, 23, 48, 0.05);
  --transition: all 0.18s ease;

  --nav-h: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) var(--paper);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   SITE NAVIGATION
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(247, 245, 251, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 880px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-mark {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  letter-spacing: 0.2px;
  transition: var(--transition);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

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

.nav-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-cta:hover { background: var(--accent-strong); }

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

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */

main { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.section { padding: var(--space-8) 0; border-top: 1px solid var(--line); }

/* Tab-panel behavior: one section visible at a time, switched via nav clicks */
main > .section {
  display: none;
  border-top: none;
  padding-top: var(--space-6);
}
main > .section.active { display: block; animation: fadeIn 0.2s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.section-head { margin-bottom: var(--space-6); max-width: 560px; }

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}

.section-intro {
  margin-top: var(--space-3);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 60ch;
}

.sub-block { margin-top: var(--space-7); }

.sub-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-strong); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--ink-faint); background: var(--surface); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  display: none;
  padding: var(--space-8) 0 var(--space-7) 0;
  text-align: center;
}

.hero.active { display: block; }

.hero-inner { max-width: 640px; margin: 0 auto; }

.hero-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-5) auto;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-kicker {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: var(--space-4);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: var(--space-5);
}

.hero-bio {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 auto var(--space-6) auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.hero-meta {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.hero-meta .meta-sep { margin: 0 8px; }

/* ============================================================
   HOW I WORK (APPROACH)
   ============================================================ */

.approach-statement {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 62ch;
}

/* ============================================================
   SERVICES (legacy grid — kept for reuse if needed)
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card { background: var(--surface); padding: var(--space-5); }

.service-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.service-summary {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.service-grounding {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.5;
  border-top: 1px dashed var(--line);
  padding-top: var(--space-3);
}

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

/* ============================================================
   EXPERIENCE
   ============================================================ */

.experience-list { display: flex; flex-direction: column; }

.cv-job {
  position: relative;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line);
}

.cv-job:first-child { border-top: none; padding-top: 0; }

.cv-job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.cv-job-title h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.cv-job-company {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 2px;
}

.cv-job-meta { text-align: right; }

.cv-job-date {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.cv-job-location {
  font-size: 11.5px;
  color: var(--ink-faint);
}

.cv-job-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
  max-width: 62ch;
}

.cv-job-bullets {
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink);
}

.cv-job-bullets li { margin-bottom: 7px; line-height: 1.55; }

@media (max-width: 600px) {
  .cv-job-header { flex-direction: column; }
  .cv-job-meta { text-align: left; }
}

.education-list { display: flex; flex-direction: column; gap: var(--space-4); }

.edu-item { border-left: 2px solid var(--line-strong); padding-left: var(--space-4); }

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: 4px;
}

.edu-degree { font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--ink); }

.edu-year { font-size: 11.5px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }

.edu-inst { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }

.edu-details { font-size: 12px; color: var(--ink-faint); line-height: 1.5; }

.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-6); }

.skill-category-card h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-2);
}

.skill-items-tags { display: flex; flex-wrap: wrap; gap: 6px; }

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

.tech-tag {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* ============================================================
   PROJECTS
   ============================================================ */

.controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-5);
  align-items: center;
}

.search-wrapper { position: relative; flex: 1; min-width: 220px; }

.search-input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus { border-color: var(--accent); }

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  pointer-events: none;
}

.filter-group { display: flex; gap: 6px; flex-wrap: wrap; }

.filter-btn {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-4);
}

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

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover { border-color: var(--line-strong); }

.project-header {
  padding: 22px 22px 12px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.project-title-wrapper h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}

.status-badge {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-badge.completed { color: var(--status-completed); }
.status-badge.active { color: var(--status-active); }
.status-badge.systematized { color: var(--status-systematized); }
.status-badge.progress { color: var(--status-progress); }

.project-body { padding: 0 22px 18px 22px; flex-grow: 1; display: flex; flex-direction: column; }

.project-tagline { font-size: 13.5px; color: var(--ink); margin-bottom: 10px; font-weight: 600; line-height: 1.4; }

.project-one-liner { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

.card-links { margin-top: auto; display: flex; gap: 14px; padding-bottom: 14px; }

.card-link {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  transition: var(--transition);
}

.card-link:hover { color: var(--accent-strong); }

.card-link-disabled {
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-faint);
  font-style: italic;
  cursor: default;
}

.drawer-toggle {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.drawer-toggle:hover { color: var(--accent); background: var(--accent-soft); }

.drawer-toggle span.arrow { transition: transform 0.2s; display: inline-block; }
.drawer-toggle.expanded span.arrow { transform: rotate(180deg); }

.drawer-content { max-height: 0; overflow: hidden; background: var(--paper); transition: max-height 0.35s ease-out; }

.drawer-inner { padding: 20px; font-size: 12.5px; border-top: 1px solid var(--line); }

.drawer-section { margin-bottom: 15px; }
.drawer-section:last-child { margin-bottom: 0; }

.drawer-title {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.5px;
}

.drawer-inner p { color: var(--ink); line-height: 1.55; }
.drawer-inner ul { padding-left: 15px; color: var(--ink); }
.drawer-inner li { margin-bottom: 6px; line-height: 1.5; }

/* ============================================================
   INTERACTIVE LAB
   ============================================================ */

.tools-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }

.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
}

.tool-header { margin-bottom: var(--space-5); }

.tool-header h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.tool-header p { font-size: 13px; color: var(--ink-soft); }

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.2s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.question-label { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 14px; display: block; }

.radio-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }

.radio-btn {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.radio-btn:hover { border-color: var(--line-strong); color: var(--ink); }

.radio-btn.selected {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.wizard-nav { display: flex; justify-content: space-between; margin-top: 18px; }

.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.wizard-progress {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 22px;
  position: relative;
  overflow: hidden;
}

.wizard-progress-bar {
  position: absolute;
  left: 0; top: 0; height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s ease;
}

.recommendation-panel { display: none; animation: fadeIn 0.3s ease; }

.recommendation-card {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.rec-title-wrapper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }

.rec-tool { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--accent); }

.rec-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--accent);
  border: 1px solid var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.rec-text { font-size: 13px; color: var(--ink); margin-bottom: 14px; line-height: 1.55; }

.rec-rationale { font-size: 12.5px; color: var(--ink-soft); border-top: 1px dashed var(--line-strong); padding-top: 12px; }

.calculator-controls { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }

.slider-group { display: flex; flex-direction: column; }

.slider-header { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 8px; }

.slider-label { font-weight: 600; color: var(--ink); }

.slider-value { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }

.calc-output {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
}

.calc-gauge-container { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }

.calc-verdict { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--ink); }

.calc-meter { width: 110px; height: 6px; background: var(--line); border-radius: 3px; position: relative; overflow: hidden; flex-shrink: 0; }

.calc-meter-fill { position: absolute; left: 0; top: 0; height: 100%; width: 50%; background: var(--accent); transition: width 0.3s ease; }

.calc-explanation { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }

.calc-bullets { padding-left: 18px; font-size: 12.5px; color: var(--ink); }
.calc-bullets li { margin-bottom: 6px; }

.stack-selectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }

.selector-group { display: flex; flex-direction: column; }

.selector-group label { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }

.custom-select {
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.custom-select:focus { border-color: var(--accent); }

.protocol-output {
  display: none;
  animation: fadeIn 0.3s ease;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
}

.protocol-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 12px;
  margin-bottom: 16px;
  gap: 12px;
}

.protocol-header h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.protocol-meta { font-size: 11px; color: var(--ink-faint); }

.protocol-steps { display: flex; flex-direction: column; gap: 10px; }

.step-card {
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border-left: 2px solid var(--line-strong);
}

.step-card.severity-high { border-left-color: var(--accent); }

.step-title { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }

.step-desc { font-size: 12px; color: var(--ink-soft); line-height: 1.45; }

/* ============================================================
   WRITING
   ============================================================ */

.articles-list { display: flex; flex-direction: column; }

.timeline-item { padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.timeline-item:first-child { border-top: none; padding-top: 0; }

.timeline-date { font-size: 11px; font-weight: 600; color: var(--accent); margin-bottom: 4px; text-transform: uppercase; }

.timeline-title { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }

.timeline-author { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 8px; }

.timeline-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 10px; max-width: 62ch; }

.timeline-link { font-size: 12px; color: var(--accent); text-decoration: none; font-weight: 600; }
.timeline-link:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer { border-top: 1px solid var(--line); margin-top: var(--space-6); }

.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--space-6) 24px var(--space-5) 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-name { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink); }

.footer-role { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

.footer-col-contact { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.footer-email { font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.footer-email:hover { text-decoration: underline; }

.social-links { display: flex; gap: 8px; }

.social-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  background: var(--surface);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

.footer-bottom {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--space-4) 24px var(--space-6) 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-beyond { font-size: 11.5px; color: var(--ink-faint); }
.footer-copy { font-size: 11.5px; color: var(--ink-faint); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; }
  .footer-col-contact { align-items: flex-start; text-align: left; }
}
