  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  .skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--ink-alt);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    font-family: var(--body);
    font-size: 0.875rem;
    text-decoration: none;
    z-index: 999;
  }
  .skip-link:focus { top: 0; }

  :root {
    --cream: #f6f9f9;
    --cream-rgb: 246, 249, 249;
    --ink: #1a1915;
    --ink-rgb: 26, 25, 21;

    --moss: #7bc8c5;
    --moss-rgb: 123, 200, 197;
    --moss-light: #077074;
    --ink-alt: #054967;
    --coral: #eca178;
    --coral-rgb: 236, 161, 120;
    --coral-ink: #2e1206;
    --sand: #c9b99a;
    --warm-white: #fdfbf7;
    --divider: #e2ddd6;
    --white: #ffffff;
    --mist: #e9f3f3;
    --hero-bg: var(--ink-alt);
    --hero-text: #f1f5f5;
    --hero-text-muted: #dbe6e6;
    --heading: 'Josefin Sans', sans-serif;
    --body: 'Josefin Sans', sans-serif;
    --nav-h: 64px;

    --c-dna: #185fa5;
    --c-guide: #d85a30;
    --c-editor: #7f77dd;
    --c-ligand: #5dcaa5;
  }

  html { scroll-behavior: smooth; }

  :where(a, button, input, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 2px;
  }
  #home :focus-visible, nav :focus-visible,
  #contact :focus-visible, footer :focus-visible { outline-color: var(--cream); }
  .team-card:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
    box-shadow: 0 22px 48px rgba(var(--ink-rgb), 0.16);
    transform: translateY(-6px);
  }

  h1, h2, h3 { font-family: var(--heading); font-weight: 600; color: var(--moss-light); }
  p { font-family: var(--body); font-weight: 400; font-size: 1.2rem; }

  body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 3rem;
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  nav.nav--top { padding: 1.15rem 3rem; }

  nav { background-color: rgba(27, 47, 56, 0.92); }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    nav {
      background-color: rgba(27, 47, 56, 0.65);
      -webkit-backdrop-filter: blur(9px) saturate(1.3);
      backdrop-filter: blur(9px) saturate(1.3);
    }
    nav.nav--top { background-color: rgba(27, 47, 56, 0.5); }
  }

  nav.nav--no-anim, nav.nav--no-anim .nav-logo img { transition: none !important; }

  .nav-logo {
    font-family: var(--body);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-decoration: none;
  }
  .nav-logo span { color: var(--moss); }
  .nav-logo img {
    display: block;
    height: 40px;
    width: auto;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  nav.nav--top .nav-logo img { height: 60px; }

  .btn-primary.nav-cta {
    font-family: var(--body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral-ink);
    background: var(--coral);
    padding: 0.5rem 1.2rem;
    text-decoration: none;
    border-radius: 2px;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.15s ease, box-shadow 0.15s ease;
  }
  .btn-primary.nav-cta.is-visible { opacity: 1; pointer-events: auto; }
  .btn-primary.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(var(--coral-rgb), 0.45); }
  .btn-primary.nav-cta:active { background: var(--coral); color: var(--coral-ink); transform: translateY(0); box-shadow: none; }

  #home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 3rem 4rem;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background: var(--hero-bg);
    pointer-events: none;
  }

  .hero-headline {
    font-family: var(--heading);
    font-size: clamp(3.2rem, 7vw, 7rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    white-space: nowrap;
    max-width: none;
    margin-bottom: 1.25rem;
    color: var(--hero-text);
    opacity: 0;
    animation: fadeUp 0.9s 0.35s forwards;
  }

  .hero-headline em { font-style: italic; color: var(--moss); }
  .hero-nowrap { white-space: nowrap; }

  .hero-eyebrow {
    font-family: var(--body);
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.28s forwards;
  }
  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 42px;
    height: 3px;
    background: var(--coral);
    margin-bottom: 0.5rem;
  }

  .hero-sub {
    font-family: var(--body);
    font-size: 1.2rem;
    max-width: 52ch;
    line-height: 1.75;
    color: var(--hero-text-muted);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.55s forwards;
  }

  .hero-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.9s 0.74s forwards;
  }

  @media (min-width: 901px) and (max-height: 860px) {
    #home { padding: 5.5rem 3rem 3rem; }
    .hero-headline { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.5rem; }
    .hero-sub { margin-bottom: 2rem; }
  }

  .btn-primary {
    display: inline-block;
    font-family: var(--body);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral-ink);
    font-weight: 600;
    background: var(--coral);
    padding: 0.85rem 2.2rem;
    text-decoration: none;
    border-radius: 2px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(var(--coral-rgb), 0.45); }
  .btn-primary:active { transform: translateY(0); box-shadow: none; }

  .btn-ghost {
    display: inline-block;
    font-family: var(--body);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.2s;
  }
  .btn-ghost::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--white);
    transition: width 0.25s ease;
  }
  .btn-ghost:hover::after { width: 100%; }

  section { padding: 7rem 3rem; }
  .section-label {
    font-family: var(--body);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--moss-light);
    margin-bottom: 1rem;
  }

  h2 {
    font-family: var(--heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1.5rem;
  }

  #about {
    border-top: 1px solid var(--divider);
    padding-top: 4.5rem;
  }
  .about-sub { font-size: 1.2rem; color: rgba(var(--ink-rgb), 0.8); max-width: 68ch; line-height: 1.75; margin-top: 0.75rem; margin-bottom: 4rem; }

  #team { border-top: 1px solid var(--divider); }

  #about { background: linear-gradient(180deg, var(--warm-white) 0%, var(--mist) 100%); }

  .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .team-card {

    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgba(var(--ink-rgb), 0.06);
    background: var(--white);
    padding: 2.5rem 2rem 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(var(--ink-rgb), 0.08);
  }

  .team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--moss-light), var(--moss) 55%, var(--coral));
  }

  .team-photo {
    align-self: center;
    width: 200px;
    height: 200px;
    background: var(--warm-white);
    box-shadow: 0 0 0 4px rgba(var(--moss-rgb), 0.18);
    margin-bottom: 1.4rem;
    overflow: hidden;
    border-radius: 50%;
    transition: box-shadow 0.25s ease;
  }

  .team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

  .team-card ul { padding-left: 1.1em; margin-bottom: 0.75rem; text-align: left; width: 100%; }
  .team-card ul li { font-size: 1.2rem; color: rgba(var(--ink-rgb), 0.78); line-height: 1.65; }

  .team-name { font-family: var(--body); font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
  .team-title { font-family: var(--body); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss-light); margin-bottom: 0.5rem; }
  .team-bio { font-size: 1.2rem; font-weight: 400; color: rgba(var(--ink-rgb), 0.78); line-height: 1.65; margin-bottom: 0.75rem; }
  .team-card .team-bio,
  .team-card ul { text-align: left; width: 100%; }

  .team-card { cursor: pointer; transition: box-shadow 0.25s ease, transform 0.25s ease; }
  .team-card:hover { box-shadow: 0 22px 48px rgba(var(--ink-rgb), 0.16); transform: translateY(-6px); }
  .team-card:hover .team-photo { box-shadow: 0 0 0 5px rgba(var(--moss-rgb), 0.4); }

  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.2s ease;
  }
  .modal-overlay[hidden] { display: none; }

  .modal-box {
    background: var(--white);
    border: 1px solid rgba(var(--ink-rgb), 0.08);
    border-radius: 10px;
    box-shadow: 0 30px 70px rgba(var(--ink-rgb), 0.25);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    width: min(720px, 92vw);
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
    text-align: left;
  }

  .modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: rgba(var(--ink-rgb), 0.4);
    line-height: 1;
  }

  .modal-photo {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
    width: clamp(150px, 15vw, 180px);
    height: clamp(150px, 15vw, 180px);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 4px rgba(var(--moss-rgb), 0.18);
  }
  .modal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

  .modal-name { grid-column: 2; grid-row: 1; font-family: var(--heading); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
  .modal-title { grid-column: 2; grid-row: 2; font-family: var(--body); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss-light); margin-bottom: 0; }
  .modal-content {
    grid-column: 2;
    grid-row: 3;
    text-align: left;
    margin-top: 1rem;
  }
  .modal-content .team-bio { font-size: 1.2rem; font-weight: 400; color: rgba(var(--ink-rgb), 0.8); line-height: 1.6; margin-bottom: 0.6rem; }
  .modal-content ul { padding-left: 1.1em; margin-bottom: 0; }
  .modal-content ul li { font-size: 1.2rem; color: rgba(var(--ink-rgb), 0.8); line-height: 1.7; }
  .modal-linkedin-wrap {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
  }
  .modal-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--body);
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: #0A66C2;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
  }
  .modal-linkedin::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: #0A66C2;
    transition: width 0.25s ease;
  }
  .modal-linkedin:hover::after { width: 100%; }

  @media (max-width: 560px) {
    .modal-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .modal-photo { grid-column: 1; grid-row: auto; margin-bottom: 1rem; }
    .modal-name, .modal-title, .modal-content { grid-column: 1; grid-row: auto; width: 100%; }
    .modal-content { text-align: left; }
  }

  #partnerships { background: var(--warm-white); border-top: 1px solid var(--divider); }

  #news { border-top: 1px solid var(--divider); }

  #contact { background: var(--ink-alt); color: var(--cream); text-align: center; padding: 8rem 3rem; }
  .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; max-width: 1200px; margin: 0 auto; width: 100%; }
  #contact .section-label { color: rgba(var(--cream-rgb), 0.5); }
  #contact h2 { color: var(--cream); font-size: clamp(2.5rem, 5vw, 5rem); }
  #contact hr { border-color: var(--divider); }
  #contact .contact-info { text-align: left; display: flex; flex-direction: column; gap: 0.9rem; }
  #contact ul { list-style: none; padding: 0; margin: 0; }
  #contact a { text-decoration: none; color: inherit; }
  .contact-info-row { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.1rem; line-height: 1; }
  .contact-info-row svg { flex-shrink: 0; }

  .contact-info-row--address { align-items: flex-start; }
  .contact-info-row--address span { line-height: 1.4; }
  .contact-info-row--address svg { position: relative; top: 3px; }
  a.contact-info-row { text-decoration: none; color: inherit; }
  a.contact-info-row span { position: relative; }
  a.contact-info-row span::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: currentColor;
    transition: width 0.25s ease;
  }
  a.contact-info-row span:hover::after,
  a.contact-info-row:focus-visible span::after { width: 100%; }

  .form-div { text-align: left; }
  .form-div h3 { color: var(--white); font-weight: 300; margin-bottom: 1.25rem; }
  .form-div h2 { margin-bottom: 0.85rem; }

  .form-intro { color: rgba(var(--cream-rgb), 0.85); font-size: 1.2rem; }

  @media (min-width: 901px) {
    #contact .contact-info { margin-top: calc(clamp(2.5rem, 5vw, 5rem) * 1.15 + 0.85rem); }
  }
  #contact .form-points { list-style: none; padding: 0; margin: 0 0 0.9rem; }
  .form-points li {
    position: relative;
    padding-left: 1.4rem;
    color: rgba(var(--cream-rgb), 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.35rem;
  }
  .form-points li::before {
    content: '•';
    position: absolute;
    left: 0.15rem;
    color: var(--cream);
    font-size: 1.3rem;
    line-height: 1.35;
  }

  .cf-field {
    position: relative;
    margin-bottom: 1.25rem;
  }
  .cf-field input,
  .cf-field textarea {
    display: block;
    width: 100%;
    background: var(--cream);
    border: 1px solid var(--sand);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    padding: 1.3rem 0.9rem 0.45rem;
    outline: none;
    border-radius: 2px;
    transition: border-color 0.2s, background 0.2s;
  }
  .cf-field textarea { resize: vertical; min-height: 90px; }
  .cf-field input:focus,
  .cf-field textarea:focus { border-color: var(--ink-alt); outline: none; }
  .cf-field label {
    position: absolute;
    left: 0.9rem;
    top: 0.9rem;
    font-family: var(--body);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: rgba(var(--ink-rgb), 0.65);
    pointer-events: none;
    transition: top 0.18s, font-size 0.18s, color 0.18s;
  }
  .cf-field input:focus + label,
  .cf-field input:not(:placeholder-shown) + label,
  .cf-field textarea:focus + label,
  .cf-field textarea:not(:placeholder-shown) + label {
    top: 0.28rem;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: rgba(var(--ink-rgb), 0.7);
  }

  .cf-toggle { display: flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.05em; color: rgba(var(--cream-rgb), 0.7); margin-bottom: 1.25rem; cursor: pointer; }
  .cf-toggle input { display: none; }
  .cf-toggle-track { position: relative; width: 36px; height: 20px; background: rgba(var(--cream-rgb), 0.2); border-radius: 10px; flex-shrink: 0; transition: background 0.2s; }
  .cf-toggle input:checked ~ .cf-toggle-track { background: rgba(var(--cream-rgb), 0.6); }
  .cf-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: var(--cream); border-radius: 50%; transition: left 0.2s; display: flex; align-items: center; justify-content: center; }
  .cf-toggle-thumb::after { content: '✕'; font-size: 10px; line-height: 1; color: rgba(var(--cream-rgb), 0.35); font-weight: bold; }
  .cf-toggle input:checked ~ .cf-toggle-track .cf-toggle-thumb { left: 19px; }
  .cf-toggle input:checked ~ .cf-toggle-track .cf-toggle-thumb::after { content: '✓'; color: var(--moss); }

  .form-div button[type="submit"] {
    display: block;
    width: fit-content;
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.6;
    color: var(--coral-ink);
    background: var(--coral);
    padding: 0.85rem 2.2rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    margin-top: 0.75rem;
    margin-left: auto;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .form-div button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(var(--coral-rgb), 0.45); }
  .form-div button[type="submit"]:active { transform: translateY(0); box-shadow: none; }

  #cf-success-view {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
  }
  #cf-form-view[hidden], #cf-success-view[hidden] { display: none; }
  .cf-error { color: #ffb0a0; font-size: 0.72rem; letter-spacing: 0.02em; margin-top: 0.4rem; }
  .cf-error[hidden] { display: none; }
  .success-floatsy {
    width: 52px;
    opacity: 0.9;
    animation: floatBob 3s ease-in-out infinite;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
  }
  @keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
  }
  .success-heading {
    font-family: var(--heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
  }
  .success-sub {
    font-size: 1.2rem;
    color: rgba(var(--cream-rgb), 0.7);
    margin: 0;
    line-height: 1.6;
  }
  .success-dismiss {
    margin-top: 0.5rem;
    background: none;
    border: none;
    font-family: var(--body);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral);
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .contact-sub { font-size: 1.2rem; color: rgba(var(--cream-rgb), 0.82); max-width: 44ch; margin: 1rem auto 3.5rem; line-height: 1.75; }

  .contact-options { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

  .contact-btn {
    display: inline-block;
    font-family: var(--body);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s, transform 0.15s ease, box-shadow 0.15s ease;
  }
  .contact-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,255,255,0.12); }
  .contact-btn.primary { background: var(--cream); color: var(--moss); }
  .contact-btn.secondary { background: transparent; color: var(--cream); border: 1px solid rgba(var(--cream-rgb), 0.4); }

  footer { background: var(--ink-alt); color: rgba(var(--cream-rgb), 0.8); padding: 2rem 3rem; display: flex; justify-content: space-between; align-items: center; font-family: var(--body); font-size: 1.2rem; letter-spacing: 0.08em; }
  footer a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
  footer a span { position: relative; padding-bottom: 2px; }
  footer a span::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--cream);
    transition: width 0.25s ease;
  }
  footer a:hover { color: var(--cream); }
  footer a:hover span::after { width: 100%; }

  .legal { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + 4rem) 3rem 6rem; color: var(--ink); }
  .legal h1 { font-family: var(--heading); font-weight: 600; color: var(--moss-light); font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.01em; line-height: 1.1; }
  .legal .legal-meta { color: rgba(var(--ink-rgb), 0.55); font-size: 1rem; letter-spacing: 0.05em; margin: 0.5rem 0 2.5rem; }
  .legal h2 { font-family: var(--heading); font-weight: 600; color: var(--ink-alt); font-size: 1.4rem; margin: 2.75rem 0 0.75rem; }
  .legal p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1rem; color: rgba(var(--ink-rgb), 0.85); }
  .legal ul { margin: 0 0 1rem 1.4rem; }
  .legal li { font-size: 1.05rem; line-height: 1.7; margin-bottom: 0.4rem; color: rgba(var(--ink-rgb), 0.85); }
  .legal strong { font-weight: 600; color: var(--ink); }
  .legal a { color: var(--moss-light); text-decoration: underline; text-underline-offset: 3px; }
  .legal a:hover { color: var(--ink-alt); }
  .legal address { font-style: normal; line-height: 1.8; font-size: 1.05rem; color: rgba(var(--ink-rgb), 0.85); }

  @media (max-width: 900px) {
    .legal { padding: calc(var(--nav-h) + 2.5rem) 1.5rem 4rem; }
  }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
  }

  @media (max-width: 900px) {

    nav, nav.nav--top { padding: 1rem 1.5rem 0.5rem 1.5rem; }
    nav.nav--top .nav-logo img { height: 40px; }
    section { padding: 5rem 1.5rem; }
    #home { padding: 7rem 1.5rem 5rem; }
    .hero-headline { font-size: min(9vw, 4rem); }
    .hero-nowrap { white-space: normal; }
    .team-grid { grid-template-columns: 1fr; justify-items: center; }
    .team-card { max-width: 80%; width: 100%; }
    .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
    #contact .form-div { order: -1; }
    #contact { text-align: left; }
    footer { flex-direction: column; gap: 0.75rem; text-align: center; }
  }

  .how-section { background: var(--warm-white); border-top: 1px solid var(--divider); padding: 6rem 3rem 4rem; }
  .how-header { max-width: 780px; margin: 0 auto 2.5rem; text-align: center; }
  .how-eyebrow { font-family: var(--body); font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss-light); margin-bottom: 1rem; }
  .how-heading { font-family: var(--heading); font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 300; color: var(--ink); line-height: 1.15; margin-bottom: 1rem; }
  .how-intro { font-size: 1.2rem; color: rgba(var(--ink-rgb), 0.8); line-height: 1.7; max-width: 62ch; margin: 0 auto; }

  .how-scrolly { --beat-pad: 15vh; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 60fr 40fr; gap: 3rem; align-items: start; }

  .how-figure { position: sticky; top: 12vh; align-self: start; display: flex; flex-direction: column; align-items: center; }
  .nv-figcaption { text-align: center; margin-bottom: 1.1rem; }
  .nv-fig-eyebrow { font-family: var(--body); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss-light); margin-bottom: 0.3rem; }
  .nv-fig-subline { font-family: var(--heading); font-style: italic; font-size: 1.05rem; color: rgba(var(--ink-rgb), 0.68); }
  .nv-fig-wrap { width: 100%; display: flex; justify-content: center; align-items: center; }
  .nv-fig { display: block; overflow: visible; }
  .how-fig--desktop { width: 100%; height: auto; }
  .how-fig--mobile { display: none; }
  .nv-ticks { display: none; }

  .how-beat { position: relative; padding: var(--beat-pad) 0; }
  .how-beat-kicker { font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--moss-light); margin-bottom: 0.7rem; }
  .how-beat-title { font-family: var(--heading); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; color: var(--ink); line-height: 1.15; margin-bottom: 0.85rem; }
  .how-beat-body { font-size: 1.15rem; line-height: 1.65; color: rgba(var(--ink-rgb), 0.9); max-width: 42ch; }
  .how-beat-body--mobile { display: none; }

  .how-scrolly.is-enhanced .how-beat { opacity: 0.32; transition: opacity 0.32s ease; }
  .how-scrolly.is-enhanced .how-beat.is-active { opacity: 1; }

  .how-scrolly.is-enhanced .how-beat::before {
    content: ''; position: absolute; left: -1.75rem; top: var(--beat-pad); bottom: var(--beat-pad); width: 2px;
    background: var(--moss-light); transform: scaleY(0); transform-origin: top; transition: transform 0.32s ease 0.05s;
  }
  .how-scrolly.is-enhanced .how-beat.is-active::before { transform: scaleY(1); }

  .how-closing { text-align: center; font-family: var(--heading); font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 300; font-style: italic; color: var(--ink); margin: 3.5rem auto 0; max-width: 40ch; }

  .nv-band       { fill: rgba(var(--moss-rgb), 0.10); }
  .nv-ring-outer { fill: none; stroke: var(--moss-light); stroke-width: 1.5; }
  .nv-ring-inner { fill: none; stroke: rgba(var(--moss-rgb), 0.55); stroke-width: 1.25; }
  .nv-lipid-dot  { fill: var(--ink-alt); }
  .nv-ligand-dot { fill: var(--moss); }
  .nv-pill-dna    { fill: var(--c-dna); }
  .nv-pill-guide  { fill: var(--c-guide); }
  .nv-pill-editor { fill: var(--c-editor); }
  .nv-pill-text   { fill: #fff; font-family: var(--body); font-weight: 600; }
  .nv-callout-bg   { fill: var(--warm-white); }
  .nv-callout-box  { fill: none; stroke: var(--ink-alt); stroke-width: 1.25; }
  .nv-callout-text { fill: rgba(var(--ink-rgb), 0.85); font-family: var(--body); }
  .nv-conclusion   { fill: var(--ink-alt); font-family: var(--heading); }
  .nv-arrow        { fill: var(--c-ligand); }

  .nv-fig .fig__group  { transition: opacity 420ms ease, filter 420ms ease; }
  .nv-fig .is-dimmed { opacity: 0.16; filter: grayscale(1); }

  @media (max-width: 767px) {
    .how-section { padding: 4rem 1.5rem 3rem; }
    .how-scrolly { --beat-pad: 16vh; grid-template-columns: 1fr; gap: 0; }
    .how-figure { position: sticky; top: var(--nav-h); max-height: 52vh; background: var(--warm-white); border-bottom: 1px solid var(--divider); z-index: 5; padding: 0.75rem 0 0.9rem; }
    .nv-figcaption { display: none; }
    .how-fig--desktop { display: none; }
    .how-fig--mobile { display: block; width: 90vw; height: auto; max-height: 46vh; }
    .how-steps { min-height: 60vh; }
    .how-scrolly.is-enhanced .how-beat::before { display: none; }
    .how-beat-body--desktop { display: none; }
    .how-beat-body--mobile { display: block; }
    .nv-ticks { display: flex; gap: 6px; width: 62%; margin-top: 0.7rem; }
    .nv-tick { flex: 1; height: 3px; border-radius: 2px; background: var(--divider); transition: background 0.3s ease; }
    .nv-tick.is-on { background: var(--ink-alt); }
  }

  @media (prefers-reduced-motion: reduce) {
    .nv-fig .fig__group, .how-scrolly.is-enhanced .how-beat,
    .how-scrolly.is-enhanced .how-beat::before, .nv-tick { transition-duration: 0ms !important; }
  }

  .pillars-section { background: var(--white); border-top: 1px solid var(--divider); padding: 6rem 3rem; text-align: center; }
  .pillars-eyebrow { font-family: var(--body); font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss-light); margin-bottom: 1rem; }
  .pillars-heading { font-family: var(--heading); font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 300; color: var(--ink); line-height: 1.15; margin: 0 auto 3rem; max-width: 20ch; }

  .pillars { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; text-align: left; display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 40px; }
  .pillar__title { font-family: var(--heading); font-size: 1.35rem; font-weight: 500; color: var(--ink); line-height: 1.25; margin: 0 0 0.5rem; }

  .pillar__title::before { content: ""; display: block; width: 28px; height: 2px; background: var(--coral); margin-bottom: 16px; }
  .pillar__body { font-size: 1.1rem; line-height: 1.65; color: rgba(var(--ink-rgb), 0.8); margin: 0; }

  @media (max-width: 640px) {
    .pillars-section { padding: 4rem 1.5rem; }
    .pillars { grid-template-columns: 1fr; gap: 28px; }
  }
