:root {
      --paper: #fbf4e5;
      --paper-deep: #efe3cf;
      --ink: #27221d;
      --muted: #6e6257;
      --line: #29231e;
      --gold: #f4bd38;
      --coral: #e95d3f;
      --mint: #8fc9ad;
      --blue: #6f9fc5;
      --white: #fffdf8;
      --shadow: 6px 6px 0 rgba(39, 34, 29, 0.16);
      --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
      --serif: "Fraunces", Georgia, serif;
      --sans: "Inter", system-ui, sans-serif;
    }

    * { box-sizing: border-box; }

    html {
      min-height: 100%;
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      margin: 0;
      color: var(--ink);
      background:
        radial-gradient(rgba(39, 34, 29, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, var(--paper) 0%, #fff9ef 46%, var(--paper-deep) 100%);
      background-size: 22px 22px, auto;
      font-family: var(--sans);
      line-height: 1.5;
      display: flex;
      flex-direction: column;
    }

    main { flex: 1; }

    a { color: inherit; }

    .shell {
      width: min(1140px, calc(100% - 40px));
      margin: 0 auto;
    }

    .nav-wrap {
      position: sticky;
      top: 0;
      z-index: 20;
      padding: 18px 0 0;
    }

    .nav-wrap nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 12px 16px;
      border: 2px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 253, 248, 0.88);
      backdrop-filter: blur(12px);
      box-shadow: 0 10px 32px rgba(39, 34, 29, 0.08);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      min-width: max-content;
    }

    .mark {
      width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      transform: rotate(-5deg);
      font-size: 1.35rem;
      line-height: 1;
    }

    .mark span {
      transform: rotate(5deg);
    }

    .brand-text {
      font-family: var(--serif);
      font-weight: 850;
      font-size: 1.2rem;
      letter-spacing: -0.02em;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: var(--mono);
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .nav-links a {
      text-decoration: none;
      padding: 8px 10px;
      border-radius: 999px;
    }

    .nav-links a:hover {
      background: var(--gold);
      box-shadow: inset 0 0 0 1.5px var(--line);
    }

    .nav-cta {
      background: var(--ink);
      color: var(--white);
      border: 2px solid var(--line);
      text-decoration: none;
      padding: 9px 15px;
      border-radius: 999px;
      font-weight: 760;
      box-shadow: 3px 3px 0 rgba(39, 34, 29, 0.18);
      white-space: nowrap;
    }

    .mobile-label { display: none; }

    .nav-menu { display: none; position: relative; }

    .nav-menu summary {
      list-style: none;
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border: 2px solid var(--line);
      border-radius: 999px;
      background: var(--white);
      color: var(--ink);
      cursor: pointer;
      box-shadow: 3px 3px 0 rgba(39, 34, 29, 0.18);
    }

    .nav-menu summary::-webkit-details-marker { display: none; }

    .nav-menu[open] summary {
      background: var(--gold);
    }

    .nav-menu-panel {
      position: absolute;
      right: 0;
      top: calc(100% + 12px);
      min-width: 190px;
      display: grid;
      gap: 2px;
      padding: 10px;
      background: var(--white);
      border: 2px solid var(--line);
      border-radius: 18px;
      box-shadow: var(--shadow);
      font-family: var(--mono);
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .nav-menu-panel a {
      text-decoration: none;
      color: var(--ink);
      padding: 10px 12px;
      border-radius: 12px;
    }

    .nav-menu-panel a:hover {
      background: var(--gold);
      box-shadow: inset 0 0 0 1.5px var(--line);
    }

    .hero {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
      gap: 54px;
      align-items: center;
      min-height: 710px;
      padding: 84px 0;
    }

    .eyebrow {
      font-family: var(--mono);
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--coral);
      font-weight: 700;
      margin-bottom: 18px;
    }

    .meta-line {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .meta-line time,
    .archive-row-kicker time {
      color: var(--muted);
    }

    .meta-separator {
      color: var(--muted);
    }

    h1, h2, h3, p { margin-top: 0; }

    h1 {
      font-family: var(--serif);
      font-weight: 850;
      font-size: clamp(3.4rem, 8vw, 6.9rem);
      letter-spacing: -0.025em;
      line-height: 0.91;
      max-width: 820px;
      margin-bottom: 28px;
    }

    .underline {
      background: linear-gradient(180deg, transparent 58%, rgba(244, 189, 56, 0.72) 58%);
      padding: 0 0.04em 0.02em;
      -webkit-box-decoration-break: clone;
      box-decoration-break: clone;
    }

    .hero-copy {
      font-size: clamp(1.12rem, 2.2vw, 1.42rem);
      color: var(--muted);
      max-width: 640px;
      margin-bottom: 32px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 50px;
      padding: 13px 18px;
      border: 2px solid var(--line);
      border-radius: 14px;
      font-weight: 760;
      text-decoration: none;
      box-shadow: var(--shadow);
      transition: transform 0.16s ease, box-shadow 0.16s ease;
    }

    .button:hover {
      transform: translate(-2px, -2px);
      box-shadow: 8px 8px 0 rgba(39, 34, 29, 0.18);
    }

    .button.primary { background: var(--ink); color: var(--white); }
    .button.secondary { background: var(--white); }

    .hero-card {
      position: relative;
      border: 2px solid var(--line);
      border-radius: 32px;
      padding: 20px;
      background: var(--white);
      box-shadow: 12px 12px 0 rgba(244, 189, 56, 0.75);
      transform: rotate(1.2deg);
      isolation: isolate;
      backface-visibility: hidden;
    }

    .hero-card::before {
      content: "parent dev / field notes";
      position: absolute;
      top: -18px;
      left: 22px;
      padding: 7px 10px;
      border: 2px solid var(--line);
      background: var(--mint);
      border-radius: 8px;
      font-family: var(--mono);
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      transform: rotate(-4deg);
    }

    .hero-image {
      display: block;
      width: 100%;
      aspect-ratio: 1;
      object-fit: cover;
      object-position: center;
      border: 2px solid var(--line);
      border-radius: 22px;
      backface-visibility: hidden;
      transform: translateZ(0);
    }

    .workspace {
      min-height: 430px;
      border: 2px solid var(--line);
      border-radius: 22px;
      background:
        linear-gradient(90deg, transparent 0 31px, rgba(39,34,29,0.08) 31px 33px),
        linear-gradient(0deg, transparent 0 31px, rgba(39,34,29,0.08) 31px 33px),
        #f7eddc;
      background-size: 33px 33px;
      padding: 22px;
      display: grid;
      align-content: end;
      overflow: hidden;
    }

    .blocks {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 10px;
      align-items: end;
    }

    .block {
      border: 2px solid var(--line);
      border-radius: 9px;
      min-height: 56px;
      background: var(--gold);
      box-shadow: 4px 4px 0 rgba(39, 34, 29, 0.18);
    }

    .block:nth-child(2) { min-height: 110px; background: var(--blue); }
    .block:nth-child(3) { min-height: 78px; background: var(--coral); }
    .block:nth-child(4) { min-height: 148px; background: var(--mint); }
    .block:nth-child(5) { min-height: 92px; background: var(--gold); }
    .block:nth-child(6) { min-height: 128px; background: #d7c2ef; }
    .block:nth-child(7) { min-height: 64px; background: var(--blue); }

    .note {
      width: min(260px, 86%);
      margin-bottom: 90px;
      padding: 14px;
      border: 2px solid var(--line);
      border-radius: 12px;
      background: var(--white);
      font-family: var(--mono);
      font-size: 0.78rem;
      line-height: 1.55;
      transform: rotate(-3deg);
      box-shadow: 5px 5px 0 rgba(39, 34, 29, 0.14);
    }

    .section {
      padding: 92px 0;
    }

    .hero + .section {
      padding-top: 0;
    }

    .section-head {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 38px;
      align-items: end;
      margin-bottom: 34px;
    }

    h2 {
      font-family: var(--serif);
      font-size: clamp(2.25rem, 4.65vw, 4rem);
      line-height: 0.98;
      letter-spacing: -0.025em;
      margin-bottom: 0;
    }

    .page-title {
      font-family: var(--serif);
      font-weight: 850;
      font-size: clamp(3rem, 7vw, 5.6rem);
      line-height: 0.94;
      letter-spacing: -0.025em;
      margin-bottom: 0;
    }

    .section-head p {
      color: var(--muted);
      font-size: 1.12rem;
      max-width: 610px;
      margin-bottom: 4px;
    }

    .archive-header {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      align-items: flex-end;
      padding-bottom: 18px;
      border-bottom: 2px solid var(--line);
      margin-bottom: 18px;
    }

    .archive-count {
      font-family: var(--mono);
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
      white-space: nowrap;
      margin-bottom: 8px;
    }

    .archive-description {
      max-width: none;
      margin: 0 0 34px;
      color: var(--muted);
      font-size: 1.12rem;
    }

    .archive-post-list {
      display: grid;
    }

    .archive-post-list.is-enhanced .archive-post-row[hidden] {
      display: none;
    }

    .archive-post-row {
      display: grid;
      grid-template-columns: 86px minmax(0, 1fr) auto;
      gap: 24px;
      align-items: center;
      padding: 18px;
      border-bottom: 1.5px solid rgba(39, 34, 29, 0.16);
      color: var(--ink);
      text-decoration: none;
      transition: background-color 0.18s ease;
    }

    .archive-post-row:first-child {
      border-top: 1.5px solid rgba(39, 34, 29, 0.16);
    }

    .archive-post-row:hover {
      background: rgba(244, 189, 56, 0.12);
    }

    .archive-row-thumb {
      width: 86px;
      aspect-ratio: 1.42;
      display: grid;
      place-items: center;
      overflow: hidden;
      border: 2px solid var(--line);
      border-radius: 10px;
      background: var(--white);
      color: rgba(39, 34, 29, 0.4);
    }

    .archive-row-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .archive-row-content {
      min-width: 0;
    }

    .archive-row-kicker {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-bottom: 7px;
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .archive-row-title {
      font-family: var(--serif);
      font-size: clamp(1.25rem, 2.2vw, 1.7rem);
      line-height: 1.05;
      letter-spacing: -0.015em;
      margin-bottom: 6px;
    }

    .archive-row-subtitle {
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.42;
      margin-bottom: 8px;
      max-width: 760px;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .archive-row-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 14px;
      align-items: center;
      font-family: var(--mono);
      font-size: 0.7rem;
      color: rgba(39, 34, 29, 0.56);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .tag-inline {
      color: var(--coral);
      font-weight: 700;
    }

    .archive-row-action {
      display: grid;
      place-items: center;
      color: var(--ink);
      opacity: 0.32;
      transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .archive-post-row:hover .archive-row-action {
      opacity: 1;
      transform: translateX(2px);
    }

    .archive-load-more {
      display: grid;
      justify-items: center;
      gap: 12px;
      margin-top: 30px;
    }

    .archive-load-more[hidden] {
      display: none;
    }

    .archive-load-more-button[hidden] {
      display: none;
    }

    .archive-load-more-button:hover {
      transform: none;
      box-shadow: 4px 4px 0 rgba(39, 34, 29, 0.18);
    }

    .archive-load-more-button:active {
      transform: translate(2px, 2px);
      box-shadow: 2px 2px 0 rgba(39, 34, 29, 0.18);
    }

    .archive-load-more-count {
      margin: 0;
      color: var(--muted);
      font-family: var(--mono);
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .topic-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .topic {
      background: var(--white);
      border: 2px solid var(--line);
      border-radius: 20px;
      padding: 20px;
      min-height: 240px;
      box-shadow: 5px 5px 0 rgba(39, 34, 29, 0.12);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .topic .num {
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--coral);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 20px;
    }

    .topic h3 {
      font-family: var(--serif);
      font-size: 1.35rem;
      line-height: 1.05;
      letter-spacing: -0.025em;
      margin-bottom: 12px;
    }

    .topic h3 a {
      color: inherit;
      text-decoration: none;
    }

    .topic h3 a:hover {
      text-decoration: underline;
      text-decoration-thickness: 3px;
      text-decoration-color: var(--gold);
      text-underline-offset: 0.14em;
    }

    .topic p {
      color: var(--muted);
      margin-bottom: 0;
      font-size: 0.95rem;
    }

    .post-meta {
      font-family: var(--mono);
      font-size: 0.68rem;
      color: var(--coral);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 18px;
    }

    .post-link {
      display: inline-flex;
      align-items: center;
      width: max-content;
      margin-top: 20px;
      font-weight: 760;
      text-decoration: none;
      border-bottom: 3px solid var(--gold);
    }

    .article-header {
      max-width: 820px;
      margin-bottom: 42px;
      margin-left: auto;
      margin-right: auto;
    }

    .article-header .page-title {
      font-size: 5.2rem;
      line-height: 1.08;
      margin-bottom: 18px;
    }

    .article-header .post-meta {
      margin-bottom: 18px;
    }

    .article-header p {
      color: var(--muted);
      font-size: 1.2rem;
      line-height: 1.5;
      max-width: 700px;
    }

    .article-content {
      max-width: 760px;
      font-size: 1.06rem;
      margin-left: auto;
      margin-right: auto;
    }

    .post-body-grid {
      display: grid;
      grid-template-columns: minmax(180px, 240px) minmax(0, 760px);
      gap: 48px;
      align-items: start;
      max-width: 1060px;
      margin: 0 auto;
    }

    .post-body-grid .article-content {
      margin-left: 0;
      margin-right: 0;
      width: 100%;
    }

    .post-body-single {
      max-width: 760px;
      margin: 0 auto;
    }

    .post-toc {
      position: sticky;
      top: 120px;
      height: fit-content;
      padding-top: 6px;
    }

    .post-toc:empty {
      display: none;
    }

    .post-toc nav,
    .post-toc ul {
      display: grid;
      gap: 0;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .post-toc nav {
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      backdrop-filter: none;
    }

    .post-toc li {
      margin: 0;
      padding: 0;
    }

    .post-toc a {
      display: block;
      padding: 12px 0;
      border-bottom: 1.5px solid rgba(39, 34, 29, 0.16);
      color: var(--ink);
      font-family: var(--mono);
      font-size: 0.78rem;
      line-height: 1.35;
      text-decoration: none;
      transition: color 0.18s ease, opacity 0.18s ease;
    }

    .post-toc a:hover,
    .post-toc a.active {
      color: var(--coral);
      opacity: 1;
    }

    .post-toc a.completed {
      color: var(--muted);
      opacity: 0.46;
      text-decoration: none;
    }

    .article-content h2,
    .article-content h3 {
      margin-top: 2.2em;
      margin-bottom: 0.65em;
    }

    .article-content h2 {
      scroll-margin-top: 130px;
    }

    .article-content p,
    .article-content ul,
    .article-content ol,
    .article-content blockquote {
      margin-bottom: 1.15em;
    }

    .article-content a {
      color: inherit;
      font-weight: 720;
      text-decoration-thickness: 0.12em;
      text-underline-offset: 0.18em;
      text-decoration-color: var(--gold);
    }

    .article-content code {
      font-family: var(--mono);
      font-size: 0.9em;
      background: rgba(39, 34, 29, 0.07);
      border-radius: 6px;
      padding: 0.08em 0.28em;
    }

    .article-content pre {
      margin: 1.55em 0;
      padding: 18px 20px;
      overflow-x: auto;
      border: 2px solid var(--line);
      border-radius: 16px;
      background: var(--ink);
      color: var(--white);
      box-shadow: 5px 5px 0 rgba(39, 34, 29, 0.12);
      white-space: pre-wrap;
      overflow-wrap: anywhere;
    }

    .article-content pre code {
      display: block;
      padding: 0;
      background: transparent;
      color: inherit;
      line-height: 1.55;
    }

    .article-content blockquote {
      position: relative;
      margin: 2.4em auto;
      padding: 34px 38px;
      border: 2px solid var(--line);
      border-radius: 26px;
      background: var(--white);
      box-shadow: 7px 7px 0 rgba(39, 34, 29, 0.12);
      color: var(--ink);
      font-family: var(--serif);
      font-size: clamp(1.35rem, 2.6vw, 2rem);
      font-style: italic;
      font-weight: 850;
      line-height: 1.25;
      letter-spacing: -0.01em;
    }

    .article-content blockquote::before {
      content: "";
      position: absolute;
      top: -12px;
      right: 46px;
      width: 44px;
      height: 22px;
      border: 2px solid var(--line);
      border-radius: 7px;
      background: var(--coral);
    }

    .article-content blockquote p {
      margin: 0;
    }

    .article-hero {
      display: block;
      width: 100%;
      max-width: 820px;
      height: auto;
      margin: 30px auto 0;
      border: 2px solid var(--line);
      border-radius: 14px;
      box-shadow: var(--shadow);
    }

    .article-figure {
      max-width: 820px;
      margin: 2.4em auto;
    }

    .article-figure img {
      display: block;
      width: 100%;
      height: auto;
      border: 2px solid var(--line);
      border-radius: 18px;
      box-shadow: var(--shadow);
    }

    .article-figure figcaption {
      margin-top: 10px;
      color: var(--muted);
      font-size: 0.9rem;
    }

    .post-support {
      max-width: 1060px;
      margin: 86px auto 0;
      padding-top: 56px;
      border-top: 2px solid var(--line);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

    .author-bio,
    .go-deeper {
      min-height: 280px;
      padding: 34px;
      border: 2px solid var(--line);
      border-radius: 28px;
      background: var(--white);
    }

    .author-bio {
      display: grid;
      grid-template-columns: 96px 1fr;
      gap: 28px;
      align-items: start;
    }

    .author-photo {
      width: 96px;
      aspect-ratio: 1;
      object-fit: cover;
      border: 2px solid var(--line);
      border-radius: 999px;
      background: var(--paper);
    }

    .author-bio h2,
    .go-deeper h2 {
      font-family: var(--serif);
      font-size: clamp(1.55rem, 3vw, 2.2rem);
      line-height: 1.05;
      letter-spacing: -0.015em;
      margin-bottom: 8px;
    }

    .go-deeper {
      display: flex;
      align-items: center;
      background: var(--coral);
      color: var(--white);
    }

    .support-kicker {
      font-family: var(--mono);
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--coral);
    }

    .author-bio p,
    .go-deeper p {
      margin: 0;
      color: var(--muted);
      font-size: 1.04rem;
      line-height: 1.55;
    }

    .go-deeper p {
      color: rgba(255, 253, 248, 0.86);
      margin-bottom: 22px;
    }

    .go-deeper .support-kicker {
      color: var(--white);
    }

    .support-links {
      display: flex;
      gap: 18px;
      margin-top: 20px;
      font-family: var(--mono);
      font-size: 0.74rem;
      letter-spacing: 0.08em;
      font-weight: 700;
    }

    .support-links a,
    .support-button {
      color: inherit;
      font-weight: 720;
      text-decoration: none;
    }

    .support-links a {
      color: var(--coral);
      text-decoration-thickness: 0.12em;
      text-underline-offset: 0.18em;
      text-decoration-color: var(--gold);
    }

    .support-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 12px 18px;
      border-radius: 999px;
      background: var(--white);
      color: var(--coral);
      font-family: var(--mono);
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .read-next-band {
      margin-top: 96px;
      padding: 84px 0 92px;
      border-top-left-radius: 72px;
      border-top-right-radius: 72px;
      background: var(--paper-deep);
    }

    .read-next-inner {
      display: grid;
      gap: 34px;
    }

    .read-next-head {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      align-items: end;
    }

    .read-next-head h2 {
      font-family: var(--serif);
      font-size: clamp(2.3rem, 5vw, 4rem);
      line-height: 0.98;
      letter-spacing: -0.02em;
    }

    .read-next-head a {
      font-family: var(--mono);
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
      text-decoration: none;
      border-bottom: 2px solid currentColor;
      white-space: nowrap;
      margin-bottom: 12px;
    }

    .read-next-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

    .read-next-card {
      display: grid;
      align-content: start;
      min-height: 230px;
      padding: 28px;
      border: 2px solid var(--line);
      border-radius: 24px;
      background: var(--white);
      color: var(--ink);
      text-decoration: none;
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .read-next-card:hover {
      transform: translate(-2px, -2px);
      box-shadow: 7px 7px 0 rgba(39, 34, 29, 0.14);
    }

    .read-next-meta {
      margin-bottom: 24px;
      font-family: var(--mono);
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--coral);
      font-weight: 700;
    }

    .read-next-card h3 {
      font-family: var(--serif);
      font-size: clamp(1.35rem, 2.4vw, 1.85rem);
      line-height: 1.08;
      letter-spacing: -0.015em;
      margin-bottom: 16px;
    }

    .read-next-card p {
      margin: 0;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.45;
    }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

    .panel {
      background: var(--white);
      border: 2px solid var(--line);
      border-radius: 28px;
      padding: 28px;
      box-shadow: var(--shadow);
    }

    .panel.tint {
      background: var(--gold);
    }

    .panel h3 {
      font-family: var(--serif);
      font-size: 2rem;
      line-height: 1.02;
      letter-spacing: -0.025em;
      margin-bottom: 16px;
    }

    .panel p {
      color: var(--muted);
      margin-bottom: 22px;
    }

    .panel.tint p { color: rgba(39,34,29,0.75); }

    .panel.tint .eyebrow {
      color: rgba(39,34,29,0.72);
    }

    .profile-panel {
      display: grid;
      grid-template-columns: 240px minmax(0, 1fr);
      gap: 38px;
      align-items: center;
    }

    .profile-panel h2 {
      font-size: clamp(2.2rem, 4.15vw, 3.55rem);
      margin-bottom: 22px;
    }

    .profile-link {
      display: inline-block;
      margin-top: 18px;
      color: var(--gold);
      font-family: var(--mono);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      border-bottom: 2px solid currentColor;
    }

    .profile-photo {
      width: 100%;
      aspect-ratio: 1;
      object-fit: cover;
      border: 2px solid var(--line);
      border-radius: 28px;
      background: var(--white);
      box-shadow: 8px 8px 0 rgba(244, 189, 56, 0.72);
      transform: rotate(-2deg);
    }

    .list {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .list li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding-top: 10px;
      border-top: 1.5px dashed rgba(39, 34, 29, 0.28);
      color: var(--muted);
    }

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

    .dot {
      width: 12px;
      height: 12px;
      flex: 0 0 auto;
      margin-top: 6px;
      background: var(--coral);
      border: 2px solid var(--line);
      border-radius: 4px;
    }

    .post-row {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 24px;
      align-items: stretch;
    }

    .feature-card {
      border: 2px solid var(--line);
      border-radius: 28px;
      background: var(--ink);
      color: var(--white);
      padding: 32px;
      min-height: 360px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 10px 10px 0 rgba(233, 93, 63, 0.72);
      overflow: hidden;
      position: relative;
      isolation: isolate;
    }

    .feature-card::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background: var(--feature-image, url("../images/latest-family-agent.jpg")) center / cover;
      opacity: 0.64;
      filter: saturate(0.95) contrast(0.95);
    }

    .feature-card::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(90deg, rgba(8, 7, 6, 0.88) 0%, rgba(8, 7, 6, 0.62) 42%, rgba(8, 7, 6, 0.04) 100%),
        radial-gradient(circle at 86% 18%, rgba(244, 189, 56, 0.08), transparent 42%);
    }

    .feature-card .eyebrow { color: var(--gold); }

    .feature-card h3 {
      font-family: var(--serif);
      font-size: clamp(2.1rem, 4vw, 3.5rem);
      line-height: 0.98;
      letter-spacing: -0.025em;
      max-width: 620px;
    }

    .feature-card p {
      color: rgba(255,253,248,0.72);
      max-width: 540px;
      margin-bottom: 0;
    }

    .feature-card .button {
      width: max-content;
      margin-top: 28px;
      background: var(--gold);
      color: var(--ink);
    }

    .mini-stack {
      display: grid;
      gap: 14px;
    }

    .mini {
      background: var(--white);
      border: 2px solid var(--line);
      border-radius: 20px;
      padding: 20px;
      box-shadow: 5px 5px 0 rgba(39, 34, 29, 0.12);
    }

    .mini h3 {
      font-family: var(--serif);
      font-size: 1.45rem;
      line-height: 1.05;
      letter-spacing: -0.025em;
      margin-bottom: 8px;
    }

    .mini p {
      color: var(--muted);
      font-size: 0.94rem;
      margin-bottom: 0;
    }

    .section-link {
      margin: 26px 0 0;
      text-align: center;
      font-weight: 760;
    }

    .section-link a {
      display: inline-block;
      text-decoration: none;
      border-bottom: 3px solid var(--gold);
    }

    .mini a {
      display: inline-block;
      margin-top: 14px;
      font-weight: 760;
      text-decoration: none;
      border-bottom: 3px solid var(--gold);
    }

    footer {
      padding: 56px 0;
      border-top: 2px solid var(--line);
      background: var(--ink);
      color: var(--white);
    }

    .footer-grid {
      display: grid;
      gap: 28px;
      align-items: start;
    }

    .subscribe-panel {
      grid-column: 1 / -1;
      max-width: 760px;
      padding: 0 0 10px;
    }

    .subscribe-panel .eyebrow {
      color: var(--gold);
      margin-bottom: 14px;
    }

    .subscribe-panel h2 {
      font-family: var(--serif);
      font-size: clamp(2.1rem, 5vw, 4.6rem);
      line-height: 0.94;
      letter-spacing: -0.02em;
      margin-bottom: 18px;
      color: var(--white);
    }

    .subscribe-panel p {
      font-size: 1.05rem;
      margin-bottom: 22px;
    }

    .subscribe-form {
      display: flex;
      gap: 12px;
      max-width: 590px;
      align-items: stretch;
    }

    .subscribe-form .subscribe-input {
      appearance: none;
      -webkit-appearance: none;
      flex: 1;
      min-width: 0;
      min-height: 52px;
      width: 100%;
      padding: 12px 14px;
      border: 2px solid var(--white);
      border-radius: 14px;
      background: var(--white);
      color: var(--ink);
      font-family: var(--mono);
      font-size: 0.95rem;
      font-weight: 700;
      line-height: 1.2;
      outline: none;
      box-shadow: 5px 5px 0 rgba(244, 189, 56, 0.28), inset 0 0 0 1px rgba(39, 34, 29, 0.08);
    }

    .subscribe-form .subscribe-input::placeholder {
      color: rgba(39, 34, 29, 0.55);
      opacity: 1;
    }

    .subscribe-form .subscribe-input:focus {
      border-color: var(--gold);
      box-shadow: 5px 5px 0 rgba(244, 189, 56, 0.28), 0 0 0 3px rgba(244, 189, 56, 0.28);
    }

    .subscribe-form .subscribe-button {
      appearance: none;
      -webkit-appearance: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 12px 18px;
      border: 2px solid var(--gold);
      border-radius: 14px;
      background: var(--gold);
      color: #27221d;
      cursor: pointer;
      font-family: var(--mono);
      font-size: 0.82rem;
      font-weight: 800;
      line-height: 1;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      box-shadow: 5px 5px 0 rgba(244, 189, 56, 0.28);
      transition: transform 0.16s ease, box-shadow 0.16s ease;
      white-space: nowrap;
    }

    .subscribe-form .subscribe-button:hover {
      transform: translate(-2px, -2px);
      box-shadow: 7px 7px 0 rgba(244, 189, 56, 0.34);
    }

    .subscribe-form .subscribe-button:disabled {
      cursor: not-allowed;
      opacity: 0.65;
      transform: none;
    }

    .subscribe-status {
      min-height: 1.4em;
      margin-top: 12px;
      margin-bottom: 0;
      font-size: 0.9rem;
      font-weight: 760;
    }

    .subscribe-status.success {
      color: var(--mint);
    }

    .subscribe-status.error {
      color: var(--coral);
    }

    .subscribe-fine {
      margin-top: 10px;
      font-size: 0.82rem;
      line-height: 1.45;
    }

    .subscribe-fine a {
      color: inherit;
      text-decoration-thickness: 2px;
      text-underline-offset: 3px;
    }

    footer p {
      margin: 0;
      color: rgba(255,253,248,0.68);
      max-width: 600px;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      font-family: var(--mono);
      font-size: 0.8rem;
      text-transform: uppercase;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --paper: #14110f;
        --paper-deep: #201a16;
        --ink: #f8efe1;
        --muted: #c6b8a6;
        --line: #f8efe1;
        --gold: #d9a329;
        --coral: #ff785f;
        --mint: #77b99b;
        --blue: #7aa7ce;
        --white: #241f1a;
        --shadow: 6px 6px 0 rgba(0, 0, 0, 0.48);
      }

      body {
        background:
          radial-gradient(rgba(248, 239, 225, 0.08) 1px, transparent 1px),
          linear-gradient(180deg, var(--paper) 0%, #181410 46%, var(--paper-deep) 100%);
        background-size: 22px 22px, auto;
      }

      .nav-wrap nav {
        background: rgba(36, 31, 26, 0.88);
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.36);
      }

      .list li {
        border-top-color: rgba(248, 239, 225, 0.28);
      }

      .topic,
      .mini {
        box-shadow: 5px 5px 0 rgba(217, 163, 41, 0.42);
      }

      .panel {
        box-shadow: 6px 6px 0 rgba(217, 163, 41, 0.42);
      }

      .profile-photo {
        box-shadow: 8px 8px 0 rgba(217, 163, 41, 0.52);
      }

      .button {
        box-shadow: 6px 6px 0 rgba(217, 163, 41, 0.32);
      }

      .panel.tint,
      .feature-card .button {
        color: #27221d;
      }

      .button.secondary {
        background: #fff8e8;
        color: #27221d;
      }

      .panel.tint .button.secondary {
        background: #fff8e8;
        color: #27221d;
        border-color: #27221d;
      }

      .hero-card {
        box-shadow: 12px 12px 0 rgba(217, 163, 41, 0.55);
      }

      .hero-card::before {
        color: #27221d;
      }

      .workspace {
        background:
          linear-gradient(90deg, transparent 0 31px, rgba(248,239,225,0.09) 31px 33px),
          linear-gradient(0deg, transparent 0 31px, rgba(248,239,225,0.09) 31px 33px),
          #1b1713;
      }

      .hero-copy,
      .section-head p,
      .topic p,
      .panel p,
      .mini p,
      .list li {
        color: var(--muted);
      }

      .feature-card {
        background: #080706;
        box-shadow: 10px 10px 0 rgba(255, 120, 95, 0.62);
      }

      .feature-card::before {
        opacity: 0.42;
      }

      .feature-card h3 {
        color: #fff8e8;
      }

      .feature-card p,
      footer p {
        color: rgba(248, 239, 225, 0.72);
      }

      .author-bio {
        background: #241f1a;
      }

      .author-bio p,
      .read-next-card p {
        color: rgba(248, 239, 225, 0.76);
      }

      .read-next-band {
        background: #241f1a;
      }

      .read-next-card {
        background: #080706;
        color: #fff8e8;
      }

      .article-content blockquote {
        background: #241f1a;
      }

      footer {
        background: #080706;
      }

      .subscribe-panel h2 {
        color: #fff8e8;
      }

      footer .brand-text,
      footer a {
        color: #fff8e8;
      }

      .subscribe-form .subscribe-input {
        background: #fff8e8;
        color: #27221d;
        border-color: #fff8e8;
        box-shadow: 5px 5px 0 rgba(217, 163, 41, 0.42), inset 0 0 0 1px rgba(39, 34, 29, 0.08);
      }

      .subscribe-form .subscribe-input:focus {
        box-shadow: 5px 5px 0 rgba(217, 163, 41, 0.42), 0 0 0 3px rgba(217, 163, 41, 0.3);
      }

      .subscribe-form .subscribe-button {
        box-shadow: 5px 5px 0 rgba(217, 163, 41, 0.42);
      }

      .subscribe-form .subscribe-button:hover {
        box-shadow: 7px 7px 0 rgba(217, 163, 41, 0.5);
      }
    }

    @media (max-width: 860px) {
      .shell { width: min(100% - 28px, 1140px); }
      .nav-wrap nav { border-radius: 24px; align-items: center; gap: 10px; padding: 10px 12px; }
      .brand { min-width: 0; gap: 7px; overflow: hidden; }
      .brand-text { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .mark { width: 24px; height: 24px; font-size: 1.1rem; }
      .nav-cta {
        margin-left: auto;
        padding: 9px 12px;
        font-size: 0.85rem;
      }
      .desktop-label { display: none; }
      .mobile-label { display: inline; }
      .nav-links { display: none; }
      .nav-menu { display: block; margin-left: auto; }
      .hero {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: 0;
        padding: 64px 0;
      }
      .hero-card { transform: none; }
      .hero-card::before { left: 14px; }
      .workspace { min-height: 330px; }
      .section-head,
      .split,
      .post-row {
        grid-template-columns: 1fr;
      }
      .topic-grid {
        grid-template-columns: 1fr;
      }
      .archive-header {
        display: block;
      }
      .archive-count {
        margin-top: 14px;
        margin-bottom: 0;
      }
      .archive-description {
        margin-bottom: 26px;
        font-size: 1rem;
      }
      .archive-post-row {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
        padding: 16px 12px;
      }
      .archive-row-thumb {
        width: 72px;
        border-radius: 8px;
      }
      .archive-row-title {
        font-size: 1.28rem;
      }
      .archive-row-subtitle {
        font-size: 0.92rem;
      }
      .archive-row-action {
        display: none;
      }
      .profile-panel {
        grid-template-columns: 1fr;
      }
      .profile-photo {
        max-width: 240px;
      }
      .article-content blockquote {
        padding: 28px 24px;
        border-radius: 22px;
      }
      .post-body-grid {
        display: block;
        max-width: 760px;
      }
      .post-toc {
        display: none;
      }
      .post-support {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 64px;
        padding-top: 36px;
      }
      .author-bio,
      .go-deeper {
        min-height: 0;
        padding: 24px;
        border-radius: 22px;
      }
      .author-bio {
        grid-template-columns: 72px 1fr;
        gap: 18px;
      }
      .author-photo {
        width: 72px;
      }
      .go-deeper {
        display: block;
      }
      .read-next-band {
        margin-top: 70px;
        padding: 58px 0 64px;
        border-top-left-radius: 44px;
        border-top-right-radius: 44px;
      }
      .read-next-head {
        display: block;
      }
      .read-next-head a {
        display: inline-block;
        margin-top: 16px;
        margin-bottom: 0;
      }
      .read-next-grid {
        grid-template-columns: 1fr;
      }
      .read-next-card {
        min-height: 0;
      }
      .article-header .page-title {
        font-size: 3.35rem;
        line-height: 1.1;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        align-items: flex-start;
      }
      .subscribe-form {
        flex-direction: column;
        max-width: none;
        gap: 10px;
      }
      .subscribe-panel h2 {
        font-size: clamp(2.35rem, 11vw, 3.35rem);
      }
      .subscribe-panel p {
        font-size: 1rem;
      }
      .subscribe-form .subscribe-input,
      .subscribe-form .subscribe-button {
        min-height: 54px;
        border-radius: 16px;
      }
      .subscribe-form .subscribe-button {
        width: 100%;
      }
      .subscribe-fine {
        margin-top: 12px;
      }
    }

    @media (max-width: 350px) {
      .article-header .page-title {
        font-size: 2.65rem;
      }
      .nav-cta { display: none; }
    }
