@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-2: #efece6;
  --ink: #15171b;
  --muted: #5f6672;
  --line: #e4dfd6;
  --accent: #5b5fa8;
  --accent-soft: #ecebf8;
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(20, 22, 27, 0.04), 0 8px 24px rgba(20, 22, 27, 0.06);
  --shadow-lg: 0 2px 4px rgba(20, 22, 27, 0.05), 0 18px 40px rgba(20, 22, 27, 0.1);
  --serif: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --max: 1160px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* pastel tints: soft background + readable foreground */
  --lav-bg: #eeebfb;   --lav-fg: #6c61b8;
  --peach-bg: #fdebe1; --peach-fg: #b56c4a;
  --mint-bg: #e2f4ea;  --mint-fg: #3f8a67;
  --sky-bg: #e3eefa;   --sky-fg: #4675a6;
  --rose-bg: #fbe6ec;  --rose-fg: #ad5871;
  --butter-bg: #faf2d9; --butter-fg: #957524;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1114;
    --surface: #171a1f;
    --surface-2: #1e2228;
    --ink: #ecebe7;
    --muted: #9ba2ad;
    --line: #272b32;
    --accent: #b7b9f0;
    --accent-soft: #23243a;
    --on-accent: #0f1114;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 40px rgba(0, 0, 0, 0.4);

    --lav-bg: #2a2740;   --lav-fg: #c3bbf5;
    --peach-bg: #3a2a22; --peach-fg: #f2bea3;
    --mint-bg: #1f3329;  --mint-fg: #a3dcbd;
    --sky-bg: #1f2c3b;   --sky-fg: #a9c8ec;
    --rose-bg: #3a2530;  --rose-fg: #f0b1c3;
    --butter-bg: #35301f; --butter-fg: #e8d193;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1114;
  --surface: #171a1f;
  --surface-2: #1e2228;
  --ink: #ecebe7;
  --muted: #9ba2ad;
  --line: #272b32;
  --accent: #b7b9f0;
  --accent-soft: #23243a;
  --on-accent: #0f1114;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 40px rgba(0, 0, 0, 0.4);
  --lav-bg: #2a2740;   --lav-fg: #c3bbf5;
  --peach-bg: #3a2a22; --peach-fg: #f2bea3;
  --mint-bg: #1f3329;  --mint-fg: #a3dcbd;
  --sky-bg: #1f2c3b;   --sky-fg: #a9c8ec;
  --rose-bg: #3a2530;  --rose-fg: #f0b1c3;
  --butter-bg: #35301f; --butter-fg: #e8d193;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s, color 0.3s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.wordmark {
  font: 700 21px/1 var(--serif);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  position: relative;
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__links a[aria-current="true"] {
  color: var(--ink);
  background: var(--surface-2);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.icon-btn:hover {
  border-color: var(--muted);
}
.theme-toggle .icon-moon,
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: none;
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: block;
  }
}
.menu-toggle {
  display: none;
}
@media (max-width: 720px) {
  .menu-toggle {
    display: inline-grid;
  }
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav__links a {
    padding: 12px 14px;
    font-size: 17px;
  }
  .header.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .menu-toggle .icon-close,
  .header.is-open .menu-toggle .icon-menu {
    display: none;
  }
  .header.is-open .menu-toggle .icon-close {
    display: block;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 12vh, 128px) 0 clamp(56px, 10vh, 104px);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 520px;
  background:
    radial-gradient(34% 55% at 26% 42%, color-mix(in srgb, var(--lav-fg) 22%, transparent), transparent 70%),
    radial-gradient(30% 50% at 52% 22%, color-mix(in srgb, var(--mint-fg) 16%, transparent), transparent 70%),
    radial-gradient(32% 52% at 76% 38%, color-mix(in srgb, var(--peach-fg) 20%, transparent), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
.avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line), var(--shadow-lg);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__title {
  margin-top: 14px;
  font: 600 clamp(40px, 7vw, 74px)/1.05 var(--serif);
  letter-spacing: -0.03em;
}
.hero__title em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}
.rotator {
  display: block;
  min-height: 1.6em;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 21px);
}
.rotator__caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 3px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--muted);
}
.btn--primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover {
  border-color: var(--ink);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.hero__meta strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(72px, 11vw, 128px) 0;
}
.section--alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section__head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__title {
  margin-top: 10px;
  font: 600 clamp(32px, 4.6vw, 46px)/1.1 var(--serif);
  letter-spacing: -0.025em;
}
.section__lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Filters ---------- */
.filters {
  position: relative;
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar {
  display: none;
}
.filters__pill {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--ink) 22%, transparent);
  transition: transform 0.35s var(--ease), width 0.35s var(--ease);
  pointer-events: none;
}
.filters button {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s;
}
.filters button:hover {
  color: var(--ink);
}
.filters button[aria-pressed="true"] {
  color: var(--bg);
}

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.card[hidden] {
  display: none;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card__media {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.035);
}
.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
}
.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.badge--live {
  background: var(--mint-bg);
  color: var(--mint-fg);
}
.badge--live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}
.card__title {
  font: 600 21px/1.25 var(--serif);
  letter-spacing: -0.015em;
}
.card__text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--tint-bg, var(--surface-2));
  color: var(--tint-fg, var(--muted));
  font-size: 12.5px;
  font-weight: 500;
}
.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 10px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon {
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover .icon {
  transform: translate(2px, -2px);
}
.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.about__intro p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.about__intro p + p {
  margin-top: 16px;
}
.about__photo {
  width: 100%;
  margin-top: 32px;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.skills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 560px) {
  .skills {
    grid-template-columns: 1fr;
  }
}
.skill {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.skill__num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tint-bg);
  color: var(--tint-fg);
  font: 600 15px/1 var(--serif);
}
.skill h3 {
  margin-top: 14px;
  font: 600 19px/1.3 var(--serif);
  letter-spacing: -0.01em;
}
.skill p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.skill .tags {
  margin-top: 16px;
}
.skill .tags li {
  background: var(--surface);
  border: 1px solid var(--line);
}

