  :root {
    --paper: #f4ece0;        /* warm cream */
    --paper-2: #ece2d0;      /* deeper cream */
    --paper-3: #e2d6c1;
    --ink: #2a2520;          /* warm near-black */
    --ink-soft: #5a4f44;
    --ink-dim: #8a7e70;
    --ink-faint: #b9ae9d;
    --line: #d9cdb9;
    --line-soft: #e6dcc8;

    /* dusk palette */
    --sky-1: #b8c7c9;        /* muted teal-grey */
    --sky-2: #c7d0ce;
    --dawn: #f3dfb8;         /* pale gold */
    --rose: #d9a79a;         /* muted rose */
    --plum: #a78ea3;         /* soft plum */
    --sage: #a8b49a;         /* sage green */
    --moss: #7d8a6a;
    --terracotta: #c08a6b;
    --wine:  #8a4a56;

    --serif: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --script: "Caveat", cursive;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; }
  body { overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  /* paper grain */
  .grain::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.07;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.18  0 0 0 0 0.15  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  }

  .container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
  @media (max-width: 768px) { .container { padding: 0 20px; } }

  .eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 500;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .eyebrow .sep { width: 24px; height: 1px; background: var(--ink-soft); opacity: 0.5; }

  .script { font-family: var(--script); font-weight: 400; }

  /* ========== NAV ========== */
  nav.top {
    position: sticky; top: 12px; z-index: 100;
    margin: 12px 16px 0;
    padding: 14px 28px;
    background: color-mix(in oklab, var(--paper) 82%, transparent);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 999px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    box-shadow: 0 2px 20px rgba(80,60,40,0.04);
  }
  .logo {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--serif); font-style: normal; font-weight: 500;
    font-size: 22px; letter-spacing: -0.01em; color: var(--ink);
    font-variation-settings: "opsz" 48;
  }
  .logo .logo-word { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
  .logo-mark { width: 26px; height: 26px; }
  .nav-links { display: flex; gap: 32px; color: var(--ink-soft); font-size: 14px; font-weight: 500; }
  .nav-links a { transition: color 0.2s; display: inline-flex; align-items: center; gap: 4px; }
  .nav-links a:hover { color: var(--ink); }
  .nav-links .chev { opacity: 0.9; font-size: 14px; line-height: 1; transition: transform .2s; margin-left: 4px; }
  .nav-cta { display: flex; gap: 10px; align-items: center; }
  @media (max-width: 900px) { .nav-links { display: none; } }

  /* --- Nav trigger buttons (match <a> styling) --- */
  .nav-trigger {
    appearance: none; background: none; border: 0; padding: 0; margin: 0;
    font: inherit; color: var(--ink-soft); cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 14px; font-weight: 500;
    transition: color 0.2s;
  }
  .nav-trigger:hover,
  .nav-trigger[data-open="true"] { color: var(--ink); }
  .nav-trigger[data-open="true"] .chev { transform: rotate(180deg); opacity: 1; }

  /* --- Mega menu panel (Cyera-style, anchored to full nav container) --- */
  .nav-wrap { position: relative; }
  .nav-mega {
    position: absolute;
    top: calc(100% + 4px);
    left: 16px; right: 16px;
    z-index: 110;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 24px 60px -24px rgba(30,20,10,0.28), 0 2px 4px rgba(30,20,10,0.05);
    padding: 20px;
    animation: navMegaIn .18s ease both;
  }
  @keyframes navMegaIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-mega-inner {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    min-height: 260px;
  }
  .nav-mega-feature {
    display: flex; flex-direction: column;
    border-radius: 16px;
    padding: 24px;
    color: var(--paper);
    text-decoration: none;
    overflow: hidden;
    position: relative;
    transition: transform .2s;
  }
  .nav-mega-feature:hover { transform: translateY(-2px); }
  .nmf-glyph {
    width: 100%; height: 130px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    display: flex; align-items: center; justify-content: center;
    padding: 14px;
    margin-bottom: 16px;
  }
  .nmf-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .nmf-eyebrow {
    font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em;
    text-transform: uppercase; opacity: 0.85;
  }
  .nmf-title {
    font-family: var(--serif); font-size: 22px; font-weight: 400;
    letter-spacing: -0.01em; line-height: 1.15;
    font-variation-settings: "opsz" 48;
  }
  .nmf-blurb {
    font-family: var(--serif); font-style: italic; font-size: 13.5px;
    line-height: 1.5; opacity: 0.88; flex: 1;
  }
  .nmf-cta {
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    letter-spacing: 0.02em; margin-top: 8px;
    border-bottom: 1px solid currentColor; align-self: flex-start;
    padding-bottom: 2px;
  }
  .nmf-cta span { margin-left: 4px; transition: transform .2s; display: inline-block; }
  .nav-mega-feature:hover .nmf-cta span { transform: translateX(3px); }

  .nav-mega-cols {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    gap: 24px;
    padding: 8px 12px 8px 24px;
  }
  .nav-mega-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .nmc-heading {
    font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--ink-dim); font-weight: 600;
    margin-bottom: 14px;
  }
  .nav-mega-col a {
    font-family: var(--sans); font-size: 14px; font-weight: 500;
    color: var(--ink); text-decoration: none;
    transition: color .15s;
    display: inline-block;
  }
  .nav-mega-col a:hover { color: var(--wine); }

  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: var(--sans);
  }
  .btn-ghost { color: var(--ink-soft); }
  .btn-ghost:hover { color: var(--ink); }
  .btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
  .btn-outline:hover { background: var(--ink); color: var(--paper); }
  .btn-primary {
    background: var(--ink);
    color: var(--paper);
  }
  .btn-primary:hover { background: var(--wine); transform: translateY(-1px); }
  .btn-rose {
    background: var(--rose);
    color: var(--ink);
  }
  .btn-rose:hover { background: #caa093; }
  .btn-dawn {
    background: var(--dawn);
    color: var(--ink);
    border: 1px solid color-mix(in oklab, var(--dawn) 65%, var(--ink));
  }
  .btn-dawn:hover { background: #e8d3a5; }
  .btn .arr { transition: transform 0.2s; }
  .btn:hover .arr { transform: translate(3px, -3px); }

  /* ========== HERO ========== */
  .hero {
    position: relative;
    padding: 40px 0 80px;
    overflow: hidden;
  }
  .hero-inner {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    isolation: isolate;
  }
  .hero-sky {
    position: absolute; inset: 0;
    z-index: 0;
  }
  .hero-content {
    position: relative; z-index: 2;
    padding: 88px 88px 88px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  @media (max-width: 1200px) {
    .hero-content { padding: 72px 56px; }
  }
  @media (max-width: 1000px) {
    .hero-content { grid-template-columns: 1fr; padding: 48px 28px; }
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(54px, 8.2vw, 128px);
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-variation-settings: "opsz" 144;
  }
  .hero h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--wine);
    font-variation-settings: "opsz" 144;
  }
  .hero .sub {
    margin-top: 28px;
    font-family: var(--serif);
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.2;
    color: var(--ink);
    font-weight: 400;
    max-width: 560px;
    font-variation-settings: "opsz" 36;
  }
  .hero .sub em { font-style: italic; color: var(--terracotta); }
  .hero p.lede {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 480px;
  }
  .hero .cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
  .hero-meta {
    margin-top: 36px;
    padding-top: 20px;
    display: flex; align-items: center; gap: 18px;
    flex-wrap: wrap;
    position: relative;
  }
  .hero-meta::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 64px; height: 1px;
    background: rgba(80,50,30,0.28);
  }
  .hero-meta .cert-label {
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    font-variation-settings: "opsz" 18;
    flex-shrink: 0;
  }
  .hero-meta .certs {
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .hero-meta .cert {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 10px;
    background: rgba(253,249,238,0.6);
    border: 1px solid rgba(80,50,30,0.18);
    border-radius: 999px;
    font-size: 12px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.01em;
    backdrop-filter: blur(4px);
  }
  .hero-meta .cert .seal {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--wine);
    color: var(--paper);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 8px;
    font-weight: 600;
    flex-shrink: 0;
  }

  /* hero visual (right) */
  .hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex; align-items: center; justify-content: center;
  }

  /* Painted cloud shapes */
  .cloud {
    position: absolute;
    pointer-events: none;
  }
  .cloud svg { width: 100%; height: 100%; display: block; }

  /* ========== ZEN SCENE (hero centerpiece) ========== */
  .lock-stage {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 420/480;
    margin: 0 auto;
  }
  .lock-float { animation: floaty 9s ease-in-out infinite; transform-origin: center; }
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  /* ========== TRUST & COMPLIANCE BAND ========== */
  .trust-band {
    padding: 40px 0 80px;
  }

  /* Section break — a shared painted horizontal rule with a small kanji bullet.
     Drop <SectionBreak/> between any two sections. */
  .section-break {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 28px 0;
  }
  .section-break .sb-rule {
    flex: 1;
    max-width: 240px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(42,37,32,0.35), transparent);
  }
  .section-break .sb-mark {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--ink-soft);
    font-style: italic;
    opacity: 0.75;
    letter-spacing: 0.02em;
  }
  .section-break .sb-glyph {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wine);
    opacity: 0.65;
  }

  /* Customers — standalone section */
  .customers {
    padding: 80px 0 64px;
  }
  .customers-caption {
    text-align: center;
    color: var(--ink-dim);
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    margin-bottom: 40px;
    font-variation-settings: "opsz" 18;
  }
  .customers-caption em { color: var(--wine); font-style: italic; }
  .customers-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 1120px;
    margin: 0 auto;
  }
  .customers-logo {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--ink-soft);
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 72;
    opacity: 0.75;
  }
  .trust-caption {
    text-align: center;
    color: var(--ink-dim);
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    margin-bottom: 32px;
    font-variation-settings: "opsz" 18;
  }
  .trust-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .trust-logo {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--ink-soft);
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 72;
    opacity: 0.75;
  }
  .trust-divider {
    margin: 72px 0 56px;
  }
  .compliance-row {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 72px;
    align-items: start;
  }
  @media (max-width: 900px) {
    .compliance-row { grid-template-columns: 1fr; gap: 40px; }
  }
  .compliance-h {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-top: 18px;
    font-variation-settings: "opsz" 72;
  }
  .compliance-h em { font-style: italic; font-weight: 300; color: var(--wine); }
  .compliance-note {
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
    max-width: 360px;
  }
  .compliance-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--wine);
    font-variation-settings: "opsz" 24;
  }
  .compliance-link:hover .arr { transform: translate(3px, -3px); }
  .compliance-link .arr { transition: transform 0.2s; }

  .compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  @media (max-width: 600px) {
    .compliance-grid { grid-template-columns: 1fr; }
  }
  .compliance-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .compliance-seal {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .compliance-name {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--ink);
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 36;
  }
  .compliance-detail {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 2px;
    font-family: var(--serif);
    font-style: italic;
  }

  /* ========== SECTIONS ========== */
  section.band {
    padding: 120px 0;
    position: relative;
  }
  .sec-head {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 48px; align-items: end;
    margin-bottom: 72px;
  }
  @media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 24px; } }
  .sec-head h2 {
    font-family: var(--serif);
    font-size: clamp(42px, 5.5vw, 80px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    font-weight: 400;
    color: var(--ink);
    font-variation-settings: "opsz" 144;
  }
  .sec-head h2 em { font-style: italic; font-weight: 300; color: var(--wine); }
  .sec-head .note {
    font-size: 17px; color: var(--ink-soft); line-height: 1.55;
    max-width: 460px; justify-self: end;
    font-family: var(--serif);
    font-variation-settings: "opsz" 24;
  }
  @media (max-width: 900px) { .sec-head .note { justify-self: start; } }

  /* ========== FALSE PATHS ========== */
  .paths {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 56px;
  }
  @media (max-width: 900px) { .paths { grid-template-columns: 1fr; } }
  .path {
    padding: 40px 32px 36px;
    border-radius: 20px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    position: relative; overflow: hidden;
    text-align: center;
  }
  .path .path-glyph {
    width: 72px; height: 72px; margin: 0 auto 24px;
    opacity: 0.75;
  }
  .path h3 {
    font-family: var(--serif); font-weight: 400;
    font-size: 24px; letter-spacing: -0.01em; color: var(--ink);
    margin-bottom: 12px;
    font-variation-settings: "opsz" 48;
  }
  .path h3 em { font-style: italic; font-weight: 300; }
  .path p {
    color: var(--ink-soft); font-size: 14px; line-height: 1.55;
    max-width: 280px; margin: 0 auto;
  }
  .fourth-way {
    text-align: center; margin-top: 56px;
    font-family: var(--serif); font-style: italic;
    font-size: clamp(22px, 2.4vw, 32px);
    color: var(--ink-soft);
    font-variation-settings: "opsz" 36;
  }
  .fourth-way em { color: var(--wine); }

  /* ========== PRINCIPLES (three pillars) ========== */
  .pillars {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  @media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
  .pillar {
    position: relative;
    padding: 40px 32px 36px;
    border-radius: 24px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    overflow: hidden;
    min-height: 380px;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .pillar.dawn {
    background: linear-gradient(180deg, #f4e4c4, #ecd6a8);
  }
  .pillar.sage {
    background: linear-gradient(180deg, #cdd5bd, #b8c4a3);
  }
  .pillar.rose {
    background: linear-gradient(180deg, #e8c5bd, #d9a79a);
  }
  .pillar .glyph {
    width: 88px; height: 88px;
    margin-bottom: 28px;
  }
  .pillar h3 {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
    font-variation-settings: "opsz" 72;
  }
  .pillar h3 em { font-style: italic; font-weight: 300; }
  .pillar p {
    color: var(--ink-soft); font-size: 15px; line-height: 1.55;
  }
  .pillar .num {
    position: absolute; top: 24px; right: 28px;
    font-family: var(--serif); font-style: italic; font-size: 20px;
    color: var(--ink-soft); opacity: 0.7;
  }
  .pillar .kanji-mark {
    position: absolute; bottom: -34px; right: -14px;
    font-family: var(--serif); font-weight: 300;
    font-size: 200px; line-height: 1;
    color: var(--ink); opacity: 0.08;
    pointer-events: none; user-select: none;
    font-variation-settings: "opsz" 144;
  }
  .pillar > div { position: relative; z-index: 1; }
  .pillar > a { position: relative; z-index: 1; }

  /* ========== KOAN (investigation agent) ========== */
  .koan-section {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
  }
  .koan-wrap {
    display: grid; grid-template-columns: 1fr 1.25fr;
    gap: 72px; align-items: start;
  }
  @media (max-width: 1000px) { .koan-wrap { grid-template-columns: 1fr; gap: 48px; } }
  .scroll {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 36px 36px 32px;
    box-shadow: 0 40px 80px -40px rgba(80,50,30,0.25), 0 8px 24px -12px rgba(80,50,30,0.12);
    overflow: hidden;
  }
  .scroll::before, .scroll::after {
    content: ""; position: absolute; left: 0; right: 0; height: 12px;
    background: linear-gradient(180deg, var(--paper-2), transparent);
    opacity: 0.6;
  }
  .scroll::before { top: 0; }
  .scroll::after { bottom: 0; transform: scaleY(-1); }
  .scroll .seal {
    position: absolute; top: 24px; right: 24px;
    width: 56px; height: 56px;
    background: var(--wine);
    color: var(--paper);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-style: italic; font-size: 22px;
    transform: rotate(-6deg);
    box-shadow: 0 4px 12px rgba(138,74,86,0.3);
  }
  .scroll-head {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: 14px; color: var(--ink-soft);
    letter-spacing: 0.04em;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 20px;
  }
  .scroll-title {
    font-family: var(--serif); font-size: 26px;
    line-height: 1.15; letter-spacing: -0.01em;
    color: var(--ink); font-weight: 400;
    margin-bottom: 6px;
    font-variation-settings: "opsz" 72;
  }
  .scroll-title em { font-style: italic; color: var(--wine); }
  .scroll-meta {
    font-size: 13px; color: var(--ink-dim); margin-bottom: 20px;
  }
  .scroll-row {
    display: grid; grid-template-columns: 90px 1fr;
    gap: 16px; align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
  }
  .scroll-row:last-child { border-bottom: none; }
  .scroll-row .k {
    font-family: var(--serif); font-style: italic;
    color: var(--ink-dim); font-size: 13px;
  }
  .scroll-row .v { color: var(--ink); line-height: 1.5; }
  /* Case-file chips — small uppercase tag pills, three subtle variants */
  .chip {
    display: inline-flex; align-items: center;
    padding: 3px 9px 2px; border-radius: 999px;
    font-family: var(--sans); font-size: 10px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    line-height: 1.4;
    border: 1px solid color-mix(in oklab, var(--ink) 14%, var(--paper));
    background: var(--paper);
    color: var(--ink-soft);
    margin-right: 6px;
    white-space: nowrap;
  }
  .chip.crit {
    color: var(--wine);
    border-color: color-mix(in oklab, var(--wine) 38%, var(--paper));
    background: color-mix(in oklab, var(--wine) 7%, var(--paper));
  }
  .chip.auto {
    color: color-mix(in oklab, #4a6b4a 80%, var(--ink));
    border-color: color-mix(in oklab, #4a6b4a 30%, var(--paper));
    background: color-mix(in oklab, #93ae8a 14%, var(--paper));
  }
  .chip.crit { color: var(--wine); background: color-mix(in oklab, var(--wine) 10%, transparent); }
  .chip.auto { color: var(--moss); background: color-mix(in oklab, var(--sage) 25%, transparent); }
  .chip.n { color: var(--ink-dim); background: color-mix(in oklab, var(--paper-3) 60%, transparent); }
  .scroll-reason {
    margin-top: 18px;
    padding: 16px 20px;
    background: color-mix(in oklab, var(--dawn) 35%, var(--paper));
    border-radius: 12px;
    font-family: var(--serif); font-style: italic;
    font-size: 15px; line-height: 1.6; color: var(--ink);
    font-variation-settings: "opsz" 24;
  }
  .scroll-reason .tag {
    font-family: var(--script); font-size: 22px; color: var(--wine);
    font-style: normal; margin-right: 8px;
  }
  .scroll-actions {
    display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
  }
  .scroll-actions .act {
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    padding: 8px 16px; border-radius: 999px;
    border: 1px solid color-mix(in oklab, var(--ink) 16%, var(--paper));
    background: var(--paper);
    color: var(--ink);
    letter-spacing: 0;
    cursor: default;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .scroll-actions .act:hover {
    border-color: color-mix(in oklab, var(--ink) 36%, var(--paper));
  }
  .scroll-actions .act.go {
    background: var(--ink); color: var(--paper); border-color: var(--ink);
  }
  .scroll-actions .act.go:hover {
    background: color-mix(in oklab, var(--ink) 88%, var(--wine));
    border-color: color-mix(in oklab, var(--ink) 88%, var(--wine));
  }

  .koan-steps { list-style: none; margin-top: 40px; }
  .koan-step {
    display: grid; grid-template-columns: 48px 1fr;
    gap: 20px; padding: 22px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
    transition: opacity 0.4s;
  }
  .koan-step .num {
    font-family: var(--serif); font-style: italic; font-weight: 300;
    font-size: 32px; color: var(--wine);
    font-variation-settings: "opsz" 72;
    line-height: 1;
  }
  .koan-step .h {
    font-family: var(--serif); font-size: 22px; color: var(--ink);
    font-weight: 400; margin-bottom: 6px; letter-spacing: -0.01em;
    font-variation-settings: "opsz" 48;
  }
  .koan-step .h em { font-style: italic; }
  .koan-step .d { font-size: 14px; color: var(--ink-soft); line-height: 1.55; max-width: 460px; }

  /* ========== USE CASES — painted lily pads ========== */
  .garden {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  @media (max-width: 1000px) { .garden { grid-template-columns: repeat(2, 1fr); } }
  .stone {
    position: relative;
    border-radius: 28px;
    padding: 32px 28px 28px;
    overflow: hidden;
    min-height: 280px;
    display: flex; flex-direction: column; justify-content: space-between;
    border: 1px solid var(--line);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .stone:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(80,50,30,0.18); }
  .stone h3 {
    font-family: var(--serif); font-weight: 400;
    font-size: 26px; line-height: 1.05; letter-spacing: -0.01em;
    color: var(--ink); margin-bottom: 10px;
    font-variation-settings: "opsz" 72;
  }
  .stone h3 em { font-style: italic; font-weight: 300; color: var(--wine); }
  .stone p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
  .stone .num {
    font-family: var(--serif); font-style: italic; font-size: 16px;
    color: var(--ink-dim);
  }
  .stone.a { grid-column: span 3; grid-row: span 2; min-height: 360px;
    background: linear-gradient(160deg, #d3ddd1 0%, #b8c4a3 100%); }
  .stone.b { grid-column: span 3;
    background: linear-gradient(160deg, #f4e4c4 0%, #e8cc96 100%); }
  .stone.c { grid-column: span 3;
    background: linear-gradient(160deg, #ead1c7 0%, #d9a79a 100%); }
  .stone.d { grid-column: span 2;
    background: linear-gradient(160deg, #d3dce1 0%, #b8c7c9 100%); }
  .stone.e { grid-column: span 2;
    background: linear-gradient(160deg, #e1d4da 0%, #c4b1bd 100%); }
  .stone.f { grid-column: span 2;
    background: linear-gradient(160deg, var(--paper-2) 0%, var(--paper-3) 100%); }
  @media (max-width: 1000px) { .stone.a, .stone.b, .stone.c, .stone.d, .stone.e, .stone.f { grid-column: span 2; min-height: 240px; } }

  /* painted accent blob inside stones */
  .stone .brushmark {
    position: absolute; bottom: -30px; right: -30px; width: 200px; height: 200px;
    opacity: 0.45; pointer-events: none;
  }

  /* ========== INTEGRATIONS ========== */
  .integ-wrap {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    position: relative;
    padding: 40px 0;
  }
  .marquee-wrap {
    overflow: hidden;
    position: relative;
  }
  .marquee-wrap::before, .marquee-wrap::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
  }
  .marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--paper-2), transparent); }
  .marquee-wrap::after { right: 0; background: linear-gradient(-90deg, var(--paper-2), transparent); }
  .marquee {
    display: flex; gap: 48px;
    animation: marq 48s linear infinite;
    padding: 16px 0;
    white-space: nowrap;
    width: max-content;
  }
  .marq-item {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--serif); font-size: 28px; color: var(--ink);
    letter-spacing: -0.01em; font-weight: 400;
    font-variation-settings: "opsz" 72;
  }
  .marq-item .petal {
    width: 14px; height: 14px; border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--rose);
  }
  .marq-item:nth-child(3n) .petal { background: var(--sage); }
  .marq-item:nth-child(3n+1) .petal { background: var(--dawn); }
  @keyframes marq { to { transform: translateX(-50%); } }

  /* ========== STATS ========== */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
  @media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
  .stat { position: relative; padding: 16px 0 0; }
  .stat .kanji {
    position: absolute; top: -40px; left: -6px;
    font-family: var(--serif); font-weight: 300;
    font-size: 160px; line-height: 1;
    color: var(--wine); opacity: 0.10;
    pointer-events: none;
    font-variation-settings: "opsz" 144;
  }
  .stat > .n, .stat > .l, .stat > .u { position: relative; z-index: 1; }
  .stat .u-label {
    position: relative; z-index: 1;
    font-family: var(--sans); font-size: 11px;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-soft); font-weight: 500;
    margin-top: 18px;
  }
  .stat .n {
    font-family: var(--serif); font-size: clamp(64px, 7vw, 112px); line-height: 0.9;
    letter-spacing: -0.03em; color: var(--ink);
    font-variation-settings: "opsz" 144;
  }
  .stat .n em { font-style: italic; font-weight: 300; }
  .stat .n .u { font-size: 0.42em; color: var(--ink-soft); margin-left: 4px; font-family: var(--serif); font-style: italic; font-weight: 300; }
  .stat .l { color: var(--ink-soft); font-size: 15px; margin-top: 14px; line-height: 1.5; max-width: 240px; font-family: var(--serif); font-variation-settings: "opsz" 18;}

  /* ========== QUOTE ========== */
  .quote-band {
    padding: 140px 0 120px;
    background: linear-gradient(180deg, var(--paper), var(--paper-2));
    position: relative;
    overflow: hidden;
  }
  .quote-mark {
    font-family: var(--serif); font-style: italic; font-size: 260px;
    color: var(--wine); opacity: 0.18; line-height: 0.5;
    font-variation-settings: "opsz" 144;
  }
  .quote-body blockquote {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.15; letter-spacing: -0.015em;
    color: var(--ink);
    max-width: 1000px;
    margin-top: -40px;
    font-variation-settings: "opsz" 96;
  }
  .quote-body blockquote em { font-style: italic; color: var(--wine); font-weight: 300; }
  .quote-attr {
    margin-top: 40px; display: flex; align-items: center; gap: 16px;
    color: var(--ink-soft); font-size: 14px;
  }
  .avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--dawn));
    display: flex; align-items: center; justify-content: center;
    color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 22px;
    border: 1px solid var(--line);
  }

  /* ========== FINAL CTA ========== */
  .cta-final {
    position: relative;
    padding: 140px 0 160px;
    text-align: center;
    overflow: hidden;
  }
  .cta-final h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(60px, 9vw, 160px); line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--ink);
    font-variation-settings: "opsz" 144;
  }
  .cta-final h2 em { font-style: italic; font-weight: 300; color: var(--wine); }
  .cta-final p {
    color: var(--ink-soft); font-size: 19px; margin-top: 24px;
    font-family: var(--serif);
    font-variation-settings: "opsz" 18;
  }
  .cta-final .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

  /* ========== FOOTER ========== */
  footer {
    background: var(--ink);
    color: var(--paper);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
  }
  @media (max-width: 900px) {
    footer { padding: 60px 0 32px; }
    footer .container { padding: 0 24px; }
  }
  @media (max-width: 600px) {
    footer .container { padding: 0 20px; }
    .foot-tag { max-width: 100%; }
  }
  footer .logo { color: var(--paper); }
  .foot-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    position: relative; z-index: 2;
  }
  @media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .foot-bottom {
    text-align: center;
    justify-content: center;
  }
}
  .foot-grid h4 {
    font-family: var(--sans); font-size: 14px; font-weight: 500;
    color: color-mix(in oklab, var(--paper) 70%, var(--ink));
    margin-bottom: 18px;
  }
  .foot-grid a { display: block; color: color-mix(in oklab, var(--paper) 80%, var(--ink)); font-size: 14px; padding: 5px 0; transition: color 0.2s; }
  .foot-grid a:hover { color: var(--paper); }
  .foot-tag {
    font-family: var(--serif); font-style: italic; font-size: 22px; max-width: 280px;
    color: color-mix(in oklab, var(--paper) 70%, var(--ink));
    margin-top: 16px; line-height: 1.3;
    font-variation-settings: "opsz" 24;
  }
  .foot-bottom {
    margin-top: 64px; padding-top: 24px;
    border-top: 1px solid color-mix(in oklab, var(--paper) 20%, var(--ink));
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px;
    color: color-mix(in oklab, var(--paper) 50%, var(--ink));
    position: relative; z-index: 2;
    flex-wrap: wrap; gap: 12px;
  }

  /* announcement scroll */
  .announce-wrap { display: flex; justify-content: center; padding: 18px 0 4px; }
  .announce {
    position: relative;
    display: inline-flex; align-items: stretch;
    text-decoration: none;
    transition: transform .25s ease;
  }
  .announce:hover { transform: translateY(-1px); }
  .announce .scroll-paper {
    position: relative;
    display: inline-flex; align-items: center; gap: 14px;
    padding: 8px 18px;
    background: var(--paper-2);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.5),
      0 1px 2px rgba(80,55,30,0.06);
  }
  .announce .eyebrow {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wine);
    flex: 0 0 auto;
  }
  .announce .body {
    color: var(--ink);
    font-family: var(--serif); font-style: italic;
    font-size: 14px; line-height: 1;
    font-variation-settings: "opsz" 18;
    border-left: 1px solid var(--line);
    padding-left: 14px;
  }
  .announce .link {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--wine);
    font-family: var(--serif); font-style: italic;
    font-size: 14px; font-weight: 500;
    padding-left: 14px;
    border-left: 1px solid var(--line);
    transition: gap .2s;
  }
  .announce:hover .link { gap: 9px; }
  .announce .link .arrow { font-style: italic; }
  .announce .scroll-edge {
    flex: 0 0 10px;
    position: relative;
  }
  .announce .scroll-edge--left {
    background: linear-gradient(90deg, var(--paper-3) 0%, var(--paper-2) 100%);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 6px 0 0 8px / 14px 0 0 14px;
    box-shadow: inset 2px 0 4px -1px rgba(80,55,30,0.12);
  }
  .announce .scroll-edge--right {
    background: linear-gradient(90deg, var(--paper-2) 0%, var(--paper-3) 100%);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: 0 6px 8px 0 / 0 14px 14px 0;
    box-shadow: inset -2px 0 4px -1px rgba(80,55,30,0.12);
    transition: flex-basis .25s ease;
  }
  .announce:hover .scroll-edge--right { flex-basis: 14px; }
  @media (max-width: 720px) {
    .announce .scroll-paper { padding: 7px 14px; gap: 10px; }
    .announce .body { font-size: 13px; padding-left: 10px; }
    .announce .link { font-size: 12px; padding-left: 10px; }
    .announce .eyebrow { font-size: 9px; letter-spacing: 0.14em; }
  }

  /* Tweaks */
  #tweaks {
    position: fixed; right: 20px; bottom: 20px; z-index: 200;
    width: 280px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: color-mix(in oklab, var(--paper) 94%, transparent);
    backdrop-filter: blur(14px);
    padding: 20px;
    display: none;
    box-shadow: 0 20px 60px -20px rgba(80,50,30,0.25);
  }
  #tweaks h5 { font-family: var(--serif); font-style: italic; font-size: 18px; margin-bottom: 12px; color: var(--ink); font-weight: 400; }
  #tweaks label { display: block; color: var(--ink-soft); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin: 14px 0 8px; font-weight: 500; }
  #tweaks .swatches { display: flex; gap: 8px; }
  #tweaks .sw { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s; }
  #tweaks .sw:hover { transform: scale(1.08); }
  #tweaks .sw.active { border-color: var(--ink); }
  #tweaks select, #tweaks textarea {
    width: 100%; background: var(--paper-2); color: var(--ink);
    border: 1px solid var(--line); border-radius: 10px;
    padding: 8px 10px; font-family: var(--sans); font-size: 13px;
  }
  #tweaks textarea { min-height: 60px; resize: vertical; }
/* ═══════════════════════════════════════════════════════════════════
   MOBILE & TABLET RESPONSIVE — Global fixes
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hamburger button ────────────────────────────────────────────── */
.mob-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.mob-hamburger:hover { background: var(--paper-2); }
.mob-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Mobile drawer ───────────────────────────────────────────────── */
.mob-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100%;
  background: var(--paper);
  z-index: 100000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -4px 0 40px rgba(42,37,32,0.15);
}
.mob-drawer.is-open { transform: translateX(0); }

.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,37,32,0.4);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.mob-overlay.is-open { opacity: 1; pointer-events: all; }

