/* ─────────────────────────────────────────────
   designRIT V2  ·  style.css
   ───────────────────────────────────────────── */

/* ── LOCAL FONT: Neue Haas Grotesk Display ── */
@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('../Fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayBlack.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('../Fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('../Fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('../Fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayRoman.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('../Fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayRomanItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('../Fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayMediu.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── LOCAL FONT: Milo Serif (RIT secondary typeface) ── */
@font-face {
  font-family: 'Milo Serif';
  src: url('../Fonts/b2f7c0fdefb936d085b70a2b893055ac.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Milo Serif';
  src: url('../Fonts/3682927e7e21c44d923ef97719a2cd94.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Milo Serif';
  src: url('../Fonts/fdcd21733ffc3051297ba0f216f5bd78.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── TOKENS ── */
:root {
  --nav-height:   72px;
  --black:        #0a0a0a;
  --white:        #fafaf8;
  --off-white:    #f4f2ee;
  --orange:       #F76902;
  --orange-dim:   #F76902;
  --gray:         #6b6a64;
  --light-gray:   #d8d6d0;
  --border:       #e0ddd7;
  --card-hover:   #1a1a18;
  --display:      'NeueHaasDisplay', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --grotesk:      'NeueHaasDisplay', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif:        'Milo Serif', Georgia, serif;
  --page-pad:     56px;
  --page-pad-md:  28px;
  --page-pad-sm:  20px;

  /* ── TYPE SCALE — the only five text sizes on the site ──
     Every font-size in the site points at one of these. */
  --fs-h1:      clamp(30px, 3vw, 44px);   /* page titles, big names        */
  --fs-h4:      clamp(22px, 2vw, 28px);   /* sub-headings, card titles     */
  --fs-h6:      20px;                     /* small headings, labels        */
  --fs-b:       17px;                     /* body copy, links, buttons     */
  --fs-caption: 13px;                     /* captions, chips, meta         */

  /* ── TEXT COLORS — the only three ──
     Text uses --black, --gray or --orange. --white is only used as a
     background, or for text sitting on orange / black / photos. */
  --text:        var(--black);
  --text-muted:  var(--gray);
  --text-accent: var(--orange);
}
@media (max-width: 768px) {
  :root { --fs-h6: 18px; --fs-b: 16px; }
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--grotesk);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: url('../cursor/pointer.svg') 5 4, pointer; font: inherit; }
::selection { background: var(--orange); color: var(--white); }

/* ── CURSOR (RIT orange, based on the v1 site's cursor) ──
   cursor/arrow.svg = default, cursor/pointer.svg = links & buttons.
   Text fields keep the normal text cursor. */
html, body { cursor: url('../cursor/arrow.svg') 5 4, auto; }
a, button, label, summary, select, [role="button"], [role="tab"], .x-card, .s-card,
input[type="checkbox"], input[type="radio"] {
  cursor: url('../cursor/pointer.svg') 5 4, pointer;
}
input[type="search"], input[type="text"], input[type="email"], textarea { cursor: text; }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--page-pad); height: var(--nav-height);
  background: rgba(250, 250, 248, 0.93);
  backdrop-filter: blur(16px);
  transition: background .3s;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; }

/* Tiger nav logo — sized to fit within the existing 72px nav bar */
.nav-tiger-logo {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* CSS text logo (nav) */
.nav-logo-text {
  font-family: var(--display);
  font-size: var(--fs-h4);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0;
}
.nl-design { color: var(--black); }
.nl-rit    { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 4px; }

/* Centered nav group (Home + Spotlight) */
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--serif); font-size: var(--fs-b); font-weight: 500;
  padding: 7px 16px; border-radius: 6px;
 color: var(--gray);
  transition: background .18s, color .18s;
}
.nav-link:hover { background: var(--orange); color: var(--white); }
.nav-link.active { color: var(--black); font-weight: 500; }
.nav-link.cta {
  background: var(--black); color: var(--white);
  padding: 8px 20px; border-radius: 6px;
}
.nav-link.cta:hover { background: var(--orange); }

/* ── PAGE SPACING ── */
.page-top { padding-top: var(--nav-height); }

/* ══════════════════════════════════════════════
   HERO WORDMARK  (index.html)
══════════════════════════════════════════════ */
.hero-wm-section {
  padding: 56px var(--page-pad) 56px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* ── Hero logo image (designRIT.png) ── */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 44px;
  cursor: url('../cursor/arrow.svg') 5 4, auto;
  isolation: isolate;
}
.hero-logo-img {
  display: block;
  max-width: min(780px, 88vw);
  width: 100%;
  height: auto;
  user-select: none;
}
/* Shimmer overlay — uses mix-blend-mode: screen so orange sweep shows on
   dark letter pixels while the white background stays white */
.hero-logo-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    #F76902 0%, #F76902 18%, #F76902 34%,
    #F76902 50%, #F76902 66%, #F76902 82%, #F76902 100%);
  background-size: 300% 100%;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-logo-wrap:hover .hero-logo-shimmer {
  opacity: 1;
  animation: logoSweep 3s ease-in-out infinite;
}
@keyframes logoSweep {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrap:hover .hero-logo-shimmer {
    animation: none;
    opacity: 0.65;
  }
}
@media (hover: none) {
  .hero-logo-shimmer { display: none; }
}

/* Keep old .hero-wm rule minimal (element no longer rendered, avoids layout side-effects) */
.hero-wm { display: none; }
.hero-wm-rit { color: var(--orange); display: inline-block; }
.hero-wm-lower {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.hero-wm-desc { max-width: 720px; text-align: center; }
.hero-wm-eyebrow {
  font-size: var(--fs-caption); font-weight: 700;
  color: var(--orange); margin-bottom: 12px;
}
.hero-wm-tagline {
  font-size: var(--fs-h4); line-height: 1.65; color: var(--gray);
}
.hero-wm-tagline em { font-style: italic; color: var(--black); }

/* "Rochester Institute of Technology" hover interaction */
.rit-link {
  color: var(--black);
  border-bottom: 1px solid var(--orange);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.rit-link::after {
  content: ' \2192'; /* → */
  color: var(--orange);
  opacity: 0;
  display: inline;
  transition: opacity 0.3s ease;
}
.rit-link:hover { color: var(--orange); }
.rit-link:hover::after { opacity: 1; }

/* ══════════════════════════════════════════════
   HERO  (shared: spotlight page header)
══════════════════════════════════════════════ */
.hero {
  padding: 80px var(--page-pad) 64px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(247,105,2,.055), transparent);
  pointer-events: none;
}
.hero-inner { max-width: min(1060px, 92vw); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-caption); font-weight: 700;
  color: var(--orange); margin-bottom: 24px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 24px; height: 1px;
  background: var(--orange); opacity: .5;
}
.hero-title {
  font-family: var(--grotesk);
  font-size: var(--fs-h1);
  font-weight: 600; line-height: 1.06; letter-spacing: -1.2px;
  color: var(--black); max-width: 900px; margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--orange); font-weight: 700; }
.hero-desc {
  font-family: var(--serif);
  font-size: var(--fs-b); line-height: 1.75; color: var(--gray);
  max-width: 600px; font-weight: 400;
}
.hero-desc + .hero-desc { margin-top: 16px; }
.hero-desc em { font-style: italic; color: var(--black); }
.hero-stats {
  display: flex; align-items: center; gap: 40px;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: var(--fs-h4); font-weight: 400;
  color: var(--black); line-height: 1;
}
.stat-label {
  font-size: var(--fs-caption); font-weight: 500;
 color: var(--gray); margin-top: 4px;
}
.stat-divider { width: 1px; height: 28px; background: var(--border); }

/* ══════════════════════════════════════════════
   SECTION LABELS  (orange rule headers)
══════════════════════════════════════════════ */
.section-header { padding: 56px var(--page-pad) 0; }
.section-label {
  font-size: var(--fs-h6); font-weight: 700;
  color: var(--orange); display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════════
   MAILU SPOTLIGHT CAROUSEL  (homepage)
══════════════════════════════════════════════ */
.spotlight-mailu-section {
  padding: 56px var(--page-pad) 0;
  border-bottom: 1px solid var(--border);
}
.spotlight-mailu-section .section-label { margin-bottom: 0; }

/* ── Editorial carousel wrap ── */
.spotlight-mailu-wrap {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: stretch;
  border-top: 1px solid var(--border);
  overflow: hidden;
  min-height: 480px;
  margin-top: 28px;
}
.sm-media {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}
.sm-media-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: grayscale(100%);
  transition: filter .6s cubic-bezier(.25,.46,.45,.94), transform .6s cubic-bezier(.25,.46,.45,.94);
}
.spotlight-mailu-wrap:hover .sm-media-img {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.sm-placement-chip {
  position: absolute; top: 24px; left: 24px;
  background: rgba(10,10,10,.72); color: var(--white);
  font-size: var(--fs-caption); font-weight: 700;
  padding: 5px 14px; border-radius: 100px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  transition: opacity .3s;
}
.sm-info {
  background: var(--white);
  padding: 52px 64px 44px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  min-height: 0;
}
.sm-info-body { flex: 1; }
.sm-place-label {
  font-size: var(--fs-caption); font-weight: 700;
  color: var(--gray); margin-bottom: 20px;
  transition: opacity .3s;
}
.sm-name {
  font-family: var(--display);
  font-size: var(--fs-h1);
  font-weight: 900; letter-spacing: -1.5px;
  color: var(--black); line-height: 1;
  margin-bottom: 6px;
  transition: opacity .3s;
}
.sm-major {
  font-size: var(--fs-caption); color: var(--gray); margin-bottom: 32px;
  transition: opacity .3s;
}
.sm-project-title {
  font-size: var(--fs-b); font-weight: 600; color: var(--black);
  margin-bottom: 10px; transition: opacity .3s;
}
.sm-project-desc {
  font-family: var(--serif);
  font-size: var(--fs-b); line-height: 1.78; color: var(--gray);
  margin-bottom: 20px;
  transition: opacity .3s;
}
.sm-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 32px; transition: opacity .3s;
}
.sm-cta {
  font-family: var(--serif);
  font-size: var(--fs-b); font-weight: 500; color: var(--black);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .18s, color .18s;
}
.sm-cta:hover { gap: 10px; color: var(--orange); }
.sm-nav {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.sm-nav-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-b); color: var(--black);
  transition: background .18s, color .18s, border-color .18s;
  flex-shrink: 0;
}
.sm-nav-btn:hover {
  background: var(--black); color: var(--white); border-color: var(--black);
}
.sm-dots { display: flex; gap: 8px; }
.sm-dot {
  width: 7px; height: 7px;
  border-radius: 50%; border: none; padding: 0;
  background: var(--border);
  cursor: url('../cursor/pointer.svg') 5 4, pointer;
  transition: background .2s, transform .2s, width .2s;
}
.sm-dot.active { background: var(--black); width: 20px; border-radius: 4px; }

/* Fade transition */
.spotlight-mailu-wrap.fading .sm-media-img {
  opacity: 0;
  transition: opacity .28s;
}
.spotlight-mailu-wrap.fading .sm-info-body > * {
  opacity: 0;
  transition: opacity .28s;
}

/* ══════════════════════════════════════════════
   MEMBER GRID  (shared across categories)
══════════════════════════════════════════════ */
.grid-section { padding: 0 var(--page-pad) 72px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
}
.grid.grid-admin { grid-template-columns: repeat(6, 1fr); }

/* ── Card ── */
.card {
  position: relative; cursor: url('../cursor/pointer.svg') 5 4, pointer; overflow: hidden;
  aspect-ratio: 3/4; background: var(--off-white);
}
.card-img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: grayscale(100%);
  transition: transform .5s cubic-bezier(.25,.46,.45,.94), filter .4s;
}
.card:hover .card-img { transform: scale(1.06); filter: grayscale(0%); }
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.78) 0%, rgba(10,10,10,.2) 45%, transparent 78%);
}
.card:hover .card-overlay {
  background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.4) 55%, transparent 100%);
}
/* Default label (always visible) */
.card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px 16px;
  background: linear-gradient(to top, rgba(10,10,10,.8), transparent);
  transition: opacity .3s;
}
.card:hover .card-label { opacity: 0; }
.card-label-name {
  font-family: var(--grotesk); font-size: var(--fs-caption); font-weight: 600;
  color: rgba(255,255,255,.96); line-height: 1.3;
}
.card-label-sub {
  font-size: var(--fs-caption); color: rgba(255,255,255,.55); margin-top: 2px;
}
/* Hover info */
.card-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px 20px;
  transform: translateY(8px); opacity: 0;
  transition: transform .35s, opacity .35s;
}
.card:hover .card-info { transform: none; opacity: 1; }
.card-name {
  font-family: var(--grotesk); font-size: var(--fs-b); font-weight: 600;
  color: var(--white); letter-spacing: -.2px; line-height: 1.2;
  transition: color .2s;
}
.card:hover .card-name { color: var(--orange); }
.card-role { font-size: var(--fs-caption); color: rgba(255,255,255,.6); margin-top: 3px; }
/* Year badge */
.card-year-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(250,250,248,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2); color: var(--white);
  font-size: var(--fs-caption); font-weight: 700;
  padding: 4px 8px; border-radius: 100px;
  opacity: 0; transition: opacity .35s;
}
.card:hover .card-year-badge { opacity: 1; }
/* Admin role badge */
.card-admin-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--orange); color: var(--white);
  font-size: var(--fs-caption); font-weight: 700;
  padding: 3px 8px; border-radius: 100px;
}

