/* ==========================================================================
   Archana Rajkumar — portfolio
   Theme tokens live on :root; [data-theme="light"] overrides them.
   ========================================================================== */

:root {
  --bg: #0d0d11;
  --bg-alt: #12121a;
  --surface: #16161f;
  --surface-hover: #1d1d29;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceaf2;
  --text-dim: #a5a2b5;
  --text-faint: #6f6c80;
  --accent: #ff6b5b;
  --accent-soft: rgba(255, 107, 91, 0.13);
  --accent-text: #ff8878;
  --violet: rgba(124, 108, 245, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.65);
  --shadow-lift:
    0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 48px -16px rgba(0, 0, 0, 0.8);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
  --radius: 16px;
}

[data-theme="light"] {
  --bg: #fbfaf8;
  --bg-alt: #f4f2ee;
  --surface: #ffffff;
  --surface-hover: #fffdfb;
  --line: rgba(20, 18, 30, 0.1);
  --line-strong: rgba(20, 18, 30, 0.2);
  --text: #1a1922;
  --text-dim: #565365;
  --text-faint: #8b8899;
  --accent: #d94436;
  --accent-soft: rgba(217, 68, 54, 0.09);
  --accent-text: #c03a2d;
  --violet: rgba(124, 108, 245, 0.1);
  --shadow:
    0 1px 2px rgba(20, 18, 30, 0.06), 0 12px 28px -14px rgba(20, 18, 30, 0.18);
  --shadow-lift:
    0 2px 6px rgba(20, 18, 30, 0.08), 0 24px 48px -18px rgba(20, 18, 30, 0.26);
}

/* ── Reset ────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}
ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.filled {
  fill: currentColor;
  stroke: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skipLink {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}
.skipLink:focus {
  top: 0;
}

/* ── Header ───────────────────────────────────────────────── */

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    background-color 0.35s ease;
}
.siteHeader.isStuck {
  border-bottom-color: var(--line);
}

/* Translucent blur only where it's actually supported. */
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .siteHeader {
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
  }
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .siteHeader {
    background: var(--bg);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brandMark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.brandName {
  font-size: 15px;
}

.navLinks {
  display: flex;
  gap: 4px;
  font-size: 14.5px;
}
.navLinks a {
  display: block;
  padding: 7px 13px;
  border-radius: 9px;
  color: var(--text-dim);
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}
.navLinks a:hover {
  color: var(--text);
  background: var(--surface);
}
.navLinks a.isActive {
  color: var(--accent-text);
  background: var(--accent-soft);
}

.themeToggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 17px;
  cursor: pointer;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.themeToggle:hover {
  color: var(--accent-text);
  border-color: var(--line-strong);
}
.themeToggle:active {
  transform: scale(0.93);
}

/* Show the icon for the theme you'd switch *to*. */
.themeToggle .iconSun {
  display: block;
}
.themeToggle .iconMoon {
  display: none;
}
[data-theme="light"] .themeToggle .iconSun {
  display: none;
}
[data-theme="light"] .themeToggle .iconMoon {
  display: block;
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.heroGlow {
  position: absolute;
  inset: -30% 0 auto -10%;
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(42% 46% at 22% 34%, var(--accent-soft), transparent 72%),
    radial-gradient(38% 42% at 78% 18%, var(--violet), transparent 70%);
}

.heroGrid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.statusDot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #37d399;
  box-shadow: 0 0 0 3px rgba(55, 211, 153, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(55, 211, 153, 0);
  }
}

.heroCopy h1 {
  /* Capped lower than the usual display scale — the headline is long enough
	   that 3.6rem pushed it to four lines in the narrower hero column. */
  font-size: clamp(2rem, 4.3vw, 3rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.accentText {
  color: var(--accent-text);
  white-space: nowrap;
}

.lede {
  max-width: 52ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}
.lede strong {
  color: var(--text);
  font-weight: 600;
}

.ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
}
.btnPrimary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px -10px var(--accent);
}
.btnPrimary svg {
  transition: transform 0.18s ease;
}
.btnPrimary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px var(--accent);
}
.btnPrimary:hover svg {
  transform: translateX(3px);
}
.btnGhost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btnGhost:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 17px;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.socials a:hover {
  color: var(--accent-text);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* Avatar */
.heroArt {
  display: grid;
  gap: 22px;
  justify-items: center;
}
.avatarRing {
  position: relative;
  width: min(300px, 68vw);
  aspect-ratio: 1;
  padding: 7px;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    var(--accent),
    #7c6cf5,
    var(--accent)
  );
  box-shadow: var(--shadow-lift);
}
.avatarRing::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--bg);
  pointer-events: none;
}
.avatarRing img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
}

.statStrip {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
.statStrip > div {
  padding: 12px 22px;
  text-align: center;
}
.statStrip > div + div {
  border-left: 1px solid var(--line);
}
.statStrip dt {
  color: var(--text-faint);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.statStrip dd {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
}
.statStrip dd span {
  color: var(--accent-text);
}

/* ── Section scaffolding ──────────────────────────────────── */

.section {
  padding: clamp(64px, 9vw, 108px) 0;
}
.sectionAlt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.sectionHead {
  max-width: 60ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.sectionNum {
  margin-bottom: 10px;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.sectionHead h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.4rem);
  font-weight: 700;
}
.sectionSub {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 1.02rem;
}

/* ── Project cards ────────────────────────────────────────── */

.cardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--surface-hover);
  box-shadow: var(--shadow-lift);
}

.cardIcon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 21px;
}

