:root {
      --bg: #f7f4ee;
      --panel: #ffffff;
      --ink: #18202a;
      --muted: #5f6b78;
      --line: #d9d2c7;
      --accent: #315f72;
      --accent-dark: #244a59;
      --accent-soft: #e5eff2;
      --gold: #c18f3a;
      --shadow: 0 22px 60px rgba(24, 32, 42, 0.12);
      --radius: 22px;
      --max: 1280px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scrollbar-gutter: stable;
    }

    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at top left, rgba(49, 95, 114, 0.16), transparent 36rem),
        radial-gradient(circle at top right, rgba(193, 143, 58, 0.15), transparent 30rem),
        var(--bg);
      line-height: 1.6;
    }

    a {
      color: inherit;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(16px);
      background: rgba(247, 244, 238, 0.82);
      border-bottom: 1px solid rgba(217, 210, 199, 0.72);
    }

    .nav {
      max-width: var(--max);
      margin: 0 auto;
      padding: 1rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      min-width: 0;
    }

    .brand-logo {
      display: block;
      width: clamp(210px, 28vw, 340px);
      height: auto;
      max-height: 58px;
      object-fit: contain;
    }

    .brand-tagline {
      margin-left: 1.15rem;
      padding-left: 1.15rem;
      border-left: 1px solid rgba(49, 95, 114, 0.32);
      max-width: 260px;
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 700;
      line-height: 1.25;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      font-size: 0.95rem;
      color: var(--muted);
    }

    .nav-links a {
      text-decoration: none;
    }

    .nav-links a:hover {
      color: var(--ink);
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      min-height: 46px;
      padding: 0.8rem 1.15rem;
      border-radius: 999px;
      border: 1px solid transparent;
      background: var(--accent);
      color: #fff;
      text-decoration: none;
      font-weight: 750;
      line-height: 1;
      box-shadow: 0 14px 28px rgba(49, 95, 114, 0.24);
      transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    }

    .button:hover {
      transform: translateY(-1px);
      background: var(--accent-dark);
      box-shadow: 0 18px 34px rgba(49, 95, 114, 0.3);
    }

    .button.secondary {
      background: rgba(255, 255, 255, 0.72);
      color: var(--ink);
      border-color: var(--line);
      box-shadow: none;
    }

    .button.secondary:hover {
      background: #fff;
      box-shadow: 0 12px 28px rgba(24, 32, 42, 0.08);
    }

    main {
      overflow: hidden;
    }

    .hero {
      max-width: var(--max);
      margin: 0 auto;
      padding: 5.5rem 1.25rem 4rem;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
      gap: 3rem;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.45rem 0.75rem;
      border: 1px solid rgba(49, 95, 114, 0.18);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.68);
      color: var(--accent-dark);
      font-weight: 750;
      font-size: 0.88rem;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gold);
      box-shadow: 0 0 0 5px rgba(193, 143, 58, 0.16);
    }

    h1, h2, h3 {
      line-height: 1.1;
      letter-spacing: -0.055em;
      margin: 0;
    }

    h1 {
      margin-top: 1.4rem;
      font-size: clamp(2.75rem, 6vw, 5.7rem);
      max-width: 10ch;
    }

    .hero-lede {
      margin: 1.4rem 0 0;
      max-width: 650px;
      font-size: clamp(1.1rem, 2vw, 1.32rem);
      color: var(--muted);
    }

    .hero-actions {
      margin-top: 2rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.85rem;
    }

    .trust-row {
      margin-top: 2rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .trust-pill {
      padding: 0.55rem 0.75rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.66);
      border: 1px solid rgba(217, 210, 199, 0.85);
    }

    .hero-card {
      position: relative;
      border-radius: 30px;
      background: rgba(255, 255, 255, 0.78);
      border: 1px solid rgba(255, 255, 255, 0.78);
      box-shadow: var(--shadow);
      padding: 1.2rem;
      isolation: isolate;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      inset: 1.2rem 1.2rem auto auto;
      width: 120px;
      height: 120px;
      border-radius: 999px;
      background: rgba(193, 143, 58, 0.14);
      z-index: -1;
    }

    .terminal {
      overflow: hidden;
      border-radius: 22px;
      background: #121922;
      color: #e8edf2;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    }

    .terminal-top {
      display: flex;
      gap: 0.45rem;
      padding: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.04);
    }

    .dot {
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
    }

    .terminal-body {
      padding: 1.15rem;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      font-size: 0.92rem;
      line-height: 1.7;
    }

    .terminal-body span {
      color: #8fd0a3;
    }

    .workflow-list {
      margin: 1rem 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 0.75rem;
    }

    .workflow-list li {
      background: #fff;
      border: 1px solid rgba(217, 210, 199, 0.85);
      border-radius: 16px;
      padding: 0.9rem;
      color: var(--muted);
      display: flex;
      gap: 0.7rem;
      align-items: flex-start;
    }

    .workflow-list strong {
      color: var(--ink);
      display: block;
    }

    .check {
      flex: 0 0 auto;
      width: 23px;
      height: 23px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--accent-soft);
      color: var(--accent-dark);
      font-weight: 900;
      font-size: 0.85rem;
      margin-top: 0.1rem;
    }

    .section {
      max-width: var(--max);
      margin: 0 auto;
      padding: 4.25rem 1.25rem;
      scroll-margin-top: 120px;
    }

    .section-header {
      max-width: 720px;
      margin-bottom: 2rem;
    }

    .section-label {
      color: var(--accent-dark);
      text-transform: uppercase;
      letter-spacing: 0.13em;
      font-size: 0.78rem;
      font-weight: 850;
      margin-bottom: 0.75rem;
    }

    h2 {
      font-size: clamp(2rem, 4vw, 3.3rem);
    }

    .section-header p {
      margin: 1rem 0 0;
      color: var(--muted);
      font-size: 1.08rem;
    }

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

    .card {
      background: rgba(255, 255, 255, 0.78);
      border: 1px solid rgba(217, 210, 199, 0.85);
      border-radius: var(--radius);
      padding: 1.35rem;
      box-shadow: 0 14px 40px rgba(24, 32, 42, 0.07);
    }

    .card h3 {
      font-size: 1.35rem;
      letter-spacing: -0.035em;
      margin-bottom: 0.65rem;
    }

    .card p {
      margin: 0;
      color: var(--muted);
    }

    .packages {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      align-items: stretch;
    }

    .package {
      display: flex;
      flex-direction: column;
      background: var(--panel);
      border: 1px solid rgba(217, 210, 199, 0.9);
      border-radius: 26px;
      padding: 1.45rem;
      box-shadow: 0 16px 44px rgba(24, 32, 42, 0.08);
    }

    .package.featured {
      border-color: rgba(49, 95, 114, 0.38);
      box-shadow: 0 24px 62px rgba(49, 95, 114, 0.14);
      transform: translateY(-0.35rem);
    }

    .package-tag {
      align-self: flex-start;
      margin-bottom: 1rem;
      border-radius: 999px;
      padding: 0.35rem 0.65rem;
      font-size: 0.78rem;
      font-weight: 850;
      color: var(--accent-dark);
      background: var(--accent-soft);
    }

    .price {
      margin: 0.9rem 0 1rem;
      font-size: 1.7rem;
      font-weight: 900;
      letter-spacing: -0.045em;
    }

    .package ul {
      margin: 1rem 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 0.65rem;
      color: var(--muted);
    }

    .package li {
      display: flex;
      gap: 0.6rem;
      align-items: flex-start;
    }

    .package li::before {
      content: "✓";
      color: var(--accent-dark);
      font-weight: 900;
    }

    .package .button {
      margin-top: auto;
      width: 100%;
    }

    .note {
      margin-top: 1.2rem;
      color: var(--muted);
      font-size: 0.92rem;
    }

    .split {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 1.5rem;
      align-items: center;
    }

    .callout {
      background: var(--ink);
      color: #fff;
      border-radius: 30px;
      padding: clamp(1.6rem, 4vw, 3rem);
      box-shadow: var(--shadow);
    }

    .callout p {
      color: rgba(255, 255, 255, 0.76);
    }

    .steps {
      display: grid;
      gap: 0.9rem;
    }

    .step {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.9rem;
      align-items: flex-start;
      background: rgba(255, 255, 255, 0.78);
      border: 1px solid rgba(217, 210, 199, 0.85);
      border-radius: 20px;
      padding: 1rem;
    }

    .step-number {
      width: 34px;
      height: 34px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      color: #fff;
      background: var(--accent);
      font-weight: 900;
    }

    .step h3 {
      font-size: 1.05rem;
      letter-spacing: -0.025em;
      margin-bottom: 0.25rem;
    }

    .step p {
      margin: 0;
      color: var(--muted);
    }

    .contact-panel {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 1.5rem;
      align-items: center;
      background:
        linear-gradient(135deg, rgba(49, 95, 114, 0.96), rgba(24, 32, 42, 0.96)),
        var(--accent);
      border-radius: 34px;
      padding: clamp(1.6rem, 4vw, 3rem);
      color: #fff;
      box-shadow: var(--shadow);
    }

    .contact-panel p {
      margin: 1rem 0 0;
      color: rgba(255, 255, 255, 0.76);
      max-width: 660px;
    }

    .contact-panel .button {
      background: #fff;
      color: var(--ink);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
    }

    .contact-panel .button:hover {
      background: #f6f6f6;
    }

    .form-panel {
      background: rgba(255, 255, 255, 0.82);
      border: 1px solid rgba(217, 210, 199, 0.9);
      border-radius: 34px;
      padding: clamp(1.4rem, 4vw, 3rem);
      box-shadow: var(--shadow);
    }

    .form-header {
      margin-bottom: 1.6rem;
    }

    .intake-form {
      display: grid;
      gap: 1.25rem;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }

    .intake-form label {
      display: grid;
      gap: 0.45rem;
      color: var(--ink);
      font-weight: 750;
    }

    .intake-form label.full {
      grid-column: 1 / -1;
    }

    .intake-form span {
      font-size: 0.92rem;
    }

    .intake-form input,
    .intake-form textarea,
    .intake-form select {
      width: 100%;
      border: 1px solid rgba(217, 210, 199, 0.95);
      border-radius: 16px;
      padding: 0.85rem 0.95rem;
      font: inherit;
      color: var(--ink);
      background: #fff;
      outline: none;
      transition: border-color 160ms ease, box-shadow 160ms ease;
    }

    .intake-form textarea {
      resize: vertical;
      min-height: 120px;
    }

    .intake-form input:focus,
    .intake-form textarea:focus,
    .intake-form select:focus {
      border-color: rgba(49, 95, 114, 0.65);
      box-shadow: 0 0 0 4px rgba(49, 95, 114, 0.12);
    }

    .form-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1rem;
      margin-top: 0.25rem;
    }

    .form-actions p {
      margin: 0;
      color: var(--muted);
    }

    .form-actions a {
      color: var(--accent-dark);
      font-weight: 800;
    }

    .site-footer {
      border-top: 1px solid rgba(217, 210, 199, 0.72);
      padding: 2rem 1.25rem;
      color: var(--muted);
    }

    .footer-inner {
      max-width: var(--max);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      font-size: 0.95rem;
    }


