/* ═══════════════════════════════════════════════════════
   CAMPUSCLARITY — COMPLETE SHARED STYLESHEET
   Font:    Fraunces (display) + Syne (body)
   Palette: Warm cream · Deep ink · Electric indigo
═══════════════════════════════════════════════════════ */

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── TOKENS ── */
:root {
  --bg:            #F7F5F0;
  --surface:       #EEEAE3;
  --line:          #E0DAD0;
  --ink:           #1A1814;
  --ink2:          #2E2C28;
  --muted:         #5C5650; /* was #7A7264 — darkened for WCAG AA contrast */
  --accent:        #5B4FE8;
  --accent-light:  #A89EFF;
  --accent-subtle: #EFEDFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Syne', system-ui, sans-serif;

  --pad:    clamp(20px, 5vw, 80px);
  --sec:    clamp(60px, 10vw, 120px);
  --radius: 20px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink2);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SKIP TO CONTENT (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--pad);
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── FOCUS VISIBLE — keyboard navigation ring ── */
:focus { outline: none; }
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
}

/* ── PAGE TRANSITION ── */
.page-wrapper {
  animation: pageIn 0.22s ease both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PRINT STYLES ── */
@media print {
  .nav, .nav-mobile, .nav-burger, .float-btn,
  .hero-actions, .hero-bg-text, .hero-images,
  .landing-cats, .careers-sidebar, .skills-sidebar { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .page-hero { padding: 20px 0 16px; border-bottom: 1pt solid #ccc; }
  .page-hero h1 { font-size: 22pt; }
  a { color: #000; text-decoration: underline; }
  .careers-content, .skills-content { padding: 16px 0; }
  .career-card, .skill-item { break-inside: avoid; border: 1pt solid #ccc; margin-bottom: 8pt; }
  .careers-grid { grid-template-columns: 1fr 1fr !important; gap: 8pt; }
  .footer { display: none !important; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(26,24,20,0.06); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo em { font-style: italic; color: var(--accent); }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--accent);
  font-weight: 700;
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
/* burger → X when open */
.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;
  transform: scaleX(0);
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  z-index: 190;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0 var(--pad);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1), opacity 0.22s ease;
}
.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  display: block;
}
.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: none; padding-bottom: 20px; }
.nav-mobile a:first-child { padding-top: 20px; }
.nav-mobile a.active { color: var(--accent); font-weight: 700; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 13px 28px; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; display: inline-block; letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #4840D4; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,79,232,0.25);
}
.btn-outline {
  background: transparent; color: var(--ink);
  padding: 13px 28px; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; border: 1.5px solid var(--line); cursor: pointer;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--ink); }
.btn-white {
  background: #fff; color: var(--accent);
  padding: 16px 32px; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: all 0.2s;
  display: inline-block;
}
.btn-white:hover { transform: scale(1.04); }

/* ── TYPOGRAPHY ── */
.section-label {
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  font-weight: 600; font-family: var(--font-body); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--ink);
}
.section-title em { font-style: italic; color: var(--accent); }
.section-title strong { font-weight: 600; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 150px var(--pad) 80px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.03em; color: var(--ink); margin-top: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p {
  font-size: 1rem; color: var(--muted);
  max-width: 480px; line-height: 1.75; margin-top: 20px;
}

/* ── FOOTER ── */
.footer { background: var(--ink); padding: 64px var(--pad) 32px; }
.footer-top {
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { color: #fff; }
.footer-brand p { font-size: 0.82rem; margin-top: 10px; color: rgba(255,255,255,0.4); }
.footer-links-grid { display: flex; gap: 60px; }
.footer-col-title {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 16px; font-weight: 600;
}
.footer a {
  display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5);
  text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
}
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 28px;
  font-size: 0.76rem; color: rgba(255,255,255,0.25);
}

/* ── FLOAT BUTTON ── */
.float-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  background: var(--ink); color: #fff;
  padding: 13px 22px; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  border: none; cursor: pointer;
  box-shadow: 0 8px 32px rgba(26,24,20,0.2); transition: all 0.2s;
}
.float-btn:hover { background: var(--accent); transform: translateY(-2px); }

/* ── FILTER / TAB BARS ── */
.filter-bar, .opp-tabs, .tools-nav {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: var(--sec) var(--pad) 0;
}
.filter-btn, .opp-tab, .tool-nav-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 22px; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .opp-tab:hover, .tool-nav-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active, .opp-tab.active, .tool-nav-btn.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