/* ══════════════════════════════════════════════
   SPOTLIGHT PAGE — Section 1: Top 3
══════════════════════════════════════════════ */
.sp-top3-section {
  padding: 56px 0 0;
  border-bottom: 1px solid var(--border);
}
.sp-top3-section .section-header { padding-top: 0; }
.sp-top3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 0 0;
}
.sp-placement-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--orange); color: var(--white);
  font-size: var(--fs-caption); font-weight: 700;
  padding: 4px 12px; border-radius: 100px; z-index: 2;
}

/* ══════════════════════════════════════════════
   SPOTLIGHT PAGE — Section 2: History
══════════════════════════════════════════════ */
.sp-history-section { padding: 56px 0 80px; }
.sp-history-section .section-header { padding-top: 0; }
.sp-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
  padding: 0 var(--page-pad);
}
.sp-hidden { display: none !important; }
.sp-read-more-wrap {
  text-align: center;
  padding: 40px var(--page-pad) 0;
}
.sp-read-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--serif);
  font-size: var(--fs-caption); font-weight: 500;
  color: var(--black); border: 1px solid var(--border);
  padding: 12px 28px; border-radius: 100px;
  cursor: url('../cursor/pointer.svg') 5 4, pointer; transition: background .18s, color .18s, border-color .18s;
}
.sp-read-more-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* Shared spotlight card styles */
.spotlight-full-card {
  position: relative; overflow: hidden; background: var(--off-white);
  aspect-ratio: 16/11; cursor: url('../cursor/arrow.svg') 5 4, auto;
}
.spotlight-full-card-img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: grayscale(100%);
  transition: transform .5s cubic-bezier(.25,.46,.45,.94), filter .4s;
}
.spotlight-full-card:hover .spotlight-full-card-img {
  transform: scale(1.04); filter: grayscale(0%);
}
.spotlight-full-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.88) 0%, rgba(10,10,10,.2) 55%, transparent 90%);
}
.spotlight-full-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 28px;
}
.spotlight-full-card .spotlight-card-title { font-size: var(--fs-h6); }

