:root {
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #eaf0f4;
  --ink: #101828;
  --muted: #526174;
  --soft: #d4dde6;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #d9f3ee;
  --heading: #14213d;
  --dark-surface: #14213d;
  --dark-surface-deep: #0d192e;
  --card-border: rgba(20, 33, 61, 0.12);
  --chip-bg: rgba(255, 255, 255, 0.8);
  --field-bg: #ffffff;
  --field-border: #788697;
  --accent-contrast: #ffffff;
  --current-highlight: rgba(217, 243, 238, 0.5);
  --focus: #c2410c;
  --shadow: 0 24px 60px rgba(20, 33, 61, 0.12);
  --shadow-soft: 0 12px 32px rgba(20, 33, 61, 0.07);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #131d2f;
  --surface-soft: #0f1929;
  --ink: #edf2f7;
  --muted: #b4bfce;
  --soft: #344258;
  --accent: #5eead4;
  --accent-strong: #8ce4d8;
  --accent-soft: #123a39;
  --heading: #f4f7fb;
  --dark-surface: #111c31;
  --dark-surface-deep: #070e1b;
  --card-border: rgba(180, 191, 206, 0.2);
  --chip-bg: rgba(19, 29, 47, 0.9);
  --field-bg: #0d1728;
  --field-border: #718096;
  --accent-contrast: #062a27;
  --current-highlight: rgba(15, 118, 110, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.2);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 180ms ease, color 180ms ease;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--dark-surface-deep);
  color: #fff;
  padding: 10px 14px;
  font-weight: 750;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--card-border);
  background: var(--bg);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--dark-surface);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.theme-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.theme-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 680;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="location"] {
  background: var(--surface);
  color: var(--ink);
}

.primary-nav a[aria-current="location"] {
  box-shadow: inset 0 -2px var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
  background:
    radial-gradient(circle at 78% 20%, rgba(15, 118, 110, 0.12), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 249, 0.86));
}

:root[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(94, 234, 212, 0.09), transparent 30%),
    linear-gradient(150deg, rgba(19, 29, 47, 0.98), rgba(11, 18, 32, 0.94));
}

:root[data-theme="dark"] .logo-mark {
  background: var(--accent);
  color: var(--accent-contrast);
}

.hero::after {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 64px;
  align-items: center;
  padding-top: 68px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 8ch;
  margin-bottom: 22px;
  color: var(--heading);
  font-size: clamp(3.7rem, 7.5vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  color: var(--heading);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  color: var(--heading);
  font-size: 1.08rem;
  line-height: 1.3;
}

.headline {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  font-weight: 780;
  line-height: 1.3;
}

.subheadline {
  max-width: 61ch;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-ctas,
.social-list,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.capability-list li,
.tool-list li {
  border: 1px solid var(--soft);
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--heading);
  font-size: 0.82rem;
  font-weight: 740;
  padding: 7px 10px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--soft);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  padding: 11px 17px;
  font-weight: 780;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 7px 18px rgba(20, 33, 61, 0.09);
  transform: translateY(-1px);
}

.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
}

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

.btn.subtle {
  background: transparent;
}

.social-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--soft);
  border-radius: 10px;
  background: var(--surface);
  color: var(--heading);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.social-list svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.hero-panel {
  align-self: center;
}

.proof-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  box-shadow: var(--shadow);
  color: #fff;
  padding: 30px;
}

.proof-card::before {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.1);
  content: "";
}

