:root {
    --bg: #FFFFFF;
    --bg-soft: #F7F7F4;
    --ink: #0A1F38;
    --ink-soft: #2D3748;
    --text: #1F2937;
    --muted: #6B7280;
    --rule: #E5E7EB;
    --rule-soft: #F0F0EB;

    --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    --max: 1240px;
    --gutter: clamp(1.5rem, 4vw, 4rem);
  }

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

  html { scroll-behavior: smooth; }

  .container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }

  main { display: block; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-size: 16px;
  }

  /* Aggressively disable any OpenType substitution that turns (c) into © */
  *, *::before, *::after {
    font-variant-ligatures: none !important;
    font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0, "salt" 0, "ccmp" 0 !important;
  }

  /* ============ NAV ============ */
  nav {
    border-bottom: 1px solid var(--rule);
    padding: 1.1rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.92);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .brand-logo {
    height: 38px;
    width: auto;
    cursor: pointer;
    display: block;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 0.92rem;
  }

  .nav-links button {
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    font-weight: 500;
  }

  .nav-links button:hover { border-bottom-color: var(--ink); }
  .nav-links button.active { border-bottom-color: var(--ink); }

  .nav-cta {
    font-size: 0.92rem;
    background: var(--ink);
    color: var(--bg);
    border: none;
    padding: 0.7rem 1.3rem;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
    font-family: var(--sans);
  }

  .nav-cta:hover { background: #14304D; }

  /* ============ TYPOGRAPHY ============ */
  h1, h2, h3, h4, h5 {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  h1 {
    font-size: clamp(2.5rem, 6.5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 600;
  }

  h4 {
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.015em;
  }

  p { color: var(--text); }

  /* Eyebrow/section labels — sentence case sans, muted */
  .eyebrow {
    font-size: 0.92rem;
    color: var(--muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }

  .eyebrow::before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 1px;
    background: var(--ink);
  }

  .section-label {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
  }

  /* ============ HOME — HERO ============ */
  .hero {
    padding: clamp(4rem, 12vh, 8.5rem) 0 clamp(3.5rem, 9vh, 6.5rem);
  }

  .hero .eyebrow { margin-bottom: 2rem; }

  .hero h1 {
    margin-bottom: 1.75rem;
    max-width: 16ch;
  }

  .hero-sub {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
    margin-bottom: 2.5rem;
    font-weight: 400;
  }

  .hero-ctas {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .btn-primary {
    background: var(--ink);
    color: var(--bg);
    border: none;
    padding: 1rem 1.7rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
    letter-spacing: -0.005em;
  }

  .btn-primary:hover { background: #14304D; }

  .btn-secondary {
    background: none;
    border: none;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.95rem;
    cursor: pointer;
    border-bottom: 1px solid var(--ink);
    padding: 0.5rem 0;
    transition: border-color 0.2s;
    font-weight: 500;
  }

  .btn-secondary:hover { border-bottom-color: transparent; }

  /* ============ "WHAT I DO" ============ */
  .what-i-do {
    padding: clamp(3.5rem, 9vh, 6rem) 0;
    border-top: 1px solid var(--rule);
  }

  .practice-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .practice-row {
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: start;
  }

  .practice-row:last-child { border-bottom: none; }

  .practice-row h3 {
    margin: 0;
  }

  .practice-row p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text);
    max-width: 60ch;
  }

  /* ============ INDUSTRIES ============ */
  .industries {
    padding: clamp(3.5rem, 9vh, 6rem) 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }

  .industries-lead {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    line-height: 1.35;
    font-weight: 500;
    max-width: 52ch;
    margin-bottom: 3rem;
    color: var(--ink);
    letter-spacing: -0.02em;
  }

  .industry-list {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--rule);
  }

  .industry-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding: 1.7rem 0;
    border-bottom: 1px solid var(--rule);
    cursor: pointer;
    transition: padding-left 0.2s ease;
    text-decoration: none;
    color: inherit;
    align-items: start;
  }

  .industry-row:hover { padding-left: 0.75rem; }
  .industry-row:hover h4 { color: var(--ink); }
  .industry-row:hover .arrow { transform: translateX(6px); }

  .industry-row .industry-content {
    max-width: 70ch;
  }

  .industry-row h4 {
    margin-bottom: 0.5rem;
    transition: color 0.2s;
  }

  .industry-row .desc {
    font-size: 0.96rem;
    color: var(--text);
    line-height: 1.55;
  }

  .industry-row .arrow {
    color: var(--ink);
    font-size: 1.2rem;
    transition: transform 0.2s;
    padding-top: 0.4rem;
    flex-shrink: 0;
    line-height: 1;
  }

  /* ============ ABOUT TEASER ============ */
  .about-teaser { padding: clamp(3.5rem, 9vh, 6rem) 0; }

  .about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }

  .about-photo {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--bg-soft);
    overflow: hidden;
  }

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

  .about-content .eyebrow { margin-bottom: 1.75rem; }

  .about-content h2 {
    margin-bottom: 1.5rem;
  }

  .about-content p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1.25rem;
    max-width: 60ch;
  }

  .about-content .more-link {
    margin-top: 1rem;
    display: inline-block;
  }

  /* ============ PUBLICATION/RECOGNITION ROW ============ */
  .pub-row {
    padding: clamp(3rem, 7vh, 4.5rem) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
  }

  .pub-row .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .pub-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2.5rem;
    row-gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--ink);
    align-items: center;
  }

  .pub-items strong {
    color: var(--ink);
    font-weight: 600;
  }

  .pub-items .item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--rule);
    margin-left: 2.5rem;
    vertical-align: middle;
  }

  /* ============ FINAL CTA ============ */
  .final-cta {
    padding: clamp(3.5rem, 9vh, 6rem) 0;
    background: var(--ink);
    color: var(--bg);
  }

  .final-cta h2 {
    color: var(--bg);
    margin-bottom: 1.5rem;
    max-width: 22ch;
  }

  .final-cta .eyebrow {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.75rem;
  }

  .final-cta .eyebrow::before { background: var(--bg); }

  .final-cta p {
    font-size: 1.08rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 56ch;
    margin-bottom: 2.5rem;
  }

  .final-cta-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .final-cta .btn-primary {
    background: var(--bg);
    color: var(--ink);
  }

  .final-cta .btn-primary:hover { background: #F0F0EB; }

  .email-link {
    font-family: var(--sans);
    font-size: 0.98rem;
    color: var(--bg);
    text-decoration: none;
    border-bottom: 1px solid var(--bg);
    padding-bottom: 2px;
    font-weight: 500;
  }

  /* ============ FOOTER ============ */
  footer {
    border-top: 1px solid var(--rule);
    padding: 3.5rem var(--gutter) 2rem;
    background: var(--bg);
  }

  .footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
  }

  .footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
  }

  .footer-address {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
  }

  .footer-address a { color: var(--ink); text-decoration: none; }
  .footer-address a:hover { text-decoration: underline; }

  .footer-social {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    align-items: center;
  }
  .footer-social a {
    background: var(--ink);
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
  }
  .footer-social a:hover {
    background: #14304D;
    transform: translateY(-1px);
  }
  .footer-social svg {
    display: block;
    width: 17px;
    height: 17px;
  }

  .footer-col h5 {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
    font-weight: 600;
  }

  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 0.55rem; }
  .footer-col li a, .footer-col li button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-family: inherit;
    padding: 0;
    transition: color 0.2s;
  }
  .footer-col li a:hover, .footer-col li button:hover { color: var(--muted); }

  .footer-fine {
    max-width: var(--max);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
  }

  /* ============ ABOUT PAGE ============ */
  .about-page { padding: clamp(3rem, 8vh, 5.5rem) 0 0; }

  .about-page-hero {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    padding-bottom: clamp(3rem, 8vh, 5.5rem);
    border-bottom: 1px solid var(--rule);
  }

  .about-page h1 {
    margin-bottom: 2rem;
  }

  .about-page-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1.5rem;
    max-width: 60ch;
  }

  .about-page-content .lede {
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    letter-spacing: -0.015em;
    max-width: 38ch;
    margin-bottom: 2.5rem;
  }

  .credentials {
    padding: clamp(3rem, 8vh, 5rem) 0;
    border-bottom: 1px solid var(--rule);
  }

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

  .credentials-col h5 {
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--ink);
    font-weight: 600;
  }

  .credentials-col ul { list-style: none; }

  .credentials-col li {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.95rem;
    color: var(--text);
  }

  .credentials-col li .org {
    color: var(--muted);
    display: block;
    font-size: 0.88rem;
  }

  /* ============ PRACTICE PAGE ============ */
  .practice-page { padding: clamp(3rem, 8vh, 5.5rem) 0 0; }

  .practice-hero {
    padding-bottom: clamp(3rem, 8vh, 5.5rem);
    border-bottom: 1px solid var(--rule);
  }

  .practice-hero .eyebrow { margin-bottom: 2rem; }

  .practice-page h1 {
    margin-bottom: 1.75rem;
    max-width: 16ch;
  }

  .practice-sub {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 52ch;
  }

  .engagement-types { padding: clamp(3rem, 8vh, 5.5rem) 0; }

  .engagement-row {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
  }

  .engagement-row:last-child { border-bottom: none; }

  .engagement-row p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 65ch;
  }

  .pricing-philosophy {
    padding: clamp(4rem, 10vh, 7rem) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg-soft);
  }

  .pricing-statement {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.4;
    font-weight: 500;
    max-width: 38ch;
    margin: 2rem 0;
    color: var(--ink);
    letter-spacing: -0.02em;
  }

  .pricing-detail {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 56ch;
  }

  .wont-take { padding: clamp(3rem, 8vh, 5.5rem) 0; }

  .wont-take h3 {
    margin-bottom: 1.5rem;
    max-width: 22ch;
  }

  .wont-take p.intro {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 2.5rem;
    max-width: 56ch;
  }

  .refer-list {
    list-style: none;
    border-top: 1px solid var(--rule);
  }

  .refer-list li {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text);
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    gap: 0.5rem;
  }

  .refer-list li::before {
    content: '—';
    color: var(--muted);
  }

  /* ============ INDUSTRY PAGES ============ */
  .industry-page { padding: clamp(3rem, 8vh, 5.5rem) 0 0; }

  .industry-page-hero {
    padding-bottom: clamp(3rem, 8vh, 5rem);
    border-bottom: 1px solid var(--rule);
  }

  .industry-page-hero .eyebrow { margin-bottom: 2rem; }

  .industry-page h1 {
    margin-bottom: 1.75rem;
    max-width: 18ch;
  }

  .industry-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
  }

  .industry-body {
    padding: clamp(3rem, 8vh, 5rem) 0;
    border-bottom: 1px solid var(--rule);
  }

  .industry-body p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
    max-width: 65ch;
    margin-bottom: 1.5rem;
  }

  .industry-issues { padding: clamp(3rem, 8vh, 5rem) 0; }

  .issue-block {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 2.5rem;
    align-items: start;
  }

  .issue-block:last-child { border-bottom: none; }

  .issue-block h3 {
    font-size: clamp(1.15rem, 1.6vw, 1.3rem);
    line-height: 1.3;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.015em;
  }

  .issue-block p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 60ch;
  }

  .industry-process {
    padding: clamp(3rem, 8vh, 5rem) 0;
    border-top: 1px solid var(--rule);
    background: var(--bg-soft);
  }

  .industry-process .container {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 2.5rem;
  }

  .industry-process p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 60ch;
  }

  .industry-faq {
    padding: clamp(3rem, 8vh, 5rem) 0;
    border-top: 1px solid var(--rule);
  }

  .faq-item {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 2.5rem;
    align-items: start;
  }

  .faq-item:last-child { border-bottom: none; }

  .faq-item h3 {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.4;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
  }

  .faq-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 60ch;
  }

  /* ============ CONTACT FORM ============ */
  .contact-section {
    padding: clamp(3rem, 8vh, 5.5rem) 0;
    border-bottom: 1px solid var(--rule);
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
  }

  .contact-form { display: flex; flex-direction: column; gap: 1.6rem; }

  .form-row { display: flex; flex-direction: column; gap: 0.55rem; }

  .form-row label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
  }

  .form-row .optional {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.88rem;
  }

  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row textarea {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--rule);
    padding: 0.85rem 1rem;
    line-height: 1.5;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    outline: none;
  }

  .form-row input:focus,
  .form-row textarea:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(10,31,56,0.08);
  }

  .form-row input::placeholder,
  .form-row textarea::placeholder {
    color: var(--muted);
    opacity: 0.7;
  }

  .form-row textarea { resize: vertical; min-height: 140px; }

  .contact-form .btn-primary {
    align-self: flex-start;
    margin-top: 0.5rem;
  }

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

  .form-note a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1px;
  }
  .form-note a:hover { border-bottom-color: var(--ink); }

  .contact-aside {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-soft);
    border-left: 2px solid var(--ink);
  }

  .contact-info h5 {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }

  .contact-info p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text);
  }

  .contact-info a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
  }
  .contact-info a:hover { border-bottom-color: var(--ink); }

  /* ============ MOBILE ============ */
  @media (max-width: 900px) {
    nav { flex-wrap: wrap; row-gap: 0.75rem; }
    .nav-links {
      display: flex;
      order: 3;
      width: 100%;
      gap: 1.25rem;
      flex-wrap: wrap;
      font-size: 0.88rem;
      padding-top: 0.6rem;
      border-top: 1px solid var(--rule-soft);
    }
    .about-grid, .about-page-hero { grid-template-columns: 1fr; }
    .credentials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .practice-row, .engagement-row, .issue-block, .faq-item { grid-template-columns: 1fr; gap: 1rem; }
    .industry-process .container { grid-template-columns: 1fr; gap: 1rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  }

  @media (max-width: 600px) {
    .credentials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .industry-row { grid-template-columns: 1fr; }
    .industry-row .arrow { display: none; }
    .pub-items .item:not(:last-child)::after { margin-left: 1rem; }
    .pub-items { gap: 0 1rem; row-gap: 0.5rem; font-size: 0.78rem; }
  }

  
/* ============ PAGE STRUCTURE (separate-files) ============ */
main { display: block; }

/* ============ NAV LINK (replaces button-as-nav) ============ */
.nav-links a {
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--ink); }