/* ═══════════════════════════════════════════════
   MOBILE DRAWER — Japanese theme
   ═══════════════════════════════════════════════ */
.mob-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 28px 32px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

/* Subtle paper grain overlay inside drawer */
.mob-drawer-inner::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.18  0 0 0 0 0.15  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  z-index: 0;
}
.mob-drawer-inner > * { position: relative; z-index: 1; }

.mob-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
}
.mob-close {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mob-close:hover {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--ink-faint);
}

/* Dashed painted rule */
.mob-rule {
  margin: 20px 0 4px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0px,
    var(--line) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.7;
}

/* Nav list */
.mob-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-top: 8px;
}

/* Product — direct serif link with arrow */
.mob-link {
  display: block;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}
.mob-link-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mob-link-label {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 48;
  line-height: 1;
}
.mob-link-arr {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-dim);
  transition: transform 0.2s, color 0.2s;
}
.mob-link:hover .mob-link-label { color: var(--wine); }
.mob-link:hover .mob-link-arr { transform: translate(3px, -2px); color: var(--wine); }

/* Accordion sections */
.mob-section {
  border-bottom: 1px solid var(--line-soft);
}
.mob-section-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.mob-section-label {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  font-variation-settings: "opsz" 48;
  transition: color 0.2s;
}
.mob-section-trigger:hover .mob-section-label { color: var(--wine); }
.mob-section-chev {
  color: var(--ink-dim);
  transition: transform 0.28s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.mob-section.is-open .mob-section-chev { transform: rotate(180deg); }
.mob-section-trigger:hover .mob-section-chev { color: var(--wine); }

/* Section body */
.mob-section-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mob-section.is-open .mob-section-body { max-height: 480px; }

/* Eyebrow label inside expanded section */
.mob-section-eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
  padding: 10px 0 8px;
  opacity: 0.75;
}