/* Shared tag / title styles (used in both carousel and full cards) */
.spotlight-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.spotlight-tag {
  font-size: var(--fs-caption); font-weight: 700;
  color: var(--orange); background: rgba(247,105,2,.15);
  border: 1px solid rgba(247,105,2,.3);
  padding: 3px 8px; border-radius: 100px;
}
.spotlight-card-title {
  font-family: var(--grotesk); font-size: var(--fs-h6); font-weight: 700;
  color: var(--white); line-height: 1.2; letter-spacing: -.2px;
}
.spotlight-card-subtitle {
  font-size: var(--fs-caption); color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.spotlight-card-designer {
  margin-top: 14px; display: flex; align-items: center; gap: 10px;
}
.spotlight-designer-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  object-position: top; border: 1.5px solid rgba(255,255,255,.25);
}
.spotlight-designer-name {
  font-size: var(--fs-caption); font-weight: 600; color: rgba(255,255,255,.85);
}

/* View all link */
.spotlight-cta {
  margin-top: 24px; display: flex; align-items: center; gap: 10px;
}
.spotlight-cta a {
  font-size: var(--fs-caption); font-weight: 600; color: var(--orange);
 transition: gap .18s;
  display: flex; align-items: center; gap: 6px;
}
.spotlight-cta a:hover { gap: 10px; }