.card h3 {
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.card > p {
  color: var(--text-dim);
  font-size: 0.945rem;
  line-height: 1.62;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text-faint);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cardGo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}
.cardGo svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.2s ease;
}
.card:hover .cardGo svg {
  transform: translateX(4px);
}
.cardOutbound:hover .cardGo svg {
  transform: translate(2px, -2px);
}

/* ── Timeline ─────────────────────────────────────────────── */

.timeline {
  position: relative;
  max-width: 720px;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    var(--line) 65%,
    transparent
  );
}

.timelineItem {
  position: relative;
  padding-bottom: 34px;
}
.timelineItem:last-child {
  padding-bottom: 0;
}

.timelineDot {
  position: absolute;
  left: -34px;
  top: 7px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--bg-alt);
  border-radius: 50%;
  background: var(--text-faint);
  transition:
    background-color 0.2s ease,
    border-color 0.35s ease;
}
.isCurrent .timelineDot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.roleTop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.timelineBody h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
.badge {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-faint);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.badgeNow {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
}
.company {
  margin-top: 4px;
  color: var(--accent-text);
  font-size: 0.95rem;
  font-weight: 500;
}
.roleNote {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.93rem;
}

/* Bullet points under a role. Custom marker so the dash picks up the accent. */
.rolePoints {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}
.rolePoints li {
  position: relative;
  padding-left: 16px;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.6;
}
.rolePoints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--accent);
}
.rolePoints strong {
  color: var(--text);
  font-weight: 600;
}

.timelineBody .tags {
  margin-top: 14px;
}

/* ── Awards & education ───────────────────────────────────── */

.awardList {
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.awardItem {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.awardItem:hover {
  transform: translateX(3px);
  border-color: var(--line-strong);
}
.awardIcon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 19px;
}
.awardItem h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}
.awardMeta {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.subHeading {
  margin: 44px 0 16px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eduList {
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.eduItem {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.eduItem h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── Skills ───────────────────────────────────────────────── */

.skillGroups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.skillGroup {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.skillGroup h3 {
  margin-bottom: 16px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pills li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-alt);
  font-size: 0.89rem;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.pills li:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  transform: translateY(-2px);
}

/* "Growing into" — dashed border and an accent heading mark it as aspiration
   rather than established skill, so it doesn't read as a claim. Spans the full
   row so it reads as a deliberate footnote instead of an orphaned 5th card. */
.skillGroupLearning {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  border-style: dashed;
  border-color: var(--line-strong);
  background: transparent;
}
.skillGroupLearning h3 {
  margin-bottom: 0;
  color: var(--accent-text);
}
.skillGroupLearning .pills {
  margin-right: 4px;
}
.skillGroupLearning .pills li {
  border-style: dashed;
  background: transparent;
}
.skillNote {
  flex: 1 1 260px;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── About ────────────────────────────────────────────────── */

.aboutGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 20px;
}
.aboutCard {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease;
}
.aboutCard:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.aboutIcon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 20px;
}
.aboutCard h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.aboutCard p {
  color: var(--text-dim);
  font-size: 0.93rem;
}

/* ── Contact ──────────────────────────────────────────────── */

.contact {
  padding: clamp(64px, 9vw, 104px) 0;
}
.contactInner {
  text-align: center;
}
.contactInner h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.7rem);
  font-weight: 700;
}
.contactInner > p {
  max-width: 46ch;
  margin: 14px auto 0;
  color: var(--text-dim);
}
.contactLinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.contactLinks a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.contactLinks a:hover {
  color: var(--accent-text);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.contactLinks svg {
  width: 1.15em;
  height: 1.15em;
}

/* ── Footer ───────────────────────────────────────────────── */

.siteFooter {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease;
}
.footerInner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-block: 26px;
  color: var(--text-faint);
  font-size: 13.5px;
}

/* ── Scroll reveal ────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.8, 0.3, 1),
    transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.reveal.isVisible {
  opacity: 1;
  transform: none;
}

/* Nothing stays invisible if JS never runs — see portfolio.js, which
   removes .no-js immediately. */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ── Sub-page (algorithm index) ───────────────────────────── */

.subHead {
  padding: clamp(48px, 8vw, 84px) 0 0;
}
.backLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--text-dim);
  font-size: 14px;
  transition:
    color 0.18s ease,
    gap 0.18s ease;
}
.backLink:hover {
  color: var(--accent-text);
  gap: 12px;
}
.backLink svg {
  width: 1.05em;
  height: 1.05em;
}

code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--bg-alt);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
}

.footerNote a {
  border-bottom: 1px solid var(--line-strong);
}
.footerNote a:hover {
  color: var(--accent-text);
  border-color: var(--accent);
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .heroGrid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .heroCopy {
    order: 2;
  }
  .heroArt {
    order: 1;
  }
  .lede {
    margin-inline: auto;
  }
  .ctaRow,
  .socials {
    justify-content: center;
  }
  .navLinks {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-inline: 18px;
  }
  .nav {
    padding-inline: 18px;
  }
  .brandName {
    display: none;
  }
  .statStrip > div {
    padding: 10px 16px;
  }
  .card {
    padding: 22px 20px 20px;
  }
  .timeline {
    padding-left: 28px;
  }
  .timelineDot {
    left: -28px;
  }
  .footerInner {
    justify-content: center;
    text-align: center;
  }
}

/* ── Motion & print ───────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .siteHeader,
  .heroGlow,
  .themeToggle,
  .skipLink {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  .card,
  .skillGroup,
  .aboutCard {
    break-inside: avoid;
  }
}
