@charset "UTF-8";
:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --surface-strong: #f3f1ee;
  --ink: #1a2332;
  --ink-soft: #5e6a78;
  --line: #e2ddd6;
  --brand: #1e3a5f;
  --brand-strong: #152c49;
  --accent: #8c2f39;
  --accent-soft: #c48990;
  --shadow-soft: 0 16px 36px rgba(36, 42, 48, 0.08);
  --shadow-strong: 0 24px 52px rgba(33, 37, 41, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: radial-gradient(circle at top left, #ffffff 0%, #f4f1ed 45%, #f7f5f2 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  position: relative;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.narrow {
  max-width: 900px;
}

.section-space {
  padding: 6.5rem 0;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite;
}

.orb-a {
  width: 34rem;
  height: 34rem;
  top: -14rem;
  left: -10rem;
  background: radial-gradient(circle at 30% 30%, #e7c4c8 0%, #c98990 45%, transparent 72%);
}

.orb-b {
  width: 30rem;
  height: 30rem;
  bottom: -12rem;
  right: -8rem;
  animation-delay: -6s;
  background: radial-gradient(circle at 40% 40%, #d5dee8 0%, #aebfd0 45%, transparent 72%);
}

.orb-c {
  width: 20rem;
  height: 20rem;
  top: 26%;
  right: 16%;
  animation-delay: -10s;
  background: radial-gradient(circle at 50% 50%, #e8cfd2 0%, #c98990 44%, transparent 70%);
}

.site-header {
  position: sticky;
  top: 1.15rem;
  z-index: 40;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled .nav-shell {
  box-shadow: var(--shadow-strong);
}

.nav-shell {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #4d6d91);
  box-shadow: 0 0 0 6px rgba(30, 58, 95, 0.18);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: all 180ms ease;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(140, 47, 57, 0.1);
}

.nav-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #4d6d91);
}

.nav-link-ext {
  border: 1px dashed rgba(140, 47, 57, 0.45);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 0.2rem;
  padding: 0.15rem;
  border: 1px solid rgba(26, 35, 50, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.lang-switch-opt {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.32rem 0.45rem;
  border-radius: 999px;
  color: var(--ink-soft);
}

.lang-switch-opt.is-active {
  color: var(--ink);
  background: rgba(140, 47, 57, 0.16);
}

.lang-switch-opt.is-unavailable {
  opacity: 0.45;
  cursor: default;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(26, 35, 50, 0.2);
  background: var(--surface);
  color: var(--ink);
  padding: 0.45rem 0.85rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.site-main {
  padding-top: 2.1rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent);
}

/* `.section-head p` and `.resume-section-head p` are (0,1,1) and outrank the
   (0,1,0) `.eyebrow` class, so an eyebrow inside either container silently
   loses its accent colour and picks up a top margin — which is why /resume/
   renders "Resume" teal but "Experience" grey. Restore at higher specificity. */
.section-head .eyebrow,
.resume-section-head .eyebrow {
  margin: 0;
  color: var(--accent);
}

.home-hero {
  padding-top: 4.2rem;
}

.hero-shell {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 245, 242, 0.92));
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  padding: clamp(2rem, 3vw + 1rem, 3.2rem);
}

.hero-title {
  margin: 0.7rem 0 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 65ch;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric-card {
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem;
}

.metric-value {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-strong);
}

.metric-label {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 1.9rem;
}

.section-head h1,
.section-head h2 {
  margin: 0.55rem 0 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-head p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease, color 170ms ease, border-color 170ms ease;
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #4d6d91);
  box-shadow: 0 10px 24px rgba(21, 44, 73, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(21, 44, 73, 0.28);
}

.btn-ghost {
  color: var(--ink);
  border-color: rgba(26, 35, 50, 0.2);
  background: rgba(255, 255, 255, 0.54);
}

.btn-outline {
  color: var(--accent);
  border-color: rgba(140, 47, 57, 0.45);
  background: rgba(140, 47, 57, 0.1);
}

.btn-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  border-radius: 0.65rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Flex column so every card's action row lands on the same baseline within a
   grid row — otherwise short descriptions leave the buttons floating mid-card. */
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(26, 35, 50, 0.11);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(140, 47, 57, 0.35);
}

.project-card:focus-visible {
  outline: 3px solid rgba(140, 47, 57, 0.45);
  outline-offset: 2px;
}

/* Catalogue header strip: mono unit number + a dashed rule running to the edge,
   so a card reads as a numbered entry rather than a portfolio tile. */
.unit-strip {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0 0.5rem 1rem;
  background: rgba(30, 58, 95, 0.075);
  border-bottom: 1px solid rgba(26, 35, 50, 0.09);
}

/* Runs flush to the card edge — stopping short of it reads as a dangling dash
   rather than a ruled sheet. */
.unit-strip::after {
  content: "";
  flex: 1;
  border-bottom: 1px dashed rgba(26, 35, 50, 0.24);
}

.unit-no {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-strong);
}

/* flex-shrink:0 — the card is now a flex column stretched by the grid row, so
   without this the thumbnail and strip get squeezed to absorb the extra height. */
.project-media {
  flex-shrink: 0;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #ead4d6, #d5dee8);
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.22), rgba(140, 47, 57, 0.25));
}

.project-fallback span {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(26, 35, 50, 0.66);
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.project-body .project-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.project-body h3 {
  margin: 0;
  font-size: 1.25rem;
  font-family: "Roboto", system-ui, sans-serif;
}

.project-body p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Spec line, not tag pills — a catalogue entry lists its specs on one rule.
   Scoped under .project-body so .project-tags elsewhere (about, project page)
   keeps the pill treatment. */
.project-body .unit-spec {
  margin: 0.9rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(26, 35, 50, 0.18);
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(82, 96, 109, 0.9);
}

/* Marginal note sitting directly above the grid. The hero can't carry this —
   by the time you reach a card reading "UNIT 12" the explanation is offscreen. */
.section-head .lab-note {
  margin-top: 0.85rem;
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 0.78rem;
  /* Was 0.72 alpha — 3.21:1, under AA. This line is the only thing explaining
     why UNIT 12 sits before UNIT 16, so it has to be readable. */
  color: rgba(82, 96, 109, 0.9);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.85rem;
}

.project-tags span {
  border: 1px solid rgba(140, 47, 57, 0.25);
  color: #8c2f39;
  background: rgba(109, 135, 168, 0.13);
  border-radius: 999px;
  padding: 0.26rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 600;
}

.project-tags.large span {
  font-size: 0.8rem;
  padding: 0.36rem 0.7rem;
}

.project-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-page {
  padding-top: 3rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
  font-weight: 700;
}

.project-hero {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: 1.2rem;
  padding: clamp(1.3rem, 1.5vw + 1rem, 2.1rem);
  box-shadow: var(--shadow-soft);
}

.project-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.45rem;
}

.project-title .blog-card-icon {
  width: 2.75rem;
  height: 2.75rem;
}

.project-hero h1 {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  line-height: 1.08;
}

.project-summary {
  margin: 0.95rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.project-actions-top {
  margin-top: 1.2rem;
}

.project-content {
  margin-top: 1.2rem;
  background: rgba(255, 255, 255, 0.77);
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: 1.2rem;
  padding: clamp(1.2rem, 1.2vw + 1rem, 1.9rem);
  box-shadow: var(--shadow-soft);
}

.project-content h2,
.project-content h3,
.project-content h4 {
  margin: 1.5rem 0 0.7rem;
  font-family: "Roboto", system-ui, sans-serif;
  line-height: 1.22;
}

.project-content p,
.project-content li {
  color: #5e6a78;
}

.project-content ul,
.project-content ol {
  padding-left: 1.15rem;
}

.project-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.about-panels {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.about-panel {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.about-panel h2 {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.2rem;
}

.about-panel p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
}

.about-panel p + h2 {
  margin-top: 0.65rem;
}

.about-panel .hero-actions {
  margin-top: 1.1rem;
}

.about-panel a:not(.btn) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.about-panel a:not(.btn):hover {
  color: var(--brand-strong);
}

.about-panel .btn-primary,
.about-panel .btn-primary:hover {
  color: #fff;
  text-decoration: none;
}

.about-bottom {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  align-items: end;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}

.about-bottom h2 {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.1rem;
}

.members-page .section-head {
  margin-bottom: 2.4rem;
}

.members-group {
  scroll-margin-top: 5.5rem;
}

.members-group + .members-group {
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px dashed rgba(26, 35, 50, 0.22);
}

.members-group-title {
  margin: 0 0 1.1rem;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.member-leaders {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.75rem;
}

.member-grid .member-meta {
  padding: 0.65rem 0.7rem 0.75rem;
}

.member-grid .member-name {
  font-size: 0.95rem;
}

.member-grid .member-position {
  font-size: 0.8rem;
}

.member-grid .member-cue {
  margin-top: 0.4rem;
}

.member-grid .member-fallback {
  font-size: 1.25rem;
}

.member-grid .member-bio {
  padding: 0.1rem 0.7rem 0.8rem;
  font-size: 0.88rem;
}

/* An open card moves to the first row and spans it, photo beside the name.
   The other cards keep their order in the grid underneath. */
.member-grid .member-card[open] {
  order: -1;
  grid-column: 1/-1;
  scroll-margin-top: 5.5rem;
}

.member-grid .member-card[open] summary {
  flex-direction: row;
  align-items: center;
  gap: 1.15rem;
  padding: 1rem 1.15rem 0.85rem;
}

.member-grid .member-card[open] .member-photo {
  width: 8rem;
  height: 8rem;
  flex-shrink: 0;
  aspect-ratio: auto;
  border-radius: 0.85rem;
}

.member-grid .member-card[open] .member-meta {
  padding: 0;
}

.member-grid .member-card[open] .member-name {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
}

.member-grid .member-card[open] .member-position {
  font-size: 0.95rem;
}

.member-grid .member-card[open] .member-bio {
  margin: 0 1.15rem 1rem;
  padding: 0.15rem 0 0.1rem;
  font-size: 1rem;
}

.member-card {
  background: var(--surface);
  border: 1px solid rgba(26, 35, 50, 0.11);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.member-card summary,
.member-face {
  display: flex;
  flex-direction: column;
}

.member-card summary {
  list-style: none;
  cursor: pointer;
}

.member-card summary::-webkit-details-marker {
  display: none;
}

.member-card summary:focus {
  outline: none;
}

.member-card summary:focus-visible {
  outline: 3px solid rgba(140, 47, 57, 0.45);
  outline-offset: -3px;
}

.member-card:not([open]):not(.is-static):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(140, 47, 57, 0.35);
}

.member-card[open] {
  border-color: rgba(140, 47, 57, 0.45);
}

.member-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.18), rgba(140, 47, 57, 0.22));
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.member-fallback {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(26, 35, 50, 0.62);
}

.member-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.2rem;
  padding: 0.95rem 1rem 1rem;
}

.member-name {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.member-position {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.member-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.member-cue::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.member-card[open] .member-cue::after {
  transform: rotate(-135deg) translateY(1px);
}

.member-bio {
  padding: 0.15rem 1rem 1.1rem;
  color: var(--ink-soft);
  border-top: 1px dashed rgba(26, 35, 50, 0.2);
}

.member-bio > :first-child {
  margin-top: 0.9rem;
}

.member-bio > :last-child {
  margin-bottom: 0;
}

.member-bio a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.member-bio a:hover {
  color: var(--brand-strong);
}

.member-card.is-featured {
  max-width: 760px;
}

.member-card.is-featured summary,
.member-card.is-featured .member-face {
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.25rem 1.15rem 1.15rem;
}

.member-card.is-featured .member-photo {
  width: 9.5rem;
  height: 9.5rem;
  flex-shrink: 0;
  aspect-ratio: auto;
  border-radius: 0.85rem;
}

.member-card.is-featured .member-meta {
  padding: 0.2rem 0.2rem 0.2rem 0;
}

.member-card.is-featured .member-name {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.member-card.is-featured .member-bio {
  margin: 0 1.15rem 1.1rem;
  padding: 0.15rem 0 0.15rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(26, 35, 50, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

.footer-shell {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* The reveal is opt-OUT: elements start invisible and only IntersectionObserver
   clears them. So a reduced-motion user, a failed observer, or any non-scrolling
   render leaves the whole catalogue blank. Restore content instead of animating
   it, and stop the ambient orbs drifting. (See also the <noscript> override in
   _layouts/default.html, which covers JS being off entirely.) */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ambient-orb {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
@keyframes drift {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-18px) translateX(8px) scale(1.04);
  }
}
@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-panels {
    grid-template-columns: 1fr;
  }
  .about-bottom {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .resume-hero,
  .resume-grid,
  .resume-project-list {
    grid-template-columns: 1fr;
  }
  .resume-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .section-space {
    padding: 4.8rem 0;
  }
  .site-main {
    padding-top: 1.35rem;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .primary-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(240px, 100vw - 1.25rem);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(26, 35, 50, 0.14);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .primary-nav.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .project-actions {
    gap: 0.4rem;
  }
  .project-actions .btn {
    flex: 1;
  }
  /* "Browse the Catalogue" is wide enough that the pair overflows a 390px
     content box and stacks at ragged widths — match the card treatment. */
  .hero-actions .btn {
    flex: 1;
  }
  .resume-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  /* Wrapped lines would start with a dangling separator. */
  .resume-contact {
    flex-direction: column;
  }
  .resume-contact li + li::before {
    content: none;
  }
  .member-grid {
    grid-template-columns: 1fr;
  }
  .member-grid .member-card summary,
  .member-grid .member-face {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem;
  }
  .member-grid .member-photo {
    width: 5.5rem;
    height: 5.5rem;
    flex-shrink: 0;
    aspect-ratio: auto;
    border-radius: 0.75rem;
  }
  .member-grid .member-meta {
    padding: 0.15rem 0.2rem 0.15rem 0;
  }
  .member-card.is-featured summary,
  .member-card.is-featured .member-face {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  .member-card.is-featured .member-photo {
    width: 8rem;
    height: 8rem;
  }
}
/* ---------------------------------------------------------------- */
/* Blog index                                                        */
/* ---------------------------------------------------------------- */
.blog-section {
  padding-block: 5rem 4rem;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.project-filter .blog-filter-btn {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.blog-filter-btn {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 0.45rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.blog-filter-btn:hover {
  border-color: rgba(140, 47, 57, 0.4);
  color: var(--ink);
}

.blog-filter-btn.is-active {
  background: rgba(140, 47, 57, 0.1);
  color: var(--accent);
  border-color: rgba(140, 47, 57, 0.45);
}

.blog-filter-btn[data-filter=ko].is-active {
  background: rgba(30, 58, 95, 0.1);
  color: var(--brand);
  border-color: rgba(30, 58, 95, 0.45);
}

.blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.blog-list[data-active=en] .blog-card[data-lang]:not([data-lang=en]),
.blog-list[data-active=ko] .blog-card[data-lang]:not([data-lang=ko]) {
  display: none;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(30, 58, 95, 0.35);
}

.blog-card-link {
  display: block;
  padding: 1.5rem 1.75rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.4rem;
}

.blog-card-date {
  color: var(--ink-soft);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card-lang {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  background: rgba(140, 47, 57, 0.1);
  color: var(--accent);
}

.blog-card-lang[data-lang=ko] {
  background: rgba(30, 58, 95, 0.1);
  color: var(--brand);
}

.blog-card-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.45rem;
}

.blog-card-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 0.55rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.2), rgba(140, 47, 57, 0.22));
}

.blog-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-fallback {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(26, 35, 50, 0.66);
}

.blog-card-title {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}

.blog-card-subtitle {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.blog-empty {
  color: var(--ink-soft);
  text-align: center;
  padding: 3rem 0;
}

/*# sourceMappingURL=style.css.map */