/* Content sections after the journey: snapshot, experience, projects, skills,
   leadership, beyond and contact. Every fact is readable without scripts. */

.after { position: relative; z-index: 2; }
.section { padding-block: var(--section-pad) 0; }
.after > .section:last-child { padding-bottom: var(--section-pad); }

.section-head { display: grid; gap: var(--s1); margin-bottom: var(--s5); }
.section-title { font-size: clamp(2.125rem, 4.2vw, 3.75rem); }
.section-title:focus { outline: none; }

.bullets { display: grid; gap: 10px; }
.bullets li {
  position: relative;
  padding-left: 22px;
  max-width: var(--measure);
  color: var(--ink-soft);
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 9px;
  height: 1.25px;
  background: var(--copper);
}

/* A card heading with its field tags: the heading comes first in the DOM (for
   screen readers jumping between headings); the tags show above it. */
.titled { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
.field-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.field-tags li {
  padding: 2px 10px;
  border: 1px solid color-mix(in srgb, var(--copper) 45%, transparent);
  border-radius: 999px;
  color: var(--copper);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* ---------- Snapshot ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s2);
  margin-bottom: var(--s5);
}
.stat {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: var(--s3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
}
.stat-label { color: var(--muted); font-size: var(--text-small); }
@media (max-width: 859px) { .stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); } }

.education {
  display: grid;
  gap: 6px;
  padding: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.education-name { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 4px; }
.education-degree { font-size: 1.125rem; }
.education-honors { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s1); }
.education-honors li {
  padding: 4px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
}

/* ---------- Experience timeline ---------- */
.timeline { position: relative; }
.timeline-trace {
  position: absolute;
  left: 11px;
  top: 0;
  width: 2px;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.timeline-trace path { fill: none; stroke: var(--copper); stroke-width: var(--stroke); vector-effect: non-scaling-stroke; }
.timeline-trace .trace-base { stroke: var(--border-strong); }
.roles { display: grid; gap: var(--s4); }
.role { position: relative; padding-left: 52px; }
.timeline::before {
  /* Static trace for no-JS and reduced motion; the scrubbed SVG covers it. */
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 1.25px;
  background: color-mix(in srgb, var(--copper) 60%, transparent);
}
html.has-timeline .timeline::before { background: var(--border-strong); }
.role-pad {
  position: absolute;
  left: 4px;
  top: 30px;
  width: 16px;
  height: 16px;
  border: 1.25px solid var(--copper);
  border-radius: 4px;
  background: var(--bg);
  transform: rotate(45deg);
  transition: background-color var(--dur-state) var(--ease-ui), box-shadow var(--dur-state) var(--ease-ui);
}
.role.is-reached .role-pad { background: var(--copper); box-shadow: 0 0 0 4px color-mix(in srgb, var(--copper) 22%, transparent); }
.role-card {
  padding: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.role-org { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.role-card .meta { margin: 6px 0 var(--s2); }
.role-title { color: var(--ink); }
.role-card .chips { margin-top: var(--s3); }
/* Wide screens read like a résumé: who, what and when on the left, the work on the right. */
@media (min-width: 1100px) {
  .role-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); gap: var(--s5); align-items: start; }
  .role-card .meta { margin-bottom: 0; }
  .role-main { padding-top: 34px; }
}
@media (max-width: 599px) {
  .role { padding-left: 36px; }
  .role-card { padding: var(--s3); }
}

/* ---------- Projects ---------- */
.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s5);
  align-items: center;
  padding: var(--s5);
  margin-bottom: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + var(--s2));
}
.project-title { font-size: clamp(2rem, 3.6vw, 3rem); }
.project-title:focus { outline: none; }
.project-text .meta { margin: 6px 0 var(--s3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.chips li {
  padding: 4px 12px;
  border: 1px solid color-mix(in srgb, var(--copper) 55%, transparent);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.project-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.project-world { display: grid; gap: var(--s2); }
.world-art { position: relative; display: grid; place-items: center; min-height: 240px; }
.world-caption { color: var(--muted); font-size: var(--text-small); max-width: 52ch; }
@media (max-width: 959px) {
  .project { grid-template-columns: 1fr; padding: var(--s4); }
}
@media (max-width: 599px) {
  .project { padding: var(--s3); border-radius: var(--radius-md); }
}

/* More on GitHub: smaller public repos. Each picture is a window on a small
   studio backdrop: the repo's screenshot rising from the bottom edge, or a
   README excerpt floating in the middle. */
.more { margin-top: var(--s6); }
.more-head { display: grid; gap: var(--s1); margin-bottom: var(--s4); }
.more-title { font-size: clamp(1.75rem, 2.8vw, 2.375rem); }
.more-intro { max-width: var(--measure); color: var(--muted); }
.more-profile { display: inline-flex; align-items: center; gap: 6px; color: var(--copper); text-underline-offset: 3px; white-space: nowrap; }
.more-profile .glyph { width: 15px; height: 15px; }
.repos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.repo-item { display: flex; }
.repo {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + var(--s2));
}
.repo-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 6.5% 7% 0;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(110% 85% at 50% 0%, var(--studio-fill), transparent 72%),
    linear-gradient(var(--studio-grid) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--studio-grid) 1px, transparent 1px) 0 0 / 28px 28px;
  container-type: inline-size;
}
.repo--excerpt .repo-stage { display: grid; align-items: center; padding: 5% 5.5%; }
.repo-window {
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
  transition: transform var(--dur-state) var(--ease-ui);
}
.repo-window--shot { border-bottom: 0; border-radius: 10px 10px 0 0; }
.repo-window .panel-bar { font-size: clamp(10px, 1.9cqw, 12.5px); }
.repo-shot { display: block; width: 100%; height: auto; }
/* Sized so 96 columns (the widest diagram line) fit beside the line numbers;
   anything longer fades off the edge like the hero's code window. */
