/* ───────────────────────────────────────────────
   Ulfa Octaviani — Portfolio shared stylesheet
   One source of truth for all pages.
   ─────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

:root {
    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --ink: #000000;
    --ink-muted: #333333;
    --ink-faint: #4A4A4A;
    --rust: #C2410C;
    --rust-bg: #FFF7ED;
    --rust-border: #FED7AA;
    --sage: #3D6B45;
    --sage-bg: #F0FDF4;
    --sage-border: #BBF7D0;
    --plum: #6B21A8;
    --plum-bg: #FAF5FF;
    --plum-border: #E9D5FF;
    --teal: #0E7490;
    --teal-bg: #ECFEFF;
    --teal-border: #A5F3FC;
    --amber: #92400E;
    --amber-bg: #FFFBEB;
    --amber-border: #FDE68A;
    --border: rgba(0,0,0,0.09);
    --border-med: rgba(0,0,0,0.16);
    --r: 4px;
    --rl: 10px;
  }


body {
    background: var(--bg); color: var(--ink);
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 16px;
    line-height: 1.7; font-weight: 400;
  }

nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: 56px; background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2.5rem;
  }

.nav-name {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 17px;
    color: var(--ink); text-decoration: none; letter-spacing: -0.2px;
  }

.nav-links { display: flex; gap: 1.8rem; list-style: none; }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 36px; height: 36px; padding: 0; flex-shrink: 0;
    flex-direction: column; justify-content: center; align-items: center;
  }
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--ink);
    border-radius: 1px; margin: 3px 0; transition: transform 0.2s ease, opacity 0.2s ease;
  }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links a {
    font-size: 14px; font-weight: 400; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--ink-muted); text-decoration: none;
    transition: color 0.2s;
  }

.nav-links a:hover, .nav-links a.active { color: var(--ink); }

main { padding-top: 56px; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 2.5rem; }

.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    padding: 2rem 0 0;
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint);
  }

.breadcrumb a { color: var(--ink-faint); text-decoration: none; transition: color 0.2s; }

.breadcrumb a:hover { color: var(--rust); }

.breadcrumb span { color: var(--ink-muted); }

.proj-hero { padding: 2.2rem 0 3rem; animation: fadeUp 0.6s ease both; }

.proj-hero-top {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 2rem;
    margin-bottom: 1.6rem;
  }

.proj-category {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--accent, var(--rust)); margin-bottom: 0.7rem;
  }

.proj-hero h1 {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    line-height: 1.1; letter-spacing: -0.8px; color: var(--ink);
    max-width: 720px;
  }

.proj-hero h1 em { font-style: italic; color: var(--accent, var(--rust)); }

.proj-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0 1.8rem; }

.meta-pill {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    padding: 4px 11px; border-radius: 20px;
    border: 1px solid var(--border-med); color: var(--ink-muted);
    background: var(--surface); letter-spacing: 0.04em;
  }

.meta-pill.highlight { background: var(--rust-bg); border-color: var(--rust-border); color: var(--rust); }

.meta-pill.status { background: var(--amber-bg); border-color: var(--amber-border); color: var(--amber); }

.proj-summary {
    font-size: 1.05rem; color: var(--ink-muted);
    line-height: 1.8; max-width: 720px;
    border-left: 3px solid var(--rust);
    padding-left: 1.2rem; margin-bottom: 0;
  }

.disclosure {
    background: var(--amber-bg); border: 1px solid var(--amber-border);
    border-radius: var(--rl); padding: 1rem 1.3rem;
    font-size: 14px; color: var(--amber); line-height: 1.7;
    margin: 1.8rem 0 0;
  }

.disclosure strong { font-weight: 700; }

.pub-banner {
    background: var(--ink); color: var(--bg);
    border-radius: var(--rl); padding: 1.1rem 1.4rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; margin: 2.4rem 0;
    animation: fadeUp 0.6s ease 0.1s both;
  }

.pub-banner-left { display: flex; align-items: center; gap: 14px; }

.pub-icon {
    width: 38px; height: 38px; border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
  }

.pub-label {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45); margin-bottom: 3px;
  }

.pub-title { font-size: 14px; font-weight: 400; color: var(--bg); line-height: 1.4; }

.pub-venue { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.pub-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: var(--r);
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    color: var(--bg); font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em;
    text-decoration: none; white-space: nowrap;
    transition: background 0.2s; flex-shrink: 0;
  }

.pub-btn:hover { background: rgba(255,255,255,0.18); }

.artifact-section { padding: 3.5rem 0; border-top: 1px solid var(--border); }

.artifact-section:first-of-type { border-top: none; }

.section-eyebrow {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-faint);
    margin-bottom: 6px;
  }

.section-title {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    letter-spacing: -0.3px; margin-bottom: 0.8rem; line-height: 1.2;
  }

.section-desc {
    font-size: 14px; color: var(--ink-muted);
    line-height: 1.75; max-width: 700px; margin-bottom: 2rem;
  }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-bottom: 2.4rem; }

.process-steps::before {
    content: ''; position: absolute; top: 28px; left: 10%; right: 10%;
    height: 1px; background: var(--border-med); z-index: 0;
  }

.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0.5rem; position: relative; z-index: 1; }

.step-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface); border: 2px solid var(--border-med);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    color: var(--ink-muted); margin-bottom: 10px; transition: all 0.2s;
  }

.step.active .step-num { background: var(--rust); border-color: var(--rust); color: #fff; font-weight: 500; }

.step-label {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink-faint); line-height: 1.4;
  }

.step.active .step-label { color: var(--rust); }

.step-detail { font-size: 14px; color: var(--ink-muted); margin-top: 5px; line-height: 1.5; }

.persona-card {
    display: grid; grid-template-columns: 200px 1fr; gap: 2rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--rl); padding: 1.8rem;
  }

.persona-avatar {
    width: 84px; height: 84px; border-radius: 50%;
    background: var(--rust-bg); border: 1px solid var(--rust-border);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 1.6rem; font-weight: 700; color: var(--rust);
    margin-bottom: 12px;
  }

.persona-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 2px; }

.persona-role { font-size: 14px; color: var(--ink-muted); margin-bottom: 10px; }

.persona-tag {
    display: inline-block; font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    padding: 2px 9px; border-radius: 20px;
    background: var(--teal-bg); color: var(--teal);
  }

.persona-body h4 {
    font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink-faint); font-family: 'Atkinson Hyperlegible Next', sans-serif;
    margin: 1.1rem 0 6px;
  }

.persona-body h4:first-child { margin-top: 0; }

.persona-body p, .persona-body ul { font-size: 15px; color: var(--ink-muted); line-height: 1.7; }

.persona-body ul { padding-left: 1.1rem; }

.persona-quote {
    font-size: 15px; font-style: italic; color: var(--ink);
    border-left: 3px solid var(--teal); padding-left: 1rem; margin-top: 0.4rem;
  }

.findings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.finding-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--rl); padding: 1.2rem 1.3rem;
    display: flex; gap: 12px; align-items: flex-start;
  }

.finding-num {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 2rem; color: var(--rust); opacity: 0.25;
    line-height: 1; flex-shrink: 0; margin-top: -4px;
  }

.finding-title { font-weight: 500; font-size: 14px; margin-bottom: 4px; }

.finding-body { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }

.severity {
    display: inline-block; margin-top: 8px;
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.08em;
  }

.sev-info { background: var(--teal-bg); color: var(--teal); }

.sev-plan { background: var(--plum-bg); color: var(--plum); }

.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.status-col h4 {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
  }

.status-col.done h4 { color: var(--sage); }

.status-col.next h4 { color: var(--rust); }

.status-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.status-list li { font-size: 14px; color: var(--ink-muted); line-height: 1.6; display: flex; gap: 8px; }

.status-list li::before { flex-shrink: 0; font-family: 'Atkinson Hyperlegible Next', sans-serif; }

.status-col.done .status-list li::before { content: '✓'; color: var(--sage); }

.status-col.next .status-list li::before { content: '→'; color: var(--rust); }

footer {
    border-top: 1px solid var(--border); padding: 1.8rem 0; margin-top: 3rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; color: var(--ink-faint); font-family: 'Atkinson Hyperlegible Next', sans-serif;
  }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--ink); color: var(--bg);
    padding: 10px 18px; border-radius: 0 0 6px 0;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 15px; text-decoration: none;
  }

.skip-link:focus { left: 0; }

.img-slot {
    width: 100%; border-radius: var(--rl);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden; position: relative;
  }

.img-slot img {
    width: 100%; height: 100%; object-fit: cover; display: block;
  }

.img-placeholder {
    width: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; padding: 3rem 1rem;
    background: repeating-linear-gradient(
      -45deg,
      var(--bg) 0px, var(--bg) 8px,
      rgba(174,174,152,0.12) 8px, rgba(174,174,152,0.12) 16px
    );
  }

.img-placeholder .ph-icon { font-size: 28px; opacity: 0.35; }

.img-placeholder .ph-label {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-faint); text-align: center;
  }

.img-placeholder .ph-size {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    color: var(--ink-faint); opacity: 0.6;
  }

.img-caption {
    padding: 10px 14px;
    font-size: 14px; color: var(--ink-faint);
    font-style: italic; border-top: 1px solid var(--border);
    background: var(--bg);
  }

.img-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.img-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.img-grid-main-aside {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px;
  }

.journey-wrap {
    display: flex; flex-direction: column; gap: 16px;
  }

.journey-phase {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--rl); overflow: hidden;
  }

.journey-phase-header {
    display: grid;
    grid-template-columns: 140px 1fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
  }

.jp-cell {
    padding: 8px 14px;
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint);
    border-right: 1px solid var(--border);
  }

.jp-cell:last-child { border-right: none; }

.journey-phase-row {
    display: grid;
    grid-template-columns: 140px 1fr 1fr 1fr;
    gap: 0; align-items: start;
  }

.jr-phase-name {
    padding: 14px; font-size: 14px; font-weight: 500;
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 6px;
  }

.phase-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
    margin-bottom: 4px;
  }

.phase-dot.discover { background: var(--plum); }

.phase-dot.define   { background: var(--rust); }

.phase-dot.ideate   { background: var(--teal); }

.phase-dot.test     { background: var(--sage); }

.jr-cell {
    padding: 14px; font-size: 14px; color: var(--ink-muted);
    border-right: 1px solid var(--border); line-height: 1.6;
  }

.jr-cell:last-child { border-right: none; }

.jr-cell ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }

.jr-cell li { display: flex; gap: 7px; align-items: baseline; }

.jr-cell li::before {
    content: '·'; color: var(--ink-faint); flex-shrink: 0;
    font-size: 14px; line-height: 1;
  }

.emotion-bar {
    display: flex; align-items: center; gap: 8px;
    margin-top: 8px;
  }

.emotion-label { font-size: 14px; color: var(--ink-faint); width: 52px; flex-shrink: 0; }

.emotion-track {
    flex: 1; height: 6px; background: var(--border);
    border-radius: 3px; overflow: hidden;
  }

.emotion-fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(to right, var(--rust), var(--sage));
  }

.sev-high   { background: #FEE2E2; color: #B91C1C; }

.sev-med    { background: var(--rust-bg); color: var(--rust); }

.sev-low    { background: var(--sage-bg); color: var(--sage); }

.artifact-section:nth-child(2) { animation-delay: 0.07s; }

.artifact-section:nth-child(3) { animation-delay: 0.13s; }

.artifact-section:nth-child(4) { animation-delay: 0.19s; }

.artifact-section:nth-child(5) { animation-delay: 0.25s; }

.gh-banner { background: var(--ink); color: var(--bg); border-radius: var(--rl); padding: 1rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 2.2rem 0; animation: fadeUp 0.6s ease 0.1s both; }

.gh-banner-left { display: flex; align-items: center; gap: 12px; }

.gh-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

.gh-label { font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); margin-bottom: 2px; }

.gh-title { font-size: 16px; color: var(--bg); }

.gh-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--r); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: var(--bg); font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; white-space: nowrap; transition: background 0.2s; flex-shrink: 0; }

.gh-btn:hover { background: rgba(255,255,255,0.2); }

.iter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 1.6rem; }

.iter-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); padding: 1.1rem 1.2rem; }

.iter-label { font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); margin-bottom: 6px; }

.iter-title { font-weight: 500; font-size: 16px; margin-bottom: 5px; }

.iter-body { font-size: 16px; color: var(--ink-muted); line-height: 1.6; }

.iter-card ul { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }

.iter-card li { font-size: 15px; color: var(--ink-muted); display: flex; gap: 7px; align-items: baseline; }

.iter-card li::before { content: '→'; font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px; color: var(--amber); flex-shrink: 0; }

.insights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.insight-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); padding: 1.1rem 1.2rem; display: flex; gap: 12px; }

.insight-num { font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 2rem; color: var(--amber); opacity: 0.25; line-height: 1; flex-shrink: 0; margin-top: -4px; }

.insight-title { font-weight: 500; font-size: 16px; margin-bottom: 4px; }

.insight-body { font-size: 16px; color: var(--ink-muted); line-height: 1.6; }

.future-list { display: flex; flex-direction: column; gap: 10px; }

.future-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }

.future-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-med); flex-shrink: 0; margin-top: 7px; }

.future-dot.active { background: var(--amber); }

.future-item-title { font-size: 16px; font-weight: 500; margin-bottom: 2px; }

.future-item-body { font-size: 16px; color: var(--ink-muted); line-height: 1.6; }

.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); padding: 1.1rem 1.2rem; }

.info-card-label { font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sage); margin-bottom: 6px; }

.info-card-title { font-weight: 500; font-size: 16px; margin-bottom: 5px; }

.info-card-body { font-size: 16px; color: var(--ink-muted); line-height: 1.6; }

.info-card ul { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }

.info-card li { font-size: 15px; color: var(--ink-muted); display: flex; gap: 7px; align-items: baseline; }

.info-card li::before { content: '→'; font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px; color: var(--sage); flex-shrink: 0; }

.prompt-block { background: var(--ink); color: var(--bg); border-radius: var(--rl); padding: 1.2rem 1.4rem; font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px; line-height: 1.7; margin-bottom: 1rem; }

.prompt-block .prompt-label { font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); margin-bottom: 8px; }

.prompt-block .prompt-text { color: var(--bg); }

.page-header {
    padding: 4rem 0 3rem;
    animation: fadeUp 0.7s ease both;
  }

.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--ink-faint); text-decoration: none;
    margin-bottom: 1.8rem;
    transition: color 0.2s;
  }

.back-link:hover { color: var(--rust); }

.page-header .eyebrow {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 14px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--rust); margin-bottom: 0.8rem;
  }

.page-header h1 {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1; letter-spacing: -1px;
    margin-bottom: 1rem;
  }

.page-header h1 em { font-style: italic; color: var(--rust); }

.page-header .sub {
    font-size: 1.05rem; color: var(--ink-muted);
    max-width: 560px; line-height: 1.75;
  }

.filter-bar {
    display: flex; gap: 8px; flex-wrap: wrap;
    padding: 1.6rem 0 2.4rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
  }

.filter-btn {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    padding: 5px 14px; border-radius: 20px;
    border: 1px solid var(--border-med); color: var(--ink-muted);
    background: var(--surface); letter-spacing: 0.05em;
    cursor: pointer; transition: all 0.18s; text-transform: uppercase;
  }

.filter-btn:hover { border-color: var(--rust); color: var(--rust); background: var(--rust-bg); }

.filter-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 5rem;
  }

.proj-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--rl);
    padding: 1.5rem 1.6rem 1.4rem;
    display: flex; flex-direction: column; gap: 10px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative; overflow: hidden;
    animation: fadeUp 0.55s ease both;
  }

.proj-card:hover {
    border-color: var(--border-med);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
  }

.proj-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    height: 3px; width: 100%;
  }

.proj-card.cat-research::before  { background: var(--plum); }

.proj-card.cat-industry::before  { background: var(--rust); }

.proj-card.cat-teaching::before  { background: var(--sage); }

.proj-card.cat-phd::before       { background: var(--teal); }

.proj-meta {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
  }

.proj-type {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint);
  }

.proj-badge {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px;
    padding: 3px 9px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0;
  }

.badge-research { background: var(--plum-bg); border: 1px solid var(--plum-border); color: var(--plum); }

.badge-industry { background: var(--rust-bg); border: 1px solid var(--rust-border); color: var(--rust); }

.badge-teaching { background: var(--sage-bg); border: 1px solid var(--sage-border); color: var(--sage); }

.badge-phd      { background: var(--teal-bg); border: 1px solid var(--teal-border); color: var(--teal); }

.proj-title {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 1.05rem; line-height: 1.35; color: var(--ink);
  }

.proj-body { font-size: 16px; color: var(--ink-muted); line-height: 1.68; flex: 1; }

.proj-outcomes {
    margin-top: 4px;
    padding: 10px 12px;
    background: var(--bg);
    border-radius: var(--r);
    border: 1px solid var(--border);
  }

.proj-outcomes .out-label {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--ink-faint); margin-bottom: 6px;
  }

.proj-outcomes ul {
    list-style: none; display: flex; flex-direction: column; gap: 4px;
  }

.proj-outcomes li {
    font-size: 15px; color: var(--ink-muted);
    display: flex; gap: 7px; align-items: baseline;
  }

.proj-outcomes li::before {
    content: '→'; font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 15px; color: var(--rust); flex-shrink: 0; margin-top: 1px;
  }

.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }

.tag {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px;
    padding: 3px 8px; border-radius: 20px;
    border: 1px solid var(--border); color: var(--ink-muted); background: var(--bg);
  }

.section-label {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--ink-faint); margin-bottom: 1.4rem;
    display: flex; align-items: center; gap: 12px;
  }

.section-label::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }

.proj-card.cat-personal::before { background: var(--amber); }

.badge-personal { background: var(--amber-bg); border: 1px solid var(--amber-border); color: var(--amber); }

.personal-section { margin-top: 3.5rem; }

.view-project {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 14px;
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--rust); text-decoration: none;
    transition: gap 0.2s;
  }

.view-project:hover { gap: 9px; }

.view-project.disabled {
    color: var(--ink-faint); pointer-events: none;
  }

.proj-card:nth-child(1) { animation-delay: 0.05s; }

.proj-card:nth-child(2) { animation-delay: 0.12s; }

.proj-card:nth-child(3) { animation-delay: 0.18s; }

.proj-card:nth-child(4) { animation-delay: 0.24s; }

.proj-card:nth-child(5) { animation-delay: 0.30s; }

.proj-card:nth-child(6) { animation-delay: 0.36s; }

.nav-links a:hover { color: var(--ink); }

.hero {
    padding: 5.5rem 0 4rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: start;
    animation: fadeUp 0.7s ease both;
  }

.hero-eyebrow {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 1rem;
  }

.hero h1 {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 1.2rem;
    color: var(--ink);
  }

.hero h1 span { font-style: italic; color: var(--rust); }

.hero-bio {
    font-size: 1.05rem;
    color: var(--ink-muted);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 1.8rem;
    font-weight: 400;
  }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }

.pill {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 14px;
    padding: 5px 11px;
    border-radius: 20px;
    border: 1px solid var(--border-med);
    color: var(--ink-muted);
    background: var(--surface);
    letter-spacing: 0.04em;
  }

.pill.ux   { background: var(--rust-bg); border-color: var(--rust-border); color: var(--rust); }

.pill.edu  { background: var(--sage-bg); border-color: var(--sage-border); color: var(--sage); }

.pill.res  { background: var(--plum-bg); border-color: var(--plum-border); color: var(--plum); }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; border-radius: var(--r);
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px; font-weight: 400;
    text-decoration: none; cursor: pointer; transition: all 0.2s; border: 1px solid transparent;
  }

.btn-dark  { background: var(--ink); color: var(--bg); }

.btn-dark:hover { background: #333325; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-med); }

.btn-ghost:hover { background: var(--surface); }

.hero-cards { display: flex; flex-direction: column; gap: 14px; animation: fadeUp 0.7s ease 0.12s both; }

.hcard {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--rl);
    padding: 1.1rem 1.3rem;
    position: relative; overflow: hidden;
  }

.hcard::after {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 3px; height: 100%;
  }

.hcard.industry::after { background: var(--rust); }

.hcard.academia::after { background: var(--sage); }

.hcard.research::after { background: var(--plum); }

.hcard .lbl {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-faint); margin-bottom: 5px;
  }

.hcard .htitle { font-weight: 500; font-size: 14px; margin-bottom: 2px; }

.hcard .horg { font-size: 15px; color: var(--ink-muted); }

.hcard .hdate { font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 15px; color: var(--ink-faint); margin-top: 6px; }

.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 4px; }

.metric {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--rl); padding: 0.9rem; text-align: center;
  }

.metric .n {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 1.9rem; color: var(--ink); line-height: 1; margin-bottom: 3px;
  }

.metric .d { font-size: 14px; color: var(--ink-muted); font-weight: 400; }

section { padding: 5.5rem 0; }

.s-label {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-faint);
    margin-bottom: 6px;
  }

.s-heading {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    letter-spacing: -0.5px; margin-bottom: 2.8rem; line-height: 1.2;
  }

.divider { border: none; border-top: 1px solid var(--border); }

.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }

.track-badge {
    display: inline-block;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em;
    padding: 4px 12px; border-radius: 20px; margin-bottom: 1.6rem; font-weight: 400;
  }

.track-badge.industry { background: var(--rust-bg); border: 1px solid var(--rust-border); color: var(--rust); }

.track-badge.academia { background: var(--sage-bg); border: 1px solid var(--sage-border); color: var(--sage); }

.tl { position: relative; padding-left: 1.3rem; }

.tl::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 1px; background: var(--border);
  }

.tl-item { position: relative; margin-bottom: 2.4rem; }

.tl-item::before {
    content: ''; position: absolute; left: -1.62rem; top: 6px;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--ink-faint); border: 2px solid var(--bg);
  }

.tl-item.now::before { background: var(--rust); }

.tl-date {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 14px; color: var(--ink-faint); margin-bottom: 2px; letter-spacing: 0.06em;
  }

.tl-role { font-weight: 500; font-size: 14.5px; margin-bottom: 1px; }

.tl-org  { font-size: 15px; color: var(--rust); margin-bottom: 6px; }

.tl-org.sage { color: var(--sage); }

.tl-desc { font-size: 15px; color: var(--ink-muted); line-height: 1.65; }

.tl-desc ul { padding-left: 1rem; }

.tl-desc li { margin-bottom: 3px; }

.pub-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }

.pub-list-item {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 1.3rem 0; border-bottom: 1px solid var(--border);
    text-decoration: none; color: inherit; transition: opacity 0.2s;
  }

.pub-list-item:hover { opacity: 0.7; }

.pub-list-title {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-bottom: 4px; line-height: 1.4;
  }

.pub-list-meta { font-size: 15px; color: var(--ink-muted); }

.pub-list-link {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--rust);
    white-space: nowrap; flex-shrink: 0;
  }

.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.cards-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }

/* ── HORIZONTAL PANEL CARDS ── */
.cards-row { display: flex; flex-direction: column; gap: 16px; }

