/* ============================================================
   Hrishika Pal — personal site
   Palette: white / red / maroon
   ============================================================ */

:root {
  --paper: #fffdfc;        /* white */
  --blush: #fbf1f0;        /* soft blush for alternate sections */
  --ink: #38070f;          /* near-black maroon, body text */
  --muted: #7d5158;        /* muted maroon-grey */
  --maroon: #6e1423;       /* primary brand */
  --maroon-deep: #430a13;  /* dark bands */
  --red: #d7263d;          /* accent */
  --red-soft: #f7dee2;     /* chips / tints */
  --line: rgba(110, 20, 35, 0.14);
  --shadow: 0 18px 50px -22px rgba(67, 10, 19, 0.35);
  --radius: 22px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--maroon-deep); }
img { max-width: 100%; display: block; }
a { color: var(--maroon); }

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

/* ---------- Scroll progress + spotlight ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--maroon), var(--red));
  z-index: 120;
}
.spotlight {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px;
  margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 38, 61, 0.07), transparent 65%);
  pointer-events: none; z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.7rem; border-radius: 999px;
  background: var(--maroon); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border: 1px solid var(--maroon);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn:hover { background: var(--maroon-deep); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--maroon); }
.btn--ghost:hover { background: var(--red-soft); }
.btn--small { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn--light { background: #fff; color: var(--maroon-deep); border-color: #fff; }
.btn--light:hover { background: var(--red-soft); box-shadow: none; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; box-shadow: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255, 253, 252, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: 1160px; margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--maroon-deep); text-decoration: none; margin-right: auto;
}
.nav__links { display: flex; gap: 1.4rem; }
.nav__links a {
  color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav__links a:hover { color: var(--red); }
.nav__links a.active { color: var(--maroon); border-bottom-color: var(--red); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--maroon-deep);
  margin: 5px 0; transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 0.4rem 1.5rem 1.1rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  color: var(--ink); text-decoration: none; font-weight: 500; padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:last-child { border-bottom: 0; }
.nav__mobile a.active { color: var(--red); }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__inner > .btn { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  padding: 7.5rem 1.5rem 3.5rem; overflow: hidden;
}
.hero__blobs { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob--red    { width: 420px; height: 420px; background: #f6bcc4; top: -120px; right: -80px; }
.blob--maroon { width: 380px; height: 380px; background: #e6c6cb; bottom: -140px; left: -120px; animation-delay: -5s; }
.blob--rose   { width: 300px; height: 300px; background: #fce4e1; top: 30%; left: 38%; animation-delay: -9s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.12); }
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(110, 20, 35, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 20, 35, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

.hero__inner {
  position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 3.5rem; align-items: center;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.88rem; font-weight: 600; color: var(--maroon);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.2rem;
}
.ping {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(215, 38, 61, 0.5); animation: ping 1.8s infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 11px rgba(215, 38, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(215, 38, 61, 0); }
}
.hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 0.6rem; }
.accent { color: var(--red); font-style: italic; }
.hero__role {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--maroon); margin-bottom: 1.3rem;
}
.rotator__word { color: var(--red); display: inline-block; transition: opacity 0.3s, transform 0.3s; }
.rotator__word.out { opacity: 0; transform: translateY(8px); }
.rotator__cursor { color: var(--red); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lede { max-width: 46ch; color: var(--muted); font-size: 1.06rem; margin-bottom: 1.8rem; }
.hero__lede strong { color: var(--maroon-deep); }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero__quick { list-style: none; display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero__quick li { font-size: 0.85rem; color: var(--muted); max-width: 140px; }
.hero__quick .count {
  display: block; font-family: var(--font-display); font-size: 1.9rem;
  font-weight: 700; color: var(--red);
}

.hero__portrait { position: relative; justify-self: center; }
.portrait__frame {
  width: min(280px, 56vw); aspect-ratio: 4 / 5; border-radius: var(--radius);
  overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow);
  background: var(--red-soft);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__badge {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 1rem; font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  display: flex; align-items: center; gap: 0.45rem; box-shadow: var(--shadow);
}
.portrait__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.portrait__chips { display: contents; }
.portrait__chip {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.4rem 0.85rem; font-size: 0.78rem; font-weight: 600;
  box-shadow: var(--shadow); white-space: nowrap; animation: float 5s ease-in-out infinite;
}
.chip--1 { top: 8%; left: -3.2rem; }
.chip--2 { top: 42%; right: -3.4rem; animation-delay: -1.6s; }
.chip--3 { bottom: 14%; left: -2.6rem; animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .portrait__chip { animation: none; } }

@media (max-width: 900px) {
  .hero { padding-top: 6.5rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.4rem; }

  /* Text first on small screens — recruiters read before they scroll */
  .hero__portrait {
    margin-top: 0.5rem; display: flex; flex-direction: column; align-items: center;
  }
  .portrait__frame { width: min(260px, 66vw); }

  /* Compact 3-up stats instead of a tall stack with big gaps */
  .hero__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
  .hero__quick li { max-width: none; }
  .hero__quick .count { font-size: 1.45rem; }

  /* Floating chips would cover the face on a small portrait — stack them
     into a tidy centered row below it, and stop the float animation. */
  .portrait__chips {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.5rem; margin-top: 1.6rem; max-width: 320px;
  }
  .portrait__chip {
    position: static; animation: none;
    top: auto; left: auto; right: auto; bottom: auto;
  }
}

