:root {
  --orange: #171717;
  --black: #000;
  --cream: #f3eee4;
  --ink: #f3eee4;
  --dark: #111;
  --darker: #0d0d0d;
  --panel: #151515;
  --gray: #888;
  --muted: #d5d2cc;
  --line: rgba(255, 255, 255, 0.25);
  --font-display: Anton, Impact, sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-script: Caveat, cursive;
  --pad: clamp(26px, 8vw, 125px);
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.noise {
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #000;
  padding: 10px 14px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.header {
  height: var(--header-h);
  position: fixed;
  z-index: 40;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 64px);
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  background: rgba(17, 17, 17, 0.02);
}
.header.scrolled {
  background: #111;
  border-color: var(--orange);
}
.brand {
  color: var(--ink);
  font-size: 13px;
  line-height: 0.84;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand span { color: #fff; }
.header:not(.scrolled) .brand span { color: #fff; }

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
}
nav a,
.header-contact,
.music-btn {
  color: var(--ink);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
nav a[aria-current="page"] { color: #fff; }
nav a { position: relative; padding-bottom: 4px; }
nav a::after {
  content: "";
  position: absolute;
  width: 0; height: 2px; bottom: 0; left: 0;
  background: #fff;
  transition: width 0.3s ease;
}
nav a:hover::after { width: 100%; }
.header:not(.scrolled) nav a,
.header:not(.scrolled) .music-btn { color: var(--ink); }
.header:not(.scrolled) nav a::after,
.header:not(.scrolled) .music-btn::after { background: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-contact {
  padding: 10px 16px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: 0.2s ease;
}
.header-contact:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}
}
.header-contact b { font-size: 15px; margin-left: 8px; }
.header:not(.scrolled) .header-contact {
  background: #000;
  color: var(--orange);
}
.header:not(.scrolled) .header-contact:hover {
  background: transparent;
  color: #000;
  border-color: #000;
}
.header.scrolled .header-contact:hover {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.music-btn { position: relative; padding-bottom: 4px; }
.music-btn::after {
  content: "";
  position: absolute;
  width: 0; height: 2px; bottom: 0; left: 0;
  background: var(--orange);
  transition: width 0.3s ease;
}
.music-btn:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
  padding: 8px 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.header:not(.scrolled) .nav-toggle { color: #000; }

/* Shared type */
.vertical {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 100px;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 9px;
  letter-spacing: 0.13em;
  font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
  max-height: min(280px, calc(100% - 120px));
  overflow: hidden;
  opacity: 0.55;
  color: var(--orange);
}
.section-label {
  position: relative;
  overflow: clip;
  isolation: isolate;
}
.kicker {
  margin: 0 0 15px;
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
}
.script {
  font-family: var(--font-script);
  font-size: clamp(36px, 5vw, 85px);
  font-weight: 700;
  line-height: 1;
  display: block;
  transform: rotate(-5deg);
  color: var(--orange);
}
.page-hero h1,
.hero h1,
.about h2,
.work h2,
.skills h2,
.footer h2,
.section-title,
.currently h2,
.github-section h2,
.path h2,
.services-page h2,
.os-page h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.79;
  letter-spacing: -0.025em;
  margin: 0;
}

.outline-link {
  display: inline-block;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 12px 16px;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
  transition: 0.2s ease;
}
.outline-link:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.arrow-link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid #000;
  padding-bottom: 6px;
  transition: 0.2s ease;
}
.arrow-link i, .arrow-link b { font-style: normal; font-size: 16px; margin-left: 12px; }
.arrow-link:hover { opacity: 0.7; }
.cta-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.tech-sub {
  color: var(--orange);
  font-size: 9px;
  font-weight: 700;
  margin-top: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 20px; }
.tags span {
  border: 1px solid currentColor;
  padding: 4px 5px;
  font-size: 8px;
  letter-spacing: 0.07em;
  font-weight: 700;
}

/* Progressive enhancement: only hide when JS has armed motion */
.reveal {
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js-motion .reveal:not(.in) {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
html.js-motion .reveal.in,
.reveal.in {
  opacity: 1;
  transform: none;
}

.hub-head { max-width: min(820px, 100%); margin-bottom: 36px; }
.hub-head h2 {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 150px);
  line-height: 0.79;
  margin: 0 0 18px;
}
.hub-lede { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 540px; margin: 0; }

.insights .blog-list {
  width: 100%;
  max-width: none;
  margin: 28px 0 32px;
  min-height: 280px;
}
.insights > .outline-link,
.demos > .outline-link,
.work > .outline-link {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}

.oss-hub, .insights, .demos, .convert {
  padding: 120px var(--pad) 120px;
  border-bottom: 3px solid var(--orange);
  isolation: isolate;
  min-height: 420px;
}

.hero-copy,
.hero-meta,
.hero-stamp,
.hero-no,
.hero-image {
  animation: heroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-meta { animation-delay: 0.06s; }
.hero-copy { animation-delay: 0.1s; }
.hero-stamp { animation-delay: 0.28s; }
.hero-no { animation-delay: 0.32s; }
.hero-image {
  animation-name: heroImageIn;
  animation-delay: 0.12s;
  animation-duration: 1s;
}
@keyframes heroIn {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes heroImageIn {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-motion .reveal:not(.in),
  .reveal,
  .section-motion,
  .hero-copy,
  .hero-meta,
  .hero-stamp,
  .hero-no,
  .hero-image {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
  .project-card:hover { transform: none; box-shadow: none; }
}

/* Home hero — poster grid, stacks on small screens */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 2vh, 28px);
  padding: calc(var(--header-h) + 18px) clamp(20px, 4vw, 72px) 20px clamp(52px, 6vw, 110px);
  overflow: hidden;
  background: #080808;
  color: var(--ink);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}
.hero-bar,
.hero-stage,
.hero-foot,
.hero-copy,
.hero-figure {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero-bar,
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.hero-bar { align-items: flex-start; }
.hero-bar .kicker { margin: 0; color: var(--muted); }
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: stretch;
  gap: clamp(12px, 2vw, 28px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 920px;
  padding-bottom: 8px;
}
.hero h1 {
  font-size: clamp(76px, 10.4vw, 196px);
  max-width: 100%;
  color: #ffffff;
}
.hero-script {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: -0.42em 0 0.45em 6%;
  color: #ffffff !important;
  text-shadow: none;
  white-space: nowrap;
  z-index: 3;
  font-size: clamp(34px, 3.6vw, 72px);
}
.hero-intro {
  max-width: 42ch;
  line-height: 1.45;
  font-size: 15px;
  font-weight: 500;
  margin: 10px 0 22px;
  color: var(--muted);
}
.hero-figure {
  margin: 0;
  min-height: 280px;
  align-self: stretch;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  mix-blend-mode: multiply;
}
.hero-meta {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-align: right;
  color: var(--muted);
}
.hero-stamp {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15;
  color: var(--muted);
}
.hero-no {
  font: clamp(40px, 6vw, 90px) var(--font-display);
  line-height: 0.8;
  color: var(--cream) !important;
}
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-socials a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: 0.2s ease;
}
.hero-socials a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 3px solid var(--orange);
  background: #000;
}
.trust-item {
  padding: 28px clamp(16px, 3vw, 40px);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}
.trust-item:last-child { border-right: 0; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.9;
  color: var(--orange);
}
.trust-item span {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

/* About */
.about {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  background: #111;
  border-bottom: 3px solid var(--orange);
}
.about-image { position: relative; min-height: 680px; overflow: hidden; }
.about-image:after,
.work-bg:after,
.facade:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) grayscale(0.35);
}
.about-image span {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 30px;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.about-copy { padding: clamp(120px, 14vw, 220px) clamp(34px, 7vw, 105px) 90px; }
.about h2 { font-size: clamp(75px, 10vw, 150px); color: var(--ink); }
.about-copy > .script { margin: -10px 0 58px; }
.bio {
  max-width: 445px;
  border-left: 2px solid var(--orange);
  padding-left: 20px;
}
.bio p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
  color: var(--muted);
}

/* Work */
.work {
  padding: 115px var(--pad) 105px;
  background: var(--darker);
  isolation: isolate;
  min-height: 700px;
}
.work-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/optimized/poster-wall.jpg") center / cover;
  image-rendering: auto;
}
.work-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}
.work-heading { position: relative; max-width: 720px; }
.work h2 { font-size: clamp(75px, 11vw, 180px); }
.work-heading > .script { display: block; margin-top: 6px; }
.project-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  gap: 18px;
  margin-top: 96px;
}
.project-card {
  min-height: 365px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #111;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
  cursor: default;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.project-card.featured { background: #161616; color: var(--ink); border-color: rgba(255, 255, 255, 0.4); }
.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.project-card h3,
.matrix h3 {
  font: 400 clamp(26px, 2.5vw, 44px) / 0.9 var(--font-display);
  margin: 40px 0 15px;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  max-width: 100%;
}
.project-card { overflow: hidden; }
.project-card p {
  font-size: 13px;
  line-height: 1.5;
  max-width: 320px;
  margin: 0;
}
.project-card > a {
  margin-top: 22px;
  color: inherit;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.07em;
  font-weight: 700;
  text-transform: uppercase;
}

/* Skills / matrix */
.skills {
  padding: 120px var(--pad);
  min-height: 850px;
  overflow: hidden;
  background: var(--panel);
}
.facade {
  position: absolute;
  z-index: 0;
  width: 52%;
  height: 100%;
  top: 0;
  right: 0;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.1);
  opacity: 0.45;
}
.skills:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #151515 35%, rgba(21, 21, 21, 0.75) 66%, rgba(21, 21, 21, 0.4));
}
.skills-head, .matrix { position: relative; z-index: 1; }
.skills h2 { font-size: clamp(75px, 11vw, 175px); }
.skills-head > .script { display: block; margin: 8px 0 0; }
.matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 115px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
}
.matrix article {
  min-height: 250px;
  padding: 15px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  background: rgba(0, 0, 0, 0.63);
}
.matrix b { font-size: 10px; color: var(--orange); }
.matrix h3 { font-size: clamp(28px, 3vw, 46px); margin: 45px 0 12px; }
.matrix p { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0; }

/* Currently / services preview */
.currently {
  padding: 120px var(--pad);
  background: var(--dark);
  border-bottom: 3px solid var(--orange);
}
.currently-heading { margin-bottom: 70px; }
.currently h2 { font-size: clamp(75px, 11vw, 175px); color: var(--ink); }
.currently-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 2px solid var(--orange);
  padding-top: 40px;
}
.curr-item b { display: block; font-size: 10px; color: var(--orange); margin-bottom: 20px; }
.curr-item span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 10px;
}
.curr-item p { font-size: 14px; line-height: 1.5; margin: 0; font-weight: 500; }

.services-preview {
  padding: 120px var(--pad);
  background: #000;
  border-bottom: 3px solid var(--orange);
}
.services-preview h2 { font-size: clamp(64px, 10vw, 150px); margin-bottom: 20px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.service-card {
  border: 2px solid var(--orange);
  padding: 24px;
  min-height: 220px;
  background: rgba(17, 17, 17, 0.9);
}
.service-card b { color: var(--orange); font-size: 11px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.9;
  margin: 24px 0 14px;
}
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 420px; }
.service-card a {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
}

.github-teaser {
  padding: 120px var(--pad);
  background: var(--dark);
  text-align: center;
  border-bottom: 3px solid var(--orange);
}
.github-teaser h2 { font-size: clamp(64px, 10vw, 150px); color: var(--orange); }
.github-teaser p {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Page shells */
.page-hero {
  padding: calc(var(--header-h) + 80px) var(--pad) 80px;
  background: #000;
  color: var(--ink);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}
.page-hero h1 { font-size: clamp(64px, 12vw, 180px); max-width: min(1100px, 100%); color: #fff; }
.page-hero .lede {
  max-width: 560px;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}
.page-section {
  padding: 90px var(--pad);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}
.page-section h2.section-title { font-size: clamp(48px, 8vw, 110px); margin-bottom: 28px; }
.page-section .blog-list,
.page-section [data-blog-featured],
.page-section .philosophy-grid,
.page-section .path-timeline,
.page-section .os-grid {
  width: 100%;
  max-width: 1200px;
}

/* Project detail */
.project-header {
  padding: 160px var(--pad) 70px;
  background: #000;
  color: var(--ink);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}
.project-header h1 { font-size: clamp(56px, 10vw, 140px); margin: 10px 0 20px; color: #fff; }
.project-lede { max-width: 640px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 40px 0 36px;
}
.project-meta strong { display: block; margin-top: 6px; font-size: 13px; text-transform: none; letter-spacing: 0; max-width: 280px; }
.project-hero-media { background: #000; border-bottom: 2px solid var(--orange); }
.project-hero-media img { width: 100%; max-height: 520px; object-fit: cover; filter: contrast(1.1) grayscale(0.2); }
.project-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 90px var(--pad);
  background: var(--dark);
}
.project-section { margin-bottom: 50px; }
.project-section h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 8px;
  display: inline-block;
}
.project-section p,
.project-section li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
}
.project-section ul { margin: 0; padding-left: 18px; }
.project-section li { margin-bottom: 8px; }
.project-nav {
  padding: 50px var(--pad);
  background: #000;
  border-top: 2px solid var(--orange);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Services detail */
.service-detail {
  border-top: 2px solid var(--orange);
  padding: 50px 0;
}
.service-detail b { color: var(--orange); font-size: 12px; }
.service-detail h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.9;
  margin: 18px 0 28px;
}
.service-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-columns h3 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}
.service-columns p,
.service-columns li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.service-columns ul { margin: 0; padding-left: 18px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 40px;
}
.process-grid article {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 14px 12px;
  min-height: 150px;
  background: rgba(0, 0, 0, 0.35);
}
.process-grid b { color: var(--orange); font-size: 10px; }
.process-grid h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 16px 0 8px;
}
.process-grid p { font-size: 12px; color: var(--muted); line-height: 1.4; margin: 0; }

