/* ──────────────────────────────────────────────────────────────────────────
   Hemeralis — website stylesheet
   Shared by index.html, modules.html and features.html.
   Everything above the "PART TWO" marker is the original homepage CSS,
   extracted unchanged so the three pages cannot drift apart.
   ────────────────────────────────────────────────────────────────────── */

  :root {
    --gold: #C9A84C;
    --gold-light: #E8D49A;
    --gold-pale: #F7F0DC;
    --ink: #1A1612;
    --ink-mid: #4A4035;
    --ink-soft: #8A7D6A;
    --cream: #FAF7F0;
    --cream-dark: #F0EAD8;
    --white: #FFFFFF;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* ── Language toggle ── */
  #lang-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    gap: 0;
    border: 1px solid var(--gold);
    border-radius: 2rem;
    overflow: hidden;
    background: var(--white);
  }
  /* ⚠️ ANCHORS, NOT BUTTONS, SINCE THE LANGUAGE SPLIT. A crawler follows an
     anchor and does not press a button, so the Spanish and German pages had no
     inbound link anywhere and could not be discovered. `button` is kept in the
     selector so the rule survives if a page is ever served the old way. */
  #lang-toggle button,
  #lang-toggle a {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--ink-soft);
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
    transition: background 0.2s, color 0.2s;
  }
  #lang-toggle button.active,
  #lang-toggle a.active {
    background: var(--gold);
    color: var(--white);
  }

  /* ── Hero ── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 6rem;
    text-align: center;
    position: relative;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 80% 100%, rgba(201,168,76,0.05) 0%, transparent 60%);
    pointer-events: none;
  }

  .hero-logo {
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
    margin-bottom: 2rem;
    /* ⚠️ The markup hard-codes width="420", which is wider than a phone. It
       stretched the whole document to 398px in a 375px viewport, and the fixed
       navigation is sized by the document — so the home page clipped its own
       nav on every phone, in every language, long before French and Dutch. */
    max-width: 100%;
    height: auto;
  }

  .tagline-en, .tagline-es, .tagline-de, .tagline-fr, .tagline-nl {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--ink-mid);
    margin-top: 1.25rem;
    max-width: 580px;
    line-height: 1.5;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
  }

  .divider-ornament {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem auto;
    width: fit-content;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.65s forwards;
  }
  .divider-ornament::before,
  .divider-ornament::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--gold-light);
  }
  .divider-ornament svg {
    width: 14px;
    height: 14px;
    fill: var(--gold);
  }

  .hero-body-en, .hero-body-es, .hero-body-de, .hero-body-fr, .hero-body-nl {
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    font-weight: 300;
    color: var(--ink-mid);
    max-width: 520px;
    line-height: 1.75;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
  }

  /* ── Born in Europe badge ── */
  .eu-origin-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.55rem 1.25rem;
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: 2rem;
    background: rgba(201,168,76,0.06);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.88s forwards;
  }
  .eu-origin-badge .eu-flag {
    font-size: 1rem;
    line-height: 1;
  }
  .eu-origin-badge span {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    color: var(--ink-mid);
  }
  .eu-origin-badge .dot {
    color: var(--gold-light);
    margin: 0 0.1rem;
  }

  .pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.95s forwards;
  }

  .pill {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2rem;
    border: 1px solid var(--gold-light);
    color: var(--ink-mid);
    background: var(--white);
  }

  .cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
  }

  .btn-primary {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 12px 28px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
  }
  .btn-primary:hover { background: #B8943E; transform: translateY(-1px); }

  .btn-secondary {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 12px 28px;
    background: transparent;
    color: var(--ink-mid);
    border: 1px solid var(--cream-dark);
    border-radius: 2rem;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s;
    display: inline-block;
  }
  .btn-secondary:hover { border-color: var(--gold-light); transform: translateY(-1px); }

  /* ── Value props ── */
  .props-section {
    padding: 6rem 2rem;
    background: var(--white);
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
  }

  .section-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 1rem;
  }

  .section-heading-en, .section-heading-es, .section-heading-de, .section-heading-fr, .section-heading-nl {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--ink);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.25;
  }

  .section-sub-en, .section-sub-es, .section-sub-de, .section-sub-fr, .section-sub-nl {
    font-size: 0.95rem;
    color: var(--ink-soft);
    text-align: center;
    max-width: 480px;
    margin: 0 auto 4rem;
    line-height: 1.7;
  }

  .props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
  }

  .prop-card {
    padding: 2rem 1.75rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    background: var(--cream);
    position: relative;
  }

  .prop-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--gold);
    border-radius: 0 0 2px 0;
  }

  .prop-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1.25rem;
    color: var(--gold);
  }

  .prop-title-en, .prop-title-es, .prop-title-de, .prop-title-fr, .prop-title-nl {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.6rem;
    line-height: 1.25;
  }

  .prop-body-en, .prop-body-es, .prop-body-de, .prop-body-fr, .prop-body-nl {
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.7;
  }

  /* ── Markets section ── */
  .markets-section {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--cream);
  }

  .markets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    max-width: 780px;
    margin: 3rem auto 0;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    overflow: hidden;
    background: var(--cream-dark);
  }

  .market-item {
    flex: 1 1 30%;
    background: var(--white);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .market-flag {
    font-size: 2.2rem;
    line-height: 1;
  }

  .market-name {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ink);
  }

  .market-note-en, .market-note-es, .market-note-de, .market-note-fr, .market-note-nl {
    font-size: 0.8rem;
    color: var(--ink-soft);
    text-align: center;
  }

  /* ── Contact / Tally section ── */
  .contact-section {
    padding: 6rem 2rem;
    background: var(--ink);
    position: relative;
    overflow: hidden;
  }

  .contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
    pointer-events: none;
  }

  .contact-inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
  }

  .contact-section .section-label { color: var(--gold-light); }

  .contact-heading-en, .contact-heading-es, .contact-heading-de, .contact-heading-fr, .contact-heading-nl {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    color: var(--cream);
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.25;
  }

  .contact-sub-en, .contact-sub-es, .contact-sub-de, .contact-sub-fr, .contact-sub-nl {
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: rgba(250,247,240,0.5);
  }

  /* ── Native contact form ── */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .form-group label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(250,247,240,0.5);
  }

  .form-group label .req {
    color: var(--gold);
    margin-left: 2px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--cream);
    background: rgba(250,247,240,0.06);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 3px;
    padding: 10px 14px;
    width: 100%;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(250,247,240,0.25);
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(201,168,76,0.05);
  }

  .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
    color: var(--cream);
  }

  .form-group select option {
    background: #1A1612;
    color: var(--cream);
  }

  .form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
  }

  .form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
  }

  .form-note {
    font-size: 11px;
    color: rgba(250,247,240,0.25);
    letter-spacing: 0.03em;
  }

  .btn-submit {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 32px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-submit:hover { background: #B8943E; transform: translateY(-1px); }
  .btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

  .form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 4px;
  }

  .form-success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .form-success h3 {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--cream);
    margin-bottom: 0.75rem;
  }

  .form-success p {
    font-size: 0.9rem;
    color: rgba(250,247,240,0.5);
    line-height: 1.7;
  }

  @media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
  }

  /* ── Footer ── */
  footer {
    padding: 2.5rem 2rem;
    background: var(--ink);
    border-top: 1px solid rgba(201,168,76,0.15);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .footer-brand {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--cream);
  }

  .footer-brand span { color: var(--gold); }

  .footer-meta {
    font-size: 11px;
    color: rgba(250,247,240,0.35);
    letter-spacing: 0.05em;
  }

  .footer-links {
    display: flex;
    gap: 1.5rem;
    /* ⚠️ WRAPS. Five links in French measure 399px, which is wider than a
       phone — and because this is the widest element on the page it stretched
       the whole document, dragging the FIXED navigation off-screen with it.
       The clipped nav looked like a nav bug and was a footer bug. */
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(250,247,240,0.4);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold-light); }

  .footer-meta .footer-company {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    transition: color 0.2s, border-color 0.2s;
  }
  .footer-meta .footer-company:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
  }

  /* ── Scroll indicator ── */
  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.4s forwards;
    cursor: pointer;
    text-decoration: none;
  }

  .scroll-indicator span {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .scroll-indicator svg {
    animation: scrollBounce 1.6s ease-in-out infinite;
  }

  @keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
  }

  /* ── Animations ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── Language switching ── */
  [data-en], [data-es], [data-de], [data-fr], [data-nl] { display: none; }
  body.lang-en [data-en] { display: revert; }
  body.lang-es [data-es] { display: revert; }
  body.lang-de [data-de] { display: revert; }
  body.lang-fr [data-fr] { display: revert; }
  body.lang-nl [data-nl] { display: revert; }

  /* Inline bilingual spans */
  .t-en, .t-es, .t-de, .t-fr, .t-nl { display: none; }
  body.lang-en .t-en { display: inline; }
  body.lang-es .t-es { display: inline; }
  body.lang-de .t-de { display: inline; }
  body.lang-fr .t-fr { display: inline; }
  body.lang-nl .t-nl { display: inline; }

  /* ── Responsive ── */
  @media (max-width: 600px) {
    #lang-toggle { top: 1rem; right: 1rem; }
    .market-item { flex: 1 1 100%; }
    footer { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
  }

  /* ══════════════════════════════════════════════════════════════════════
     PART TWO — components added for the Modules and Features pages.
     Everything above this line is the original homepage CSS, unchanged.
     Nothing below overrides an existing rule except the two lines that
     move #lang-toggle into the shared nav bar.
     ══════════════════════════════════════════════════════════════════ */

  /* ── Top navigation ── */
  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(250, 247, 240, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.14);
  }
  .site-nav--home { justify-content: flex-end; }

  /* The language toggle was fixed to the viewport on its own.
     Inside the nav bar it becomes an ordinary flex child. */
  .site-nav #lang-toggle {
    position: static;
    top: auto;
    right: auto;
    flex: none;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: none;
  }
  .nav-brand svg { display: block; }
  .nav-brand .nav-brand-mark { display: none; }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

  .nav-links a {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a.is-current {
    color: var(--gold);
    border-bottom-color: var(--gold);
  }

  /* ── Sub-page hero ── */
  .page-hero {
    padding: 9rem 2rem 3.5rem;
    text-align: center;
    background: var(--cream);
    position: relative;
  }
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 70%);
    pointer-events: none;
  }
  .page-hero > * { position: relative; }

  .page-title {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.2;
    max-width: 760px;
    margin: 0 auto 1.25rem;
  }

  .page-lede {
    font-size: clamp(0.92rem, 1.6vw, 1.02rem);
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
  }

  .page-section {
    padding: 4.5rem 2rem 5rem;
    background: var(--white);
    border-top: 1px solid var(--cream-dark);
  }
  .page-section--cream {
    padding: 4.5rem 2rem 5rem;
    background: var(--cream);
    border-top: 1px solid var(--cream-dark);
  }

  .section-title {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    font-weight: 300;
    color: var(--ink);
    text-align: center;
    line-height: 1.25;
    max-width: 620px;
    margin: 0 auto 0.9rem;
  }

  .section-note {
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
  }

  /* ── Module blocks ── */
  .module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    align-items: start;      /* each block is its own height — no trapped space */
    gap: 1.5rem;
    max-width: 1020px;
    margin: 0 auto;
  }

  /* A cream card on a white section — the same figure/ground the value
     cards on the home page use. White on white read as unfinished. */
  .module-block {
    position: relative;
    padding: 2rem 1.85rem 1.5rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    background: var(--cream);
    box-shadow: 0 1px 2px rgba(26, 22, 18, 0.035);
  }
  .module-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 52px; height: 3px;
    background: var(--gold);
    border-radius: 0 0 2px 0;
  }

  /* A block that spans the whole grid rather than one column.
     `Supporting records` is the seventh block in a two-column grid, so it sat
     alone in the last row filling the left half and leaving the right half
     empty — which reads as something missing rather than as a section that
     applies to everything. Spanning both columns says what it means.
     At one column `1 / -1` is a no-op, so this needs no media query. */
  .module-block--wide { grid-column: 1 / -1; }

  /* Its items then flow in two columns, or five of them make one long strip
     across a 1020px block. `auto-fit` with a floor means it collapses back to
     one column on a narrow screen without a breakpoint of its own. */
  .module-block--wide .module-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 2.5rem;
  }

  .module-block--soon {
    background: var(--white);
    border-style: dashed;
    border-color: var(--gold-light);
    box-shadow: none;
  }
  .module-block--soon::before { opacity: 0.4; }

  .module-block-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.55rem;
  }

  .module-block-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 0.6rem;
  }

  .module-block-intro {
    font-size: 0.86rem;
    color: var(--ink-soft);
    line-height: 1.7;
  }

  .module-list { margin-top: 1.4rem; }
  .module-list .module-item:first-child { border-top-color: var(--cream-dark); }

  .module-item {
    position: relative;
    padding: 1.05rem 0 1.05rem 1.05rem;
    border-top: 1px solid rgba(201, 168, 76, 0.22);
  }
  .module-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.35rem;
    width: 5px; height: 5px;
    background: var(--gold);
    transform: rotate(45deg);
  }

  .module-item-name {
    font-family: var(--sans);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    margin-bottom: 0.3rem;
  }

  .module-item-desc {
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.65;
  }

  /* ── Record chain diagram ── */
  .chain-set {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .chain-caption {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 0.9rem;
  }

  .chain {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .chain-node {
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--ink-mid);
    background: var(--white);
    border: 1px solid var(--gold-light);
    border-radius: 2rem;
    padding: 6px 15px;
    white-space: nowrap;
  }
  .chain-node--soft {
    border-style: dashed;
    color: var(--ink-soft);
  }

  .chain-arrow {
    color: var(--gold);
    font-size: 13px;
    line-height: 1;
  }

  .chain-note {
    font-size: 11px;
    font-style: italic;
    color: var(--ink-soft);
    text-align: center;
    margin-top: 0.5rem;
  }

  .chain + .chain { margin-top: 1.1rem; }

  .chain-footnote {
    font-size: 0.82rem;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.7;
    max-width: 620px;
    margin: 2.5rem auto 0;
  }

  /* ── Feature groups ── */
  .feature-group {
    max-width: 1020px;
    margin: 0 auto 3.75rem;
  }
  .feature-group:last-of-type { margin-bottom: 0; }

  .feature-group-head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.85rem;
    margin-bottom: 2.25rem;
    border-bottom: 1px solid var(--cream-dark);
  }

  .feature-group-num {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.06em;
    flex: none;
  }

  .feature-group-title {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.6vw, 1.75rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.25;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem 2.5rem;
  }

  .feature-item { position: relative; padding-left: 2.15rem; }

  .feature-item-icon {
    position: absolute;
    left: 0;
    top: -1px;
    width: 22px;
    height: 22px;
    color: var(--gold);
  }

  .feature-item-name {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 0.4rem;
  }

  .feature-item-desc {
    font-size: 0.84rem;
    color: var(--ink-soft);
    line-height: 1.7;
  }

  /* ── Product screenshots ──
     Tight crops of one panel, never a full screen. A cropped detail sits
     inside the page's own card language; a full screenshot does not, and is
     illegible on a phone. */
  .shot {
    max-width: 1020px;
    margin: 0 auto 3.5rem;
  }
  .shot:last-child { margin-bottom: 0; }

  .shot-frame {
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    background: var(--white);
    padding: 0.7rem;
    box-shadow: 0 2px 12px rgba(26, 22, 18, 0.055);
  }
  .shot-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
  }

  .shot-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
  }

  .shot-caption {
    font-size: 0.84rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-top: 0.9rem;
  }

  /* The signature dialog is portrait, so it sits beside its caption rather
     than above it. */
  .shot--tall {
    display: grid;
    grid-template-columns: minmax(0, 320px) 1fr;
    gap: 2.75rem;
    align-items: center;
  }
  .shot--tall .shot-caption { margin-top: 0.7rem; }

  @media (max-width: 760px) {
    .shot--tall { grid-template-columns: 1fr; gap: 1.5rem; }
    .shot--tall .shot-frame { max-width: 320px; }
  }

  /* ── Home: links to the two sub-pages ── */
  .explore-section {
    padding: 5rem 2rem;
    background: var(--cream);
  }

  .explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
  }

  .explore-card {
    display: block;
    position: relative;
    padding: 2.4rem 2rem 2.1rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    background: var(--white);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s;
  }
  .explore-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
  }
  .explore-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--gold);
    border-radius: 0 0 2px 0;
  }

  .explore-card-title {
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.6rem;
    line-height: 1.2;
  }

  .explore-card-body {
    font-size: 0.86rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 1.4rem;
  }

  .explore-card-more {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
  }

  /* ── Closing call to action on the sub-pages ── */
  .cta-band {
    padding: 5rem 2rem;
    background: var(--ink);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-band > * { position: relative; }

  .cta-band-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.25;
    max-width: 560px;
    margin: 0 auto 0.9rem;
  }

  .cta-band-sub {
    font-size: 0.9rem;
    color: rgba(250, 247, 240, 0.5);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 2.25rem;
  }

  .cta-row--static {
    margin-top: 0;
    opacity: 1;
    animation: none;
  }

  .btn-ghost {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 12px 28px;
    background: transparent;
    color: rgba(250, 247, 240, 0.75);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 2rem;
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
  }
  .btn-ghost:hover {
    border-color: var(--gold);
    color: var(--cream);
    transform: translateY(-1px);
  }

  /* ── Responsive ──
     ⚠️ 880, NOT 720. The navigation carries five links and a five-language
     toggle since French and Dutch were added; at 720 the toggle's last button
     sat 30px past the right edge and NL could not be clicked. Measured, not
     estimated: the widest case is French, whose FONCTIONNALITÉS is 122px. */
  @media (max-width: 880px) {
    .site-nav { padding: 0.75rem 1rem; gap: 0.75rem; }
    .nav-right { gap: 0.9rem; }
    .nav-links { gap: 0.9rem; }
    .nav-links a { font-size: 10.5px; letter-spacing: 0.05em; }
    #lang-toggle button, #lang-toggle a { padding: 5px 9px; font-size: 11px; }
    .page-hero { padding: 7.5rem 1.5rem 3rem; }
    .page-section, .page-section--cream { padding: 3.5rem 1.5rem 4rem; }
    .module-block { padding: 1.75rem 1.5rem 1.25rem; }
  }

  /* Below this the full wordmark, five links and the five-language toggle no
     longer fit on one line, so the wordmark gives way to the H mark. */
  @media (max-width: 780px) {
    .site-nav { padding: 0.7rem 0.85rem; gap: 0.5rem; }
    .nav-right { gap: 0.6rem; }
    .nav-links { gap: 0.7rem; }
    .nav-links a { font-size: 9.5px; letter-spacing: 0.03em; padding-bottom: 2px; }
    #lang-toggle button, #lang-toggle a { padding: 4px 7px; font-size: 10px; letter-spacing: 0.03em; }
    .nav-brand .nav-brand-full { display: none; }
    .nav-brand .nav-brand-mark { display: block; }
    /* ⚠️ WRAP RATHER THAN CLIP. Five links and a five-language switcher do not
       fit one phone line in any language, and French is the widest: measured
       458px of content in a 430px viewport. Without this the last switcher
       button sits off-screen and cannot be tapped — the page does not scroll
       sideways to reach it. Wrapping costs one line of height and holds for
       any language added later. */
    .site-nav  { flex-wrap: wrap; row-gap: 0.35rem; }
    /* ⚠️ `min-width: 0` IS THE LOAD-BEARING HALF. A flex item refuses to shrink
       below its own max-content width by default, so `flex-wrap` alone left the
       row of links intact and overflowing — the nav wrapped into two lines and
       both still ran off the right edge. */
    .nav-right { flex-wrap: wrap; justify-content: flex-end; row-gap: 0.35rem;
                 min-width: 0; flex: 1 1 auto; max-width: 100%; }
    .nav-links { flex-wrap: wrap; justify-content: flex-end; row-gap: 0.25rem;
                 min-width: 0; max-width: 100%; }
  }

  /* ── Guides ───────────────────────────────────────────────────────────
     Long-form reading, added 2026-09-08 with the content layer. A guide is a
     single column of prose: the measure is capped near 68 characters because
     a line the width of a laptop is a line nobody finishes. */
  .guide {
    max-width: 720px;
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
  }
  .guide-eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 1.25rem;
  }
  .guide-eyebrow a { color: inherit; text-decoration: none; }
  .guide-eyebrow a:hover { color: var(--gold); }
  .guide-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 1rem;
    text-wrap: balance;
  }
  .guide-standfirst {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--ink-mid);
    margin: 0 0 1.5rem;
  }
  .guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 12px;
    color: var(--ink-soft);
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cream-dark);
    margin-bottom: 2.5rem;
  }
  .guide-body {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-mid);
  }
  .guide-body h2 {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--ink);
    margin: 3rem 0 1rem;
    line-height: 1.25;
  }
  .guide-body h3 {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin: 2.25rem 0 0.75rem;
  }
  .guide-body p { margin: 0 0 1.15rem; }
  .guide-body strong { font-weight: 500; color: var(--ink); }
  .guide-body a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
    transition: color 0.2s;
  }
  .guide-body a:hover { color: var(--gold); }
  .guide-body ul,
  .guide-body ol { margin: 0 0 1.5rem; padding-left: 1.2rem; }
  .guide-body li { margin-bottom: 0.7rem; }
  .guide-body li::marker { color: var(--gold); }
  /* Wide content scrolls inside its own box; the page never scrolls sideways. */
  .guide-body table {
    display: block;
    overflow-x: auto;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0 0 1.75rem;
  }
  .guide-body th,
  .guide-body td {
    text-align: left;
    padding: 0.6rem 1rem 0.6rem 0;
    border-bottom: 1px solid var(--cream-dark);
    white-space: nowrap;
  }
  .guide-body th {
    font-weight: 500;
    color: var(--ink);
    border-bottom-color: var(--gold-light);
  }

  .guide-cta {
    margin-top: 3.5rem;
    padding: 1.75rem;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ink-mid);
  }
  .guide-cta p { margin: 0 0 0.6rem; }
  .guide-cta p:last-child { margin-bottom: 0; }
  .guide-cta-title {
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.04em;
  }
  .guide-cta-link { color: var(--gold); text-decoration: none; font-weight: 500; }
  .guide-cta-link:hover { text-decoration: underline; }

  /* The index */
  .guide-index { font-family: var(--sans); }
  .guide-card {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
  }
  .guide-card:first-child { padding-top: 0; }
  .guide-card h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    line-height: 1.25;
  }
  .guide-card h2 a { color: var(--ink); text-decoration: none; }
  .guide-card h2 a:hover { color: var(--gold); }
  .guide-card p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--ink-mid);
    margin: 0 0 0.5rem;
  }
  .guide-card-meta { font-size: 12px; color: var(--ink-soft); }

  @media (max-width: 640px) {
    .guide { padding-top: 5.5rem; }
  }
