/* Thread Content homepage. A faithful port of the Claude Design page of 2026-11-23:
   the same 24-column grid, the same grid areas (kept as data-b attributes so the
   design's mobile overrides apply verbatim), no framework and no script beyond the
   menu close handler in menu.js. Colours and type come from the design. */
:root { --accent: #ef4a1f; --paper: #f6f3ed; --ink: #171514; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Archivo, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--paper); }
.page { background: var(--paper); overflow-x: hidden; }

/* The design's grid: 24 columns of at most 1500px between 4vw gutters, rows of
   --rh = 2.15% of the content width. Each section sets its own --gap and row count. */
.fe {
  --cw: min(1500px, calc(100vw - 8vw));
  --rh: calc(var(--cw) * 0.0215);
  display: grid;
  grid-template-columns: minmax(calc(4vw - var(--gap)), 1fr) repeat(24, minmax(0, calc((1500px - var(--gap) * 23) / 24))) minmax(calc(4vw - var(--gap)), 1fr);
}

/* Buttons. */
.btn { display: block; text-align: center; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; font-size: clamp(13px, 0.94vw, 24px); padding: clamp(17px, 1.6vw, 40px) 10px; width: 100%; }
.btn-fill { background: var(--accent); color: var(--paper); }
.btn-fill:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { border: 1px solid rgba(246, 243, 237, 0.85); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }

/* Header. */
.hd { position: relative; z-index: 60; background: var(--paper); color: var(--ink); }
.hd-in { padding: clamp(22px, 2vw, 50px) 4vw; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { font-size: clamp(24px, 3.25vw, 84px); line-height: 0.82; letter-spacing: -0.025em; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.hd-r { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 38px); font-size: clamp(13px, 1.05vw, 16px); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; }
.nav a { white-space: nowrap; }
.lang { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }
.lang i { display: inline-block; width: 17px; height: 17px; border: 1px solid var(--ink); border-radius: 50%; }
.lang small { font-size: 10px; }
.burger { display: none; flex-direction: column; gap: 6px; width: 26px; padding: 6px 0; border: 0; background: none; cursor: pointer; }
.burger span { display: block; height: 1px; background: var(--ink); }
.hd .btn-demo { flex: 0 0 auto; display: inline-block; width: auto; background: var(--accent); color: var(--paper); padding: clamp(16px, 1.4vw, 34px) clamp(18px, 2vw, 50px); font-size: clamp(13px, 1.1vw, 19px); font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.hd .btn-demo:hover { background: var(--ink); color: var(--paper); }

/* 01 Hero. */
.hero { --gap: 0px; position: relative; min-height: min(78vh, 620px); align-content: end; grid-template-rows: repeat(15, minmax(var(--rh), auto)); }
.hero-img { position: absolute; inset: 0; overflow: hidden; }
.hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: rgba(23, 21, 20, 0.15); pointer-events: none; }
.hero h1 { grid-area: 11 / 1 / 15 / 27; margin: 0; padding: 0 4vw; align-self: end; position: relative; pointer-events: none; color: var(--paper); font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 9.4vw; line-height: 0.92; letter-spacing: 0.005em; text-transform: uppercase; white-space: nowrap; }

/* 02 Marquee. */
.mq { --gap: 11px; background: var(--accent); grid-template-rows: repeat(1, minmax(var(--rh), auto)); }
.mq-in { grid-area: 1 / 1 / 2 / 27; overflow: hidden; white-space: nowrap; display: flex; align-items: center; padding: clamp(9px, 0.85vw, 22px) 0; }
.mq-track { display: inline-flex; animation: tc-marquee 38s linear infinite; font-size: clamp(18px, 1.4vw, 36px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); }
.mq-track > span { display: inline-flex; gap: clamp(40px, 7vw, 104px); padding-right: clamp(40px, 7vw, 104px); }
@keyframes tc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } html { scroll-behavior: auto; } }

