/* === Sakshat Sachdeva — Portfolio === */

:root {
  --bg: #f4f1ea;
  --bg-2: #ebe7dd;
  --paper: #fbfaf6;
  --ink: #0d0d0f;
  --ink-2: #2a2a2e;
  --muted: #6b6963;
  --line: rgba(13, 13, 15, 0.12);
  --line-strong: rgba(13, 13, 15, 0.22);

  --accent-a: #b49cff;   /* lavender */
  --accent-b: #6fe6ff;   /* cyan */
  --accent-c: #d6c4ff;
  --accent-d: #aef0ff;

  --sticker-yellow: #ffe66d;
  --sticker-mint: #b8f0c5;
  --sticker-pink: #ffb8d1;
  --sticker-orange: #ffb070;
  --sticker-lavender: #d6c4ff;
  --sticker-sky: #aef0ff;

  --shadow-paper: 0 18px 40px -18px rgba(20, 20, 30, 0.18),
                  0 2px 6px -2px rgba(20, 20, 30, 0.06);
  --shadow-lift:  0 30px 80px -30px rgba(20, 20, 40, 0.35),
                  0 4px 14px -4px rgba(20, 20, 40, 0.08);

  --font-display: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;
  --font-body:    "Geist", "Schibsted Grotesk", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
  --font-script:  "Caveat", "Bricolage Grotesque", cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film-grain noise on the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.05 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ===== layout ===== */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
}