/* ══════════════════════════════════════
   HOME PAGE
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 140px var(--pad) 80px;
  position: relative; overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1.5px; background: var(--accent); display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 300; line-height: 0.95; letter-spacing: -0.03em;
  color: var(--ink); max-width: 900px;
  animation: fadeUp 0.7s 0.08s ease both;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-body {
  margin-top: 32px; font-size: 1.05rem; color: var(--muted);
  max-width: 440px; line-height: 1.75;
  animation: fadeUp 0.7s 0.16s ease both;
}
.hero-actions {
  margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.24s ease both;
}
.hero-bg-text {
  position: absolute; right: -20px; bottom: 40px;
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 600; font-style: italic;
  color: var(--ink); opacity: 0.03;
  pointer-events: none; line-height: 1; user-select: none;
}

/* problems list */
.problems-section { padding: var(--sec) var(--pad); }
.problems-list {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.prob-row {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.prob-row:last-child { border-bottom: none; }
.prob-row:hover { background: var(--surface); }
.prob-body { padding: 26px 36px; }
.prob-title { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.prob-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* solutions */
.solutions-section { padding: var(--sec) var(--pad); background: var(--ink); }
.solutions-section .section-label { color: rgba(255,255,255,0.35); }
.solutions-section .section-title { color: #fff; }
.solutions-section .section-title em { color: var(--accent-light); }
.sol-list {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); overflow: hidden;
}
.sol-row {
  background: rgba(255,255,255,0.03); padding: 32px 36px;
  display: flex; flex-direction: column; gap: 10px; transition: background 0.2s;
}
.sol-row:hover { background: rgba(255,255,255,0.06); }
.sol-row.featured {
  grid-column: span 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; background: rgba(255,255,255,0.05);
}
.sol-bullet {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-light);
}
.sol-title { font-size: 1rem; font-weight: 600; color: #fff; }
.sol-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.75; }
.sol-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.sol-tag {
  font-size: 0.7rem; padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.09);
}

/* features */
.features-section { padding: var(--sec) var(--pad); }
.feat-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px; margin-top: 56px;
}
.feat-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 32px 26px;
  text-decoration: none; color: var(--ink);
  transition: all 0.25s; display: flex; flex-direction: column; gap: 12px;
}
.feat-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(91,79,232,0.08);
}
.feat-num {
  font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 600; color: var(--accent); letter-spacing: 0.04em;
}
.feat-title { font-size: 1rem; font-weight: 600; color: var(--ink); }
.feat-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.65; flex: 1; }
.feat-arrow { color: var(--accent); font-size: 1rem; align-self: flex-start; margin-top: 4px; }

/* cta band */
.cta-section {
  margin: 0 var(--pad) var(--sec);
  background: var(--accent); border-radius: 24px; padding: 80px 60px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; color: #fff; line-height: 1.1; letter-spacing: -0.02em;
}
.cta-section h2 strong { font-weight: 600; }

/* ══════════════════════════════════════
   CAREERS PAGE
══════════════════════════════════════ */
.careers-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 20px; padding: var(--sec) var(--pad);
}
.career-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 40px 36px;
  cursor: pointer; transition: all 0.25s;
  position: relative; overflow: hidden;
}
.career-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.career-card:hover,
.career-card.active { border-color: var(--accent); box-shadow: 0 16px 40px rgba(91,79,232,0.1); }
.career-card:hover::before,
.career-card.active::before { transform: scaleX(1); }

.cc-top { display: flex; justify-content: flex-end; align-items: flex-start; margin-bottom: 20px; }
.cc-badge {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  background: var(--accent-subtle); color: var(--accent);
}
.cc-title {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px;
}
.cc-role { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.cc-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.75; }
.cc-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.skill-chip {
  font-size: 0.75rem; padding: 5px 12px; border-radius: 100px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink2); font-weight: 500;
}