.card-h {
    display: grid; grid-template-columns: 300px 1fr; gap: 0;
    border: 1px solid var(--border); border-radius: var(--rl);
    overflow: hidden; background: var(--surface);
    text-decoration: none; color: inherit;
    transition: border-color 0.2s, transform 0.2s;
  }

.card-h:hover { border-color: var(--border-med); transform: translateY(-2px); }

.card-h .thumb {
    border-radius: 0; border: none; aspect-ratio: auto; height: 100%;
    min-height: 200px;
  }

.card-h-body { padding: 1.5rem 1.7rem; display: flex; flex-direction: column; justify-content: center; }

.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--rl); padding: 1.3rem 1.4rem;
    transition: border-color 0.2s, transform 0.2s;
  }

.card:hover { border-color: var(--border-med); transform: translateY(-2px); }

a.card { cursor: pointer; }

.card-type {
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint);
    margin-bottom: 7px;
  }

.card-title {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 1.0rem; line-height: 1.4; margin-bottom: 8px;
  }

.card-body { font-size: 16px; color: var(--ink-muted); line-height: 1.65; }

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.honours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.honour {
    background: #FFFBF5; border: 1px solid #FFE4B5;
    border-radius: var(--rl); padding: 1.2rem 1.4rem;
    display: flex; gap: 14px; align-items: flex-start;
  }

