:root {
  --color-ink: #0a1220;
  --color-accent: #f59e42;
  --color-border: rgba(10, 18, 32, 0.12);
  --color-border-strong: rgba(10, 18, 32, 0.22);
  --color-copy: #1b2434;
  --color-copy-soft: #556173;
  --color-surface: #f7f8f5;
  --color-surface-strong: #f1f3ef;
  --color-white: #fff;
  --section-space: 2.5rem !important;
  --container-width: 1280px;
  --font-sans: "Geist", "Inter", "Segoe UI", sans-serif;
  --section-title-size: clamp(2.35rem, 4vw, 3.4rem);
  --section-subtitle-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.55rem);
  --body-size: 1rem;
  --body-line: 1.72;
  --measure-tight: 34rem;
  --measure-body: 42rem;
}

html {
  font-size: 16px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  color: var(--color-copy);
  background: var(--color-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 2rem, var(--container-width));
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.navbar-toggler:focus,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(245, 158, 66, 0.28);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  transition: background 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(10, 18, 32, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(10, 18, 32, 0.05);
}

.site-nav {
  min-height: 4.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  transition: min-height 0.22s ease, padding 0.22s ease;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-ink);
  font-weight: 550;
  letter-spacing: -0.03em;
  transition: gap 0.22s ease;
}

.brand-name {
  font-size: 1.6rem;
  transition: font-size 0.22s ease;
}

.brand-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  transition: width 0.22s ease, height 0.22s ease;
}

.brand-divider {
  width: 1px;
  height: 1.35rem;
  background: rgba(10, 18, 32, 0.2);
  transition: height 0.22s ease;
}

.nav-toggle {
  border: 1px solid rgba(10, 18, 32, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
}

.nav-toggle .navbar-toggler-icon {
  width: 1.1rem;
  height: 1.1rem;
  background-image: none;
  position: relative;
}

.nav-toggle .navbar-toggler-icon::before,
.nav-toggle .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-ink);
}

.nav-toggle .navbar-toggler-icon::before {
  top: 0.3rem;
}

.nav-toggle .navbar-toggler-icon::after {
  top: 0.75rem;
}

.navbar-collapse {
  padding-top: 0.8rem;
}

.navbar-nav {
  gap: 0.15rem;
}

.nav-link {
  color: rgba(10, 18, 32, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.6rem 0.8rem;
  transition: color 0.18s ease, padding 0.22s ease, font-size 0.22s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-ink);
}

.site-header.is-scrolled .site-nav {
  min-height: 2.25rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

.site-header.is-scrolled .brand-mark {
  gap: 0.55rem;
}

.site-header.is-scrolled .brand-name {
  font-size: 1rem;
}

.site-header.is-scrolled .brand-dot {
  width: 0.45rem;
  height: 0.45rem;
}

.site-header.is-scrolled .brand-divider {
  height: 0.85rem;
}

.site-header.is-scrolled .nav-link {
  font-size: 0.88rem;
  padding: 0.35rem 0.7rem;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: min(50rem, calc(100svh - 4.5rem));
  background: var(--color-ink);
  color: var(--color-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0, transparent 14%, rgba(255, 255, 255, 0.045) 14%, rgba(255, 255, 255, 0.045) 14.25%, transparent 14.25%, transparent 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 12% auto auto 52%;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 66, 0.12), transparent 64%);
  pointer-events: none;
}

.hero-grid-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  min-height: min(50rem, calc(100svh - 4.5rem));
  width: min(100% - 2rem, var(--container-width));
  margin: 0 auto;
  padding: 1.5rem 0 1.25rem;
}

.hero-grid-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 calc(14% - 1px);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16) 18%, rgba(255, 255, 255, 0.08) 82%, transparent);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 35rem;
  padding: 1rem 0 0;
}

.signal-line {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: min(14rem, 40vw);
  margin-bottom: 1rem;
}

.signal-line-dark {
  width: 10rem;
}

.signal-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.signal-track {
  display: block;
  min-width: 3.5rem;
  height: 1px;
  flex: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
}

.signal-line-dark .signal-track {
  background:
    linear-gradient(90deg, rgba(10, 18, 32, 0.32), rgba(10, 18, 32, 0.08));
}

