/* Typography: Jost (geometric) · Work Sans (neo-grotesque) · Barlow Semi Condensed (labels) */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600;700&family=Jost:ital,wght@0,400;0,500;0,600;0,700&family=Work+Sans:ital,wght@0,400;0,500;0,600;0,700&display=swap");

/* Scroll targets: offset below sticky nav header */
#top,
#certifications,
#skills,
#logos,
#inspiration,
#testimonials,
#contact {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

/* About: same clearance as other anchors, plus 30px so the section lands higher on the page */
#about {
  scroll-margin-top: calc(var(--header-height) + 18px + 30px);
}

:root {
  --bg: #f5f5f7;
  --bg-alt: #f9fafb;
  --bg-soft: #e5e7eb;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --heading-accent: #1e3a8a;
  --text-main: #111827;
  --text-muted: #4b5563;
  --border-subtle: rgba(148, 163, 184, 0.6);
  --border-strong: rgba(203, 213, 225, 0.9);
  --radius-lg: 9px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --content-max: 1080px;
  --header-height: 4.5rem;
  --body-copy-size: calc(0.96rem - 1pt);
  --body-copy-line: 1.72;
  --body-copy-weight: 400;
  /* Testimonials: .inspiration-quote padding-left; mark sits in this band — gap below ≈ inset minus ~1rem mark width */
  --testimonial-quote-text-inset: 1.65rem;
  --testimonial-mark-to-text-gap: max(
    0.45rem,
    calc(var(--testimonial-quote-text-inset) - 1rem)
  );
  /* Body: Work Sans · Headings: Jost · Uppercase / condensed UI: Barlow Semi Condensed */
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-callout: "Barlow Semi Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.85);
  --shadow-subtle: 0 18px 35px rgba(15, 23, 42, 0.6);
  --linkedin-color: #0a66c2;
  --linkedin-color-hover: #084c95;
  --logo-glow: rgba(5, 80, 55, 0.55);
  --stamp-outline: rgba(234, 88, 12, 0.82);
  --stamp-outline-dashed: rgba(234, 88, 12, 0.55);
  /* Gold ring on primary CTA hover (same ramp as .hero-image / .contact-form-icon) */
  --cta-hover-ring: linear-gradient(
    325deg,
    #a16207 0%,
    #ca8a04 22%,
    #eab308 45%,
    #facc15 68%,
    #fde047 86%,
    #fef9c3 100%
  );
}

body[data-theme="nocturne"] {
  --bg: #0b1220;
  --bg-alt: #111827;
  --bg-soft: #1f2937;
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.18);
  --heading-accent: #bfdbfe;
  --text-main: #e5e7eb;
  --text-muted: #cbd5e1;
  --logo-glow: rgba(8, 12, 22, 0.65);
}

body[data-theme="nocturne"] {
  background:
    radial-gradient(circle at 0 0, var(--accent-soft), transparent 40%),
    radial-gradient(circle at top, #111827 0, #0f172a 55%, #020617 100%);
}

body[data-theme="nocturne"]::before {
  background-image: url("assets/images/bg_2dark.png");
}

body[data-theme="nocturne"] .site-header {
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.9));
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.5);
}

body[data-theme="nocturne"] .site-footer {
  background: linear-gradient(to top, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.85));
}

body[data-theme="nocturne"] .card {
  background: rgba(15, 23, 42, 0.72);
}

body[data-theme="nocturne"] .brand-logo {
  filter: grayscale(1) brightness(1.8) contrast(1.05) drop-shadow(0 0 12px var(--logo-glow));
}

body[data-theme="sage"] {
  --bg: #f6f8f3;
  --bg-alt: #eef3e9;
  --bg-soft: #dde7d4;
  --accent: #3f7d58;
  --accent-soft: rgba(63, 125, 88, 0.12);
  --heading-accent: #1f5138;
  --text-main: #1c2b22;
  --text-muted: #425446;
  --logo-glow: rgba(20, 55, 38, 0.55);
}

body[data-theme="sage"] {
  background:
    radial-gradient(circle at 0 0, var(--accent-soft), transparent 38%),
    radial-gradient(circle at top, #fbfcfa 0, #f2f6ee 52%, #dde7d4 100%);
}

body[data-theme="sage"]::before {
  background-image: url("assets/images/bg_2dark.png");
}

body[data-theme="sage"] .site-header {
  background: linear-gradient(to bottom, rgba(240, 246, 236, 0.95), rgba(252, 253, 250, 0.92));
  box-shadow: 0 10px 22px rgba(31, 81, 56, 0.08);
}

body[data-theme="sage"] .site-footer {
  background: linear-gradient(to top, #edf4e7, #fbfcfa);
}

body[data-theme="sage"] .card {
  background: #fcfdfb;
}

body[data-theme="terracotta"] {
  --bg: #fbf4ec;
  --bg-alt: #f9eee2;
  --bg-soft: #efd8c3;
  --accent: #b45309;
  --accent-soft: rgba(180, 83, 9, 0.12);
  --heading-accent: #7c2d12;
  --text-main: #3f220f;
  --text-muted: #6b4229;
  --logo-glow: rgba(80, 30, 12, 0.55);
}

body[data-theme="terracotta"] {
  background:
    radial-gradient(circle at 0 0, var(--accent-soft), transparent 38%),
    radial-gradient(circle at top, #fffaf5 0, #fbf1e7 52%, #efd8c3 100%);
}

body[data-theme="terracotta"]::before {
  background-image: url("assets/images/bg_2dark.png");
}

body[data-theme="terracotta"] .site-header {
  background: linear-gradient(to bottom, rgba(252, 241, 228, 0.95), rgba(255, 250, 245, 0.93));
  box-shadow: 0 10px 24px rgba(124, 45, 18, 0.09);
}

body[data-theme="terracotta"] .site-footer {
  background: linear-gradient(to top, #f8e9da, #fffaf5);
}

body[data-theme="terracotta"] .card {
  background: #fffdf9;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--body-copy-weight);
  background: linear-gradient(
    135deg,
    #7c3aed 0%,
    #06b6d4 35%,
    #10b981 65%,
    #3b82f6 100%
  );
  color: #ffffff;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("assets/images/bg_2dark.png");
  background-size: 210% auto;
  background-repeat: no-repeat;
  background-position: var(--bg-image-x, 0%) center;
  will-change: background-position;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2.8vw, 2rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #f8f9fa;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  border-bottom: none;
}

.site-header .container {
  max-width: var(--content-max);
  padding-inline: clamp(1.25rem, 2.8vw, 2rem);
}

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

.header-identity {
  min-width: 0;
}

.header-identity-link {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.header-identity-link:focus-visible {
  outline: 2px solid var(--heading-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: none;
  margin: 0;
  color: var(--heading-accent);
}

.tagline {
  font-family: var(--font-heading);
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  font-family: var(--font-heading);
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: none;
  color: var(--heading-accent);
}

.nav a {
  position: relative;
  color: var(--heading-accent);
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  padding-bottom: 0.2rem;
  text-transform: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--heading-accent);
  margin: 0 auto;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 6px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #2563eb, #7c3aed);
  transition: width 0.18s ease-out;
}

.nav a:hover {
  color: var(--text-main);
}

.nav a:hover::after {
  width: 100%;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.155rem;
  height: 1.155rem;
  padding-bottom: 0;
  margin-left: 0.1rem;
  color: #ffffff;
}

.nav-contact .coffee-icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.nav a.nav-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  padding-bottom: 0;
  margin-left: 0.1rem;
  color: var(--heading-accent);
}

.nav a.nav-linkedin .linkedin-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.nav a.nav-linkedin .linkedin-icon--outline path {
  fill: currentColor;
}

.nav a.nav-linkedin::after {
  display: none;
}

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


.nav a.nav-linkedin:hover {
  color: var(--text-main);
}

.hero {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 5vw, 4.5rem);
  border-bottom: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  position: relative;
}

.hero-text {
  width: 100%;
  text-align: left;
}

.hero-stamp {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 193px;
  height: 193px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border: 4px solid var(--stamp-outline);
  border-radius: 999px;
  background: rgb(255, 248, 235);
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.18);
  transform: rotate(12deg);
}

.hero-stamp::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed var(--stamp-outline-dashed);
  border-radius: 999px;
}

.hero-stamp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 999px;
  background: radial-gradient(
    ellipse 50% 30% at 28% 18%,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.6) 30%,
    rgba(255, 255, 255, 0.2) 55%,
    transparent 80%
  );
  pointer-events: none;
  opacity: var(--stamp-specular-opacity, 0.7);
  transition: opacity 0.25s ease-out;
}

