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

  :root {
    --slate-dark: #1C2B3A;
    --slate-mid: #2E4057;
    --slate-soft: #3D5A73;
    --teal: #028090;
    --teal-light: #02C39A;
    --bg: #F2F6F9;
    --bg-card: #EAF1F6;
    --white: #ffffff;
    --text: #1C2B3A;
    --muted: #5a7a90;
    --border: #ccdde8;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
  }

  a { color: inherit; }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(242, 246, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    gap: 1.5rem;
  }

  .nav-logo img { height: 26px; width: auto; display: block; }
  .nav-logo { flex-shrink: 0; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    flex: 1;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-mid);
    text-decoration: none;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
  }

  .nav-links a:hover { color: var(--teal); }
  .nav-links a.active { color: var(--slate-dark); border-bottom-color: var(--teal-light); }

  .nav-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

  .nav-cta {
    background: var(--slate-dark);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 1.3rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
  }
  .nav-cta:hover { background: var(--teal); }

  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--slate-dark); border-radius: 2px; }

  @media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
      display: none;
      position: fixed;
      top: 63px; left: 0; right: 0;
      background: var(--bg);
      border-bottom: 1px solid var(--border);
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      padding: 0.5rem 5vw 1rem;
      max-height: calc(100vh - 63px);
      overflow-y: auto;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
    .nav-links a.active { border-bottom: 1px solid var(--border); border-left: 3px solid var(--teal-light); padding-left: 0.6rem; }
  }

  /* HERO */
  .hero {
    padding: 9rem 5vw 6rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
  }

  .hero-tag {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    border: 1px solid var(--teal);
    padding: 0.28rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--slate-dark);
    max-width: 700px;
    margin-bottom: 1.5rem;
  }

  .hero h1 em { font-style: italic; color: var(--teal); }

  .hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.8;
  }

  .btn-main {
    display: inline-block;
    background: var(--slate-dark);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 1.75rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  .btn-main:hover { background: var(--teal); transform: translateY(-1px); }

  .btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--slate-dark);
    border: 1px solid var(--slate-dark);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.8rem 1.7rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s;
  }
  .btn-outline:hover { background: var(--slate-dark); color: #fff; }

  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 4.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
  }

  .stat-num {
    font-family: 'Instrument Serif', serif;
    font-size: 2.2rem;
    color: var(--teal);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
  }
  .stat-label {
    font-size: 0.76rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* SUBPAGE HEADER (used on every non-home page) */
  .page-header {
    padding: 8.5rem 5vw 4rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .breadcrumb {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
  }
  .breadcrumb a { color: var(--muted); text-decoration: none; }
  .breadcrumb a:hover { color: var(--teal); }

  .page-header h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--slate-dark);
    max-width: 700px;
    margin-bottom: 1rem;
  }

  .page-header .hero-sub { margin-bottom: 0; }

  /* SECTION WRAPPER */
  .section-wrap {
    padding: 5.5rem 5vw;
  }

  .section-wrap.tight { padding-top: 0; }

  .section-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-tag {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    display: block;
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.7rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--slate-dark);
    max-width: 580px;
    margin-bottom: 1rem;
  }

  .section-body {
    font-size: 1rem;
    color: var(--muted);
    max-width: 520px;
    font-weight: 300;
    line-height: 1.8;
  }

  /* ALT SECTION BG */
  .section-alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

  /* PROBLEM GRID */
  .problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1px;
    margin-top: 3.5rem;
    border: 1px solid var(--border);
    background: var(--border);
  }

  .problem-card {
    background: var(--white);
    padding: 2rem;
  }

  .problem-num {
    font-family: 'Instrument Serif', serif;
    font-size: 1.4rem;
    color: var(--border);
    display: block;
    margin-bottom: 0.85rem;
  }

  .problem-card h3 { font-size: 0.9rem; font-weight: 500; color: var(--slate-dark); margin-bottom: 0.5rem; }
  .problem-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.7; font-weight: 300; }

  /* SERVICES */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
  }

  .service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .service-card:hover { border-color: var(--teal); box-shadow: 0 4px 16px rgba(2,128,144,0.08); }

  .service-reg {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    display: block;
    margin-bottom: 0.6rem;
  }

  .service-card h3 { font-size: 0.95rem; font-weight: 500; color: var(--slate-dark); margin-bottom: 0.5rem; }
  .service-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; font-weight: 300; }

  /* STEPS */
  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
  }

  .step-num {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    color: var(--border);
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1;
  }

  .step h3 { font-size: 0.9rem; font-weight: 500; color: var(--slate-dark); margin-bottom: 0.5rem; }
  .step p { font-size: 0.84rem; color: var(--muted); line-height: 1.7; font-weight: 300; }

  /* INDUSTRIES */
  .industries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2rem;
  }

  .industry-tag {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.83rem;
    color: var(--muted);
  }

  .industry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
  }
  .industry-card h3 { font-size: 1rem; font-weight: 500; color: var(--slate-dark); margin-bottom: 0.5rem; }
  .industry-card p { font-size: 0.85rem; color: var(--muted); font-weight: 300; line-height: 1.7; }
  .industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
  }

  /* CARD LINK (home teasers) */
  .teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
  }
  .teaser-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  }
  .teaser-card:hover { border-color: var(--teal); box-shadow: 0 4px 16px rgba(2,128,144,0.08); transform: translateY(-2px); }
  .teaser-card .section-tag { margin-bottom: 0.6rem; }
  .teaser-card h3 { font-family: 'Instrument Serif', serif; font-size: 1.35rem; font-weight: 400; color: var(--slate-dark); margin-bottom: 0.5rem; }
  .teaser-card p { font-size: 0.85rem; color: var(--muted); font-weight: 300; line-height: 1.65; margin-bottom: 0.9rem; }
  .teaser-card .teaser-link { font-size: 0.8rem; font-weight: 500; color: var(--teal); }

  /* CTA */
  .cta-wrap {
    background: var(--slate-dark);
    padding: 6rem 5vw;
    text-align: center;
  }

  .cta-wrap .section-tag { color: rgba(2,195,154,0.8); }
  .cta-wrap .section-title { color: #fff; margin: 0 auto 1rem; text-align: center; }
  .cta-wrap .section-body { color: rgba(255,255,255,0.6); margin: 0 auto 2.5rem; max-width: 460px; text-align: center; }
  .cta-wrap .section-inner { display: flex; flex-direction: column; align-items: center; }
  .cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

  .btn-teal {
    display: inline-block;
    background: var(--teal-light);
    color: var(--slate-dark);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 1.75rem;
    border-radius: 5px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  .btn-teal:hover { opacity: 0.88; transform: translateY(-1px); }

  .btn-teal-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.8rem 1.7rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s;
  }
  .btn-teal-outline:hover { border-color: #fff; }

  /* FOOTER */
  footer {
    background: var(--slate-dark);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 2.5rem 5vw 1.75rem;
  }

  .footer-top {
    max-width: 1100px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
  .footer-col h4 { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.9rem; font-weight: 500; }
  .footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.75); text-decoration: none; margin-bottom: 0.6rem; }
  .footer-col a:hover { color: var(--teal-light); }

  .footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  footer img { height: 20px; opacity: 0.5; filter: brightness(10); }
  footer p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
  footer a.contact-email { font-size: 0.78rem; color: var(--teal-light); text-decoration: none; }

  .top-bar { height: 3px; background: linear-gradient(90deg, var(--slate-dark), var(--teal-light)); }

  @media (max-width: 640px) { .hero-stats { gap: 1.5rem; } }

  /* COLLABORATORS DIRECTORY */
  .directory-tools {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .directory-search {
    position: relative;
    max-width: 420px;
  }
  .directory-search input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.6rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
  }
  .directory-search input:focus { outline: none; border-color: var(--teal); }
  .directory-search svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }

  .directory-meta { font-size: 0.82rem; color: var(--muted); }
  .directory-meta strong { color: var(--slate-dark); }

  .letter-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
  }
  .letter-index a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--slate-mid);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.15s;
  }
  .letter-index a:hover, .letter-index a.has-results:hover { background: var(--slate-dark); color: #fff; border-color: var(--slate-dark); }
  .letter-index a.no-results { opacity: 0.3; pointer-events: none; }

  .directory-list { margin-top: 3rem; }

  .letter-group { margin-bottom: 2.25rem; scroll-margin-top: 90px; }
  .letter-group-heading {
    font-family: 'Instrument Serif', serif;
    font-size: 1.6rem;
    color: var(--teal);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
  }

  .collab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.9rem;
  }

  .collab-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.1rem 1.25rem;
  }
  .collab-card .collab-name { font-size: 0.92rem; font-weight: 500; color: var(--slate-dark); margin-bottom: 0.3rem; }
  .collab-card .collab-meta { font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

  .directory-empty {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
    font-size: 0.9rem;
  }
  .directory-empty.visible { display: block; }

  .placeholder-note {
    margin-top: 3.5rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    font-size: 0.82rem;
    color: var(--muted);
    max-width: 640px;
  }
  .placeholder-note strong { color: var(--slate-dark); }

  /* FORM (Contact / Request page) */
  .form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2.25rem;
    max-width: 620px;
  }

  .form-row { margin-bottom: 1.25rem; }
  .form-row label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--slate-dark);
    margin-bottom: 0.45rem;
  }
  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row select,
  .form-row textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--bg);
  }
  .form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
  .form-row textarea { resize: vertical; min-height: 100px; }

  .form-check { display: flex; align-items: flex-start; gap: 0.6rem; }
  .form-check input { margin-top: 0.3rem; }
  .form-check label { font-size: 0.83rem; color: var(--muted); font-weight: 300; }

  .form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  @media (max-width: 560px) { .form-two-col { grid-template-columns: 1fr; } }

  .contact-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
  }
  @media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

  .side-cta {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
  }
  .side-cta h3 { font-family: 'Instrument Serif', serif; font-size: 1.4rem; font-weight: 400; color: var(--slate-dark); margin-bottom: 0.75rem; }
  .side-cta p { font-size: 0.88rem; color: var(--muted); font-weight: 300; margin-bottom: 1.5rem; }

  .form-success {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem;
  }
  .form-success.visible { display: block; }
  .form-success h3 { font-family: 'Instrument Serif', serif; font-size: 1.6rem; color: var(--slate-dark); margin-bottom: 0.75rem; }
  .form-success p { color: var(--muted); font-size: 0.9rem; }
