/* Design tokens mirrored from the Webflow variable set. */

:root {
  --primary: #e5192a;
  --black: #0d0d0d;
  --stroke: #333;
  --black-300: rgba(38, 38, 38, .3);
  --white: #fff;
  --white-100: rgba(255, 255, 255, .1);
  --white-400: rgba(255, 255, 255, .4);
  --white-800: rgba(255, 255, 255, .8);
  --grey: grey;
  --border-1: rgba(255, 255, 255, .5);

  /* --white-400 and --primary both fall under 4.5:1 on --black, so they are
     kept for fills and decoration only. Small text uses these instead. */
  --text-muted: rgba(255, 255, 255, .62);   /* 7.70:1 */
  --primary-text: #e93544;                  /* 4.68:1 */

  /* --white on --primary (the .btn fill, layout.css) is ~4.66:1 — passes AA
     for normal text but with almost no headroom. Don't darken --primary or
     override .btn label color without rechecking this. */

  --font-body: "Clash Display", "Arial Narrow", system-ui, sans-serif;
  --font-secondary: "Inter Tight", system-ui, -apple-system, sans-serif;

  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;

  --lh-s: 100%;
  --lh-m: 120%;
  --lh-l: 132%;
  --lh-xl: 140%;
  --lh-2xl: 160%;

  --container-pad: 15px;
  --container-max: 1240px;

  /* Webflow held discrete values per breakpoint. clamp() interpolates the
     same endpoints so nothing jumps at a breakpoint edge. */
  --sp-small: clamp(20px, 1rem + 4vw, 90px);
  --sp-large: clamp(40px, 2rem + 8vw, 180px);

  --h1: clamp(43px, 1.5rem + 9vw, 204px);
  --h2: clamp(30px, 1.2rem + 5vw, 92px);
  --h3: clamp(24px, 1.1rem + 1.6vw, 46px);
  --h4: clamp(14px, .7rem + 1.1vw, 36px);
  --h5: clamp(17px, .9rem + .8vw, 32px);
  --h6: clamp(15px, .85rem + .5vw, 24px);
  --p1: clamp(16px, .95rem + .25vw, 20px);
  --p2: clamp(15px, .92rem + .1vw, 16px);
  --btn-text: 18px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .8s;
  --dur-fast: .3s;

  --radius-pill: 999px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 6px;
}

/* Self-hosted. Clash Display ships as .otf from the brand's own asset host;
   Inter Tight is the Google Fonts variable cut, so one file covers 400-500. */
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/ClashDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/ClashDisplay-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/ClashDisplay-Semibold.otf") format("opentype");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/InterTight-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/InterTight-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Keeps anchored sections clear of the fixed navbar on click-scroll. */
[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: var(--p2);
  line-height: var(--lh-xl);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--w-semibold);
  line-height: var(--lh-s);
  letter-spacing: -.02em;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }

p { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

::selection { background: var(--primary); color: var(--white); }

.container {
  z-index: 111;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: max(var(--container-pad), 5vw);
}

/* --sp-large is the section rhythm. Without it every band sat flush against
   its neighbour, which is what made the page read as a stack of blocks
   rather than a composition. (The old background-color here pointed at
   --dark-shade--black, a Webflow variable that was never carried over, so it
   resolved to nothing.) */
.section {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-large);
  overflow: hidden;
}

/* Consecutive .sections would otherwise stack a full rhythm from each. */
.section + .section { padding-top: 0; }

.section--tight { padding-block: var(--sp-small); }

.p1 { font-size: var(--p1); line-height: var(--lh-xl); }
.p2 { font-size: var(--p2); line-height: var(--lh-xl); color: var(--white-800); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--h6);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white-800);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 15px;
  z-index: 101;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 15px; }