.repo-window .panel-code {
  padding: 1.5em 0;
  font-size: clamp(6.5px, 1.45cqw, 13px);
  line-height: 1.8;
  -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent);
  mask-image: linear-gradient(90deg, #000 94%, transparent);
}
.repo-window .code-ln { width: 3em; padding-right: 1em; }
.repo:hover .repo-window, .repo:focus-within .repo-window { transform: translateY(-5px); }
@media (prefers-reduced-motion: reduce) { .repo-window { transition: none; } .repo:hover .repo-window, .repo:focus-within .repo-window { transform: none; } }
html[data-motion='reduced'] .repo-window { transition: none; }
html[data-motion='reduced'] .repo:hover .repo-window, html[data-motion='reduced'] .repo:focus-within .repo-window { transform: none; }

.repo-body { display: flex; flex: 1; flex-direction: column; padding: var(--s4); }
.repo-title { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.repo-summary { margin-top: var(--s1); color: var(--ink-soft); }
.repo-points { display: grid; gap: 8px; margin-top: var(--s2); }
.repo-points li { position: relative; padding-left: 22px; color: var(--muted); font-size: var(--text-small); }
.repo-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 9px;
  height: 1.25px;
  background: var(--copper);
}
.repo .project-actions { margin-top: auto; padding-top: var(--s3); }
@media (max-width: 859px) {
  .repos { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .repo { border-radius: var(--radius-md); }
  .repo-body { padding: var(--s3); }
}

/* TideCast */
.globe-art { width: min(100%, 320px); height: auto; }
.art-ping-ring { opacity: 0.6; }
.pipeline { display: grid; gap: var(--s1); }
.pipeline-label { font-size: var(--text-kicker); letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); }
.pipeline-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; counter-reset: step; }
.pipeline-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: border-color var(--dur-state) var(--ease-ui), color var(--dur-state) var(--ease-ui), background-color var(--dur-state) var(--ease-ui);
}
.pipeline-step + .pipeline-step::before {
  content: '';
  width: 14px;
  height: 1.25px;
  margin-left: -20px;
  margin-right: 6px;
  background: var(--muted);
}
.pipeline-step.is-active { border-color: var(--copper); color: var(--ink); background: color-mix(in srgb, var(--copper) 14%, transparent); }

/* Vedam */
.art-fill { fill: color-mix(in srgb, var(--gold) 14%, transparent); stroke: none; }

/* NFC card */
.nfc-view { aspect-ratio: 1120 / 640; min-height: 0; width: 100%; touch-action: pan-y; }
.nfc-static { width: 100%; height: auto; }
.nfc-view canvas { width: 100%; height: 100%; cursor: grab; }
.nfc-view.is-dragging canvas { cursor: grabbing; }
.nfc-controls { display: flex; flex-wrap: wrap; gap: var(--s1); }
.nfc-field-note { color: var(--copper-strong); font-size: var(--text-small); }