.hero-stamp__top,
.hero-stamp__focus {
  position: relative;
  z-index: 1;
  color: #7c2d12;
  text-align: center;
  text-transform: uppercase;
}

.hero-stamp__icon {
  position: absolute;
  z-index: 2;
  display: block;
  width: 30px;
  height: 30px;
  top: 37%;
  right: 1.15rem;
  margin-bottom: 0;
  color: #7c2d12;
  opacity: 1;
}

.hero-stamp__icon--left {
  left: 1.15rem;
  right: auto;
}

.hero-stamp__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #7c2d12;
  fill-opacity: 1;
  opacity: 1;
}

.hero-stamp__icon svg path {
  fill: #7c2d12;
  fill-opacity: 1;
}

.hero-stamp__ring-text {
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
}

.hero-stamp__ring-text svg {
  width: 100%;
  height: 100%;
}

.hero-stamp__ring-text text {
  fill: #7c2d12;
  font-family: var(--font-heading);
  font-size: 7.2px;
  font-weight: 700;
  letter-spacing: 0.85px;
  text-transform: uppercase;
}

.hero-stamp__ring-text textPath {
  dominant-baseline: middle;
  text-anchor: middle;
}

.hero-stamp__ring-text--bottom text {
  font-size: 6.1px;
  letter-spacing: 0.5px;
}

.hero-stamp__focus {
  font-size: 3.381rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin-top: 0.03rem;
}

.hero-text h2 {
  font-family: var(--font-heading);
  max-width: none;
  font-size: clamp(1.83rem, 2.82vw + 0.7rem, 3.1rem);
  line-height: calc(0.96em + 5px);
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 30px;
  color: #ffffff;
}

@keyframes hero-welcome-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-welcome-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  margin: 1.5rem 0 1rem;
  font-size: clamp(1.25rem, 2vw + 0.65rem, 1.85rem);
  animation: hero-welcome-fade 1.2s ease-out forwards;
  opacity: 0;
}

.hero-welcome-pin {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.hero-welcome-pin-icon {
  width: 1em;
  height: 1em;
  color: #fbbf24;
  display: block;
}

.hero-welcome {
  margin: 0;
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1em;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.25;
}

.hero-subtitle {
  margin: 0 0 1rem;
  color: #ffffff;
  max-width: 40rem;
  font-size: calc(1rem + 6px);
  line-height: 1.75;
  text-align: left;
}

.hero-intro-row {
  min-width: 0;
}

.hero-intro-wrap {
  display: flex;
  flex-direction: column;
  gap: calc(1.5rem + 15px);
  margin-bottom: 1.5rem;
  min-width: 0;
}

.hero-intro {
  margin: 0;
  color: #ffffff;
  max-width: 42rem;
  font-size: calc(1rem + 6px);
  line-height: 1.75;
  text-align: left;
}

.hero-image-container {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 100%;
}

.hero-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image {
  width: 148px;
  height: 148px;
  min-width: 148px;
  min-height: 148px;
  border-radius: 50%;
  border: none;
  padding: 4px;
  background: linear-gradient(
    325deg,
    #a16207 0%,
    #ca8a04 22%,
    #eab308 45%,
    #facc15 68%,
    #fde047 86%,
    #fef9c3 100%
  );
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}

.hero-image-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
  background: #e5e7eb;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  vertical-align: middle;
}

/* Portrait caption: name + role, centered under image */
.hero-image-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.45rem 0 0;
  padding: 0 0.25rem;
  max-width: 13.5rem;
  text-align: center;
  color: var(--heading-accent);
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: var(--body-copy-weight);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-image-caption-name {
  display: block;
  width: 100%;
  text-align: center;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.hero-image-caption-role {
  display: block;
  margin-top: 0.35rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: calc(var(--body-copy-size) - 2pt);
  font-weight: var(--body-copy-weight);
  /* Half the excess leading over 1× (was --body-copy-line 1.72 → ~1.36) */
  line-height: calc(1 + (var(--body-copy-line) - 1) / 2);
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.hero-proof-strip {
  margin: 0 0 1.5rem;
  padding: 0.6rem 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: var(--body-copy-size);
  font-weight: var(--body-copy-weight);
  letter-spacing: 0.03em;
  line-height: var(--body-copy-line);
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-pill);
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  transition: background 0.16s ease-out, transform 0.12s ease-out,
    box-shadow 0.16s ease-out, border-color 0.16s ease-out, color 0.16s ease-out;
}

.btn.primary {
  background: #1e3a8a;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
  color: #ffffff;
}

.btn.primary:hover {
  color: var(--heading-accent);
  border: 3px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--cta-hover-ring) border-box;
  background-clip: padding-box, border-box;
  -webkit-background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  box-shadow: none;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.96);
}

.btn.full-width {
  width: 100%;
}

.hero-note {
  font-size: var(--body-copy-size);
  line-height: var(--body-copy-line);
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-aside {
  display: flex;
  justify-content: flex-end;
  padding-top: 0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(124, 58, 237, 0.08);
  max-width: 340px;
  color: var(--text-main);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--heading-accent);
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: var(--body-copy-size);
  line-height: var(--body-copy-line);
}

.hero-card li + li {
  margin-top: 0.25rem;
}

.section {
  position: relative;
  padding: clamp(4rem, 7vw, 5.5rem) 0;
}

/* White hairline between main sections: 1px, ⅔ viewport, soft edges */
.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 66.666vw;
  max-width: calc(100% - 2rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* “My UX training and development” — no divider above this block (follows About closely) */
#certifications.section::before {
  content: none;
  display: none;
}

