/* Irene Milhorn portfolio — static production stylesheet */

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

:root {
  --ink: #172032;
  --navy: #0b1530;
  --blue: #3f67ff;
  --electric: #765bff;
  --coral: #ff6f61;
  --cream: #f7f5ef;
  --white: #ffffff;
  --muted: #606b7d;
  --line: rgba(23, 32, 50, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

header, main {
  overflow: hidden;
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 2.5vw, 30px);
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  min-height: 46px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: white;
  background: rgba(11,21,48,.92);
  box-shadow: 0 12px 28px rgba(11,21,48,.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.back-to-top > span:first-child {
  font-size: 17px;
  line-height: 1;
}

.back-to-top:hover, .back-to-top:focus-visible {
  transform: translateY(-3px);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(63,103,255,.3);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--electric));
  box-shadow: 0 8px 22px rgba(63,103,255,.25);
  font-size: 13px;
  letter-spacing: .06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #475267;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--blue);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(23,32,50,.18);
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 670px;
  margin: 0 auto;
  padding: 78px 0 82px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -70px;
  background: radial-gradient(circle, rgba(118,91,255,.18), transparent 67%);
  pointer-events: none;
}

.eyebrow, .section-kicker {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 850;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
}

.star {
  color: var(--coral);
  display: inline-block;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(54px, 6.5vw, 88px);
  line-height: 1.08;
  letter-spacing: .004em;
  font-weight: 850;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 780;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover, .button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 14px 30px rgba(11,21,48,.18);
}

.button-primary:hover {
  box-shadow: 0 17px 36px rgba(11,21,48,.25);
}

.button-secondary {
  border: 1px solid rgba(23,32,50,.16);
  background: rgba(255,255,255,.55);
}

.hero-card {
  min-height: 480px;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(to top, rgba(7,14,35,.18), transparent 50%), url("assets/irene-milhorn-portrait-20260820.jpg?v=20260820-1") center 25% / cover no-repeat, linear-gradient(145deg, #101d43 0%, #1a2e61 48%, #5a4ae6 100%);
  border: 1px solid rgba(63,103,255,.18);
  box-shadow: 0 38px 80px rgba(25,43,95,.25);
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(135deg, rgba(63,103,255,.1), transparent 45%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 4;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px;
  pointer-events: none;
}

.hero-portrait {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.proof-strip {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 18px 24px;
  color: #dce3ff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.proof-strip .star {
  color: #7f91dd;
  font-size: 10px;
}

.intro {
  padding: 112px 20px 56px;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 18px;
}

.intro h2, .placeholder h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro > p:last-child {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.proof-work {
  padding: 112px max(20px, calc((100vw - 1180px) / 2)) 124px;
  background: #edf0ff;
}

.proof-heading {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: end;
  gap: 72px;
  margin-bottom: 54px;
}

.proof-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.proof-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.work-card {
  min-height: 470px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(63,103,255,.14);
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 45px rgba(47,63,122,.08);
}

.work-label {
  margin: 0 0 34px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 10px;
  font-weight: 850;
}

.work-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.16;
  letter-spacing: -.018em;
}

.work-copy {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.search-hidden-name::before {
  content: "\00004e\00006f\000072\000074\000068\000020\000041\00006d\000065\000072\000069\000063\000061\00006e\000020\000041\00006e\000061\00006c\000079\000074\000069\000063\000073";
}

.work-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.work-list li {
  padding-top: 11px;
  border-top: 1px solid rgba(23,32,50,.1);
  color: #606b7d;
  font-size: 13px;
  line-height: 1.55;
}

.work-list strong {
  color: var(--ink);
}

.work-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.work-link:hover, .work-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.work-card-client {
  color: white;
  background: linear-gradient(145deg, #101d43, #293f87);
  border-color: rgba(255,255,255,.1);
}

.work-card-client .work-label {
  color: #aebcff;
}

.work-card-client .work-copy, .work-card-client .work-list li {
  color: #c4cce1;
}

.work-card-client .work-list li {
  border-color: rgba(255,255,255,.13);
}

.work-card-client .work-list strong {
  color: white;
}

.interview-teaser {
  margin: auto 0 0;
  padding-top: 28px;
  color: #ffb4aa;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 750;
}

.work-card-institutions {
  background: linear-gradient(145deg, #fff 0%, #f1f4ff 100%);
}

.work-card-ai {
  background:
    radial-gradient(circle at 88% 8%, rgba(68, 96, 196, .14), transparent 32%),
    linear-gradient(145deg, #fff 0%, #f5f7ff 100%);
  border-color: rgba(68, 96, 196, .22);
}

.work-card-ai .work-label {
  color: #344fa9;
}

.work-card-results {
  background: linear-gradient(145deg, #fff 0%, #fff4f1 100%);
}

.work-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: auto;
  padding-top: 30px;
}

.work-metrics span {
  padding: 17px 14px;
  border: 1px solid rgba(255,111,97,.18);
  border-radius: 14px;
  color: #70798a;
  font-size: 10px;
  line-height: 1.4;
  background: rgba(255,255,255,.7);
}

.work-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 20px;
}

.project-invite {
  margin-top: 20px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(63,103,255,.14);
  border-radius: 20px;
  background: rgba(255,255,255,.58);
}

.project-invite span {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 820;
}

.project-invite p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.strength-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 128px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strength-card {
  min-height: 440px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.62);
  position: relative;
  overflow: hidden;
}

.strength-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(63,103,255,.12);
  border-radius: 50%;
  right: -58px;
  top: -48px;
}

.featured-card {
  background: #edf0ff;
  border-color: rgba(63,103,255,.22);
}

.card-number {
  display: block;
  color: #9aa2b1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.card-icon {
  width: 52px;
  height: 52px;
  margin: 42px 0 25px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(11,21,48,.16);
}

.featured-card .card-icon {
  background: linear-gradient(135deg, var(--blue), var(--electric));
}

.strength-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -.035em;
}

.strength-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 22px;
}

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

.tag-list li {
  padding: 7px 10px;
  border: 1px solid rgba(23,32,50,.12);
  border-radius: 999px;
  color: #525e73;
  background: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 750;
}

.ai-method {
  padding: 118px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: .87fr 1.13fr;
  gap: 100px;
  color: white;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.ai-method::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(122,143,255,.15);
  border-radius: 50%;
  left: -280px;
  bottom: -410px;
}

.light-kicker {
  color: #9eb0ff;
}

.method-heading {
  position: sticky;
  top: 40px;
  align-self: start;
}

.method-heading h2 {
  margin: 16px 0 22px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.method-heading > p:last-child {
  color: #aeb8d0;
  line-height: 1.75;
  font-size: 16px;
  max-width: 510px;
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-steps li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}

.method-steps li:last-child {
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.method-steps > li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #cad4ff;
  background: rgba(104,126,240,.14);
  font-size: 10px;
  font-weight: 850;
}

.method-steps strong {
  font-size: 22px;
  letter-spacing: -.025em;
}

.method-steps p {
  margin: 8px 0 0;
  color: #9fabca;
  font-size: 14px;
  line-height: 1.7;
}

.experience {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0;
}

.experience-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 82px;
}

.experience-heading h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.11;
  letter-spacing: 0;
}

.experience-heading h2 span {
  color: var(--blue);
}

.experience-heading > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 7px;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: #d6d8de;
}

.timeline-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 34px;
  position: relative;
}