.kicker {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-intro .kicker {
  color: var(--color-accent);
}

.hero h1 {
  max-width:18ch !important;
  margin: 0;
  font-size: clamp(3rem, 11vw, 5.4rem);
  font-weight: 560;
  line-height: 0.94;
  letter-spacing: -0.08em;
}

.hero h1 span {
  display: block;
}

.hero-summary {
  max-width: 31rem;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.primary-action,
.secondary-action,
.case-link,
.article-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: fit-content;
  min-height: 3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.primary-action {
  padding: 0.85rem 1.15rem;
  background: var(--color-white);
  color: var(--color-ink);
}

.primary-action svg,
.case-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.primary-action:hover,
.primary-action:focus,
.case-link:hover,
.case-link:focus {
  transform: translateX(2px);
}

.primary-action-light {
  background: var(--color-white);
  color: var(--color-ink);
}

.secondary-action {
  padding: 0.85rem 0;
  color: rgba(255, 255, 255, 0.78);
  justify-content: flex-start;
}

.secondary-action:hover,
.secondary-action:focus {
  color: var(--color-white);
}

.contact-secondary-action,
.biodev-secondary-action {
  color: var(--color-copy-soft);
}

.biodev-secondary-action {
  color: rgba(255, 255, 255, 0.82);
}

.hero-portrait {
  position: relative;
  align-self: center;
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biodev-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-page {
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 66, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f6f2 0%, #ffffff 42%);
}

.contact-shell {
  display: grid;
  gap: 1.5rem;
}

.contact-intro-card,
.contact-form-card {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(10, 18, 32, 0.08);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(10, 18, 32, 0.07);
}

.contact-intro-card h1,
.contact-form-card h2 {
  margin: 0;
  color: var(--color-ink);
  letter-spacing: -0.05em;
}

.contact-intro-card .kicker,
.contact-form-card .kicker {
  color: var(--color-accent);
}

.contact-intro-card h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 0.94;
}

.contact-form-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.contact-lead,
.contact-copy {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--color-copy);
  line-height: 1.78;
}

.contact-copy {
  color: var(--color-copy-soft);
}

.contact-profile {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: 1rem;
  border-radius: 1.3rem;
  background: linear-gradient(135deg, rgba(10, 18, 32, 0.04), rgba(245, 158, 66, 0.08));
}

.contact-profile-image {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.2rem;
  object-fit: cover;
  object-position: 50% 26%;
}

.contact-profile-meta {
  display: grid;
  gap: 0.25rem;
}

.contact-profile-meta strong {
  color: var(--color-ink);
  font-size: 1.05rem;
}

.contact-profile-meta span {
  color: var(--color-copy-soft);
  line-height: 1.55;
}

.contact-form {
  margin-top: 1.4rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.25rem;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .contact-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .contact-intro-card {
    min-height: 100%;
  }
}

.hero-portrait-shell {
  position: relative;
  width: min(100%, 24rem);
  aspect-ratio: 0.84;
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-portrait-shell::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 3;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.hero-portrait-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 50% 42%, rgba(10, 18, 32, 0) 0 34%, rgba(10, 18, 32, 0.12) 52%, rgba(10, 18, 32, 0.46) 72%, rgba(10, 18, 32, 0.88) 100%),
    linear-gradient(180deg, rgba(10, 18, 32, 0) 58%, rgba(10, 18, 32, 0.38) 78%, rgba(10, 18, 32, 0.72) 100%);
  pointer-events: none;
}

.hero-portrait-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 42%;
  filter: saturate(0.96) contrast(1.02);
}

.hero-portrait-aura {
  position: absolute;
  inset: auto auto 14% -8%;
  z-index: 0;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 66, 0.18), transparent 68%);
  filter: blur(36px);
  pointer-events: none;
}

.hero-portrait-mass {
  position: absolute;
  right: -0.8rem;
  bottom: 0.9rem;
  z-index: 1;
  width: min(100%, 18rem);
  height: 74%;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(245, 158, 66, 0.16), rgba(245, 158, 66, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(10, 18, 32, 0.18);
  opacity: 1;
  transform: rotate(6deg);
}

.hero-portrait-mass::before {
  content: none;
}

.hero-portrait-mass::after {
  content: none;
}

.hero-portrait-note {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 5;
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(10, 18, 32, 0.52);
  backdrop-filter: blur(14px);
  text-align: center;
  transform: translateX(-50%);
}

.hero-portrait-note-label {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-portrait-note-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 520;
  letter-spacing: -0.02em;
}

.section-shell {
  position: relative;
  padding: var(--section-space) 0;
  background: var(--color-white);
}

.section-shell-muted {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.section-shell-dark {
  background: var(--color-ink);
  color: var(--color-white);
}

.section-shell-dark .section-summary,
.section-shell-dark h2,
.section-shell-dark .kicker {
  color: var(--color-white);
}

.section-intro {
  max-width: var(--measure-tight);
  margin-bottom: 2.4rem;
}

.section-intro-compact {
  margin-bottom: 1.4rem;
}

.section-intro h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--section-title-size);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-summary {
  max-width: 32rem;
  margin: 1rem 0 0;
  color: var(--color-copy-soft);
  font-size: var(--body-size);
  line-height: var(--body-line);
}

.about-copy {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  max-width: var(--measure-body);
}

.about-copy p {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--body-size);
  line-height: var(--body-line);
  letter-spacing: -0.02em;
}