@media (max-width: 380px) {
  .hero__quick .count { font-size: 1.25rem; }
  .hero__quick li { font-size: 0.78rem; }
}

/* ---------- Marquee band ---------- */
.marquee {
  background: var(--maroon-deep); color: #fbeff1; overflow: hidden;
  padding: 0.85rem 0; white-space: nowrap;
}
.marquee__track {
  display: inline-flex; gap: 2.2rem; align-items: center;
  animation: marquee 26s linear infinite; font-weight: 600; font-size: 0.92rem;
}
.marquee .sep { color: #f0919f; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 5rem 1.5rem; max-width: 1160px; margin: 0 auto; }
.section--band { max-width: none; background: var(--blush); }
.section--band .section__inner { max-width: 1160px; margin: 0 auto; }
.section__head { margin-bottom: 2.6rem; max-width: 760px; }
.section__head h1, .section__head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section__lede { color: var(--muted); margin-top: 0.9rem; font-size: 1.04rem; max-width: 58ch; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.8rem;
}

/* Page header spacing on subpages (nav is fixed) */
.pagehead { padding-top: 8.5rem; padding-bottom: 0; }
.pagehead .section__head { margin-bottom: 0.5rem; }

/* ---------- Doorway cards (home) ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.door {
  position: relative; display: block; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem; color: var(--ink);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.door:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--red); }
.door__num {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--red); display: block; margin-bottom: 1.1rem;
}
.door h3 { font-size: 1.45rem; margin-bottom: 0.55rem; }
.door p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.door__go { font-weight: 700; color: var(--maroon); font-size: 0.9rem; }
.door:hover .door__go { color: var(--red); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { box-shadow: var(--shadow); }
.card__icon { font-size: 1.7rem; display: block; margin-bottom: 0.9rem; }
.card__media { margin: -0.6rem -0.4rem 1.1rem; }
.card__media .shot img { aspect-ratio: 16 / 10; object-position: top; }
.card__media .shot video {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top; background: var(--maroon-deep);
}
.card__badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.1rem; }
.card__year {
  position: absolute; top: 1.6rem; right: 1.6rem; font-size: 0.76rem;
  font-weight: 700; color: var(--maroon); background: var(--red-soft);
  border-radius: 999px; padding: 0.2rem 0.7rem;
}
.card h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.card__sub { font-size: 0.85rem; font-weight: 600; color: var(--red); margin-bottom: 0.7rem; }
.card > p:last-of-type { color: var(--muted); font-size: 0.95rem; }
.card__link {
  display: inline-block; margin-top: 1.1rem; font-weight: 700; font-size: 0.9rem;
  color: var(--maroon); text-decoration: none;
}
.card__link:hover { color: var(--red); }

.pill {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  background: var(--red-soft); color: var(--maroon); border-radius: 999px;
  padding: 0.28rem 0.85rem;
}
.pill--live { background: var(--red); color: #fff; }

/* ---------- Status badges (Released / Beta Launched / On Hold) ---------- */
.status {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.76rem; font-weight: 700; border-radius: 999px;
  padding: 0.26rem 0.8rem; border: 1px solid transparent;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--released { background: #e7f6ec; color: #1c7c3f; border-color: #bfe6cc; }
.status--beta { background: #e9f0fc; color: #2456b3; border-color: #c5d7f5; }
.status--onhold { background: #f1f0ef; color: #5f5a56; border-color: #dcd9d6; }
.status--wrapped { background: var(--red-soft); color: var(--maroon); border-color: #efc3ca; }
.status--building { background: #fdeede; color: #b5541e; border-color: #f2cfa9; }

/* ---------- Feature block (big builds / startup) ---------- */
.feature {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.5rem; margin-bottom: 2.5rem; align-items: center;
  transition: box-shadow 0.3s;
}
.feature:hover { box-shadow: var(--shadow); }
.feature__top { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.feature h3 { font-size: 2rem; margin-bottom: 0.3rem; }
.feature__tag { font-weight: 600; color: var(--red); margin-bottom: 1rem; }
.feature p { color: var(--muted); margin-bottom: 0.9rem; }
.feature p strong { color: var(--maroon-deep); }
.feature__note { font-size: 0.92rem; font-style: italic; }
.feature__stats { list-style: none; display: flex; gap: 1.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.feature__stats li { font-size: 0.82rem; color: var(--muted); max-width: 130px; }
.feature__stats span {
  display: block; font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; color: var(--red);
}
.feature__media { display: grid; gap: 1rem; }
.feature__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; padding: 1.8rem; } }

/* ---------- Photo shots (with placeholder fallback) ---------- */
.shot {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--blush); border: 1px solid var(--line); min-height: 180px;
}
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.shot--tall img { aspect-ratio: 3 / 4; }
.shot--wide img { aspect-ratio: 16 / 9; }
.shot.empty { border: 1.5px dashed rgba(110, 20, 35, 0.35); }
.shot.empty img { display: none; }
.shot.empty::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--muted);
}

/* ---------- Timeline (experience) ---------- */
.timeline { list-style: none; position: relative; padding-left: 1.8rem; max-width: 860px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--red), var(--maroon));
  border-radius: 2px;
}
.tl { position: relative; padding-bottom: 2.4rem; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: -1.8rem; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--red); border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--red);
}
.tl__meta { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.8rem; }
.tl__date { font-weight: 700; font-size: 0.88rem; color: var(--maroon); }
.tl__tag {
  font-size: 0.75rem; font-weight: 700; background: var(--red-soft); color: var(--maroon);
  border-radius: 999px; padding: 0.18rem 0.7rem;
}
.tl__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.8rem; transition: transform 0.3s, box-shadow 0.3s;
}
.tl__card:hover { box-shadow: var(--shadow); }
.tl__card h3 { font-size: 1.3rem; margin-bottom: 0.15rem; }
.tl__org { font-weight: 600; color: var(--red); font-size: 0.95rem; margin-bottom: 0.8rem; }
.tl__card ul { padding-left: 1.1rem; color: var(--muted); font-size: 0.95rem; display: grid; gap: 0.4rem; }
.tl__card strong { color: var(--maroon-deep); }

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.2rem;
  background: var(--maroon-deep); border-radius: var(--radius);
  padding: 2.2rem 2rem; margin-bottom: 2.6rem;
}
.stat { text-align: center; }
.stat .count {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: #fff;
  display: block;
}
.stat p { color: #e8b9c0; font-size: 0.85rem; font-weight: 600; }

/* ---------- Sport / award cards ---------- */
.sport-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 860px) { .sport-cards { grid-template-columns: 1fr; } }
.sport {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform 0.3s, box-shadow 0.3s;
}
.sport:hover { box-shadow: var(--shadow); }
.sport__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.3rem; }
.sport__emoji { font-size: 2.2rem; }
.sport__head h3 { font-size: 1.5rem; }
.sport__head p { color: var(--muted); font-size: 0.9rem; }
.trophies { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.trophies li {
  display: flex; gap: 0.7rem; align-items: baseline; font-size: 0.95rem; color: var(--muted);
  padding: 0.65rem 0.9rem; background: var(--blush); border-radius: 12px;
}
.trophies strong { color: var(--maroon-deep); }
.trophies a.cert {
  font-size: 0.78rem; font-weight: 700; color: var(--red); text-decoration: none;
  white-space: nowrap;
}
.trophies a.cert:hover { text-decoration: underline; }
.sport__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.sport__gallery .shot--wide { grid-column: 1 / -1; }
.tl__card .shot { margin-top: 1.1rem; }
.honor {
  display: flex; gap: 1rem; background: var(--blush); border-radius: 16px; padding: 1.2rem 1.3rem;
}
.honor__icon { font-size: 1.8rem; }
.honor h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.honor p { color: var(--muted); font-size: 0.9rem; }

/* wins marquee */
.wins-marquee {
  overflow: hidden; margin-top: 2.6rem; padding: 0.9rem 0; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.wins-marquee__track {
  display: inline-flex; gap: 1.6rem; align-items: center;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-weight: 600; color: var(--maroon); font-size: 1.02rem;
}
.wins-marquee i { color: var(--red); font-style: normal; }
@media (prefers-reduced-motion: reduce) { .wins-marquee__track { animation: none; } }

/* ---------- Chips / skills ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chips li {
  font-size: 0.85rem; font-weight: 600; color: var(--maroon);
  background: var(--red-soft); border-radius: 999px; padding: 0.35rem 0.95rem;
}
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.skillcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; transition: transform 0.3s, box-shadow 0.3s;
}
.skillcard:hover { box-shadow: var(--shadow); }
.skillcard h3 { font-size: 1.1rem; margin-bottom: 0.9rem; }

/* ---------- Contact band ---------- */
.contact {
  position: relative; background: var(--maroon-deep); color: #fff;
  padding: 5rem 1.5rem; overflow: hidden; text-align: center;
}
.contact__glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 38, 61, 0.35), transparent 65%);
  top: -320px; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.contact__inner { position: relative; max-width: 760px; margin: 0 auto; }
.contact .kicker { color: #f0919f; }
.contact h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.contact__lede { color: #e8b9c0; margin-bottom: 2rem; }
.contact__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.socials { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.socials a {
  color: #e8b9c0; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  transition: color 0.2s, transform 0.2s; display: inline-block;
}
.socials a:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer {
  background: var(--maroon-deep); color: #c99aa2;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 1.8rem; font-size: 0.85rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer a { color: #e8b9c0; text-decoration: none; font-weight: 600; }
.footer a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Tilt & magnetic (transforms set in JS) ---------- */
.tilt { will-change: transform; transition: transform 0.25s ease; }
.magnetic { will-change: transform; transition: transform 0.2s ease; }