/* 03 Statement. */
.st { --gap: 0px; background: var(--ink); color: var(--paper); min-height: min(62vh, 520px); align-content: center; grid-template-rows: repeat(11, minmax(var(--rh), auto)); }
.st-k { grid-area: 1 / 4 / 2 / 24; margin: 0; align-self: center; text-align: center; font-size: clamp(14px, 1.3vw, 22px); font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; color: color-mix(in oklab, var(--accent) 50%, #f6f3ed); }
.st-q { grid-area: 3 / 3 / 6 / 25; margin: 0; align-self: start; text-align: center; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(26px, 2.8vw, 72px); line-height: 1.16; letter-spacing: -0.005em; }
.st-q em { font-style: italic; }
.st-cta { grid-area: 9 / 11 / 11 / 17; display: flex; align-items: center; justify-content: center; }

/* 04 Two-up. */
.tu { --gap: 12px; background: var(--paper); row-gap: 12px; column-gap: 12px; grid-template-rows: repeat(36, minmax(var(--rh), auto)); }
.tu h2 { grid-area: 3 / 12 / 16 / 27; margin: 0; align-self: start; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: min(8.6vw, 190px); line-height: 0.9; letter-spacing: 0.005em; text-transform: uppercase; }
.tu h2 span { display: block; }
.tu-img1 { grid-area: 15 / 2 / 29 / 10; position: relative; aspect-ratio: 1 / 1.1079; align-self: center; }
.tu-h3a { grid-area: 29 / 2 / 33 / 10; }
.tu-pa { grid-area: 33 / 2 / 36 / 10; }
.tu-cta { grid-area: 22 / 11 / 24 / 17; display: flex; align-items: center; justify-content: center; }
.tu-img2 { grid-area: 18 / 18 / 31 / 26; position: relative; aspect-ratio: 1 / 0.8831; align-self: center; }
.tu-h3b { grid-area: 31 / 18 / 35 / 26; }
.tu-pb { grid-area: 35 / 18 / 37 / 26; }
.tu h3 { margin: 0; align-self: start; font-size: clamp(24px, 2.5vw, 46px); line-height: 1.1; letter-spacing: -0.01em; font-weight: 600; text-transform: uppercase; }
.tu p { margin: 0; align-self: start; font-family: Newsreader, Georgia, serif; font-size: clamp(16px, 1.4vw, 24px); line-height: 1.5; }
.tu p em { font-style: italic; }

/* Image slots the design left for editorial photography. */
.slot { position: absolute; inset: 0; background: #e6e0d4; }

/* 07 Closing CTA. */
.cta { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 170px) 4vw clamp(72px, 9vw, 150px); text-align: center; }
.cta h2 { margin: 0; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: min(8.6vw, 190px); line-height: 0.94; letter-spacing: 0.005em; text-transform: uppercase; }
.steps { margin: clamp(40px, 5vw, 72px) auto 0; max-width: 1160px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; text-align: left; }
.step { display: flex; align-items: center; gap: 16px; font-size: clamp(16px, 1.4vw, 24px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--paper); }
.step b { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(246, 243, 237, 0.5); font-weight: 400; }
.cta .btn { display: inline-block; width: auto; margin-top: clamp(36px, 4.5vw, 64px); padding: clamp(17px, 1.6vw, 40px) clamp(40px, 3.5vw, 90px); }

/* 05 Newsroom. */
.nr { --gap: 11px; background: var(--paper); padding-bottom: calc(var(--rh) * 3); row-gap: 11px; column-gap: 11px; grid-template-rows: repeat(4, minmax(var(--rh), auto)); }
.nr h2 { grid-area: 1 / 2 / 3 / 8; margin: 0; align-self: end; font-family: Newsreader, Georgia, serif; font-weight: 400; font-style: italic; font-size: clamp(21px, 2vw, 34px); line-height: 1.2; letter-spacing: -0.01em; }
.nr-rule { grid-area: 3 / 2 / 4 / 26; align-self: start; height: 1px; background: var(--ink); }
.nr-body { grid-area: 4 / 2 / 5 / 26; padding-top: calc(var(--rh) * 2); }
.nr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: calc(var(--rh) * 2) 24px; }
.nr article[data-stagger="1"] { margin-top: calc(var(--rh) * 4); }
.nr-img { display: block; position: relative; width: 100%; aspect-ratio: 1 / 1.05; }
.nr-t { display: block; margin-top: 26px; font-size: clamp(19px, 1.75vw, 31px); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; text-transform: uppercase; }
.nr time { display: block; margin: 28px 0 0; font-size: clamp(14px, 1.15vw, 19px); letter-spacing: 0.01em; color: rgba(23, 21, 20, 0.6); }

/* 06 Footer. */
.ft { --gap: 11px; background: var(--paper); row-gap: 11px; column-gap: 11px; grid-template-rows: repeat(9, minmax(var(--rh), auto)); }
.ft-logo { grid-area: 2 / 2 / 8 / 11; display: flex; align-items: center; }
.ft-logo p { margin: 0; font-size: min(calc(var(--cw) * 0.072), 108px); line-height: 0.88; letter-spacing: -0.03em; font-weight: 700; text-transform: uppercase; }
.ft-nav { grid-area: 2 / 21 / 8 / 25; display: flex; flex-direction: column; justify-content: center; gap: 18px; font-size: clamp(14px, 1.15vw, 19px); font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; }
.ft-nav a { text-decoration: underline; text-underline-offset: 4px; }
.ft-soc { grid-area: 9 / 21 / 10 / 25; display: flex; align-items: center; justify-content: flex-end; gap: 20px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }

/* Mobile menu: a checkbox the burger and the close button toggle; menu.js unchecks
   it when a link inside is followed. No script is needed to open or close it. */
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.menu { position: fixed; inset: 0; z-index: 80; background: var(--paper); display: none; flex-direction: column; }
.menu-toggle:checked ~ .menu { display: flex; }
.menu-hd { padding: clamp(22px, 2vw, 50px) 4vw; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.menu-logo { font-size: 22px; line-height: 0.9; letter-spacing: -0.01em; font-weight: 700; text-transform: uppercase; }
.menu-x { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.menu nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 4vw; font-size: clamp(28px, 6.5vw, 60px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.menu-ft { padding: 0 4vw 40px; display: flex; flex-direction: column; gap: 18px; }
.menu-ft small { font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: rgba(23, 21, 20, 0.6); }
.menu-ft .btn { padding: 18px 24px; font-size: 13px; }

/* The design's responsive overrides, verbatim: an 8-column grid under 768px and the
   grid areas re-flowed per block. */
@media (max-width: 767px) {
  [data-fe] {
    --gutter: calc(6vw - var(--gap));
    --cell: calc((1500px - var(--gap) * 7) / 8);
    grid-template-columns: minmax(var(--gutter), 1fr) repeat(8, minmax(0, var(--cell))) minmax(var(--gutter), 1fr) !important;
  }
  [data-fe="1"] { grid-template-rows: repeat(25, minmax(24px, auto)) !important; }
  [data-fe="2"] { grid-template-rows: repeat(2, minmax(24px, auto)) !important; }
  [data-fe="3"] { grid-template-rows: repeat(25, minmax(24px, auto)) !important; }
  [data-fe="4"] { grid-template-rows: repeat(58, minmax(24px, auto)) !important; }
  [data-fe="5"] { grid-template-rows: repeat(48, minmax(24px, auto)) !important; }
  [data-fe="6"] { grid-template-rows: repeat(15, minmax(24px, auto)) !important; }
  [data-b="s1a"] { grid-area: 19/2/25/10 !important; }
  [data-b="s2a"] { grid-area: 1/1/3/11 !important; }
  [data-b="s3a"] { grid-area: 1/2/2/10 !important; }
  [data-b="s3b"] { grid-area: 2/2/21/10 !important; }
  [data-b="s3c"] { grid-area: 22/2/24/10 !important; }
  [data-b="s4a"] { grid-area: 3/2/11/10 !important; }
  [data-b="s4b"] { grid-area: 11/2/26/10 !important; }
  [data-b="s4c"] { grid-area: 27/2/31/10 !important; }
  [data-b="s4d"] { grid-area: 31/2/35/10 !important; }
  [data-b="s4e"] { grid-area: 35/2/37/10 !important; }
  [data-b="s4f"] { grid-area: 38/2/50/10 !important; }
  [data-b="s4g"] { grid-area: 50/2/54/10 !important; }
  [data-b="s4h"] { grid-area: 54/2/56/10 !important; }
  [data-b="s5a"] { grid-area: 1/2/2/7 !important; }
  [data-b="s5b"] { grid-area: 2/2/3/10 !important; }
  [data-b="s5c"] { grid-area: 3/2/49/10 !important; }
  [data-b="s6a"] { grid-area: 2/2/7/10 !important; }
  [data-b="s6b"] { grid-area: 8/2/12/7 !important; }
  [data-b="s6c"] { grid-area: 13/2/15/10 !important; }
  [data-stagger] { margin-top: 0 !important; }
}
@media (max-width: 980px) {
  .nav, .lang { display: none !important; }
  .burger { display: flex !important; }
}