.timeline-marker {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  color: #647087;
  background: var(--cream);
  border: 1px solid #cfd3dc;
  font-size: 11px;
  font-weight: 850;
}

.standout .timeline-marker {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--electric));
  box-shadow: 0 12px 28px rgba(63,103,255,.24);
}

.standout .timeline-marker .star {
  color: white;
}

.timeline-content {
  padding: 4px 0 58px;
}

.role-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.role-line span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.role-line small {
  color: #939baa;
  font-size: 11px;
}

.timeline-content h3 {
  margin: 9px 0 13px;
  font-size: clamp(25px, 3vw, 35px);
  letter-spacing: -.04em;
}

.timeline-content > p {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.metrics span {
  min-width: 150px;
  padding: 14px 17px;
  border: 1px solid rgba(63,103,255,.16);
  border-radius: 13px;
  background: rgba(255,255,255,.55);
  color: #657087;
  font-size: 11px;
}

.metrics strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 2px;
}

.career-band {
  margin-top: 28px;
  padding: 34px 36px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(120deg, #344dc8, #6950e8);
}

.career-band p {
  margin: 0 0 17px;
  color: #cad4ff;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 850;
}

.career-band div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: clamp(17px, 2.1vw, 24px);
  font-weight: 800;
}

.career-band .star {
  color: #ffb4aa;
  font-size: 11px;
}

