*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ink: #1a1a18;
  --muted: #6b6b65;
  --border: rgba(0, 0, 0, 0.1);
  --bg: #f9f8f5;
  --white: #ffffff;
  --accent: #2a5caa;
  --chat-bg: #f3f2ef;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 248, 245, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-identity {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.nav-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav-name:hover,
.nav-name:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-name:focus-visible {
  outline: 2px solid rgba(42, 92, 170, 0.22);
  outline-offset: 6px;
}

.nav-name-text {
  min-width: 0;
}

.nav-name-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 0.5px solid rgba(42, 92, 170, 0.18);
  background: rgba(42, 92, 170, 0.06);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-0.35rem);
  transition: max-width 0.2s ease, opacity 0.18s ease, transform 0.18s ease, padding 0.18s ease, margin 0.18s ease, border-color 0.18s ease;
}

.nav-name--scrolled .nav-name-cue {
  max-width: 4.5rem;
  opacity: 1;
  transform: translateX(0);
}

.nav-name-cue svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  min-width: 0;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s;
  white-space: nowrap;
}

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

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 0.5px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.62);
}

.language-switch-link {
  min-width: 2rem;
  min-height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
}

.language-switch-link:hover,
.language-switch-link:focus-visible {
  color: var(--ink);
}

.language-switch-link--active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 2rem 68px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-eyebrow::after {
  content: "";
  display: block;
  width: 2.75rem;
  border-top: 0.5px solid rgba(42, 92, 170, 0.34);
}

.hero h1 {
  font-family: var(--serif);
  max-width: 760px;
  font-size: 4.08rem;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
  margin-bottom: 1.35rem;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
  text-decoration-line: underline;
  text-decoration-color: rgba(42, 92, 170, 0.22);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.08em;
}