.about-section {
  padding-top: 2rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.about-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 210, 199, 0.9);
  border-radius: 26px;
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 16px 44px rgba(24, 32, 42, 0.08);
}

.about-card p {
  margin: 0;
  color: var(--muted);
}

.about-card p + p {
  margin-top: 1rem;
}


.how-section {
  padding-top: 2rem;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.how-card {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 210, 199, 0.9);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 16px 44px rgba(24, 32, 42, 0.07);
}

.how-number {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.how-card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.how-card p {
  margin: 0;
  color: var(--muted);
}

.privacy-note {
  margin-top: 0.9rem !important;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(49, 95, 114, 0.16);
  background: rgba(229, 239, 242, 0.55);
  font-size: 0.95rem !important;
}


.fit-section {
  padding-top: 2rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fit-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 210, 199, 0.9);
  border-radius: 26px;
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 16px 44px rgba(24, 32, 42, 0.08);
}

.fit-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.fit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.fit-card li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.fit-card li::before {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.82rem;
  margin-top: 0.05rem;
}

.good-fit li::before {
  content: "✓";
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.not-fit li::before {
  content: "–";
  background: rgba(193, 143, 58, 0.14);
  color: #8a6428;
}


.examples-section {
  padding-top: 2rem;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.example-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 210, 199, 0.9);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 16px 44px rgba(24, 32, 42, 0.07);
}

