:root {
  --bg: #ffffff;
  --ink: #111318;
  --text: #2d3440;
  --muted: #667085;
  --line: #e4e9f2;
  --panel: #f8fafc;
  --blue: #2563eb;
  --green: #059669;
  --radius: 14px;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 75% 20%, rgba(37, 99, 235, 0.06), transparent 28%),
    #ffffff;
}

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

a:hover {
  color: var(--blue);
}

.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transform: translateY(-170%);
}

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

.page {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
  padding: 64px 56px;
}

.intro {
  padding: 0 0 clamp(34px, 7vh, 64px);
}

.profile {
  float: right;
  width: 330px;
  margin: -12px 0 28px clamp(28px, 5vw, 58px);
}

.profile img {
  width: 100%;
  height: 330px;
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 720;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.12);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 24px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.profile-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.link-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  flex: 0 0 auto;
}

.link-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-icon svg path {
  vector-effect: non-scaling-stroke;
}

.profile-links a:nth-child(1) .link-icon,
.profile-links a:nth-child(2) .link-icon,
.profile-links a:nth-child(3) .link-icon {
  background: #0a66c2;
}

.eyebrow,
.summary-strip {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
}

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

.hello {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3.5vw, 2.65rem);
  font-weight: 760;
  line-height: 1.08;
}

.hello-rotator {
  position: relative;
  width: min(100%, 540px);
  min-height: 2.6em;
  margin-bottom: 14px;
  color: #566176;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.hello-rotator span {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 100%;
  opacity: 0;
  transform: rotateX(85deg) translateY(8px);
  transform-origin: top center;
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.hello-rotator:not(.is-ready) span:first-child,
.hello-rotator span.is-active {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
}

.hello-rotator span.is-exiting {
  opacity: 0;
  transform: rotateX(-75deg) translateY(-8px);
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(3.4rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 850;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  margin-bottom: 18px;
}

.lede {
  max-width: 980px;
  color: #111827;
  font-size: 21px;
  line-height: 1.55;
}

p:not(.lede) {
  max-width: 980px;
  font-size: 17px;
  line-height: 1.75;
  color: #374151;
}

.useful-when {
  max-width: 980px;
  margin-bottom: 18px;
}

.proof-note {
  max-width: 760px;
  margin-bottom: 0;
}

.profile-snapshot {
  display: grid;
  gap: 18px;
  margin-top: 56px;
  margin-bottom: 42px;
}

.snapshot-heading {
  display: grid;
  gap: 6px;
}

.snapshot-heading .eyebrow {
  margin-bottom: 0;
}

.snapshot-heading h2 {
  max-width: 520px;
  margin-bottom: 0;
  color: #111827;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 780;
}

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

.snapshot-card {
  min-height: 128px;
  padding: 20px;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.snapshot-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 800;
}

.snapshot-card p {
  margin-bottom: 0;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.6;
}

.summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 48px;
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 13px;
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.badge.primary {
  color: #2563eb;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.availability-note {
  max-width: 980px;
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

.best-fit {
  max-width: 980px;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
}

@media (max-width: 780px) {
  .page {
    padding: 40px 22px;
  }

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

  .profile {
    float: none;
    width: min(76vw, 330px);
    margin: 0 0 24px;
  }

  .profile img {
    width: 100%;
    height: auto;
  }

}

@media (max-width: 540px) {
  .page {
    width: min(calc(100% - 28px), 1180px);
    padding: 32px 14px;
  }

  .hello-rotator {
    width: 100%;
    min-height: 2.9em;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hello-rotator span {
    opacity: 0;
    transition: none;
    transform: none;
  }

  .hello-rotator span:first-child,
  .hello-rotator span.is-active {
    opacity: 1;
  }

  html {
    scroll-behavior: auto;
  }
}
