/* Kukua Foundation component stylesheet. Colours, spacing, radii, shadows, line weights and the
   two font families live in tokens.json (tokens.css); the values below are the ones tokens.json
   cannot hold: fluid sizes, weights, leading, tracking, motion and overlays. */
:root{
  /* Weights: IvyOra Medium for headlines; Avenir/Figtree Heavy for buttons */
  --weight-display:500;
  --weight-body:400;
  --weight-medium:500;
  --weight-heavy:700;

  /* Display scale (serif), fluid */
  --text-hero:clamp(2.75rem,6vw,5.25rem);   /* 44 to 84 */
  --text-d1:clamp(2.25rem,4.4vw,3.75rem);   /* 36 to 60 */
  --text-d2:clamp(1.875rem,3vw,2.75rem);    /* 30 to 44 */
  --text-d3:1.625rem;                       /* 26 */
  --text-numeral:clamp(3rem,7vw,6rem);      /* the big "01" numeral */

  /* Sans scale */
  --text-lead:1.25rem;      /* 20 */
  --text-base:1.0625rem;    /* 17 body */
  --text-sm:0.9375rem;      /* 15 */
  --text-xs:0.8125rem;      /* 13 annotation */
  --text-eyebrow:0.75rem;   /* 12 all-caps label */

  /* Line heights */
  --leading-display:1.08;
  --leading-title:1.18;
  --leading-body:1.65;
  --leading-tight:1.35;

  /* Tracking */
  --tracking-display:-0.01em;
  --tracking-body:0;
  --tracking-caps:0.16em;
  --tracking-caps-wide:0.28em;

  /* Fluid section rhythm and layout */
  --section-y:clamp(64px,9vw,128px);
  --section-y-tight:clamp(48px,6vw,80px);
  --container-pad:clamp(20px,5vw,64px);
  --grid-gap:clamp(24px,3vw,48px);

  /* Motion: restrained and editorial */
  --ease-brand:cubic-bezier(.22,.61,.36,1);
  --dur-fast:140ms;
  --dur-base:260ms;
  --dur-slow:520ms;

  /* Overlays */
  --scrim-photo:linear-gradient(to top,rgba(26,26,26,.62) 0%,rgba(26,26,26,0) 62%);
  --blur-glass:blur(10px);
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--surface-page);color:var(--text-body);font-family:var(--font-sans);font-size:var(--text-base);font-weight:var(--weight-body);line-height:var(--leading-body);-webkit-font-smoothing:antialiased;text-wrap:pretty}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:var(--weight-display);color:var(--text-heading);line-height:var(--leading-title);letter-spacing:var(--tracking-display);margin:0}
h1{font-size:var(--text-hero);line-height:var(--leading-display)}
h2{font-size:var(--text-d1)}
h3{font-size:var(--text-d2)}
h4{font-size:var(--text-d3)}
p{margin:0}
a{color:var(--text-link);text-decoration:none;border-bottom:1px solid currentColor;transition:color var(--dur-fast) var(--ease-brand)}
a:hover{color:var(--text-link-hover)}
img{display:block;max-width:100%}
::selection{background:var(--kf-glow-300);color:var(--kf-ink)}
.kf-eyebrow{font-family:var(--font-sans);font-size:var(--text-eyebrow);font-weight:var(--weight-heavy);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--kf-glow)}
.kf-container{max-width:var(--container-max);margin:0 auto;padding-inline:var(--container-pad)}
.kf-edge-bar{height:var(--edge-bar);background:var(--rule-band)}

:where(a,button,input,textarea,select,[tabindex]):focus-visible{outline:var(--border-width-strong) solid var(--kf-glow);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:0s!important;animation-duration:0s!important}}