.hero-bio {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.74;
  margin-bottom: 2.15rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline,
.btn-chat,
.btn-download {
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.btn-download {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border: 0.5px solid rgba(0, 0, 0, 0.18);
  transition: background 0.15s, border-color 0.15s;
}

.btn-download:hover {
  background: var(--white);
  border-color: rgba(0, 0, 0, 0.32);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border: none;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.8; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 0.5px solid rgba(0, 0, 0, 0.3);
  transition: background 0.15s;
}

.btn-outline:hover { background: rgba(0, 0, 0, 0.04); }

.btn-chat {
  background: rgba(42, 92, 170, 0.08);
  color: var(--accent);
  border: 0.5px solid rgba(42, 92, 170, 0.22);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.btn-chat:hover {
  background: rgba(42, 92, 170, 0.12);
  border-color: rgba(42, 92, 170, 0.32);
  transform: translateY(-1px);
}

.btn-chat svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-chat:focus-visible,
.btn-download:focus-visible,
.nav-links a:focus-visible,
.language-switch-link:focus-visible,
.contact-value:focus-visible,
.project-link:focus-visible,
.chat-fab:focus-visible,
.chat-close:focus-visible,
.chat-reset:focus-visible,
.chat-send:focus-visible,
.suggest-btn:focus-visible,
.chat-input:focus-visible,
.chat-messages:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.divider {
  max-width: 800px;
  margin: 0 auto;
  border: none;
  border-top: 0.5px solid var(--border);
}

section {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 2rem;
  scroll-margin-top: 84px;
}

.how-i-work-heading {
  max-width: 12ch;
  margin-bottom: 1rem;
}

.how-i-work-summary {
  max-width: 58ch;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 1.75rem;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.section-heading::after {
  content: "";
  display: block;
  width: 4.25rem;
  margin-top: 0.8rem;
  border-top: 1px dotted rgba(26, 26, 24, 0.35);
}

.section-intro {
  max-width: 540px;
  margin-bottom: 2rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 0.5px solid var(--border);
}

.exp-item:last-child { border-bottom: none; }

.exp-year {
  font-size: 11px;
  color: var(--muted);
  padding-top: 0.45rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

.exp-company {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.exp-company-name {
  font-weight: 800;
}

.exp-company-link {
  color: inherit;
  text-decoration: none;
}

.exp-company-link:hover {
  color: var(--accent);
}

.exp-company-separator,
.exp-location {
  color: rgba(26, 26, 24, 0.76);
}

.exp-role {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.exp-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.exp-accomplishments {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.exp-accomplishments li {
  font-size: 14px;
  line-height: 1.65;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  font-size: 13px;
  padding: 6px 16px;
  border: 0.5px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
}

.how-i-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.work-card {
  min-height: 100%;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  border-left: 2px solid rgba(42, 92, 170, 0.22);
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.03);
}

.work-card-number {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.work-card-text {
  font-size: 13.5px;
  color: rgba(26, 26, 24, 0.78);
  line-height: 1.72;
}

.how-i-work-footnote {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.project-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 0.75rem;
}

.project-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.project-group-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-empty {
  font-size: 13px;
  color: var(--muted);
  padding: 1rem 0;
}

.project-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.035);
  min-width: 0;
}

.project-number {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: rgba(0, 0, 0, 0.08);
  line-height: 1;
  margin-bottom: 1.15rem;
}

.project-title {
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.35;
  margin-bottom: 0.7rem;
}

.project-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
}

.project-meta {
  margin-top: 0.9rem;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.project-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

.project-tags {
  margin-top: 1.15rem;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-location {
  max-width: 420px;
  margin: -0.75rem 0 1.5rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.contact-identity {
  margin-bottom: 1.5rem;
}

.contact-identity-name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  line-height: 1.15;
  margin: 0;
}

.contact-identity-meta {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.language-strip {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.language-strip-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.language-strip-items {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.language-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  border: 0.5px solid var(--border);
  font-size: 13px;
  color: rgba(26, 26, 24, 0.82);
}

.contact-downloads {
  margin-bottom: 1.75rem;
}

.contact-downloads-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.contact-downloads-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-footer {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 48px;
}

.translation-notice {
  padding-top: 1rem;
  border-top: 0.5px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.contact-value {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

a.contact-value:hover { color: var(--accent); }

.chat-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s;
}

.chat-fab:hover { transform: scale(1.06); }

.chat-fab svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: min(480px, calc(100vw - 3rem));
  height: min(680px, calc(100vh - 8rem));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(249, 248, 245, 0.88));
  border: 0.5px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  z-index: 200;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(26, 26, 24, 0.045),
    0 18px 56px rgba(26, 26, 24, 0.16);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  overflow: hidden;
  transform: translateY(10px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  padding: 1rem 1.25rem;
  border-bottom: 0.5px solid rgba(26, 26, 24, 0.08);
  background: rgba(255, 255, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 13px;
  color: white;
}

.chat-title {
  font-size: 14px;
  font-weight: 500;
}

.chat-subtitle {
  font-size: 11px;
  color: var(--muted);
}

.chat-reset,
.chat-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.chat-reset {
  border: 0.5px solid rgba(26, 26, 24, 0.11);
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.chat-close {
  background: none;
  border: 0.5px solid transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}

.chat-privacy,
.chat-composer-hint {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.chat-privacy {
  margin: 0;
  padding: 0.85rem 1.25rem 0;
  background: rgba(255, 255, 255, 0.18);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  max-width: 86%;
  font-size: 13.5px;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 12px;
}

.msg.bot {
  align-self: flex-start;
  background: rgba(243, 242, 239, 0.88);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.msg-text {
  white-space: pre-wrap;
}

.msg-text > :first-child {
  margin-top: 0;
}

.msg-text > :last-child {
  margin-bottom: 0;
}

.msg-text p,
.msg-text ul,
.msg-text ol,
.msg-text pre,
.msg-text blockquote {
  margin: 0.45rem 0;
}

.msg-text ul,
.msg-text ol {
  padding-left: 1.1rem;
}

.msg-text li + li {
  margin-top: 0.2rem;
}

.msg-text code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92em;
  padding: 0.08rem 0.3rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.72);
}

.msg-text pre {
  overflow-x: auto;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.78);
}

.msg-text pre code {
  padding: 0;
  background: transparent;
}

.msg-text a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.msg-provider {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.msg-provider-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 0.5px solid rgba(0, 0, 0, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
}


.msg.user {
  align-self: flex-end;
  background: var(--ink);
  color: white;
  border-bottom-right-radius: 4px;
}

.msg.typing { color: var(--muted); }

.msg.typing span {
  display: inline-flex;
  gap: 3px;
}

.msg.typing span i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: bounce 1s infinite;
}

.msg.typing span i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing span i:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.chat-suggestions {
  padding: 0 1.25rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.suggest-btn {
  font-size: 12px;
  color: var(--ink);
  border: 0.5px solid rgba(26, 26, 24, 0.1);
  background: rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.12s;
}

.chat-reset:hover,
.suggest-btn:hover { background: rgba(243, 242, 239, 0.92); }

.chat-input-row {
  padding: 0.75rem 1.25rem 0.35rem;
  border-top: 0.5px solid rgba(26, 26, 24, 0.08);
  background: rgba(255, 255, 255, 0.36);
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  border: 0.5px solid rgba(26, 26, 24, 0.11);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.45;
  resize: none;
  outline: none;
  background: rgba(243, 242, 239, 0.9);
  color: var(--ink);
  min-height: 56px;
  max-height: 120px;
}

.chat-input:focus { border-color: rgba(0, 0, 0, 0.25); }

.chat-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.chat-send:hover { opacity: 0.8; }

.chat-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

.chat-send svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.chat-composer-hint {
  margin: 0;
  padding: 0 1.25rem 1rem;
}

@media (max-width: 760px) {
  .hero {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 3.55rem;
  }
}

@media (max-width: 600px) {
  nav {
    height: auto;
    min-height: 56px;
    padding: 0.75rem 1rem;
    gap: 0.5rem 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-name {
    font-size: 1rem;
    flex-shrink: 0;
    gap: 1rem;
  }

  .nav-identity {
    width: 100%;
    justify-content: space-between;
  }

  .nav-name-cue {
    flex-shrink: 0;
  }

  .nav-links {
    width: 100%;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-link--secondary {
    display: none;
  }

  .hero {
    padding: 64px 1rem 52px;
  }

  .hero h1 {
    font-size: 2.95rem;
    line-height: 1.05;
  }

  .hero-bio {
    font-size: 1.03rem;
    line-height: 1.68;
  }

  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .exp-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .how-i-work-grid,
  .project-grid-inner,
  .contact-grid { grid-template-columns: 1fr; }
  .chat-panel {
    right: 1rem;
    bottom: 1rem;
    width: calc(100vw - 2rem);
    height: min(78vh, calc(100vh - 2rem));
  }
  .chat-fab {
    right: 1rem;
    bottom: 1rem;
  }
  .chat-header {
    padding: 0.9rem 1rem;
  }
  .chat-privacy,
  .chat-messages,
  .chat-suggestions,
  .chat-input-row,
  .chat-composer-hint {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .contact-downloads-list { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.55rem;
  }
}