/* ===== nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(244, 241, 234, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, background 240ms ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .left { display: flex; gap: 22px; align-items: center; }
.nav .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent-a) 60%, var(--accent-b));
  box-shadow: 0 0 14px var(--accent-a), 0 0 24px var(--accent-b);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.7; }
}
.nav a { opacity: 0.7; transition: opacity 180ms ease; }
.nav a:hover { opacity: 1; }
.nav .right { display: flex; gap: 22px; }
@media (max-width: 720px) {
  .nav { padding: 14px 22px; font-size: 12px; }
  .nav .right .hide-sm { display: none; }
}

/* ===== hero ===== */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
}
.hero-meta .tag .led {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
  animation: blip 1.6s infinite;
}
@keyframes blip {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(58px, 11vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero-title .word > span {
  display: inline-block;
  transform: translateY(120%);
  animation: reveal 1s cubic-bezier(0.2, 0.7, 0.1, 1) forwards;
}
.hero-title .word:nth-child(2) > span { animation-delay: 80ms; }
@keyframes reveal {
  to { transform: translateY(0); }
}

.hero-sub {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-top: 30px;
  align-items: end;
}
.hero-sub p {
  max-width: 460px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}
.hero-sub .arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.hero-sub .arrow svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (max-width: 720px) {
  .hero-sub { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== sticker stack ===== */
.sticker-stage {
  position: relative;
  height: 360px;
  margin-top: 56px;
  perspective: 1200px;
}
.sticker {
  position: absolute;
  background: var(--paper);
  border-radius: 6px;
  padding: 14px 14px 28px;
  box-shadow: var(--shadow-paper);
  transition: transform 480ms cubic-bezier(0.2, 0.7, 0.1, 1), box-shadow 280ms ease;
  cursor: grab;
  will-change: transform;
}
.sticker:hover {
  z-index: 20;
  box-shadow: var(--shadow-lift);
}
.sticker .cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  text-transform: uppercase;
}
.sticker .frame {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* polaroid 1: focus chips */
.p1 { left: 2%;  top: 30px; width: 230px; transform: rotate(-7deg); --rest: rotate(-7deg); }
.p2 { left: 28%; top: 0;    width: 230px; transform: rotate(3deg);  --rest: rotate(3deg); }
.p3 { left: 54%; top: 50px; width: 230px; transform: rotate(-4deg); --rest: rotate(-4deg); }
.p4 { left: 78%; top: 10px; width: 230px; transform: rotate(6deg);  --rest: rotate(6deg); }
@media (max-width: 900px) {
  .sticker-stage { height: 300px; }
  .p1 { left: -2%; top: 50px; width: 180px; }
  .p2 { left: 22%; top: 10px; width: 180px; }
  .p3 { left: 48%; top: 60px; width: 180px; }
  .p4 { left: 70%; top: 0;    width: 180px; }
}
@media (max-width: 600px) {
  .sticker-stage { height: 280px; }
  .p1 { left: -10%; top: 40px; width: 150px; }
  .p2 { left: 18%; top: 0; width: 150px; }
  .p3 { left: 46%; top: 50px; width: 150px; }
  .p4 { left: 72%; top: 10px; width: 150px; }
}

/* sticker contents */
.frame-chips {
  background: linear-gradient(135deg, #1d1c2e, #2d2640);
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}
.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #0d0d0f;
  transform: rotate(var(--r, 0));
  box-shadow: 0 4px 0 rgba(0,0,0,0.18);
}
.chip.c-mint { background: var(--sticker-mint); --r: -5deg; }
.chip.c-yellow { background: var(--sticker-yellow); --r: 4deg; align-self: flex-end; }
.chip.c-pink { background: var(--sticker-pink); --r: -3deg; align-self: center; }
.chip.c-lav  { background: var(--sticker-lavender); --r: 6deg; align-self: flex-start; }

.frame-portrait {
  background: linear-gradient(160deg, #e6dfd0, #cbbfa6);
  position: relative;
}
.frame-portrait::after {
  display: none;
}
.frame-portrait .silhouette { display: none; }

.frame-shipped {
  background: #1a2a14;
}

a.sticker { display: block; }

.frame-stripes {
  background:
    repeating-linear-gradient(45deg, var(--accent-a) 0 12px, var(--accent-b) 12px 24px);
  position: relative;
}
.frame-stripes::after {
  content: "site / app";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.frame-grid {
  background: #0d0d0f;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
}
.frame-grid > div {
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  opacity: 0.85;
}
.frame-grid > div:nth-child(2) { background: var(--sticker-yellow); }
.frame-grid > div:nth-child(4) { background: var(--sticker-pink); }
.frame-grid > div:nth-child(6) { background: var(--sticker-mint); }
.frame-grid > div:nth-child(8) { background: var(--sticker-orange); }

/* ===== glow divider ===== */
.divider {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #07070a;
  margin: 60px 0;
  isolation: isolate;
}
.divider::before, .divider::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  height: 120px;
  filter: blur(48px);
  opacity: 0.85;
}
.divider::before {
  top: 10%;
  background:
    radial-gradient(ellipse 40% 80% at 15% 50%, var(--accent-a) 0%, transparent 60%),
    radial-gradient(ellipse 30% 80% at 50% 60%, var(--accent-b) 0%, transparent 60%),
    radial-gradient(ellipse 30% 80% at 85% 40%, var(--accent-c) 0%, transparent 60%);
  animation: drift1 14s ease-in-out infinite alternate;
}
.divider::after {
  bottom: 10%;
  background:
    radial-gradient(ellipse 30% 80% at 25% 50%, var(--accent-d) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 70% 50%, var(--accent-a) 0%, transparent 60%);
  animation: drift2 18s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0% { transform: translateX(-3%); }
  100% { transform: translateX(4%); }
}
@keyframes drift2 {
  0% { transform: translateX(4%); }
  100% { transform: translateX(-4%); }
}
.divider .marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 9vw, 140px);
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.5);
  white-space: nowrap;
  z-index: 1;
}
.divider .marquee .track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 38s linear infinite;
  padding-right: 60px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.divider .marquee .star { color: var(--accent-a); -webkit-text-stroke: 0; }

/* ===== sections ===== */
section.block {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ink);
}
.block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 50px;
  max-width: 16ch;
  text-wrap: balance;
}
.block h2 em {
  font-style: italic;
  font-family: "Instrument Serif", "Bricolage Grotesque", serif;
  font-weight: 400;
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* drive-impact: stats row */
.impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-bottom: 50px;
}
@media (max-width: 720px) {
  .impact-row { grid-template-columns: 1fr; }
}
.impact .icon {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  color: var(--ink);
}
.impact .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.impact .num .lo { color: var(--muted); }
.impact .label {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 30ch;
}