#certifications {
  margin-top: -50px;
}

.section-alt {
  background: transparent;
}

.section-header {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-heading);
  margin: 0 0 0.8rem;
  font-size: clamp(1.65rem, 1.1vw + 1.3rem, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.section-header p {
  margin: 0 auto;
  color: #ffffff;
  max-width: 42rem;
  font-size: calc(1rem + 6px);
  line-height: 1.75;
}

/* Certifications: same stack as About .impact-item (icon above subheading) */
.certifications-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header .certifications-section-heading h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--heading-accent);
}

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

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

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

.grid .card--span-all,
.grid .grid-span-all {
  grid-column: 1 / -1;
}

.card--full-width {
  width: 100%;
  max-width: 100%;
}

/* Single card in last row: center it. Exclude when last row has 2 cards (5-card or 7-child grids). */
.three-column:not(:has(> .card:nth-last-child(2):nth-child(3n))):not(:has(> .card:nth-last-child(2):nth-child(3n+1))) .card:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: calc((100% - 4rem) / 3);
}

.two-column .card:last-child:nth-child(2n+1) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 50%;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(124, 58, 237, 0.08);
  min-height: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  color: var(--text-main);
}

.card--ai-stamped {
  position: relative;
  overflow: visible;
}

.skill-stamp {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 85px;
  height: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  border: 2px solid var(--stamp-outline);
  border-radius: 999px;
  background: rgb(255, 248, 235);
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.2);
  transform: rotate(10deg);
  pointer-events: none;
  z-index: 2;
}

.skill-stamp::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px dashed var(--stamp-outline-dashed);
  border-radius: 999px;
}

.skill-stamp__icon,
.skill-stamp__focus {
  position: relative;
  z-index: 2;
  color: #7c2d12;
  text-align: center;
  text-transform: uppercase;
}

.skill-stamp__icon {
  position: absolute;
  z-index: 2;
  display: block;
  width: 14.72px;
  height: 14.72px;
  top: 63%;
  right: 0.5rem;
  transform: translateY(-50%);
  margin-bottom: 0;
  opacity: 1;
}

.skill-stamp__icon--left {
  left: 0.5rem;
  right: auto;
}

.skill-stamp__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #7c2d12;
  fill-opacity: 1;
  opacity: 1;
}

.skill-stamp__icon svg path {
  fill: #7c2d12;
  fill-opacity: 1;
}

.skill-stamp__ring-text {
  position: absolute;
  inset: 4px;
  z-index: 2;
  pointer-events: none;
}

.skill-stamp__ring-text svg {
  width: 100%;
  height: 100%;
}

.skill-stamp__ring-text text {
  fill: #7c2d12;
  font-family: var(--font-heading);
  font-size: 11.9px;
  font-weight: 700;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}

.skill-stamp__ring-text textPath {
  dominant-baseline: middle;
  text-anchor: middle;
}

.skill-stamp__ring-text--top text {
  font-size: 10.14px;
}

.skill-stamp__ring-text--bottom text {
  font-size: 10px;
  letter-spacing: 0.4px;
}

.skill-stamp__focus {
  font-size: 1.78rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.card h3,
.card h4 {
  font-family: var(--font-heading);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--heading-accent);
}

.inspiration-quote {
  font-family: var(--font-heading);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: left;
  align-self: flex-start;
  position: relative;
  padding-left: 0;
}

.inspiration-quote::before {
  content: "“";
  position: absolute;
  left: calc(-0.62rem - 4px);
  top: -0.08rem;
  font-size: 1.42em;
  line-height: 1;
  color: #ffffff;
}

.inspiration-copy {
  display: block;
  align-self: start;
  margin-top: 0;
  padding-top: 0;
  text-align: left;
  max-width: 62ch;
}

/* Keep copy stacks top-left aligned and consistent across items. */
.inspiration-copy .inspiration-quote {
  min-height: 0;
  display: block;
  margin-top: 0;
  align-self: flex-start;
  text-align: left;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--body-copy-size);
  font-weight: var(--body-copy-weight);
  line-height: var(--body-copy-line);
  overflow-wrap: break-word;
}

.card p + p {
  margin-top: 1rem;
}

.certification-link {
  color: var(--heading-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

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

.certification-item {
  min-width: 0;
}

.certification-item + .certification-item {
  margin-top: 1.5rem;
}

.certifications-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  justify-items: center;
}

.certification-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.certification-block .card,
.certification-block .certification-item {
  text-align: center;
}

.certification-block .card {
  align-self: flex-start;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.certifications-layout .certification-block:nth-child(2) .card {
  padding-left: 2.5rem;
}

.certifications-layout .certification-block:nth-child(3) .card {
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

.certifications-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-height: 52px;
  flex-shrink: 0;
  width: 100%;
}


.certifications-logo-cell .certification-logo {
  margin: 0;
}

.certification-logo {
  display: block;
  margin: 0 0 0.85rem;
  width: auto;
  height: auto;
  max-width: 100%;
}

.certification-logo--nng {
  max-width: min(82.5px, 100%);
  max-height: 25.3px;
}

.certification-logo--ixdf {
  max-width: min(239px, 100%);
  max-height: 48px;
}

.certification-logo--emerson {
  max-width: min(173px, 100%);
  max-height: 52px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.skill-card-icon {
  display: block;
  width: 30px;
  height: 30px;
  color: #fbbf24;
  margin: 0 0 0.4rem;
  flex-shrink: 0;
}

.inspiration-card {
  position: relative;
  overflow: visible;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem 2.75rem;
  border: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(124, 58, 237, 0.08);
  max-width: 860px;
  margin: 0 auto;
}

.inspiration-stamp {
  position: absolute;
  top: -97px;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  width: 122px;
  height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(16, 185, 129, 0.82);
  border-radius: 999px;
  background: rgb(236, 253, 245);
  pointer-events: none;
  z-index: 10;
}

.inspiration-stamp::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px dashed rgba(16, 185, 129, 0.5);
  border-radius: 999px;
}

.inspiration-stamp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 999px;
  background: radial-gradient(
    ellipse 50% 30% at 28% 18%,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.6) 30%,
    rgba(255, 255, 255, 0.2) 55%,
    transparent 80%
  );
  pointer-events: none;
  opacity: var(--inspiration-stamp-specular-opacity, 0.7);
  transition: opacity 0.25s ease-out;
}

.inspiration-stamp__icon {
  position: relative;
  z-index: 2;
  display: block;
  width: 104px;
  height: 104px;
  color: #10b981;
  opacity: 1;
}

.inspiration-stamp__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #10b981;
  stroke: #10b981;
  fill-opacity: 1;
  opacity: 1;
  filter: drop-shadow(-1.5px -1.5px 0 rgba(255, 255, 255, 0.8))
    drop-shadow(1.5px 1.5px 1.5px rgba(0, 0, 0, 0.25))
    drop-shadow(2.5px 2.5px 4px rgba(0, 0, 0, 0.14));
}

.inspiration-stamp__icon svg path {
  fill: #10b981;
  fill-opacity: 1;
}

