:root {
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --light: #ffffff;
  --dark: #000000;
  --bg: #0b1020;
  --bg2: #0f1630;
  --card: #131727;
  --text: #e9eefc;
  --muted: #b7c0dd;
  --accent: #276fff;
  --accent2: #6aa8ff;
  --ok: #4ade80;

  --border: rgba(255, 255, 255, 0.10);
  --focus: rgba(39, 111, 255, 0.55);

  --surface-02: rgba(255, 255, 255, 0.02);
  --surface-04: rgba(255, 255, 255, 0.04);
  --surface-06: rgba(255, 255, 255, 0.06);
  --surface-08: rgba(255, 255, 255, 0.08);
  --surface-10: rgba(255, 255, 255, 0.10);

  --accent-10: rgba(39, 111, 255, 0.10);
  --accent-12: rgba(39, 111, 255, 0.12);
  --accent-18: rgba(39, 111, 255, 0.18);
  --accent-22: rgba(39, 111, 255, 0.22);
  --accent-25: rgba(39, 111, 255, 0.25);
  --accent-35: rgba(39, 111, 255, 0.35);
  --accent-45: rgba(39, 111, 255, 0.45);
  --accent-60: rgba(39, 111, 255, 0.60);
  --accent-75: rgba(39, 111, 255, 0.75);

  --accent2-18: rgba(106, 168, 255, 0.18);

  --btn-primary-from: rgba(39, 111, 255, 0.95);
  --btn-primary-to: rgba(39, 111, 255, 0.75);
  --btn-primary-from-hover: rgba(60, 130, 255, 0.98);
  --btn-primary-to-hover: rgba(39, 111, 255, 0.88);
  --btn-ghost-hover: var(--surface-08);
  --hover-surface: var(--surface-06);
  --hover-surface-strong: var(--surface-10);

  --shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.18);

  --radius: 1rem;
  --radius2: 1.375rem;
  --container: 68.75rem;

  --hamburger-size: 3rem;
  --hamburger-width: 1.875rem;
  --hamburger-height: 1.25rem;
  --hamburger-line: 0.125rem;
  --hamburger-gap: 0.5rem;

  --header-bg: rgba(11, 16, 32, 0.72);
  --section-alt: rgba(0, 0, 0, 0.06);
  --modal-backdrop: rgba(0, 0, 0, 0.78);
  --ui-hover-border: rgba(39, 111, 255, 0.35);
  --ui-hover-shadow: rgba(39, 111, 255, 0.10);

  --client-card-border-dark: rgba(11, 16, 32, 0.28);
  --client-card-shadow-dark: rgba(0, 0, 0, 0.55);
  --client-card-inset-dark: rgba(255, 255, 255, 0.55);

  --client-grad-1: #f0f2f8;
  --client-grad-2: #d9deec;
  --client-grad-3: #b8bfd9;
  --client-grad-4: #8e97bb;
}

[data-theme="light"] {
  --bg: #f7f8fc;
  --bg2: #eef2ff;
  --card: #ffffff;
  --text: #0b1020;
  --muted: #445077;
  --accent: #276fff;
  --accent2: #163FA3;

  --border: rgba(11, 16, 32, 0.12);
  --focus: rgba(39, 111, 255, 0.5);
  --shadow: 0 1.125rem 3.125rem rgba(20, 30, 70, 0.12);
  --shadow-sm: 0 0.5rem 1.25rem rgba(20, 30, 70, 0.10);

  --btn-primary-from: rgba(39, 111, 255, 0.98);
  --btn-primary-to: rgba(39, 111, 255, 0.82);
  --btn-primary-from-hover: rgba(26, 93, 240, 1);
  --btn-primary-to-hover: rgba(31, 91, 214, 0.90);
  --btn-ghost-hover: var(--accent-10);

  --hover-surface: rgba(39, 111, 255, 0.06);
  --hover-surface-strong: rgba(39, 111, 255, 0.10);
  --section-alt: rgba(39, 111, 255, 0.06);
  --header-bg: rgba(247, 248, 252, 0.82);
}

/* ===========================
   Base
=========================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(75rem 37.5rem at 20% 0%, var(--accent-22), transparent 60%),
    radial-gradient(56.25rem 31.25rem at 90% 10%, var(--accent2-18), transparent 55%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.75rem;
}

p, li, h1, h2, h3, h4 {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: normal;
  word-break: normal;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 3000;
  transform: translateY(-160%);
  opacity: 0;
  pointer-events: none;

  background: var(--card);
  color: var(--text);
  border: 0.0625rem solid var(--border);
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  text-decoration: none;

  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  border-color: var(--accent-45);
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* ===========================
   Sections
=========================== */