.honour-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.honour-title { font-weight: 500; font-size: 14px; color: #92400E; margin-bottom: 3px; }

.honour-body  { font-size: 16px; color: #B45309; line-height: 1.5; }

.vol-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }

.vol-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--rl); padding: 1rem 1.2rem;
    font-size: 15px;
  }

.vol-item .vo { font-weight: 500; margin-bottom: 3px; }

.vol-item .vd { font-size: 15px; color: var(--ink-muted); }

.contact-box {
    background: var(--ink); color: var(--bg);
    border-radius: 14px; padding: 3.5rem 3rem;
    display: grid; grid-template-columns: 1fr auto;
    gap: 2.5rem; align-items: center; margin-bottom: 3rem;
  }

.contact-box h2 {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -0.5px; line-height: 1.2;
  }

.contact-box p { color: rgba(255,255,255,0.55); margin-top: 8px; font-size: 14.5px; }

.clinks { display: flex; flex-direction: column; gap: 9px; }

.clink {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px; background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r);
    font-size: 15px; color: var(--bg); text-decoration: none;
    font-family: 'Atkinson Hyperlegible Next', sans-serif; transition: background 0.2s; white-space: nowrap;
  }

.clink:hover { background: rgba(255,255,255,0.14); }
/* ── THUMBNAILS ── */
.thumb {
    aspect-ratio: 16/10; border-radius: var(--rl) var(--rl) 0 0;
    overflow: hidden; background: var(--rust-bg);
    border: 1px solid var(--border); border-bottom: none;
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .thumb-fallback {
    display: none; flex-direction: column; align-items: center; gap: 6px;
    font-family: 'Atkinson Hyperlegible Next', sans-serif; font-size: 13px;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent, var(--rust));
  }