.inspiration-stamp__icon svg circle {
  fill: #10b981;
  stroke: none;
}

.inspiration-stamp__icon svg circle.compass-center {
  fill: white;
}

/* All quotes in inspiration-card (Inspiration + Testimonials): shared typography */
.inspiration-card .inspiration-quote,
.inspiration-card .inspiration-quote::before {
  color: var(--heading-accent);
  font-family: var(--font-heading);
  font-size: 1.248rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.inspiration-card .inspiration-quote {
  margin: 0 0 0.5rem;
  position: relative;
}

/* Inspiration & Testimonials: hanging quote (quote mark left of indented text) - EXACT same styling */
.inspiration-card .inspiration-grid .inspiration-quote,
#testimonials .testimonials-item .inspiration-quote {
  padding-left: var(--testimonial-quote-text-inset);
  text-align: left;
}

.inspiration-card .inspiration-grid .inspiration-quote::before,
#testimonials .testimonials-item .inspiration-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.08rem;
  font-size: 2.13em;
  line-height: 1;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* Inspiration: hanging quote must stay absolute at all breakpoints (media queries used to force relative/flow) */
#inspiration .inspiration-copy .inspiration-quote {
  position: relative;
  padding-left: var(--testimonial-quote-text-inset);
  text-align: left;
}

#inspiration .inspiration-copy .inspiration-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.08rem;
  font-size: 2.13em;
  line-height: 1;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* Labels under circular portraits in Inspiration (not testimonials — those use #testimonials …) */
.inspiration-card .inspiration-name {
  color: var(--heading-accent);
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: var(--body-copy-weight);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

#inspiration .inspiration-media .inspiration-name {
  text-align: center;
}

/* Inspiration body copy: match About section */
.inspiration-card .inspiration-copy p {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--body-copy-size);
  font-weight: var(--body-copy-weight);
  line-height: var(--body-copy-line);
  overflow-wrap: break-word;
}

/* Inspiration: body copy aligns with indented quote above */
.inspiration-card .inspiration-grid .inspiration-copy p {
  padding-left: var(--testimonial-quote-text-inset);
}

/* Testimonials: 2-column layout with consistent gap between top and bottom blocks per column */
.testimonials-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
  justify-items: start;
  align-items: start;
  max-width: 100%;
}

.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
  width: 100%;
  max-width: 62ch;
}

/* Fill each half of the card; 62ch on .testimonials-col + .inspiration-copy made blocks narrower than the grid track */
#testimonials .testimonials-columns {
  justify-items: stretch;
  justify-content: start;
  width: 100%;
}

#testimonials .testimonials-col {
  justify-self: stretch;
  align-self: start;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  align-items: stretch;
}

#testimonials .inspiration-card {
  text-align: left;
}

#testimonials .testimonials-item {
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

#testimonials .testimonials-item .inspiration-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
  text-align: left;
  justify-self: stretch;
}

#testimonials .testimonial-content {
  width: 100%;
  max-width: none;
  text-align: left;
}

#testimonials .testimonials-item .inspiration-quote,
#testimonials .testimonials-item .inspiration-name,
#testimonials .testimonials-item .testimonial-role {
  text-align: left;
}

.testimonial-content .inspiration-name {
  margin: 0 0 0.5rem;
}

/* Testimonials: hanging quote styled like Inspiration (::before on inspiration-quote) */

/* Testimonials: sub titles = blue title style; wrap at em dash; role after dash matches Inspiration card name size */
#testimonials .testimonials-item .inspiration-name {
  font-family: var(--font-callout);
  font-size: var(--body-copy-size);
  font-weight: 400;
  line-height: var(--body-copy-line);
  color: var(--text-muted);
  margin: 0;
  padding-left: var(--testimonial-quote-text-inset);
  text-align: left;
}

#testimonials .testimonials-item .testimonial-role {
  font-family: var(--font-body);
  font-size: var(--body-copy-size);
  font-weight: var(--body-copy-weight);
  line-height: var(--body-copy-line);
  color: var(--text-muted);
}

/* Testimonial logos: fixed-height row, center-aligned across columns */
.testimonial-logo-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  margin-bottom: 0.05rem;
}


.testimonial-logo {
  display: block;
  width: 58px;
  height: 29px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.7;
  /* Grey to match body text (--text-muted #4b5563) */
  filter: brightness(0) saturate(0) invert(38%);
}

.testimonial-logo--allen-gerritsen {
  width: 157px;
  height: 79px;
}

.testimonial-logo--tripadvisor {
  width: 64px;
  height: 31px;
}

.testimonial-logo--sanofi {
  width: 70px;
  height: 35px;
}


.inspiration-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.9rem;
  max-width: 800px;
  margin: 0 auto;
  transform: translateX(2rem);
  padding-bottom: 1.25rem;
}

/* Inspiration only: flush left inside the card (grid is not used elsewhere) */
#inspiration .inspiration-grid {
  margin-left: 0;
  margin-right: auto;
  transform: none;
  width: 100%;
  max-width: 100%;
}

.inspiration-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: start;
  gap: 1.2rem;
  text-align: left;
}

#inspiration .inspiration-item {
  align-items: center;
}

#inspiration .inspiration-grid .inspiration-item + .inspiration-item {
  margin-top: 18px;
}

.inspiration-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

/* Both rows: portrait + callout centered in the narrow column (matches Paul ↔ John visually) */
#inspiration .inspiration-media {
  align-items: center;
  text-align: center;
}

.inspiration-photo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.inspiration-name {
  margin: 0.45rem 0 0;
  font-family: var(--font-callout);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  text-align: center;
}

.inspiration-copy p {
  margin: 0;
  text-align: left;
  font-family: var(--font-body);
  font-weight: var(--body-copy-weight);
}

.subsection-heading-wrap {
  margin-bottom: 1.5rem;
  text-align: center;
}

.subsection-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.impact-grid {
  margin-top: 1rem;
}

.impact-item {
  min-width: 0;
}

.impact-item-icon {
  display: block;
  width: 30px;
  height: 30px;
  color: #fbbf24;
  margin: 0 0 0.4rem;
  flex-shrink: 0;
}

.impact-item h4 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--heading-accent);
}

.impact-item p {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--body-copy-size);
  font-weight: var(--body-copy-weight);
  line-height: var(--body-copy-line);
  overflow-wrap: break-word;
}

.logo-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.25rem 0 0.25rem;
}

.brand-item {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 146px;
  padding: 0.75rem 1rem;
  text-align: center;
}

.brand-logo {
  display: block;
  max-width: 100%;
  max-height: 63px;
  width: auto;
  height: auto;
  margin: 0 auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px var(--logo-glow));
  opacity: 0.9;
  transition: opacity 0.24s ease-out;
}

.brand-name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  font-family: var(--font-callout);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.24s ease-out;
  pointer-events: none;
}

.brand-item:hover .brand-logo {
  opacity: 0;
}

.brand-item:hover .brand-name {
  opacity: 1;
}

/* Sanofi: current position indicator on hover */
.brand-item--current .brand-hover-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease-out;
  text-align: center;
}