.section {
  padding: 3.75rem 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, var(--section-alt));
}

.section-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.625rem;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 45rem;
}

/* ===========================
   Header
=========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(0.625rem);
  background: var(--header-bg);
  border-bottom: 0.0625rem solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.brand-logo {
  height: 3rem;
  width: auto;
  content: url("images/aiza_logo.png");
}

[data-theme="dark"] .brand-logo {
  content: url("images/aiza_logo_border.png");
}

.nav-desktop {
  display: flex;
  gap: 1.125rem;
  align-items: center;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.625rem;
  border-radius: 0.625rem;
  transition: color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.nav-desktop a:hover {
  color: var(--text);
  background: var(--hover-surface);
}

.nav-desktop a:active {
  transform: translateY(1px);
}

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

/* ===========================
   Segmented (Language)
=========================== */

.segmented {
  display: inline-flex;
  border: 0.0625rem solid var(--border);
  background: var(--surface-04);
  border-radius: 999rem;
  padding: 0.1875rem;
}

.segmented.nav-desktop {
  gap: 0;
}

.seg-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.5rem 0.625rem;
  border-radius: 999rem;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
}

.seg-btn[aria-pressed="true"] {
  background: var(--accent-22);
  color: var(--text);
}

/* ===========================
   Theme Toggle
=========================== */

.mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0.0625rem solid var(--border);
  background: var(--surface-04);
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  border-radius: 999rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.75rem;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.mode-toggle:hover {
  color: var(--text);
}

.mode-toggle-compact {
  padding: 0.625rem 0.75rem;
}

/* ===========================
   Hamburger
=========================== */

