/* Weng Industry — Cool Style recreation (Blocksy/Elementor look, static HTML) */
:root {
  --c1: #001129; /* navy */
  --c2: #FDD746; /* yellow */
  --c3: #00d2fc; /* cyan */
  --c4: #000000;
  --c5: #E6F0EE;
  --c6: #F2F7F6;
  --c7: #FBFCFC;
  --c8: #ffffff;
  --text-muted: rgba(255,255,255,0.72);
  --text-dark: #192C27;
  --text-body: #3a4a46;
  --radius-card: 30px;
  --radius-btn: 8px;
  --header-h: 100px;
  --max: 1200px;
  --font-mono: "Roboto Mono", ui-monospace, monospace;
  --font-sans: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--c7);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.container-wide { width: min(100% - 2rem, 1320px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--c1);
  display: flex;
  align-items: center;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--c8);
}
.brand img {
  height: 56px;
  width: auto;
  display: block;
}

/* Brand logo: brief horizontal blur on click before navigating home */
.brand {
  position: relative;
}
.brand img {
  transition: filter 0.12s ease, transform 0.12s ease, opacity 0.12s ease;
}
.brand.is-blur-out img {
  animation: brand-h-blur 0.3s ease-in forwards;
}
@keyframes brand-h-blur {
  0%   { filter: blur(0); transform: translateX(0); opacity: 1; }
  100% { filter: blur(10px); transform: translateX(6px); opacity: 0.65; }
}
@media (prefers-reduced-motion: reduce) {
  .brand.is-blur-out img {
    animation: none;
    filter: none;
    opacity: 1;
    transform: none;
  }
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-primary a {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--c2);
  transition: color 0.2s;
}
.nav-primary a:hover,
.nav-primary a.active { color: var(--c3); }
.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nav-socials a {
  color: var(--c3);
  font-size: 1.15rem;
  transition: color 0.2s, transform 0.2s;
}
.nav-socials a:hover { color: var(--c2); transform: translateY(-2px); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--c5);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Desktop: panel is a flex row so brand | links+socials layout stays Soft Style */
.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex: 1;
  min-width: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--c1);
  color: var(--c8);
  overflow: hidden;
  padding: calc(var(--header-h) * 0.35) 0 4rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(0,210,252,0.12), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(253,215,70,0.08), transparent 50%),
    linear-gradient(180deg, rgba(0,17,41,0.55), rgba(0,17,41,0.92));
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/waves-background.svg");
  background-size: cover;
  background-position: center bottom;
  opacity: 0.35;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-kicker {
  font-family: var(--font-mono);
  color: var(--c3);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  display: inline-block;
  position: relative;
}
.hero h1 .accent::after {
  content: "";
  display: block;
  height: 10px;
  width: 100%;
  margin-top: 0.15rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 8 Q50 0 100 7 T198 5' fill='none' stroke='%23FDD746' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 1rem 0 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-depth-link {
  margin: 1.05rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hero-depth-link a {
  color: rgba(0, 210, 252, 0.9);
  border-bottom: 1px solid rgba(0, 210, 252, 0.4);
  padding-bottom: 0.08rem;
}
.hero-depth-link a:hover {
  color: var(--c2);
  border-bottom-color: var(--c2);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary {
  background: var(--c2);
  color: var(--c1);
  border-color: var(--c2);
}
.btn-primary:hover { background: var(--c3); border-color: var(--c3); color: var(--c1); }
.btn-ghost {
  background: transparent;
  color: var(--c8);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--c2); color: var(--c2); }
.btn-dark {
  background: var(--c1);
  color: var(--c8);
  border-color: var(--c1);
}
.btn-dark:hover { background: var(--c2); color: var(--c1); border-color: var(--c2); }

.hero-portrait {
  display: flex;
  justify-content: center;
}
.portrait-ring {
  width: min(360px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c2);
  padding: 0.65rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  position: relative;
}
.portrait-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--c1);
}
.portrait-badge {
  position: absolute;
  bottom: 1.2rem;
  right: -0.5rem;
  background: var(--c1);
  color: var(--c2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 2px solid var(--c3);
  white-space: nowrap;
}

/* Sections common */
.section { padding: 5.5rem 0; }
.section-dark { background: var(--c1); color: var(--c8); }
.section-soft { background: var(--c6); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head .eyebrow {
  font-family: var(--font-mono);
  color: var(--c3);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-dark .section-head .eyebrow { color: var(--c2); }
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.section-head p {
  margin: 0;
  color: var(--text-body);
  font-size: 1.05rem;
}
.section-dark .section-head p { color: var(--text-muted); }

/* About / services icons */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.icon-card {
  background: var(--c8);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 18px -6px rgba(34,56,101,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px -8px rgba(34,56,101,0.12);
}
.icon-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
}
.icon-card h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}
.icon-card p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.project-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #0a1a2e;
  color: var(--c8);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  isolation: isolate;
  transition: transform 0.25s;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  /* --shot urls resolve relative to THIS stylesheet (assets/css/), not the HTML page.
     Use url('../img/projects/foo.png') from any page. */
  background-image: var(--shot);
  background-size: cover;
  background-position: top center;
  z-index: -2;
  transition: transform 0.4s ease;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,17,41,0.15) 10%, rgba(0,17,41,0.92) 70%);
  z-index: -1;
}
.project-card:hover { transform: translateY(-6px); }
.project-card:hover::before { transform: scale(1.06); }
.project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.project-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(0,210,252,0.18);
  color: var(--c3);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.project-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}