.case-item-copy h3,
.article-row h3 {
  margin: 0;
  color: var(--color-ink);
  letter-spacing: -0.04em;
}

.about-shell {
  display: grid;
  gap: 3rem;
}

.about-intro {
  margin-bottom: 0;
}

.about-section-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: rgba(10, 18, 32, 0.46);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-principle {
  max-width: 54rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 18, 32, 0.1);
}

.about-principle-copy {
  position: relative;
  max-width: 30rem;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.3rem);
  font-weight: 520;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.about-principle-copy::before,
.about-principle-copy::after {
  color: rgba(10, 18, 32, 0.22);
  font-size: 1.9em;
  line-height: 0;
  vertical-align: -0.22em;
}

.about-principle-copy::before {
  content: open-quote;
  margin-right: 0.12em;
}

.about-principle-copy::after {
  content: close-quote;
  margin-left: 0.12em;
}

.journey-shell {
  display: grid;
  gap: 3rem;
}

.journey-intro {
  max-width: 44rem;
  margin-bottom: 0;
}

.journey-timeline {
  position: relative;
  display: grid;
  gap: 2rem;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  bottom: 1.45rem;
  left: 1rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.08), rgba(10, 18, 32, 0.14), rgba(10, 18, 32, 0.08));
}

.journey-step {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-left: 3rem;
}

.journey-step-head {
  display: grid;
  gap: 0.7rem;
}

.journey-step-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 0 0 6px rgba(247, 248, 245, 0.96);
  color: var(--color-accent);
}

.journey-step-icon::before {
  content: "";
  position: absolute;
  inset: 0.34rem;
  border-radius: 50%;
  background: rgba(245, 158, 66, 0.16);
}

