/* ===========================================================
   Ruqaiya Arjumand — Portfolio
   Editorial, type-led design. Single accent, generous space.
   =========================================================== */

:root {
  /* ---- brand system ---- */
  --ink-base: #262130;   /* deep plum-charcoal — text */
  --accent: #C5B3D3;     /* primary — lavender */
  --accent-soft: #F5CBCB; /* secondary — rose */
  --bg-2: #FFE2E2;        /* tertiary — pale pink */

  /* structural + aliases */
  --primary: var(--ink-base);
  --secondary: #FBEFEF;  /* blush — page background */
  --bg: var(--secondary);
  --ink: var(--primary);
  --muted: rgba(26, 26, 26, 0.58);    /* ink @ ~58% */
  --line: rgba(26, 26, 26, 0.12);     /* ink @ 12% */
  --paper-cream: #FFFFFF;
  --saffron: var(--accent);
  --walnut: var(--primary);

  --max: 1160px;
  --radius: 8px;
  --t: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.lead { font-size: 1.22rem; color: var(--muted); line-height: 1.55; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: 'Inter', serif; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.93rem; color: var(--muted); transition: color var(--t); position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.cta {
  color: var(--ink); border: 1px solid var(--accent); padding: 8px 18px; border-radius: 999px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.nav-links a.cta:hover { background: var(--forest); border-color: var(--forest); color: var(--warmwhite); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero base (collage hero is defined lower down) ---------- */
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-size: 0.95rem; font-weight: 500;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn-primary { background: var(--forest); color: var(--warmwhite); }
.btn-primary:hover { transform: translateY(-2px); background: #7c619f; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Marquee / credibility ---------- */
.cred { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.cred-row { display: flex; flex-wrap: wrap; gap: 14px 38px; align-items: center; }
.cred-label { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cred-item { font-family: 'Inter', serif; font-size: 1.05rem; color: var(--ink); }
.cred-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* ---------- Section heading ---------- */
.section { padding: 84px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head .eyebrow { margin-bottom: 14px; }

/* ---------- Work cards ---------- */
/* ---------- Featured internship card ---------- */
.featured {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.4s;
}
.featured:hover { transform: translateY(-5px); box-shadow: 0 34px 66px -36px rgba(24,24,24,0.4); border-color: var(--accent); }
.featured-cover {
  min-height: 320px; background: linear-gradient(150deg, var(--accent-soft), var(--bg-2));
  display: flex; align-items: center; justify-content: center;
}
.featured-cover .ph-label { font-family: 'Inter', sans-serif; color: var(--accent); font-size: 1.4rem; text-align: center; padding: 0 24px; }
.featured-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.badge {
  align-self: flex-start; background: var(--accent); color: #fff;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.featured-body h3 { font-size: 2rem; margin: 4px 0 12px; }
.featured-body p { color: var(--muted); margin-bottom: 22px; font-size: 1.02rem; }
.featured-body .card-link { color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.featured-body .card-link span { transition: transform var(--t); }
.featured:hover .card-link span { transform: translateX(4px); }
@media (max-width: 760px) { .featured { grid-template-columns: 1fr; } .featured-cover { min-height: 220px; } .featured-body { padding: 30px 26px; } }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 0 60px; }

/* ---------- Opening project cards (reveal "click to read") ---------- */
.proj { position: relative; display: block; }
.proj-back {
  position: absolute; inset: 3px; border-radius: 14px; background: var(--accent);
  display: flex; align-items: center; justify-content: flex-end; overflow: hidden;
  z-index: 1; transform-origin: center;
  transition: transform 0.55s cubic-bezier(0.34, 1.35, 0.5, 1), box-shadow 0.55s ease;
}
.proj-back span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.74rem; font-weight: 600;
  color: #fff; padding: 0 12px; white-space: nowrap;
}
.proj-front {
  position: relative; z-index: 2; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transform-origin: left center; backface-visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}
.proj:hover .proj-back {
  transform: translateX(54px);
  box-shadow: 16px 18px 38px -22px rgba(24, 24, 24, 0.45);
}
.proj:hover .proj-front {
  transform: perspective(1500px) rotateY(-9deg);
  box-shadow: 24px 22px 46px -28px rgba(24, 24, 24, 0.4);
}
.proj-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--accent); color: #fff; font-size: 0.66rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}
.proj-cover {
  position: relative; aspect-ratio: 16 / 9; flex: none;
  background: linear-gradient(150deg, var(--accent-soft), var(--bg-2));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.proj-cover .ph-label { font-family: 'Inter', sans-serif; color: var(--accent); font-size: 1.2rem; text-align: center; padding: 0 18px; }
/* drag-to-fill cover: add the named file to assets/covers/ and it appears; until then the label shows */
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.proj-info { padding: 22px 24px 26px; }
.proj-info h3 { font-size: 1.4rem; margin: 8px 0 10px; }
.proj-info p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; gap: 30px; padding: 0; } }

/* ---------- Playground ---------- */
.section-head .viewall { color: var(--accent); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.play-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.play-item { display: block; }
.play-thumb { aspect-ratio: 4 / 3; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform 0.35s ease; }
.play-thumb span { color: var(--accent); font-size: 0.95rem; }
.play-thumb.t-y { background: var(--bg-2); }
.play-thumb.t-y span { color: #8a6d00; }
.play-thumb.t-p { background: #FBDCEC; }
.play-item:hover .play-thumb { transform: scale(1.03); }
.play-cap { padding: 12px 2px 0; }
.play-cap strong { display: block; font-weight: 600; font-size: 1rem; color: var(--ink); }
.play-cap span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 760px) { .play-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .play-grid { grid-template-columns: 1fr; } }

/* ---------- See more work CTA ---------- */
.work-more { text-align: center; margin-top: 46px; }

/* ---------- Core strengths marquee ---------- */
.skills-mq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.mq2 { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq2-track { display: flex; gap: 14px; width: max-content; animation: scrollx2 34s linear infinite; }
.skills-mq:hover .mq2-track { animation-play-state: paused; }
@keyframes scrollx2 { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.skill-chip { border: 1px solid var(--line); padding: 12px 24px; font-size: 1rem; white-space: nowrap; color: var(--ink); background: #fff; }
@media (prefers-reduced-motion: reduce) { .mq2-track { animation: none; } }

/* ---------- Interactive pinboard (About) ---------- */
.about-intro { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.about-intro span { color: var(--accent); }

.board {
  position: relative; width: 100%; max-width: 960px; min-height: 420px; margin: 24px auto 0; overflow: hidden;
  background-color: #ECECEF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='48'%3E%3Crect x='15' y='11' width='10' height='26' rx='5' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 40px 48px;
  box-shadow: 0 24px 60px -36px rgba(0,0,0,0.28);
}
.board .pin-photo { width: 150px; }
.board .pin-photo.wide { width: 178px; }
.board .pin-photo.tall { width: 146px; }
.board .pin-note { width: 138px; font-size: 1.1rem; }
.pin-card { position: absolute; cursor: grab; user-select: none; touch-action: none; background: #fff; padding: 10px; box-shadow: 0 14px 30px -18px rgba(0,0,0,0.35); }
.pin-card.grabbing { cursor: grabbing; box-shadow: 0 22px 44px -20px rgba(0,0,0,0.45); }
.pin { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50% !important; background: var(--accent); box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.pin-photo { position: relative; overflow: hidden; width: 200px; aspect-ratio: 3 / 4; background: linear-gradient(150deg, var(--accent-soft), var(--bg-2)); display: flex; align-items: center; justify-content: center; }
.pin-photo.wide { width: 240px; aspect-ratio: 4 / 3; }
.pin-photo.tall { width: 196px; aspect-ratio: 3 / 4.4; }
.pin-photo span { color: var(--accent); font-size: 0.9rem; }
.pin-note { width: 190px; aspect-ratio: 1 / 1; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 1.45rem; line-height: 1.05; gap: 10px; padding: 20px; }
.pin-note small { font-weight: 500; font-size: 0.78rem; opacity: 0.8; }
.board-hint { text-align: center; margin-top: 16px; color: var(--muted); }
@media (max-width: 640px) {
  .board { min-height: 460px; }
  .board .pin-card:nth-child(5) { display: none; }
  .pin-photo, .pin-photo.wide, .pin-photo.tall { width: 112px; }
  .pin-note { width: 112px; font-size: 0.9rem; padding: 12px; }
  .pin-note small { font-size: 0.66rem; }
  .pin { width: 15px; height: 15px; top: -7px; }
}

/* ---------- Archive page ---------- */
.arch-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.arch-sub { color: var(--muted); margin-top: 10px; max-width: 60ch; }
.arch-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 6px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 0.9rem; padding: 8px 16px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip.active { background: var(--forest); color: var(--warmwhite); border-color: var(--forest); }
.arch-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.arch-row a { display: grid; grid-template-columns: 1fr auto auto 22px; align-items: center; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line); color: var(--ink); transition: padding-left 0.25s ease, color 0.25s ease; }
.arch-row a:hover { padding-left: 12px; color: var(--accent); }
.ar-name { font-size: 1.15rem; font-weight: 500; }
.ar-type, .ar-year { font-size: 0.85rem; color: var(--muted); }
.ar-go { text-align: right; color: var(--accent); }
.arch-row[hidden] { display: none; }
@media (max-width: 600px) { .arch-row a { grid-template-columns: 1fr auto; } .ar-year, .ar-go { display: none; } }
.card {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -32px rgba(27,26,24,0.32); border-color: var(--accent); }
.card-media {
  min-height: 280px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-2));
  display: flex; align-items: center; justify-content: center;
}
.card-media .ph-label {
  font-family: 'Inter', serif; font-style: italic; color: var(--accent);
  font-size: 1.4rem; opacity: 0.7; text-align: center; padding: 0 24px;
}
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.card-meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 16px; letter-spacing: 0.04em; }
.card-body h3 { font-size: 1.7rem; margin-bottom: 12px; }
.card-body p { color: var(--muted); font-size: 0.98rem; margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag { font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.card-link { font-size: 0.92rem; font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.card-link span { transition: transform var(--t); }
.card:hover .card-link span { transform: translateX(4px); }

/* ---------- About teaser ---------- */
.about-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-band .grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; padding: 84px 0; }
.about-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 22px; }
.about-band p { color: var(--muted); margin-bottom: 18px; }
.portrait {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--accent-soft), var(--bg));
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.portrait .ph-label { font-family: 'Inter', serif; font-style: italic; color: var(--accent); opacity: 0.6; }

/* ---------- Contact ---------- */
.contact { text-align: center; padding: 110px 0; }
.contact .eyebrow { margin-bottom: 22px; }
.contact h2 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); max-width: 18ch; margin: 0 auto 34px; }
.contact-mail { font-family: 'Inter', serif; font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 3px; transition: opacity var(--t); }
.contact-mail:hover { opacity: 0.7; }
.contact-links { display: flex; gap: 26px; justify-content: center; margin-top: 40px; }
.contact-links a { font-size: 0.92rem; color: var(--muted); transition: color var(--t); }
.contact-links a:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Case study page ---------- */
.cs-hero { padding: 70px 0 56px; }
.cs-hero .eyebrow { margin-bottom: 20px; }
.cs-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); max-width: 18ch; margin-bottom: 24px; }
.cs-hero .lead { max-width: 60ch; }
.cs-cover {
  aspect-ratio: 16/8; border-radius: var(--radius); overflow: hidden; margin: 12px 0 0;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-2));
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line);
}
.cs-cover .ph-label { font-family: 'Inter', serif; font-style: italic; color: var(--accent); opacity: 0.6; font-size: 1.3rem; }

.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.cs-fact .eyebrow { margin-bottom: 9px; }
.cs-fact p { font-size: 0.98rem; }

.cs-body { padding: 64px 0; }
.cs-body .col { max-width: 720px; margin: 0 auto; }
.cs-body h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 56px 0 18px; }
.cs-body h2:first-child { margin-top: 0; }
.cs-body h3 { font-size: 1.25rem; margin: 34px 0 12px; }
.cs-body p { margin-bottom: 20px; color: var(--ink); }
.cs-body ul { margin: 0 0 22px 0; padding-left: 0; list-style: none; }
.cs-body li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--ink); }
.cs-body li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.cs-body strong { color: var(--ink); font-weight: 600; }
.callout {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 22px 26px; border-radius: 0 10px 10px 0; margin: 30px 0;
  font-family: 'Inter', serif; font-style: italic; font-size: 1.12rem; color: #5a2718;
}
.cs-figure { margin: 34px 0; }
.cs-figure .ph {
  aspect-ratio: 16/9; border-radius: 10px; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--bg-2), var(--accent-soft));
  display: flex; align-items: center; justify-content: center;
}
.cs-figure .ph span { font-family: 'Inter', serif; font-style: italic; color: var(--accent); opacity: 0.6; }
.ph.filled { aspect-ratio: auto !important; border: 0 !important; background: none !important; padding: 0 !important; min-height: 0 !important; overflow: hidden; }
.ph.filled img.dropped { display: block; width: 100%; height: auto; border-radius: 10px; }
.cs-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; text-align: center; }