.project-card p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.project-card .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.project-card .links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c2);
}
.project-card .links a:hover { color: var(--c3); }
.project-card.featured { min-height: 480px; }
.project-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* Logos strip */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0.85;
}
.logo-strip img {
  height: 36px;
  width: auto;
  filter: grayscale(1) brightness(0.35);
}
.section-dark .logo-strip img { filter: brightness(0) invert(1) opacity(0.7); }

/* Video / YouTube */
.video-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}
.video-cover {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-cover .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.video-cover .play span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c2);
  display: grid;
  place-items: center;
  color: var(--c1);
  font-size: 1.4rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: transform 0.2s, background 0.2s;
}
.video-cover:hover .play span {
  transform: scale(1.08);
  background: var(--c3);
}
.video-copy h3 {
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}
.video-copy p { color: var(--text-body); margin: 0 0 1.25rem; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.testimonial-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,17,41,0.12);
}
.testimonial-quote {
  background: var(--c8);
  border-radius: var(--radius-card);
  padding: 2rem;
  border-left: 5px solid var(--c2);
}
.testimonial-quote blockquote {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.testimonial-quote cite {
  font-family: var(--font-mono);
  font-style: normal;
  color: var(--c3);
  font-size: 0.9rem;
}

/* About page layout */
.about-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.about-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--c2);
  padding: 0.75rem;
}
.about-photo img {
  border-radius: calc(var(--radius-card) - 6px);
  width: 100%;
  object-fit: cover;
}
.about-copy h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1rem;
}
.about-copy p { color: var(--text-body); margin: 0 0 1rem; }
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}
.skill-chips span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--c1);
  color: var(--c2);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
.contact-card {
  background: var(--c8);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(34,56,101,0.08);
}
.contact-card h3 { margin-top: 0; }
.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--text-body);
}
.contact-list a { color: var(--c1); font-weight: 500; }
.contact-list a:hover { color: #087a8f; }
.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid #c9d4d1;
  background: transparent;
  padding: 0.7rem 0.1rem;
  margin-bottom: 1.1rem;
  font: inherit;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: var(--c1); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--text-body); margin-top: 0.75rem; }

/* CTA band */
.cta-band {
  background: var(--c1);
  color: var(--c8);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/waves-background.svg") center/cover no-repeat;
  opacity: 0.25;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 0.75rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-band p { color: var(--text-muted); margin: 0 0 1.5rem; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--c1);
  color: var(--c8);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/waves-background.svg") center bottom/cover no-repeat;
  opacity: 0.28;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}
.page-hero p { margin: 0; color: var(--text-muted); max-width: 40rem; }

/* Footer */
.site-footer {
  background: var(--c1);
  color: var(--c5);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}
.site-footer nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--c5);
}
.site-footer nav a:hover { color: var(--c2); }
.site-footer .copy {
  font-size: 0.9rem;
  color: rgba(230,240,238,0.7);
}
.site-footer .socials {
  display: flex;
  gap: 1rem;
}
.site-footer .socials a { color: var(--c3); font-size: 1.15rem; }
.site-footer .socials a:hover { color: var(--c2); }

