/* It’s NOT just business shared styles */

    :root {
      --paper: #F3EEE4;
      --ink: #161310;
      --ink-soft: #3F3A36;
      --rule: rgba(22, 19, 16, 0.18);

      --rust: #8F3B1A;
      --olive: #355B1F;
      --cobalt: #1C4580;
      --rose: #A74B49;
      --gold: #816412;
      --teal: #105056;
      --wine: #70243A;
      --indigo: #4E2484;

      --light: #F3EEE4;
      --dark: #161310;
      --white: #FFFFFF;

      --font-display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
      --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
      --font-sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

      --header-h: 4.25rem;
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --pad-x: clamp(1.25rem, 4vw, 3.5rem);
      --safe-t: env(safe-area-inset-top, 0px);
      --safe-r: env(safe-area-inset-right, 0px);
      --safe-b: env(safe-area-inset-bottom, 0px);
      --safe-l: env(safe-area-inset-left, 0px);
    }

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

    html {
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
      scroll-behavior: smooth;
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
    }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--font-sans);
      font-size: 1.0625rem;
      line-height: 1.55;
      font-weight: 400;
      min-height: 100vh;
      min-height: 100svh;
    }

    img, svg { display: block; max-width: 100%; }
    h1, h2, h3, h4, p { margin: 0; }
    ul, ol { margin: 0; padding: 0; }
    a { color: inherit; }

    ::selection {
      background: var(--ink);
      color: var(--paper);
    }

    .skip {
      position: absolute;
      left: 1rem;
      top: 0;
      transform: translateY(-120%);
      background: var(--ink);
      color: var(--paper);
      padding: 0.65rem 1rem;
      z-index: 100;
      text-decoration: none;
      font-size: 0.875rem;
    }
    .skip:focus {
      transform: none;
    }

    /* ----- Header ----- */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem 2rem;
      min-height: var(--header-h);
      padding: calc(0.85rem + var(--safe-t)) calc(var(--pad-x) + var(--safe-r)) 0.85rem calc(var(--pad-x) + var(--safe-l));
      background: var(--paper);
      border-bottom: 1px solid var(--ink);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      text-decoration: none;
      color: var(--ink);
      min-width: 0;
    }
    .brand-mark {
      width: 1.35rem;
      height: 1.7rem;
      flex: 0 0 auto;
      display: block;
      overflow: visible;
    }
    .brand-lockup {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.1rem;
      line-height: 1;
      min-width: 0;
    }
    .brand-line-1,
    .brand-line-2 {
      font-family: var(--font-serif);
      font-style: italic;
      font-weight: 400;
      letter-spacing: -0.02em;
      white-space: nowrap;
    }
    .brand-line-1 { font-size: 1.0625rem; }
    .brand-line-2 { font-size: 0.9375rem; }
    .brand-not {
      font-family: var(--font-display);
      font-style: normal;
      font-weight: 800;
      font-size: 1.18em;
      letter-spacing: 0.02em;
      color: var(--rust);
      padding: 0 0.04em;
    }

    .account-nav {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.35rem 1.35rem;
      list-style: none;
      font-size: 0.8125rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .account-nav a {
      text-decoration: none;
      color: var(--ink);
    }

    @media (hover: hover) {
      .account-nav a:hover,
      .brand:hover .brand-lockup {
        text-decoration: underline;
        text-underline-offset: 0.22em;
        text-decoration-thickness: 1px;
      }
    }

    a:focus-visible {
      outline: 2px solid var(--ink);
      outline-offset: 3px;
    }

    /* ----- Hubs hero ----- */
    .hubs {
      display: flex;
      flex-direction: row;
      align-items: stretch;
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      min-height: calc(100vh - var(--header-h));
      min-height: calc(100svh - var(--header-h));
    }

    .hub {
      --hub: var(--rust);
      --hub-ink: var(--white);
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: flex-end;
      flex: 1 1 0;
      min-width: 0;
      overflow: hidden;
      background: var(--hub);
      color: var(--hub-ink);
      text-decoration: none;
      padding: 1.4rem 1.05rem 1.3rem;
      width: 0;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }

    .hub:focus-visible {
      outline: 3px solid var(--hub-ink);
      outline-offset: -8px;
    }

    .hub-index {
      position: absolute;
      top: 1.15rem;
      right: 0.95rem;
      font-size: 0.6875rem;
      font-weight: 500;
      letter-spacing: 0.16em;
      font-variant-numeric: tabular-nums;
    }

    .hub-word {
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      font-family: var(--font-display);
      font-weight: 800;
      font-size: min(5.5rem, calc((100svh - 8.5rem) / 11));
      line-height: 0.8;
      text-transform: uppercase;
      letter-spacing: -0.035em;
      flex: 0 0 auto;
      align-self: flex-end;
    }

    .hub-detail {
      flex: 1 1 0;
      min-width: 0;
      overflow: hidden;
      opacity: 0;
      transform: translateX(0.7rem);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-start;
      gap: 0.9rem;
      padding: 0 0.5rem 0.1rem 1.85rem;
      pointer-events: none;
    }

    .hub-name {
      font-family: var(--font-serif);
      font-style: italic;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.25;
    }

    .hub-tagline {
      font-size: 1rem;
      line-height: 1.4;
      max-width: 18.5rem;
      font-weight: 400;
    }

    .hub-explore {
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding-top: 0.4rem;
    }

    /* Desktop hover / focus expand.
       :has() arguments count toward specificity, so the expand rule
       must include :has() as well or every panel stays equally narrow. */
    @media (min-width: 1100px) {
      .hub {
        transition: flex-grow 0.9s var(--ease);
        scroll-margin-top: var(--header-h);
      }
      .hub-detail {
        transition:
          opacity 0.7s var(--ease) 0.22s,
          transform 0.7s var(--ease) 0.22s;
      }
    }
    @media (hover: hover) and (min-width: 1100px) {
      .hubs:has(.hub:hover) .hub,
      .hubs:has(.hub:focus-visible) .hub {
        flex-grow: 0.82;
      }
      .hubs:has(.hub:hover) .hub:hover,
      .hubs:has(.hub:focus-visible) .hub:focus-visible {
        flex-grow: 4.4;
      }
      .hubs .hub:hover .hub-detail,
      .hubs .hub:focus-visible .hub-detail {
        opacity: 1;
        transform: none;
      }
    }
    @media (hover: none) and (min-width: 1100px) {
      .hubs:has(.hub:focus-visible) .hub { flex-grow: 0.82; }
      .hubs:has(.hub:focus-visible) .hub:focus-visible { flex-grow: 4.4; }
      .hubs .hub:focus-visible .hub-detail {
        opacity: 1;
        transform: none;
      }
    }

    @media (max-width: 719px) {
      .site-header {
        flex-wrap: wrap;
        gap: 0.55rem 1.15rem;
      }
      .account-nav {
        font-size: 0.75rem;
        gap: 0.3rem 0.95rem;
      }
      .brand-mark {
        width: 1.2rem;
        height: 1.5rem;
      }
      .brand-line-1 { font-size: 1rem; }
      .brand-line-2 { font-size: 0.875rem; }
    }

    /* Mobile and tablet: stacked full-width accordion bands */
    @media (max-width: 1099px) {
      .hubs {
        flex-direction: column;
        min-height: calc(100vh - var(--header-h));
        min-height: calc(100svh - var(--header-h));
      }
      .hubs--photo {
        background-size: 100% calc(100vh - var(--header-h));
        background-size: 100% calc(100svh - var(--header-h));
        background-position: top center;
        background-repeat: no-repeat;
      }
      .hub {
        flex: 1 0 auto;
        width: auto;
        max-width: 100%;
        min-width: 0;
        min-height: 3.5rem;
        min-height: calc((100vh - var(--header-h)) / 8);
        min-height: calc((100svh - var(--header-h)) / 8);
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        padding: 0.85rem calc(var(--pad-x) + var(--safe-r)) 0.85rem calc(var(--pad-x) + var(--safe-l));
        transition: min-height 0.9s var(--ease);
        scroll-margin-top: var(--header-h);
      }
      .hub.is-open {
        justify-content: flex-end;
        min-height: calc((100vh - var(--header-h)) / 8 + 7.5rem);
        min-height: calc((100svh - var(--header-h)) / 8 + 7.5rem);
      }
      .hub-word {
        writing-mode: horizontal-tb;
        -webkit-writing-mode: horizontal-tb;
        text-orientation: mixed;
        transform: none;
        font-size: clamp(1.85rem, 9vw, 3.15rem);
        font-size: min(3.15rem, max(1.85rem, 9vw), calc((100svh - var(--header-h)) / 8 * 0.44));
        line-height: 0.86;
        align-self: flex-start;
        max-width: calc(100% - 2.4rem);
      }
      .hub-detail {
        opacity: 0;
        transform: none;
        padding: 0;
        overflow: hidden;
        flex: 0 0 auto;
        max-width: 22rem;
        max-height: 0;
        pointer-events: none;
        gap: 0;
        transition:
          max-height 0.9s var(--ease),
          opacity 0.65s var(--ease) 0.12s,
          padding 0.9s var(--ease);
      }
      .hub-name { font-size: 0.9375rem; }
      .hub-tagline {
        font-size: 0.9375rem;
        max-width: 22rem;
      }
      .hub-index {
        top: 50%;
        right: calc(var(--pad-x) + var(--safe-r));
        transform: translateY(-50%);
        font-size: 0.6875rem;
        letter-spacing: 0.14em;
      }
      .hub.is-open .hub-index {
        top: 0.95rem;
        transform: none;
      }
      .hubs .hub.is-open .hub-detail {
        opacity: 1;
        transform: none;
        max-height: 12rem;
        padding: 0.65rem 0 0.15rem;
        gap: 0.5rem;
        pointer-events: auto;
      }
      .hubs--photo .hub::after {
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        width: 70%;
        height: auto;
      }
    }

    /* ----- About ----- */
    .about {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.75rem 5rem;
      padding: clamp(4.5rem, 11vh, 8.5rem) var(--pad-x) clamp(4rem, 10vh, 7.5rem);
      padding-left: calc(var(--pad-x) + var(--safe-l));
      padding-right: calc(var(--pad-x) + var(--safe-r));
      border-bottom: 1px solid var(--ink);
    }

    @media (min-width: 900px) {
      .about {
        grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.7fr);
        align-items: end;
        column-gap: clamp(3rem, 8vw, 8rem);
      }
    }

    .kicker {
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
      color: var(--ink-soft);
    }

    .about-lockup {
      font-weight: 400;
      line-height: 0.9;
    }
    .about-lockup-lead {
      display: block;
      font-family: var(--font-serif);
      font-style: italic;
      font-size: clamp(2.25rem, 6vw, 4.75rem);
      letter-spacing: -0.03em;
      font-weight: 400;
    }
    .about-lockup-not {
      display: block;
      font-family: var(--font-display);
      font-style: normal;
      font-weight: 800;
      font-size: clamp(5.5rem, 18vw, 13.5rem);
      letter-spacing: -0.045em;
      line-height: 0.78;
      color: var(--rust);
      text-transform: uppercase;
      margin: 0.02em 0 0.06em;
    }

    .about-copy {
      max-width: 28rem;
      font-size: 1.0625rem;
      line-height: 1.65;
      color: var(--ink-soft);
    }
    .about-copy p + p { margin-top: 1rem; }

    /* ----- Features ----- */
    .features {
      display: grid;
      grid-template-columns: 1fr;
    }

    @media (min-width: 800px) {
      .features {
        grid-template-columns: 1fr 1fr;
      }
    }

    .feature {
      --feat: var(--rust);
      --feat-ink: var(--white);
      background: var(--feat);
      color: var(--feat-ink);
      min-height: 18rem;
      padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.4rem, 3.5vw, 2.6rem) clamp(1.5rem, 3vw, 2.2rem);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 2.5rem;
    }

    @media (min-width: 800px) {
      .feature {
        min-height: calc((100svh - var(--header-h)) / 2);
        min-height: max(22rem, calc((100svh - var(--header-h)) / 2));
      }
    }

    .feature-index {
      font-size: 0.6875rem;
      font-weight: 500;
      letter-spacing: 0.16em;
      font-variant-numeric: tabular-nums;
    }

    .feature-title {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(3rem, 7.2vw, 6.25rem);
      line-height: 0.82;
      letter-spacing: -0.035em;
      text-transform: uppercase;
      margin: 0.8rem 0 0;
    }

    .feature-copy {
      font-size: 1rem;
      line-height: 1.5;
      max-width: 22rem;
    }

    /* ----- Get started ----- */
    .started {
      padding: clamp(4.5rem, 11vh, 8.5rem) var(--pad-x) clamp(4.5rem, 10vh, 8rem);
      padding-left: calc(var(--pad-x) + var(--safe-l));
      padding-right: calc(var(--pad-x) + var(--safe-r));
    }

    .started-header {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
      max-width: 36rem;
    }

    .started-title {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(3.25rem, 9vw, 7.5rem);
      line-height: 0.84;
      letter-spacing: -0.035em;
      text-transform: uppercase;
    }

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

    .step {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 1rem 1.5rem;
      align-items: baseline;
      padding: 1.6rem 0 1.7rem;
      border-bottom: 1px solid var(--ink);
    }

    @media (min-width: 720px) {
      .step {
        grid-template-columns: 7.5rem 1fr;
        gap: 1.5rem 2.5rem;
        padding: 1.9rem 0 2rem;
      }
    }

    .step-num {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(2.75rem, 6vw, 5rem);
      line-height: 0.8;
      letter-spacing: -0.04em;
      color: var(--step-c, var(--rust));
    }

    .step-title {
      font-family: var(--font-serif);
      font-style: italic;
      font-size: clamp(1.35rem, 2.4vw, 1.85rem);
      font-weight: 400;
      line-height: 1.25;
      letter-spacing: -0.015em;
    }

    .step-copy {
      margin-top: 0.55rem;
      max-width: 34rem;
      color: var(--ink-soft);
      font-size: 1rem;
      line-height: 1.55;
    }

    /* ----- Footer ----- */
    .site-footer {
      background: var(--ink);
      color: var(--paper);
      padding: clamp(3.25rem, 8vh, 5.5rem) var(--pad-x) calc(2rem + var(--safe-b));
      padding-left: calc(var(--pad-x) + var(--safe-l));
      padding-right: calc(var(--pad-x) + var(--safe-r));
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.5rem 4rem;
    }

    @media (min-width: 800px) {
      .footer-grid {
        grid-template-columns: 1.2fr 0.55fr;
      }
    }

    .site-footer .brand {
      color: var(--paper);
      margin-bottom: 1.75rem;
      display: inline-flex;
    }
    .site-footer .brand-mark {
      width: 1.55rem;
      height: 1.95rem;
    }
    .site-footer .brand-line-1 { font-size: 1.125rem; }
    .site-footer .brand-line-2 { font-size: 1rem; }
    .site-footer .brand-not { color: var(--paper); }

    .footer-heading {
      font-size: 0.6875rem;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      margin-bottom: 0.9rem;
      color: rgba(243, 238, 228, 0.62);
    }

    .footer-links {
      list-style: none;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.45rem 1.5rem;
    }

    .footer-links a,
    .footer-account a {
      text-decoration: none;
      font-size: 0.9375rem;
      line-height: 1.45;
    }

    .footer-account {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }

    @media (hover: hover) {
      .footer-links a:hover,
      .footer-account a:hover {
        text-decoration: underline;
        text-underline-offset: 0.28em;
      }
    }

    .site-footer a:focus-visible {
      outline-color: var(--paper);
    }

    .footer-copy {
      margin-top: 3.25rem;
      padding-top: 1.25rem;
      border-top: 1px solid rgba(243, 238, 228, 0.22);
      font-size: 0.8125rem;
      color: rgba(243, 238, 228, 0.62);
    }

    /* ----- Scroll reveals ----- */
    .reveal { opacity: 1; transform: none; }
    html.js .reveal {
      opacity: 0;
      transform: translateY(1.6rem);
      transition:
        opacity 1.15s var(--ease) var(--d, 0s),
        transform 1.15s var(--ease) var(--d, 0s);
    }
    html.js .reveal.is-in {
      opacity: 1;
      transform: none;
    }

    @media (prefers-reduced-motion: reduce) {
      .hub,
      .hub-detail,
      .reveal,
      html.js .reveal {
        transition: none !important;
      }
      .reveal,
      html.js .reveal {
        opacity: 1;
        transform: none !important;
      }
      .hub-detail {
        transform: none !important;
      }
    }
  

    /* ----- Shared page chrome ----- */
    .wrap {
      padding-left: calc(var(--pad-x) + var(--safe-l));
      padding-right: calc(var(--pad-x) + var(--safe-r));
    }

    .section {
      padding-top: clamp(2.75rem, 7vh, 5rem);
      padding-bottom: clamp(2.75rem, 7vh, 5rem);
    }

    .section-head {
      margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
      max-width: 38rem;
    }

    .section-title {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(2.5rem, 6vw, 4.75rem);
      line-height: 0.86;
      letter-spacing: -0.035em;
      text-transform: uppercase;
    }

    .lede {
      margin-top: 0.85rem;
      color: var(--ink-soft);
      max-width: 34rem;
    }

    .note {
      font-size: 0.9375rem;
      color: var(--ink-soft);
    }

    .account-nav a[aria-current="page"],
    .footer-links a[aria-current="page"],
    .footer-account a[aria-current="page"],
    .side-nav a[aria-current="page"] {
      text-decoration: underline;
      text-underline-offset: 0.28em;
      text-decoration-thickness: 1px;
    }

    .step-title a {
      text-decoration: none;
    }
    @media (hover: hover) {
      .step-title a:hover {
        text-decoration: underline;
        text-underline-offset: 0.18em;
      }
    }

    /* ----- Inner page hero ----- */
    .page-hero {
      background: var(--accent, var(--rust));
      color: var(--accent-ink, var(--white));
      padding: clamp(2.75rem, 9vh, 6rem) calc(var(--pad-x) + var(--safe-r)) clamp(2.25rem, 7vh, 4.5rem) calc(var(--pad-x) + var(--safe-l));
    }
    .page-hero .kicker {
      color: inherit;
      margin-bottom: 1.1rem;
    }
    .page-hero-title {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(3.5rem, 13vw, 9.5rem);
      line-height: 0.8;
      letter-spacing: -0.04em;
      text-transform: uppercase;
    }
    .page-hero-tag {
      margin-top: 1.15rem;
      max-width: 28rem;
      font-family: var(--font-serif);
      font-style: italic;
      font-size: clamp(1.2rem, 2.2vw, 1.65rem);
      line-height: 1.3;
    }

    /* ----- Forms and buttons ----- */
    .form {
      display: grid;
      gap: 1.15rem;
      max-width: 36rem;
    }
    .form-row {
      display: grid;
      gap: 1.15rem;
    }
    @media (min-width: 720px) {
      .form-row.two { grid-template-columns: 1fr 1fr; }
    }
    .field label,
    .filters label {
      display: block;
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 0.4rem;
    }
    .field .hint {
      display: block;
      margin-top: 0.35rem;
      font-size: 0.8125rem;
      color: var(--ink-soft);
    }
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    input[type="date"],
    select,
    textarea {
      width: 100%;
      max-width: 100%;
      font-family: var(--font-sans);
      font-size: 1rem;
      line-height: 1.4;
      color: var(--ink);
      background: var(--paper);
      border: 1px solid var(--ink);
      border-radius: 0;
      padding: 0.7rem 0.8rem;
      box-shadow: none;
    }
    textarea { min-height: 8rem; resize: vertical; }
    select {
      appearance: none;
      -webkit-appearance: none;
      background: var(--paper);
      padding-right: 2.2rem;
    }
    .field-select {
      position: relative;
    }
    .field-select::after {
      content: "";
      position: absolute;
      right: 0.85rem;
      bottom: 1.05rem;
      width: 0;
      height: 0;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 5px solid var(--ink);
      pointer-events: none;
    }
    input::placeholder,
    textarea::placeholder {
      color: var(--ink-soft);
      opacity: 1;
    }
    input::-webkit-input-placeholder,
    textarea::-webkit-input-placeholder {
      color: var(--ink-soft);
      opacity: 1;
    }
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
      outline: 2px solid var(--ink);
      outline-offset: 2px;
    }
    .check {
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
      font-size: 0.9375rem;
    }
    .check input {
      width: 1.1rem;
      height: 1.1rem;
      margin-top: 0.15rem;
      accent-color: var(--ink);
      flex: 0 0 auto;
    }

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

    .btn {
      display: inline-block;
      border: 1px solid var(--ink);
      background: var(--ink);
      color: var(--paper);
      font-family: var(--font-sans);
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 0.85rem 1.25rem;
      cursor: pointer;
      border-radius: 0;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }
    .btn-accent {
      background: var(--accent, var(--rust));
      border-color: var(--accent, var(--rust));
      color: var(--accent-ink, var(--white));
    }
    .btn-ghost {
      background: transparent;
      color: var(--ink);
    }
    .page-hero .btn-ghost {
      border-color: currentColor;
      color: inherit;
      background: transparent;
    }
    button.btn { font: inherit; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
    @media (hover: hover) {
      .btn:hover {
        background: var(--paper);
        color: var(--ink);
        border-color: var(--ink);
      }
      .btn-ghost:hover {
        background: var(--ink);
        color: var(--paper);
      }
      .page-hero .btn-ghost:hover {
        background: var(--accent-ink, var(--white));
        color: var(--accent, var(--rust));
        border-color: var(--accent-ink, var(--white));
      }
    }

    /* ----- Cards and placeholders ----- */
    .card-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
    }
    @media (min-width: 800px) {
      .card-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (min-width: 1100px) {
      .card-grid.thirds { grid-template-columns: 1fr 1fr 1fr; }
    }
    .card {
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
      border: 1px solid var(--ink);
      margin: -1px 0 0 -1px;
      background: var(--paper);
      min-width: 0;
    }
    .card-ph {
      aspect-ratio: 4 / 3;
      background: var(--ph, var(--rust));
      color: var(--ph-ink, var(--white));
      display: flex;
      align-items: flex-end;
      padding: 1rem 1.1rem;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(2rem, 5vw, 3.35rem);
      letter-spacing: -0.04em;
      line-height: 0.85;
      text-transform: uppercase;
    }
    .card-body {
      padding: 1.2rem 1.15rem 1.4rem;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      flex: 1 1 auto;
    }
    .card-title {
      font-family: var(--font-serif);
      font-style: italic;
      font-size: 1.35rem;
      line-height: 1.2;
      letter-spacing: -0.015em;
    }
    .card-summary {
      color: var(--ink-soft);
      font-size: 0.975rem;
    }
    .meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.2rem 0.85rem;
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-top: 0.35rem;
    }
    .card[hidden],
    .item[hidden] { display: none; }

    .filters {
      display: grid;
      gap: 1rem;
      margin-bottom: 2rem;
    }
    @media (min-width: 800px) {
      .filters {
        grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
        align-items: end;
      }
    }
    .empty {
      padding: 2rem 0;
      color: var(--ink-soft);
    }

    /* ----- Lists (events, opportunities, threads) ----- */
    .item-list {
      list-style: none;
      border-top: 1px solid var(--ink);
    }
    .item {
      display: grid;
      gap: 0.35rem 1.5rem;
      padding: 1.35rem 0 1.45rem;
      border-bottom: 1px solid var(--ink);
      align-items: start;
    }
    @media (min-width: 800px) {
      .item.split {
        grid-template-columns: 7.5rem 1fr auto;
        align-items: baseline;
      }
    }
    .item-date,
    .item-kicker {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      line-height: 0.85;
      letter-spacing: -0.04em;
      color: var(--accent, var(--rust));
    }
    .item-kicker { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-sans); font-weight: 500; color: var(--ink-soft); }
    .item-title {
      font-family: var(--font-serif);
      font-style: italic;
      font-size: clamp(1.25rem, 2.2vw, 1.6rem);
      line-height: 1.25;
    }
    .item-copy { color: var(--ink-soft); margin-top: 0.3rem; max-width: 36rem; }
    .item-actions { margin-top: 0.7rem; }
    button.item-hit,
    a.item-hit {
      display: block;
      width: 100%;
      text-align: left;
      background: none;
      border: 0;
      padding: 0;
      color: inherit;
      font: inherit;
      cursor: pointer;
      text-decoration: none;
    }
    @media (hover: hover) {
      button.item-hit:hover .item-title,
      a.item-hit:hover .item-title,
      .card:hover .card-title {
        text-decoration: underline;
        text-underline-offset: 0.18em;
      }
    }

    /* ----- Member profile ----- */
    .profile {
      display: grid;
      gap: 2.5rem;
    }
    @media (min-width: 900px) {
      .profile {
        grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
        gap: 3rem 4.5rem;
        align-items: start;
      }
    }
    .gallery {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      margin-top: 1.75rem;
    }
    .gallery .card-ph { aspect-ratio: 1 / 1; margin: -1px 0 0 -1px; border: 1px solid color-mix(in srgb, var(--ph-ink, #fff) 25%, transparent); }
    .profile-aside {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      padding-top: 0.2rem;
    }
    .profile-aside .meta { margin-top: 0; }

    /* ----- Account shell ----- */
    .account-shell {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      min-width: 0;
      width: 100%;
      max-width: 100%;
    }
    .account-shell > nav {
      min-width: 0;
      max-width: 100%;
    }
    @media (min-width: 900px) {
      .account-shell {
        grid-template-columns: 14.5rem minmax(0, 1fr);
        align-items: start;
        min-height: calc(100svh - var(--header-h));
      }
    }
    .side-nav {
      display: flex;
      gap: 0.25rem 1.25rem;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      border-bottom: 1px solid var(--ink);
      padding: 0.85rem calc(var(--pad-x) + var(--safe-l)) 0.85rem calc(var(--pad-x) + var(--safe-l));
      padding-right: calc(var(--pad-x) + var(--safe-r));
      list-style: none;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
    }
    .side-nav a {
      text-decoration: none;
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      white-space: nowrap;
      padding: 0.2rem 0;
    }
    @media (min-width: 900px) {
      .side-nav {
        flex-direction: column;
        overflow: visible;
        border-bottom: 0;
        border-right: 1px solid var(--ink);
        padding: 2.25rem 1.5rem 2.5rem calc(var(--pad-x) + var(--safe-l));
        min-height: calc(100svh - var(--header-h));
        position: sticky;
        top: var(--header-h);
      }
    }
    .account-main {
      min-width: 0;
      padding: clamp(2rem, 5vh, 3.25rem) calc(var(--pad-x) + var(--safe-r)) clamp(3rem, 8vh, 5rem) calc(var(--pad-x) + var(--safe-l));
    }
    @media (min-width: 900px) {
      .account-main { padding-left: 2.5rem; }
    }

    .stat-row {
      display: grid;
      gap: 0;
      margin: 2rem 0 2.5rem;
    }
    @media (min-width: 800px) {
      .stat-row { grid-template-columns: 1fr 1fr 1fr; }
    }
    .stat {
      border: 1px solid var(--ink);
      margin: -1px 0 0 -1px;
      padding: 1.2rem 1.2rem 1.3rem;
    }
    .stat-label {
      font-size: 0.75rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-weight: 500;
      color: var(--ink-soft);
    }
    .stat-value {
      display: block;
      margin-top: 0.55rem;
      font-family: var(--font-serif);
      font-style: italic;
      font-size: 1.45rem;
      line-height: 1.2;
    }
    .quick-links {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      list-style: none;
    }
    @media (min-width: 800px) {
      .quick-links { grid-template-columns: 1fr 1fr 1fr 1fr; }
    }
    .quick-links a {
      display: block;
      text-decoration: none;
      border: 1px solid var(--ink);
      margin: -1px 0 0 -1px;
      padding: 1.1rem 1rem 1.2rem;
      background: var(--q, var(--rust));
      color: var(--q-ink, var(--white));
      min-height: 7.5rem;
    }
    .quick-links a span {
      display: block;
      font-family: var(--font-display);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: -0.03em;
      font-size: 1.55rem;
      line-height: 0.9;
      margin-top: 0.7rem;
    }
    @media (hover: hover) {
      .quick-links a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
    }

    /* ----- Inbox ----- */
    .inbox {
      display: grid;
      grid-template-columns: 1fr;
      border: 1px solid var(--ink);
      min-width: 0;
    }
    @media (min-width: 900px) {
      .inbox { grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 1.3fr); }
    }
    .inbox-list {
      list-style: none;
      border-bottom: 1px solid var(--ink);
    }
    @media (min-width: 900px) {
      .inbox-list { border-bottom: 0; border-right: 1px solid var(--ink); }
    }
    .inbox-list button {
      display: block;
      width: 100%;
      text-align: left;
      background: none;
      border: 0;
      border-bottom: 1px solid var(--rule);
      padding: 1rem 1.1rem;
      font: inherit;
      color: inherit;
      cursor: pointer;
    }
    .inbox-list button[aria-current="true"] {
      background: var(--ink);
      color: var(--paper);
    }
    .inbox-list button[aria-current="true"] .note {
      color: rgba(243, 238, 228, 0.78);
    }
    .inbox-thread { padding: 1.25rem 1.2rem 1.5rem; min-width: 0; }
    .msg {
      margin: 0 0 1.1rem;
      max-width: 34rem;
    }
    .msg-who {
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 500;
      color: var(--ink-soft);
      margin-bottom: 0.25rem;
    }
    .inbox-thread[hidden] { display: none; }
    @media (max-width: 899px) {
      .inbox.is-reading .inbox-list { display: none; }
    }

    /* ----- Auth and register ----- */
    .auth {
      max-width: 32rem;
      padding-top: clamp(2.5rem, 7vh, 4.5rem);
      padding-bottom: clamp(3rem, 9vh, 6rem);
    }
    .step-switch {
      display: flex;
      gap: 1.25rem;
      list-style: none;
      margin-bottom: 2rem;
      border-bottom: 1px solid var(--ink);
    }
    .step-switch li {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.75rem;
      letter-spacing: -0.03em;
      padding-bottom: 0.55rem;
      color: var(--ink-soft);
    }
    .step-switch li.is-on {
      color: var(--accent, var(--rust));
      border-bottom: 2px solid var(--accent, var(--rust));
      margin-bottom: -1px;
    }
    .panel[hidden] { display: none; }

    /* ----- Threads ----- */
    .thread-replies {
      margin-top: 1rem;
      padding-left: 0;
      display: grid;
      gap: 0.85rem;
    }
    .thread-replies p {
      padding: 0.85rem 0 0;
      border-top: 1px solid var(--rule);
      color: var(--ink-soft);
    }
    .thread-replies[hidden] { display: none; }

    /* ----- Dialog ----- */
    .modal {
      border: 1px solid var(--ink);
      background: var(--paper);
      color: var(--ink);
      padding: 0;
      max-width: 34rem;
      width: calc(100% - 2rem);
    }
    .modal::backdrop {
      background: rgba(22, 19, 16, 0.58);
    }
    .modal-body { padding: 1.5rem 1.4rem 1.6rem; }
    .modal-body .item-date { display: block; margin-bottom: 0.6rem; }

    /* ----- Status notice ----- */
    .toast {
      position: fixed;
      z-index: 80;
      left: var(--pad-x);
      right: var(--pad-x);
      bottom: calc(1.25rem + var(--safe-b));
      max-width: 28rem;
      background: var(--ink);
      color: var(--paper);
      padding: 0.9rem 1.1rem;
      font-size: 0.9375rem;
      line-height: 1.4;
    }
    .toast[hidden] { display: none; }

    .code-reveal {
      margin-top: 0.7rem;
      font-family: var(--font-sans);
      font-size: 0.95rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .code-reveal[hidden] { display: none; }

    .month {
      font-size: 0.75rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      font-weight: 500;
      margin: 2rem 0 0.5rem;
    }

    button.card {
      font: inherit;
      text-align: left;
      cursor: pointer;
      width: 100%;
      appearance: none;
      -webkit-appearance: none;
    }
    main p a,
    main li a,
    main .note a,
    main .lede a,
    main .form-actions a:not(.btn) {
      text-decoration: underline;
      text-underline-offset: 0.18em;
    }
    .month:first-child { margin-top: 1rem; }
    @media (min-width: 900px) {
      [data-inbox-back] { display: none; }
    }
    .inbox-list .note { display: block; margin-top: 0.2rem; }


    /* Homepage photo strip (index only) */
    .hubs--photo {
      background-color: var(--ink);
      background-image: url("hub-strip.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .hubs--photo .hub {
      background-color: transparent;
      isolation: isolate;
    }
    .hubs--photo .hub::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: var(--hub);
      opacity: 0.88;
      pointer-events: none;
      z-index: 0;
    }
    .hubs--photo .hub-index,
    .hubs--photo .hub-word,
    .hubs--photo .hub-detail {
      z-index: 1;
    }
    .hubs--photo .hub-word,
    .hubs--photo .hub-detail {
      position: relative;
    }


    /* v4: soft staggered photo reveal, stronger away from type */
    .hubs--photo .hub::before {
      opacity: 1;
      transition: opacity 1.6s var(--ease);
    }
    .hubs--photo .hub::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 46%;
      background-color: var(--hub);
      opacity: 0;
      pointer-events: none;
      z-index: 0;
    }
    .hubs--photo.photo-in .hub::before { opacity: 0.92; }
    .hubs--photo.photo-in .hub::after { opacity: 0.36; }
    .hubs--photo.photo-in .hub:nth-child(1)::before,
    .hubs--photo.photo-in .hub:nth-child(1)::after { transition-delay: 0.08s; }
    .hubs--photo.photo-in .hub:nth-child(2)::before,
    .hubs--photo.photo-in .hub:nth-child(2)::after { transition-delay: 0.18s; }
    .hubs--photo.photo-in .hub:nth-child(3)::before,
    .hubs--photo.photo-in .hub:nth-child(3)::after { transition-delay: 0.28s; }
    .hubs--photo.photo-in .hub:nth-child(4)::before,
    .hubs--photo.photo-in .hub:nth-child(4)::after { transition-delay: 0.38s; }
    .hubs--photo.photo-in .hub:nth-child(5)::before,
    .hubs--photo.photo-in .hub:nth-child(5)::after { transition-delay: 0.48s; }
    .hubs--photo.photo-in .hub:nth-child(6)::before,
    .hubs--photo.photo-in .hub:nth-child(6)::after { transition-delay: 0.58s; }
    .hubs--photo.photo-in .hub:nth-child(7)::before,
    .hubs--photo.photo-in .hub:nth-child(7)::after { transition-delay: 0.68s; }
    .hubs--photo.photo-in .hub:nth-child(8)::before,
    .hubs--photo.photo-in .hub:nth-child(8)::after { transition-delay: 0.78s; }
    @media (hover: hover) and (min-width: 1100px) {
      .hubs--photo.photo-in .hub:hover::before,
      .hubs--photo.photo-in .hub:focus-visible::before { opacity: 0.92; }
    }
    @media (max-width: 1099px) {
      .hubs--photo.photo-in .hub.is-open::before { opacity: 0.92; }
      .hubs--photo .hub::after {
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        width: 70%;
        height: auto;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .hubs--photo .hub::before,
      .hubs--photo .hub::after,
      .hubs--photo.photo-in .hub::before,
      .hubs--photo.photo-in .hub::after {
        transition: none !important;
        transition-delay: 0s !important;
      }
      .hubs--photo .hub::before,
      .hubs--photo.photo-in .hub::before { opacity: 0.92; }
      .hubs--photo .hub::after,
      .hubs--photo.photo-in .hub::after { opacity: 0.36; }
    }

    /* Inner-page photo placeholders, v4-style fade */
    .card-ph {
      position: relative;
      isolation: isolate;
      overflow: hidden;
    }
    .card-ph-label {
      position: relative;
      z-index: 1;
    }
    .card-ph--photo::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: var(--ph-img);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 0;
      pointer-events: none;
      opacity: 1;
    }
    html.js .card-ph--photo::before {
      opacity: 0;
      transition: opacity 1.45s var(--ease) var(--d, 0s);
    }
    html.js .card-ph--photo.is-in::before {
      opacity: 1;
    }
    .card-ph--photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background-color: var(--ph, var(--rust));
      opacity: 0.92;
      z-index: 0;
      pointer-events: none;
    }
    @media (prefers-reduced-motion: reduce) {
      html.js .card-ph--photo::before,
      html.js .card-ph--photo.is-in::before {
        opacity: 1;
        transition: none !important;
      }
    }

    /* ----- Editorial inner pages (v4) ----- */
    .page-hero {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      min-height: clamp(22rem, 62svh, 36rem);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding-top: clamp(3.5rem, 12vh, 7rem);
      padding-bottom: clamp(2.25rem, 7vh, 4.75rem);
    }
    .page-hero-inner {
      position: relative;
      z-index: 1;
      width: 100%;
    }
    .page-hero-index {
      position: absolute;
      top: 1.2rem;
      right: calc(var(--pad-x) + var(--safe-r));
      z-index: 1;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(3rem, 8vw, 6.5rem);
      line-height: 0.8;
      letter-spacing: -0.04em;
      opacity: 0.22;
      pointer-events: none;
    }
    .page-hero-copy { max-width: 46rem; }
    @media (min-width: 1100px) {
      .page-hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(14rem, 0.7fr);
        gap: 2rem 5rem;
        align-items: end;
      }
      .page-hero-tag { margin-top: 0; }
    }
    .page-hero--photo::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: var(--ph-img);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 0;
      pointer-events: none;
      opacity: 1;
    }
    html.js .page-hero--photo::before {
      opacity: 0;
      transition: opacity 1.6s var(--ease);
    }
    html.js .page-hero--photo.is-in::before { opacity: 1; }
    .page-hero--photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background-color: var(--accent, var(--rust));
      opacity: 0.92;
      z-index: 0;
      pointer-events: none;
    }
    @media (prefers-reduced-motion: reduce) {
      html.js .page-hero--photo::before,
      html.js .page-hero--photo.is-in::before {
        opacity: 1;
        transition: none !important;
      }
    }

    .section-kicker-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 0.85rem;
    }

    /* Numbered hairline entries */
    .entry-list {
      list-style: none;
      margin: 0;
      padding: 0;
      border-bottom: 1px solid var(--ink);
    }
    .entry {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.65rem 1.5rem;
      padding: 1.65rem 0 1.7rem;
      border-top: 1px solid var(--ink);
      min-width: 0;
    }
    @media (min-width: 900px) {
      .entry {
        grid-template-columns: 4.25rem minmax(0, 1.15fr) minmax(0, 0.85fr);
        column-gap: clamp(1.5rem, 4vw, 4.5rem);
        align-items: start;
        padding: 2rem 0 2.1rem;
      }
      .entry .entry-action { grid-column: 3; }
    }
    .entry-num {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(1.75rem, 3vw, 2.4rem);
      line-height: 0.85;
      letter-spacing: -0.04em;
      color: var(--accent, var(--ink));
    }
    .entry-title {
      font-family: var(--font-serif);
      font-style: italic;
      font-weight: 400;
      font-size: clamp(1.55rem, 2.8vw, 2.25rem);
      line-height: 1.15;
      letter-spacing: -0.02em;
      margin: 0.15rem 0 0;
    }
    .entry-title a { text-decoration: none; }
    @media (hover: hover) {
      .entry-title a:hover {
        text-decoration: underline;
        text-underline-offset: 0.18em;
      }
    }
    .entry-copy {
      color: var(--ink-soft);
      margin: 0;
      max-width: 30rem;
      font-size: 1.0625rem;
      line-height: 1.55;
    }
    .entry-action { margin-top: 0.35rem; }
    @media (min-width: 900px) {
      .entry-action { margin-top: 0; }
    }

    /* Catalogue (directory and similar) */
    .catalogue {
      display: grid;
      gap: 0;
    }
    .catalogue-row {
      display: grid;
      grid-template-columns: 1fr;
      border-top: 1px solid var(--ink);
      min-width: 0;
    }
    .catalogue-row:last-child { border-bottom: 1px solid var(--ink); }
    @media (min-width: 900px) {
      .catalogue-row {
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
        align-items: stretch;
        min-height: 20rem;
      }
      .catalogue-row.is-flip .catalogue-media { order: 2; }
    }
    .catalogue-media {
      min-width: 0;
      min-height: 16rem;
    }
    .catalogue-media .card-ph {
      height: 100%;
      min-height: 16rem;
      aspect-ratio: auto;
      margin: 0;
      border: 0;
    }
    .catalogue-body {
      padding: 1.5rem 0 1.7rem;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      min-width: 0;
    }
    @media (min-width: 900px) {
      .catalogue-body {
        padding: 2rem 0 2rem clamp(1.5rem, 4vw, 3.25rem);
      }
      .catalogue-row.is-flip .catalogue-body {
        padding-left: 0;
        padding-right: clamp(1.5rem, 4vw, 3.25rem);
      }
    }
    .catalogue-body .entry-title { margin-top: 0.3rem; }
    .catalogue-body .entry-copy { margin-top: 0.7rem; }
    .catalogue-body .meta { margin-top: 1rem; }

    /* Auth split */
    .auth-split {
      display: grid;
      grid-template-columns: 1fr;
      min-height: calc(100svh - var(--header-h));
    }
    @media (min-width: 900px) {
      .auth-split {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
      }
    }
    .auth-visual {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      min-height: 18rem;
      background: var(--accent, var(--rust));
      color: var(--accent-ink, var(--white));
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: clamp(1.75rem, 4vw, 2.75rem) calc(var(--pad-x) + var(--safe-l)) clamp(1.75rem, 4vw, 2.75rem) calc(var(--pad-x) + var(--safe-l));
    }
    @media (min-width: 900px) {
      .auth-visual { min-height: 100%; padding-right: 2.5rem; }
    }
    .auth-visual.page-hero--photo { min-height: 18rem; }
    .auth-visual .page-hero-title {
      font-size: clamp(3.5rem, 10vw, 7rem);
    }
    .auth-visual .page-hero-tag { color: inherit; }
    .auth-visual .kicker { color: inherit; }
    .auth-panel {
      padding: clamp(2.25rem, 6vh, 4.5rem) calc(var(--pad-x) + var(--safe-r)) clamp(3rem, 8vh, 5.5rem) calc(var(--pad-x) + var(--safe-l));
    }
    @media (min-width: 900px) {
      .auth-panel { padding-left: clamp(2rem, 5vw, 4.5rem); }
    }

    /* Members' ledger */
    .ledger-head {
      padding-top: clamp(2.25rem, 6vh, 3.75rem);
      padding-bottom: 1.75rem;
      border-bottom: 1px solid var(--ink);
    }
    .ledger-title {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(3rem, 8vw, 6.25rem);
      line-height: 0.82;
      letter-spacing: -0.04em;
      text-transform: uppercase;
      color: var(--ink);
    }
    .ledger {
      list-style: none;
      margin: 0;
      padding: 0;
      border-bottom: 1px solid var(--ink);
    }
    .ledger li {
      display: grid;
      grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr);
      gap: 0.75rem 1.5rem;
      padding: 1.1rem 0;
      border-top: 1px solid var(--ink);
      align-items: baseline;
    }
    .ledger-label {
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .ledger-value {
      font-family: var(--font-serif);
      font-style: italic;
      font-size: 1.25rem;
      line-height: 1.3;
    }
    .hub-ledger {
      list-style: none;
      margin: 0;
      padding: 0;
      border-bottom: 1px solid var(--ink);
    }
    .hub-ledger a {
      display: grid;
      grid-template-columns: 3.5rem minmax(0, 1fr);
      gap: 0.75rem 1.25rem;
      align-items: baseline;
      padding: 1.05rem 0 1.1rem;
      border-top: 1px solid var(--ink);
      text-decoration: none;
    }
    @media (hover: hover) {
      .hub-ledger a:hover { text-decoration: none; }
      .hub-ledger a:hover .hub-index-name {
        text-decoration: underline;
        text-underline-offset: 0.18em;
      }
    }
    .hub-index-num {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.5rem;
      letter-spacing: -0.04em;
      line-height: 1;
      color: var(--tick, var(--ink));
    }
    .hub-index-name {
      font-family: var(--font-serif);
      font-style: italic;
      font-size: clamp(1.35rem, 2.4vw, 1.85rem);
      line-height: 1.15;
    }

    /* Account typography rhythm */
    .account-main .section-block {
      padding-top: clamp(2.25rem, 5vh, 3.5rem);
    }
    .side-nav {
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    @media (min-width: 900px) {
      .side-nav {
        flex-direction: column;
        overflow-x: visible;
        border-bottom: 0;
        border-right: 1px solid var(--ink);
        padding-top: 2.25rem;
        min-height: calc(100svh - var(--header-h));
      }
    }

    /* Profile editorial */
    .profile-name { margin: 0; }
    .gallery {
      border-top: 1px solid color-mix(in srgb, var(--ph-ink, #fff) 28%, transparent);
    }

    /* Month heading as numbered section */
    .month-head {
      margin: clamp(2.5rem, 6vh, 4rem) 0 0;
    }
    .month-head .section-title { font-size: clamp(2.25rem, 5vw, 4rem); }

    /* Filters as a hairline bar, not a card */
    .filters {
      border-top: 1px solid var(--ink);
      border-bottom: 1px solid var(--ink);
      padding-top: 1.25rem;
      padding-bottom: 1.25rem;
      margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
    }

    .entry .thread-replies,
    .entry .code-reveal {
      grid-column: 1 / -1;
    }
    .page-hero-index { color: inherit; }
    .gallery {
      border-top: 1px solid var(--ink);
      margin-top: 1.75rem;
    }


    /* ----- Events: calendar and list views ----- */
    .events-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem 1.5rem;
      border-bottom: 1px solid var(--ink);
      padding-bottom: 1rem;
    }
    .view-toggle { display: inline-flex; border: 1px solid var(--ink); }
    .view-toggle[hidden] { display: none; }
    .view-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      min-height: 2.75rem;
      padding: 0.5rem 0.95rem;
      border: 0;
      background: transparent;
      color: var(--ink);
      font: inherit;
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      cursor: pointer;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
    }
    .view-btn + .view-btn { border-left: 1px solid var(--ink); }
    .view-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
    .view-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
    @media (hover: hover) {
      .view-btn[aria-pressed="false"]:hover { background: rgba(22, 19, 16, 0.07); }
    }
    .view-btn:focus-visible,
    .cal-nav:focus-visible,
    .cal-day:focus-visible,
    .cal-chip:focus-visible,
    .cal-more:focus-visible { outline: 2px solid var(--accent, var(--rust)); outline-offset: 2px; }

    .view-in { animation: view-in 0.4s var(--ease) both; }
    @keyframes view-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

    .cal { margin-top: clamp(1.75rem, 4vh, 2.75rem); }
    .cal[hidden], .events-list[hidden] { display: none; }
    .cal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.25rem;
    }
    .cal-title { font-size: clamp(2rem, 5vw, 3.5rem); text-align: center; }
    .cal-nav {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.75rem;
      height: 2.75rem;
      flex: none;
      border: 1px solid var(--ink);
      background: transparent;
      color: var(--ink);
      cursor: pointer;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
    }
    .cal-nav svg { width: 1.1rem; height: 1.1rem; }
    @media (hover: hover) {
      .cal-nav:hover { background: var(--ink); color: var(--paper); }
    }
    .cal-days,
    .cal-grid {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
    }
    .cal-days {
      list-style: none;
      font-size: 0.6875rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink-soft);
      padding-bottom: 0.5rem;
    }
    .cal-days li { padding: 0 0.15rem; text-align: center; }
    .cal-grid { border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
    .cal-cell {
      position: relative;
      min-height: 3.25rem;
      border-right: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
      min-width: 0;
    }
    .cal-cell.is-blank { background: rgba(22, 19, 16, 0.035); }
    .cal-day {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.3rem;
      width: 100%;
      border: 0;
      background: transparent;
      color: var(--ink);
      font: inherit;
      cursor: pointer;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: background-color 0.25s var(--ease);
    }
    .cal-num { font-size: 0.9375rem; font-variant-numeric: tabular-nums; line-height: 1; }
    .cal-dots { display: flex; gap: 3px; }
    .cal-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent, var(--rust)); }
    .cal-cell.has-events .cal-num { font-weight: 600; }
    .cal-cell.is-today .cal-num { text-decoration: underline; text-underline-offset: 0.25em; }
    .cal-cell.is-selected .cal-day { background: var(--ink); color: var(--paper); }
    .cal-cell.is-selected .cal-dot { background: var(--paper); }
    @media (hover: hover) {
      .cal-cell:not(.is-selected) .cal-day:hover { background: rgba(22, 19, 16, 0.06); }
    }
    .cal-chips { display: none; }

    .cal-agenda {
      margin-top: 1.5rem;
      padding-top: 1.25rem;
      border-top: 1px solid var(--ink);
      scroll-margin-top: calc(var(--header-h) + 1rem);
    }
    .cal-agenda-list { list-style: none; margin-top: 0.75rem; }
    .cal-agenda-item {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem 1.5rem;
      padding: 1rem 0;
      border-bottom: 1px solid var(--rule);
    }
    .cal-agenda-when { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 0.2rem; }

    @media (min-width: 900px) {
      .cal-days li { text-align: left; padding-left: 0.6rem; }
      .cal-cell { min-height: 7.5rem; }
      .cal-day { align-items: flex-start; justify-content: flex-start; padding: 0.55rem 0.6rem; }
      .cal-dots { display: none; }
      .cal-cell.is-selected .cal-day { background: rgba(22, 19, 16, 0.08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
      .cal-chips {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 2.1rem 0.4rem 0.45rem;
        pointer-events: none;
      }
      .cal-chip,
      .cal-more {
        pointer-events: auto;
        display: block;
        width: 100%;
        min-width: 0;
        text-align: left;
        font: inherit;
        font-size: 0.75rem;
        line-height: 1.3;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
      }
      .cal-chip {
        padding: 0.3rem 0.45rem;
        border: 0;
        border-left: 3px solid var(--accent, var(--rust));
        background: var(--white);
        color: var(--ink);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
      }
      .cal-more {
        padding: 0.15rem 0.45rem;
        border: 0;
        background: transparent;
        color: var(--ink-soft);
        text-decoration: underline;
        text-underline-offset: 0.2em;
      }
    }
    @media (hover: hover) and (min-width: 900px) {
      .cal-chip:hover { background: var(--ink); color: var(--paper); }
      .cal-more:hover { color: var(--ink); }
    }
    @media (prefers-reduced-motion: reduce) {
      .view-in { animation: none; }
      .view-btn, .cal-nav, .cal-day, .cal-chip { transition: none; }
    }


    /* ----- Directory: no tint over photos, large and compact views ----- */
    .catalogue .card-ph--photo::after { display: none; }
    .catalogue-bar { margin-top: clamp(1.5rem, 3vh, 2.25rem); margin-bottom: 0; }
    @media (min-width: 900px) {
      .catalogue.is-compact .catalogue-row {
        grid-template-columns: 9rem minmax(0, 1fr);
        min-height: 0;
      }
      .catalogue.is-compact .catalogue-row.is-flip .catalogue-media { order: 0; }
      .catalogue.is-compact .catalogue-row.is-flip .catalogue-body {
        padding-right: 0;
        padding-left: clamp(1.25rem, 3vw, 2rem);
      }
    }
    .catalogue.is-compact .catalogue-row {
      grid-template-columns: 5.5rem minmax(0, 1fr);
      align-items: center;
      min-height: 0;
    }
    .catalogue.is-compact .catalogue-media,
    .catalogue.is-compact .catalogue-media .card-ph {
      min-height: 0;
      height: auto;
      aspect-ratio: 1 / 1;
    }
    .catalogue.is-compact .catalogue-media { margin: 0.75rem 0; }
    .catalogue.is-compact .catalogue-body {
      padding: 0.9rem 0 0.9rem clamp(1rem, 3vw, 2rem);
      justify-content: center;
    }
    .catalogue.is-compact .entry-title { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-top: 0.15rem; }
    .catalogue.is-compact .entry-copy { display: none; }
    .catalogue.is-compact .meta { margin-top: 0.35rem; }
    @media (min-width: 900px) {
      .catalogue.is-compact .catalogue-row { grid-template-columns: 9rem minmax(0, 1fr); }
    }