/* ══════════════════════════════════════════════
   PROFILE PAGE
══════════════════════════════════════════════ */
.profile-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
  border-bottom: 1px solid var(--border);
}
.profile-hero-left {
  padding: 72px 64px 64px;
  display: flex; flex-direction: column; justify-content: flex-start;
  border-right: 1px solid var(--border);
  border-top: 3px solid var(--orange);
}
.profile-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-caption); font-weight: 700;
  color: var(--orange); margin-bottom: 40px;
}
.profile-eyebrow span { width: 32px; height: 1px; background: var(--orange); opacity: .5; display: inline-block; }
.profile-name {
  font-family: var(--display);
  font-size: var(--fs-h1);
  font-weight: 900; line-height: .96; letter-spacing: -2.5px;
  color: var(--black); margin-bottom: 20px;
}
.profile-name em { font-style: normal; color: var(--orange); }
.profile-major {
  font-size: var(--fs-caption); font-weight: 700;
  color: var(--gray); margin-bottom: 4px;
}
.profile-class { font-size: var(--fs-h6); color: var(--orange); font-weight: 600; }
.profile-role-badge {
  display: inline-block; margin-top: 10px;
  font-size: var(--fs-caption); font-weight: 700;
  color: var(--white); background: var(--orange);
  padding: 4px 12px; border-radius: 100px;
}
.profile-bio {
  font-family: var(--serif);
  font-size: var(--fs-b); line-height: 1.78; color: var(--gray);
  max-width: 460px; margin-top: 24px;
}
.profile-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.skill-tag {
  font-size: var(--fs-caption); font-weight: 600;
  padding: 6px 14px; border: 1px solid var(--black); border-radius: 100px; color: var(--black);
  transition: background .18s, color .18s;
}
.skill-tag:hover { background: var(--black); color: var(--white); }
.profile-contacts { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-b); color: var(--gray); transition: color .18s;
}
.contact-item:hover { color: var(--orange); }
.contact-item svg { flex-shrink: 0; opacity: .5; }
.contact-item:hover svg { opacity: 1; }