/* Sub-links */
.mob-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
  border-bottom: 1px solid transparent;
}
.mob-sub-link:hover { color: var(--ink); }
.mob-sub-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wine);
  opacity: 0.45;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.mob-sub-link:hover .mob-sub-dot { opacity: 0.9; }

/* "Explore all" link at bottom of section */
.mob-section-all {
  display: inline-block;
  margin: 8px 0 12px 15px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--wine);
  text-decoration: none;
  transition: opacity 0.2s;
}
.mob-section-all:hover { opacity: 0.75; }

/* Kanji watermark — decorative, bottom of nav area */
.mob-kanji-bg {
  position: absolute;
  bottom: 80px;
  right: -8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 140px;
  line-height: 1;
  color: var(--wine);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* CTA row */
.mob-cta {
  display: flex;
  gap: 10px;
  padding-top: 20px;
  margin-top: auto;
  position: relative;
  z-index: 1;
  border-top: 1px dashed var(--line);
}
.mob-cta-ghost {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s;
}
.mob-cta-ghost:hover { color: var(--ink); }
.mob-cta-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.mob-cta-primary:hover {
  background: var(--wine);
  transform: translateY(-1px);
}
.mob-cta-primary span { transition: transform 0.2s; }
.mob-cta-primary:hover span { transform: translate(2px, -2px); }

/* ── Show hamburger, hide desktop nav on mobile ──────────────────── */
@media (max-width: 900px) {
  .mob-hamburger { display: flex; }
  .nav-cta { display: none; }
  nav.top { justify-content: space-between; }
}

/* ── Nav bar pill sizing on mobile ───────────────────────────────── */
@media (max-width: 600px) {
  .container.nav-wrap { padding: 0 12px; }
  .announce-wrap { padding: 12px 0 2px; }
  .announce .scroll-paper .body { display: none; }
  .announce .arrow { display: none; }
  .announce .scroll-paper { padding: 8px 12px; gap: 8px; }
  .announce .link { padding-left: 8px; }
  .announce-wrap { padding-left: 0; padding-right: 0; }
  .scroll-edge { min-width: 14px; }
}

/* ── Footer responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Single post responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
  .post-wrap { padding: 32px 20px 60px; }
  .post-title { font-size: clamp(28px, 8vw, 48px); }
  .post-byline { flex-wrap: wrap; gap: 8px; }
  .post-footer { flex-direction: column; align-items: flex-start; }
}

/* ── General content overflow prevention ─────────────────────────── */
* { box-sizing: border-box; }
img, video, iframe, embed, object { max-width: 100%; }
pre, code { max-width: 100%; overflow-x: auto; }

/* ── Container max-width clamp ───────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { word-break: break-word; }
}