/* ---------- Skills ---------- */
.skills-intro { max-width: var(--measure); color: var(--ink-soft); margin: calc(-1 * var(--s3)) 0 var(--s4); }
.skills-body { display: grid; gap: var(--s4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skill-group-title { font-size: 1.5rem; margin-bottom: var(--s2); }
.skill-items { display: grid; gap: var(--s1); }
.skill {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px var(--s2);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.skill-name { font-weight: 500; }
.skill-links { color: var(--muted); font-size: var(--text-small); }
.skill-links a { color: var(--ink-soft); }
.certifications { margin-top: var(--s5); }
.cert-items { display: flex; flex-wrap: wrap; gap: var(--s1); }
.cert-items li {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}
@media (max-width: 859px) { .skills-body { grid-template-columns: 1fr; } }

/* Interactive board (desktop, built by skills-board.js) */
.skills-board { position: relative; }
.skills-board-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--s4) 112px; /* the gaps are the routing channels */
  align-items: center;
}
.skills-board-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.skills-board-svg path { fill: none; stroke: var(--line-frame); stroke-width: var(--stroke); vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: opacity var(--dur-state) var(--ease-ui); }
.skills-board-svg path.is-active { stroke: var(--copper); stroke-width: 2.25px; stroke-dasharray: 10 6; }
.skills-board-svg path.is-dim { opacity: 0.25; }
.skills-board-svg circle { fill: var(--bg); stroke: var(--gold); stroke-width: var(--stroke); vector-effect: non-scaling-stroke; }
.skills-col { position: relative; z-index: 1; display: grid; gap: 10px; }
.skills-col h3 { font-size: 0.8125rem; font-family: var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.smd, .ic {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  color: var(--ink);
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-hover) var(--ease-ui), background-color var(--dur-hover) var(--ease-ui);
}
.smd { border-radius: var(--radius-sm); }
.smd::before { content: ''; flex: none; width: 10px; height: 6px; border: 1.25px solid var(--gold); border-radius: 1px; }
.ic { border-radius: 4px; padding: 14px 16px; position: relative; font-family: var(--font-display); font-size: 1.125rem; }
.ic::before, .ic::after {
  content: '';
  position: absolute;
  top: 8px; bottom: 8px;
  width: 5px;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 1.25px, transparent 1.25px 7px);
}
.ic::before { left: -6px; }
.ic::after { right: -6px; }
.smd:hover, .ic:hover, .smd.is-related, .ic.is-related { border-color: var(--copper); }
.smd[aria-pressed='true'], .ic[aria-pressed='true'] { border-color: var(--copper); background: color-mix(in srgb, var(--copper) 20%, var(--surface-solid)); }
.skills-board-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); min-height: 52px; margin-top: var(--s3); }
.skills-status { color: var(--ink-soft); font-size: var(--text-small); max-width: var(--measure); }
.skills-filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); margin-bottom: var(--s3); }
.skills-filter select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
}
.skill.is-filtered-out { display: none; }
.skills-empty { color: var(--muted); }

/* ---------- Leadership ---------- */
.activities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s4); }
.activity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s2);
  padding: var(--s3) 0;
  border-top: 1px solid var(--border);
}
.activity-glyph { width: 28px; height: 28px; color: var(--copper); margin-top: 4px; }
.activity-org { font-size: 1.25rem; }
.activity-body .meta { margin-top: 4px; }
.activity-desc { margin-top: 6px; color: var(--ink-soft); }
@media (max-width: 859px) { .activities { grid-template-columns: 1fr; } }

/* ---------- Beyond ---------- */
.interests { display: flex; flex-wrap: wrap; gap: var(--s2); }
.interest {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.interest-glyph { width: 24px; height: 24px; color: var(--gold); }
.interest-label::first-letter { text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact { position: relative; text-align: center; padding-bottom: var(--section-pad); }
.contact-art { width: min(72%, 420px); margin: 0 auto var(--s4); }
.closing-art { width: 100%; height: auto; }
.closing-art .art-board { stroke: var(--line-frame); }
.closing-art .art-led stop { stop-color: var(--led); }
.closing-art .art-led-glow { opacity: 0.55; }
.closing-art .art-led-core { fill: var(--led); }
.closing-art .art-led circle { transition: opacity var(--dur-reveal) var(--ease-ui) var(--dur-reveal); }
.closing-art.is-armed:not(.is-drawn) .art-led circle { opacity: 0; }
.contact-title { font-size: clamp(2.5rem, 6vw, 5.5rem); margin: var(--s1) 0 var(--s5); }
.contact-email { display: grid; justify-items: center; gap: var(--s2); }
.contact-label { font-size: var(--text-kicker); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.email-address {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  user-select: all;
  -webkit-user-select: all;
  overflow-wrap: anywhere;
}
.contact-email-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s2); }
.copy-icon { position: relative; display: inline-grid; width: 18px; height: 18px; }
.copy-icon .glyph { position: absolute; inset: 0; width: 18px; height: 18px; transition: opacity var(--dur-state) var(--ease-ui), transform var(--dur-state) var(--ease-ui); }
.copy-icon .glyph-check { opacity: 0; transform: scale(0.6); }
.copy-email.is-copied .copy-icon .glyph:not(.glyph-check) { opacity: 0; transform: scale(0.6); }
.copy-email.is-copied .copy-icon .glyph-check { opacity: 1; transform: none; }
.copy-status { min-width: 1ch; font-size: var(--text-small); color: var(--copper-strong); }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s4); margin-top: var(--s5); }
.contact-links a { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; align-items: center; text-decoration: none; }
.contact-link-kind { font-size: var(--text-kicker); letter-spacing: 0.22em; text-transform: uppercase; color: var(--copper); }
.contact-link-url { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--copper) 60%, transparent); text-underline-offset: 0.22em; }