/* Profile right (photo) */
.profile-hero-right {
  position: relative; overflow: hidden; background: var(--off-white);
}
.profile-hero-right img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: none;
  transition: transform 8s ease;
}
.profile-hero-right:hover img { transform: scale(1.03); }
.profile-hero-right::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--off-white), transparent);
}
.profile-year-watermark {
  position: absolute; bottom: 32px; right: 36px;
  font-family: var(--display);
  font-size: clamp(80px, 10vw, 140px); font-weight: 900; font-style: normal;
  color: var(--orange); opacity: .07; line-height: 1; z-index: 1;
  user-select: none; pointer-events: none;
}

/* Experience */
.profile-exp-section {
  padding: 72px 64px; border-bottom: 1px solid var(--border); max-width: 880px;
}
.exp-section-label {
  font-size: var(--fs-caption); font-weight: 700;
  color: var(--orange); display: flex; align-items: center; gap: 14px; margin-bottom: 48px;
}
.exp-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.exp-list { display: flex; flex-direction: column; }
.exp-item {
  display: grid; grid-template-columns: 1fr auto;
  gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--border);
}
.exp-item:last-child { border-bottom: none; }
.exp-title { font-size: var(--fs-b); font-weight: 600; letter-spacing: -.2px; color: var(--black); }
.exp-company { font-size: var(--fs-caption); color: var(--gray); margin-top: 5px; }
.exp-desc { font-family: var(--serif); font-size: var(--fs-b); line-height: 1.7; color: var(--gray); margin-top: 12px; }
.exp-year {
  font-size: var(--fs-caption); font-weight: 700; color: var(--orange);
 white-space: nowrap; align-self: start; margin-top: 4px;
}