/* Mobile menu — full-width Soft Style panel with slide + bottom padding for socials */
@media (max-width: 960px) {
  .video-block,
  .testimonial-grid,
  .about-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; position: relative; z-index: 2; }

  .nav-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex: none;
    width: 100%;
    background: rgba(18, 21, 25, 0.98);
    padding: 1.75rem 1.5rem 4.25rem; /* ~68px below socials so icons stay inside panel */
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.32s ease,
      visibility 0s linear 0.4s;
    z-index: 900;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-header.is-open .nav-panel {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.32s ease,
      visibility 0s;
  }

  .nav-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    width: 100%;
  }
  .nav-socials {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero { min-height: auto; padding: 3rem 0 4rem; }
  .portrait-ring { width: min(280px, 70vw); }
}

@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .nav-panel {
    transition: none;
    transform: none;
  }
  .site-header:not(.is-open) .nav-panel {
    opacity: 0;
    visibility: hidden;
  }
  .site-header.is-open .nav-panel {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 767px) {
  /* Classic home: stack + portrait above kicker (matches scroll intro) */
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-portrait {
    order: -1;
  }
}
@media (max-width: 600px) {
  .icon-grid { grid-template-columns: 1fr; }
  .brand img { height: 42px; }
}


/* Dual-path: Build (yellow) / Advise (cyan ghost) */
.btn-advise {
  border-color: rgba(0, 210, 252, 0.55);
  color: var(--c3);
}
.btn-advise:hover {
  border-color: var(--c3);
  color: var(--c2);
  background: rgba(0, 210, 252, 0.08);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--c1);
  border-color: rgba(0, 17, 41, 0.35);
}
.btn-ghost-dark:hover {
  border-color: var(--c3);
  color: #087a8f;
}

/* Path cards on Home */
.path-cards {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.path-card {
  background: var(--c8);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 28px -8px rgba(34, 56, 101, 0.1);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.path-card.path-build {
  border-color: rgba(253, 215, 70, 0.65);
  background: linear-gradient(165deg, #fffef8 0%, var(--c8) 55%);
}
.path-card.path-advise {
  border-color: rgba(0, 210, 252, 0.35);
}
.path-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  color: var(--c3);
}
.path-card.path-build .path-label { color: #b8920a; }
.path-card h3 {
  font-size: 1.55rem;
  margin: 0 0 0.75rem;
}
.path-card > p {
  color: var(--text-body);
  margin: 0 0 1rem;
  flex: 0 0 auto;
}
.path-bullets {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.path-bullets li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--text-body);
  font-size: 0.95rem;
}
.path-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--c2);
}
.path-card.path-advise .path-bullets li::before { background: var(--c3); }
.path-more {
  text-align: center;
  margin: 2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.path-more a { color: var(--c1); }
.path-more a:hover { color: #087a8f; }

.portrait-badge {
  white-space: normal;
  max-width: 11.5rem;
  text-align: center;
  line-height: 1.25;
  right: -0.25rem;
  bottom: 0.85rem;
}

.testimonial-quotes .testimonial-quote { margin: 0; }

/* Work tabs */
.work-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}
.work-tab {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid rgba(0, 17, 41, 0.15);
  background: var(--c8);
  color: var(--text-dark);
  cursor: pointer;
  transition: 0.2s ease;
}
.work-tab:hover { border-color: var(--c3); color: #087a8f; }
.work-tab-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.work-tab-link:hover { border-color: var(--c2); color: #b89620; }
.work-tab.is-active {
  background: var(--c1);
  color: var(--c2);
  border-color: var(--c1);
}
.work-tab[data-tab="advise"].is-active {
  color: var(--c3);
}
.tab-panel[hidden] { display: none !important; }
.advise-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--text-body);
}
.advise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.advise-card {
  background: var(--c8);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 12px 18px -6px rgba(34, 56, 101, 0.06);
  border-left: 4px solid var(--c3);
}
.advise-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.advise-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(0, 210, 252, 0.14);
  color: #087a8f;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.advise-card h3 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}
.advise-card p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
}

/* Services bands */
.band-head {
  max-width: 720px;
  margin: 0 0 2.5rem;
}
.band-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.band-build .eyebrow { color: #b8920a; }
.band-advise .eyebrow { color: var(--c3); }
.band-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.65rem;
}
.band-head p { margin: 0; color: var(--text-body); }
.band-cta { margin-top: 2rem; }
.services-grid-advise { grid-template-columns: repeat(2, 1fr); }
.about-advise-closer {
  background: rgba(0, 210, 252, 0.08);
  border-left: 4px solid var(--c3);
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
}