/* About extras */
.philosophy-grid,
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.philosophy-grid article,
.stack-grid article {
  border: 2px solid var(--orange);
  padding: 22px;
  background: rgba(0, 0, 0, 0.4);
}
.philosophy-grid h3,
.stack-grid h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 12px;
}
.philosophy-grid p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }

.path-timeline {
  margin-top: 40px;
  border-left: 2px solid var(--orange);
  padding-left: 40px;
}
.path-item { position: relative; margin-bottom: 56px; }
.path-item::before {
  content: "";
  position: absolute;
  left: -46px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}
.path-year {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 70px);
  color: var(--orange);
  line-height: 0.8;
}
.path-details h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  margin: 15px 0 5px;
}
.path-org { color: var(--orange); font-size: 13px; font-weight: 700; }
.path-impact { color: var(--ink); }
.path-details p { font-size: 14px; color: var(--gray); margin: 8px 0; line-height: 1.5; }

/* Open source */
.os-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.os-card {
  border: 2px solid var(--orange);
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
}
.os-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 0.9;
  margin: 8px 0 18px;
}
.os-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* GitHub */
.gh-panel { padding: 90px var(--pad); }
.gh-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.gh-stats article {
  border: 2px solid var(--orange);
  padding: 20px;
  background: #000;
}
.gh-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--orange);
  line-height: 0.9;
}
.gh-stats span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.gh-heatmap {
  display: grid;
  grid-template-columns: repeat(22, 1fr);
  gap: 4px;
  margin: 20px 0 40px;
  padding: 18px;
  border: 2px solid var(--orange);
  background: #000;
}
.gh-heatmap i {
  display: block;
  aspect-ratio: 1;
  background: #222;
}
.gh-heatmap i[data-level="1"] { background: #4a1600; }
.gh-heatmap i[data-level="2"] { background: #8a2a00; }
.gh-heatmap i[data-level="3"] { background: #c73a00; }
.gh-heatmap i[data-level="4"] { background: var(--orange); }
.gh-chart { width: 100%; background: #000; border: 2px solid var(--orange); padding: 12px; margin-bottom: 30px; }
.gh-repos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.gh-repo {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 18px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.35);
  transition: 0.2s;
}
.gh-repo:hover { border-color: var(--orange); transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--orange); }
.gh-repo strong { font-size: 16px; }
.gh-repo span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.gh-repo em { color: var(--gray); font-size: 11px; font-style: normal; }
.gh-loading, .gh-fallback { color: var(--muted); margin: 12px 0 24px; }

/* Blog */
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  text-decoration: none;
  border: 2px solid var(--orange);
  background: #000;
  margin-bottom: 40px;
}
.blog-featured img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.1);
}
.blog-featured img[src$=".svg"] { filter: none; }
.blog-featured div { padding: 28px; }
.blog-featured h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.9;
  margin: 0 0 16px;
}
.blog-featured p { color: var(--muted); line-height: 1.5; }
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card {
  border: 2px solid var(--orange);
  padding: 22px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.blog-card h3 a { text-decoration: none; }
.blog-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.blog-card time { margin-top: auto; font-size: 11px; color: var(--gray); letter-spacing: 0.08em; }

.article {
  width: min(920px, 100%);
  max-width: 920px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 64px) clamp(24px, 5vw, 48px) 100px;
  box-sizing: border-box;
}
.article .kicker a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.article h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.article .subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 62ch;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 65ch;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--ink);
  margin: 48px 0 14px;
  line-height: 0.95;
}
.article-body p { margin: 0 0 16px; }
.article-body ul { padding-left: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--orange); }
.article-body code {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1px 5px;
  font-size: 0.9em;
}
.article-cta {
  margin-top: 56px;
  padding: 28px;
  border: 2px solid var(--orange);
  background: #000;
  max-width: 65ch;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 90px var(--pad);
}
.contact-aside p { color: var(--muted); line-height: 1.55; max-width: 420px; }
.contact-aside a {
  display: inline-block;
  margin: 8px 12px 8px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.contact-form {
  display: grid;
  gap: 16px;
  border: 2px solid var(--orange);
  padding: 28px;
  background: rgba(0, 0, 0, 0.45);
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--ink);
  padding: 12px 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
#form-status { min-height: 24px; font-size: 13px; color: var(--muted); }
#form-status[data-state="error"] { color: #ff8a70; }
#form-status[data-state="ok"] { color: #9dffb0; }
.form-submit {
  border: 0;
  background: var(--orange);
  color: #000;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 18px;
  cursor: pointer;
}
.form-submit:hover { filter: brightness(1.05); }

/* Footer */
.footer {
  padding: 110px var(--pad) 30px;
  min-height: 520px;
  background: var(--orange);
  color: #000;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
}
.footer h2 { font-size: clamp(72px, 12vw, 180px); margin-top: 18px; }
.footer-positioning {
  max-width: 460px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 18px 0 0;
}
.footer .outline-link { border-color: #000; color: #000; }
.footer .outline-link:hover { background: #000; color: var(--orange); }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-links a:hover { text-decoration: underline; }
.footer-kicker { font-size: 10px; letter-spacing: 0.13em; font-weight: 700; margin: 0; }
.contact-cta { font-size: 14px; padding: 18px 24px; margin-top: 28px; display: inline-block; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 2px solid #000;
  margin-top: 80px;
  padding-top: 17px;
  font-size: 9px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.footer-bottom a { color: #000; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .blog-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .project-body,
  .contact-layout,
  .blog-featured,
  .service-columns,
  .footer-grid,
  .about { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid,
  .stack-grid,
  .os-grid,
  .gh-repos,
  .services-grid { grid-template-columns: 1fr; }
  .gh-stats,
  .trust { grid-template-columns: 1fr 1fr; }
  .about-image { min-height: 360px; }
}
@media (max-width: 800px) {
  :root { --header-h: 62px; }
  .header { height: var(--header-h); padding: 0 15px; }
  .header nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #111;
    border-bottom: 2px solid var(--orange);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
  }
  .header nav.open { display: flex; }
  .nav-toggle { display: inline-block; min-height: 44px; min-width: 44px; }
  .music-btn { display: none; }
  .vertical { display: none; }
  .hero {
    min-height: 0;
    padding: calc(var(--header-h) + 16px) 16px 16px;
    gap: 14px;
  }
  .hero-stage { grid-template-columns: 1fr; }
  .hero-figure { min-height: 0; height: 42vw; max-height: 240px; order: 2; }
  .hero-copy { order: 1; padding-bottom: 0; }
  .hero h1 { font-size: clamp(64px, 20vw, 108px); }
  .hero-script {
    white-space: normal;
    width: auto;
    margin: 4px 0 8px;
    font-size: clamp(32px, 9vw, 48px);
  }
  .hero-intro { max-width: none; font-size: 15px; }
  .hero-meta { text-align: right; max-width: 46%; }
  .hero-no { font-size: clamp(48px, 16vw, 72px); }
  .project-grid,
  .matrix,
  .currently-grid,
  .blog-list,
  .gh-stats,
  .trust { grid-template-columns: 1fr; }
  .work, .skills, .currently, .services-preview, .github-teaser, .page-section, .gh-panel, .contact-layout {
    padding-left: 25px;
    padding-right: 25px;
  }
  .page-hero, .project-header, .footer { padding-left: 25px; padding-right: 25px; }
  .matrix { grid-template-columns: 1fr 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .gh-heatmap { grid-template-columns: repeat(14, 1fr); }
}
.label-short { display: none; }
@media (max-width: 430px) {
  .header-contact { padding: 10px 12px; }
  .label-full { display: none; }
  .label-short { display: inline; }
  .hero h1 { font-size: clamp(58px, 18vw, 84px); }
  .matrix { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-bar { flex-direction: column; gap: 8px; }
  .hero-meta { max-width: none; text-align: left; }
}

.page-section [data-convert] .convert-intro h2,
.page-section [data-convert] .convert-intro .kicker,
.page-section [data-convert] .convert-intro p { color: #000; }

/* --- Post case-study hubs (restored) --- */
.hub-head { max-width: min(820px, 100%); margin-bottom: 36px; }
.hub-head h2 {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 150px);
  line-height: 0.79;
  margin: 0 0 18px;
}
.hub-lede { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 540px; margin: 0; }
.hub-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.hub-actions .outline-link { margin-top: 0; }

.oss-hub, .insights, .demos, .convert {
  padding: 120px var(--pad);
  border-bottom: 3px solid var(--orange);
  isolation: isolate;
  min-height: 420px;
}
.oss-hub { background: #000; }
.insights { background: var(--dark); }
.demos { background: #0a0a0a; }
.convert { background: var(--orange); color: #000; padding-bottom: 90px; }

.gsoc-card {
  border: 2px solid var(--orange);
  padding: 28px;
  margin-bottom: 36px;
  background: rgba(17, 17, 17, 0.95);
  display: grid;
  gap: 18px;
}
.gsoc-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.gsoc-badge {
  border: 2px solid var(--orange);
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 10px;
}
.gsoc-card h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.9;
  margin: 8px 0 0;
}
.gsoc-card p { color: var(--muted); line-height: 1.55; margin: 0; max-width: 640px; }
.gsoc-focus { margin: 0; padding-left: 18px; color: var(--muted); }
.gsoc-focus li { margin-bottom: 8px; }
.gsoc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gsoc-stats article {
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 14px;
  background: #000;
}
.gsoc-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
}
.gsoc-stats span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray);
}
.gsoc-links { display: flex; flex-wrap: wrap; gap: 12px; }
.hub-gh { padding: 0 !important; }
.hub-gh .outline-link { margin-top: 8px; }

.insights .blog-list { margin: 28px 0 32px; min-height: 280px; }

.demos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.demo-card {
  border: 2px solid var(--orange);
  padding: 22px;
  background: rgba(0, 0, 0, 0.55);
  min-height: 420px;
}
.demo-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 0.92;
  margin: 8px 0 12px;
}
.demo-card > p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
.demo-panel { border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 16px; }
.demo-toolbar {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 10px;
  margin-bottom: 12px;
}
.demo-toolbar label,
.demo-wa-form label {
  display: grid;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.demo-toolbar input,
.demo-toolbar select,
.demo-wa-form input,
.demo-wa-form textarea,
.demo-wa-form [data-wa-preview] {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--ink);
  padding: 10px 12px;
  font: 500 13px var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.demo-check {
  display: flex !important;
  align-items: end;
  gap: 8px;
  padding-bottom: 10px;
}
.demo-menu-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}
.demo-menu-list li {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr auto;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 12px;
  font-size: 13px;
}
.demo-menu-list span { color: var(--gray); }
.demo-menu-list em { font-style: normal; color: var(--orange); font-weight: 700; }
.demo-empty { grid-template-columns: 1fr !important; color: var(--gray); }
.demo-qr {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
}
.demo-qr canvas { border: 2px solid var(--orange); width: 120px; height: 120px; }
.demo-qr code {
  display: block;
  font-size: 11px;
  word-break: break-all;
  color: var(--muted);
  margin-top: 6px;
}
.demo-meta { color: var(--gray); font-size: 12px; margin: 8px 0 12px; }
.demo-wa-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.demo-wa-form .form-submit { margin: 12px 0; }
.demo-wa-form .outline-link { margin-top: 8px; }

.convert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.convert-card {
  border: 3px solid #000;
  background: #111;
  color: var(--ink);
  padding: 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.convert-card.alt {
  background: #000;
  color: #f5f3ef;
}
.convert-card .kicker { color: var(--orange); }
.convert-card h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.9;
  margin: 10px 0 14px;
}
.convert-card p { color: #cfcbc4; line-height: 1.5; margin: 0 0 18px; flex: 1; }
.convert-card .outline-link { border-color: var(--orange); margin-top: auto; }
.convert .hub-head h2,
.convert .hub-lede { color: #000; }
.convert-intro { margin-bottom: 36px; max-width: 640px; }
.convert-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.8;
  margin: 0 0 12px;
  color: #000;
}

@media (max-width: 900px) {
  .demos-grid,
  .convert-grid,
  .gsoc-stats,
  .demo-toolbar,
  .demo-qr,
  .demo-wa-form .row { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .oss-hub, .insights, .demos, .convert {
    padding-left: 25px;
    padding-right: 25px;
  }
}

/* Open Source / PR contributions UI */
.os-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #000;
  border-bottom: 3px solid var(--orange);
}
.os-stat {
  padding: 28px clamp(16px, 3vw, 36px);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.os-stat:last-child { border-right: 0; }
.os-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.9;
  color: var(--orange);
}
.os-stat span {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.os-stat em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  color: var(--gray);
}

.os-card {
  position: relative;
  border: 2px solid var(--orange);
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: 0.2s;
}
.os-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 var(--orange);
}
.os-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.os-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #000;
  background: var(--orange);
  padding: 5px 8px;
}
.os-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
  line-height: 1;
}
.os-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 0.92;
  margin: 6px 0 16px;
  overflow-wrap: anywhere;
}
.os-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 10px;
}
.os-card .outline-link { margin-top: auto; }