/* Profile nav strip */
.profile-nav-strip { display: flex; }
.profile-nav-item {
  flex: 1; padding: 32px 40px; display: flex; flex-direction: column; gap: 6px;
  cursor: url('../cursor/pointer.svg') 5 4, pointer; transition: background .2s;
}
.profile-nav-item:hover { background: var(--off-white); }
.profile-nav-item.pni-next { text-align: right; }
.pni-label {
  font-size: var(--fs-caption); font-weight: 700;
  color: var(--gray); transition: color .18s;
}
.pni-name { font-size: var(--fs-h6); font-weight: 600; color: var(--black); transition: color .18s; }
.profile-nav-item:hover .pni-label { color: var(--orange); }
.profile-nav-item:hover .pni-name  { color: var(--orange); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer { background: var(--black); }
.marquee-wrap {
  overflow: hidden; padding: 14px 0; background: #111;
}
.marquee-track {
  /* width: max-content so -50% = exactly half the repeated text (seamless loop, no jump) */
  display: flex; width: max-content; white-space: nowrap;
  animation: marquee 58s linear infinite;
  will-change: transform; backface-visibility: hidden;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: var(--fs-caption); font-weight: 500;
  color: var(--orange); padding: 0 28px;
}
/* Java's Coffee icon inside the footer belt */
.marquee-track .belt-icon {
  display: inline-block; height: 1.15em; width: 1.15em; /* fixed size: no width change when it loads */
  vertical-align: -0.22em; margin-left: .4em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.footer-main {
  padding: 56px var(--page-pad) 48px;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  border-bottom: 1px solid #1e1e1c; text-align: center;
}
/* CSS text logo (footer) */
.footer-logo-text {
  font-family: var(--display);
  font-size: var(--fs-h1);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.footer-logo-text .nl-design { color: var(--white); }
.footer-logo-text .nl-rit    { color: var(--orange); }
.footer-tagline {
  font-style: italic; font-size: var(--fs-b); color: var(--gray); line-height: 1.65; max-width: 44em;
}
.footer-nav-row {
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center;
}
.footer-link {
  font-size: var(--fs-caption); color: var(--gray); transition: color .18s; cursor: url('../cursor/pointer.svg') 5 4, pointer;
}
.footer-link:hover { color: var(--white); }
.footer-meta-row { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-meta { font-size: var(--fs-caption); color: var(--gray); }
.footer-bottom {
  padding: 18px var(--page-pad);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: var(--fs-caption); color: var(--gray); }
.footer-type { font-size: var(--fs-caption); color: var(--gray); }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE  ·  Tablet  ≤1100px
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --page-pad: var(--page-pad-md); }
  .grid.grid-admin { grid-template-columns: repeat(3, 1fr); }
  .sp-top3-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-top3-grid .spotlight-full-card:nth-child(3) { display: none; }
  .spotlight-mailu-wrap { grid-template-columns: 3fr 2fr; }
  .sm-info { padding: 40px 44px 36px; }
  .profile-hero { grid-template-columns: 1fr; }
  .profile-hero-right { height: 60vw; min-height: 300px; }
  .profile-hero-left { padding: 48px var(--page-pad-md); border-right: none; }
  .profile-exp-section { padding: 48px var(--page-pad-md); }
  .profile-nav-strip { flex-direction: column; }
  .profile-nav-item.pni-next { text-align: left; }
  .hero-wm-lower { flex-direction: column; align-items: center; gap: 28px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE  ·  Mobile  ≤768px
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-height: 60px; --page-pad: var(--page-pad-sm); }
  .nav { padding: 0 var(--page-pad-sm); }
  .nav-logo-text { font-size: var(--fs-h4); }
  .nav-link { font-size: var(--fs-b); padding: 6px 12px; }
  .nav-link.cta { padding: 7px 14px; }

  .hero-wm-section { padding: 36px var(--page-pad-sm) 40px; }
  .hero-logo-wrap { margin-bottom: 28px; }
  .hero-logo-img { max-width: 88vw; }
  .hero-wm-tagline { font-size: var(--fs-h4); }
  .hero-wm-lower { flex-direction: column; align-items: center; gap: 20px; }
  .rit-link { white-space: normal; }
  .nav-tiger-logo { height: 32px; }
  .hero-stats {
    gap: 20px; margin-top: 0; padding-top: 0;
    border-top: none; flex-wrap: wrap;
  }
  .stat-divider { display: none; }

  .hero { padding: 40px var(--page-pad-sm) 36px; }
  .hero-title { letter-spacing: -.8px; margin-bottom: 18px; }
  .hero-desc { font-size: var(--fs-b); }

  .section-header { padding: 40px var(--page-pad-sm) 0; }

  .spotlight-mailu-section { padding: 36px var(--page-pad-sm) 0; }
  .spotlight-mailu-wrap { grid-template-columns: 1fr; }
  .sm-media { min-height: 56vw; }
  .sm-info { padding: 28px 24px 24px; border-left: none; border-top: 1px solid var(--border); }
  .sm-name { font-size: var(--fs-h4); }
  .sm-major { margin-bottom: 20px; }
  .nav-center { display: none; }

  .grid-section { padding: 0 var(--page-pad-sm) 48px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.grid-admin { grid-template-columns: repeat(2, 1fr); }

  .sp-top3-grid { grid-template-columns: 1fr; padding: 0 var(--page-pad-sm); }
  .sp-top3-grid .spotlight-full-card:nth-child(3) { display: block; }
  .sp-history-grid { grid-template-columns: 1fr; padding: 0 var(--page-pad-sm); }
  .sp-read-more-wrap { padding: 28px var(--page-pad-sm) 0; }

  .profile-hero { min-height: auto; }
  .profile-hero-right { height: 72vw; min-height: 240px; order: -1; }
  .profile-hero-left { padding: 32px var(--page-pad-sm) 28px; }
  .profile-name { letter-spacing: -1.5px; }
  .profile-bio { font-size: var(--fs-b); max-width: 100%; }
  .profile-exp-section { padding: 32px var(--page-pad-sm); }
  .profile-year-watermark { display: none; }
  .exp-item { grid-template-columns: 1fr; }
  .exp-title { font-size: var(--fs-b); }

  .footer-main { padding: 36px var(--page-pad-sm) 28px; gap: 24px; }
  .footer-nav-row { gap: 20px; }
  .footer-bottom { padding: 16px var(--page-pad-sm); flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 400px) {
  .grid, .grid.grid-admin { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   SCROLL PROGRESS INDICATOR (top of page)
══════════════════════════════════════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px;
  z-index: 600; pointer-events: none;
}
.scroll-progress-bar {
  width: 100%; height: 100%; background: var(--orange);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ══════════════════════════════════════════════
   MOBILE NAV (hamburger) — only ≤768px
══════════════════════════════════════════════ */
.nav-burger, .mobile-menu { display: none; }

@media (max-width: 768px) {
  /* Join + Get in Touch live inside the hamburger menu on mobile */
  .nav-links > .nav-link { display: none; }

  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 40px; height: 40px; padding: 0 10px; margin-left: 4px;
    border-radius: 6px;
  }
  .nav-burger span {
    display: block; height: 2px; width: 100%; background: var(--black);
    border-radius: 2px; transition: transform .2s, opacity .2s;
  }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: block; position: fixed; top: var(--nav-height); left: 0; right: 0;
    z-index: 499; padding: 4px var(--page-pad-sm) 12px;
    background: rgba(250, 250, 248, 0.98);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a {
    display: block; padding: 14px 4px;
    font-family: var(--serif); font-size: var(--fs-h6); font-weight: 500;
    color: var(--gray);
    transition: color .18s;
  }
  .mobile-menu a:hover { color: var(--orange); }
  .mobile-menu a.active { color: var(--black); }
}
