﻿    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:       #F8F6F2;
      --bg-alt:   #F0EBE2;
      --bg-deep:  #E8E0D4;
      --text:     #282724;
      --muted:    #686260;
      --faint:    #B0A898;
      --accent:   #8C7B65;
      --border:   #DDD8CF;
      --white:    #FDFCFA;
      --sage:     #8A9E88;
      --mauve:      #B89098;
      --near-black: #1A1815;

      /* I Ching palette */
      --ic-ink:          #0F0B07;
      --ic-parchment:    #EEE5C8;
      --ic-parchment-alt:#EDE4C5;
      --ic-gold:         #C0A060;
      --ic-warm-gold:    #C8B890;
      --ic-brown:        #8A6840;
      --ic-deep:         #2A2018;
      --ic-label:        #6B4E2A;
      --ic-number:       #7A5C30;
      --ic-chinese:      #8A7050;
      --ic-trigrams:     #7A6848;

      /* Runes palette */
      --rn-stone:        #5c5650;

      --serif:    'Cormorant Garamond', Georgia, serif;
      --sans:     'DM Sans', system-ui, sans-serif;

      --max:      1180px;
      --gap:      2rem;
    }

    html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Keyboard focus indicator — applies only during keyboard navigation, not mouse clicks */
    :focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
      border-radius: 2px;
    }

    /* Inputs and textareas use border-colour change on focus instead of an outline ring */
    input:focus-visible,
    textarea:focus-visible {
      outline: none;
    }

    /* Newsletter bar signals focus via the container border, not the input itself */
    .newsletter-form:focus-within {
      border-color: var(--accent);
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      font-weight: 300;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    /* ─── UTILITY ─── */

    /* Credible citation links — underline only, tooltip shows source on hover */
    .cite-link {
      color: inherit;
      text-decoration: underline;
      text-decoration-color: var(--faint);
      text-underline-offset: 3px;
      position: relative;
    }
    .cite-link::after {
      content: attr(data-source);
      position: absolute;
      bottom: calc(100% + 6px);
      left: 50%;
      transform: translateX(-50%);
      background: var(--near-black);
      color: var(--white);
      font-family: var(--sans);
      font-size: 0.68rem;
      font-weight: 400;
      letter-spacing: 0.02em;
      padding: 4px 10px;
      border-radius: 3px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.15s ease;
      z-index: 20;
    }
    .cite-link:hover::after { opacity: 1; }

    .container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
    .divider { width: 40px; height: 1px; background: var(--accent); margin: 1.5rem 0; }
    .divider--center { margin: 1.5rem auto; }
    .label {
      font-family: var(--sans);
      font-size: 0.68rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
    }

    /* ─── HEADER ─── */
    body > header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--bg);
      border-bottom: 1px solid var(--border);
    }

    .header-inner {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 2rem;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      font-family: var(--serif);
      font-size: 1.55rem;
      font-weight: 400;
      letter-spacing: 0.08em;
      color: var(--text);
    }

    nav { display: flex; align-items: center; gap: 2.4rem; }

    nav a {
      font-size: 0.72rem;
      font-weight: 400;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      transition: color 0.2s;
    }
    nav a:hover { color: var(--text); }

    .nav-search {
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      color: var(--muted);
      transition: color 0.2s;
      display: flex;
      align-items: center;
    }
    .nav-search:hover { color: var(--text); }

    /* ─── HAMBURGER BUTTON ─── */
    .nav-burger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      width: 40px;
      height: 40px;
      color: var(--muted);
    }
    .nav-burger span {
      display: block;
      width: 20px;
      height: 1.5px;
      background: currentColor;
      transition: transform 0.25s ease, opacity 0.25s ease;
      transform-origin: center;
    }
    .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    /* ─── MOBILE NAV PANEL ─── */
    .mobile-nav {
      display: none;
      background: var(--bg);
      border-top: 1px solid var(--border);
    }
    .mobile-nav a {
      display: block;
      font-family: var(--sans);
      font-size: 0.78rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 1.1rem 2rem;
      border-bottom: 1px solid var(--border);
      transition: color 0.2s, background 0.2s;
    }
    .mobile-nav a:last-child { border-bottom: none; }
    .mobile-nav a:hover,
    .mobile-nav a:active { color: var(--text); background: var(--bg-alt); }

    /* ─── HERO ─── */
    html.returning .hero { display: none; }
    .hero {
      min-height: 92vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: stretch;
    }

    .hero-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 6rem 4rem 6rem 2rem;
      max-width: 622px;
      margin-left: auto;
    }

    .hero-text .label { margin-bottom: 2.5rem; }

    .hero-title {
      font-family: var(--serif);
      font-size: clamp(2.8rem, 4.5vw, 4.2rem);
      font-weight: 300;
      line-height: 1.15;
      color: var(--text);
      margin-bottom: 2rem;
    }

    .hero-title em {
      font-style: italic;
      color: var(--accent);
    }

    .hero-body {
      font-size: 0.95rem;
      color: var(--muted);
      max-width: 380px;
      line-height: 1.8;
      margin-bottom: 3rem;
    }

    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text);
      border-bottom: 1px solid var(--accent);
      padding-bottom: 2px;
      transition: color 0.2s, border-color 0.2s;
      width: fit-content;
    }
    .hero-cta:hover { color: var(--accent); }
    .hero-cta svg { transition: transform 0.2s; }
    .hero-cta:hover svg { transform: translateX(4px); }

    .hero-image {
      background: var(--bg-deep);
      position: relative;
      overflow: hidden;
    }

    .hero-image-inner {
      width: 100%;
      height: 100%;
      background-image: url('assets/images/in-use/20260205_062305.jpg');
      background-image: image-set(
        url('assets/images/in-use/20260205_062305.webp') type('image/webp'),
        url('assets/images/in-use/20260205_062305.jpg') type('image/jpeg')
      );
      background-size: cover;
      background-position: center top;
      position: relative;
    }

    /* Decorative texture overlay */
    .hero-image-inner::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 80% at 70% 30%, rgba(255,252,245,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 30% 80%, rgba(160,140,110,0.3) 0%, transparent 60%);
    }

    .hero-caption {
      position: absolute;
      bottom: 2.5rem;
      left: 2.5rem;
      font-size: 0.65rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.6);
    }

    /* ─── SECTION HEADER ─── */
    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 3rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
    }

    .section-title {
      font-family: var(--serif);
      font-size: 1.9rem;
      font-weight: 300;
      line-height: 1.2;
    }

    .section-link {
      font-size: 0.7rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: gap 0.2s;
    }
    .section-link:hover { gap: 0.75rem; }

    /* ─── EDITORIAL STRIP ─── */
    .editorial {
      padding: 3.5rem 0 6rem;
    }

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

    .article-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }

    .article-card-text { display: flex; flex-direction: column; gap: 0; }

    .article-image {
      aspect-ratio: 4/5;
      margin-bottom: 1.5rem;
      overflow: hidden;
    }

    .article-image .placeholder,
    .article-img-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(160deg, #EDE8DF 0%, #DDD5C5 100%);
      transition: transform 0.5s ease;
    }
    .article-card:hover .article-img-placeholder { transform: scale(1.03); }

    .article-card { cursor: pointer; }
    .article-card:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
    .article-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
    .article-card:hover .article-card-img { transform: scale(1.03); }

    @media (max-width: 640px) {
      .editorial-grid {
        gap: 0;
      }
      .editorial-grid .article-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.875rem;
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--border);
      }
      .editorial-grid .article-card .article-image {
        flex: 0 0 80px;
        width: 80px;
        height: 80px;
        aspect-ratio: unset;
        margin-bottom: 0;
        overflow: hidden;
      }
      .editorial-grid .article-card .article-card-text {
        flex: 1;
        gap: 0.5rem;
        justify-content: flex-start;
      }
      .editorial-grid .article-card .article-excerpt { display: none; }
      .editorial-grid .article-card .article-section {
        font-size: 0.58rem;
        margin: 0;
        line-height: 1.2;
      }
      .editorial-grid .article-card .article-title {
        font-size: 0.95rem;
        line-height: 1.35;
        margin: 0;
        word-wrap: break-word;
      }
      .editorial-grid .article-card .article-meta {
        font-size: 0.62rem;
        margin: 0;
        line-height: 1.2;
      }
    }

    .article-section {
      font-size: 0.65rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 0.75rem;
    }

    .article-title {
      font-family: var(--serif);
      font-size: 1.2rem;
      font-weight: 400;
      line-height: 1.3;
      margin-bottom: 0.75rem;
      color: var(--text);
    }

    .article-excerpt {
      font-size: 0.85rem;
      color: var(--muted);
      line-height: 1.75;
      flex-grow: 1;
    }

    .article-meta {
      margin-top: 1.25rem;
      font-size: 0.68rem;
      color: var(--faint);
      letter-spacing: 0.06em;
    }

    /* ─── FEATURED ARTICLE HERO ─── */
    .article-card-featured {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3.5rem;
      align-items: center;
      margin-bottom: 4rem;
      padding-bottom: 4rem;
      border-bottom: 1px solid var(--border);
      cursor: pointer;
      text-decoration: none;
      color: inherit;
    }

    .article-featured-image {
      aspect-ratio: 3/2;
      overflow: hidden;
    }

    .article-featured-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
      display: block;
    }

    .article-card-featured:hover .article-featured-img { transform: scale(1.03); }

    .article-featured-text {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .article-featured-title {
      font-family: var(--serif);
      font-size: clamp(1.8rem, 2.5vw, 2.6rem);
      font-weight: 300;
      line-height: 1.15;
      color: var(--text);
      margin: 0;
    }

    .article-featured-excerpt {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.85;
      margin: 0;
    }

    @media (max-width: 640px) {
      .article-card-featured {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
      }
      .article-featured-image {
        aspect-ratio: unset;
        height: 200px;
      }
      .article-featured-img {
        object-position: center bottom;
      }
      .article-featured-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
      }
      .article-featured-excerpt {
        font-size: 0.8rem;
      }
      .article-featured-text .article-section {
        font-size: 0.58rem;
      }
    }

    /* ─── THIS ISSUE (homepage editorial) ─── */
    .this-issue {
      padding: 6rem 0 7rem;
      border-top: 1px solid var(--border);
    }

    .this-issue-intro {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 3rem;
    }

    .this-issue-all-link {
      font-family: var(--sans);
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s;
    }
    .this-issue-all-link:hover { color: var(--text); }

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

    .this-issue-card {
      cursor: pointer;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
    }
    .this-issue-card:focus { outline: 2px solid var(--accent); outline-offset: 4px; }
    .this-issue-card:hover .this-issue-card-img { transform: scale(1.02); }

    .this-issue-card-img-wrap {
      aspect-ratio: 4 / 5;
      max-height: 420px;
      overflow: hidden;
      margin-bottom: 1.5rem;
    }

    .this-issue-card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      background: linear-gradient(160deg, #EDE8DF 0%, #D5CCBC 100%);
      transition: transform 0.5s ease;
    }

    .this-issue-card-text {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    .this-issue-card-title {
      font-family: var(--serif);
      font-size: clamp(1.2rem, 1.6vw, 1.6rem);
      font-weight: 300;
      line-height: 1.2;
      color: var(--text);
      margin: 0.6rem 0 0.9rem;
      letter-spacing: -0.01em;
    }

    .this-issue-card-excerpt {
      font-family: var(--sans);
      font-size: 0.82rem;
      color: var(--muted);
      line-height: 1.7;
      margin: 0;
    }

    .this-issue-card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .this-issue-scroll-hint {
      display: none;
      opacity: 0.3;
      color: var(--text);
      line-height: 1;
      cursor: pointer;
      padding: 4px 0 4px 12px;
    }

    @media (max-width: 600px) {
      .this-issue-scroll-hint { display: flex; }
    }

    .this-issue-card[data-slug="a-short-history-of-tarot"] .this-issue-card-img-wrap { background: #000; }
    .this-issue-card[data-slug="a-short-history-of-tarot"] .this-issue-card-img { object-fit: contain; }
    .article-card[data-slug="a-short-history-of-tarot"] .article-image { background: #000; }
    .article-card[data-slug="a-short-history-of-tarot"] .article-card-img { object-fit: contain; }

    @media (max-width: 800px) {
      .this-issue-grid { grid-template-columns: 1fr 1fr; }
      .this-issue-grid .this-issue-card:last-child { display: none; }
    }

    @media (max-width: 600px) {
      .this-issue { padding: 1.5rem 0 1.5rem; }
      .this-issue-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1.25rem;
        padding-bottom: 0.25rem;
      }
      .this-issue-grid::-webkit-scrollbar { display: none; }
      .this-issue-card {
        flex: 0 0 auto;
        scroll-snap-align: start;
      }
      .this-issue-card-img-wrap {
        aspect-ratio: 3 / 2;
        max-height: none;
      }
      .this-issue-grid .this-issue-card:nth-child(n+2) { display: flex; }
    }

    /* ─── DIVINATION TOOLS ─── */
    .tools {
      background: var(--bg-alt);
      padding: 6rem 0;
    }

    .tools-intro {
      max-width: 540px;
      margin-bottom: 3.5rem;
    }

    .tools-intro p {
      font-size: 0.9rem;
      color: var(--muted);
      margin-top: 1rem;
      line-height: 1.8;
    }

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

    .tool-card {
      background: var(--white);
      padding: 2.5rem 2rem;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      border: 1px solid var(--border);
      cursor: pointer;
      transition: border-color 0.2s, transform 0.2s;
    }
    .tool-card:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .tool-icon {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
    }

    .tool-name {
      font-family: var(--serif);
      font-size: 1.05rem;
      font-weight: 400;
      line-height: 1.3;
      color: var(--text);
    }

    .tool-desc {
      font-size: 0.8rem;
      color: var(--muted);
      line-height: 1.7;
    }

    .tool-action {
      font-size: 0.68rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-top: auto;
    }


    /* ─── TOOLS ENTRY PROMPT ─── */
    .tools-entry {
      margin-bottom: 2.5rem;
    }

    .tools-entry-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      font-family: var(--sans);
      font-size: 0.85rem;
      font-weight: 400;
      letter-spacing: 0.04em;
      color: var(--accent);
      background: var(--white);
      border: 1px solid var(--accent);
      padding: 0.85rem 1.6rem;
      border-radius: 2px;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
    }
    .tools-entry-btn:hover {
      background: var(--accent);
      color: var(--white);
      box-shadow: 0 2px 12px rgba(140,123,101,0.15);
    }

    /* ─── JOURNALING WIDE CARD ─── */
    .tool-card--wide {
      flex-direction: row;
      align-items: flex-start;
      gap: 2rem;
      margin-top: 1.5rem;
      padding: 2.5rem 2.5rem;
    }
    .tool-card--wide .tool-wide-content {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      flex: 1;
    }
    .tool-card--wide .tool-wide-right {
      flex-shrink: 0;
      display: flex;
      align-items: center;
    }

    /* ─── PHILOSOPHY ─── */
    .philosophy {
      padding: 7rem 0;
      text-align: center;
    }

    .philosophy-quote {
      font-family: var(--serif);
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 300;
      font-style: italic;
      line-height: 1.5;
      max-width: 760px;
      margin: 0 auto;
      color: var(--text);
    }

    .philosophy-quote em {
      font-style: normal;
      color: var(--accent);
    }

    .philosophy-sub {
      margin-top: 2.5rem;
      font-size: 0.85rem;
      color: var(--muted);
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.85;
    }

    .philosophy-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 2.5rem;
      font-size: 0.7rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
    }

    /* ─── SHOP ─── */
    .shop {
      background: var(--bg-alt);
      padding: 6rem 0;
    }

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

    .product-card { cursor: pointer; }

    .product-image {
      aspect-ratio: 3/4;
      margin-bottom: 1.25rem;
      overflow: hidden;
    }

    .product-image .placeholder {
      width: 100%;
      height: 100%;
      transition: transform 0.5s ease;
    }
    .product-card:hover .placeholder { transform: scale(1.03); }

    .product-category {
      font-size: 0.65rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--faint);
      margin-bottom: 0.4rem;
    }

    .product-name {
      font-family: var(--serif);
      font-size: 1.1rem;
      font-weight: 400;
      color: var(--text);
      margin-bottom: 0.35rem;
    }

    .product-price {
      font-size: 0.82rem;
      color: var(--muted);
    }

    .product-tag {
      display: inline-block;
      margin-top: 0.75rem;
      font-size: 0.62rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--sage);
      border: 1px solid var(--sage);
      padding: 3px 8px;
      border-radius: 2px;
    }

    /* ─── NEWSLETTER ─── */
    .newsletter {
      padding: 7rem 0;
      text-align: center;
    }

    .newsletter-inner { max-width: 560px; margin: 0 auto; }

    .newsletter h2 {
      font-family: var(--serif);
      font-size: 2rem;
      font-weight: 300;
      margin-bottom: 1rem;
    }

    .newsletter p {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.8;
      margin-bottom: 2.5rem;
    }

    .newsletter-form {
      display: flex;
      gap: 0;
      border: 1px solid var(--border);
      background: var(--white);
      max-width: 420px;
      margin: 0 auto;
    }

    .newsletter-input {
      flex: 1;
      border: none;
      background: none;
      padding: 1rem 1.25rem;
      font-family: var(--sans);
      font-size: 0.85rem;
      color: var(--text);
      outline: none;
    }
    .newsletter-input::placeholder { color: var(--faint); }

    .newsletter-btn {
      background: var(--text);
      color: var(--white);
      border: none;
      padding: 1rem 1.5rem;
      font-family: var(--sans);
      font-size: 0.68rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.2s;
      white-space: nowrap;
    }
    .newsletter-btn:hover { background: var(--accent); }

    .newsletter-note {
      margin-top: 1.25rem;
      font-size: 0.72rem;
      color: var(--faint);
    }

    /* ─── FOOTER ─── */
    footer {
      background: var(--text);
      color: rgba(255,255,255,0.7);
      padding: 4rem 0 2.5rem;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 3rem;
      padding-bottom: 3rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      margin-bottom: 2rem;
    }

    .footer-brand .logo {
      color: rgba(255,255,255,0.9);
      display: block;
      margin-bottom: 1.25rem;
    }

    .footer-brand p {
      font-size: 0.82rem;
      line-height: 1.8;
      color: rgba(255,255,255,0.45);
      max-width: 240px;
    }

    .footer-col-title {
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: 1.25rem;
    }

    .footer-links { display: flex; flex-direction: column; gap: 0.65rem; }

    .footer-links a {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.6);
      transition: color 0.2s;
    }
    .footer-links a:hover { color: rgba(255,255,255,0.9); }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-copy {
      font-size: 0.72rem;
      color: rgba(255,255,255,0.3);
    }

    .footer-policy {
      display: flex;
      gap: 2rem;
    }

    .footer-policy a {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.3);
      letter-spacing: 0.06em;
      transition: color 0.2s;
    }
    .footer-policy a:hover { color: rgba(255,255,255,0.6); }

    /* ─── SECONDARY PAGES (hidden, shown via JS) ─── */
    .page { display: none; }
    .page.active { display: block; }

    /* ─── ABOUT PAGE ─── */
    .about-hero {
      padding: 5rem 0 2.5rem;
      max-width: 720px;
    }

    .about-hero h1 {
      font-family: var(--serif);
      font-size: clamp(2.4rem, 4vw, 3.5rem);
      font-weight: 300;
      line-height: 1.2;
      margin-bottom: 2rem;
    }

    .about-hero p {
      font-size: 1rem;
      color: var(--muted);
      line-height: 1.9;
      margin-bottom: 1.25rem;
    }

    .about-split {
      max-width: 720px;
      padding: 2.5rem 0 5rem;
      border-top: 1px solid var(--border);
    }

    .about-split h3 {
      font-family: var(--serif);
      font-size: 1.5rem;
      font-weight: 300;
      margin-bottom: 1.5rem;
    }

    .about-split p {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.9;
      margin-bottom: 1rem;
    }

    /* ─── CONTACT PAGE ─── */
    .contact-layout {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 6rem;
      padding: 6rem 0;
    }

    .contact-layout form { padding-top: 5rem; }

    .contact-info h1 {
      font-family: var(--serif);
      font-size: 2.5rem;
      font-weight: 300;
      margin-bottom: 1.5rem;
    }

    .contact-info p {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.85;
      margin-bottom: 2rem;
    }

    .contact-detail {
      margin-bottom: 1rem;
    }

    .contact-detail .label { margin-bottom: 0.25rem; }

    .contact-detail span {
      font-size: 0.88rem;
      color: var(--muted);
    }

    .form-group { margin-bottom: 1.5rem; }

    .form-label {
      display: block;
      font-size: 0.68rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 0.6rem;
    }

    .form-input,
    .form-textarea {
      width: 100%;
      background: var(--white);
      border: 1px solid var(--border);
      padding: 0.9rem 1rem;
      font-family: var(--sans);
      font-size: 0.88rem;
      color: var(--text);
      outline: none;
      transition: border-color 0.2s;
      resize: none;
    }
    .form-input:focus,
    .form-textarea:focus { border-color: var(--accent); }

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

    .form-submit {
      background: var(--text);
      color: var(--white);
      border: none;
      padding: 1rem 2rem;
      font-family: var(--sans);
      font-size: 0.72rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.2s;
    }
    .form-submit:hover { background: var(--accent); }

    /* ─── ETHOS PAGE ─── */
    .ethos-hero {
      padding: 7rem 0 5rem;
      max-width: 680px;
    }

    .ethos-hero h1 {
      font-family: var(--serif);
      font-size: clamp(2.2rem, 3.5vw, 3.2rem);
      font-weight: 300;
      line-height: 1.2;
      margin-bottom: 2rem;
    }

    .ethos-hero p {
      font-size: 0.95rem;
      color: var(--muted);
      line-height: 1.9;
    }

    .ethos-pillars {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      padding: 5rem 0;
      border-top: 1px solid var(--border);
    }

    .pillar { padding-top: 2rem; border-top: 1px solid var(--accent); }

    .pillar h3 {
      font-family: var(--serif);
      font-size: 1.3rem;
      font-weight: 400;
      margin: 1rem 0;
    }

    .pillar p {
      font-size: 0.85rem;
      color: var(--muted);
      line-height: 1.85;
    }

    /* ─── POLICY PAGE ─── */
    .policy-layout {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 5rem;
      padding: 5rem 0;
    }

    .policy-nav { position: sticky; top: 80px; align-self: start; }

    .policy-nav a {
      display: block;
      font-size: 0.78rem;
      color: var(--muted);
      padding: 0.5rem 0;
      border-left: 2px solid var(--border);
      padding-left: 1rem;
      transition: color 0.2s, border-color 0.2s;
    }
    .policy-nav a:hover,
    .policy-nav a.active {
      color: var(--text);
      border-left-color: var(--accent);
    }

    .policy-content h2 {
      font-family: var(--serif);
      font-size: 1.8rem;
      font-weight: 300;
      margin-bottom: 1.5rem;
      margin-top: 3.5rem;
    }
    .policy-content h2:first-child { margin-top: 0; }

    .policy-content h3 {
      font-family: var(--serif);
      font-size: 1.15rem;
      font-weight: 400;
      margin: 2rem 0 0.75rem;
      color: var(--text);
    }

    .policy-content p {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.9;
      margin-bottom: 1rem;
    }
    .policy-content ul {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.9;
      margin: 0.5rem 0 1rem 1.5rem;
    }
    .policy-content li { margin-bottom: 0.4rem; }

    /* ─── PAGE NAV ─── */
    .page-hero-bg {
      background: var(--bg-alt);
      padding: 5rem 0 4rem;
      border-bottom: 1px solid var(--border);
    }

    .page-hero-bg h1 {
      font-family: var(--serif);
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 300;
    }

    .page-hero-bg .label { margin-bottom: 1rem; }

    /* ─── BACK BUTTON ─── */
    .back-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 2rem;
      cursor: pointer;
      background: none;
      border: none;
      padding: 0.5rem 0;
      transition: color 0.2s;
    }
    .back-btn:hover { color: var(--text); }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 960px) {
      .hero { grid-template-columns: 1fr; min-height: auto; }
      .hero-image { display: none; }
      .hero-text { padding: 3.5rem 2rem 3rem; max-width: 100%; margin: 0; }
      .editorial-grid { grid-template-columns: 1fr 1fr; }
      .tools-grid { grid-template-columns: 1fr 1fr; }
      .shop-grid { grid-template-columns: 1fr 1fr; }
      .footer-top { grid-template-columns: 1fr 1fr 1fr; }
      nav { gap: 1.5rem; }
      .about-hero { padding: 4rem 0 2rem; }
      .about-split { padding: 2rem 0 4rem; }
      .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; }
      .contact-layout form { padding-top: 0; }
      .policy-layout { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 0; }
      .policy-nav { position: static; margin-bottom: 2rem; }
      .ethos-pillars { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 3rem 0; }
    }

    @media (max-width: 640px) {
      .editorial-grid,
      .shop-grid { grid-template-columns: 1fr; }
      .tools-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
      .tool-card { padding: 1.5rem 1.25rem; gap: 0.75rem; }
      .tool-card--wide { flex-direction: column; gap: 1rem; padding: 1.5rem 1.25rem; }
      nav a { display: none; }
      .nav-search { display: none; }
      .nav-burger { display: flex; }
      .mobile-nav.open { display: block; }
      .footer-top { grid-template-columns: 1fr; }
      .footer-info-col { display: none; }
      .about-hero { padding: 3rem 0 1.5rem; }
      .about-split { padding: 1.5rem 0 3rem; }
      .contact-layout { padding: 3rem 0; gap: 2rem; }
      .policy-layout { padding: 3rem 0; }
      .ethos-pillars { grid-template-columns: 1fr; padding: 2rem 0; }
      /* Prevent iOS auto-zoom on form input focus */
      .newsletter-input,
      .form-input,
      .form-textarea,
      .pf-email-input { font-size: 1rem; }
      /* Touch target padding for footer links */
      .footer-links a { display: block; padding: 0.5rem 0; }
      /* Slightly larger labels so they read at arm's length */
      .footer-col-title { font-size: 0.72rem; }
      .form-label { font-size: 0.73rem; }
      /* Tooltips overflow on touch — hide them */
      .cite-link::after { display: none; }
    }

    @media (max-width: 480px) {
      .hero-text { padding: 1.75rem 2rem 2rem; }
      .hero-title { font-size: 1.9rem; }
      .hero-body { margin-bottom: 1.5rem; }
      .tools { padding: 3.5rem 0; }
      .newsletter { padding: 4rem 0; }
      .tools-grid { grid-template-columns: 1fr; }
      .tool-card { padding: 1.25rem 1rem; }
      .tools-entry-btn { width: 100%; justify-content: space-between; }
      /* Newsletter form stacks on small screens */
      .newsletter-form { flex-direction: column; max-width: 100%; }
      .newsletter-input, .newsletter-btn { width: 100%; }
      /* Tool landing page header — reduce top/bottom space */
      .tool-lp-header { padding: 3rem 0 2rem; }
      /* Larger touch targets for practice-finder buttons */
      .practice-type-btn { padding: 0.7rem 1.2rem; font-size: 0.75rem; }
    }