.brand-item--current .brand-current-icon {
  width: 14px;
  height: 14px;
  color: #ffffff;
  filter: drop-shadow(0 0 12px var(--logo-glow));
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.brand-item--current .brand-hover-content .brand-name {
  position: static;
  display: block;
  font-family: var(--font-callout);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #ffffff;
  text-align: center;
}

.brand-item--current .brand-current-tenure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-callout);
  font-size: calc(0.63rem + 3pt);
  font-style: italic;
  color: #ffffff;
  line-height: 1.2;
  text-align: center;
}

.brand-item--current:hover .brand-hover-content {
  opacity: 1;
}

.brand-logo--sanofi {
  width: min(100%, 200px);
  max-height: 41px;
}

.brand-logo--tripadvisor {
  width: min(100%, 287px);
  max-height: 70px;
}

.brand-logo--logmein {
  width: min(100%, 273px);
  max-height: 56px;
}

.brand-logo--wawa {
  width: min(100%, 182px);
  max-height: 53px;
}

.brand-logo--irobot {
  width: min(100%, 178px);
  max-height: 46px;
}

.brand-logo--reebok {
  width: min(100%, 360px);
  max-height: 99px;
}

.brand-logo--vistaprint {
  width: min(100%, 218px);
  max-height: 48px;
  justify-self: center;
}

.brand-logo--monster {
  width: min(100%, 168px);
  max-height: 42px;
}

.brand-logo--bose {
  width: min(100%, 626px);
  max-height: 150px;
}

.brand-logo--allen-gerritsen {
  width: min(100%, 207px);
  max-height: 53px;
}

.brand-logo--emerson {
  width: min(100%, 230px);
  max-height: 45px;
  justify-self: center;
}

.brand-logo--mobiquity {
  width: min(100%, 207px);
  max-height: 42px;
  justify-self: center;
}

.brand-logo--bottomline {
  width: min(100%, 169px);
  max-height: 36px;
}

/* Celtics PNG: keep full color */
.brand-logo--celtics {
  filter: none;
  opacity: 1;
  object-fit: contain;
  width: min(100%, 200px);
  max-height: 80px;
}

/* Emerson PNG: white treatment matches other brand marks */
.brand-logo--emerson-img {
  width: min(100%, 200px);
  max-height: 56px;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo,
  .brand-name,
  .brand-item--current .brand-hover-content {
    transition: none;
  }

  body::before {
    background-position: center center, 0% center;
    will-change: auto;
  }
}

.contact-actions {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}

.top-link-wrap {
  text-align: center;
  margin: 2.75rem 0 2rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.top-link:hover {
  opacity: 1;
}

/* Return-to-top icons: JS sets html.viewport-desktop|tablet|phone; show one per viewport */
.top-link-icon-wrap {
  flex-shrink: 0;
}

/* Default + desktop: show desktop only */
.top-link-icon-wrap--desktop {
  display: inline-block;
}

.top-link-icon-wrap--tablet,
.top-link-icon-wrap--phone {
  display: none;
}

/* Tablet viewport: show tablet only */
html.viewport-tablet .top-link-icon-wrap--desktop,
html.viewport-tablet .top-link-icon-wrap--phone {
  display: none;
}

html.viewport-tablet .top-link-icon-wrap--tablet {
  display: inline-block;
}

/* Phone viewport: show phone only */
html.viewport-phone .top-link-icon-wrap--desktop,
html.viewport-phone .top-link-icon-wrap--tablet {
  display: none;
}

html.viewport-phone .top-link-icon-wrap--phone {
  display: inline-block;
}

.top-link-icon {
  display: block;
  flex-shrink: 0;
}

.top-link-icon-wrap--desktop .top-link-icon {
  width: 40px;
  height: 24px;
}

.top-link-icon-wrap--tablet .top-link-icon {
  width: 28px;
  height: 44px;
}

.top-link-icon-wrap--phone .top-link-icon {
  width: 24px;
  height: 44px;
}

.contact-layout {
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: flex-start;
}

#contact .section-header {
  margin-bottom: 4rem;
}

.contact-form-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 40%,
    transparent 70%
  );
  filter: blur(8px);
}

/* Yellow gradient ring: same technique as .hero-image */
.contact-form-icon {
  position: absolute;
  top: -39px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  padding: 3px;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(
    325deg,
    #a16207 0%,
    #ca8a04 22%,
    #eab308 45%,
    #facc15 68%,
    #fde047 86%,
    #fef9c3 100%
  );
  color: #ffffff;
  pointer-events: none;
  z-index: 2;
}

.contact-form-icon-inner {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  background: #1e3a8a;
}

.contact-form-icon .coffee-icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form-icon .coffee-icon path,
.contact-form-icon .coffee-icon line {
  stroke: currentColor;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(124, 58, 237, 0.08);
  color: var(--text-main);
  max-width: 420px;
  width: 100%;
}

.form-message {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: var(--body-copy-size);
  line-height: var(--body-copy-line);
}

.form-message--success {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.form-message--error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-callout);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #f8f9fa;
  color: var(--text-main);
  font: inherit;
  font-size: var(--body-copy-size);
  line-height: var(--body-copy-line);
  outline: none;
  transition: border-color 0.14s ease-out, box-shadow 0.14s ease-out,
    background 0.14s ease-out;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9ca3af;
}

.field input:focus,
.field textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.7);
  background: #f8f9fa;
}

.form-note {
  margin-top: 0.75rem;
  font-size: var(--body-copy-size);
  line-height: var(--body-copy-line);
  color: var(--text-muted);
}

.contact-copy {
  text-align: center;
}

.contact-copy h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.contact-copy p {
  color: #ffffff;
  font-size: var(--body-copy-size);
  line-height: var(--body-copy-line);
}

.contact-highlights {
  padding-left: 1.1rem;
  margin: 1rem 0 1rem;
  color: #ffffff;
  font-size: var(--body-copy-size);
  line-height: var(--body-copy-line);
}

.contact-highlights li + li {
  margin-top: 0.2rem;
}

.contact-note {
  font-size: var(--body-copy-size);
  line-height: var(--body-copy-line);
  color: #ffffff;
}

.site-footer {
  padding: 2.5rem 0 2.75rem;
  border-top: none;
  background: linear-gradient(to top, #f3f4f6, #ffffff);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.25;
  color: var(--heading-accent);
  text-align: center;
}

.footer-linkedin {
  display: flex;
  margin-right: 0;
  margin-bottom: 0;
}

.footer-content p {
  margin: 0;
}

.icon.fa-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-right: 0.36rem;
  color: var(--linkedin-color);
  vertical-align: -0.06rem;
}

.icon.fa-linkedin .linkedin-icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.icon.fa-linkedin:hover {
  color: var(--linkedin-color-hover);
}

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

