@layer reset, base, components, responsive;

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

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  figure,
  dl,
  dd,
  ol,
  ul {
    margin: 0;
  }

  button,
  a {
    font: inherit;
  }

  button {
    color: inherit;
  }

  img {
    display: block;
    max-width: 100%;
  }

  [hidden] {
    display: none !important;
  }
}

@layer base {
  :root {
    --ivory: #f3ead9;
    --paper: #fbf7ee;
    --paper-deep: #e8dcc7;
    --ink: #161a18;
    --ink-soft: #4f514b;
    --oxblood: #641b29;
    --oxblood-dark: #43101a;
    --forest: #173f35;
    --forest-soft: #2f6255;
    --brass: #a77b35;
    --brass-pale: #d9bb7d;
    --line: rgba(22, 26, 24, 0.18);
    --paper-line: rgba(243, 234, 217, 0.2);
    --positive: #1f694f;
    --negative: #9a3043;
    --display: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow: 0 22px 70px rgba(45, 30, 18, 0.14);
  }

  body {
    min-width: 320px;
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
    color: var(--ink);
    background:
      linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
      radial-gradient(circle at 20% 10%, rgba(167, 123, 53, 0.08), transparent 36%), var(--ivory);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
  }

  body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: '';
    opacity: 0.26;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  }

  a {
    color: inherit;
  }

  button,
  a,
  .company-card {
    -webkit-tap-highlight-color: transparent;
  }

  :focus-visible {
    outline: 3px solid var(--brass);
    outline-offset: 4px;
  }

  .skip-link {
    position: fixed;
    z-index: 50;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    color: var(--paper);
    background: var(--ink);
    transform: translateY(-160%);
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 700ms ease,
      transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  body.dialog-open {
    overflow: hidden;
  }
}