.soft-skills {
  padding: 120px max(20px, calc((100vw - 1180px) / 2));
  background: white;
}

.soft-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 58px;
}

.soft-heading h2 {
  max-width: 630px;
  margin: 0;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
  text-align: right;
  text-wrap: balance;
}

.soft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.soft-grid article {
  min-height: 220px;
  padding: 29px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.soft-grid article > span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.soft-grid h3 {
  margin: 38px 0 10px;
  font-size: 20px;
  letter-spacing: -.025em;
}

.soft-grid p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.human {
  padding: 120px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  color: white;
  background: #171b27;
}

.human-copy h2 {
  margin: 16px 0 25px;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.human-copy > p:last-child {
  max-width: 520px;
  color: #aeb4c2;
  font-size: 16px;
  line-height: 1.75;
}

.hobby-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.hobby-grid article {
  min-height: 218px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
}

.hobby-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(117,96,255,.2);
  color: #bcb2ff;
  font-size: 20px;
}

.hobby-grid h3 {
  margin: 28px 0 9px;
  font-size: 19px;
}

.hobby-grid p {
  margin: 0;
  color: #9da4b4;
  font-size: 13px;
  line-height: 1.65;
}

.role-fit {
  padding: 124px 20px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.role-fit h2 {
  max-width: 900px;
  margin: 17px auto 36px;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.13;
  letter-spacing: 0;
  text-wrap: balance;
}

.role-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.role-pills span {
  padding: 12px 17px;
  border: 1px solid rgba(23,32,50,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #4c5870;
  font-size: 12px;
  font-weight: 750;
}

.connect {
  padding: 100px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 80px;
  color: white;
  background: linear-gradient(120deg, #344fd2 0%, #5b46dc 60%, #7c59ee 100%);
  position: relative;
  overflow: hidden;
}

.connect::after {
  content: "✦";
  position: absolute;
  right: -30px;
  top: -115px;
  color: rgba(255,255,255,.08);
  font-size: 340px;
  line-height: 1;
}

.connect h2 {
  max-width: 780px;
  margin: 15px 0 0;
  font-size: clamp(42px, 5.6vw, 70px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.connect-copy {
  position: relative;
  z-index: 2;
}

.connect-copy p {
  color: #d7dcff;
  line-height: 1.7;
}

.contact-actions {
  margin-top: 18px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}

.connect-button {
  background: white;
  color: var(--navy);
}

.contact-link {
  min-height: 50px;
  padding: 7px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 12px;
  color: white;
  background: rgba(255,255,255,.08);
  transition: transform .2s ease, background .2s ease;
}

.contact-link:hover, .contact-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
}

.contact-link-label {
  color: #d7dcff;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 8px;
  font-weight: 850;
}

.contact-link strong {
  margin-top: 2px;
  font-size: 14px;
  letter-spacing: .01em;
}

.contact-email {
  width: fit-content;
  margin-top: 16px;
  display: block;
  color: white;
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.4);
  text-underline-offset: 5px;
}

.contact-email:hover, .contact-email:focus-visible {
  text-decoration-color: white;
}

footer {
  min-height: 100px;
  padding: 24px max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #9ca6ba;
  background: var(--navy);
  font-size: 11px;
}

.footer-brand {
  color: white;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer-contact a:hover, .footer-contact a:focus-visible {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-meta {
  max-width: 290px;
  text-align: right;
}

.footer-meta p {
  margin: 0;
}

.footer-note {
  color: #c4cce1;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 9px;
}

.footer-credit {
  margin-top: 6px !important;
  color: #7f8ba4;
  font-size: 9px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 55px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-card {
    min-height: 440px;
  }
  .proof-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .strength-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-card {
    grid-column: 1 / -1;
    min-height: 360px;
  }
  .ai-method, .human {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .method-heading {
    position: static;
  }
  .experience-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .experience-heading > p {
    max-width: 650px;
  }
  .soft-heading {
    display: block;
  }
  .soft-heading h2 {
    margin-top: 15px;
    text-align: left;
  }
  .soft-grid {
    grid-template-columns: 1fr 1fr;
  }
  .connect {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .connect-copy {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .back-to-top {
    width: 48px;
    min-height: 48px;
    padding: 0;
  }
  .back-to-top-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 {
    width: min(100% - 24px, 1180px);
    height: 70px;
  }
  .brand {
    gap: 9px;
    font-size: 14px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 12px;
  }
  .nav-links > a:not(.nav-cta) {
    display: none;
  }
  .nav-links {
    gap: 0;
  }
  .nav-cta {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 13px;
  }
  .hero {
    width: min(100% - 24px, 1180px);
    gap: 42px;
    padding: 42px 0 58px;
  }
  .eyebrow {
    align-items: flex-start;
    margin-bottom: 20px;
    line-height: 1.55;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 13.25vw, 58px);
    line-height: 1.08;
    letter-spacing: 0;
  }
  .hero-lede {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.68;
  }
  .hero-actions, .button {
    width: 100%;
  }
  .button {
    min-height: 52px;
    padding-inline: 18px;
  }
  .hero-card {
    min-height: 380px;
    border-radius: 28px;
  }
  .hero-card::after {
    inset: 12px;
    border-radius: 22px;
  }
  .hero-portrait {
    object-position: center 23%;
  }
  .proof-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    padding: 22px 18px;
    line-height: 1.45;
    text-align: center;
  }
  .proof-strip .star {
    display: none;
  }
  .intro {
    padding-top: 86px;
  }
  .intro h2, .method-heading h2, .soft-heading h2, .human-copy h2, .role-fit h2, .connect h2 {
    line-height: 1.16;
    letter-spacing: 0;
  }
  .proof-work {
    padding-top: 84px;
    padding-bottom: 90px;
  }
  .proof-heading {
    margin-bottom: 38px;
  }
  .proof-heading h2 {
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: 1.15;
    letter-spacing: 0;
  }
  .proof-heading > p {
    font-size: 15px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-card {
    min-height: 0;
    padding: 28px;
  }
  .work-label {
    margin-bottom: 26px;
  }
  .work-link {
    margin-top: 28px;
  }
  .work-metrics {
    margin-top: 26px;
    padding-top: 0;
  }
  .project-invite {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }
  .strength-grid {
    width: min(100% - 24px, 1180px);
    grid-template-columns: 1fr;
    margin-bottom: 86px;
  }
  .featured-card {
    grid-column: auto;
  }
  .strength-card {
    min-height: 0;
    padding: 28px;
  }
  .card-icon {
    margin-top: 34px;
  }
  .ai-method, .soft-skills, .human, .connect {
    padding-top: 84px;
    padding-bottom: 84px;
  }
  .method-steps li {
    grid-template-columns: 45px 1fr;
    gap: 14px;
  }
  .experience {
    width: min(100% - 24px, 1180px);
    padding: 92px 0;
  }
  .experience-heading {
    margin-bottom: 58px;
  }
  .experience-heading h2 {
    font-size: clamp(40px, 12.5vw, 56px);
    line-height: 1.14;
    letter-spacing: 0;
  }
  .timeline::before {
    left: 21px;
  }
  .timeline-item {
    grid-template-columns: 44px 1fr;
    gap: 17px;
  }
  .timeline-marker {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .timeline-content {
    padding-bottom: 48px;
  }
  .role-line {
    display: block;
  }
  .role-line small {
    display: block;
    margin-top: 5px;
  }
  .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .metrics span:last-child {
    grid-column: 1 / -1;
  }
  .career-band {
    padding: 27px 24px;
  }
  .career-band div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .career-band .star {
    display: none;
  }
  .soft-grid, .hobby-grid {
    grid-template-columns: 1fr;
  }
  .soft-grid article {
    min-height: 190px;
  }
  .human {
    gap: 48px;
  }
  .role-fit {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .contact-actions, .contact-actions .button, .contact-link {
    width: 100%;
  }
  .contact-link {
    align-items: center;
    text-align: center;
  }
  .contact-email {
    margin-inline: auto;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .footer-contact {
    justify-content: flex-start;
    flex-direction: column;
  }
  .footer-meta {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 13px;
  }
  .nav-cta {
    padding-inline: 11px;
  }
  .hero h1 {
    font-size: clamp(40px, 12.7vw, 50px);
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .metrics span:last-child {
    grid-column: auto;
  }
  .work-metrics {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button, .back-to-top {
    transition: none;
  }
}

/* Keep the back-to-top control visible above every section and server theme. */

.back-to-top {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 99999 !important;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 54px;
  min-height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: #0b1530;
  color: #ffffff;
}
