/* Fluid type classes. Every size is a clamp() driven off the viewport —
   including the mono micro-labels below, which used to be fixed px.
   --type-label-10/-12/-13 hold their original size up to a 1440px
   viewport, then grow linearly to +20% of that size by a 3840px ceiling.
   --type-label (11px) instead rises continuously across the whole range
   (Layout round 3 item 7: 11px at 390, 12px at 1440, 14.3px at 3840) —
   it no longer follows the other three's flat-then-rise shape.
   Round 6 item 2: the display, heading, statement and quote tokens keep
   their exact pre-1440 line, then grow along a gentler second line to +20%
   of their 1440 value at 2560 and stop there:
   clamp(min, min(original line, gentle line), value at 2560). The gentle
   line runs through (1440, V) and (2560, 1.2V). --type-heading-3 is the
   exception and uses max() instead of min(): its original line is
   shallower than its +20% line, so min() would have shrunk it below 1440.
   --type-statement also has a new base, 20px at 390 and 33px at 1440
   (was 22/39). Body, lead, small, label and mono are unchanged. */
:root{
  --type-display-1:clamp(3.25rem,min(calc(1.6rem + 7.2vw),calc(6.0023rem + 2.3086vw)),9.696rem);
  --type-display-2:clamp(2.5rem,min(calc(1.5rem + 4.4vw),calc(4.056rem + 1.56vw)),6.552rem);
  --type-display-3:clamp(2rem,min(calc(1.35rem + 2.8vw),calc(2.8749rem + 1.1057vw)),4.644rem);
  --type-heading-1:clamp(1.65rem,min(calc(1.25rem + 1.7vw),calc(2.0651rem + 0.7943vw)),3.336rem);
  --type-heading-2:clamp(1.35rem,min(calc(1.15rem + 0.85vw),calc(1.4226rem + 0.5471vw)),2.298rem);
  --type-heading-3:clamp(1.125rem,max(calc(1.05rem + 0.35vw),calc(1.014rem + 0.39vw)),1.638rem);
  --type-body-lead:clamp(1.0625rem,calc(0.98rem + 0.45vw),2.0625rem);
  --type-body:clamp(0.9375rem,calc(0.91rem + 0.16vw),1.3125rem);
  --type-body-small:clamp(0.8125rem,calc(0.8rem + 0.1vw),1.0625rem);
  --type-quote:clamp(1.25rem,min(calc(1rem + 1.05vw),calc(1.4449rem + 0.5557vw)),2.334rem);
  --type-statement:clamp(1.25rem,min(calc(0.9482rem + 1.2381vw),calc(1.5321rem + 0.5893vw)),2.475rem);
  --type-label-10:clamp(0.625rem,calc(0.55rem + 0.0833vw),0.75rem);
  --type-label:clamp(0.6875rem,calc(0.664rem + 0.0952vw),0.894rem);
  --type-label-12:clamp(0.75rem,calc(0.66rem + 0.1vw),0.9rem);
  --type-label-13:clamp(0.8125rem,calc(0.715rem + 0.1083vw),0.975rem);
  --type-mono-data:clamp(0.8125rem,calc(0.78rem + 0.16vw),1.1875rem);

  --leading-tight:0.94;
  --leading-snug:1.08;
  --leading-normal:1.5;
  --leading-relaxed:1.62;
  --tracking-display:-0.035em;
  --tracking-heading:-0.02em;
  --tracking-normal:0;
  --tracking-label:0.16em;
  --weight-light:300;
  --weight-regular:400;
  --weight-medium:500;
  --weight-bold:700;
}

.lf-display-1,.lf-display-2,.lf-display-3{font-family:var(--font-core);font-weight:var(--weight-medium);line-height:var(--leading-tight);letter-spacing:var(--tracking-display);margin:0;text-wrap:balance}
.lf-display-1{font-size:var(--type-display-1)}
.lf-display-2{font-size:var(--type-display-2)}
.lf-display-3{font-size:var(--type-display-3);line-height:var(--leading-snug)}
.lf-heading-1,.lf-heading-2,.lf-heading-3{font-family:var(--font-core);font-weight:var(--weight-medium);line-height:var(--leading-snug);letter-spacing:var(--tracking-heading);margin:0;text-wrap:balance}
.lf-heading-1{font-size:var(--type-heading-1)}
.lf-heading-2{font-size:var(--type-heading-2)}
.lf-heading-3{font-size:var(--type-heading-3);letter-spacing:-0.01em}
.lf-body-lead{font-family:var(--font-core);font-size:var(--type-body-lead);font-weight:var(--weight-light);line-height:var(--leading-normal);letter-spacing:-0.008em;margin:0;text-wrap:pretty}
.lf-body{font-family:var(--font-core);font-size:var(--type-body);font-weight:var(--weight-regular);line-height:var(--leading-relaxed);margin:0;text-wrap:pretty}
.lf-body-small{font-family:var(--font-core);font-size:var(--type-body-small);font-weight:var(--weight-regular);line-height:var(--leading-normal);margin:0}
.lf-quote{font-family:var(--font-core);font-size:var(--type-quote);font-weight:var(--weight-medium);line-height:1.2;letter-spacing:var(--tracking-heading);margin:0;text-wrap:pretty}
/* Statement: the opening paragraph that carries a section on its own. Light
   weight, display-adjacent size, set centred or to a wide measure. */
.lf-statement{font-family:var(--font-core);font-size:var(--type-statement);font-weight:var(--weight-light);line-height:1.22;letter-spacing:-0.02em;margin:0;text-wrap:pretty}
.lf-label{font-family:var(--font-mono);font-size:var(--type-label);font-weight:var(--weight-bold);line-height:1;letter-spacing:var(--tracking-label);text-transform:uppercase;margin:0}
.lf-mono{font-family:var(--font-mono);font-size:var(--type-mono-data);font-weight:var(--weight-regular);line-height:1.45;font-variant-numeric:tabular-nums;margin:0}