.footer-content .footer-linkedin {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-note {
  max-width: 32rem;
  margin: 0 auto;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .header-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-identity {
    padding-right: 0.75rem;
  }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
    border-radius: 0;
    background: var(--heading-accent);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out,
      visibility 0.2s ease-out;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 0 1.25rem;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #ffffff;
    justify-content: flex-start;
  }

  .nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav a::after {
    display: none;
  }

  .nav a.nav-linkedin {
    width: 100%;
    min-height: 50px;
    padding: 0 1.25rem;
    margin-left: 0;
    color: #ffffff;
    justify-content: flex-start;
  }

  .nav a.nav-linkedin:hover {
    color: #ffffff;
  }

  .nav a.nav-linkedin .linkedin-icon {
    width: 30px;
    height: 30px;
  }

  .nav a.nav-contact {
    width: 100%;
    min-height: 50px;
    padding: 0 1.25rem;
    color: #ffffff;
    justify-content: flex-start;
  }

  .nav a.nav-contact .coffee-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  .nav a.nav-contact .coffee-icon path,
  .nav a.nav-contact .coffee-icon line {
    stroke: #ffffff;
  }

  .site-header .container {
    position: relative;
  }

  .logo-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .brand-logo {
    width: auto;
  }

  #inspiration .inspiration-grid {
    transform: none;
    justify-items: start;
  }

  #inspiration .inspiration-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
    text-align: center;
    max-width: 100%;
  }

  #inspiration .inspiration-media {
    align-items: center;
    order: 1;
    text-align: center;
  }

  #inspiration .inspiration-copy {
    order: 2;
    text-align: center;
  }

  #inspiration .inspiration-name {
    text-align: center;
  }

  #inspiration .inspiration-copy .inspiration-quote {
    min-height: 0;
  }

  #inspiration .inspiration-copy p {
    text-align: center;
  }

  #inspiration .inspiration-copy,
  #inspiration .inspiration-copy .inspiration-quote,
  #inspiration .inspiration-copy p {
    text-align: left;
  }

  #inspiration .inspiration-item {
    justify-items: start;
    text-align: left;
    align-items: center;
  }

  #inspiration .inspiration-media .inspiration-name {
    text-align: center;
  }

  .inspiration-photo {
    width: 84px;
    height: 84px;
  }

  .inspiration-stamp {
    width: 101px;
    height: 101px;
    top: -75px;
    left: 50%;
    transform: translateX(-50%) rotate(-8deg);
  }

  .inspiration-stamp__icon {
    width: 79px;
    height: 79px;
  }
}

@media screen and (max-width: 768px) {
  .hero .container {
    padding-left: calc(clamp(1.25rem, 2.8vw, 2rem) + 10px);
    padding-right: calc(clamp(1.25rem, 2.8vw, 2rem) + 10px);
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-intro-row {
    display: contents;
  }

  .hero-text h2 {
    order: 1;
  }

  .hero-image-container {
    order: 2;
    margin: 12px 0 calc(1rem - 10px);
    justify-content: center;
  }

  .hero-image-wrap {
    align-items: center;
  }

  .hero-image-caption {
    text-align: center;
  }

  .hero-image {
    width: calc(148px * 1.1);
    height: calc(148px * 1.1);
    min-width: calc(148px * 1.1);
    min-height: calc(148px * 1.1);
  }

  .hero-intro-wrap {
    order: 3;
  }

  .hero-welcome-row {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-welcome {
    text-align: center;
  }

  .hero-intro {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    margin-top: -12px;
  }

  .hero-actions {
    align-self: center;
    max-width: 42rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Leadership + About: extra screen-edge inset for copy */
  #skills .container,
  #about .container {
    padding-left: calc(clamp(1.25rem, 2.8vw, 2rem) + 37px);
    padding-right: calc(clamp(1.25rem, 2.8vw, 2rem) + 37px);
  }
}

@media screen and (max-width: 900px) {
  :root {
    /* Slightly larger than desktop on narrow viewports; −1pt matches global body-copy tweak */
    --body-copy-size: calc(1.04rem - 1pt);
  }

  body::before {
    background-size: cover, 260% auto;
  }

  .header-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
  }

  .site-header .container {
    position: relative;
  }

  .header-identity {
    padding-right: 0.75rem;
  }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
    border-radius: 0;
    background: var(--heading-accent);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out,
      visibility 0.2s ease-out;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 0 1.25rem;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #ffffff;
    justify-content: flex-start;
  }

  .nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav a::after {
    display: none;
  }

  .nav a.nav-linkedin {
    width: 100%;
    min-height: 50px;
    padding: 0 1.25rem;
    margin-left: 0;
    color: #ffffff;
    justify-content: flex-start;
  }

  .nav a.nav-linkedin:hover {
    color: #ffffff;
  }

  .nav a.nav-linkedin .linkedin-icon {
    width: 30px;
    height: 30px;
  }

  .nav a.nav-contact {
    width: 100%;
    min-height: 50px;
    padding: 0 1.25rem;
    color: #ffffff;
    justify-content: flex-start;
  }

  .nav a.nav-contact .coffee-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  .nav a.nav-contact .coffee-icon path,
  .nav a.nav-contact .coffee-icon line {
    stroke: #ffffff;
  }

  .logo-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }

  .brand-item {
    min-height: 134px;
  }

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

  .hero-text {
    width: 100%;
  }

  .hero-stamp {
    width: 192px;
    height: 192px;
  }

  .hero-aside {
    justify-content: flex-start;
    padding-top: 0;
  }

  .hero-text h2 {
    max-width: 40rem;
  }

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

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

  .certifications-layout {
    justify-items: center;
  }

  .certification-block {
    max-width: 420px;
    width: 100%;
    text-align: center;
  }

  /*
   * NN/g mark is much shorter than the 52px logo row; centering left a large gap above the card.
   * Hug the logo so space below it + margin matches the IxDF block rhythm on narrow screens.
   */
  .certifications-layout .certification-block:has(.certification-logo--nng) .certifications-logo-cell {
    min-height: 0;
    height: auto;
  }

  /* Emerson College block centered when alone on second row (2-col layout) */
  .certifications-layout .certification-block:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  /* Symmetric padding for center alignment on tablet */
  .certifications-layout .certification-block:nth-child(2) .card,
  .certifications-layout .certification-block:nth-child(3) .card {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* At 900px: three-column last card centered when alone */
  .three-column .card:last-child:nth-child(2n+1) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc((100% - 1.75rem) / 2);
  }

  /* two-column becomes 1 col at 900px - reset centering so card matches others */
  .two-column .card:last-child:nth-child(2n+1) {
    grid-column: unset;
    justify-self: unset;
    max-width: none;
  }

  #inspiration .inspiration-grid {
    grid-template-columns: minmax(0, 1fr);
    transform: none;
    justify-items: start;
  }

  #inspiration .inspiration-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
    text-align: center;
    max-width: 100%;
  }

  #inspiration .inspiration-media {
    align-items: center;
    order: 1;
    text-align: center;
  }

  #inspiration .inspiration-copy {
    order: 2;
    text-align: center;
  }

  #inspiration .inspiration-name {
    text-align: center;
  }

  #inspiration .inspiration-copy .inspiration-quote {
    min-height: 0;
  }

  #inspiration .inspiration-copy p {
    text-align: center;
  }

  #inspiration .inspiration-copy,
  #inspiration .inspiration-copy .inspiration-quote,
  #inspiration .inspiration-copy p {
    text-align: left;
  }

  #inspiration .inspiration-item {
    justify-items: start;
    text-align: left;
    align-items: center;
  }

  #inspiration .inspiration-media .inspiration-name {
    text-align: center;
  }

  .testimonials-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.9rem 0;
  }

  #testimonials .inspiration-card {
    padding-top: 1.375rem;
  }

  .inspiration-photo {
    width: 84px;
    height: 84px;
  }

  .skill-stamp {
    width: 79px;
    height: 79px;
    top: -26px;
    right: -20px;
  }

  .inspiration-stamp {
    width: 101px;
    height: 101px;
    top: -75px;
    left: 50%;
    transform: translateX(-50%) rotate(-8deg);
  }

  .inspiration-stamp__icon {
    width: 79px;
    height: 79px;
  }

  #about .card.card--full-width .impact-grid {
    justify-items: stretch;
  }
}