.detail-panel {
  display: none; grid-column: span 2;
  background: var(--ink); border-radius: var(--radius); padding: 48px;
}
.detail-panel.open { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.dp-section-title {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); font-weight: 600; margin-bottom: 16px;
}
.dp-list { list-style: none; }
.dp-list li {
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 10px;
}
.dp-list li::before { content: '—'; color: var(--accent-light); font-size: 0.75rem; }
.dp-salary {
  font-family: var(--font-display); font-size: 2.8rem;
  font-weight: 600; color: var(--accent-light);
  letter-spacing: -0.02em; line-height: 1;
}
.dp-salary-label { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 6px; }
.dp-demand { display: flex; gap: 6px; margin-top: 20px; }
.demand-bar { height: 6px; border-radius: 3px; background: var(--accent-light); flex: 1; }
.demand-bar.empty { background: rgba(255,255,255,0.1); }

/* ══════════════════════════════════════
   SKILLS PAGE
══════════════════════════════════════ */
.skills-layout {
  display: grid; grid-template-columns: 260px 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.skills-sidebar {
  border-right: 1px solid var(--line);
  padding: 40px 0; position: sticky; top: 80px; align-self: start;
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
}
.skills-sidebar-title {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: 0 32px; margin-bottom: 12px;
}
.cat-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left; padding: 14px 32px;
  background: none; border: none; border-left: 3px solid transparent;
  cursor: pointer; font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: all 0.2s;
}
.cat-btn:hover { color: var(--ink); background: var(--surface); }
.cat-btn.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-subtle); }
.cat-num {
  font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 600; color: inherit; min-width: 24px;
}
.cat-count {
  margin-left: auto; font-size: 0.72rem; padding: 2px 8px;
  border-radius: 100px; background: var(--line); color: var(--muted);
}
.cat-btn.active .cat-count { background: var(--accent); color: #fff; }

.skills-content { padding: 40px; }
.skills-cat-header { margin-bottom: 32px; }
.skills-cat-header h2 {
  font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 300; letter-spacing: -0.02em; color: var(--ink);
}
.skills-cat-header p { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }

.skill-item {
  border: 1.5px solid var(--line); border-radius: 16px;
  margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s;
}
.skill-item:hover { border-color: var(--accent); }
.skill-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; cursor: pointer; background: var(--surface);
  transition: background 0.2s;
}
.skill-header:hover { background: var(--bg); }
.skill-left { display: flex; align-items: center; gap: 16px; }
.skill-num {
  font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 600; color: var(--accent); min-width: 28px;
}
.skill-name { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.skill-sub { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.skill-level {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
}
.level-beginner    { background: #E8F5E9; color: #2E7D32; }
.level-intermediate{ background: #FFF8E1; color: #F57F17; }
.level-advanced    { background: #FCE4EC; color: #C62828; }
.skill-chevron { color: var(--muted); transition: transform 0.3s; font-size: 0.9rem; }
.skill-item.open .skill-chevron { transform: rotate(180deg); }
.skill-body { display: none; padding: 0 28px 28px; background: var(--bg); }
.skill-item.open .skill-body { display: block; }

.resource-list { list-style: none; margin-top: 8px; }
.resource-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.resource-list li:last-child { border-bottom: none; }
.res-info { display: flex; align-items: center; gap: 12px; }
.res-platform {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 6px;
  background: var(--surface); color: var(--muted); min-width: 64px; text-align: center;
}
.res-name { font-size: 0.85rem; color: var(--ink); font-weight: 500; }
.res-free { font-size: 0.7rem; font-weight: 600; color: #2E7D32; background: #E8F5E9; padding: 3px 8px; border-radius: 100px; }
.res-paid { font-size: 0.7rem; font-weight: 600; color: #C62828; background: #FCE4EC; padding: 3px 8px; border-radius: 100px; }

/* ══════════════════════════════════════
   OPPORTUNITIES PAGE
══════════════════════════════════════ */
.opp-section { padding: 40px var(--pad) var(--sec); }

.featured-opp {
  background: var(--ink); border-radius: var(--radius); padding: 40px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center; margin-bottom: 16px;
}
.featured-label {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-light); font-weight: 600; margin-bottom: 10px;
}
.featured-opp h3 {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 300; color: #fff; letter-spacing: -0.02em;
}
.featured-opp p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 8px; }
.featured-meta { display: flex; gap: 20px; margin-top: 20px; }
.fmeta-item { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.fmeta-item strong { color: rgba(255,255,255,0.8); display: block; font-size: 0.95rem; }

.opp-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.opp-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.25s; display: flex; flex-direction: column; gap: 14px;
}
.opp-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(91,79,232,0.08); }
.opp-top { display: flex; justify-content: space-between; align-items: flex-start; }
.opp-type-badge {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
}
.badge-internship  { background: #E3F2FD; color: #1565C0; }
.badge-workshop    { background: #F3E5F5; color: #6A1B9A; }
.badge-competition { background: #FFF8E1; color: #E65100; }
.badge-online      { background: #E8F5E9; color: #2E7D32; }
.opp-deadline { font-size: 0.72rem; color: var(--muted); }
.deadline-soon { color: #C62828; font-weight: 600; }
.opp-org { font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.opp-title { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.opp-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.7; flex: 1; }
.opp-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.opp-stipend { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.opp-stipend-label { font-size: 0.68rem; color: var(--muted); }
.opp-apply {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  text-decoration: none; display: flex; align-items: center; gap: 4px; transition: gap 0.2s;
}
.opp-apply:hover { gap: 8px; }

/* ══════════════════════════════════════
   TOOLS PAGE
══════════════════════════════════════ */
.tool-panel { display: none; padding: 56px var(--pad) var(--sec); }
.tool-panel.active { display: block; }

/* pomodoro */
.pomodoro-wrap { max-width: 520px; margin: 0 auto; text-align: center; }
.pomodoro-modes { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; }
.pmode-btn {
  padding: 8px 20px; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 500;
  color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.pmode-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.timer-ring-wrap {
  position: relative; width: 280px; height: 280px; margin: 0 auto 40px;
}
.timer-ring-wrap svg { transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 8; }
.ring-progress {
  fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 754; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke 0.3s;
}
.ring-progress.break { stroke: #4CAF50; }
.timer-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center;
}
.timer-display {
  font-family: var(--font-display); font-size: 4rem;
  font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1;
}
.timer-label { font-size: 0.78rem; color: var(--muted); margin-top: 6px; font-weight: 500; }
.timer-controls { display: flex; gap: 12px; justify-content: center; }
.timer-btn {
  padding: 14px 36px; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border: none;
}
.timer-btn-start { background: var(--accent); color: #fff; }
.timer-btn-start:hover { background: #4840D4; transform: translateY(-2px); }
.timer-btn-reset { background: var(--surface); color: var(--muted); border: 1.5px solid var(--line); }
.timer-btn-reset:hover { background: var(--line); }
.pomodoro-count {
  margin-top: 40px; padding: 20px 32px;
  background: var(--surface); border-radius: 16px;
  display: flex; justify-content: space-around;
}
.pcount-item { text-align: center; }
.pcount-n {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 600; color: var(--accent);
}
.pcount-l { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.pomo-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.pomo-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--line); transition: background 0.3s;
}
.pomo-dot.done { background: var(--accent); }

/* goal tracker */
.goals-wrap { max-width: 640px; margin: 0 auto; }
.goal-input-row { display: flex; gap: 12px; margin-bottom: 32px; }
.goal-input {
  flex: 1; padding: 14px 20px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--ink);
  outline: none; transition: border-color 0.2s;
}
.goal-input:focus { border-color: var(--accent); }
.goal-input::placeholder { color: var(--muted); }
.goal-cat-select {
  padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--font-body); font-size: 0.85rem; color: var(--ink); outline: none; cursor: pointer;
}
.goals-section-title {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 12px;
}
.goal-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface);
  margin-bottom: 10px; transition: all 0.2s;
}
.goal-item.done { opacity: 0.5; }
.goal-item.done .goal-text { text-decoration: line-through; }
.goal-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); cursor: pointer; flex-shrink: 0;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}
.goal-item.done .goal-check { background: var(--accent); border-color: var(--accent); color: #fff; }
.goal-text { flex: 1; font-size: 0.9rem; color: var(--ink); font-weight: 500; }
.goal-cat-badge {
  font-size: 0.68rem; font-weight: 600; padding: 3px 10px; border-radius: 100px;
  background: var(--accent-subtle); color: var(--accent);
}
.goal-del {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1rem; padding: 4px; transition: color 0.2s; line-height: 1;
}
.goal-del:hover { color: #C62828; }
.goal-progress-bar-wrap { height: 6px; background: var(--line); border-radius: 3px; margin-bottom: 32px; }
.goal-progress-bar { height: 100%; background: var(--accent); border-radius: 3px; transition: width 0.4s ease; }
.goal-progress-label { font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; }

/* daily planner */
.planner-wrap { max-width: 760px; margin: 0 auto; }
.planner-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px;
}
.planner-date {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 300; color: var(--ink); letter-spacing: -0.02em;
}
.planner-date span { color: var(--accent); }
.planner-grid { display: grid; grid-template-columns: 72px 1fr; }
.slot-time {
  font-size: 0.75rem; color: var(--muted); font-weight: 500;
  padding: 0 16px 0 0; line-height: 52px; text-align: right; white-space: nowrap;
}
.slot-block {
  border-left: 2px solid var(--line); padding: 8px 0 8px 20px;
  min-height: 52px; transition: border-color 0.2s;
}
.slot-block:hover { border-left-color: var(--accent); }
.slot-input {
  width: 100%; background: none; border: none; outline: none;
  font-family: var(--font-body); font-size: 0.88rem; color: var(--ink);
  line-height: 1.5; padding: 6px 12px; border-radius: 8px; transition: background 0.2s;
}
.slot-input:focus { background: var(--surface); }
.slot-input::placeholder { color: var(--line); }
.slot-input.has-value { background: var(--surface); }
.planner-actions { display: flex; gap: 10px; margin-top: 24px; align-items: center; }
.plan-clear-btn {
  background: var(--surface); border: 1.5px solid var(--line); color: var(--muted);
  padding: 10px 20px; border-radius: 100px; font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.plan-clear-btn:hover { border-color: #C62828; color: #C62828; }
.plan-save-btn {
  background: var(--accent); color: #fff; padding: 10px 24px;
  border-radius: 100px; font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s;
}
.plan-save-btn:hover { background: #4840D4; }
.save-msg { font-size: 0.8rem; color: var(--accent); font-weight: 600; display: none; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
/* ── LARGE TABLET / IPAD PRO LANDSCAPE (1100px) ── */
@media(max-width: 1100px) {
  /* home */
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  /* skills */
  .skills-layout { grid-template-columns: 220px 1fr; }
}

/* ── TABLET (900px) ── */
@media(max-width: 900px) {
  /* home */
  .sol-list { grid-template-columns: 1fr; }
  .sol-row.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .cta-section { grid-template-columns: 1fr; padding: 48px 32px; }
  /* opps */
  .opp-grid { grid-template-columns: repeat(2,1fr); }
  .featured-opp { grid-template-columns: 1fr; }
  /* hero — tighten font so it doesn't overflow on tablet */
  .hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
  .hero { padding: 120px var(--pad) 60px; min-height: auto; }
  /* page-hero */
  .page-hero { padding: 120px var(--pad) 48px; }
  /* skills sidebar becomes horizontal scroll row */
  .skills-layout { grid-template-columns: 1fr; }
  .skills-sidebar {
    position: static; border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    display: flex; flex-wrap: wrap; gap: 4px;
    padding: 12px 20px;
  }
  .skills-sidebar-title { width: 100%; padding: 0; margin-bottom: 8px; font-size: 0.65rem; }
  .cat-btn {
    width: auto; border: 1.5px solid var(--line);
    border-left: 1.5px solid var(--line);
    border-radius: 100px; padding: 7px 14px;
    font-size: 0.8rem; gap: 6px;
  }
  .cat-btn.active { border-color: var(--accent); border-left-color: var(--accent); }
  .cat-count { display: none; }
  .skills-content { padding: 24px 20px; }
}

/* ── MOBILE NAV + FOOTER (768px) ── */
@media(max-width: 768px) {
  /* nav */
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  /* footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links-grid { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .float-btn { bottom: 20px; right: 20px; padding: 11px 18px; font-size: 0.78rem; }
}

/* ── SMALL MOBILE (560px) ── */
@media(max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .prob-body { padding: 20px 20px; }
  .opp-grid { grid-template-columns: 1fr; }
  .timer-ring-wrap { width: 220px; height: 220px; }
  .timer-display { font-size: 3rem; }
  .goal-input-row { flex-direction: column; }
  .planner-grid { grid-template-columns: 56px 1fr; }
  .filter-bar, .opp-tabs, .tools-nav { padding-top: 40px; }
  /* hero font floor on very small screens */
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); line-height: 1.05; }
  .hero-bg-text { display: none; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .page-hero { padding: 100px var(--pad) 36px; }
}