.cs-next { border-top: 1px solid var(--line); padding: 60px 0; text-align: center; }
.cs-next .eyebrow { margin-bottom: 16px; }
.cs-next a { font-family: 'Inter', serif; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--ink); transition: color var(--t); }
.cs-next a:hover { color: var(--accent); }

/* ---------- Case study side-nav (scroll-spy) ---------- */
.cs-back-link { display: inline-block; margin-bottom: 20px; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.cs-back-link:hover { color: var(--accent); }
.cs-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.cs-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-size: 0.95rem; font-weight: 600;
  background: var(--forest); color: var(--warmwhite);
  transition: transform 0.2s, background 0.2s;
}
.cs-content a.cs-cta { color: var(--warmwhite); }
.cs-cta:hover { transform: translateY(-2px); background: #7c619f; }
.cs-cta-note { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }
.cs-body { position: relative; }
.cs-grid { display: grid; grid-template-columns: 150px 1fr; gap: 56px; max-width: 980px; margin: 0 auto; align-items: start; }
.cs-content { max-width: 720px; }
.cs-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cs-sidenav { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 14px; }
.cs-sidenav a { color: var(--muted); font-size: 1rem; transition: color 0.2s; }
.cs-sidenav a:hover { color: var(--ink); }
.cs-sidenav a.active { color: #6f549c; font-weight: 600; }
.cs-body h2 { scroll-margin-top: 100px; }
.cs-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; }
.cs-metric { background: var(--bg-2); border-radius: var(--radius); padding: 20px; }
.cs-metric strong { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.cs-metric span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.cs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 24px 0; }
.cs-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.cs-opts .ph { aspect-ratio: 4 / 3; background: var(--bg-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.cs-opts .ph span { color: var(--muted); }
.cs-opts p { margin-top: 12px; }
.cs-opts .mark { font-weight: 700; color: var(--ink); }

/* ---------- Pen-stroke highlight (hand-drawn marker sweep) ---------- */
.hl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 200 40'%3E%3Cpath d='M4,29 C42,21 82,33 122,26 C160,20 184,29 197,24 L197,37 C160,34 122,39 82,35 C46,31 22,38 4,36 Z' fill='%23C5B3D3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.58em;
  padding: 0 0.1em 0.02em;
  color: var(--ink);
}
.hl-strong { font-weight: 600; }
@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; gap: 8px; }
  .cs-sidenav { display: none; }
  .cs-metrics, .cs-two, .cs-opts { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   Hero 2 — photo + fast-cycling head doodles + dot grid
   =========================================================== */
.hero2 { position: relative; height: 100svh; min-height: 600px; display: flex; align-items: center; overflow: hidden; padding: 84px 0 24px; }
.dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(221,90,165,0.22) 1.6px, transparent 1.8px);
  background-size: 30px 30px;
}
.dots-hot {
  background-image: radial-gradient(var(--accent) 2.2px, transparent 2.4px);
  opacity: 0; transition: opacity 0.4s ease;
  -webkit-mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 0 42%, transparent 72%);
          mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 0 42%, transparent 72%);
}
.hero2:hover .dots-hot { opacity: 1; }