.thumb.thumb-empty .thumb-fallback { display: flex; }
.thumb.thumb-empty { background: var(--accent-bg, var(--rust-bg)); }
.card > .thumb { margin: -1.3rem -1.4rem 0.9rem; width: calc(100% + 2.8rem); }
.proj-card > .thumb { margin: -1.5rem -1.6rem 0.9rem; width: calc(100% + 3.2rem); }

/* ── EDUCATION LIST (no link/arrow, plain entries) ── */
.edu-item {
    padding: 1.3rem 0; border-bottom: 1px solid var(--border);
  }
.edu-item:last-child { border-bottom: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 740px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 56px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 0.5rem 2.5rem 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a { display: block; padding: 0.9rem 0; }
  .hero { grid-template-columns: 1fr; padding: 3rem 0 2rem; }
  .exp-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .card-h { grid-template-columns: 1fr; }
  .card-h .thumb { min-height: 160px; }
  .honours-grid { grid-template-columns: 1fr; }
  .vol-list { grid-template-columns: 1fr 1fr; }
  .contact-box { grid-template-columns: 1fr; padding: 2rem; }
  .metrics { grid-template-columns: repeat(3,1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .process-steps::before { display: none; }
  .findings-grid, .status-grid, .img-grid-2, .card-grid, .insights-grid { grid-template-columns: 1fr; }
  .persona-card { grid-template-columns: 1fr; }
  .pub-banner, .gh-banner { flex-direction: column; align-items: flex-start; }
  .pub-list-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .projects-grid { grid-template-columns: 1fr; }
  .thumb-grid-2 { grid-template-columns: 1fr; }
}