.example-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.example-card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.example-card p {
  margin: 0;
  color: var(--muted);
}


.section-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.service-hero h1 {
  max-width: 12ch;
}

.final-cta {
  padding-top: 2rem;
}


.founder-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(217, 210, 199, 0.9);
}

.founder-headshot {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(217, 210, 199, 0.95);
  box-shadow: 0 14px 30px rgba(24, 32, 42, 0.12);
}

.founder-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.founder-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 560px) {
  .founder-card {
    align-items: flex-start;
  }

  .founder-headshot {
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }
}

    @media (max-width: 900px) {
      .hero,
      .split,
      .contact-panel,
      .about-layout {
        grid-template-columns: 1fr;
      }

      .grid-3,
      .packages,
      .how-grid,
      .fit-grid,
      .examples-grid {
        grid-template-columns: 1fr;
      }

      .package.featured {
        transform: none;
      }

      .nav-links {
        display: none;
      }

      .brand-logo {
        width: clamp(190px, 44vw, 285px);
        max-height: 54px;
      }
      
      .brand-tagline {
        display: none;
      }

      .form-grid {
        grid-template-columns: 1fr;
      }

      .form-actions .button {
        width: 100%;
      }
    }

    @media (max-width: 560px) {
      .section-actions,
      .section-actions .button {
        width: 100%;
      }

      .hero {
        padding-top: 3.5rem;
      }

      h1 {
        font-size: 3rem;
      }

      .hero-actions,
      .button {
        width: 100%;
      }

      .button {
        text-align: center;
      }

      .terminal-body {
        font-size: 0.8rem;
      }
      
      .brand-logo {
         width: min(72vw, 245px);
         max-height: 48px;
      }
    }