/* ---------- Reveals (only after reveal.js marks the page) ---------- */
html.has-reveals .reveal-line { display: block; }
html.has-reveals [data-reveal]:not(.is-revealed) .reveal-line > span { opacity: 0; transform: translateY(24px); }
html.has-reveals [data-reveal] .reveal-line > span {
  display: inline-block;
  transition: opacity var(--dur-reveal) var(--ease-ui), transform var(--dur-reveal) var(--ease-ui);
  transition-delay: calc(var(--i, 0) * 60ms);
}
html.has-reveals [data-reveal]:not(.is-revealed) .reveal-unit { opacity: 0; transform: translateY(24px); }
html.has-reveals [data-reveal] .reveal-unit {
  transition: opacity var(--dur-reveal) var(--ease-ui), transform var(--dur-reveal) var(--ease-ui);
  transition-delay: var(--d, 0ms);
}

/* Count-up: the real value stays in the DOM for assistive technology; a
   decorative overlay counts over it, then is removed. */
.stat-value.has-count { position: relative; color: transparent; }
.stat-count { position: absolute; left: 0; top: 0; color: var(--ink); }

.closing-art.is-armed path { transition: stroke-dashoffset var(--dur-reveal) var(--ease-scene); }
.closing-art.is-drawn path { stroke-dashoffset: 0 !important; }