/* Contact path chooser */
.path-chooser {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}
.path-chooser legend {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
}
.path-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border: 2px solid #c9d4d1;
  border-radius: 12px;
  margin-bottom: 0.55rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.path-option:hover { border-color: var(--c3); }
.path-option:has(input:checked) {
  border-color: var(--c2);
  background: rgba(253, 215, 70, 0.12);
}
.path-option:has(input[value="advise"]:checked) {
  border-color: var(--c3);
  background: rgba(0, 210, 252, 0.1);
}
.path-option input {
  margin-top: 0.25rem;
  accent-color: var(--c1);
  width: auto;
  border: 0;
  padding: 0;
}
.path-option strong { font-size: 0.95rem; }
.path-option small { color: var(--text-body); font-size: 0.82rem; }

@media (max-width: 960px) {
  .path-cards,
  .advise-grid,
  .services-grid-advise {
    grid-template-columns: 1fr;
  }
}


/* Passion projects (Home + Work tab) */
.passion-grid .passion-card {
  border: 2px solid rgba(253, 215, 70, 0.35);
}
.passion-grid .passion-card::after {
  background: linear-gradient(180deg, rgba(0,17,41,0.15) 0%, rgba(0,17,41,0.82) 70%);
}
.work-tab[data-tab="passion"].is-active {
  color: var(--c2);
}
.passion-intro {
  max-width: 720px;
}
.passion-note-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}
.passion-note-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c2) !important;
}
.passion-note-links a:hover {
  color: var(--c3) !important;
}

/* Inline content links (certs, notes) on light bands.
   Exclude .btn so About hero-actions (LinkedIn etc.) keep Cool Style pill contrast:
   yellow + navy default; cyan bg + navy text on hover — not cyan-on-cyan. */
