
  :root {
    --paper: #f6f7f6;
    --paper-2: #eceff0;
    --ink: #0f2238;
    --text: #2b3846;
    --muted: #5d6b79;
    --line: #d3d9dd;
    --line-strong: #b9c2c8;
    --harbor: #1c6670;
    --harbor-ink: #0f4a52;
    --brass: #a8874f;
    --brass-soft: #e9dcc3;
    --panel: #0f2238;
    --panel-text: #e9eef2;
    --panel-muted: #9fb0c0;
    --panel-line: rgba(233, 238, 242, 0.14);
    --focus: #1c6670;
    --shadow: 0 24px 48px -28px rgba(15, 34, 56, 0.45);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --paper: #0c1826;
      --paper-2: #122236;
      --ink: #f1f4f7;
      --text: #d2dae2;
      --muted: #97a6b6;
      --line: #223549;
      --line-strong: #2f4459;
      --harbor: #63b8c1;
      --harbor-ink: #8fd0d6;
      --brass: #c9a86b;
      --brass-soft: #3a3020;
      --panel: #081220;
      --panel-text: #eef2f6;
      --panel-muted: #92a3b5;
      --panel-line: rgba(238, 242, 246, 0.14);
      --focus: #63b8c1;
      --shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.7);
    }
  }
  :root[data-theme="dark"] {
    --paper: #0c1826;
    --paper-2: #122236;
    --ink: #f1f4f7;
    --text: #d2dae2;
    --muted: #97a6b6;
    --line: #223549;
    --line-strong: #2f4459;
    --harbor: #63b8c1;
    --harbor-ink: #8fd0d6;
    --brass: #c9a86b;
    --brass-soft: #3a3020;
    --panel: #081220;
    --panel-text: #eef2f6;
    --panel-muted: #92a3b5;
    --panel-line: rgba(238, 242, 246, 0.14);
    --focus: #63b8c1;
    --shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.7);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 {
    font-family: "Libre Caslon Text", Georgia, "Times New Roman", serif;
    color: var(--ink);
    font-weight: 400;
    margin: 0;
    text-wrap: balance;
    line-height: 1.15;
  }
  h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -0.01em; }
  h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
  h3 { font-size: 1.25rem; }
  p { margin: 0; }
  a { color: var(--harbor-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
  }
  .mono {
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-variant-numeric: tabular-nums;
  }
  .eyebrow {
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass);
  }
  .wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
  .measure { max-width: 62ch; }
  .lede { font-size: 1.2rem; line-height: 1.55; color: var(--text); }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.8rem 1.35rem;
    font: 600 0.95rem/1 "Source Sans 3", sans-serif;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  }
  .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .btn-primary:hover { background: var(--harbor-ink); border-color: var(--harbor-ink); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-light { background: var(--panel-text); color: var(--panel); border-color: var(--panel-text); }
  .btn-light:hover { background: #fff; }

  /* Nav */
  .nav {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
  .brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
  .brand-mark {
    width: 36px; height: 36px; display: grid; place-items: center;
    border: 1px solid var(--brass); color: var(--brass);
    font-family: "Libre Caslon Text", Georgia, serif; font-size: 1.05rem; font-weight: 700;
  }
  .brand-name { font-family: "Libre Caslon Text", Georgia, serif; font-size: 1.05rem; line-height: 1.1; }
  .brand-sub { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
  .nav-links { display: flex; align-items: center; gap: 1.6rem; }
  .nav-links a { font-size: 0.95rem; text-decoration: none; color: var(--text); }
  .nav-links a:hover { color: var(--harbor-ink); }
  .nav-cta { display: flex; align-items: center; gap: 0.75rem; }
  .nav-toggle {
    display: none; background: none; border: 1px solid var(--line-strong); border-radius: 3px;
    padding: 0.5rem 0.7rem; color: var(--ink); font: 600 0.85rem "Source Sans 3", sans-serif; cursor: pointer;
  }
  @media (max-width: 860px) {
    .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0;
      background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1rem; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
    .nav-links a:last-child { border-bottom: 0; }
    .nav-toggle { display: inline-block; }
    .nav-cta .btn { display: none; }
  }

  /* Hero */
  .hero { padding: 4.5rem 0 4rem; position: relative; overflow: hidden; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr); gap: 3.5rem; align-items: start; }
  .hero-copy { display: grid; gap: 1.5rem; }
  .hero-copy h1 { margin-top: 0; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
  .hero-facts { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
  .fact { display: grid; gap: 0.15rem; }
  .fact b { font-family: "Libre Caslon Text", Georgia, serif; font-weight: 400; color: var(--ink); font-size: 1.1rem; }
  .fact span { font-size: 0.85rem; color: var(--muted); }

  .calendar {
    background: var(--panel); color: var(--panel-text);
    border-radius: 4px; padding: 1.75rem; box-shadow: var(--shadow);
    position: relative; overflow: hidden;
  }
  .calendar canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
  .calendar > * { position: relative; }
  .calendar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
  .calendar-head .eyebrow { color: var(--brass); }
  .calendar-head small { font-size: 0.8rem; color: var(--panel-muted); }
  .calendar ol { list-style: none; margin: 0; padding: 0; display: grid; }
  .calendar li { display: grid; grid-template-columns: 5.4rem 1fr; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--panel-line); align-items: baseline; }
  .calendar li:first-child { border-top: 0; padding-top: 0; }
  .calendar .date { font-size: 0.9rem; color: var(--brass); }
  .calendar .what { font-size: 0.98rem; line-height: 1.4; }
  .calendar .what span { display: block; font-size: 0.82rem; color: var(--panel-muted); }
  .calendar-foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--panel-line); font-size: 0.82rem; color: var(--panel-muted); }
  @media (max-width: 860px) {
    .hero { padding: 3rem 0; }
    .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  }

  /* Trust bar */
  .trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
  .trust .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.1rem 0; }
  .trust div { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; color: var(--text); }
  .trust svg { width: 18px; height: 18px; flex: none; color: var(--brass); }
  @media (max-width: 720px) { .trust .wrap { grid-template-columns: 1fr; gap: 0.5rem; } }

  /* Sections */
  section.block { padding: 5rem 0; }
  .section-head { display: grid; gap: 0.75rem; margin-bottom: 2.5rem; }
  .section-head p { color: var(--muted); max-width: 60ch; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
  @media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

  /* Services */
  .services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .service { padding: 1.75rem 1.5rem 1.9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 0.7rem; align-content: start; }
  .service h3 { font-size: 1.2rem; }
  .service p { color: var(--muted); font-size: 0.97rem; }
  .service ul { margin: 0.25rem 0 0; padding-left: 1.1rem; color: var(--text); font-size: 0.93rem; display: grid; gap: 0.2rem; }
  .service .eyebrow { color: var(--harbor); }
  @media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

  /* About */
  .about { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .portrait {
    aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; position: relative;
    background: linear-gradient(160deg, var(--panel) 0%, #173a52 55%, #1c6670 100%);
    color: var(--panel-text); display: grid; place-items: end end; padding: 1.5rem;
    box-shadow: var(--shadow);
  }
  .portrait .initials { position: absolute; top: 1.4rem; left: 1.5rem; font-family: "Libre Caslon Text", Georgia, serif; font-size: 4.5rem; line-height: 1; opacity: 0.35; }
  .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%;
    filter: none; }
  .portrait img[hidden] { display: none; }
  .portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(15,34,56,0.0) 0%, rgba(15,34,56,0.0) 60%, rgba(15,34,56,0.55) 100%),
                radial-gradient(120% 90% at 50% 40%, rgba(0,0,0,0) 55%, rgba(8,18,32,0.45) 100%); }
  .portrait.has-photo .initials { display: none; }
  .portrait .caption { z-index: 1; }
  .portrait .caption { display: grid; gap: 0.2rem; text-align: right; }
  .portrait .caption b { font-family: "Libre Caslon Text", Georgia, serif; font-weight: 400; font-size: 1.3rem; }
  .portrait .caption span { font-size: 0.85rem; color: var(--panel-muted); }
  .about-copy { display: grid; gap: 1.25rem; }
  .about-copy p { max-width: 60ch; }
  .creds { display: grid; gap: 0; margin-top: 0.5rem; border-top: 1px solid var(--line-strong); }
  .creds div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-strong); font-size: 0.95rem; }
  .creds div span:first-child { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 0.15rem; }
  .creds div span:last-child { color: var(--ink); }
  @media (max-width: 560px) { .creds div { grid-template-columns: 1fr; gap: 0.15rem; } }
  blockquote { margin: 0.5rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--brass); font-family: "Libre Caslon Text", Georgia, serif; font-style: italic; font-size: 1.15rem; color: var(--ink); max-width: 50ch; }

  /* Clients */
  .clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; }
  .client { display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
  .client h3 { font-size: 1.15rem; }
  .client p { color: var(--muted); font-size: 0.95rem; }
  @media (max-width: 860px) { .clients { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
  @media (max-width: 560px) { .clients { grid-template-columns: 1fr; } }

  /* Areas + FAQ */
  .areas { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line-strong); display: grid; gap: 1rem; }
  .areas h3 { font-size: 1.15rem; }
  .areas p { color: var(--muted); max-width: 68ch; }
  .area-list { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin-top: 0.25rem; }
  .area-list span { font-size: 0.9rem; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 2px; padding: 0.3rem 0.7rem; }
  .faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.25rem 3rem; }
  .faq-item { display: grid; gap: 0.5rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
  .faq-item h3 { font-size: 1.1rem; line-height: 1.3; }
  .faq-item p { color: var(--muted); font-size: 0.97rem; }
  @media (max-width: 760px) { .faq { grid-template-columns: 1fr; gap: 1.75rem; } }

  /* Process */
  .process { background: var(--panel); color: var(--panel-text); }
  .process h2 { color: var(--panel-text); }
  .process .section-head p { color: var(--panel-muted); }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
  .step { display: grid; gap: 0.6rem; padding-top: 1.1rem; border-top: 1px solid var(--panel-line); position: relative; }
  .step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; color: var(--brass); letter-spacing: 0.12em; }
  .step h3 { color: var(--panel-text); font-size: 1.15rem; }
  .step p { color: var(--panel-muted); font-size: 0.95rem; }
  @media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

  /* Harbor band */
  .harbor { position: relative; min-height: 520px; display: grid; align-items: end; overflow: hidden; background: var(--panel); color: #eef2f6; }
  .harbor-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: 0; }
  .harbor::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,34,56,0.06) 0%, rgba(15,34,56,0.28) 45%, rgba(15,34,56,0.9) 100%); }
  .harbor .wrap { position: relative; z-index: 2; padding: 6rem 0 3rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2.5rem; align-items: end; }
  .harbor .eyebrow { color: var(--brass); }
  .harbor h2 { color: #fff; margin-top: 0.6rem; }
  .harbor p { color: rgba(238,242,246,0.9); max-width: 52ch; margin-top: 0.9rem; }
  .harbor-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }
  .harbor-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
  .harbor-actions .btn-ghost:hover { border-color: #fff; }
  .harbor-caption { position: absolute; z-index: 2; right: 1.25rem; top: 1rem; font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
  @media (max-width: 860px) { .harbor .wrap { grid-template-columns: 1fr; padding: 5rem 0 2.5rem; } .harbor-actions { justify-content: flex-start; } }

  /* Contact */
  .contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; }
  .contact-info { display: grid; gap: 1.5rem; align-content: start; }
  .info-row { display: grid; gap: 0.25rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
  .info-row .label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
  .info-row .value { color: var(--ink); font-size: 1.05rem; }
  .info-row .value a { color: var(--ink); text-decoration: none; }
  .info-row .value a:hover { color: var(--harbor-ink); text-decoration: underline; }
  .info-row small { color: var(--muted); font-size: 0.85rem; }
  .hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
  form { display: grid; gap: 1rem; padding: 1.75rem; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--paper-2); }
  .field { display: grid; gap: 0.35rem; }
  .field label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .field input, .field select, .field textarea {
    font: 400 1rem "Source Sans 3", sans-serif; color: var(--ink); background: var(--paper);
    border: 1px solid var(--line-strong); border-radius: 3px; padding: 0.7rem 0.8rem; width: 100%;
  }
  .field textarea { min-height: 120px; resize: vertical; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
  .form-foot small { color: var(--muted); font-size: 0.82rem; max-width: 34ch; }
  @media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
  @media (max-width: 520px) { .two { grid-template-columns: 1fr; } }

  /* Footer */
  footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.88rem; }
  footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; }
  footer .legal { max-width: 70ch; display: grid; gap: 0.5rem; }
  footer .social { display: flex; gap: 1.25rem; }
  footer a { color: var(--muted); }
  footer a:hover { color: var(--harbor-ink); }
  @media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }

  /* Blog */
  .blog-hero { padding: 4.5rem 0 2.5rem; border-bottom: 1px solid var(--line); }
  .blog-hero p { color: var(--muted); max-width: 60ch; margin-top: 0.75rem; }
  .posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; }
  .post-card { display: grid; gap: 0.6rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
  .post-card .eyebrow { color: var(--harbor); }
  .post-card h3 { font-size: 1.25rem; line-height: 1.25; }
  .post-card h3 a { color: var(--ink); text-decoration: none; }
  .post-card h3 a:hover { color: var(--harbor-ink); text-decoration: underline; }
  .post-card p { color: var(--muted); font-size: 0.95rem; }
  .post-card time { font-size: 0.8rem; color: var(--muted); font-family: "IBM Plex Mono", monospace; letter-spacing: 0.06em; }
  @media (max-width: 860px) { .posts { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
  @media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }
  .crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
  .crumbs a { color: var(--muted); text-decoration: none; }
  .crumbs a:hover { color: var(--harbor-ink); text-decoration: underline; }
  .article { padding: 3.5rem 0 5rem; }
  .article-head { max-width: 70ch; display: grid; gap: 1rem; margin-bottom: 2.5rem; }
  .article-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
  .article-meta { font-size: 0.85rem; color: var(--muted); font-family: "IBM Plex Mono", monospace; letter-spacing: 0.06em; }
  .article-body { max-width: 68ch; display: grid; gap: 1.1rem; }
  .article-body h2 { font-size: 1.6rem; margin-top: 1.5rem; }
  .article-body h3 { font-size: 1.2rem; margin-top: 0.75rem; }
  .article-body ul, .article-body ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.4rem; }
  .article-body table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
  .article-body th, .article-body td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line-strong); vertical-align: top; }
  .article-body th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .table-wrap { overflow-x: auto; }
  .callout { border-left: 2px solid var(--brass); padding: 0.25rem 0 0.25rem 1.25rem; color: var(--ink); }
  .article-cta { margin-top: 3rem; padding: 2rem; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--paper-2); display: grid; gap: 0.75rem; max-width: 68ch; }
  .article-cta h2 { font-size: 1.4rem; }
  .article-cta p { color: var(--muted); }
  .article-cta .hero-actions { margin-top: 0.25rem; }
  .more-posts { padding: 3rem 0 5rem; border-top: 1px solid var(--line); }
  .more-posts h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
  .home-blog { border-top: 1px solid var(--line); }
  .home-blog .section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
  .home-blog .section-head > div { display: grid; gap: 0.75rem; }