/* Shared site header and global page additions */
.brand-tagline {
  margin-left: 1.15rem;
  padding-left: 1.15rem;
  border-left: 1px solid rgba(49, 95, 114, 0.32);
  max-width: 260px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

/* Thank-you page */
.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-page main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 4rem 1.25rem;
  overflow: visible;
}

.thank-you-panel {
  width: 100%;
  max-width: var(--max);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 210, 199, 0.9);
  border-radius: 34px;
  padding: clamp(1.8rem, 5vw, 4rem);
  box-shadow: var(--shadow);
}

.thank-you-panel h1 {
  max-width: 820px;
}

.thank-you-panel p {
  max-width: 690px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.thank-you-panel .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .brand-tagline {
    display: none;
  }

  .thanks-page .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .thank-you-panel .actions,
  .thank-you-panel .button {
    width: 100%;
  }
}


.bot-check {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Founder headshot framing override */
.about-card .founder-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(217, 210, 199, 0.9);
}

.about-card .founder-headshot {
  display: block;
  width: 128px !important;
  height: 128px !important;
  max-width: 128px !important;
  max-height: 128px !important;
  border-radius: 28px;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid rgba(217, 210, 199, 0.95);
  box-shadow: 0 14px 30px rgba(24, 32, 42, 0.12);
  background: #f7f4ee;
}

.about-card .founder-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.about-card .founder-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 560px) {
  .about-card .founder-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .about-card .founder-headshot {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    border-radius: 20px;
  }
}

/* Mobile nav visibility repair */
@media (max-width: 900px) {
  .site-header .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .site-header .brand {
    align-items: center;
  }

  .site-header .brand-logo {
    width: clamp(210px, 68vw, 340px);
    height: auto;
    max-height: 58px;
  }

  .site-header .brand-tagline {
    display: block;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    max-width: 100%;
  }

  .site-header .nav-links {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 0.8rem 1.25rem;
    color: var(--muted);
    font-size: 0.95rem;
  }

  .site-header .nav-links a {
    display: inline-flex;
    text-decoration: none;
  }
}

@media (max-width: 560px) {
  .site-header .nav {
    padding: 1rem 1.25rem;
  }

  .site-header .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .site-header .brand-logo {
    width: min(78vw, 330px);
    height: auto;
    max-height: none;
  }

  .site-header .brand-tagline {
    display: block !important;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .site-header .nav-links {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.65rem 1.15rem;
    font-size: 0.98rem;
    line-height: 1.3;
  }
}

/* Match demo app mobile header layout */
@media (max-width: 920px) {
  .site-header .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .site-header .brand {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 0;
    min-width: 0;
  }

  .site-header .brand-logo {
    display: block;
    width: clamp(190px, 60vw, 320px);
    height: auto;
    max-height: 58px;
    object-fit: contain;
  }

  .site-header .brand-tagline {
    display: inline-block !important;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    max-width: 100%;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .site-header .nav-links {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    gap: 1.25rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.3;
  }

  .site-header .nav-links a {
    display: inline-flex;
    color: inherit;
    text-decoration: none;
  }

  .site-header .nav-links a:hover {
    color: var(--ink);
  }
}

@media (max-width: 640px) {
  .site-header .nav {
    padding: 1rem 1.25rem;
  }

  .site-header .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .site-header .brand-logo {
    width: clamp(190px, 60vw, 320px);
    height: auto;
    max-height: 54px;
  }

  .site-header .brand-tagline {
    display: inline-block !important;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    max-width: 100%;
  }

  .site-header .nav-links {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.25rem;
    width: 100%;
  }
}