.band-head a,
.path-card > p a,
.advise-intro a,
.about-advise-closer a,
.about-copy a:not(.btn) {
  color: #087a8f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.band-head a:hover,
.path-card > p a:hover,
.advise-intro a:hover,
.about-advise-closer a:hover,
.about-copy a:not(.btn):hover {
  color: var(--c3);
}

/* Work Build: tag filter sidebar + mobile chips */
.work-build-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}
.tag-filter {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--c8);
  border-radius: 20px;
  padding: 1.15rem 1rem 1.25rem;
  box-shadow: 0 12px 18px -6px rgba(34, 56, 101, 0.06);
  border: 1px solid rgba(0, 17, 41, 0.08);
}
.tag-filter-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(0, 17, 41, 0.15);
  background: var(--c8);
  color: var(--text-dark);
  cursor: pointer;
}
.tag-filter-toggle-label { flex: 1; text-align: left; }
.tag-filter-count {
  font-size: 0.75rem;
  background: var(--c1);
  color: var(--c2);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.tag-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.tag-filter-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
}
.tag-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.tag-filter-all,
.tag-filter-clear {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 17, 41, 0.15);
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: 0.15s ease;
}
.tag-filter-all:hover,
.tag-filter-clear:hover:not(:disabled) { border-color: var(--c3); color: #087a8f; }
.tag-filter-all.is-active {
  background: var(--c1);
  border-color: var(--c1);
  color: var(--c2);
}
.tag-filter-clear.is-active {
  border-color: var(--c3);
  color: #087a8f;
  background: rgba(0, 210, 252, 0.12);
}
.tag-filter-clear:disabled {
  opacity: 0.45;
  cursor: default;
}
.tag-filter-hint {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  color: var(--text-body);
  opacity: 0.85;
}
.tag-filter-chips {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding-right: 0.15rem;
}
.tag-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: left;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 210, 252, 0.35);
  background: rgba(0, 210, 252, 0.08);
  color: #087a8f;
  cursor: pointer;
  transition: 0.15s ease;
}
.tag-chip:hover {
  border-color: var(--c3);
  background: rgba(0, 210, 252, 0.16);
}
.tag-chip.is-active {
  background: var(--c1);
  border-color: var(--c1);
  color: var(--c3);
}
.tag-chip[data-tag="AI generation"].is-active,
.tag-chip[data-tag="AI API"].is-active {
  color: var(--c2);
}
.tag-filter-empty {
  text-align: center;
  color: var(--text-body);
  margin: 0 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.project-card.is-filtered-out {
  display: none !important;
}

@media (max-width: 960px) {
  .work-build-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .tag-filter {
    position: static;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
  }
  .tag-filter-toggle {
    display: inline-flex;
    margin-bottom: 0.65rem;
  }
  .tag-filter.is-open .tag-filter-toggle {
    border-color: var(--c3);
    color: #087a8f;
  }
  .tag-filter-panel {
    display: none;
    background: var(--c8);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 12px 18px -6px rgba(34, 56, 101, 0.06);
    border: 1px solid rgba(0, 17, 41, 0.08);
  }
  .tag-filter.is-open .tag-filter-panel {
    display: block;
  }
  .tag-filter-chips {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    overflow: visible;
  }
}

/* Footer: credentials stays quieter than Home / Work / Services */
.site-footer nav a.footer-credentials {
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: rgba(230, 240, 238, 0.48);
}
.site-footer nav a.footer-credentials:hover { color: var(--c2); }
.site-footer nav a.footer-credentials[aria-current="page"] { color: rgba(0, 210, 252, 0.75); }

/* About: quiet pointer into the credentials archive */
.about-credentials-cue {
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.quiet-details {
  margin: 1.75rem auto 0;
  max-width: 40rem;
  color: var(--text-body);
  font-size: 0.92rem;
}
.quiet-details summary {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #087a8f;
  cursor: pointer;
  text-align: center;
}
.quiet-details summary:hover { color: var(--c1); }
.quiet-details p { margin: 0.85rem 0 0; }
.quiet-details a {
  color: #087a8f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Credentials archive — secondary, not a hire surface */
.cred-kicker {
  font-family: var(--font-mono);
  color: var(--c3);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}
.cred-page .page-hero { padding: 3.25rem 0 2.5rem; }
.cred-page .page-hero a {
  color: var(--c3);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cred-page .page-hero a:hover { color: var(--c2); }
.cred-page .section { padding: 3rem 0 4.5rem; }
.cred-page [id] { scroll-margin-top: calc(var(--header-h) + 0.75rem); }
.cred-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  color: var(--text-body);
}
.cred-group { margin: 0 0 2.5rem; }
.cred-group h2,
.cred-block h2 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 1rem;
}
.cred-group h2 img {
  width: 22px;
  height: 22px;
}
.cred-group h2 i,
.cred-block h2 i { color: var(--c3); }
.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.cred-card {
  margin: 0;
  background: var(--c8);
  border-radius: 20px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: 0 12px 18px -6px rgba(34, 56, 101, 0.06);
  border-top: 3px solid var(--c2);
}
.cred-card h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}
.cred-enlarge {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--c6);
  cursor: zoom-in;
  overflow: hidden;
}
.cred-enlarge img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: var(--c8);
}
.cred-card-wide { max-width: 640px; }
.cred-card-wide .cred-enlarge img { height: auto; max-height: 520px; }
.cred-card figcaption,
.cred-card p,
.cred-block p {
  color: var(--text-body);
  font-size: 0.92rem;
}
.cred-card figcaption { margin-top: 0.85rem; }
.cred-card figcaption p,
.cred-block p { margin: 0 0 0.75rem; }
.cred-card figcaption p:last-child,
.cred-block p:last-child { margin-bottom: 0; }
.cred-links a,
.cred-list a,
.cred-back a,
.cred-jump a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #087a8f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cred-links a:hover,
.cred-list a:hover,
.cred-back a:hover,
.cred-jump a:hover { color: var(--c1); }
.cred-details { margin: 0 0 0.75rem; }
.cred-details summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #087a8f;
}
.cred-details .cred-enlarge { margin-top: 0.65rem; }
.cred-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  justify-content: center;
  margin: 0 0 2rem;
}
.cred-block { margin: 0 0 2.5rem; }
.cred-list { margin: 0; padding: 0; list-style: none; }
.cred-list li {
  background: var(--c8);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin: 0 0 0.75rem;
  border-left: 3px solid var(--c3);
}
.cred-list p { margin: 0.4rem 0 0; }
.cred-sep { color: var(--text-body); }
.cred-back {
  text-align: center;
  margin: 0.5rem 0 0;
}
.cred-page :focus-visible {
  outline: 2px solid var(--c3);
  outline-offset: 3px;
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(960px, 94vw);
  width: min(960px, 94vw);
}
.lightbox::backdrop { background: rgba(0, 17, 41, 0.86); }
.lightbox-frame {
  position: relative;
  background: var(--c1);
  color: var(--c8);
  border-radius: 16px;
  padding: 2.75rem 1rem 1rem;
}
.lightbox-frame img {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  margin: 0 auto;
  background: var(--c8);
  border-radius: 8px;
}
.lightbox-frame p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c2);
  margin: 0.75rem 0 0;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c1);
  background: var(--c2);
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--c3); }