@layer components {
  .edition-bar {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 7px clamp(18px, 4vw, 68px);
    color: var(--paper);
    background: var(--oxblood-dark);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .masthead {
    display: grid;
    grid-template-columns: auto 1fr auto;
    min-height: 88px;
    align-items: center;
    gap: 42px;
    padding: 16px clamp(18px, 4vw, 68px);
    border-bottom: 1px solid var(--line);
    background: rgba(251, 247, 238, 0.72);
    backdrop-filter: blur(14px);
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--paper);
    border-radius: 50%;
    background: var(--oxblood);
    font: italic 700 1.55rem/1 var(--display);
  }

  .brand b,
  .brand small {
    display: block;
  }

  .brand b {
    font-family: var(--display);
    font-size: 0.95rem;
    letter-spacing: 0.07em;
  }

  .brand small {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .masthead nav {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 3vw, 42px);
  }

  .masthead nav a {
    position: relative;
    padding: 10px 0;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .masthead nav a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    background: var(--oxblood);
    content: '';
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
  }

  .masthead nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
      transform 180ms ease,
      background 180ms ease,
      box-shadow 180ms ease;
  }

  .button:hover {
    transform: translateY(-2px);
  }

  .button:active {
    transform: translateY(0);
  }

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

  .button-oxblood {
    color: var(--paper);
    background: var(--oxblood);
    box-shadow: 0 12px 26px rgba(100, 27, 41, 0.22);
  }

  .button-paper {
    color: var(--forest);
    border-color: rgba(243, 234, 217, 0.5);
    background: var(--paper);
  }

  .button-whatsapp {
    width: 100%;
    color: #fff;
    background: #176b4d;
  }

  .button[aria-disabled='true'],
  .button-whatsapp[aria-disabled='true'] {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
  }

  .hero {
    display: grid;
    min-height: min(760px, calc(100svh - 122px));
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
    align-items: stretch;
    border-bottom: 1px solid var(--line);
  }

  .hero > *,
  .section-heading > *,
  .method > *,
  .calendar > *,
  .faq > *,
  footer > * {
    min-width: 0;
  }

  .hero-copy {
    display: flex;
    max-width: 760px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(56px, 8vw, 118px) clamp(28px, 5.5vw, 92px);
  }

  .eyebrow,
  .section-kicker {
    color: var(--oxblood);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .eyebrow span {
    width: 36px;
    height: 1px;
    background: currentColor;
  }

  .hero h1 {
    max-width: 760px;
    margin-top: 24px;
    font: 400 clamp(3.35rem, 6.4vw, 6.7rem) / 0.92 var(--display);
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
  }

  .hero h1 em {
    color: var(--oxblood);
    font-weight: 400;
  }

  .hero-lede {
    max-width: 660px;
    margin-top: 30px;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.35vw, 1.17rem);
    line-height: 1.75;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
  }

  .text-link {
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-underline-offset: 6px;
    text-transform: uppercase;
  }

  .hero-standards {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 42px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
  }

  .hero-standards li {
    position: relative;
    padding-left: 15px;
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .hero-standards li::before {
    position: absolute;
    top: 0.35em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brass);
    content: '';
  }

  .hero-boundary {
    margin-top: 18px;
    color: #717168;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .hero-art {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--paper);
  }

  .hero-art::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(243, 234, 217, 0.7), transparent 18%),
      linear-gradient(0deg, rgba(22, 26, 24, 0.16), transparent 35%);
    content: '';
  }

  .hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 63% center;
  }

  .hero-stamp {
    position: absolute;
    z-index: 1;
    right: clamp(22px, 4vw, 58px);
    bottom: clamp(24px, 4vw, 58px);
    display: grid;
    width: 112px;
    height: 112px;
    place-content: center;
    color: var(--paper);
    border: 1px solid rgba(243, 234, 217, 0.45);
    border-radius: 50%;
    background: rgba(67, 16, 26, 0.9);
    box-shadow: var(--shadow);
    text-align: center;
  }

  .hero-stamp span,
  .hero-stamp small {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.14em;
  }

  .hero-stamp b {
    font: 400 2.55rem/1 var(--display);
  }

  .market-tape {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: clip;
    color: var(--paper);
    border-top: 1px solid var(--paper-line);
    border-bottom: 1px solid var(--paper-line);
    background: var(--forest);
    contain: inline-size paint;
  }

  .tape-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 18px;
    display: inline-flex;
    min-width: 88px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    color: var(--paper);
    border: 1px solid rgba(243, 234, 217, 0.44);
    background: rgba(23, 63, 53, 0.96);
    box-shadow: -14px 0 24px var(--forest);
    cursor: pointer;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: translateY(-50%);
  }

  .tape-toggle:hover {
    border-color: var(--brass-pale);
  }

  .tape-toggle span {
    font-size: 0.78rem;
  }

  .tape-track {
    display: flex;
    width: max-content;
    animation: tape-scroll 42s linear infinite;
  }

  .market-tape:hover .tape-track,
  .tape-track.is-paused {
    animation-play-state: paused;
  }

  .tape-item {
    display: grid;
    min-width: 245px;
    grid-template-columns: auto auto;
    gap: 5px 14px;
    padding: 17px 28px;
    border-right: 1px solid var(--paper-line);
  }

  .tape-item span,
  .tape-item small {
    color: rgba(243, 234, 217, 0.62);
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .tape-item strong {
    font: 400 1.1rem/1.2 var(--display);
  }

  .tape-item b {
    font-size: 0.72rem;
    text-align: right;
  }

  .tape-item b.positive {
    color: #91d0ad;
  }

  .tape-item b.negative {
    color: #efa0ae;
  }

  .tape-item b.neutral {
    color: var(--brass-pale);
  }

  @keyframes tape-scroll {
    to {
      transform: translateX(-50%);
    }
  }

  .section-shell {
    padding: clamp(76px, 9vw, 132px) clamp(20px, 6vw, 96px);
  }

  .section-heading {
    display: grid;
    max-width: 1320px;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: clamp(36px, 7vw, 120px);
    margin: 0 auto 58px;
  }

  .section-heading h2,
  .calendar h2,
  .faq h2,
  .final-call h2,
  .method h2 {
    margin-top: 15px;
    font: 400 clamp(2.8rem, 5.2vw, 5.4rem) / 0.98 var(--display);
    letter-spacing: -0.045em;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .section-heading > p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.75;
  }

  .signal-grid {
    display: grid;
    max-width: 1320px;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0 auto;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .signal-card {
    position: relative;
    min-height: 380px;
    padding: 34px;
    background: rgba(251, 247, 238, 0.82);
  }

  .signal-card::after {
    position: absolute;
    right: 34px;
    bottom: 30px;
    width: 42px;
    height: 1px;
    background: var(--brass);
    content: '';
  }

  .signal-lead {
    color: var(--paper);
    background: var(--oxblood);
  }

  .signal-no {
    display: block;
    margin-bottom: 58px;
    color: var(--brass-pale);
    font: 400 2rem/1 var(--display);
  }

  .evidence-tag {
    display: inline-block;
    color: var(--oxblood);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .evidence-tag.official {
    color: var(--forest-soft);
  }

  .signal-lead .evidence-tag,
  .signal-lead small {
    color: var(--brass-pale);
  }

  .signal-card h3 {
    margin-top: 17px;
    font: 400 clamp(1.6rem, 2.1vw, 2.25rem) / 1.1 var(--display);
  }

  .signal-card > p:not(.evidence-tag) {
    margin-top: 22px;
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.7;
  }

  .signal-lead > p:not(.evidence-tag) {
    color: rgba(243, 234, 217, 0.78);
  }

  .signal-card small {
    position: absolute;
    bottom: 28px;
    left: 34px;
    max-width: 72%;
    color: #75736b;
    font-size: 0.65rem;
    line-height: 1.45;
  }

  .watchlist {
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

  .watchlist-grid {
    display: grid;
    max-width: 1320px;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin: 0 auto;
  }

  .company-card {
    position: relative;
    display: flex;
    min-height: 330px;
    grid-column: span 4;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    overflow: hidden;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--ivory);
    cursor: pointer;
    text-align: left;
    transition:
      transform 220ms ease,
      box-shadow 220ms ease,
      border-color 220ms ease;
  }

  .company-card:nth-child(4),
  .company-card:nth-child(5) {
    grid-column: span 6;
  }

  .company-card:hover {
    z-index: 1;
    border-color: var(--brass);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
  }

  .company-index {
    color: var(--brass);
    font: 400 1.8rem/1 var(--display);
  }

  .company-card .evidence-tag {
    margin-top: 42px;
  }

  .company-card > strong {
    margin-top: 13px;
    font: 400 clamp(1.65rem, 2vw, 2.15rem) / 1.05 var(--display);
  }

  .company-fact {
    display: -webkit-box;
    margin-top: 18px;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .open-note {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .open-note i {
    color: var(--oxblood);
    font: normal 1rem/1 var(--sans);
  }

  .method {
    display: grid;
    min-height: 760px;
    grid-template-columns: 1.04fr 0.96fr;
    color: var(--paper);
    background: var(--forest);
  }

  .method-image {
    position: relative;
    min-height: 620px;
    overflow: hidden;
  }

  .method-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 65%, var(--forest));
    content: '';
  }

  .method-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 57% center;
  }

  .method-copy {
    display: flex;
    max-width: 700px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(64px, 8vw, 118px) clamp(32px, 7vw, 110px) clamp(64px, 8vw, 118px) 40px;
  }

  .section-kicker.light {
    color: var(--brass-pale);
  }

  .method-copy > p:not(.section-kicker) {
    margin-top: 24px;
    color: rgba(243, 234, 217, 0.72);
    line-height: 1.7;
  }

  .method ol {
    margin-top: 36px;
    padding: 0;
    border-top: 1px solid var(--paper-line);
    list-style: none;
  }

  .method li {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--paper-line);
  }

  .method li b {
    color: var(--brass-pale);
    font: 400 1.2rem/1.3 var(--display);
    overflow-wrap: anywhere;
  }

  .method li span {
    color: rgba(243, 234, 217, 0.72);
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .method .button {
    align-self: flex-start;
    margin-top: 34px;
  }

  .risk-ledger {
    max-width: 1320px;
    margin: 0 auto;
    border-top: 1px solid var(--ink);
  }

  .risk-row {
    display: grid;
    grid-template-columns: 70px minmax(180px, 0.75fr) minmax(300px, 1.2fr) minmax(200px, 0.7fr);
    align-items: center;
    gap: 24px;
    min-height: 118px;
    border-bottom: 1px solid var(--line);
  }

  .risk-row > span {
    width: fit-content;
    padding: 5px 8px;
    color: var(--forest);
    border: 1px solid var(--forest);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.1em;
  }

  .risk-high > span {
    color: var(--oxblood);
    border-color: var(--oxblood);
  }

  .risk-row > b {
    font: 400 1.42rem/1.2 var(--display);
  }

  .risk-row p,
  .risk-row small {
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .calendar {
    display: grid;
    max-width: 1450px;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(50px, 9vw, 150px);
    border-top: 1px solid var(--line);
  }

  .calendar-line {
    position: relative;
    padding: 0;
    list-style: none;
  }

  .calendar-line::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 45px;
    width: 1px;
    background: var(--line);
    content: '';
  }

  .calendar-line li {
    position: relative;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 25px;
    padding: 0 0 38px;
  }

  .calendar-line time {
    position: relative;
    z-index: 1;
    width: 90px;
    padding: 9px 4px;
    color: var(--paper);
    background: var(--oxblood);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .calendar-line b,
  .calendar-line span {
    display: block;
  }

  .calendar-line b {
    font: 400 1.35rem/1.25 var(--display);
  }

  .calendar-line span {
    margin-top: 8px;
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .faq {
    display: grid;
    max-width: 1450px;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(50px, 9vw, 150px);
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

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

  .faq-list article {
    border-bottom: 1px solid var(--line);
  }

  .faq-list h3 {
    font: inherit;
  }

  .faq-list button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: 400 1.25rem/1.35 var(--display);
    text-align: left;
  }

  .faq-list button span {
    color: var(--oxblood);
    font: 300 1.5rem/1 var(--sans);
    transition: transform 200ms ease;
  }

  .faq-list button[aria-expanded='true'] span {
    transform: rotate(45deg);
  }

  .faq-list article > div p {
    max-width: 720px;
    padding: 0 44px 24px 0;
    color: var(--ink-soft);
    line-height: 1.65;
  }

  .final-call {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: clamp(70px, 9vw, 128px) clamp(22px, 7vw, 110px);
    color: var(--paper);
    background: var(--oxblood-dark);
  }

  .final-call > div > p:first-child {
    color: var(--brass-pale);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.15em;
  }

  .final-call > div > p:last-child {
    max-width: 650px;
    margin-top: 23px;
    color: rgba(243, 234, 217, 0.7);
    line-height: 1.65;
  }

  footer {
    display: grid;
    grid-template-columns: minmax(230px, 0.48fr) minmax(0, 1.52fr);
    gap: 60px;
    padding: 48px clamp(22px, 6vw, 96px) 90px;
    color: rgba(243, 234, 217, 0.72);
    background: var(--ink);
  }

  .footer-brand {
    align-self: start;
    color: var(--paper);
  }

  .footer-brand small {
    color: rgba(243, 234, 217, 0.5);
  }

  .footer-copy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .footer-copy p {
    font-size: 0.68rem;
    line-height: 1.65;
  }

  .dialog-backdrop {
    position: fixed;
    z-index: 80;
    inset: 0;
    background: rgba(14, 15, 14, 0.68);
    backdrop-filter: blur(4px);
  }

  dialog {
    z-index: 90;
    width: min(720px, calc(100% - 32px));
    max-height: min(820px, calc(100svh - 32px));
    padding: 42px;
    overflow: auto;
    color: var(--ink);
    border: 1px solid var(--brass);
    border-radius: 0;
    background: var(--paper);
    box-shadow: 0 36px 120px rgba(0, 0, 0, 0.34);
  }

  dialog::backdrop {
    background: transparent;
  }

  .dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    font-size: 1.4rem;
  }

  .dialog-kicker {
    padding-right: 42px;
    color: var(--oxblood);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  dialog h2 {
    margin-top: 16px;
    padding-right: 38px;
    font: 400 clamp(2.25rem, 5vw, 4rem) / 0.98 var(--display);
  }

  .dialog-summary,
  .contact-dialog > p:not(.dialog-kicker):not(.contact-status) {
    margin-top: 22px;
    color: var(--ink-soft);
    line-height: 1.65;
  }

  .note-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 28px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .note-grid > div {
    min-height: 150px;
    padding: 22px;
    background: var(--ivory);
  }

  .note-grid dt {
    color: var(--oxblood);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .note-grid dd {
    margin-top: 12px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .dialog-action {
    width: 100%;
    margin-top: 26px;
  }

  .contact-dialog {
    width: min(520px, calc(100% - 32px));
    text-align: center;
  }

  .contact-dialog .dialog-kicker,
  .contact-dialog h2 {
    padding-right: 0;
  }

  .contact-dialog img {
    width: 170px;
    height: 170px;
    margin: 24px auto;
  }

  .contact-dialog .button {
    margin-top: 28px;
  }

  .contact-status {
    margin-top: 14px;
    color: #74736c;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .floating-cta {
    position: fixed;
    z-index: 40;
    right: 24px;
    bottom: 24px;
    display: flex;
    min-width: 255px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 14px 18px;
    color: var(--paper);
    border: 1px solid var(--brass);
    background: var(--oxblood);
    box-shadow: 0 18px 50px rgba(40, 18, 20, 0.28);
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .floating-cta span {
    color: var(--brass-pale);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .floating-cta b {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
  }
}

@layer responsive {
  @media (max-width: 980px) {
    .masthead {
      grid-template-columns: 1fr auto;
    }

    .masthead nav {
      display: none;
    }

    .hero {
      grid-template-columns: 1fr;
    }

    .hero-copy {
      max-width: none;
      min-height: 640px;
    }

    .hero-art {
      min-height: 640px;
    }

    .section-heading,
    .calendar,
    .faq {
      grid-template-columns: 1fr;
    }

    .signal-grid {
      grid-template-columns: 1fr;
    }

    .signal-card {
      min-height: 320px;
    }

    .method {
      grid-template-columns: 1fr;
    }

    .method-image {
      min-height: 540px;
    }

    .method-image::after {
      background: linear-gradient(0deg, var(--forest), transparent 35%);
    }

    .method-copy {
      max-width: none;
      padding: 56px clamp(22px, 7vw, 74px) 80px;
    }

    .risk-row {
      grid-template-columns: 60px minmax(180px, 0.65fr) minmax(260px, 1fr);
      padding: 24px 0;
    }

    .risk-row small {
      grid-column: 2 / -1;
    }

    .footer-copy {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 700px) {
    .edition-bar {
      min-height: 36px;
      justify-content: center;
      font-size: 0.58rem;
      text-align: center;
    }

    .edition-bar span:first-child,
    .edition-bar span:nth-child(2) {
      display: none;
    }

    .masthead {
      min-height: 74px;
      grid-template-columns: minmax(0, 1fr);
      padding: 12px 16px;
    }

    .brand-mark {
      width: 38px;
      height: 38px;
    }

    .brand b {
      font-size: 0.78rem;
    }

    .brand small {
      font-size: 0.56rem;
    }

    .header-cta {
      display: none;
    }

    .hero {
      min-height: auto;
    }

    .hero-copy {
      min-height: 0;
      padding: 58px 20px 46px;
    }

    .hero h1 {
      margin-top: 20px;
      font-size: clamp(3.1rem, 15vw, 4.6rem);
    }

    .hero-lede {
      margin-top: 24px;
      font-size: 0.96rem;
      line-height: 1.65;
    }

    .hero-actions {
      align-items: stretch;
      flex-direction: column;
      gap: 20px;
      margin-top: 30px;
    }

    .hero-actions .button {
      width: 100%;
    }

    .text-link {
      text-align: center;
    }

    .hero-standards {
      gap: 12px;
      margin-top: 32px;
    }

    .hero-art {
      min-height: 470px;
    }

    .hero-art img {
      object-position: 65% center;
    }

    .hero-stamp {
      right: 18px;
      bottom: 18px;
      width: 90px;
      height: 90px;
    }

    .hero-stamp b {
      font-size: 2rem;
    }

    .market-tape {
      overflow: hidden;
      touch-action: pan-y;
    }

    .tape-toggle {
      right: 8px;
      display: inline-flex;
      min-width: 72px;
      min-height: 34px;
      padding: 7px 9px;
      font-size: 0.56rem;
    }

    .tape-track {
      animation: tape-scroll 42s linear infinite;
    }

    .tape-item {
      min-width: 220px;
      padding: 14px 20px;
    }

    .section-shell {
      padding: 72px 18px;
    }

    .section-heading {
      gap: 26px;
      margin-bottom: 38px;
    }

    .section-heading h2,
    .calendar h2,
    .faq h2,
    .final-call h2,
    .method h2 {
      font-size: clamp(2rem, 13vw, 4rem);
    }

    .signal-card {
      min-height: 0;
      padding: 28px;
    }

    .signal-no {
      margin-bottom: 46px;
    }

    .signal-card small {
      position: static;
      display: block;
      max-width: none;
      margin-top: 24px;
      padding-right: 48px;
    }

    .watchlist-grid {
      display: grid;
      grid-template-columns: 1fr;
      margin: 0;
      padding: 0;
      overflow: visible;
    }

    .company-card,
    .company-card:nth-child(4),
    .company-card:nth-child(5) {
      min-width: 0;
      min-height: 0;
      grid-column: auto;
    }

    .method-image {
      min-height: 420px;
    }

    .method-image img {
      object-position: 66% center;
    }

    .method-copy {
      padding: 48px 20px 70px;
    }

    .method li {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .risk-row {
      grid-template-columns: max-content minmax(0, 1fr);
      gap: 14px;
    }

    .risk-row p,
    .risk-row small {
      grid-column: 2;
    }

    .calendar-line::before {
      left: 39px;
    }

    .calendar-line li {
      grid-template-columns: 78px 1fr;
      gap: 18px;
    }

    .calendar-line time {
      width: 78px;
    }

    .faq-list button {
      font-size: 1.1rem;
    }

    .final-call {
      align-items: stretch;
      flex-direction: column;
      padding: 70px 20px;
    }

    footer {
      grid-template-columns: 1fr;
      gap: 36px;
      padding: 42px 20px 110px;
    }

    dialog,
    .contact-dialog {
      width: 100%;
      max-width: none;
      max-height: min(86svh, 840px);
      margin: auto 0 0;
      padding: 36px 20px 28px;
      border-width: 1px 0 0;
    }

    .note-grid {
      grid-template-columns: 1fr;
    }

    .note-grid > div {
      min-height: auto;
    }

    .floating-cta {
      right: 12px;
      bottom: 12px;
      left: 12px;
      min-width: 0;
      align-items: center;
      padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }
  }

  @media (max-width: 360px) {
    .brand small {
      display: none;
    }

    .header-cta {
      padding-inline: 10px;
    }

    .hero-copy {
      padding-inline: 16px;
    }

    .hero h1 {
      font-size: 3rem;
    }
  }

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

    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    [data-reveal] {
      opacity: 1;
      transform: none;
    }
  }

  @media (forced-colors: active) {
    .button,
    .company-card,
    dialog {
      border: 1px solid ButtonText;
    }
  }
}