.hamburger {
  display: none;
  position: relative;
  z-index: 110;
  width: var(--hamburger-size);
  height: var(--hamburger-size);
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-box {
  position: relative;
  display: inline-block;
  width: var(--hamburger-width);
  height: var(--hamburger-height);
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: var(--hamburger-line);
  background: var(--text);
  border-radius: var(--hamburger-line);
  transform: translateZ(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%) translateZ(0);
}

.hamburger-inner::before {
  content: "";
  top: calc(-1 * var(--hamburger-gap));
}

.hamburger-inner::after {
  content: "";
  top: var(--hamburger-gap);
}

.hamburger[aria-expanded="true"] .hamburger-inner {
  transform: translateY(-50%) rotate(45deg) translateZ(0);
}

.hamburger[aria-expanded="true"] .hamburger-inner::before {
  opacity: 0;
  transform: rotate(-90deg) translateX(calc(-1 * var(--hamburger-gap)));
}

.hamburger[aria-expanded="true"] .hamburger-inner::after {
  transform: rotate(-90deg) translateX(var(--hamburger-gap));
}

/* ===========================
   Mobile Menu
=========================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 115;
  color: var(--muted);
  background: var(--card);
  font-weight: 600;
  padding: 7.25rem 1.5rem 1.375rem;
  transform: translateY(-10%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  text-align: center;
}

.mobile-nav a {
  font-size: 1.375rem;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
}

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

/* ===========================
   Hero
=========================== */

.hero {
  position: relative;
  padding: 3.75rem 0 2.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(43.75rem 21.875rem at 30% 20%, var(--accent-22), transparent 60%),
    radial-gradient(43.75rem 21.875rem at 80% 10%, var(--accent2-18), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.kicker {
  margin: 0 0 0.625rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2.75rem;
  line-height: 1.05;
}

.lead {
  margin: 0 0 1.125rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 52ch;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.125rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.875rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.875rem;
  border: 0.0625rem solid var(--border);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
  will-change: transform;
  box-shadow: var(--shadow);
}

.btn.primary {
  background: linear-gradient(180deg, var(--btn-primary-from), var(--btn-primary-to));
  border-color: var(--accent-60);
  color: var(--light);
  width: 11rem;
}

.btn.primary:hover {
  background: linear-gradient(180deg, var(--btn-primary-from-hover), var(--btn-primary-to-hover));
  border-color: var(--accent-75);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn.primary:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn.ghost {
  background: var(--card);
  color: var(--text);
  width: 11rem;
}

.btn.ghost:hover {
  background: var(--btn-ghost-hover);
  border-color: var(--accent-25);
}

.btn.wide {
  width: 100%;
}

.hero-card {
  border-radius: var(--radius2);
  background: linear-gradient(180deg, var(--surface-06), var(--surface-02));
  border: 0.0625rem solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-inner {
  padding: 1.25rem 1.125rem;
}

.card-title {
  margin: 0 0 0.625rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.625rem;
}

.checklist li {
  display: flex;
  gap: 0.625rem;
  color: var(--muted);
  line-height: 1.5;
}

.checklist li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 900;
}

.note {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 0.0625rem solid var(--border);
}

.mono {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===========================
   Cards / Grids
=========================== */

.grid {
  display: grid;
  gap: 1rem;
}

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

.card {
  border: 0.0625rem solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.125rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.625rem;
  font-size: 1rem;
}

.card p {
  margin: 0 0 0.625rem;
  color: var(--muted);
  line-height: 1.6;
}

.mini {
  margin: 0;
  padding-left: 1.125rem;
  color: var(--muted);
  display: grid;
  gap: 0.375rem;
}

.mini-links a,
.mini-links a:visited {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.mini-links a:hover,
.footer-link:hover,
.contact-links a:hover,
.modal-content a:hover {
  color: var(--accent2);
}

.card-accent {
  border-color: var(--accent-35);
  background: linear-gradient(180deg, var(--accent-12), var(--surface-02));
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.625rem;
  justify-content: center;
}

.pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  background: var(--accent-18);
  border: 0.0625rem solid var(--accent-25);
  padding: 0.5rem 0.625rem;
  border-radius: 999rem;
}

/* ===========================
   Stack
=========================== */

.stack-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stack-card {
  border: 0.0625rem solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
}

.stack-card h3 {
  margin: 0 0 0.8rem;
  font-size: 0.875rem;
}

.profile-card {
  border: 0.0625rem;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}

.chip {
  border: 0.0625rem solid var(--border);
  background: var(--surface-04);
  padding: 0.5rem 0.625rem;
  border-radius: 999rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text);
}

/* ===========================
   About
=========================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.about-card,
.profile-card {
  border: 0.0625rem solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.125rem;
  box-shadow: var(--shadow);
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.about-card h2 {
  margin: 0;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: left;
}

.profile-card {
  color: var(--muted);
}

.profile-head {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.avatar {
  width: 4rem;
  height: 6rem;
  border-radius: 1.125rem;
  object-fit: cover;
  border: 0.0625rem solid var(--accent-45);
}

.profile-name {
  margin: 0;
  font-size: 1.125rem;
}

.profile-role,
.profile-edu {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.profile-card h4 {
  margin: 1.65rem 0 0.5rem;
}

.icon-row {
  display: flex;
  gap: 0.3125rem;
  align-items: center;
  margin: 0.6rem 0;
}

.profile-card .icon-row {
  margin-bottom: 0;
}

.icon-link {
  width: 2.625rem;
  height: 2.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999rem;
  border: 0.0625rem solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  position: relative;
}

.icon-link img {
  display: block;
  object-fit: contain;
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.25rem);
  background: var(--card);
  color: var(--text);
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: var(--shadow);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0.375rem;
  border-style: solid;
  border-color: var(--card) transparent transparent transparent;
}

.icon-link:hover .tooltip,
.icon-link:focus-visible .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.icon-link:hover {
  transform: scale(1.12);
  border-color: var(--ui-hover-border);
  box-shadow: 0 0.75rem 2.25rem var(--ui-hover-shadow);
}

.clients-head {
  margin-top: 4rem;
  text-align: center;
  margin-bottom: 1.75rem;
}

.clients-head p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 45rem;
}

.clients-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  justify-items: center;
  margin-top: 1.25rem;
}

.client-card {
  margin: 0;
  border: 1px solid var(--border);
  background: var(--light);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 6.62rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

[data-theme="dark"] .client-card {
  background: radial-gradient(
    ellipse at center,
    var(--light) 0%,
    var(--light) 60%,
    var(--client-grad-1) 70%,
    var(--client-grad-2) 76%,
    var(--client-grad-3) 88%,
    var(--client-grad-4) 100%
  );
  border: 1px solid var(--client-card-border-dark);
  box-shadow: 0 1rem 3rem var(--client-card-shadow-dark), inset 0 0 0 1px var(--client-card-inset-dark);
}

.client-card img {
  max-height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: filter 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.letsboot-img {
  padding: 0.7rem;
}

.osterwalder-img {
  padding: 0.5rem;
}

.logo-oval {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 9999px;
  padding: 0.85rem 1.6rem;
}

.logo-oval img {
  max-height: 3.301rem;
  width: auto;
  object-fit: contain;
}

.client-card:hover {
  transform: translateY(-0.125rem);
  border-color: var(--ui-hover-border);
  box-shadow: 0 0.75rem 2.25rem var(--ui-hover-shadow);
}

.client-card:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

.clients-note {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--muted);
}

.client-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.client-tooltip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.25rem);
  background: var(--card);
  color: var(--text);
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.client-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0.375rem;
  border-style: solid;
  border-color: var(--card) transparent transparent transparent;
}

.client-link:hover .client-tooltip,
.client-link:focus-visible .client-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===========================
   Contact
=========================== */

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

.contact-card {
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius);
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  background: var(--card);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card .icon-row {
  flex-direction: row;
  margin-bottom: 0;
}

.contact-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.contact-card-accent {
  border-color: var(--accent-35);
  background: linear-gradient(180deg, var(--accent-12), var(--surface-02));
}

.steps {
  margin: 0.3rem 0 0.875rem;
  padding-left: 1.125rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.small {
  font-size: 0.8125rem;
}

/* ===========================
   Footer
=========================== */

.site-footer {
  border-top: 0.0625rem solid var(--border);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: right;
}

.footer-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

/* ===========================
   Modal
=========================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--modal-backdrop);
}

.modal-dialog {
  position: relative;
  width: min(56rem, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  overflow: auto;
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: 1.125rem;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 0.0625rem solid var(--border);
}

.modal-title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.modal-content {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-content h3 {
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: 0;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.25rem;
}

.modal-close:hover {
  color: var(--accent);
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 61.25rem) {

  .brand-logo {
    height: 2.5rem;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .lead {
    max-width: 95%;
  }

  .cta-row {
    justify-content: center;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .stack-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 2.5rem 0;
  }

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

  .footer-text {
    margin-top: 0;
  }
}

@media (max-width: 47.5rem) {
  .skip-link {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    text-align: center;
  }

  .brand-logo {
    height: 2.5rem;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: inline-block;
  }

  .cards,
  .stack-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .profile-card h4 {
    margin: 1.125rem 0 0.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .site-footer {
    padding: 1.5rem 0;
  }

  .section {
    padding: 1.5rem 0;
  }

  .hero {
    padding: 1.875rem 0 1.875rem;
  }

  .section-head {
    margin-bottom: 1.1rem;
    padding: 0 0.25rem;
  }

  .section-head h2 {
    font-size: 1.45rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
  }

  .section-head p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 40ch;
  }

  .clients-head {
    margin-top: 2rem;
    margin-bottom: 1.1rem;
    padding: 0 0.25rem;
  }

  .clients-head p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 40ch;
  }

  .hero {
    padding: 1.5rem 0;
  }

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

  .section-head h2 {
    font-size: 1.3rem;
  }

  .lead {
    font-size: 0.975rem;
    line-height: 1.65;
  }

  .cta-row {
    gap: 0.625rem;
    margin: 1rem 0 0;
  }

  .btn {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
  }

  .card,
  .stack-card,
  .about-card,
  .profile-card,
  .contact-card {
    padding: 0.95rem;
    border-radius: 0.95rem;
  }

  .card h3 {
    font-size: 0.98rem;
    line-height: 1.25;
    min-height: 1.25rem;
  }

  .card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .mini {
    padding-left: 1.05rem;
    gap: 0.35rem;
  }

  .hero-card-inner {
    padding: 1rem;
  }

  .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.55rem;
  }

  .checklist {
    gap: 0.55rem;
  }

  .checklist li {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .profile-head {
    gap: 0.75rem;
  }

  .avatar {
    width: 3.5rem;
    height: 5.5rem;
    border-radius: 1rem;
    margin-bottom: 0.15rem;
  }

  .profile-name {
    font-size: 1.05rem;
  }

  .profile-role,
  .profile-edu {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .mobile-menu {
    padding: 6.25rem 1.25rem 1.25rem;
  }

  .mobile-nav {
    gap: 0.9rem;
  }

  .mobile-nav a {
    padding: 0.45rem 0.65rem;
    letter-spacing: 0.04em;
    font-size: 1.2rem;
  }

  .client-card {
    padding: 0.95rem;
    min-height: 5.75rem;
    border-radius: 0.95rem;
  }
}

@media (max-width: 30rem) {
  .hero {
    padding-top: 1.3rem;
  }

  .lead {
    font-size: 0.975rem;
    line-height: 1.65;
    max-width: 100%;
  }

  .btn.primary,
  .btn.ghost {
    width: 100%;
  }

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