@media (max-width: 720px) {
  .cred-grid { grid-template-columns: 1fr; }
  .cred-enlarge img { height: 180px; }
}


/* Teaching passion panel */
.passion-expand-btn,
a.passion-expand-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--c2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.passion-expand-btn:hover,
a.passion-expand-btn:hover { color: var(--c3); }
.passion-card--teaching { cursor: pointer; }
.passion-card--teaching:focus-within {
  outline: 2px solid var(--c3);
  outline-offset: 3px;
}

.teaching-panel {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, 96vw);
  width: min(920px, 96vw);
  max-height: min(92vh, 960px);
}
.teaching-panel::backdrop { background: rgba(0, 17, 41, 0.86); }
.teaching-panel-frame {
  position: relative;
  background: var(--c8);
  color: var(--text-body);
  border-radius: 16px;
  padding: 2.5rem 1.25rem 1.25rem;
  max-height: min(92vh, 960px);
  overflow: auto;
  box-shadow: 0 24px 48px rgba(0, 17, 41, 0.35);
}
.teaching-panel-head {
  margin-bottom: 1.25rem;
  padding-right: 3.5rem;
}
.teaching-panel-head .eyebrow {
  font-family: var(--font-mono);
  color: #087a8f;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .45rem;
}
.teaching-panel-head h2 {
  color: var(--c1);
  margin: 0 0 .6rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.teaching-panel-head p { margin: 0; max-width: 62ch; line-height: 1.55; }

.teaching-accordions { display: grid; gap: 0.75rem; }
.teaching-acc {
  background: #fff;
  border: 1px solid rgba(0, 17, 41, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
.teaching-acc > summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--c1);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(0, 210, 252, 0.08);
}
.teaching-acc > summary::-webkit-details-marker { display: none; }
.teaching-acc > summary::after {
  content: "+";
  font-weight: 700;
  color: var(--c3);
}
.teaching-acc[open] > summary::after { content: "–"; }
.teaching-acc[open] > summary { border-bottom: 1px solid rgba(0, 17, 41, 0.08); }
.teaching-acc-meta {
  font-weight: 500;
  color: #087a8f;
  font-size: 0.8rem;
  margin-left: auto;
  margin-right: 0.5rem;
}
.teaching-acc-body { padding: 1rem; }
.teaching-caption {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.teaching-subhead {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--c1);
  margin: 1.25rem 0 0.65rem;
}
.teaching-shot img,
.teaching-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(0, 17, 41, 0.08);
  background: #fff;
}
.teaching-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.teaching-enlarge {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 8px;
}
.teaching-enlarge:focus-visible {
  outline: 2px solid var(--c3);
  outline-offset: 3px;
}
.teaching-enlarge img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(0, 17, 41, 0.08);
  background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.teaching-enlarge:hover img {
  box-shadow: 0 8px 24px rgba(0, 17, 41, 0.18);
  transform: translateY(-1px);
}

.teaching-quotes { display: grid; gap: 0.85rem; margin-top: 1rem; }
.teaching-quote {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--c6);
  border-radius: 10px;
  border-left: 3px solid var(--c2);
}
.teaching-quote blockquote {
  margin: 0 0 0.45rem;
  color: var(--c1);
  font-size: 0.95rem;
  line-height: 1.45;
}
.teaching-quote figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #087a8f;
}

/* Student last-name privacy: scrambled text + visual blur */
.student-lastname {
  filter: blur(3.5px);
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  display: inline;
  letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .student-lastname { filter: blur(2.5px); }
}