.journey-step-icon svg {
  position: relative;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.journey-step-period {
  color: rgba(10, 18, 32, 0.48);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journey-step-body {
  display: grid;
  gap: 0.65rem;
  max-width: 18rem;
}

.journey-step-body h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.5rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.journey-step-body p {
  margin: 0;
  color: var(--color-copy-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.journey-step-current .journey-step-icon {
  color: #c9680a;
}

.journey-step-current .journey-step-body h3 {
  color: #7d4308;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-right: 0.85rem;
  border-radius: 0.9rem;
  background: var(--color-surface-strong);
  color: var(--color-accent);
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(10, 18, 32, 0.06);
}

.feature-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.case-study-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(10, 18, 32, 0.08);
}

.case-study {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(10, 18, 32, 0.08);
  transition: transform 0.18s ease;
}

.case-study:first-child {
  border-top: none;
}

.case-study:hover {
  transform: translateX(4px);
}

.case-category,
.article-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-category {
  color: var(--color-accent);
}

.article-label {
  color: rgba(10, 18, 32, 0.5);
}

.case-item-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 5.75rem;
  min-height: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: rgba(10, 18, 32, 0.03);
  color: var(--color-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.case-item-cover {
  display: block;
  width: 100%;
  max-width: 8.5rem;
  aspect-ratio: 4 / 3;
  border-radius: 0.95rem;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(10, 18, 32, 0.08);
  box-shadow: 0 10px 24px rgba(10, 18, 32, 0.08);
}

.case-item-logo-wide {
  min-width: 6.4rem;
}

.case-item-copy {
  min-width: 0;
}

.case-item-copy h3 {
  margin-top: 0.35rem;
  font-size: var(--section-subtitle-size);
  font-weight: 560;
  line-height: 1.22;
  max-width: 25rem;
}

.case-item-copy p {
  max-width: 25rem;
  margin: 0.65rem 0 0;
  color: var(--color-copy-soft);
  font-size: var(--body-size);
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-list {
  display: grid;
  gap: 1rem;
}

.article-row {
  display: grid;
  gap: 1.4rem;
  min-height: 100%;
  padding: 1.55rem;
  border: 1px solid rgba(10, 18, 32, 0.08);
  border-radius: 1.6rem;
  background: #fbfbf8;
  box-shadow: 0 24px 44px rgba(10, 18, 32, 0.05);
  opacity: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-row:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 18, 32, 0.14);
  box-shadow: 0 30px 56px rgba(10, 18, 32, 0.08);
}

.article-card-main {
  display: grid;
  gap: 0.7rem;
}

.article-row h3 {
  margin-top: 0;
  font-size: var(--section-subtitle-size);
  font-weight: 560;
  line-height: 1.24;
  max-width: 24rem;
}

.article-card-summary {
  max-width: 24rem;
  margin: 0;
  color: var(--color-copy-soft);
  font-size: 0.98rem;
  line-height: 1.68;
}

.article-link {
  padding: 0;
  color: rgba(10, 18, 32, 0.66);
  font-size: 0.95rem;
  align-self: end;
  justify-content: flex-start;
  gap: 0.5rem;
}

.article-link::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.case-link {
  margin-top: 1rem;
  padding: 0;
  color: var(--color-ink);
  justify-content: flex-start;
}

.article-link-accent,
.case-link-accent {
  color: var(--color-accent);
  font-weight: 700;
}

.article-link-accent:hover,
.article-link-accent:focus,
.case-link-accent:hover,
.case-link-accent:focus {
  color: #d98222;
}

.biodev-shell {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.biodev-intro {
  margin-bottom: 0;
}

.biodev-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0.25rem 0 0;
  align-self: start;
}

.biodev-brand-copy {
  display: grid;
  gap: 0.2rem;
}

.biodev-brand-image {
  display: block;
  width: auto;
  height: 10rem;
  object-fit: contain;
}

.biodev-brand-label {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
}

.biodev-brand-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.5;
}

.biodev-summary {
  max-width: 31rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.68;
}

.biodev-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.8rem;
  width: min(100%, 18rem);
  justify-self: center;
  min-height: 10rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.biodev-portrait-image {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
  object-position: center 34%;
}

.biodev-portrait-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(10, 18, 32, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.biodev-portrait-label {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.biodev-portrait-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.5;
}

.section-shell-dark .signal-track {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
}

.section-shell-dark .section-summary {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  border-top: 1px solid rgba(10, 18, 32, 0.08);
  background: #ffffff;
  padding: 1.5rem 0 2.5rem;
}

.footer-shell {
  display: grid;
  gap: 1rem;
}

.footer-title {
  margin: 0;
  color: var(--color-ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.footer-copy,
.footer-meta,
.footer-meta-shell {
  margin: 0.4rem 0 0;
  color: var(--color-copy-soft);
  font-size: 0.92rem;
}

.footer-meta,
.footer-meta-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-meta-shell {
  align-items: center;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(10, 18, 32, 0.1);
  border-radius: 999px;
  background: rgba(10, 18, 32, 0.03);
  color: var(--color-ink);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
  transform: translateY(-2px);
  border-color: rgba(10, 18, 32, 0.2);
  background: rgba(245, 158, 66, 0.08);
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.post-library-page,
.post-detail-page {
  padding: var(--section-space) 0;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 66, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.post-detail-header h1 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.post-library-grid {
  display: grid;
  gap: 2rem;
}

.post-library-sidebar {
  position: relative;
  order: -1;
}

.post-library-sidebar-inner {
  display: grid;
  gap: 1.2rem;
}

.post-library-author-card,
.post-library-sidebar-block,
.post-library-row,
.post-library-note-card,
.post-library-project-card {
  border: 1px solid rgba(10, 18, 32, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 50px rgba(10, 18, 32, 0.05);
}

.post-library-author-card,
.post-library-sidebar-block,
.post-library-note-card,
.post-library-project-card {
  border-radius: 1.6rem;
}

.post-library-author-card,
.post-library-sidebar-block,
.post-library-row,
.post-library-note-card,
.post-library-project-card {
  padding: 1.4rem;
}

.post-library-author-card {
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 245, 0.98));
}

.post-library-author-image {
  width: 100%;
  max-width: 6.5rem;
  aspect-ratio: 1;
  border-radius: 1.5rem;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 18px 34px rgba(10, 18, 32, 0.12);
}

.post-library-author-copy {
  display: grid;
  gap: 0.6rem;
}

.post-library-author-copy .kicker {
  margin: 0;
  color: var(--color-accent);
}

.post-library-author-copy h2,
.post-library-section-heading h2,
.post-library-row h3,
.post-library-note-card h3,
.post-library-project-card h3 {
  margin: 0;
  color: var(--color-ink);
  letter-spacing: -0.06em;
}

.post-library-author-copy h2 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.02;
}

.post-library-author-copy p,
.post-library-sidebar-note,
.post-library-hero-copy,
.post-library-row p,
.post-library-note-card p,
.post-library-project-card p,
.post-detail-summary {
  margin: 0;
  color: var(--color-copy-soft);
  line-height: 1.72;
}

.post-library-sidebar-label,
.post-library-entry-meta,
.post-library-meta,
.post-library-section-caption {
  color: rgba(10, 18, 32, 0.54);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-library-sidebar-block {
  display: grid;
  gap: 0.8rem;
}

.post-library-category-list,
.post-library-quick-links,
.post-library-list,
.post-library-note-grid,
.post-library-project-grid {
  display: grid;
  gap: 0.85rem;
}

.post-library-category-link,
.post-library-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #c66a18;
  transition: color 0.18s ease, transform 0.18s ease;
}

.post-library-row h3 a,
.post-library-note-card h3 a,
.post-library-project-card h3 a {
  color: var(--color-ink);
  transition: color 0.18s ease;
}

.post-library-category-link {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(10, 18, 32, 0.08);
  font-weight: 600;
}

.post-library-category-link:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.post-library-category-link:hover,
.post-library-category-link:focus,
.post-library-inline-link:hover,
.post-library-inline-link:focus {
  color: #b86412;
  transform: translateX(2px);
}

.post-library-category-link small {
  color: rgba(10, 18, 32, 0.42);
  font-size: 0.78rem;
  font-weight: 700;
}

.post-library-search-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(10, 18, 32, 0.1);
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.post-library-search-shell svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.post-library-search-shell input,
.post-library-search-shell button {
  border: 0;
  background: transparent;
  padding: 0;
}

.post-library-search-shell input {
  min-width: 0;
  color: var(--color-ink);
  font-size: 1rem;
}

.post-library-search-shell input:focus {
  outline: none;
}

.post-library-search-shell button {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.post-library-main {
  display: grid;
  gap: 2rem;
  min-width: 0;
}

.post-library-hero {
  display: grid;
  gap: 0.95rem;
  max-width: 44rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(10, 18, 32, 0.08);
}

.post-library-hero .kicker {
  margin: 0;
  color: var(--color-accent);
}

.post-library-hero h1 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.7rem, 7vw, 4.7rem);
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.08em;
  max-width: 12ch;
}

.post-library-hero-copy {
  max-width: 38rem;
  font-size: 1.03rem;
  line-height: 1.84;
}

.post-library-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.post-library-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.post-library-section {
  display: grid;
  gap: 1.25rem;
}

.post-library-section-heading {
  display: grid;
  gap: 0.55rem;
  max-width: 34rem;
}

.post-library-section-heading .kicker {
  margin: 0;
  color: var(--color-accent);
}

.post-library-section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1;
}

.post-library-section-title-compact {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.1;
}

.post-library-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.post-library-divider {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: rgba(10, 18, 32, 0.24);
}

.post-library-inline-link {
  width: fit-content;
  font-weight: 700;
}

.post-library-inline-link {
  padding-bottom: 0.08rem;
  border-bottom: 1px solid rgba(198, 106, 24, 0.35);
}

.post-library-subscribe-block {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 66, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 245, 0.98));
}

.post-library-subscribe-form {
  display: grid;
  gap: 0.75rem;
}

.post-library-subscribe-input {
  min-height: 3.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(10, 18, 32, 0.12);
  border-radius: 1rem;
  background: #fff;
  color: var(--color-ink);
}

.post-library-subscribe-input:focus {
  outline: none;
  border-color: rgba(245, 158, 66, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(245, 158, 66, 0.15);
}

.post-library-subscribe-button {
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: var(--color-ink);
  color: #fff;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease;
}

.post-library-subscribe-button:hover,
.post-library-subscribe-button:focus {
  transform: translateY(-1px);
  background: #162238;
}

.post-library-subscribe-feedback,
.post-library-subscribe-error {
  font-size: 0.9rem;
  line-height: 1.5;
}

.post-library-subscribe-feedback {
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
}

.post-library-subscribe-feedback.is-success {
  background: rgba(44, 137, 92, 0.1);
  color: #1d6a45;
}

.post-library-subscribe-error {
  color: #9c2f1f;
}

.required-indicator {
  color: #d1432a;
}

.post-library-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.post-library-row {
  display: grid;
  gap: 0.9rem;
  border-radius: 1.6rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-library-row:hover,
.post-library-row:focus-within,
.post-library-note-card:hover,
.post-library-note-card:focus-within,
.post-library-project-card:hover,
.post-library-project-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 66, 0.22);
  box-shadow: 0 28px 58px rgba(10, 18, 32, 0.08);
}

.post-library-row h3,
.post-library-note-card h3,
.post-library-project-card h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.03;
}

.post-library-note-grid,
.post-library-project-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.post-library-note-card,
.post-library-project-card {
  display: grid;
  gap: 0.9rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-library-project-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.post-library-project-time {
  color: rgba(10, 18, 32, 0.5);
  font-size: 0.85rem;
  font-weight: 700;
}

.post-library-empty-state {
  display: grid;
  gap: 0.75rem;
}

.post-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 2rem;
}

.post-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.8rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(10, 18, 32, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink);
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.post-pagination-link:hover,
.post-pagination-link:focus,
.post-pagination-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(245, 158, 66, 0.3);
  background: rgba(245, 158, 66, 0.12);
}