/* ---------- Mini-world enhancements ---------- */
.nfc-view { position: relative; user-select: none; -webkit-user-select: none; }
.nfc-view .stage-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; filter: drop-shadow(0 22px 28px rgb(0 0 0 / 0.45)); }
.nfc-live { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.nfc-view.is-live { cursor: grab; }
.nfc-view.is-live.is-dragging { cursor: grabbing; }
.nfc-ring { stroke: var(--gold); }
.nfc-ring:nth-child(2) { opacity: 0.6; }
.nfc-ring:nth-child(3) { opacity: 0.32; }
.nfc-live .led-glow { stroke: none; }

.vedam-svg.is-armed path { transition: stroke-dashoffset 1100ms var(--ease-scene) calc(var(--i, 0) * 45ms); }
.vedam-svg.is-drawn path { stroke-dashoffset: 0 !important; }
.vedam-svg.is-armed .art-fill { opacity: 0; transition: opacity var(--dur-reveal) var(--ease-ui) 1300ms; }
.vedam-svg.is-drawn .art-fill { opacity: 1; }

/* Optional clock-driven ping: stops with Pause motion and reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion='reduced']):not([data-motion-paused]) .art-ping-ring {
    animation: ping 3.2s var(--ease-ui) infinite;
    transform-box: fill-box;
    transform-origin: center;
  }
  html:not([data-motion='reduced']):not([data-motion-paused]) .art-ping-ring + .art-ping-ring { animation-delay: 1.6s; }
}
@keyframes ping {
  0% { transform: scale(0.4); opacity: 0.9; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Skills board / filter switching ---------- */
.skills-col-list { display: grid; gap: 10px; }
.skills-board-svg circle { fill: var(--bg); }
.skills-hint { max-width: var(--measure); }
.skills-filter label { font-size: var(--text-small); color: var(--muted); }
.skills-filter-status { flex-basis: 100%; }
@media (min-width: 860px) {
  .skills-filter { display: none; }
  .has-skills-board .skills-body { display: none; }
}
@media (max-width: 859px) {
  .skills-board { display: none; }
}

/* ---------- Device mockups (CSS-drawn frames around real screenshots) ---------- */
.devices { position: relative; width: 100%; padding: 0 0 6% 0; }
.laptop { width: 86%; filter: drop-shadow(0 28px 34px rgb(0 0 0 / 0.42)); }
.laptop-screen {
  position: relative;
  padding: 2.4% 2.4% 3%;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, #2c2e33, #111215 70%);
  box-shadow: inset 0 0 0 1px #3d4046, inset 0 1px 0 #55585e;
}
.laptop-screen::before { /* camera */
  content: '';
  position: absolute;
  top: 1%; left: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #1e2a33;
  box-shadow: 0 0 0 1px #2b2e33;
  transform: translateX(-50%);
}
.laptop-screen img, .phone-screen img { display: block; width: 100%; height: auto; }
.laptop-screen img { border-radius: 3px; }
.laptop-screen::after, .phone-screen::after { /* glass glare */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.02) 34%, transparent 46%);
  pointer-events: none;
}
.laptop-base {
  position: relative;
  height: 0;
  padding-bottom: 3.1%;
  margin: 0 -7%;
  border-radius: 2px 2px 18px 18px / 2px 2px 12px 12px;
  background: linear-gradient(180deg, #e6e8ea 0%, #c3c6ca 35%, #8d9196 100%);
  box-shadow: inset 0 1px 0 #fafbfc, inset 0 -1px 0 #6d7176;
}
.laptop-base::before { /* opening notch */
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 16%; height: 42%;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #9da1a6, #c6c9cd);
  transform: translateX(-50%);
}
.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25%;
  padding: 2.2%;
  border-radius: 18% / 8.4%;
  background: #0d0e10;
  box-shadow: inset 0 0 0 1.5px #3a3c41, 0 0 0 1px #6a6d72, 0 26px 40px -8px rgb(0 0 0 / 0.55);
}
.phone::before { /* side button */
  content: '';
  position: absolute;
  right: -2.5%; top: 24%;
  width: 2.5%; height: 12%;
  border-radius: 0 2px 2px 0;
  background: #55585d;
}
.phone-screen { position: relative; overflow: hidden; border-radius: 14% / 6.6%; }
.phone-screen::before { /* camera pill */
  content: '';
  position: absolute;
  z-index: 1;
  top: 1.6%; left: 50%;
  width: 30%; height: 3.4%;
  border-radius: 999px;
  background: #050506;
  transform: translateX(-50%);
}

/* Vedam: a light sweep across the laptop glass on hover or keyboard focus. */
.world-vedam .laptop-screen::after {
  background:
    linear-gradient(110deg, transparent 32%, rgb(255 255 255 / 0.22) 46%, transparent 60%) 160% 0 / 260% 100% no-repeat,
    linear-gradient(118deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.02) 34%, transparent 46%);
  transition: background-position 1100ms var(--ease-scene);
}
.project--vedam:hover .laptop-screen::after,
.project--vedam:focus-within .laptop-screen::after { background-position: -60% 0, 0 0; }
@media (prefers-reduced-motion: reduce) { .world-vedam .laptop-screen::after { transition: none; } }
html[data-motion='reduced'] .world-vedam .laptop-screen::after { transition: none; }

/* ---------- Photos (credited; see the footer) ---------- */
.education { overflow: hidden; }
.education-photo {
  position: relative;
  margin: calc(-1 * var(--s4)) calc(-1 * var(--s4)) var(--s3);
  aspect-ratio: 3 / 1;
  overflow: hidden;
}
.education-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--surface-solid));
  pointer-events: none;
}
.education-img { width: 100%; height: 100%; object-fit: cover; }

.interests { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.interest { display: grid; gap: var(--s2); padding: 0; border: 0; border-radius: 0; align-content: start; }
.interest-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.interest-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  background: linear-gradient(to top, rgb(0 0 0 / 0.28), transparent 45%);
  pointer-events: none;
}
.interest-img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-ui); }
.interest:hover .interest-img { transform: scale(1.04); }
.interest-text { display: inline-flex; align-items: flex-start; gap: 10px; }
@media (max-width: 859px) { .interests { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); } }
@media (prefers-reduced-motion: reduce) { .interest-img { transition: none; } }
html[data-motion='reduced'] .interest-img { transition: none; }

.photo-credits { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--muted); }
.photo-credits summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.photo-credits ul { display: grid; gap: 4px; margin-top: var(--s1); }
.photo-credits a { color: var(--ink-soft); }