/* ---------- Connect ---------- */
.connect {
  position: relative;
  padding: clamp(48px, 7vw, 80px) 24px;
  border-radius: 28px;
  background: #14171c;
  color: #f1efea;
  text-align: center;
  overflow: hidden;
}
.connect::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 15% 0%, rgba(120, 150, 210, 0.28), transparent 70%),
    radial-gradient(40% 70% at 90% 100%, rgba(201, 163, 107, 0.22), transparent 70%);
  pointer-events: none;
}
.connect > * {
  position: relative;
}
.connect .eyebrow {
  color: rgba(241, 239, 234, 0.6);
}
.connect h2 {
  margin-top: 12px;
  font: 600 clamp(30px, 4.4vw, 44px)/1.12 var(--serif);
  letter-spacing: -0.025em;
  letter-spacing: -0.02em;
}
.connect p {
  margin-top: 14px;
  color: rgba(241, 239, 234, 0.72);
  font-size: 17px;
}
.connect .hero__actions {
  margin-top: 30px;
}
.connect .btn {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #f1efea;
}
.connect .btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}
.connect .btn--primary {
  border-color: #f1efea;
  background: #f1efea;
  color: #14171c;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--muted);
  box-shadow: var(--shadow);
}
.contact-card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--tint-bg, var(--accent-soft));
  color: var(--tint-fg, var(--accent));
  transition: transform 0.35s var(--ease);
}
.contact-card:hover .contact-card__icon {
  transform: rotate(-6deg) scale(1.06);
}
.contact-card__icon .icon {
  width: 21px;
  height: 21px;
}
.contact-card__label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.contact-card__value {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-card__arrow {
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.2s var(--ease), color 0.2s;
}
.contact-card:hover .contact-card__arrow {
  color: var(--ink);
  transform: translate(2px, -2px);
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer small {
  color: var(--muted);
  font-size: 14px;
}
.socials {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.socials a {
  color: var(--muted);
}
.socials a:hover {
  color: var(--ink);
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Tints ---------- */
.t-lav { --tint-bg: var(--lav-bg); --tint-fg: var(--lav-fg); }
.t-peach { --tint-bg: var(--peach-bg); --tint-fg: var(--peach-fg); }
.t-mint { --tint-bg: var(--mint-bg); --tint-fg: var(--mint-fg); }
.t-sky { --tint-bg: var(--sky-bg); --tint-fg: var(--sky-fg); }
.t-rose { --tint-bg: var(--rose-bg); --tint-fg: var(--rose-fg); }
.t-butter { --tint-bg: var(--butter-bg); --tint-fg: var(--butter-fg); }

/* ---------- Entrance ---------- */
.hero .rise {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 80ms);
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.avatar-wrap {
  position: relative;
  width: max-content;
  margin: 0 auto 28px;
}
.avatar-wrap .avatar {
  margin: 0;
}
.avatar-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 20px;
  height: 20px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--mint-fg);
}
.scroll-cue {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  animation: bob 2.4s var(--ease) infinite;
}
@keyframes bob {
  50% {
    transform: translateY(6px);
  }
}
.btn:active,
.icon-btn:active,
.filters button:active {
  transform: scale(0.97);
}
.btn--soft {
  border-color: transparent;
  background: var(--lav-bg);
  color: var(--lav-fg);
}
.btn--soft:hover {
  border-color: transparent;
}
.card.is-entering {
  animation: card-in 0.45s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .rise {
    opacity: 1;
    transform: none;
  }
}

.hero__lead {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.7;
}
.hero__lead strong,
.about__intro strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 600px) {
  .rotator {
    min-height: 3.2em;
  }
}
.rotator__caret {
  vertical-align: -0.15em;
}

@media (max-width: 600px) {
  .avatar {
    width: 136px;
    height: 136px;
  }
  .avatar-wrap::after {
    right: 9px;
    bottom: 9px;
  }
}

.inline-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.inline-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* About: the photo fills the rest of the column so it ends level with the skill cards */
@media (min-width: 901px) {
  .about {
    align-items: stretch;
  }
  .about__intro {
    display: flex;
    flex-direction: column;
  }
  .about__photo {
    flex: 1;
    min-height: 180px;
    height: 0;
    aspect-ratio: auto;
  }
}
.about__photo {
  border: 1px solid var(--line);
  object-position: 50% 35%;
  box-shadow: var(--shadow);
}