.teaching-log-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.teaching-log-search { flex: 1 1 220px; }
.teaching-log-search input {
  width: 100%;
  border: 1px solid rgba(0, 17, 41, 0.15);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
}
.teaching-log-status {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #087a8f;
}
.teaching-log-scroll {
  max-height: min(42vh, 420px);
  overflow: auto;
  border: 1px solid rgba(0, 17, 41, 0.1);
  border-radius: 10px;
  background: #fff;
}
.teaching-log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.teaching-log-table th,
.teaching-log-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(0, 17, 41, 0.06);
}
.teaching-log-table th {
  position: sticky;
  top: 0;
  background: var(--c1);
  color: var(--c8);
  font-family: var(--font-mono);
  font-weight: 500;
  z-index: 1;
}
.teaching-log-table td:nth-child(1) { white-space: nowrap; width: 5.5rem; }
.teaching-log-table td:nth-child(2) { width: 9rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 720px) {
  .teaching-panel-frame { padding: 2.35rem 0.85rem 0.85rem; }
  .teaching-gallery { grid-template-columns: 1fr; }
}

/* Passion · open-source highlight page */
.oss-stance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 0;
}
.oss-stance-item {
  background: #fff;
  border: 2px solid rgba(0, 17, 41, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 28px rgba(0, 17, 41, 0.06);
}
.oss-stance-item .eyebrow {
  font-family: var(--font-mono);
  color: var(--c3);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.oss-stance-item p { margin: 0; color: var(--text-body); }
.oss-stance-item a {
  color: var(--c1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.oss-stance-item a:hover { color: var(--c3); }
.oss-pr-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.oss-pr-card {
  background: #fff;
  border: 2px solid rgba(253, 215, 70, 0.45);
  border-radius: 18px;
  padding: 1.5rem 1.6rem 1.35rem;
  box-shadow: 0 12px 32px rgba(0, 17, 41, 0.07);
}
.oss-pr-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.oss-pr-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.15);
  color: #1a7a4c;
  border: 1px solid rgba(61, 214, 140, 0.55);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.oss-pr-repo { color: var(--text-muted); }
.oss-pr-num { color: var(--c3); font-weight: 700; }
.oss-pr-card h3 {
  margin: 0 0 0.55rem;
  color: var(--c1);
  font-size: 1.25rem;
}
.oss-pr-card p {
  margin: 0 0 1rem;
  color: var(--text-body);
  max-width: 52rem;
  line-height: 1.55;
}
.oss-pr-card code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(0, 210, 252, 0.12);
  padding: 0.08em 0.35em;
  border-radius: 4px;
}
.oss-pr-card .links a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--c1);
  font-weight: 600;
}
.oss-pr-card .links a:hover { color: var(--c3); }
.page-hero .cred-kicker a {
  color: var(--c3);
  text-decoration: none;
}
.page-hero .cred-kicker a:hover { color: var(--c2); }
.project-more { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }


/* —— Soft Style motion: page enter, scroll reveal (skip .depth-page / reduced-motion) —— */
@keyframes soft-page-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
body:not(.depth-page).is-page-ready > .page-hero,
body:not(.depth-page).is-page-ready > .hero,
body:not(.depth-page).is-page-ready > .section,
body:not(.depth-page).is-page-ready > .cta-band,
body:not(.depth-page).is-page-ready > .site-footer,
body:not(.depth-page).is-page-ready > main {
  animation: soft-page-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
body:not(.depth-page).is-page-exit > .page-hero,
body:not(.depth-page).is-page-exit > .hero,
body:not(.depth-page).is-page-exit > .section,
body:not(.depth-page).is-page-exit > .cta-band,
body:not(.depth-page).is-page-exit > .site-footer,
body:not(.depth-page).is-page-exit > main {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.soft-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.soft-reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body:not(.depth-page).is-page-ready > .page-hero,
  body:not(.depth-page).is-page-ready > .hero,
  body:not(.depth-page).is-page-ready > .section,
  body:not(.depth-page).is-page-ready > .cta-band,
  body:not(.depth-page).is-page-ready > .site-footer,
  body:not(.depth-page).is-page-ready > main {
    animation: none;
  }
  body:not(.depth-page).is-page-exit > .page-hero,
  body:not(.depth-page).is-page-exit > .hero,
  body:not(.depth-page).is-page-exit > .section,
  body:not(.depth-page).is-page-exit > .cta-band,
  body:not(.depth-page).is-page-exit > .site-footer,
  body:not(.depth-page).is-page-exit > main {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .soft-reveal,
  .soft-reveal.is-inview {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