/* Tablet: Inspiration rows — portrait + copy align to the left edge of the card */
@media screen and (max-width: 1100px) and (min-width: 721px) {
  #inspiration .inspiration-grid {
    justify-items: start;
  }

  #inspiration .inspiration-item {
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    justify-self: start;
    width: 100%;
    text-align: left;
    max-width: 100%;
  }

  #inspiration .inspiration-media {
    order: unset;
    align-items: center;
    justify-self: start;
    justify-content: flex-start;
    text-align: center;
  }

  #inspiration .inspiration-media .inspiration-name {
    text-align: center;
  }

  #inspiration .inspiration-copy {
    order: unset;
    text-align: left;
  }

  #inspiration .inspiration-copy .inspiration-quote {
    text-align: left;
  }

  #inspiration .inspiration-copy p {
    text-align: left;
  }
}

/* Headline full width; portrait + welcome + intro share one row (tops aligned; welcome aligns with intro) */
@media screen and (min-width: 769px) {
  .hero-text {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 2rem;
    align-items: start;
  }

  .hero-text h2 {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero-intro-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 2rem;
    align-items: start;
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  .hero-image-container {
    justify-content: flex-start;
    align-self: start;
    margin-top: 12px;
  }

  /* Vertically center welcome row with the circular portrait (same height as .hero-intro-row .hero-image) */
  .hero-welcome-row {
    margin-top: calc(12px + (148px * 1.21 * 0.85 - 1lh) / 2);
    margin-bottom: 0;
  }

  .hero-intro-wrap {
    margin-bottom: 0;
    min-width: 0;
  }

  .hero-intro-wrap .hero-intro {
    margin-top: -12px;
  }

  /* Desktop/tablet: ~21% over 148px base, then 15% smaller than that; mobile stays at 1.1× */
  .hero-intro-row .hero-image {
    width: calc(148px * 1.21 * 0.85);
    height: calc(148px * 1.21 * 0.85);
    min-width: calc(148px * 1.21 * 0.85);
    min-height: calc(148px * 1.21 * 0.85);
  }

  .hero-actions {
    justify-content: flex-start;
    width: 100%;
    max-width: 42rem;
    box-sizing: border-box;
  }
}


@media screen and (max-width: 720px) {
  .hero-actions {
    margin-bottom: 2.5rem;
  }

  .hero-stamp {
    position: static;
    margin: 2rem 0 0;
    transform: rotate(8deg);
  }

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

  .skill-stamp {
    width: 72px;
    height: 72px;
    top: -14px;
    right: -8px;
  }

  .inspiration-stamp {
    width: 101px;
    height: 101px;
    top: -75px;
    left: 50%;
    transform: translateX(-50%) rotate(-8deg);
  }

  .inspiration-stamp__icon {
    width: 79px;
    height: 79px;
  }

  body::before {
    background-size: cover, auto 100dvh;
  }

  .header-content {
    align-items: center;
    gap: 0.85rem;
  }

  .site-header .logo {
    font-size: 1.944rem;
  }

  .nav a {
    min-height: 75px;
    font-size: 1.53rem;
    line-height: 1.575;
  }

  .nav a.nav-linkedin {
    width: 100%;
    min-height: 75px;
  }

  .nav a.nav-contact {
    width: 100%;
    min-height: 75px;
    padding: 0 1.25rem;
    color: #ffffff;
    justify-content: flex-start;
  }

  .nav a.nav-contact .coffee-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  .nav a.nav-contact .coffee-icon path,
  .nav a.nav-contact .coffee-icon line {
    stroke: #ffffff;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-text h2 {
    max-width: none;
  }

  .three-column,
  .skills-grid,
  .certifications-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .certifications-layout {
    justify-items: center;
  }

  .certification-block {
    max-width: 420px;
    width: 100%;
    text-align: center;
  }

  /* Symmetric padding for center alignment on mobile */
  .certifications-layout .certification-block:nth-child(2) .card,
  .certifications-layout .certification-block:nth-child(3) .card {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .three-column .card:last-child:nth-child(3n+1),
  .two-column .card:last-child:nth-child(2n+1) {
    grid-column: unset;
    justify-self: unset;
    max-width: none;
  }

  #inspiration .inspiration-grid {
    transform: none;
    justify-items: start;
  }

  .testimonials-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.9rem 0;
  }

  #testimonials .inspiration-card {
    padding-top: 1.375rem;
  }

  /* Inspiration (phone): center portrait circles + callouts; copy block stays left-aligned */
  #inspiration .inspiration-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: stretch;
    max-width: 100%;
  }

  #inspiration .inspiration-media {
    align-items: center;
    justify-self: center;
    order: 1;
    width: 100%;
    text-align: center;
  }

  #inspiration .inspiration-copy {
    order: 2;
    text-align: left;
  }

  #inspiration .inspiration-media .inspiration-name,
  #inspiration .inspiration-name {
    text-align: center;
  }

  #inspiration .inspiration-copy .inspiration-quote {
    min-height: 0;
    text-align: left;
  }

  #inspiration .inspiration-copy p {
    text-align: left;
  }

  .inspiration-photo {
    width: 84px;
    height: 84px;
  }

  .top-link-wrap {
    margin-top: calc(2.75rem + 30px);
  }

  .top-link {
    min-width: 50px;
    min-height: 50px;
    opacity: 0.8;
  }

  .site-footer {
    padding: 1.8rem 0 2.1rem;
  }

  .footer-content {
    white-space: normal;
    line-height: 1.35;
  }

  /* Leadership + About: testimonial-style icon row — phone only (≤720px; tablet 721–900px stays stacked) */
  #skills .skills-grid > .card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: var(--testimonial-mark-to-text-gap);
    row-gap: 0;
    align-items: start;
    text-align: left;
  }

  #skills .skills-grid > .card .skill-card-icon {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    justify-self: start;
    align-self: start;
  }

  #skills .skills-grid > .card h3 {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    text-align: left;
  }

  #skills .skills-grid > .card p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    text-align: left;
  }

  #about .card.card--full-width .impact-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: var(--testimonial-mark-to-text-gap);
    row-gap: 0;
    align-items: start;
    text-align: left;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  #about .impact-item .impact-item-icon {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    justify-self: start;
    align-self: start;
  }

  #about .impact-item h4 {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    text-align: left;
  }

  #about .impact-item p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    text-align: left;
  }
}