.lede {
  max-width: 60ch;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 36px;
}

/* skills list with dial */
.skills {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
  margin-top: 30px;
}
@media (max-width: 820px) {
  .skills { grid-template-columns: 1fr; gap: 40px; }
}
.skills h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.skill-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.skill-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: baseline;
  cursor: pointer;
  transition: transform 240ms ease, padding-left 240ms ease;
}
.skill-list li:hover {
  padding-left: 12px;
}
.skill-list li:hover .skill-name {
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.skill-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  transition: color 240ms ease;
}
.skill-desc { font-size: 15px; color: var(--ink-2); }

/* The dial */
.dial-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.dial {
  width: 260px; height: 260px;
  border-radius: 50%;
  position: relative;
  background:
    conic-gradient(from 215deg,
      #d8d4ca 0deg, #f2efe7 90deg, #c7c2b6 180deg, #efebe1 270deg, #d8d4ca 360deg);
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.06),
    inset 0 6px 18px rgba(255,255,255,0.7),
    0 30px 60px -30px rgba(0,0,0,0.4),
    0 4px 12px rgba(0,0,0,0.12);
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dial::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    #b2ad9f, #f3efe5, #a8a395, #f7f3eb, #b2ad9f);
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.7);
}
.dial::after {
  content: "";
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #f6f2e7, #b8b3a4 70%);
  box-shadow: inset 0 4px 14px rgba(255,255,255,0.7);
}
.dial-tick {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 4px;
  height: 14px;
  background: var(--accent-a);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-a);
}
.dial-label {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* companies grid */
.companies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .companies { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .companies { grid-template-columns: 1fr; }
}
.company {
  background: var(--paper);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-paper);
  position: relative;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.2,0.7,0.1,1), box-shadow 320ms ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.company:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow-lift);
}
.company .logo {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.4);
}
.company .logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 50%);
  pointer-events: none;
}
.logo.l-1 { background: radial-gradient(circle at 30% 30%, #2c2c2c, #0a0a0a); }
.logo.l-2 { background: linear-gradient(135deg, #ff7a3d, #d94a00); }
.logo.l-3 { background: linear-gradient(160deg, #2a2a2a, #4a4a4a); }
.logo.l-4 { background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); }
.logo.l-5 { background: linear-gradient(160deg, #1e4f3a, #2d6b4d); }
.logo.l-6 { background: linear-gradient(135deg, #ffd84d, #ff9933); }
.company .ctitle {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
}
.company .crole {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.company .lock {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 14px; height: 14px;
  color: var(--muted);
  opacity: 0.6;
}

/* "Open for work" company card variant */
.company.open-card {
  background:
    radial-gradient(120% 80% at 30% 20%, #6fe6ff, transparent 50%),
    radial-gradient(120% 80% at 80% 80%, #b49cff, transparent 50%),
    #1d1830;
  color: #fff;
}
.company.open-card .ctitle, .company.open-card .crole { color: #fff; }
.company.open-card .crole { opacity: 0.7; }
.open-badge {
  align-self: flex-start;
  background: var(--sticker-yellow);
  color: #0d0d0f;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  padding: 14px 16px;
  border-radius: 12px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 0 rgba(0,0,0,0.25);
  text-transform: uppercase;
  display: inline-block;
  animation: wob 3.6s ease-in-out infinite;
}
@keyframes wob {
  0%,100% { transform: rotate(-3deg); }
  50% { transform: rotate(2deg); }
}

/* ===== origin section ===== */
.origin-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 820px) {
  .origin-grid { grid-template-columns: 1fr; gap: 40px; }
}
.origin h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.origin p { font-size: 16px; color: var(--ink-2); margin: 0 0 14px; }
.origin .note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 18px;
}

.polaroid-cluster {
  position: relative;
  height: 480px;
}
.polaroid-cluster .sticker {
  width: 220px;
}
.pc1 { top: 20px;  left: 20%; transform: rotate(-9deg); --rest: rotate(-9deg); }
.pc2 { top: 60px;  left: 50%; transform: rotate(6deg);  --rest: rotate(6deg); }
.pc3 { top: 240px; left: 8%;  transform: rotate(4deg);  --rest: rotate(4deg); }
.pc4 { top: 280px; left: 48%; transform: rotate(-5deg); --rest: rotate(-5deg); }

.frame-mac     { overflow: hidden; background: none !important; }
.frame-mac::after, .frame-mac::before { content: none !important; }
.frame-keyboard{ overflow: hidden; background: none !important; }
.frame-keyboard::after, .frame-keyboard::before { content: none !important; }
.frame-mountain{ overflow: hidden; background: none !important; }
.frame-mountain::after, .frame-mountain::before { content: none !important; }
.frame-app     { overflow: hidden; }
.frame-app::after { content: none; }
.frame-gym     { overflow: hidden; background: none !important; }
.frame-gym::after, .frame-gym::before { content: none !important; }

/* ===== world photo grid ===== */
.world {
  background: var(--bg-2);
  padding: 90px 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 50px;
}
@media (max-width: 700px) {
  .photo-grid { gap: 10px; }
}
.photo {
  aspect-ratio: 1;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-paper);
  transition: transform 360ms cubic-bezier(0.2,0.7,0.1,1), box-shadow 360ms ease, z-index 0s;
  cursor: zoom-in;
}
.photo:hover {
  transform: scale(1.06) rotate(-1deg);
  box-shadow: var(--shadow-lift);
  z-index: 5;
}
.photo .ph-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c1, #c9c2b3), var(--c2, #8c8474));
}
.photo img, .photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo .ph-label {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  mix-blend-mode: difference;
}
.photo.tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.photo.wide { grid-column: span 2; aspect-ratio: 2 / 1; }

/* ===== contact / footer ===== */
.contact {
  position: relative;
  background: #07070a;
  color: #fff;
  padding: 140px 0 60px;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: -100px -10% auto -10%;
  height: 260px;
  background:
    radial-gradient(40% 80% at 20% 50%, var(--accent-a) 0%, transparent 60%),
    radial-gradient(50% 80% at 75% 50%, var(--accent-b) 0%, transparent 60%);
  filter: blur(40px);
  opacity: 0.7;
}
.contact .wrap { position: relative; z-index: 1; }
.contact h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 12vw, 200px);
  letter-spacing: -0.045em;
  line-height: 0.86;
  margin: 0 0 30px;
  text-wrap: balance;
}
.contact h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact .cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  padding: 18px 32px;
  border-radius: 999px;
  background: #fff;
  color: #0d0d0f;
  margin-top: 20px;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 14px 40px -12px rgba(180, 156, 255, 0.6);
}
.contact .cta:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 20px 50px -10px rgba(111, 230, 255, 0.6);
}
.contact .cta .wave { display: inline-block; animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-8deg); }
}

.footer-row {
  margin-top: 80px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.28);
}
.contact-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: background 240ms ease, transform 240ms ease;
}
.contact-links a:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.contact-links .glyph {
  width: 14px; height: 14px; opacity: 0.7;
}

/* ===== reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms cubic-bezier(0.2,0.7,0.1,1), transform 800ms cubic-bezier(0.2,0.7,0.1,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
.reveal.d5 { transition-delay: 400ms; }

/* cursor follower */
.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,156,255,0.18), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
  mix-blend-mode: multiply;
}

/* scroll-driven hero parallax for stickers handled via JS */

/* ===== achievements section — resume-style list ===== */
.honours-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 48px 0 0;
}
.honours-heading:first-of-type { margin-top: 0; }
.honours-heading em {
  font-style: italic;
  font-family: "Instrument Serif", "Bricolage Grotesque", serif;
  font-weight: 400;
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.honours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.honours-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: baseline;
  transition: padding-left 240ms ease;
}
.honours-list li:hover {
  padding-left: 10px;
}
.honours-list li:hover .hl-tag {
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 240ms ease;
}
.hl-text {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .honours-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