.hero2-inner { position: relative; z-index: 2; text-align: center; width: 100%; }
.hero2-title { font-size: clamp(2.1rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.03; }
.hero2-title span { color: var(--accent); }
.hero2-sub { color: var(--muted); max-width: 54ch; margin: 14px auto 0; font-size: 1.04rem; line-height: 1.55; }
.hero2-inner .btn { margin-top: 22px; }

.portrait-stage { position: relative; width: clamp(170px, 30vh, 280px); margin: 3vh auto 0; }
.portrait-sketch {
  width: 100%; height: auto; display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 94%);
          mask-image: linear-gradient(to bottom, #000 52%, transparent 94%);
}
.portrait-note { display: block; margin-top: 10px; font-size: 0.8rem; color: var(--muted); }

.head-doodle { position: absolute; top: 4%; left: 50%; transform: translateX(-50%); width: 78%; aspect-ratio: 220 / 100; }
.hd-frame { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.hd-frame.on { opacity: 1; }
.hd-frame path { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.hd-frame g path { fill: var(--accent); stroke: none; opacity: 0.92; }

@media (max-width: 600px) { .hero2 { min-height: 82vh; } }

/* ---------- Dark closing / contact section ---------- */
.contact-dark { background: var(--accent-soft); color: var(--ink); text-align: center; }
.contact-dark-inner { padding: 96px 0 72px; }
.foot-doodle { position: relative; top: auto; left: auto; transform: none; margin: 0 auto 4px; width: 200px; }
.foot-doodle .hd-frame path { stroke: var(--accent); }
.cd-title { font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; max-width: 22ch; margin: 8px auto 0; line-height: 1.08; color: var(--ink); }
.cd-sub { color: rgba(26,26,26,0.62); margin: 20px auto 0; max-width: 52ch; font-size: 1.08rem; }
.cd-cta { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.btn-onDark { border: 1px solid rgba(26,26,26,0.18); color: var(--ink); background: #fff; }
.btn-onDark:hover { background: rgba(255,255,255,0.62); transform: translateY(-2px); }
.cd-foot { border-top: 1px solid rgba(26,26,26,0.14); padding: 28px 20px 32px; }
.cd-vibe { color: rgba(26,26,26,0.70); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.04em; }
.cd-socials { display: flex; gap: 24px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.cd-socials a { color: rgba(26,26,26,0.55); font-size: 0.95rem; transition: color 0.2s; }
.cd-socials a:hover { color: var(--ink); }

/* logo monogram — stylised two-tone "Ra" */
.logo-mark { font-weight: 800; font-size: 1.6rem; letter-spacing: -0.05em; line-height: 1; }
.logo-mark i { color: var(--accent); font-style: normal; }

/* ===========================================================
   Collage hero (Shubhika-inspired): photo + cutouts + crayon flowers
   =========================================================== */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  padding: 30px 0 60px; overflow: hidden;
}
.hero .wrap { width: 100%; }

/* cursor hover-reveal layer (kept from earlier) — now chinar-themed */
.hero-reveal {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 75% at 70% 24%, rgba(221,90,165,0.16), transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #fdeeb0 60%, #f7c8e1 100%);
  -webkit-mask-image: radial-gradient(circle 220px at var(--mx, 60%) var(--my, 42%), #000 0 54%, transparent 74%);
          mask-image: radial-gradient(circle 220px at var(--mx, 60%) var(--my, 42%), #000 0 54%, transparent 74%);
  opacity: 0; transition: opacity 0.55s ease;
}
.hero:hover .hero-reveal { opacity: 1; }
.chinar-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.chinar-field path { fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: 0.5; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center;
}

/* left — text */
.hero-name {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 6rem); line-height: 0.9;
  letter-spacing: -0.035em; text-transform: lowercase; color: var(--ink);
}
.hero-title {
  font-family: 'Inter', sans-serif; font-weight: 500; color: var(--accent);
  font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.2; margin-top: 12px;
  display: inline-block; letter-spacing: 0;
}
.hero-role { color: var(--muted); max-width: 40ch; margin-top: 26px; font-size: 1.05rem; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* right — collage cluster */
.collage { position: relative; height: 540px; }
.collage > * { position: absolute; }

.polaroid {
  width: 250px; top: 64px; left: 120px; transform: rotate(-4deg);
  background: #fff; padding: 12px 12px 42px; border-radius: 2px;
  box-shadow: 0 20px 44px -22px rgba(24,24,24,0.45); z-index: 3;
}
.polaroid .photo {
  aspect-ratio: 1 / 1.04; overflow: hidden;
  background: linear-gradient(150deg, var(--accent-soft), var(--bg-2));
  display: flex; align-items: center; justify-content: center;
}
.polaroid .photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid .ph-label { font-family: 'Inter', sans-serif; color: var(--accent); font-size: 1.3rem; text-align: center; padding: 0 18px; }

.receipt {
  width: 94px; top: 112px; left: 46px; transform: rotate(-9deg);
  background: #fff; padding: 12px 9px; z-index: 2;
  box-shadow: 0 12px 26px -16px rgba(24,24,24,0.4);
  font-family: 'Inter', monospace; font-size: 8px; color: var(--ink);
  line-height: 1.7; letter-spacing: 0.06em;
}
.receipt .barcode {
  height: 26px; margin-top: 8px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, #fff 1px 3px, var(--ink) 3px 4px, #fff 4px 6px);
}

.note-torn {
  width: 178px; top: 2px; left: 244px; transform: rotate(5deg); z-index: 4;
  background: var(--bg-2); padding: 20px 20px 26px;
  clip-path: polygon(0 9%, 14% 0, 33% 7%, 54% 0, 76% 8%, 100% 2%, 96% 42%, 100% 80%, 78% 100%, 54% 93%, 30% 100%, 9% 95%, 0 68%);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.2rem; color: #4a4540;
  box-shadow: 0 10px 22px -16px rgba(24,24,24,0.3);
}

.safetypin { width: 116px; top: 22px; left: 196px; transform: rotate(18deg); z-index: 5; }
.safetypin path, .safetypin circle {
  fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
}

/* crayon flowers */
.crayon-flower { z-index: 6; overflow: visible; }
.crayon path, .crayon circle { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.crayon .petal { fill: var(--bg); }
.cf-1 { width: 98px; top: 322px; left: 320px; }
.cf-2 { width: 70px; top: 396px; left: 150px; }
.flower-spin { animation: spin 9s linear infinite; }
.flower-spin.s2 { animation-duration: 13s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.flower-roll { width: 58px; bottom: 6px; left: -70px; animation: roll 15s linear infinite; }
@keyframes roll {
  0%   { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(560px) rotate(720deg); }
}

/* arm holding a flower — slides in from the right on scroll */
.arm-wrap { position: relative; height: 230px; overflow: hidden; margin-top: -10px; }
.arm-flower { position: absolute; right: 0; bottom: -12px; width: min(46vw, 520px); pointer-events: none; }
.arm-flower path, .arm-flower circle {
  fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
}
.arm-flower .petal { fill: var(--bg); }
.arm-flower.reveal { opacity: 0; transform: translateX(75%); transition: transform 1s cubic-bezier(0.22,1,0.36,1), opacity 0.8s ease; }
.arm-flower.reveal.in { opacity: 1; transform: translateX(0); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .collage { height: 470px; margin: 6px auto 0; max-width: 470px; width: 100%;
    transform: scale(0.86); transform-origin: top center; }
  .arm-wrap { height: 160px; }
  .arm-flower { width: 74vw; }
  .hero-reveal { display: none; }
}
@media (max-width: 460px) {
  .collage { transform: scale(0.72); height: 430px; }
}
@media (prefers-reduced-motion: reduce) {
  .flower-spin, .flower-roll { animation: none; }
}

/* ===========================================================
   Chinar leaf — signature logo (spins on hover), used site-wide
   =========================================================== */
.chinar-mark {
  display: inline-block; vertical-align: middle; overflow: visible;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.chinar-mark .leaf-fill { fill: var(--accent); stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; }
.chinar-mark .leaf-vein { fill: none; stroke: var(--bg); stroke-width: 2.4; stroke-linecap: round; opacity: 0.55; }
.chinar-mark:hover,
a:hover .chinar-mark,
.brand:hover .chinar-mark { transform: rotate(360deg); }

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand .chinar-mark { width: 24px; height: 26px; }

.chinar-accent { width: 30px; height: 32px; vertical-align: -6px; margin-left: 10px; }

/* decorative chinar leaves in the hero collage */
.chinar-deco { z-index: 6; overflow: visible; }

/* chinar stamp that pops in when a project card is hovered */
.card-stamp {
  position: absolute; top: 14px; right: 16px; width: 58px; height: 64px; z-index: 5;
  opacity: 0; transform: scale(0.55) rotate(-28deg); transform-origin: center; overflow: visible;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.card:hover .card-stamp { opacity: 1; transform: scale(1) rotate(-8deg); }

@media (prefers-reduced-motion: reduce) {
  .chinar-mark { transition: none; }
}

/* ===========================================================
   Hand-drawn doodles & handwritten notes (Arjun-inspired)
   =========================================================== */
.note {
  font-family: 'Inter', sans-serif; font-weight: 600;
  color: var(--accent); font-size: 1.35rem; line-height: 1;
  display: inline-flex; align-items: center; gap: 6px;
  text-transform: none; letter-spacing: 0;
}
.doodle { display: inline-block; overflow: visible; }
.doodle path, .doodle line, .doodle circle, .doodle ellipse, .doodle polyline {
  fill: none; stroke: var(--accent); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}

.doodle-arrow { width: 54px; height: 34px; }

/* a scribbled underline that draws itself when revealed */
.doodle-underline { width: 220px; height: 16px; }
.doodle-underline path {
  stroke-dasharray: 320; stroke-dashoffset: 320;
  transition: stroke-dashoffset 0.9s ease 0.25s;
}
.reveal.in .doodle-underline path,
.section-head.in .doodle-underline path { stroke-dashoffset: 0; }

/* note + arrow beside the work heading */
.head-note { display: inline-flex; align-items: flex-end; gap: 8px; margin-top: 14px; }
.head-note .note { transform: rotate(-4deg); }
.head-note .doodle-arrow { width: 54px; height: 34px; transform: rotate(4deg); }

/* hero handwritten cue near the reveal hint */
.hero-cue {
  grid-column: 9 / 13; grid-row: 2; justify-self: end; align-self: start;
  margin-top: 6px; text-align: right; position: relative;
}
.hero-cue .note { font-size: 1.25rem; transform: rotate(-3deg); color: var(--walnut); }
.hero-cue .doodle-arrow { width: 60px; height: 40px; display: block; margin: 2px 8px 0 auto; transform: rotate(8deg); }

/* ===========================================================
   Closing scene — Dal Lake shikara invitation
   =========================================================== */
.contact { padding-bottom: 0; }
.contact h2 em { font-style: italic; color: var(--accent); }
.contact-sub { max-width: 48ch; margin: 0 auto 8px; color: var(--muted); font-size: 1.08rem; }

.shikara-scene { margin: 26px auto 0; max-width: 980px; }
.footer-illo-ph {
  width: 100%; aspect-ratio: 900 / 430; margin: 0 auto;
  border: 2px dashed var(--line); border-radius: 16px; background: var(--bg-2);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.footer-illo-ph span { font-family: 'Inter', sans-serif; color: var(--accent); font-size: 1.55rem; line-height: 1.3; padding: 0 24px; }
.footer-illo-ph em { display: block; margin-top: 6px; font-size: 1.1rem; color: var(--muted); font-style: italic; }
.shikara-scene svg { width: 100%; height: auto; display: block; overflow: visible; }

.lake-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; opacity: 0.45; }
.mountain { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; opacity: 0.3; }
.sun { fill: var(--accent); opacity: 0.4; }
.ink { fill: none; stroke: var(--walnut); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ink-accent { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ink-fill { fill: var(--accent); opacity: 0.9; }
.leaf { fill: var(--accent); opacity: 0.7; }

.shikara-boat { transform-box: view-box; transform-origin: 450px 250px; animation: bob 4.5s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%      { transform: translateY(5px) rotate(0.5deg); }
}
.leaf-fall { transform-box: view-box; animation: leaffall 7s linear infinite; transform-origin: center; }
.leaf-fall.l2 { animation-duration: 9s; animation-delay: -3s; }
@keyframes leaffall {
  0%   { transform: translate(0,0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.7; }
  100% { transform: translate(-40px, 120px) rotate(180deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shikara-boat, .leaf-fall { animation: none; }
}
@media (max-width: 600px) {
  .hero-cue { display: none; }
  .head-note { margin-top: 10px; }
}

/* ===========================================================
   Affirmations marquee (auto-scrolling, reveal on hover)
   =========================================================== */
.affirm { padding: 84px 0 92px; overflow: hidden; }
.affirm .wrap { text-align: center; }
.affirm h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.affirm-sub { color: var(--muted); margin-top: 10px; font-size: 1.08rem; }

.marquee {
  margin-top: 46px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 24px; width: max-content; animation: scrollx 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.affirm-card {
  position: relative; flex: 0 0 236px; height: 336px; border-radius: 18px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.affirm-card.t1 { background: var(--accent-soft); }
.affirm-card.t2 { background: var(--bg-2); }
.affirm-card.t3 { background: #FFE9E9; }
.affirm-flower { width: 118px; height: auto; transition: opacity 0.4s ease, transform 0.4s ease; }
.affirm-msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 26px; opacity: 0; transition: opacity 0.4s ease;
  font-size: 1.22rem; font-weight: 500; line-height: 1.4; color: var(--ink);
}
.affirm-card:hover .affirm-flower { opacity: 0; transform: scale(0.92); }
.affirm-card:hover .affirm-msg { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===========================================================
   About page — Story / TL;DR
   =========================================================== */
.about-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; background: #fff; }
.seg-btn { border: 0; background: none; padding: 9px 22px; border-radius: 999px; font: inherit; font-size: 0.92rem; font-weight: 500; cursor: pointer; color: var(--muted); transition: background 0.25s, color 0.25s; }
.seg-btn.active { background: var(--forest); color: var(--warmwhite); }

.story-col { max-width: 820px; }
.story-col p { font-size: 1.34rem; line-height: 1.72; color: var(--ink); margin-bottom: 22px; }
.story-col p em { font-style: italic; }
.pill {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  padding: 0 12px; border-radius: 9px; font-weight: 600;
}

.tldr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; }
.tldr-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.tldr-k { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); font-weight: 600; }
.tldr-card p { margin-top: 8px; color: var(--ink); font-size: 1.02rem; line-height: 1.5; }

.pola-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 66px; justify-content: center; }
.polaroid2 {
  background: #fff; padding: 12px 12px 36px; border-radius: 2px; width: 200px;
  box-shadow: 0 16px 36px -22px rgba(24, 24, 24, 0.4); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.polaroid2:nth-child(1) { transform: rotate(-4deg); }
.polaroid2:nth-child(2) { transform: rotate(3deg); }
.polaroid2:nth-child(3) { transform: rotate(-2deg); }
.polaroid2:nth-child(4) { transform: rotate(5deg); }
.polaroid2:hover { transform: rotate(0deg) translateY(-6px); }
.polaroid2 .photo { aspect-ratio: 1 / 1.1; background: linear-gradient(150deg, var(--accent-soft), var(--bg-2)); display: flex; align-items: center; justify-content: center; }
.polaroid2 .ph-label { font-family: 'Inter', sans-serif; color: var(--accent); font-size: 1.1rem; }

.strengths { display: flex; flex-wrap: wrap; gap: 12px; }
.strengths span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-size: 0.95rem; color: var(--ink); }

@media (max-width: 760px) {
  .tldr-grid { grid-template-columns: 1fr; }
  .story-col p { font-size: 1.14rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .card { grid-template-columns: 1fr; }
  .card-media { min-height: 200px; }
  .about-band .grid { grid-template-columns: 1fr; gap: 36px; }
  .cs-facts { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 18px; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 24px 28px;
  }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 50px; }
  .section { padding: 64px 0; }
  .cs-facts { grid-template-columns: 1fr 1fr; }
}

/* ===========================================================
   Soft radius on flat components
   =========================================================== */
.chip, .skill-chip, .pin-card, .pin-photo, .pin-note, .play-thumb,
.board, .btn-onDark, .arch-filters .chip, .tag, .badge, .proj-badge { border-radius: var(--radius); }
.pin { border-radius: 50%; }

/* ===========================================================
   JOURNEY PALETTE — v31
   The scroll follows an emotional arc: Morning (hero) →
   Day (projects) → Evening (footer). Homepage-scoped via
   body.home; the footer is themed globally.
   =========================================================== */
:root{
  --paper:#FBEFEF; --forest:#8E74B4; --blossom:#E8B4C6; --sun:#F5CBCB;
  --cream:#FFF4F4; --charcoal:#262130; --copper:#8E74B4; --walnut2:#8E74B4;
  --dal:#3A2E4B; --warmwhite:#FBEFEF; --saffron2:#E8B4C6;
}

/* ---- GLOBAL FOOTER : Evening / Dal Lake blue ---- */
.contact-dark{ background:var(--dal); color:var(--warmwhite); margin-top:56px; }
.contact-dark .cd-title{ color:var(--warmwhite); }
.contact-dark .cd-sub{ color:rgba(247,245,239,.72); }
.contact-dark .btn-primary{ background:var(--forest); color:var(--warmwhite); }
.contact-dark .btn-primary:hover{ background:#7c619f; transform:translateY(-2px); }
.contact-dark .btn-onDark{ background:transparent; border:1px solid rgba(247,245,239,.42); color:var(--warmwhite); }
.contact-dark .btn-onDark:hover{ background:rgba(247,245,239,.10); transform:translateY(-2px); }
.contact-dark .cd-foot{ border-top:1px solid rgba(247,245,239,.16); }
.contact-dark .cd-vibe{ color:rgba(247,245,239,.82); }
.contact-dark .cd-socials a{ color:rgba(247,245,239,.6); }
.contact-dark .cd-socials a:hover{ color:var(--saffron2); }
.foot-doodle .hd-frame path{ stroke:var(--saffron2); }
/* shikara sits below the buttons, centred; petals drift over the whole footer */
.contact-dark{ position:relative; overflow:hidden; }
.contact-dark-inner, .cd-foot{ position:relative; z-index:2; }
.foot-petals{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.foot-shikara{ max-width:400px; margin:26px auto 2px; position:relative; z-index:2; }
.foot-shikara img{ width:100%; height:auto; max-height:200px; object-fit:contain; display:block; opacity:.92; }
@media(max-width:700px){ .contact-dark{ margin-top:44px; } .foot-shikara{ max-width:320px; } }

/* ---- HOME : Morning hero (warm paper) ---- */
body.home{ background:var(--paper); }
body.home .hero2{ background:var(--paper); height:auto; min-height:100svh;
  align-items:flex-start; padding:150px 0 64px; }
body.home .hero2-title{ color:var(--charcoal); line-height:1.1; }
body.home .hero2-sub{ color:rgba(31,31,31,.66); margin-top:14px; max-width:58ch; }
body.home .btn-primary{ background:var(--forest); color:var(--warmwhite); }
body.home .btn-primary:hover{ background:#7c619f; }
/* dots become a soft border — cleared behind the heading + illustration */
/* dots frame the sides/corners; the central column (heading + illustration) stays clear */
body.home .dots{ background-image:radial-gradient(rgba(142,116,180,.22) 2.2px, transparent 2.4px);
  -webkit-mask-image:radial-gradient(ellipse 46% 88% at 50% 50%, transparent 0 62%, #000 90%);
  mask-image:radial-gradient(ellipse 46% 88% at 50% 50%, transparent 0 62%, #000 90%); }
body.home .dots-hot{ background-image:radial-gradient(var(--blossom) 2.2px, transparent 2.4px);
  -webkit-mask-image:radial-gradient(ellipse 46% 88% at 50% 50%, transparent 0 62%, #000 90%);
  mask-image:radial-gradient(ellipse 46% 88% at 50% 50%, transparent 0 62%, #000 90%); }
body.home .skill-chip{ border-color:rgba(142,116,180,.26); color:var(--forest); background:var(--paper); }
@media(max-width:600px){ body.home .hero2{ padding-top:120px; } }

/* hero illustration + breeze (animates HER line-art image, not a redraw) */
.hero-figure{ position:relative; width:clamp(220px,38vh,360px); margin:26px auto 0; }
.hero-girl{ width:100%; height:auto; display:block; }
.hero-girl.img-missing{ display:none; }
.hero-figure .portrait-note{ margin-top:10px; font-size:0.82rem; color:var(--muted); }
/* fabric-in-breeze: figure leans + shears gently from the planted base */
@keyframes heroSway{
  0%,100%{ transform:rotate(-0.8deg) skewX(0.7deg); }
  50%{ transform:rotate(0.9deg) skewX(-0.7deg); }
}
/* footer shikara — a slow, calm drift like water beneath the boat */
/* shikara stays still — calm scene */
.petal-layer{ position:absolute; inset:-30px 0 0 0; overflow:visible; pointer-events:none; z-index:1; }
.petal{ position:absolute; top:0; width:13px; height:13px; opacity:0; }
.petal svg{ width:100%; height:100%; display:block; fill:var(--blossom); }
@keyframes petalFall{
  0%{ transform:translate(0,-24px) rotate(0deg); opacity:0; }
  12%{ opacity:.85; }
  100%{ transform:translate(46px,64vh) rotate(340deg); opacity:0; }
}
@media(prefers-reduced-motion:reduce){ .hero-girl{ animation:none; } .petal{ display:none; } }

/* ---- HOME : Day / Projects (uniform blush, no section bands) ---- */
body.home #work{ background:var(--secondary); }
body.home #work h2{ color:var(--charcoal); }
body.home #work .doodle-underline path{ stroke:var(--copper); }
body.home .proj:hover{ border-color:var(--copper); }
body.home .proj-badge{ background:var(--copper); }
body.home .proj-back{ background:var(--copper); }
body.home .proj-cover{ background:linear-gradient(150deg,#F5CBCB,#FFE2E2); }
body.home .proj-cover .ph-label{ color:var(--copper); }
body.home .card-meta,
body.home .proj-info .tag{ color:var(--walnut2); }

/* ---- HOME : affirmations (little reminders) ---- */
body.home .affirm{ background:var(--secondary); }
body.home .affirm h2{ color:var(--charcoal); }
body.home .affirm-sub{ color:rgba(31,31,31,.6); }
body.home .marquee-track{ animation-duration:46s; }
.affirm-mini .marquee-track{ animation-duration:40s; }
.affirm-mini .affirm-card{ min-height:0; padding:22px 30px; display:flex; align-items:center;
  justify-content:center; background:#F7D9D9; }
.affirm-mini .affirm-card.t2{ background:#FFE2E2; }
.affirm-mini .affirm-card.t3{ background:#FBEFEF; }
.affirm-mini .affirm-msg{ position:static; opacity:1; transform:none; font-size:1.18rem;
  font-weight:600; color:var(--charcoal); white-space:nowrap; }

/* ---- Home : work-section footnote + capstone "coming soon" card ---- */
.work-foot-note{ text-align:center; max-width:640px; margin:44px auto 0; color:var(--muted);
  font-size:1.02rem; }
.proj.is-soon{ cursor:default; }
.proj.is-soon .proj-badge{ background:var(--accent-soft); color:var(--ink); }
.proj.is-soon .proj-back{ background:var(--accent-soft); }
.proj.is-soon .proj-back span{ color:var(--ink); }

/* ---- About : dynamic journey timeline (cards, reveal on scroll) ---- */
.timeline{ position:relative; margin:40px 0 8px; }
.timeline::before{ content:''; position:absolute; left:19px; top:16px; bottom:24px; width:2px;
  background:linear-gradient(var(--copper), var(--accent-soft)); }
.tl-item{ position:relative; padding:0 0 22px 58px; }
.tl-item:last-child{ padding-bottom:2px; }
.tl-item::before{ content:''; position:absolute; left:12px; top:26px; width:16px; height:16px;
  border-radius:50%; background:var(--secondary); border:3px solid var(--copper); z-index:1;
  transition:transform .5s ease, background .5s ease; }
.tl-item.in::before{ background:var(--copper); transform:scale(1.15); }
.tl-card{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px 26px;
  box-shadow:0 12px 30px -20px rgba(20,20,30,.28); }
.tl-year{ display:inline-block; font-family:'Inter',sans-serif; font-weight:800;
  color:var(--copper); font-size:.92rem; letter-spacing:.08em; margin-bottom:8px; }
.tl-card h3{ font-size:1.28rem; margin:0 0 12px; color:var(--charcoal); letter-spacing:-0.01em; }
.tl-card p{ color:var(--ink); margin:0 0 12px; font-size:1.02rem; line-height:1.72; }
.tl-card p:last-child{ margin-bottom:0; }
@media(max-width:640px){
  .timeline::before{ left:9px; }
  .tl-item{ padding-left:34px; }
  .tl-item::before{ left:2px; }
}