/* ========== Career Era Badges (1995 → 2024) ========== */
.career-badge {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.career-badge__icon {
  position: absolute;
  z-index: 2;
  width: 24px;
  height: 24px;
  top: 38%;
  right: 1rem;
  color: inherit;
}

.career-badge__icon--left {
  left: 1rem;
  right: auto;
}

.career-badge__icon--top {
  left: 50%;
  right: auto;
  top: 0.75rem;
  transform: translateX(-50%);
}

.career-badge__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.career-badge__ring-text {
  position: absolute;
  inset: 8px;
  z-index: 2;
  pointer-events: none;
}

.career-badge__ring-text svg {
  width: 100%;
  height: 100%;
}

.career-badge__ring-text text {
  font-family: var(--font-heading);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.career-badge__ring-text textPath {
  dominant-baseline: middle;
  text-anchor: middle;
}

.career-badge__ring-text--bottom text {
  font-size: 5.2px;
  letter-spacing: 0.4px;
}

.career-badge__focus {
  font-size: 2.4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* Inline text for square/rect badges - same baseline as center, stacked */
.career-badge__inline-text {
  display: block;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.career-badge__inline-text--top {
  margin-bottom: 0.15rem;
}

.career-badge__inline-text--bottom {
  margin-top: 0.15rem;
}

/* 1995 Web 1.0 - Worn, aged, monospace/retro font */
.career-badge--web {
  width: 141px;
  height: 141px;
  border: 2px solid rgba(13, 148, 136, 0.55);
  border-radius: 12px;
  background: rgb(228, 224, 212);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #2d5a54;
  filter: sepia(0.25) saturate(0.85);
  transform: rotate(5deg);
}

.career-badge--web::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(13, 148, 136, 0.35);
  border-radius: 8px;
}

.career-badge--web .career-badge__inline-text {
  color: #2d5a54;
  font-family: "VT323", "Courier New", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.career-badge--web .career-badge__focus {
  font-family: "VT323", "Courier New", monospace;
  font-size: 2.52rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* 2001 Flash - Gear shape (12 tines), slightly worn, bold playful font */
.career-badge--flash {
  width: 180px;
  height: 180px;
  clip-path: url(#bottlecap-clip);
  -webkit-clip-path: url(#bottlecap-clip);
  border: 2px solid rgba(124, 58, 237, 0.6);
  border-radius: 999px;
  background: rgb(240, 232, 248);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #5b21b6;
  filter: sepia(0.12) saturate(0.92);
  transform: rotate(-3deg);
}

.career-badge--flash::before {
  content: "";
  position: absolute;
  inset: 38px;
  background: #5b21b6;
  border-radius: 999px;
}

.career-badge--flash::after {
  content: "";
  position: absolute;
  inset: 39px;
  border: 1.5px dashed rgba(124, 58, 237, 0.4);
  border-radius: 999px;
  pointer-events: none;
}

.career-badge--flash .career-badge__ring-text text {
  fill: #5b21b6;
  font-family: "Bangers", "Impact", sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1px;
}

.career-badge--flash .career-badge__ring-text--bottom text {
  font-size: 8px;
}

.career-badge--flash .career-badge__focus {
  font-family: "Bangers", "Impact", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #fff;
}

/* 2007 Mobile - Revolution era: sticker-style, phone-shaped */
.career-badge--mobile {
  width: 115px;
  height: 185px;
  padding: 12px 10px 32px 10px;
  border: 2px solid rgba(37, 99, 235, 0.6);
  border-radius: 18px;
  background: rgb(239, 246, 255);
  color: #1d4ed8;
  transform: rotate(2deg);
  box-sizing: border-box;
}

.career-badge--mobile::before {
  content: "";
  position: absolute;
  inset: 8px 8px 28px 8px;
  background: #1e3a8a;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 10px;
}

.career-badge--mobile::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #1d4ed8;
  border-radius: 50%;
}

.career-badge--mobile .career-badge__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  margin-top: 0.9rem;
}

.career-badge--mobile .career-badge__circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 154px;
  height: 154px;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 50%;
  z-index: 0;
}

.career-badge--mobile::before {
  z-index: 1;
}

.career-badge--mobile::after {
  z-index: 1;
}

.career-badge--mobile .career-badge__wifi,
.career-badge--mobile .career-badge__content {
  z-index: 1;
}

.career-badge--mobile .career-badge__wifi {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  color: #fff;
  opacity: 0.8;
  z-index: 2;
}

.career-badge--mobile .career-badge__wifi svg {
  display: block;
  width: 100%;
  height: 100%;
}

.career-badge--mobile .career-badge__inline-text {
  color: #fff;
  font-family: var(--font-callout);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  max-width: 100%;
}

.career-badge--mobile .career-badge__inline-text--top {
  margin-bottom: 0.05rem;
}

.career-badge--mobile .career-badge__inline-text--bottom {
  margin-top: 0.05rem;
}

.career-badge--mobile .career-badge__focus {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #fff;
}

/* 2013 Design Systems - Scale era: crisp, modular, grid-based */
.career-badge--systems {
  width: 200px;
  height: 120px;
  padding: 1rem 1.25rem;
  box-sizing: border-box;
  border: 2px solid #4338ca;
  border-radius: 4px;
  background: rgb(255, 255, 255);
  box-shadow:
    0 4px 12px rgba(67, 56, 202, 0.15),
    0 0 0 1px rgba(67, 56, 202, 0.08);
  color: #3730a3;
  transform: rotate(-4deg);
}

.career-badge--systems::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(67, 56, 202, 0.2);
  border-radius: 2px;
  background-image:
    linear-gradient(rgba(67, 56, 202, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 56, 202, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
}

.career-badge--systems .career-badge__icon {
  top: 0.75rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.career-badge--systems .career-badge__inline-text--top {
  margin-top: 0.75rem;
}

.career-badge--systems .career-badge__inline-text,
.career-badge--systems .career-badge__focus {
  width: 100%;
  text-align: center;
}

.career-badge--systems .career-badge__inline-text {
  color: #4338ca;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.career-badge--systems .career-badge__focus {
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* Formbutton launcher only: modal runs in an iframe styled by formbutton-form.css */
#formbutton-button {
  background: #1e3a8a !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35) !important;
  box-sizing: border-box !important;
}

@media (hover: hover) {
  #formbutton-button:hover {
    color: var(--heading-accent) !important;
    border: 3px solid transparent !important;
    background:
      linear-gradient(#ffffff, #ffffff) padding-box,
      var(--cta-hover-ring) border-box !important;
    background-clip: padding-box, border-box !important;
    -webkit-background-clip: padding-box, border-box !important;
    background-origin: padding-box, border-box !important;
    /* Ring: box-shadow applies in Formbutton DOM; outline alone is often clipped */
    box-shadow: 0 0 0 3px var(--heading-accent) !important;
  }
  #formbutton-button:hover path,
  #formbutton-button:hover line {
    stroke: var(--heading-accent) !important;
  }
}

