/* ===== HOW IT WORKS PAGE STYLES ===== */
  .hiw-main {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 100px clamp(28px, 6vw, 80px) 120px;
    min-height: 100vh;
    background: #F5F1E8;
    color: #1A1A1A;
    font-family: 'Inter', sans-serif;
  }
  /* HIW page wants its warm off-white to fill behind the content */
  body:has(.hiw-main) { background: #F5F1E8; }

  /* Frame */
  .hiw-frame-mast {
    position: fixed;
    top: 28px; left: 32px;
    z-index: 10;
    pointer-events: auto;
  }
  .hiw-frame-link {
    display: flex; flex-direction: column;
    color: #1A1A1A; text-decoration: none;
  }
  .hiw-mast-top {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    line-height: 1;
    color: #1A1A1A;
  }
  .hiw-mast-rule {
    width: 32px; height: 1px;
    background: #C8553D;
    margin: 6px 0;
  }
  .hiw-mast-bot {
    font-size: 9px;
    letter-spacing: 0.22em;
    color: #6B6B68;
    text-transform: uppercase;
    font-weight: 600;
  }
  .hiw-frame-back {
    position: fixed;
    top: 32px; right: 32px;
    z-index: 10;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6B6B68;
    text-decoration: none;
    font-weight: 600;
    transition: color 200ms ease;
  }
  .hiw-frame-back:hover { color: #C8553D; }

  /* Hero */
  .hiw-hero {
    text-align: center;
    margin: 60px auto 100px;
    max-width: 760px;
  }
  .hiw-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    color: #6B6B68; font-weight: 600;
    margin-bottom: 24px;
  }
  .hiw-eyebrow-rule { width: 32px; height: 1px; background: #C8553D; }
  .hiw-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #1A1A1A;
    margin: 0 0 28px;
    text-wrap: balance;
  }
  .hiw-title em { color: #C8553D; font-style: italic; }
  .hiw-sub {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: clamp(17px, 1.6vw, 22px);
    line-height: 1.5;
    color: #5C5C58;
    margin: 0;
    max-width: 580px;
    margin-left: auto; margin-right: auto;
  }

  /* Reveal */
  .hiw-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms cubic-bezier(.2,.9,.2,1), transform 700ms cubic-bezier(.2,.9,.2,1);
  }
  .hiw-reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Timeline */
  .hiw-timeline {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
  }
  .hiw-beat-wrap { display: block; }
  .hiw-beat {
    display: grid;
    grid-template-columns: 160px 32px 1fr 160px;
    gap: 32px;
    align-items: start;
    padding: 36px 0;
    min-height: 180px;
  }

  .hiw-stamp {
    text-align: right;
    padding-top: 4px;
    border-right: 1px solid rgba(26,26,26,0.12);
    padding-right: 22px;
  }
  .hiw-day {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 36px; line-height: 1;
    color: #C8553D;
    letter-spacing: -0.01em;
  }
  .hiw-time {
    margin-top: 8px;
    font-size: 13px; letter-spacing: 0.04em;
    color: #1A1A1A; font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  .hiw-where {
    margin-top: 4px;
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: #8A867A;
  }

  .hiw-connector {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    height: 100%; min-height: 100%;
    padding-top: 8px;
  }
  .hiw-dot {
    width: 14px; height: 14px;
    background: #C8553D;
    border: 2px solid #F5F1E8;
    box-shadow: 0 0 0 1.5px #C8553D;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .hiw-line {
    width: 1px;
    background: #C8553D;
    margin-top: 6px;
    flex: 1;
    min-height: 80px;
    opacity: 0.55;
  }

  .hiw-narr {
    padding-top: 0;
    max-width: 540px;
  }
  .hiw-head-text {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.2;
    color: #1A1A1A;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    text-wrap: pretty;
  }
  .hiw-body-text {
    font-size: 15px; line-height: 1.6;
    color: #5C5C58;
    margin: 0 0 14px;
    text-wrap: pretty;
  }
  .hiw-tail {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: #C8553D; font-weight: 600;
    padding: 4px 0;
    border-bottom: 1px solid rgba(200, 85, 61, 0.3);
  }
  .hiw-tail-mark { font-size: 14px; line-height: 0; }

  .hiw-icon {
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 4px;
  }

  /* Coda */
  .hiw-coda {
    margin: 100px auto 0;
    max-width: 720px;
  }
  .hiw-coda-inner {
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 22px;
  }
  .hiw-coda-rule {
    width: 80px; height: 1px;
    background: rgba(26,26,26,0.2);
  }
  .hiw-coda-text {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.4;
    color: #1A1A1A;
    margin: 0;
    letter-spacing: -0.01em;
  }
  .hiw-coda-text em { color: #C8553D; font-style: italic; }
  .hiw-coda-cta {
    display: inline-block;
    margin-top: 12px;
    padding: 14px 28px;
    background: #1A1A1A;
    color: #FBF6E8;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: background 200ms ease;
  }
  .hiw-coda-cta:hover { background: #C8553D; }

  @media (max-width: 900px) {
    .hiw-main { padding: 80px 24px 80px; }
    .hiw-frame-mast, .hiw-frame-back {
      position: absolute;
    }
    .hiw-frame-mast { top: 24px; left: 24px; }
    .hiw-frame-back { top: 28px; right: 24px; }
    .hiw-hero { margin: 24px auto 60px; }
    .hiw-beat { grid-template-columns: 90px 22px 1fr; gap: 14px; padding: 24px 0; }
    .hiw-icon { display: none; }
    .hiw-day { font-size: 24px; }
    .hiw-stamp { padding-right: 12px; }
  }