.profile-label,
.work-tag,
.experience-date {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-card .profile-label {
  color: #8ce4d8;
}

.proof-card h2 {
  position: relative;
  max-width: 17ch;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.proof-facts {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
}

.proof-stat {
  display: grid;
  grid-template-columns: minmax(140px, 0.54fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
}

.proof-stat:last-child {
  padding-bottom: 0;
}

.proof-stat dt {
  color: #8ce4d8;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.proof-stat dd {
  margin: 0;
}

.proof-stat-label,
.proof-stat-detail {
  display: block;
}

.proof-stat-label {
  color: #fff;
  font-weight: 760;
  line-height: 1.35;
}

.proof-stat-detail {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.45;
}

.section {
  padding: 82px 0;
}

.muted-section {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--surface-soft);
}

.work-section {
  background: var(--surface);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 42px;
  align-items: end;
}

.section-heading.split > p {
  margin-bottom: 10px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.skill-group,
.contact-form,
.resume-panel {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card,
.skill-group {
  padding: 24px;
}

.service-card {
  min-height: 245px;
  box-shadow: var(--shadow-soft);
}

.card-number {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 840;
  letter-spacing: 0.08em;
}

.service-card p,
.work-card p,
.skill-group p,
.about-copy p,
.resume-panel p,
.contact-section > p {
  color: var(--muted);
}

.work-list {
  display: grid;
  gap: 16px;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  gap: 38px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
}

.work-card-heading {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

.work-card h3,
.work-card-copy > p:last-of-type {
  margin-bottom: 0;
}

.work-card-copy > p:first-child {
  margin-bottom: 16px;
}

.work-result {
  border-left: 3px solid #92d8ce;
  background: var(--accent-soft);
  color: var(--accent-strong) !important;
  padding: 12px 14px;
  line-height: 1.5;
}

.work-result span {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tool-list li {
  background: var(--bg);
  font-size: 0.76rem;
  padding: 5px 9px;
}

.experience-list {
  border-top: 1px solid var(--soft);
}

.experience-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1fr);
  gap: 32px;
  border-bottom: 1px solid var(--soft);
  padding: 28px 0;
}

.experience-item:first-child {
  position: relative;
  border-left: 0;
  background: linear-gradient(90deg, var(--current-highlight), transparent 72%);
  box-shadow: -12px 0 0 var(--current-highlight);
}

.experience-item:first-child::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 3px;
  background: var(--accent);
  content: "";
}

.experience-item h3 {
  margin-bottom: 3px;
  font-size: 1.18rem;
}

.experience-item p:last-child {
  max-width: 77ch;
  margin-bottom: 0;
  color: var(--muted);
}

.experience-date {
  margin-top: 3px;
}

.experience-role-title {
  margin: 4px 0 10px;
  color: var(--accent-strong);
  font-size: 1.03rem;
  line-height: 1.35;
}

.role-progression {
  display: grid;
  gap: 22px;
  border-left: 2px solid var(--soft);
  margin: 16px 0 0 5px;
  padding-left: 25px;
}

.role-item {
  position: relative;
}

.role-item::before {
  position: absolute;
  top: 8px;
  left: -33px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  content: "";
}

.role-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 7px;
}

.role-item h4 {
  margin: 0;
  color: var(--accent-strong);
  font-size: 1.03rem;
  line-height: 1.35;
}

.role-date {
  flex: 0 0 auto;
  margin: 0;
  color: var(--accent-strong) !important;
  font-size: 0.82rem;
  font-weight: 760;
}

.role-item > p {
  margin-bottom: 0;
}

.development-block {
  border-top: 0;
  margin-top: 0;
  padding-top: 50px;
}

.development-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.development-heading h3 {
  max-width: 24ch;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.development-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.development-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.development-card h4 {
  margin: 0 0 5px;
  color: var(--heading);
  font-size: 1.05rem;
  line-height: 1.35;
}

.development-card > p:last-of-type {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.development-organization {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 740;
}

.development-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid var(--accent);
  margin-top: 18px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
}

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

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.skill-group h3 {
  border-bottom: 1px solid var(--soft);
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.skill-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  list-style: none;
}

.skill-list li {
  position: relative;
  padding-left: 15px;
}

.skill-list li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 64px;
  align-items: start;
}

.about-copy {
  font-size: 1.06rem;
}

.about-copy p:last-of-type {
  margin-bottom: 0;
}

.resume-section {
  padding: 64px 0;
}

.resume-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  background: var(--dark-surface);
  color: #fff;
}

.resume-panel h2,
.resume-panel .eyebrow {
  color: #fff;
}

.resume-panel p {
  max-width: 70ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.resume-panel .btn.primary {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--dark-surface);
}

.contact-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--dark-surface);
  color: #fff;
}

.contact-section h2 {
  color: #fff;
}

.contact-section .eyebrow {
  color: #8ce4d8;
}

.contact-section .contact-grid > div > p:not(.eyebrow):not(.form-status) {
  color: rgba(255, 255, 255, 0.74);
}

.contact-email {
  max-width: 100%;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.contact-section .contact-email {
  border-color: #8ce4d8;
  background: #8ce4d8;
  color: var(--dark-surface-deep);
}

.contact-links {
  margin-top: 22px;
}

.contact-links a {
  border-bottom: 2px solid #8ce4d8;
  color: #fff;
  font-weight: 760;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 26px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.form-intro {
  margin-bottom: 4px;
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 780;
}

.contact-form label {
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 760;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--field-bg);
  color: var(--ink);
  padding: 12px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  border-left: 3px solid #8ce4d8;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(140, 228, 216, 0.14);
  color: #fff;
  margin: 24px 0 0;
  padding: 11px 13px;
  font-weight: 720;
}

.honeypot {
  display: none;
}

.contact-form button {
  margin-top: 8px;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--dark-surface-deep);
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 760;
  text-decoration: none;
}

.loading-section {
  min-height: 640px;
  display: grid;
  align-items: center;
  background: linear-gradient(145deg, var(--surface), var(--bg));
}

.loading-section .subheadline {
  max-width: 62ch;
}

.noscript-note {
  max-width: 62ch;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 10px 13px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 34px;
    padding-top: 54px;
  }

  .proof-card {
    max-width: 720px;
  }

  .about-grid,
  .contact-grid,
  .section-heading.split {
    gap: 24px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 82px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .container {
    width: min(100% - 28px, 1140px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    border: 1px solid var(--soft);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    gap: 2px;
  }

  .primary-nav a {
    padding: 13px 12px;
  }

  .section {
    padding: 58px 0;
  }

  .hero-grid {
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.8rem);
  }

  h2 {
    margin-bottom: 9px;
  }

  .hero-ctas .btn {
    flex: 1 1 180px;
  }

  .proof-card {
    padding: 24px;
  }

  .proof-stat {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 13px;
  }

  .services-grid,
  .skills-grid,
  .development-grid,
  .work-card,
  .experience-item {
    grid-template-columns: 1fr;
  }

  .work-card {
    gap: 20px;
    padding: 22px;
  }

  .service-card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 18px;
  }

  .experience-item {
    gap: 3px;
    padding: 24px 0;
  }

  .role-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .resume-panel,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .resume-panel .btn.primary {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .hero-ctas .btn {
    width: 100%;
  }

  .proof-stat {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .proof-stat dt {
    font-size: 1.7rem;
  }

  .contact-form {
    padding: 21px;
  }
}

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