.post-empty-state {
  padding: 2rem;
  border: 1px dashed rgba(10, 18, 32, 0.16);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
}

.post-empty-state h2 {
  margin: 0;
  color: var(--color-ink);
  letter-spacing: -0.04em;
}

.post-empty-state p {
  margin: 0;
  color: var(--color-copy-soft);
}

.post-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.68rem;
  border-radius: 999px;
  background: rgba(10, 18, 32, 0.05);
  color: var(--color-copy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-tag-link {
  border: 1px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.post-tag-link:hover,
.post-tag-link:focus,
.post-tag-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(245, 158, 66, 0.28);
  background: rgba(245, 158, 66, 0.12);
  color: var(--color-ink);
}

.post-detail-shell {
  max-width: 58rem;
}

.post-detail-header {
  display: grid;
  gap: 1rem;
}

.post-detail-title-row {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.post-detail-title-row h1{
  font-size:300%;
}

.post-detail-slug {
  color: rgba(10, 18, 32, 0.46);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.post-share-shell {
  display: grid;
  gap: 0.8rem;
}

.post-share-shell-top {
  padding-top: 0.6rem;
}

.post-share-shell-top .post-share-links {
  gap: 0.55rem;
}

.post-share-shell-top .post-share-link {
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
}

.post-share-shell-top .post-share-link svg {
  width: 0.78rem;
  height: 0.78rem;
}

.post-share-shell-bottom {
  margin-top: 3.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(10, 18, 32, 0.08);
}

.post-share-shell-bottom .post-share-links {
  gap: 0.9rem;
}

.post-share-shell-bottom .post-share-link {
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.92rem;
}

.post-share-shell-bottom .post-share-link svg {
  width: 1rem;
  height: 1rem;
}

.post-share-label {
  color: var(--color-copy-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.post-share-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.post-share-link:hover,
.post-share-link:focus {
  transform: translateY(-2px);
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 16px 28px rgba(10, 18, 32, 0.08);
}

.post-share-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.post-share-link-linkedin {
  background: #0a66c2;
}

.post-share-link-facebook {
  background: #1877f2;
}

.post-share-link-reddit {
  background: #ff4500;
}

.post-share-link-x {
  background: #111827;
}

.post-share-link-whatsapp {
  background: #25d366;
}

.post-share-link-telegram {
  background: #229ed9;
}

.post-share-link-email {
  background: #b45309;
}

.post-back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(245, 158, 66, 0.12);
  color: var(--color-ink);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 66, 0.18);
}

.post-detail-cover {
  width: 100%;
  margin: 2.2rem 0 3.2rem;
  border-radius: 1.8rem;
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(10, 18, 32, 0.08);
}

.post-detail-content {
  color: var(--color-copy);
  line-height: 1.85;
  font-size: 1.08rem;
  margin-top: 3rem;
  text-align: left;
  text-wrap: pretty;
}

.post-detail-content > * + * {
  margin-top: 1.2rem;
}

.post-detail-content h2,
.post-detail-content h3 {
  margin-top: 2rem;
  color: var(--color-ink);
  letter-spacing: -0.05em;
  font-weight: 560;
  line-height: 1.08;
}

.post-detail-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.post-detail-content h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.post-detail-content p,
.post-detail-content li {
  color: var(--color-copy);
}

.post-detail-content ul,
.post-detail-content ol {
  padding-left: 1.35rem;
}

.post-detail-content li + li {
  margin-top: 0.45rem;
}

.post-detail-content pre {
  position: relative;
  margin: 1.75rem 0;
  padding: 3rem 1.2rem 1.15rem;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: #1e1e1e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: #d4d4d4;
  font-size: 0.96rem;
  line-height: 1.7;
}

.post-detail-content pre code {
  display: block;
  color: inherit;
  white-space: pre;
}

.post-code-copy {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  min-width: 5.25rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d4d4d4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.post-code-copy:hover,
.post-code-copy:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.post-code-copy.is-copied {
  background: rgba(74, 222, 128, 0.18);
  border-color: rgba(74, 222, 128, 0.36);
  color: #bbf7d0;
}

.post-detail-content code {
  font-family: "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;
}

.post-detail-content :not(pre) > code {
  padding: 0.16rem 0.38rem;
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.08);
  color: #9a3412;
  font-size: 0.94em;
}

.post-detail-content blockquote {
  margin: 1.6rem 0;
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 3px solid var(--color-accent);
  color: var(--color-copy-soft);
}

.post-detail-content .token-comment {
  color: #6a9955;
}

.post-detail-content .token-keyword {
  color: #569cd6;
}

.post-detail-content .token-string {
  color: #ce9178;
}

.post-detail-content .token-number {
  color: #b5cea8;
}

.post-detail-content .token-operator,
.post-detail-content .token-punctuation {
  color: #d4d4d4;
}

.post-detail-content .token-property {
  color: #9cdcfe;
}

.post-detail-content .token-tag {
  color: #569cd6;
}

.post-detail-content .token-attr {
  color: #9cdcfe;
}

.post-similar-shell {
  margin-top: 4rem;
  padding-top: 2.6rem;
  border-top: 1px solid rgba(10, 18, 32, 0.08);
}

.post-similar-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.post-similar-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.06em;
}

.post-similar-heading .section-summary {
  margin: 0;
}

.post-similar-grid {
  display: grid;
  gap: 1rem;
}

.post-similar-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
  border: 1px solid rgba(10, 18, 32, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(10, 18, 32, 0.05);
}

.post-similar-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.04em;
}

.post-similar-card p {
  margin: 0;
  color: var(--color-copy-soft);
  line-height: 1.7;
}

.scroll-top-button {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  box-shadow: 0 18px 36px rgba(10, 18, 32, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-button:hover,
.scroll-top-button:focus {
  background: #15233a;
}

.scroll-top-button svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

@media (min-width: 768px) {
  :root {
    --section-space: 6.5rem;
  }

  .container {
    width: min(100% - 3rem, var(--container-width));
  }

  .site-nav {
    min-height: 5rem;
  }

  .site-header.is-scrolled .site-nav {
    min-height: 2.5rem;
  }

  .site-header.is-scrolled .brand-name {
    font-size: 1.08rem;
  }

  .post-detail-title-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .post-detail-title-row .post-back-link {
    justify-self: end;
  }

  .post-library-grid {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
    gap: 2.5rem;
    align-items: start;
  }

  .post-library-sidebar-inner {
    position: sticky;
    top: 6.5rem;
  }

  .post-library-sidebar {
    order: 0;
  }

  .post-library-hero {
    padding-bottom: 1.8rem;
  }

  .post-library-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .post-library-note-grid,
  .post-library-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .post-similar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navbar-collapse {
    padding-top: 0;
  }

  .navbar-nav {
    gap: 0.55rem;
  }

  .hero-grid-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
    gap: 2.5rem;
    padding-top: 0;
  }

  .hero-copy {
    padding: 3rem 0;
  }

  .hero-summary {
    max-width: 31rem;
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .secondary-action {
    padding-left: 0.35rem;
  }

  .hero-portrait {
    min-height: 100%;
    justify-content: flex-end;
  }

  .hero-portrait-shell {
    width: min(100%, 24rem);
    min-height: 29rem;
  }

  .hero-portrait-image {
    object-position: 61% 42%;
  }

  .hero-portrait-mass {
    right: -0.8rem;
    width: min(100%, 18rem);
    height: 72%;
  }

  .about-shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 2rem 3rem;
    align-items: start;
  }

  .about-intro {
    grid-column: 1;
  }

  .about-principle {
    grid-column: 2;
    max-width: none;
    padding-top: 0;
    padding-left: 2rem;
    border-top: none;
    border-left: 1px solid rgba(10, 18, 32, 0.1);
  }

  .case-study-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }

  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .journey-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.4rem;
    align-items: start;
  }

  .journey-timeline::before {
    top: 1rem;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(10, 18, 32, 0.08), rgba(10, 18, 32, 0.14), rgba(10, 18, 32, 0.08));
  }

  .journey-step {
    padding-left: 0;
    padding-top: 2.35rem;
  }

  .journey-step-head {
    gap: 0.85rem;
  }

  .journey-step-icon {
    box-shadow: 0 0 0 10px rgba(247, 248, 245, 0.98);
  }

  .journey-step-body {
    max-width: 14rem;
  }

  .article-row {
    grid-template-rows: 1fr auto;
    align-items: stretch;
  }

  .biodev-shell {
    grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr) minmax(14rem, 18rem);
    align-items: start;
  }

  .biodev-portrait {
    min-height: 12rem !important;
    max-height: 18rem !important;
  }

  .biodev-portrait-image {
    min-height: 12rem !important;
    max-height: 18rem !important;
  }

  .footer-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (min-width: 1100px) {
  .hero h1 {
    max-width: 8.2ch;
  }

  .hero-portrait-shell {
    width: min(100%, 26rem);
    min-height: 31rem;
  }

  .hero-portrait-image {
    object-position: 61% 40%;
  }

  .hero-portrait-mass {
    right: -0.9rem;
    width: min(100%, 19rem);
    height: 73%;
  }

  .section-intro {
    margin-bottom: 2.8rem;
  }

  .about-shell {
    gap: 2.4rem 4rem;
  }

  .case-study-list {
    column-gap: 2.8rem;
  }

  .article-list {
    gap: 1.5rem;
  }

  .journey-shell {
    gap: 2.8rem;
  }

  .post-library-grid {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
    gap: 3.5rem;
  }

  .post-library-list {
    grid-template-columns: 1fr;
  }

  .post-library-note-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .biodev-shell {
    grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr) minmax(14rem, 18rem);
    gap: 2.75rem;
    align-items: start;
  }

  .biodev-portrait {
    min-height: 12rem;
    max-height: 14rem;
  }

  .biodev-portrait-image {
    min-height: 12rem;
    max-height: 14rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-collapse {
    margin-top: 0.9rem;
    border: 1px solid rgba(10, 18, 32, 0.08);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(10, 18, 32, 0.08);
    padding: 0.6rem;
  }

  .nav-link {
    padding: 0.85rem 0.95rem;
  }

  .hero-grid-shell::before,
  .section-shell::before {
    inset: 0 auto 0 1.1rem;
  }

  .hero-portrait {
    min-height: 18rem;
    margin-top: 1.25rem;
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
  }

  .hero-portrait-shell {
    width: min(100%, 16rem);
    min-height: 18.5rem;
    border-radius: 1.5rem;
  }

  .hero-portrait-image {
    object-position: 60% 42%;
  }

  .hero-portrait-mass {
    right: -0.6rem;
    width: min(100%, 14rem);
    height: 70%;
  }

  .hero-portrait-note {
    left: 50%;
    bottom: 0.75rem;
    padding: 0.75rem 0.85rem;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 0.75rem;
    align-items: center;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid-shell {
    min-height: auto;
    gap: 2.75rem;
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }

  .hero-summary,
  .section-summary,
  .about-copy {
    max-width: none;
  }

  .hero-actions {
    align-items: center;
  }

  .secondary-action {
    justify-content: center;
  }

  .feature-icon {
    margin-right: 0;
  }

  .case-study,
  .article-row {
    padding: 1.25rem;
  }

  .case-item-logo,
  .case-item-logo-wide,
  .case-item-cover {
    min-width: 4.6rem;
    min-height: 3.4rem;
    align-self: start;
  }

  .case-item-cover {
    max-width: 6.25rem;
  }

  .article-row {
    gap: 1.15rem;
    border-radius: 1.35rem;
  }

  .post-library-author-card,
  .post-library-sidebar-block,
  .post-library-row,
  .post-library-note-card,
  .post-library-project-card {
    padding: 1.2rem;
  }

  .post-library-hero {
    gap: 0.85rem;
  }

  .post-library-hero h1 {
    max-width: none;
  }

  .post-library-list,
  .post-library-note-grid,
  .post-library-project-grid {
    grid-template-columns: 1fr;
  }

  .post-library-entry-meta,
  .post-library-meta {
    gap: 0.45rem 0.7rem;
  }

  .about-shell {
    gap: 2.5rem;
  }

  .journey-timeline {
    gap: 1rem;
  }

  .journey-step {
    gap: 0.85rem;
    padding-left: 2.5rem;
  }

  .journey-step-body {
    max-width: none;
  }

  .journey-step-body h3 {
    font-size: clamp(1.1rem, 5vw, 1.35rem);
  }

  .about-principle {
    padding-top: 1.7rem;
  }

  .about-principle-copy {
    max-width: none;
    font-size: clamp(1.35rem, 6vw, 1.9rem);
  }

  .biodev-brand {
    margin-bottom: 1.1rem;
  }

  .biodev-brand-image {
    height: clamp(4rem, 12vw, 5rem);
  }

  .biodev-shell {
    gap: 1.4rem;
  }

  .biodev-portrait {
    min-height: 10rem;
  }

  .biodev-portrait-image {
    min-height: 10rem;
  }
}
