/* Tremaux website: the page around the components. Tremaux Brand tokens only.
   Layout: a centred hero over the live app, then pinned scenes and lit statements on the stage,
   one paper section where the value is counted, the films, and the call to action. */

/* No smooth scrolling here: a page opening on a #part goes straight there. Links to a part of the page already open
   scroll smoothly from proposal.js, unless the visitor has asked for less motion. */
html { scroll-padding-top: var(--web-nav); }
body { background: var(--ground); color: var(--text); }
.tb-nav { top: env(safe-area-inset-top, 0px); }
.st-main { overflow-x: clip; }

/* Hero */
.st-hero { padding-block: clamp(32px, 3.5vw, 56px) clamp(64px, 9vw, 128px); }
.st-hero .tb-h-hero .tb-eyebrow { color: var(--text-2); font-size: 17px; letter-spacing: 0; }
.st-hero .tb-lede { max-width: 33em; }
.st-hero-frame { margin-top: clamp(40px, 4.5vw, 64px); padding-inline: var(--web-gutter); }

/* Lit statements between scenes */
.st-statement { padding-block: clamp(120px, 20vw, 260px); background: var(--ground); }

/* Where it pays */
.st-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.st-vs > div { padding: var(--space-4); border-radius: var(--radius-tile); background: var(--ground-2); }
.st-vs h3 { margin: 0 0 var(--space-1); font-size: 17px; font-weight: 600; color: var(--text-2); }
.st-vs > div:last-child h3 { color: var(--text); }
.st-vs p { margin: 0; font-size: var(--fluid-lead); line-height: 1.4; font-weight: 500; letter-spacing: -.015em; color: var(--text-2); text-wrap: pretty; }
.st-vs > div:last-child p { color: var(--text); }
.st-impact { display: flex; flex-direction: column; }
.st-row { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(110px, .6fr); gap: var(--space-3); padding: var(--space-2) 0; box-shadow: inset 0 1px 0 var(--line); font-size: 17px; line-height: 1.45; }
.st-row.st-head { padding-bottom: var(--space-1); box-shadow: none; font-size: 14px; font-weight: 500; color: var(--text-2); }
.st-row b { font-weight: 600; }
.st-row .st-today, .st-row .st-from { color: var(--text-2); }
.st-row .st-from { font-size: 14px; }
.st-k { display: none; font-size: 13px; font-weight: 500; color: var(--text-2); }

/* The films */
.st-films .tb-headline { margin-bottom: var(--space-6); }

/* Yours */
.st-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.st-point { padding-top: var(--space-2); box-shadow: inset 0 1px 0 var(--line); }
.st-point h3 { margin: 0 0 var(--space-1); font-size: var(--fluid-title); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.st-point p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 26em; }
.st-not { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1); }
.st-not li { padding: 10px 18px; border-radius: var(--radius-chip); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--text-2); }

/* Apply */
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.st-steps li { display: flex; flex-direction: column; gap: var(--space-1); padding-top: var(--space-2); box-shadow: inset 0 1px 0 var(--line); }
.st-steps b { font-size: 15px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.st-steps span { font-size: var(--fluid-title); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.st-contact { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-tile); background: var(--ground-2); }
.st-contact-k { margin: 0 0 var(--space-1); max-width: 34em; font-size: 17px; color: var(--text-2); }
.st-email { margin: 0; font-size: var(--fluid-headline); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; user-select: all; overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .st-vs, .st-points { grid-template-columns: minmax(0, 1fr); }
  .st-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .st-row.st-head { display: none; }
  .st-k { display: block; margin-top: var(--space-1); }
}
@media (max-width: 640px) {
  .st-steps { grid-template-columns: minmax(0, 1fr); }
  .st-contact { padding: var(--space-3); }
}