/* nav CTA as link */
a.nav-cta {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* about more link as anchor */
.about-content .more-link {
  text-decoration: none;
  display: inline-block;
}

/* footer link reset for <a> elements */
.footer-col li a {
  display: inline-block;
}

/* THANKS PAGE */
.thanks-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 12vh, 8rem) 0;
}
.thanks-page .container { max-width: 56ch; }
.thanks-page h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}
.thanks-page p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

/* ============ WRITING PAGE ============ */
.writing-page {
  padding: clamp(3.5rem, 8vh, 6rem) 0 clamp(2rem, 4vh, 3rem);
}

.writing-hero {
  max-width: 65ch;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  border-bottom: 1px solid var(--rule);
}

.writing-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  max-width: 60ch;
}

.writing-list {
  padding: 0;
}

.writing-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.writing-row:last-child { border-bottom: none; }

.writing-meta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.writing-meta .outlet {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-top: 0.35rem;
  letter-spacing: 0.06em;
}

.writing-meta .gate {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: none;
  font-weight: 400;
  font-style: italic;
}

.writing-content h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.writing-content h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.writing-content h3 a:hover { border-bottom-color: var(--ink); }

.writing-content p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 60ch;
  margin-bottom: 1.1rem;
}

.writing-content .read-link {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.writing-content .read-link:hover { opacity: 0.7; }

@media (max-width: 760px) {
  .writing-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
  .writing-meta { font-size: 0.78rem; }
}