.os-feed-section { background: #0a0a0a; }
.os-feed-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}
.os-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.os-filter {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font: 700 10px/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 12px;
  cursor: pointer;
}
.os-filter.is-active,
.os-filter:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #000;
}

.pr-feed {
  display: grid;
  gap: 0;
  border: 2px solid var(--orange);
  margin-bottom: 28px;
  background: #000;
}
.pr-row {
  display: grid;
  grid-template-columns: 72px 1fr auto 28px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: 0.15s;
}
.pr-row:last-child { border-bottom: 0; }
.pr-row:hover { background: rgba(255, 255, 255, 0.08); }
.pr-kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 5px 7px;
  text-align: center;
}
.pr-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.pr-meta {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pr-go {
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .os-stats { grid-template-columns: 1fr 1fr; }
  .pr-row {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "kind go"
      "title title"
      "meta meta";
  }
  .pr-kind { grid-area: kind; }
  .pr-title { grid-area: title; }
  .pr-meta { grid-area: meta; white-space: normal; }
  .pr-go { grid-area: go; justify-self: end; }
}
@media (max-width: 600px) {
  .os-stats { grid-template-columns: 1fr; }
}

/* =========================================================
   Journey story — How I Got Into GSoC
   ========================================================= */
.journey-page { background: #000; }
.journey-page .header.scrolled { background: #000; }

.journey-hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 48px) var(--pad) 72px;
  border-bottom: 3px solid var(--orange);
  overflow: clip;
}
.journey-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.92) 72%, #000 100%),
    url("assets/optimized/poster-wall.jpg") center / cover;
  opacity: 0.55;
  pointer-events: none;
}
.journey-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js-motion .journey-hero-inner:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}
.journey-hero-inner.is-in {
  opacity: 1;
  transform: none;
}
.journey-crumb a { text-decoration: none; border-bottom: 1px solid currentColor; }
.journey-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
}
.journey-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 140px);
  line-height: 0.82;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
}
.journey-hero h1 span { color: var(--orange); }
.journey-sub {
  max-width: 42rem;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 28px;
  font-weight: 500;
}
.journey-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 36px;
}
.journey-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
}
.journey-scroll span {
  width: 14px;
  height: 22px;
  border: 1.5px solid var(--orange);
  position: relative;
}
.journey-scroll span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2px;
  height: 6px;
  background: var(--orange);
  transform: translateX(-50%);
  animation: journeyScrollDot 1.4s ease-in-out infinite;
}
@keyframes journeyScrollDot {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

.journey-timeline {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}
.journey-timeline-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}
.journey-timeline-progress {
  height: 100%;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}
.journey-timeline-list {
  list-style: none;
  margin: 0;
  padding: 10px var(--pad);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.journey-timeline-item {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--ink);
  text-align: left;
  padding: 10px 12px;
  min-width: 148px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  transition: 0.2s;
}
.journey-timeline-item strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--orange);
}
.journey-timeline-item span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.journey-timeline-item em {
  font-style: normal;
  font-size: 11px;
  color: var(--gray);
  line-height: 1.35;
}
.journey-timeline-item.is-active,
.journey-timeline-item:hover {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

.journey-chapters {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) 40px;
}
.journey-chapter {
  padding: 88px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js-motion .journey-chapter:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}
.journey-chapter.is-in {
  opacity: 1;
  transform: none;
}
.journey-chapter-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 22px;
  align-items: start;
  margin-bottom: 28px;
}
.journey-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 84px);
  line-height: 0.8;
  color: var(--orange);
}
.journey-chapter-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.92;
  margin: 6px 0 0;
  max-width: 18ch;
  text-wrap: balance;
}
.journey-chapter-body {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.journey-chapter-body--wide { max-width: 70ch; }
.journey-chapter-body p { margin: 0 0 16px; }
.journey-chapter-body strong { color: var(--ink); }
.journey-quiet {
  color: var(--gray) !important;
  font-size: 14px !important;
  margin-top: 8px !important;
}
.journey-callout {
  margin-top: 28px;
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 6px;
}
.journey-callout strong {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.journey-callout span { color: var(--ink); font-weight: 600; }

.journey-chapter--price { background: #0a0a0a; margin: 0 -clamp(20px, 5vw, 48px); padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
.journey-price-stage {
  border: 3px solid var(--orange);
  padding: clamp(28px, 5vw, 48px);
  margin: 0 0 28px;
  background: #000;
  text-align: center;
}
.journey-price-figure {
  font-family: var(--font-display);
  font-size: clamp(72px, 18vw, 180px);
  line-height: 0.85;
  margin: 0;
  color: var(--orange);
}
.journey-price-label {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  margin: 12px 0 6px;
  line-height: 1;
}
.journey-price-sub {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
}

.journey-reject {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-bottom: 28px;
  align-items: start;
}
.journey-reject-stat {
  border: 2px solid var(--orange);
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}
.journey-reject-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  color: var(--orange);
}
.journey-reject-stat span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.journey-reject-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.journey-reject-list li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray);
}
.journey-reject-list li.is-pass {
  border-color: var(--orange);
  color: #000;
  background: var(--orange);
}

.journey-internship {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}
.journey-internship-card {
  border: 2px solid var(--orange);
  padding: 28px;
  background: #111;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.journey-internship-card h3 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.88;
  margin: 0;
}
.journey-role {
  margin: 0;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}
.journey-internship-card > p { color: var(--muted); line-height: 1.55; margin: 0; }
.journey-tag-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.journey-tag-row li {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 6px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.journey-internship-visual {
  border: 2px solid var(--orange);
  overflow: hidden;
  min-height: 280px;
  background: #111;
}
.journey-internship-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.1);
}

.journey-chapter--dream {
  background: var(--orange);
  color: #000;
  margin: 0 -clamp(20px, 5vw, 48px);
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}
.journey-chapter--dream .journey-num,
.journey-chapter--dream .kicker { color: #000; }
.journey-chapter--dream .journey-chapter-body { color: #1a1a1a; }
.journey-script-line { margin: 24px 0 !important; }
.journey-script-line .script { color: #000; transform: rotate(-4deg); }

.journey-path {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1;
}
.journey-path .is-hot { color: var(--orange); }

.journey-pr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 20px;
}
.journey-pr {
  border: 2px solid var(--orange);
  padding: 18px;
  text-decoration: none;
  background: #0a0a0a;
  display: grid;
  gap: 8px;
  transition: 0.2s;
}
.journey-pr:hover {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 var(--orange);
}
.journey-pr strong {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 0.95;
}
.journey-pr > span:last-child { color: var(--muted); font-size: 13px; line-height: 1.45; }
.journey-chapter-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.journey-chapter--select {
  text-align: left;
  background: #090909;
  margin: 0 -clamp(20px, 5vw, 48px);
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}
.journey-select-stack { max-width: 50rem; }
.journey-select-line {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--gray);
}
.journey-select-line.is-bridge { color: var(--ink); }
.journey-select-line.is-win { color: var(--orange); }
.journey-gsoc-mark {
  margin-top: 28px;
  display: inline-block;
  border: 3px solid var(--orange);
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1;
}
.journey-gsoc-mark span { color: var(--orange); }

.journey-mentors {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.journey-mentor {
  border: 2px solid var(--orange);
  min-height: 110px;
  display: grid;
  place-items: center;
  background: #111;
  padding: 18px;
}
.journey-mentor span {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 0.95;
  text-align: center;
}

.journey-review-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.journey-review-stats article {
  border: 2px solid var(--orange);
  padding: 24px;
  background: #111;
}
.journey-review-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 96px);
  line-height: 0.9;
  color: var(--orange);
}
.journey-review-stats span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  max-width: 24ch;
}
.journey-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.journey-flow .is-hot {
  color: #000;
  background: var(--orange);
  padding: 6px 10px;
}
.journey-gh-live { margin-top: 20px; }
.journey-gh-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.journey-gh-stats article {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px;
  background: #000;
}
.journey-gh-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
}
.journey-gh-stats span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray);
}
.journey-gh-live .gh-chart {
  width: 100%;
  max-width: 720px;
  margin: 12px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.journey-lessons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.journey-lesson {
  border: 2px solid rgba(255, 255, 255, 0.55);
  padding: 22px;
  background: #0a0a0a;
  min-height: 160px;
}
.journey-lesson h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 0.95;
  margin: 0 0 12px;
}
.journey-lesson p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }

.journey-cta {
  padding: 100px var(--pad) 80px;
  border-top: 3px solid var(--orange);
  background: #000;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js-motion .journey-cta:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.journey-cta.is-in {
  opacity: 1;
  transform: none;
}
.journey-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto 36px;
}
.journey-cta-grid article {
  border: 3px solid var(--orange);
  padding: 28px;
  background: #111;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.journey-cta-grid article.alt {
  background: var(--orange);
  color: #000;
  border-color: #000;
}
.journey-cta-grid article.alt .kicker,
.journey-cta-grid article.alt .arrow-link { color: #000; }
.journey-cta-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.9;
  margin: 0;
}
.journey-cta-grid p { color: inherit; opacity: 0.85; line-height: 1.5; margin: 0; flex: 1; }
.journey-cta-links,
.journey-related {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.journey-cta-links a,
.journey-related a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.journey-related { margin-top: 28px; flex-direction: column; gap: 10px; }
.journey-related .kicker { margin: 0; }

/* Journey extended storytelling components */
.journey-chapter-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  color: #c2410c;
  font-weight: 600;
}
.journey-terminal {
  background: #171717;
  border: 2px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  margin: 24px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  color: #f3f4f6;
}
.journey-terminal-bar {
  background: #262626;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #404040;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}
.journey-terminal-bar span.dots {
  display: inline-flex;
  gap: 6px;
}
.journey-terminal-bar span.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4b5563;
  display: inline-block;
}
.journey-terminal-body {
  padding: 18px 20px;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #f9fafb;
}
.journey-terminal-body .t-prompt { color: #fb923c; font-weight: bold; user-select: none; }
.journey-terminal-body .t-comment { color: #9ca3af; font-style: italic; }
.journey-terminal-body .t-highlight { color: #34d399; font-weight: 600; }
.journey-terminal-body .t-warn { color: #fbbf24; }

.journey-workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.journey-workflow-card {
  border: 2px solid #171717;
  background: #fffdf8;
  box-shadow: 4px 4px 0 #171717;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #171717;
}
.journey-workflow-card.is-featured {
  border-color: #171717;
  background: #ffecb3;
  box-shadow: 6px 6px 0 #171717;
}
.journey-workflow-card h4 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #171717;
  margin: 0;
  line-height: 1.1;
}
.journey-workflow-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #374151;
  margin: 0;
}
.journey-workflow-card .step-badge {
  font-family: var(--font-display);
  font-size: 13px;
  color: #ea580c;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.journey-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.journey-comparison-col {
  border: 2px solid #171717;
  padding: 22px;
  background: #fffdf8;
  box-shadow: 4px 4px 0 #171717;
  color: #171717;
}
.journey-comparison-col.good { border-top: 6px solid #10b981; }
.journey-comparison-col.bad { border-top: 6px solid #ef4444; }
.journey-comparison-col h4 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.1;
}
.journey-comparison-col.good h4 { color: #047857; }
.journey-comparison-col.bad h4 { color: #b91c1c; }
.journey-comparison-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #1f2937;
}
.journey-comparison-col ul li {
  position: relative;
  padding-left: 24px;
}
.journey-comparison-col ul li::before {
  position: absolute;
  left: 0;
  top: 0;
}
.journey-comparison-col.good ul li::before { content: "✓"; color: #059669; font-weight: 800; font-size: 16px; }
.journey-comparison-col.bad ul li::before { content: "✕"; color: #dc2626; font-weight: 800; font-size: 16px; }

.journey-quote-block {
  border: 2px solid #171717;
  border-left: 6px solid #ea580c;
  background: #fffdf8;
  box-shadow: 4px 4px 0 #171717;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 17px;
  line-height: 1.6;
  color: #111827;
  font-style: italic;
}
.journey-quote-block cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ea580c;
  margin-top: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .journey-reject,
  .journey-internship,
  .journey-pr-grid,
  .journey-review-stats,
  .journey-lessons,
  .journey-cta-grid,
  .journey-gh-stats,
  .journey-workflow-grid,
  .journey-comparison-grid,
  .journey-mentors { grid-template-columns: 1fr; }
  .journey-mentors { grid-template-columns: 1fr 1fr; }
  .journey-chapter-head h2 { max-width: none; }
  .journey-hero { min-height: auto; padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .journey-mentors { grid-template-columns: 1fr; }
  .journey-timeline-item { min-width: 132px; }
  .journey-num { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-scroll span::after { animation: none; }
  .journey-chapter,
  .journey-hero-inner,
  .journey-cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Brutalist system + small-screen layout */
html { scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body.nav-open { overflow: hidden; }

.project-card,
.service-card,
.blog-card,
.demo-card,
.os-card,
.philosophy-grid article,
.stack-grid article,
.gh-stats article,
.gh-repo,
.gsoc-card,
.curr-item,
.contact-form {
  border-width: 3px;
  box-shadow: 6px 6px 0 #000;
}
.service-card,
.blog-card,
.demo-card,
.os-card,
.philosophy-grid article,
.stack-grid article,
.gh-stats article,
.gh-repo,
.gsoc-card,
.contact-form {
  box-shadow: 6px 6px 0 var(--orange);
}
.project-card { box-shadow: 6px 6px 0 var(--orange); }
.project-card.featured { box-shadow: 6px 6px 0 #000; }
.curr-item {
  border: 3px solid var(--orange);
  padding: 16px;
  background: #000;
  box-shadow: 6px 6px 0 var(--orange);
}
.project-card:hover,
.gh-repo:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--orange);
}
.project-card.featured:hover { box-shadow: 10px 10px 0 #000; }
.outline-link {
  border-width: 3px;
  box-shadow: 4px 4px 0 #000;
}
.outline-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}
.convert-card { border-width: 3px; box-shadow: 6px 6px 0 #000; }
.about-image { border-right: 4px solid #000; }
.about-image img { filter: grayscale(1) contrast(1.2); }
.page-hero,
.project-header,
.footer,
.trust,
.about { border-bottom-width: 4px; }

.arrow-link,
.header-contact,
.form-submit,
.nav-toggle {
  min-height: 44px;
}
.header-contact,
.form-submit { display: inline-flex; align-items: center; justify-content: center; }
.arrow-link { display: inline-flex; align-items: center; }
.contact-form input,
.contact-form select,
.contact-form textarea,
.demo-toolbar input,
.demo-toolbar select,
.demo-wa-form input,
.demo-wa-form textarea,
.demo-wa-form [data-wa-preview] {
  font-size: 16px;
}
h1, h2, h3 { overflow-wrap: break-word; }

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-stage { grid-template-columns: 1fr; }
  .hero-script { white-space: normal; width: auto; }
  .hero-figure { min-height: 0; height: min(240px, 48vw); }
  .about-copy { padding: 40px 20px 56px; }
  .about-image { border-right: 0; border-bottom: 4px solid var(--orange); }
}

@media (max-width: 800px) {
  :root { --header-h: 68px; }
  .header {
    justify-content: flex-start;
    gap: 10px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .header-actions { margin-left: auto; }
  .header nav.open {
    position: fixed;
    z-index: 35;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
    background: #0a0a0a;
    border-bottom: 0;
    overflow: auto;
  }
  .header nav.open a,
  .header:not(.scrolled) nav.open a,
  .header.scrolled nav.open a {
    color: #f4efe6;
    font-family: var(--font-display);
    font-size: clamp(40px, 13vw, 68px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.92;
    text-transform: uppercase;
    padding: 12px 0;
    border-bottom: 3px solid var(--orange);
  }
  .header nav.open a::after { display: none; }
  .header nav.open a[aria-current="page"],
  .header:not(.scrolled) nav.open a[aria-current="page"] { color: var(--orange); }
  body.nav-open .header {
    background: #0a0a0a;
    border-bottom: 3px solid var(--orange);
  }
  body.nav-open .brand,
  body.nav-open .nav-toggle,
  body.nav-open .header:not(.scrolled) .brand,
  body.nav-open .header:not(.scrolled) .nav-toggle { color: #f4efe6; }
  body.nav-open .brand span,
  body.nav-open .header:not(.scrolled) .brand span { color: var(--orange); }
  body.nav-open .header-contact,
  body.nav-open .header:not(.scrolled) .header-contact {
    background: var(--orange);
    color: #000;
    border-color: transparent;
  }
  .trust,
  .gh-stats,
  .gsoc-stats,
  .os-stats { grid-template-columns: 1fr 1fr; }
  .page-hero,
  .project-header {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 36px;
  }
  .page-hero h1,
  .project-header h1,
  .footer h2,
  .hub-head h2,
  .about h2,
  .work h2,
  .skills h2,
  .currently h2,
  .services-preview h2,
  .convert-intro h2,
  .journey-hero h1 {
    font-size: clamp(52px, 15vw, 88px);
  }
  .work,
  .skills,
  .currently,
  .services-preview,
  .page-section,
  .oss-hub,
  .insights,
  .demos,
  .convert,
  .footer,
  .contact-layout,
  .gh-panel {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .matrix { margin-top: 36px; }
  .project-grid { margin-top: 28px; }
  .currently-heading { margin-bottom: 28px; }
  .demo-card,
  .project-card,
  .blog-card { min-height: 0; }
  .path-timeline { padding-left: 22px; }
  .path-item::before { left: -28px; }
  .footer-bottom { gap: 10px; }
}

@media (max-width: 600px) {
  .demo-menu-list li { grid-template-columns: 1fr auto; }
  .demo-menu-list span { display: none; }
  .cta-row { gap: 12px 18px; }
  .services-grid,
  .blog-list,
  .project-grid { gap: 16px; }
  .trust-item,
  .os-stat { padding: 18px 14px; }
}

/* Cream display type — the light poster face of the site */
.hero h1,
.page-hero h1,
.project-header h1,
.about h2,
.work h2,
.skills h2,
.currently h2,
.services-preview h2,
.footer h2,
.hub-head h2,
.convert .hub-head h2,
.convert-intro h2,
.section-title,
.github-teaser h2,
.journey-hero h1,
.article h1,
.project-card h3,
.project-card.featured h3,
.service-card h3,
.demo-card h3,
.blog-card h3,
.blog-featured h2,
.matrix h3,
.os-card h3,
.convert-card h3,
.philosophy-grid h3,
.stack-grid h3,
.gsoc-card h3,
.path-details h3,
.service-detail h2 {
  color: var(--cream);
}
.trust-item strong,
.os-stat strong,
.gh-stats strong,
.gsoc-stats strong,
.path-year,
.hero-no {
  color: var(--cream);
}
.page-hero .lede,
.project-lede,
.footer-positioning,
.footer-kicker,
.hero-intro,
.hero-meta,
.hero-stamp,
.hero-bar .kicker,
.hero-socials a {
  color: #141414;
}
.footer h2,
.page-hero h1,
.project-header h1,
.hero h1 {
  text-shadow: none;
}

/* Neo-brutal paper system — cream field, black type, color blocks */
:root {
  --orange: #171717;
  --paper: #f3eee4;
  --ink: #171717;
  --muted: #2a2a2a;
  --gray: #3a3a3a;
  --pink: #ff8fab;
  --teal: #7ee0d0;
  --yellow: #ffe14a;
  --lilac: #c9b6ff;
}

body {
  background: var(--paper);
  color: #171717;
}
.noise { opacity: 0.035; }

.header,
.header.scrolled,
body.nav-open .header {
  background: var(--paper);
  color: #171717;
  border-bottom: 3px solid #171717;
}
.brand,
.header:not(.scrolled) .brand,
.header:not(.scrolled) .brand span,
.brand span,
.header:not(.scrolled) nav a,
.header.scrolled nav a,
.header:not(.scrolled) .music-btn,
.header.scrolled .music-btn,
.header:not(.scrolled) .nav-toggle,
body.nav-open .brand,
body.nav-open .nav-toggle,
body.nav-open .header:not(.scrolled) .brand,
body.nav-open .header:not(.scrolled) .nav-toggle,
body.nav-open .brand span,
body.nav-open .header:not(.scrolled) .brand span {
  color: #171717;
}
nav a[aria-current="page"] { color: #171717; }
nav a::after,
.header:not(.scrolled) nav a::after,
.music-btn::after { background: #171717; }
.header-contact,
.header:not(.scrolled) .header-contact,
.header.scrolled .header-contact,
body.nav-open .header-contact,
body.nav-open .header:not(.scrolled) .header-contact {
  background: var(--yellow);
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
}
.header-contact:hover,
.header:not(.scrolled) .header-contact:hover,
.header.scrolled .header-contact:hover {
  background: #171717;
  color: var(--paper);
  border-color: #171717;
}

.hero,
.page-hero,
.project-header,
.about,
.events,
.work,
.oss-hub,
.insights,
.demos,
.services-preview,
.skills,
.currently,
.page-section,
.project-body,
.project-nav,
.gh-panel,
.contact-layout,
.article,
.journey-page,
.journey-hero,
.footer,
.convert,
.color-band {
  background: var(--paper);
  color: #171717;
  border-bottom-color: #171717;
}
.work-bg,
.facade,
.skills:after,
.about-image:after,
.journey-hero-bg { display: none; }
.hero { border-bottom: 4px solid #171717; overflow: visible; height: auto; }
.convert-card.alt { background: var(--pink); }
.hero h1,
.page-hero h1,
.project-header h1,
.about h2,
.events h2,
.work h2,
.skills h2,
.currently h2,
.services-preview h2,
.footer h2,
.hub-head h2,
.convert .hub-head h2,
.convert-intro h2,
.section-title,
.github-teaser h2,
.journey-hero h1,
.article h1,
.project-card h3,
.project-card.featured h3,
.service-card h3,
.demo-card h3,
.blog-card h3,
.blog-featured h2,
.matrix h3,
.os-card h3,
.convert-card h3,
.philosophy-grid h3,
.stack-grid h3,
.gsoc-card h3,
.path-details h3,
.service-detail h2,
.trust-item strong,
.os-stat strong,
.gh-stats strong,
.gsoc-stats strong,
.path-year,
.hero-no {
  color: #171717 !important;
}
.hero-script {
  color: #171717 !important;
  margin: 6px 0 18px !important;
  white-space: normal;
  width: auto;
  max-width: 12ch;
}
.script,
.about-copy > .script,
.work-heading > .script,
.skills-head > .script { color: #171717; }
.vertical,
.kicker,
.tech-sub,
.page-hero .lede,
.project-lede,
.hero-intro,
.hero-meta,
.hero-stamp,
.hero-bar .kicker,
.hero-socials a,
.footer,
.footer h2,
.footer-positioning,
.footer-kicker,
.footer-links a,
.footer-bottom,
.footer-bottom a { color: #171717; }
.hero-socials a { border-bottom-color: #171717; color: #171717; }
.bio { border-left-color: #171717; }
.service-card b,
.matrix b,
.curr-item b,
.gsoc-badge,
.card-top { color: #171717; }
.arrow-link { color: #171717; border-bottom: 2px solid #171717; }
.arrow-link:hover { color: #000; border-bottom: 3px solid #171717; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.hero-cta-row .outline-link {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  padding: 13px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: 48px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hero-cta-row .outline-link:hover {
  background: #171717;
  color: var(--paper);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #171717;
}

.resume-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: #171717;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  min-height: 48px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.resume-download-btn:hover {
  background: #fffdf8;
  color: #000;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #171717;
}
.resume-download-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #171717;
}
.resume-download-btn b {
  font-size: 16px;
  line-height: 1;
}

.hero-board { display: grid; gap: 14px; align-content: end; min-width: 0; }
.poster-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.poster-card {
  border: 3px solid #171717;
  background: #fffdf8;
  color: #171717;
  box-shadow: 6px 6px 0 #171717;
  padding: 16px;
  min-width: 0;
}
.poster-pink { background: var(--pink); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.poster-teal { background: var(--teal); }
.poster-yellow { background: var(--yellow); }
.poster-card svg { width: 100%; height: auto; stroke: #171717; fill: none; stroke-width: 2.4; }
.poster-card p,
.poster-card span { margin: 10px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #171717; }
.poster-card b { display: block; font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 0.9; color: #171717; }
.poster-pink b { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.12em; color: #171717; }

.about-image.geo-panel {
  background: var(--teal);
  min-height: 520px;
  display: grid;
  place-items: center;
  border-right: 4px solid #171717;
  border-bottom: 0;
}
.about-image.geo-panel svg { width: min(78%, 460px); height: auto; stroke: #171717; fill: none; stroke-width: 2.5; }
.about-image span { color: #171717; }

.trust,
.os-stats {
  background: var(--paper);
  border-bottom: 4px solid #171717;
}
.trust-item,
.os-stat {
  border-right: 3px solid #171717;
  background: #fffdf8;
}
.trust-item span,
.os-stat span,
.os-stat em,
.gh-stats span,
.gsoc-stats span { color: #171717; }
.trust-item:nth-child(1),
.os-stat:nth-child(1) { background: var(--pink); }
.trust-item:nth-child(2),
.os-stat:nth-child(2) { background: var(--yellow); }
.trust-item:nth-child(3),
.os-stat:nth-child(3) { background: var(--teal); }
.trust-item:nth-child(4),
.os-stat:nth-child(4) { background: var(--lilac); }

.project-card,
.service-card,
.blog-card,
.demo-card,
.os-card,
.philosophy-grid article,
.stack-grid article,
.gh-stats article,
.gh-repo,
.gsoc-card,
.curr-item,
.contact-form,
.convert-card,
.matrix article,
.blog-featured,
.process-grid article,
.article-cta {
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 6px 6px 0 #171717;
}
.project-card.featured { box-shadow: 6px 6px 0 #171717; }
.project-card p,
.service-card p,
.demo-card > p,
.os-card p,
.blog-card p,
.blog-featured p,
.matrix p,
.curr-item p,
.philosophy-grid p,
.path-details p,
.gsoc-card p,
.gsoc-focus,
.hub-lede,
.bio p,
.convert-card p,
.article-body,
.article .subtitle,
.contact-aside p,
.project-section p,
.project-section li,
.service-columns p,
.service-columns li,
.process-grid p,
.gh-repo span,
.gh-repo em { color: #2a2a2a; }
.project-card:hover,
.gh-repo:hover,
.project-card.featured:hover {
  box-shadow: 10px 10px 0 #171717;
}
.matrix {
  border-color: #171717;
}
.matrix article { border-color: #171717; }
.outline-link,
.footer .outline-link {
  border: 3px solid #171717;
  color: #171717;
  background: var(--yellow);
  box-shadow: 4px 4px 0 #171717;
}
.outline-link:hover,
.footer .outline-link:hover {
  background: #171717;
  color: var(--paper);
  border-color: #171717;
  box-shadow: 6px 6px 0 #171717;
}
.convert,
.color-band { background: var(--yellow); }
.convert .hub-lede,
.convert-intro h2,
.convert .hub-head h2 { color: #171717; }
.tags span,
.gsoc-badge,
.demo-menu-list li { border-color: #171717; color: #171717; }
.demo-menu-list em,
.service-card a,
.contact-aside a,
.article-body a,
.path-org { color: #171717; }
.contact-form input,
.contact-form select,
.contact-form textarea,
.demo-toolbar input,
.demo-toolbar select,
.demo-wa-form input,
.demo-wa-form textarea,
.demo-wa-form [data-wa-preview] {
  background: #fff;
  color: #171717;
  border: 2px solid #171717;
}
.form-submit {
  background: #171717;
  color: var(--paper);
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 var(--pink);
}
.footer { border-top: 4px solid #171717; }
.footer-bottom { border-top-color: #171717; }
.path-timeline { border-left-color: #171717; }
.path-item::before { background: #171717; }
.gh-heatmap,
.gh-chart { background: #fffdf8; border-color: #171717; }
.gh-heatmap i { background: #e7e0d4; }
.gh-heatmap i[data-level="1"] { background: #f3c1d0; }
.gh-heatmap i[data-level="2"] { background: #ff8fab; }
.gh-heatmap i[data-level="3"] { background: #171717; }
.gh-heatmap i[data-level="4"] { background: #171717; }

@media (max-width: 980px) {
  .about-image.geo-panel { border-right: 0; border-bottom: 4px solid #171717; min-height: 320px; }
}
@media (max-width: 800px) {
  .hero-board { order: 2; }
  .poster-pink { min-height: 180px; }
  .header nav.open {
    background: var(--paper);
  }
  .header nav.open a,
  .header:not(.scrolled) nav.open a,
  .header.scrolled nav.open a {
    color: #171717;
    border-bottom: 3px solid #171717;
  }
.header nav.open a[aria-current="page"],
.header:not(.scrolled) nav.open a[aria-current="page"] { color: #171717; background: var(--yellow); }
}

/* Fix leftover dark chips and tighten the open-source block */
.gsoc-stats {
  gap: 14px;
}
.gsoc-stats article {
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 5px 5px 0 #171717;
  padding: 16px 18px;
  min-height: 0;
}
.gsoc-stats article:nth-child(3n + 1) { background: var(--pink); }
.gsoc-stats article:nth-child(3n + 2) { background: var(--yellow); }
.gsoc-stats article:nth-child(3n + 3) { background: var(--teal); }
.gsoc-stats strong {
  color: #171717 !important;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.9;
}
.gsoc-stats span { color: #171717 !important; }
.gsoc-badge,
.convert-card .kicker,
.demo-card .kicker,
.service-card b,
.os-card .kicker {
  color: #171717;
  border-color: #171717;
}
.gsoc-badge { background: var(--yellow); }
.gsoc-focus { color: #171717; }
.gsoc-card p,
.gsoc-focus li { color: #242424; }
/* GITHUB INTERACTIVE CONTRIBUTION CALENDAR & INSPECTOR */
.gh-graph-card {
  background: #fffdf8;
  border: 3px solid #171717;
  box-shadow: 6px 6px 0 #171717;
  padding: 22px 24px;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gh-graph-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 2px solid #171717;
  padding-bottom: 12px;
}

.gh-graph-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gh-graph-title {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.03em;
  color: #171717;
  margin: 0;
}

.gh-graph-sub {
  font-size: 12px;
  font-weight: 700;
  color: #555;
}

.gh-graph-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gh-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid #171717;
  display: inline-block;
}

.gh-graph-scroll {
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}

.gh-graph-canvas {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 860px;
  user-select: none;
}

.gh-months-row {
  display: flex;
  margin-left: 30px;
  font-size: 10px;
  font-weight: 800;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  height: 16px;
}

.gh-month-tag {
  position: absolute;
  top: 0;
}

.gh-grid-body {
  display: flex;
  gap: 6px;
  align-items: stretch;
}

.gh-days-col {
  display: grid;
  grid-template-rows: repeat(7, 13px);
  gap: 3px;
  font-size: 9px;
  font-weight: 800;
  color: #777;
  text-transform: uppercase;
  line-height: 13px;
  width: 24px;
  text-align: right;
  padding-right: 4px;
}

.gh-tiles-grid {
  display: grid;
  grid-template-rows: repeat(7, 13px);
  grid-auto-flow: column;
  grid-auto-columns: 13px;
  gap: 3px;
}

.gh-day {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0;
  margin: 0;
  width: 13px;
  height: 13px;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.12s ease, outline 0.12s ease, box-shadow 0.12s ease;
  position: relative;
  outline: none;
}

.gh-day[data-level="0"] { background: #eae3d2; }
.gh-day[data-level="1"] { background: #f6c9d6; }
.gh-day[data-level="2"] { background: #ff8fab; }
.gh-day[data-level="3"] { background: #e64980; }
.gh-day[data-level="4"] { background: #171717; }

.gh-day:hover,
.gh-day:focus-visible,
.gh-day.is-selected {
  transform: scale(1.6);
  outline: 2px solid #171717;
  z-index: 10;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.gh-inspector {
  background: #faf6ee;
  border: 2px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.gh-inspector-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--yellow);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  padding: 4px 10px;
}

.gh-inspector-text {
  flex: 1;
  min-width: 240px;
}

.gh-inspector-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  color: #171717;
  margin: 0 0 3px;
  line-height: 1.15;
}

.gh-inspector-desc {
  font-size: 13px;
  color: #444;
  margin: 0;
  line-height: 1.4;
}

.gh-inspector-btn {
  background: var(--yellow);
  color: #171717 !important;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.gh-inspector-btn:hover {
  background: #171717;
  color: #fffdf8 !important;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #171717;
}
.article-body code {
  background: #fff;
  color: #171717;
  border: 1px solid #171717;
}
.gh-stats { gap: 14px; }
.gh-stats article {
  box-shadow: 5px 5px 0 #171717;
}
.gh-stats article:nth-child(1) { background: var(--pink); }
.gh-stats article:nth-child(2) { background: var(--yellow); }
.gh-stats article:nth-child(3) { background: var(--teal); }
.gh-stats article:nth-child(4) { background: var(--lilac); }

@media (min-width: 980px) {
  .gsoc-card {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.7fr);
    column-gap: 28px;
    align-items: start;
  }
  .gsoc-card-top,
  .gsoc-card > p,
  .gsoc-focus { grid-column: 1; }
  .gsoc-stats {
    grid-column: 2;
    grid-row: 1 / span 3;
    grid-template-columns: 1fr;
    align-self: stretch;
  }
  .gsoc-links { grid-column: 1 / -1; }
}

.os-feed-section,
.journey-page,
.journey-cta,
.journey-chapter--price,
.journey-chapter--select,
.journey-chapter--dream {
  background: var(--paper);
  color: #171717;
}
.pr-feed,
.journey-internship-card,
.journey-pr,
.journey-mentor,
.journey-review-stats article,
.journey-gh-stats article,
.journey-lesson,
.journey-price-stage {
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 5px 5px 0 #171717;
}
.pr-row {
  color: #171717;
  border-bottom: 2px solid #171717;
}
.pr-row:hover { background: var(--yellow); }
.pr-kind {
  color: #171717;
  border: 2px solid #171717;
  background: var(--pink);
}
.pr-title,
.pr-meta,
.os-filter,
.journey-role,
.journey-price-figure,
.journey-price-sub,
.journey-price-label,
.journey-select-line,
.journey-select-line.is-win,
.journey-select-line.is-bridge,
.journey-gsoc-mark,
.journey-gsoc-mark span,
.journey-review-stats strong,
.journey-review-stats span,
.journey-gh-stats strong,
.journey-gh-stats span,
.journey-reject-stat strong,
.journey-callout strong,
.journey-path .is-hot {
  color: #171717;
}
.os-filter {
  background: #fffdf8;
  border: 2px solid #171717;
}
.os-filter.is-active,
.os-filter:hover {
  background: var(--yellow);
  color: #171717;
  border-color: #171717;
}
.journey-mentor:nth-child(1),
.journey-review-stats article:nth-child(1),
.journey-gh-stats article:nth-child(1) { background: var(--pink); }
.journey-mentor:nth-child(2),
.journey-review-stats article:nth-child(2),
.journey-gh-stats article:nth-child(2) { background: var(--yellow); }
.journey-mentor:nth-child(3),
.journey-review-stats article:nth-child(3),
.journey-gh-stats article:nth-child(3) { background: var(--teal); }
.journey-gh-stats article:nth-child(4) { background: var(--lilac); }
.journey-price-stage { background: var(--yellow); }
.journey-reject-stat { background: var(--pink); border: 3px solid #171717; }
.journey-callout {
  background: #fffdf8;
  border-left: 4px solid #171717;
}
.journey-reject-list li.is-pass {
  background: var(--teal);
  color: #171717;
  border-color: #171717;
}

.journey-page .header,
.journey-page .header.scrolled,
.journey-page .header:not(.scrolled) {
  background: var(--paper);
  color: #171717;
}
.journey-timeline {
  background: var(--paper);
  border-bottom: 3px solid #171717;
}
.journey-timeline-track { background: #ddd4c4; }
.journey-timeline-progress { background: #171717; }
.journey-timeline-item {
  background: #fffdf8;
  color: #171717;
  border: 2px solid #171717;
}
.journey-timeline-item strong,
.journey-timeline-item span,
.journey-timeline-item em,
.journey-num {
  color: #171717;
}
.journey-timeline-item.is-active,
.journey-timeline-item:hover {
  background: var(--yellow);
  border-color: #171717;
  color: #171717;
}
.journey-cta-grid article {
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 6px 6px 0 #171717;
}
.journey-cta-grid article.alt {
  background: var(--pink);
  color: #171717;
  border-color: #171717;
}
.journey-cta-grid h2,
.journey-cta-grid p,
.journey-cta-grid article.alt .kicker,
.journey-cta-grid article.alt .arrow-link {
  color: #171717;
}

@media (max-width: 700px) {
  .gh-stats { grid-template-columns: 1fr 1fr; }
  .gsoc-stats { grid-template-columns: 1fr; }
}

/* GSoC final work product */
.article.report {
  width: min(1080px, 100%);
  max-width: 1080px;
}
.report-brands {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 0.9fr;
  border: 3px solid #171717;
  box-shadow: 8px 8px 0 #171717;
  margin: 8px 0 28px;
  background: #171717;
}
.report-brand {
  min-height: 168px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border-right: 3px solid #171717;
  color: #171717;
}
.report-brand:last-child { border-right: 0; }
.report-brand img { display: block; }
.report-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.report-brand span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.report-brand--gsoc { background: #ffe14a; }
.report-brand--gsoc img { width: 72px; height: 72px; }
.report-brand--foss {
  background: #000;
  padding: 0;
  justify-content: flex-end;
}
.report-brand--foss img {
  width: 100%;
  height: 128px;
  object-fit: contain;
  background: #000;
}
.report-brand--foss span {
  color: #f3eee4;
  padding: 0 16px 14px;
}
.report-brand--event { background: #ff8fab; }
.report-brand--event img {
  width: 72px;
  height: 72px;
  filter: brightness(0);
}
.report-url {
  display: grid;
  gap: 6px;
  margin: 0 0 36px;
  padding: 16px 18px;
  background: #ffe14a;
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 6px 6px 0 #171717;
  max-width: 68ch;
}
.report-url span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.report-url a {
  color: #171717;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.article.report .article-body { max-width: none; }
.article.report .article-body p,
.article.report .article-body li { max-width: 68ch; }
.article.report .article-body h2 { color: #171717; }
.report-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 8px 0 12px;
  max-width: none;
}
.report-stats article {
  background: #fffdf8;
  border: 3px solid #171717;
  box-shadow: 5px 5px 0 #171717;
  padding: 14px;
  min-width: 0;
}
.report-stats article:nth-child(1) { background: #ffe14a; }
.report-stats article:nth-child(2) { background: #7ee0d0; }
.report-stats article:nth-child(3) { background: #c9b6ff; }
.report-stats article:nth-child(4) { background: #ff8fab; }
.report-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 0.95;
  color: #171717;
}
.report-stats span {
  display: block;
  margin-top: 8px;
  color: #171717;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}
.report-work {
  list-style: none;
  padding: 0;
  margin: 8px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: none;
}
.report-work li {
  margin: 0;
  max-width: none;
  background: #fffdf8;
  border: 3px solid #171717;
  box-shadow: 5px 5px 0 #171717;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.report-work h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 400;
  line-height: 0.95;
  color: #171717;
}
.report-work p { margin: 0; max-width: none; }
.report-work a {
  margin-top: auto;
  font-weight: 700;
  color: #171717;
}
.report-note {
  background: #c9b6ff;
  border: 3px solid #171717;
  box-shadow: 6px 6px 0 #171717;
  padding: 18px 18px 8px;
  margin: 8px 0 20px;
  max-width: 68ch;
}
.report-note p { color: #171717; }
.report-links {
  list-style: none;
  padding: 0;
  margin: 8px 0 20px;
  display: grid;
  gap: 10px;
  max-width: 68ch;
}
.report-links li {
  margin: 0;
  max-width: none;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: #fffdf8;
  border: 3px solid #171717;
}
.report-links a { font-weight: 700; color: #171717; }
.report-links span {
  color: #3a3a3a;
  font-size: 13px;
}
.article.report .article-body ol { padding-left: 22px; }
.article.report .article-cta p { color: #171717; max-width: 52ch; }
.article.report .article-cta .outline-link { margin: 8px 10px 0 0; }

.report-id {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}
.report-id div {
  background: #fffdf8;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  padding: 12px 14px;
  min-width: 0;
}
.report-id dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a3a3a;
}
.report-id dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1;
  color: #171717;
}
.report-id a { color: #171717; text-decoration: underline; text-underline-offset: 3px; }
.report-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 8px 0 22px;
  max-width: none;
}
.report-pillars article {
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  padding: 14px 12px 16px;
  min-width: 0;
  background: #fffdf8;
}
.report-pillars article:nth-child(1) { background: #ffe14a; }
.report-pillars article:nth-child(2) { background: #ff8fab; }
.report-pillars article:nth-child(3) { background: #7ee0d0; }
.report-pillars article:nth-child(4) { background: #c9b6ff; }
.report-pillars article:nth-child(5) { background: #fffdf8; }
.report-pillars span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.report-pillars h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 0.92;
  color: #171717;
}
.report-pillars p {
  margin: 0;
  max-width: none;
  color: #171717;
  font-size: 14px;
  line-height: 1.4;
}
.report-schedule {
  list-style: none;
  padding: 0;
  margin: 8px 0 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: none;
}
.report-schedule li {
  margin: 0;
  max-width: none;
  border: 3px solid #171717;
  background: #fffdf8;
  box-shadow: 5px 5px 0 #171717;
  padding: 14px;
  display: grid;
  gap: 6px;
}
.report-schedule .is-done { background: #7ee0d0; }
.report-schedule .is-next { background: #ffe14a; }
.report-schedule span,
.report-schedule em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.report-schedule strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 0.95;
}
.report-schedule p { margin: 0; max-width: none; color: #171717; font-size: 14px; }
.report-stack {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: none;
}
.report-stack li {
  margin: 0;
  max-width: none;
  border: 2px solid #171717;
  background: #fffdf8;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.report-feed-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 8px 0 14px;
  max-width: none;
}
.article.report .pr-feed { max-width: none; margin-bottom: 28px; }
.article.report .pr-row { max-width: none; }
.article.report .os-filter { color: #171717; }
.report-group { margin: 0 0 22px; max-width: none; }
.report-group h3 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 0.95;
  color: #171717;
}
.pr-list { display: grid; gap: 8px; }
.pr-list a {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  background: #fffdf8;
  border: 3px solid #171717;
  color: #171717;
  text-decoration: none;
  box-shadow: 3px 3px 0 #171717;
}
.pr-list a:hover { background: #ffe14a; box-shadow: 6px 6px 0 #171717; }
.pr-list b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.pr-list span { font-size: 15px; line-height: 1.35; }

@media (max-width: 980px) {
  .report-pillars,
  .report-schedule,
  .report-id { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .report-brands,
  .report-stats,
  .report-work,
  .report-pillars,
  .report-schedule,
  .report-id { grid-template-columns: 1fr; }
  .report-brand { border-right: 0; border-bottom: 3px solid #171717; }
  .report-brand:last-child { border-bottom: 0; }
  .pr-list a { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================
   CONFERENCES & EVENTS SECTION (NEO-BRUTAL PAPER AESTHETIC)
   ========================================================== */

.events {
  padding: 100px var(--pad);
  background: var(--paper);
  border-bottom: 4px solid #171717;
}

.events-heading {
  margin-bottom: 48px;
}

.events-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 140px);
  line-height: 0.85;
  margin: 0;
  color: #171717 !important;
}

/* COMPACT EVENT CARD */
.event-compact-card {
  border: 3px solid #171717;
  background: #fffdf8;
  color: #171717;
  box-shadow: 6px 6px 0 #171717;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}
.event-compact-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 #171717;
}

.event-card-header {
  padding: 14px 20px;
  background: var(--yellow);
  border-bottom: 3px solid #171717;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.event-badge {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #171717;
}
.event-location {
  font-size: 11px;
  color: #171717;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-compact-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
}
@media (max-width: 960px) {
  .event-compact-grid {
    grid-template-columns: 1fr;
  }
}
.event-compact-media {
  display: flex;
  flex-direction: column;
  border-right: 3px solid #171717;
  background: #eae5d9;
}
@media (max-width: 960px) {
  .event-compact-media {
    border-right: 0;
    border-bottom: 3px solid #171717;
  }
}
.compact-main-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 3px solid #171717;
  background: #eae5d9;
}
.compact-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.event-compact-card:hover .compact-main-img img {
  transform: scale(1.03);
}
.media-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #171717;
  border: 2px solid #171717;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
}

.compact-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fffdf8;
}
.compact-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-right: 2px solid #171717;
}
.compact-thumb:last-child {
  border-right: 0;
}
.compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.compact-more-badge {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.85);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-compact-content {
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  background: #fffdf8;
}
.event-compact-content .event-role {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 8px;
}
.event-compact-content .event-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  color: #171717 !important;
  margin: 0 0 12px;
}
.event-compact-content .event-description {
  font-size: 14.5px;
  line-height: 1.6;
  color: #2a2a2a;
  margin: 0 0 20px;
}
.event-session-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.session-pill {
  border: 2px solid #171717;
  background: #fffdf8;
  padding: 10px 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .session-pill {
    flex-direction: column;
    gap: 4px;
  }
}
.session-pill-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--yellow);
  border: 1px solid #171717;
  padding: 3px 8px;
  white-space: nowrap;
}
.session-pill:nth-child(2) .session-pill-tag {
  background: var(--teal);
}
.session-pill span {
  font-weight: 700;
  color: #171717;
}
.event-compact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}

/* EVENT MODAL (NEO-BRUTAL DIALOG) */
.event-modal {
  padding: 0;
  border: 4px solid #171717;
  background: var(--paper);
  color: #171717;
  box-shadow: 12px 12px 0 #171717;
  width: min(94vw, 980px);
  max-height: 88vh;
  margin: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.event-modal:not([open]) {
  display: none;
}
.event-modal::backdrop {
  background: rgba(23, 23, 23, 0.7);
  backdrop-filter: blur(4px);
}
.event-modal-header {
  padding: 18px 24px;
  background: var(--yellow);
  border-bottom: 3px solid #171717;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.event-modal-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  margin: 0;
  letter-spacing: 0.03em;
  color: #171717;
  line-height: 1;
}
.event-modal-close {
  background: #171717;
  color: var(--paper);
  border: 2px solid #171717;
  width: 38px;
  height: 38px;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s, background 0.15s;
  flex-shrink: 0;
}
.event-modal-close:hover {
  background: var(--pink);
  color: #171717;
  transform: scale(1.05);
}
.event-modal-body {
  padding: 28px 28px 40px;
  overflow-y: auto;
  flex: 1;
}
.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.modal-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border: 2px solid #171717;
  background: #fffdf8;
  color: #171717;
}
.modal-lead {
  font-size: 15px;
  line-height: 1.65;
  color: #2a2a2a;
  margin: 0 0 28px;
}
.modal-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 28px 0 16px;
  padding-bottom: 6px;
  border-bottom: 3px solid #171717;
  color: #171717;
}
.modal-sessions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .modal-sessions-grid {
    grid-template-columns: 1fr;
  }
}
.modal-session-card {
  border: 3px solid #171717;
  background: #fffdf8;
  padding: 20px;
  box-shadow: 4px 4px 0 #171717;
  display: flex;
  flex-direction: column;
}
.modal-session-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 8px 0 10px;
  color: #171717;
}
.modal-session-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #333;
  margin: 0 0 16px;
  flex: 1;
}
.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
@media (max-width: 768px) {
  .modal-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .modal-gallery-grid {
    grid-template-columns: 1fr;
  }
}
.modal-gallery-item {
  margin: 0;
  border: 2px solid #171717;
  background: #fffdf8;
  overflow: hidden;
  box-shadow: 3px 3px 0 #171717;
  transition: transform 0.2s, box-shadow 0.2s;
}
.modal-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 #171717;
}
.modal-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.modal-gallery-item figcaption {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #171717;
  border-top: 2px solid #171717;
  background: #fffdf8;
  line-height: 1.35;
}

/* ==========================================================
   EVENTS PAGE DEDICATED STYLES (TABS, TALKS, GALLERY, LIGHTBOX)
   ========================================================== */

.events-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.event-tab-btn {
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.event-tab-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #171717;
}

.event-tab-btn.is-active {
  background: var(--yellow);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #171717;
}

/* SINGLE-LINE SECTION TITLES */
.page-hero h1 {
  white-space: nowrap;
  font-size: clamp(38px, 5.8vw, 84px);
  line-height: 1.02;
}

.page-section h2.section-title {
  white-space: nowrap;
  font-size: clamp(30px, 4.2vw, 62px);
  margin-bottom: 12px;
  line-height: 1.05;
}

@media (max-width: 820px) {
  .page-hero h1,
  .page-section h2.section-title {
    white-space: normal;
  }
}

/* EVENTYAY-STYLE SQUARE / RECTANGULAR CARDS (COMPACT 4-COLUMN GRID) */
.ey-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}

@media (max-width: 1200px) {
  .ey-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 650px) {
  .ey-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.ey-card {
  background: #fffdf8;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
  cursor: pointer;
  position: relative;
}

.ey-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #171717;
}

.ey-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eae5d9;
  border-bottom: 3px solid #171717;
  overflow: hidden;
}

.ey-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.ey-card:hover .ey-media img {
  transform: scale(1.02);
}

.ey-badge-strip {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 3;
}

.ey-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
}

.ey-badge-yellow { background: var(--yellow); color: #171717; }
.ey-badge-teal { background: var(--teal); color: #171717; }
.ey-badge-pink { background: var(--pink); color: #171717; }
.ey-badge-dark { background: #171717 !important; color: #fffdf8 !important; }

.ey-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 4;
}

.ey-card:hover .ey-play-overlay,
.ey-play-overlay:focus-visible {
  opacity: 1;
}

.ey-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e62117;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.ey-play-icon svg {
  fill: #fff;
  margin-left: 3px;
}

.ey-play-overlay:hover .ey-play-icon {
  transform: scale(1.1);
  background: #ff0000;
}

.ey-play-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #171717;
  border: 2px solid #fff;
  color: #fff;
  padding: 4px 12px;
}

.ey-body {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.ey-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  margin-bottom: 6px;
}

.ey-meta svg {
  vertical-align: -2px;
  margin-right: 2px;
}

.ey-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171717;
  margin-bottom: 4px;
}

.ey-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.15;
  margin: 0;
  color: #171717 !important;
  letter-spacing: 0.02em;
}

.ey-title a {
  color: inherit;
  text-decoration: none;
}

.ey-title a:hover {
  text-decoration: underline;
}

.ey-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: #333;
  margin-bottom: 12px;
  flex-grow: 1;
}

.ey-takeaways {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding: 10px 12px;
  background: #f7f3ea;
  border-left: 3px solid #171717;
  font-size: 12px;
  line-height: 1.4;
  color: #2a2a2a;
}

.takeaway-item strong {
  color: #171717;
}

.ey-footer {
  padding: 12px 18px;
  border-top: 2px solid #171717;
  background: #faf6ee;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.ey-btn-youtube {
  background: #e62117;
  color: #ffffff !important;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ey-btn-youtube:hover {
  background: #cc181e;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}

.ey-btn-primary {
  background: var(--yellow);
  color: #171717 !important;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ey-btn-primary:hover {
  background: #171717;
  color: #fffdf8 !important;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}

.ey-btn-secondary {
  background: #fffdf8;
  color: #171717 !important;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ey-btn-secondary:hover {
  background: #171717;
  color: #fffdf8 !important;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}

/* EVENT GALLERY GRID */
.event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .event-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .event-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  margin: 0;
  border: 3px solid #171717;
  background: #fffdf8;
  box-shadow: 5px 5px 0 #171717;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #171717;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #171717;
  border-top: 3px solid #171717;
  background: #fffdf8;
  line-height: 1.4;
}

/* LIGHTBOX MODAL WITH ARROWS & EVENT NAME */
.lightbox-modal {
  padding: 0;
  border: 4px solid #171717;
  background: #fffdf8;
  color: #171717;
  box-shadow: 12px 12px 0 #171717;
  width: min(94vw, 1080px);
  max-height: 94vh;
  margin: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-modal:not([open]) {
  display: none;
}

.lightbox-modal::backdrop {
  background: rgba(23, 23, 23, 0.88);
  backdrop-filter: blur(5px);
}

.lightbox-header {
  padding: 12px 20px;
  background: var(--yellow);
  color: #171717;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #171717;
  gap: 12px;
}

.lightbox-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lightbox-event-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171717;
}

.lightbox-counter {
  font-size: 11px;
  font-weight: 700;
  color: #555;
}

.lightbox-close {
  background: #fffdf8;
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.lightbox-close:hover {
  background: #e62117;
  color: #fff;
  transform: translate(-1px, -1px);
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
  min-height: 360px;
  max-height: 68vh;
  overflow: hidden;
  padding: 10px;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 66vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  display: block;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  width: 48px;
  height: 48px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.lightbox-nav-btn:hover {
  background: var(--yellow);
  transform: translateY(-50%) translate(-2px, -2px);
  box-shadow: 6px 6px 0 #171717;
}

.lightbox-nav-btn:active {
  transform: translateY(-50%) translate(1px, 1px);
  box-shadow: 2px 2px 0 #171717;
}

.lightbox-nav-btn.prev {
  left: 14px;
}

.lightbox-nav-btn.next {
  right: 14px;
}

.lightbox-caption-bar {
  padding: 14px 20px;
  background: #fffdf8;
  border-top: 3px solid #171717;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lightbox-caption-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #171717;
  line-height: 1.4;
  margin: 0;
}

/* DOSSIER MODALS (EVENT & TALKS DETAILED DIALOGS) */
.event-modal-dossier {
  border: 4px solid #171717;
  background: #fffdf8;
  color: #171717;
  box-shadow: 12px 12px 0 #171717;
  width: min(94vw, 1040px);
  max-height: 90vh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-modal-dossier:not([open]) {
  display: none;
}

.event-modal-dossier::backdrop {
  background: rgba(23, 23, 23, 0.85);
  backdrop-filter: blur(5px);
}

.dossier-header {
  padding: 18px 24px;
  background: var(--yellow);
  border-bottom: 3px solid #171717;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.dossier-header-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.1;
  margin: 0;
  color: #171717;
}

.dossier-header-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171717;
  margin-top: 3px;
}

.dossier-close {
  background: #fffdf8;
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.dossier-close:hover {
  background: #e62117;
  color: #fff;
  transform: translate(-1px, -1px);
}

.dossier-body {
  padding: 26px 28px 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.dossier-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dossier-lead {
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  margin: 0;
}

.dossier-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #171717;
  border-bottom: 2px solid #171717;
  padding-bottom: 6px;
  margin: 0 0 16px;
}

.dossier-sessions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 760px) {
  .dossier-sessions-grid {
    grid-template-columns: 1fr;
  }
}

.dossier-session-box {
  background: #faf6ee;
  border: 2px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dossier-session-box h4 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  margin: 0;
  color: #171717;
}

.dossier-session-box p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.dossier-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.dossier-thumb-item {
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: #eae5d9;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dossier-thumb-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #171717;
}

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

/* ==========================================================================
   WORK PAGE HERO & EVIDENCE BOARD
   ========================================================================== */
.work-page-hero {
  padding-bottom: 48px;
}

.work-hero-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 10px;
}

.work-hero-copy {
  display: flex;
  flex-direction: column;
}

.work-hero-copy h1 {
  font-size: clamp(44px, 5.8vw, 88px);
  line-height: 0.96;
  margin: 6px 0 16px;
  color: #171717;
}

.work-hero-copy .lede {
  max-width: 580px;
  font-size: 15px;
  line-height: 1.55;
  color: #2a2a2a;
  margin: 0 0 24px;
}

/* Filter bar */
.work-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.work-tab-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: #fffdf8;
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.work-tab-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}

.work-tab-btn.is-active {
  background: var(--yellow);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}

/* Right-side hero board */
.work-hero-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
}

.work-summary-poster {
  border: 3px solid #171717;
  background: var(--teal);
  color: #171717;
  box-shadow: 6px 6px 0 #171717;
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work-poster-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-poster-title h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.1;
  margin: 0 0 6px;
  color: #171717;
}

.work-poster-title p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #222;
  margin: 0;
}

.work-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.work-metric-card {
  background: #fffdf8;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-metric-card .metric-val {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: #171717;
}

.work-metric-card .metric-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #444;
  line-height: 1.25;
}

.work-poster-subrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.work-hint-card {
  background: #fffdf8;
  border: 2px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.work-hint-card .hint-icon {
  font-size: 18px;
}

.work-hint-card strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #171717;
}

.work-hint-card span {
  font-size: 12px;
  color: #444;
}

.work-mini-posters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.poster-lilac {
  background: var(--lilac);
}

@media (max-width: 980px) {
  .work-hero-stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   ABOUT PAGE HERO, BIO PROFILE & NEO-BRUTALIST CARDS
   ========================================================================== */
.ey-badge-lilac {
  background: var(--lilac);
  color: #171717;
}

.about-page-hero {
  padding-bottom: 48px;
}

.about-hero-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 10px;
}

.about-hero-copy {
  display: flex;
  flex-direction: column;
}

.about-hero-copy h1 {
  font-size: clamp(44px, 5.8vw, 88px);
  line-height: 0.96;
  margin: 6px 0 16px;
  color: #171717;
}

.about-hero-copy .lede {
  max-width: 580px;
  font-size: 15px;
  line-height: 1.55;
  color: #2a2a2a;
  margin: 0 0 24px;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.about-hero-actions .ey-btn-primary,
.about-hero-actions .ey-btn-secondary {
  height: 42px;
  padding: 0 18px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-hero-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
}

.about-summary-poster {
  border: 3px solid #171717;
  background: var(--yellow);
  color: #171717;
  box-shadow: 6px 6px 0 #171717;
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-poster-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-poster-title h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.1;
  margin: 0 0 6px;
  color: #171717;
}

.about-poster-title p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #222;
  margin: 0;
}

.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.about-metric-card {
  background: #fffdf8;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-metric-card .metric-val {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: #171717;
}

.about-metric-card .metric-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #444;
  line-height: 1.25;
}

.about-mini-posters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ==========================================================================
   ABOUT PROFILE GRID ("WHO I AM" + "AT A GLANCE")
   ========================================================================== */
.about-bio-section {
  padding-top: 36px;
}

.about-profile-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.about-bio-col {
  display: flex;
  flex-direction: column;
}

.about-bio-col .bio {
  border-left: 3px solid #171717;
  padding-left: 20px;
  max-width: 100%;
  margin-bottom: 24px;
}

.about-bio-col .bio p {
  font-size: 15px;
  line-height: 1.65;
  color: #222;
  margin: 0 0 16px;
}

.about-bio-col .bio p:last-child {
  margin-bottom: 0;
}

.about-bio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.about-bio-actions .ey-btn-primary,
.about-bio-actions .ey-btn-secondary {
  height: 42px;
  padding: 0 18px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* At a Glance Sidebar Card */
.about-glance-col {
  position: sticky;
  top: 90px;
}

.about-glance-card {
  background: #fffdf8;
  border: 3px solid #171717;
  box-shadow: 6px 6px 0 #171717;
  display: flex;
  flex-direction: column;
}

.glance-card-header {
  background: var(--lilac);
  padding: 12px 18px;
  border-bottom: 3px solid #171717;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glance-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171717;
}

.glance-status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: #171717;
  color: #fffdf8;
  padding: 3px 8px;
  border-radius: 2px;
}

.glance-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.glance-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #d6cebe;
}

.glance-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.glance-lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

.glance-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #171717;
  line-height: 1.4;
}

.glance-card-footer {
  padding: 14px 18px;
  background: #faf6ee;
  border-top: 2px solid #171717;
}

.glance-resume-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  background: var(--yellow);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.glance-resume-btn:hover {
  background: #171717;
  color: #fffdf8;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}

/* ==========================================================================
   PHILOSOPHY, EDUCATION, CERTIFICATES & STACK CARDS
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px;
  margin-top: 0;
}

.philosophy-card,
.education-card {
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717 !important;
  box-shadow: 5px 5px 0 #171717 !important;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.philosophy-card:hover,
.education-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #171717 !important;
}

.philosophy-card .card-top,
.education-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 2px solid #171717;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171717;
}

.philosophy-card .card-body,
.education-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.philosophy-card h3,
.education-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
  color: #171717;
}

.philosophy-card p,
.education-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  margin: 0;
}

.education-card .edu-note {
  font-size: 12.5px;
  color: #555;
  font-style: italic;
  margin-top: 4px;
}

/* Timeline Polish */
.path-timeline {
  border-left: 3px solid #171717 !important;
  padding-left: 32px;
  margin-top: 24px;
}

.path-item {
  position: relative;
  margin-bottom: 44px;
}

.path-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 14px;
  width: 14px;
  height: 14px;
  background: var(--yellow) !important;
  border: 3px solid #171717;
  box-shadow: 2px 2px 0 #171717;
}

.path-item .path-year {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 0.9;
  color: #171717 !important;
}

.path-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 6px;
  flex-wrap: wrap;
}

.path-date-label {
  font-size: 12px;
  font-weight: 700;
  color: #666;
}

.path-details h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.15;
  margin: 6px 0 8px;
  color: #171717;
}

.path-summary {
  font-size: 14px;
  line-height: 1.55;
  color: #2a2a2a;
  margin: 0 0 10px;
}

.path-impact-box {
  background: #fffdf8;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  padding: 10px 14px;
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #171717;
}

.path-impact-box strong {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #171717;
  margin-right: 4px;
}

/* Cert Cards */
.cert-card {
  background: #fffdf8;
  border: 2px solid #171717 !important;
  box-shadow: 4px 4px 0 #171717 !important;
  padding: 16px 18px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cert-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #171717 !important;
}

.cert-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cert-issued {
  font-size: 11px;
  font-weight: 700;
  color: #666;
}

.cert-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
  color: #171717;
}

.cert-card .path-org {
  font-size: 12px;
  color: #555;
  margin: 0;
}

/* Stack Cards */
.stack-card {
  background: #fffdf8;
  border: 2px solid #171717 !important;
  box-shadow: 4px 4px 0 #171717 !important;
  padding: 16px 18px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack-card-header {
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stack-card-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
  color: #171717;
}

.stack-count {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.stack-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stack-card .tags span {
  background: #f5f0e6;
  border: 1.5px solid #171717;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #171717;
}

/* Responsive Overrides */
@media (max-width: 980px) {
  .about-hero-stage,
  .about-profile-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-glance-col {
    position: static;
  }
  .philosophy-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .about-mini-posters,
  .about-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WORK PROJECT CARDS & DIVERSE PALETTE
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  margin-top: 0;
}

@media (max-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 650px) {
  .project-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
}

.project-card {
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717 !important;
  box-shadow: 5px 5px 0 #171717 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 380px;
  cursor: pointer;
  position: relative;
  padding: 0 !important;
}

.project-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #171717 !important;
}

.project-card .card-top {
  border-bottom: 3px solid #171717;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #171717;
}

.project-card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.05;
  margin: 0 0 10px !important;
  color: #171717 !important;
  letter-spacing: 0.01em;
}

.project-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #333;
  margin: 0 0 16px;
  flex-grow: 1;
}

.project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 16px;
  padding: 0;
}

.project-card .tags span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  background: #ffffff;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  color: #171717;
}

.project-card .card-action-row {
  margin-top: auto;
  padding-top: 6px;
}

.view-case-study-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  color: #171717;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  justify-content: center;
}

.view-case-study-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}

/* Individual card theme accents - vibrant and diverse! */
.card-theme-teal .card-top,
.card-theme-teal .view-case-study-btn { background: var(--teal); }

.card-theme-yellow .card-top,
.card-theme-yellow .view-case-study-btn { background: var(--yellow); }

.card-theme-lilac .card-top,
.card-theme-lilac .view-case-study-btn { background: var(--lilac); }

.card-theme-pink .card-top,
.card-theme-pink .view-case-study-btn { background: var(--pink); }

.card-theme-blue .card-top,
.card-theme-blue .view-case-study-btn { background: #93c5fd; }

.card-theme-amber .card-top,
.card-theme-amber .view-case-study-btn { background: #fed7aa; }

/* ==========================================================================
   PROJECT DOSSIER MODAL (SAME SCREEN DIALOG)
   ========================================================================== */
.project-modal-dossier {
  width: min(94vw, 1040px);
}

.project-modal-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  max-height: 420px;
  background: #000;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-modal-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.project-dossier-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: #faf6ee;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
}

.project-dossier-links .ey-btn-primary,
.project-dossier-links .ey-btn-secondary {
  height: 42px;
  padding: 0 18px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
  margin: 0;
}

.project-dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 780px) {
  .project-dossier-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.dossier-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dossier-block {
  background: #faf6ee;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  padding: 18px 20px;
}

.dossier-block p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #2a2a2a;
  margin: 0;
}

.dossier-list {
  padding-left: 20px;
  margin: 0;
  line-height: 1.6;
  font-size: 13.5px;
  color: #222;
}

.dossier-list li {
  margin-bottom: 6px;
}

.results-list li strong {
  color: #0f766e;
}

.dossier-lesson {
  font-style: italic;
  font-size: 14px;
  color: #171717 !important;
  border-left: 3px solid #171717;
  padding-left: 12px;
}

.dossier-tech-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  background: #fffdf8;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
}

.dossier-tech-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171717;
}

.dossier-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--yellow);
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  color: #171717;
}

/* ==========================================================================
   OPEN SOURCE PAGE: HERO DOSSIER, FULL-WIDTH GRID, 5-CARD PR FEED & PAGINATION
   ========================================================================== */
.os-page-hero {
  padding-bottom: 60px;
}

.os-hero-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 10px;
}

.os-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.os-hero-copy h1 {
  font-size: clamp(48px, 6.2vw, 96px);
  line-height: 0.94;
  margin: 6px 0 16px;
  color: #171717;
}

.os-hero-copy .lede {
  max-width: 580px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #2a2a2a;
  margin: 0;
}

/* Right-side hero dossier board */
.os-hero-dossier {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.os-dossier-card {
  background: #fffdf8;
  border: 3px solid #171717;
  box-shadow: 6px 6px 0 #171717;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.os-dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #171717;
  padding-bottom: 10px;
}

.os-dossier-tag {
  background: var(--pink);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.os-dossier-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #15803d;
  text-transform: uppercase;
}

.os-dossier-brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dossier-brand-item {
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-height: 84px;
  justify-content: center;
}

.dossier-brand--gsoc { background: var(--yellow); }
.dossier-brand--foss { background: #171717; color: #fff; }
.dossier-brand--foss img { filter: brightness(1); }
.dossier-brand--event { background: var(--teal); }
.dossier-brand--event img { filter: brightness(0); }

.dossier-brand-item strong {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.dossier-brand-item span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.os-dossier-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #faf6ee;
  border: 2px solid #171717;
  padding: 10px 12px;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.spec-k {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
}

.spec-v {
  font-weight: 600;
  color: #171717;
  line-height: 1.35;
}

.dossier-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--yellow);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dossier-link-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}

/* Featured Merges Full-Width 3-Column Grid */
.os-page .page-section .os-grid,
.os-page .os-grid {
  width: 100% !important;
  max-width: 100% !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

.os-section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.os-section-header .hub-lede {
  max-width: 520px;
  margin-bottom: 0;
}

.os-page .os-card {
  min-height: 280px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 3px solid #171717 !important;
  box-shadow: 5px 5px 0 #171717 !important;
  background: #fffdf8;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.os-page .os-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #171717 !important;
}

.os-page .os-type {
  background: var(--pink) !important;
  color: #171717 !important;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  line-height: 1;
  text-transform: uppercase;
}
.os-page .os-type--feat { background: var(--pink) !important; }
.os-page .os-type--fix { background: var(--yellow) !important; }
.os-page .os-type--docs { background: var(--teal) !important; }
.os-page .os-type--other { background: var(--lilac) !important; }

.os-page .os-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: #171717 !important;
  line-height: 1;
}

.os-page .os-card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.08;
  margin: 6px 0 12px;
  color: #171717;
}

.os-page .os-card .os-card-body-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.os-page .os-card .os-card-body-text p {
  font-size: 13px;
  line-height: 1.45;
  color: #333;
  margin: 0;
}

.os-page .os-card .outline-link {
  margin-top: auto;
  width: 100%;
  text-align: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: 11px;
}

/* Recent Merges: 5 Cards in One Line on Desktop */
.pr-feed-cards {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 20px !important;
  padding: 0 !important;
  width: 100% !important;
}

.pr-card {
  background: #fffdf8;
  color: #171717;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  min-height: 205px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  position: relative;
  min-width: 0;
}

.pr-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 #171717;
  background: #ffffff;
}

.pr-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.pr-kind-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 6px;
  border: 2px solid #171717;
  line-height: 1;
}

.pr-kind--feat { background: var(--pink); color: #171717; }
.pr-kind--fix { background: var(--yellow); color: #171717; }
.pr-kind--docs { background: var(--teal); color: #171717; }
.pr-kind--other { background: var(--lilac); color: #171717; }

.pr-card-num {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  color: #171717;
  letter-spacing: 0.02em;
}

.pr-card-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #171717;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  flex-grow: 1;
}

.pr-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
  margin-top: auto;
  border-top: 1px dashed #d6cebe;
  font-size: 11px;
}

.pr-card-repo {
  font-weight: 700;
  color: #171717;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}

.pr-card-date {
  font-size: 10.5px;
  color: #555;
}

.pr-card-action {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  background: var(--yellow);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}

.pr-card:hover .pr-card-action {
  background: #171717;
  color: #ffffff;
}

.pr-card-action .pr-arrow {
  font-size: 12px;
}

/* Pagination Controls */
.os-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0 28px;
  padding: 14px 18px;
  background: #fffdf8;
  border: 3px solid #171717;
  box-shadow: 4px 4px 0 #171717;
}

.os-page-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.os-page-number-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.os-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: #ffffff;
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.os-page-btn:hover:not(:disabled) {
  background: var(--yellow);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #171717;
}

.os-page-btn.is-active {
  background: #171717;
  color: #ffffff;
  box-shadow: none;
  cursor: default;
}

.os-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  background: #f0ede5;
}

.os-page-dots {
  padding: 0 4px;
  font-weight: 700;
  color: #777;
}

.os-page-info {
  font-size: 12px;
  font-weight: 700;
  color: #171717;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.os-feed-action-row {
  margin-top: 10px;
}

/* Responsive adjustments for Open Source page */
@media (max-width: 1279px) {
  .pr-feed-cards {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 1023px) {
  .os-page .page-section .os-grid,
  .os-page .os-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
  .pr-feed-cards {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
  .os-hero-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .pr-feed-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .os-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .os-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: center;
  }
  .os-page-controls {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .os-page .page-section .os-grid,
  .os-page .os-grid {
    grid-template-columns: 1fr !important;
  }
  .pr-feed-cards {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .os-dossier-brands {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BLOG PAGE: HERO DOSSIER, FULL-WIDTH FEATURED SPREAD & 3-COL ARTICLE GRID
   ========================================================================== */
.blog-page-hero {
  padding-bottom: 60px;
}

.blog-hero-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 10px;
}

.blog-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-hero-copy h1 {
  font-size: clamp(48px, 6.2vw, 96px);
  line-height: 0.94;
  margin: 6px 0 16px;
  color: #171717;
}

.blog-hero-copy .lede {
  max-width: 580px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #2a2a2a;
  margin: 0;
}

/* Blog Hero Board / Writing Archive Dossier */
.blog-hero-board {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-dossier-card {
  background: #fffdf8;
  border: 3px solid #171717;
  box-shadow: 6px 6px 0 #171717;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #171717;
  padding-bottom: 10px;
}

.blog-dossier-tag {
  background: var(--yellow);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.blog-dossier-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #15803d;
  text-transform: uppercase;
}

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

.blog-metric-pill {
  background: #faf6ee;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.blog-metric-pill strong {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  color: #171717;
}

.blog-metric-pill span {
  font-size: 9.5px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.blog-dossier-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #faf6ee;
  border: 2px solid #171717;
  padding: 12px 14px;
}

.blog-dossier-footer p {
  font-size: 12px;
  line-height: 1.45;
  color: #444;
  margin: 0;
}

/* Full Width Overrides for Blog Page */
.blog-page .page-section [data-blog-featured],
.blog-page .page-section .blog-list {
  width: 100% !important;
  max-width: 100% !important;
}

.blog-section-intro {
  margin-bottom: 24px;
}

/* Featured Card: Full Width Modern Magazine Spread */
.blog-page .blog-featured {
  display: grid !important;
  grid-template-columns: 1.05fr 1fr !important;
  gap: 0 !important;
  background: #fffdf8 !important;
  border: 3px solid #171717 !important;
  box-shadow: 6px 6px 0 #171717 !important;
  margin-bottom: 56px !important;
  overflow: hidden;
  text-decoration: none;
  color: #171717;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  width: 100% !important;
}

.blog-page .blog-featured:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 #171717 !important;
}

.blog-featured-media {
  position: relative;
  background: #ffe14a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 3px solid #171717;
  min-height: 340px;
  overflow: hidden;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 20px;
  background: #ffe14a;
  filter: none !important;
}

.featured-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #171717;
  color: #fff;
  border: 2px solid #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.blog-featured-body {
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: #fffdf8;
}

.blog-featured-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.featured-cat-badge {
  background: var(--pink);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.featured-time-pill {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-featured-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.02;
  margin: 0;
  color: #171717 !important;
  letter-spacing: 0.01em;
}

.featured-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: #333 !important;
  margin: 0;
}

.blog-featured-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-featured-body .tags span {
  background: #ffffff;
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 2px solid #171717;
  margin-top: auto;
}

.featured-date {
  font-size: 11px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--yellow);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

.blog-featured:hover .featured-action-btn {
  background: #171717;
  color: #fff;
}

/* Archive Header & Filters */
.blog-archive-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  padding-top: 16px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-filter {
  background: #fffdf8;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  color: #171717;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.blog-filter:hover {
  background: var(--yellow);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #171717;
}

.blog-filter.is-active {
  background: #171717;
  color: #ffffff;
  border-color: #171717;
  box-shadow: none;
  cursor: default;
}

/* 3-Column Blog Cards Grid */
.blog-page .blog-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.blog-page .blog-card {
  background: #fffdf8 !important;
  color: #171717 !important;
  border: 3px solid #171717 !important;
  box-shadow: 5px 5px 0 #171717 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  padding: 0 !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 420px;
}

.blog-page .blog-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #171717 !important;
}

.blog-card-media {
  position: relative;
  width: 100%;
  height: 190px;
  background: #171717;
  border-bottom: 3px solid #171717;
  overflow: hidden;
  display: block;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.blog-card-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--yellow);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.1;
  margin: 0 0 10px;
}

.blog-card-body h3 a {
  color: #171717 !important;
  text-decoration: none;
}

.blog-card-body h3 a:hover {
  text-decoration: underline;
}

.blog-card-body p {
  font-size: 13px;
  line-height: 1.5;
  color: #333 !important;
  margin: 0 0 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 16px;
}

.blog-card-body .tags span {
  background: #ffffff;
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 2px 2px 0 #171717;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
}

.blog-card-action {
  padding-top: 6px;
}

.blog-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--yellow);
  color: #171717;
  border: 2px solid #171717;
  box-shadow: 3px 3px 0 #171717;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.blog-card-link:hover {
  background: #171717;
  color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}

/* Responsive Overrides for Blog Page */
@media (max-width: 1100px) {
  .blog-page .blog-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .blog-hero-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .blog-page .blog-featured {
    grid-template-columns: 1fr !important;
  }
  .blog-featured-media {
    border-right: 0;
    border-bottom: 3px solid #171717;
    min-height: 240px;
  }
}

@media (max-width: 680px) {
  .blog-page .blog-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .blog-archive-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .blog-dossier-metrics {
    grid-template-columns: 1fr;
  }
}

