@font-face { font-family: 'Calibre'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/CalibreWeb-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Calibre'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/CalibreWeb-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Calibre'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/CalibreWeb-Semibold.woff2') format('woff2'); }
@font-face { font-family: 'Calibre'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/CalibreWeb-Bold.woff2') format('woff2'); }

:root {
  font-size: 62.5%;
  --color-font: #fff;
  --color-dark: #1a1a1a;
  --color-gray: #999;
  --color-light: #d8d8d8;
  --color-primary: #cb0039;
  --color-primary-light: #ff7ea3;
  --color-background: #1b1b1b;
  --color-background-black: #141414;
  --color-background-gray: #333;
  --color-background-gray-dark: #2c2c2c;
  --copy-size: clamp(1.6rem, 1.4rem + 0.4vw, 2rem);
  --h1-size: clamp(4.4rem, 2.6rem + 5vw, 9.6rem);
  --h2-size: clamp(2.8rem, 2rem + 2.4vw, 5.2rem);
  --gutter: clamp(2rem, 1rem + 3vw, 5rem);
  --page-width: 129rem;
  --font-family: 'Calibre', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; outline-color: var(--color-primary); }
html, body { background: var(--color-background); }
html { overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--copy-size);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-font);
  text-size-adjust: 100%;
}
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
sup.fn, .fn { color: var(--color-primary); font-weight: 600; text-decoration: none; }
a.fn:hover { color: var(--color-primary-light); }

.container { width: 100%; max-width: calc(var(--page-width) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Notification bar */
.bar {
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(5rem, 4.6rem + 1vw, 6rem);
  padding: 1rem var(--gutter);
  background: var(--color-primary);
  text-align: center; text-transform: uppercase;
  font-size: clamp(1.3rem, 1.2rem + 0.3vw, 1.5rem);
  font-weight: 600; letter-spacing: 0.1em; line-height: 1.2;
}

/* Header */
.header { display: flex; align-items: center; justify-content: space-between; height: clamp(8rem, 6rem + 4vw, 11.5rem); }
.header__logo { display: block; width: clamp(5.5rem, 4rem + 3vw, 8rem); color: #fff; }
.header__logo svg { display: block; width: 100%; height: auto; }
.header__meta { font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.4rem); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gray); }

/* Tagline */
.tagline { display: flex; align-items: center; gap: 2rem; margin-bottom: 2rem; font-size: clamp(1.6rem, 1.4rem + 0.5vw, 2.2rem); font-weight: 500; }
.tagline::before { content: ''; flex: none; width: 4rem; height: 0.2rem; background: var(--color-font); }

/* Hero */
.hero { display: grid; gap: clamp(3rem, 2rem + 3vw, 6rem); align-items: center; padding-block: clamp(2rem, 1rem + 3vw, 5rem) clamp(5rem, 3rem + 5vw, 10rem); }
@media (min-width: 960px) { .hero { grid-template-columns: 6fr 5fr; } }
.hero h1 { font-size: var(--h1-size); font-weight: 700; line-height: 0.98; letter-spacing: -0.03em; margin-left: -0.04em; text-wrap: balance; }
.hero__lede { margin-top: 2.8rem; max-width: 46rem; font-size: clamp(2rem, 1.6rem + 1vw, 2.8rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--color-light); }
.hero__image { position: relative; background: var(--color-background-gray-dark); }
.hero__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Stat band */
.stat { background: var(--color-background-black); }
.stat__inner { display: grid; gap: 3rem; padding-block: clamp(4rem, 3rem + 3vw, 8rem); }
@media (min-width: 840px) { .stat__inner { grid-template-columns: 1fr auto; align-items: end; } }
.label { font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.4rem); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gray); }
.stat__values { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 clamp(1.4rem, 1rem + 1vw, 2.8rem); margin-top: 1.6rem; }
.stat__old { font-size: clamp(3rem, 2rem + 3vw, 6rem); font-weight: 500; color: var(--color-gray); text-decoration: line-through; text-decoration-thickness: 0.06em; }
.stat__arrow { font-size: clamp(3rem, 2rem + 3vw, 6rem); color: var(--color-gray); }
.stat__new { font-size: clamp(8rem, 4rem + 12vw, 20rem); font-weight: 700; line-height: 0.85; letter-spacing: -0.04em; }
.stat__note { max-width: 36rem; color: var(--color-light); }

/* Gallery */
.gallery { display: grid; gap: clamp(1.2rem, 0.8rem + 1vw, 2.4rem); padding-top: clamp(5rem, 3rem + 5vw, 10rem); }
@media (min-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figure { margin: 0; background: var(--color-background-gray-dark); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1200ms cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.03); }

/* Upgrade */
.upgrade { padding-block: clamp(5rem, 3rem + 5vw, 10rem); }
.upgrade__box {
  display: grid; gap: clamp(2.4rem, 2rem + 2vw, 5rem);
  padding: clamp(3rem, 2rem + 3vw, 6rem);
  background: var(--color-background-gray-dark);
  border-left: 0.4rem solid var(--color-primary);
}
@media (min-width: 960px) { .upgrade__box { grid-template-columns: 1fr auto; align-items: center; } }
.upgrade h2 { font-size: var(--h2-size); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.upgrade p { margin-top: 1.6rem; max-width: 60rem; color: var(--color-light); }
.upgrade p a { font-weight: 600; text-decoration: underline; text-underline-offset: 0.15em; transition: color 200ms; }
.upgrade p a:hover { color: var(--color-primary-light); }

/* Lauf slanted button */
.btn {
  --c: #fff; --bg: var(--color-primary); --c-h: var(--color-dark); --bg-h: #fff;
  position: relative; display: inline-grid; justify-self: start;
  min-height: 4.5rem;
  font-size: clamp(1.3rem, 1.2rem + 0.3vw, 1.5rem); font-weight: 600; line-height: 2;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--c); background: var(--bg);
  clip-path: polygon(0 0, 0 100%, calc(100% - 0.8rem) 100%, 100% 0);
}
.btn--large { font-size: clamp(1.4rem, 1.3rem + 0.3vw, 1.6rem); }
.btn > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 1.4rem 4.6rem 1.4rem 3.4rem; }
.btn__hover {
  z-index: 1; color: var(--c-h); background: var(--bg-h);
  clip-path: polygon(calc(100% + 0.8rem) 0%, 101% 0%, 101% 100%, 100% 100%);
  transition: clip-path 200ms ease-in-out;
}
.btn:hover .btn__hover, .btn:focus-visible .btn__hover { clip-path: polygon(0% 0%, calc(100% + 0.8rem) 0%, 100% 100%, 0% 100%); }

/* Footnotes */
.notes { padding-bottom: clamp(5rem, 3rem + 5vw, 10rem); }
.notes__list { list-style: none; margin: 0; padding: 3rem 0 0; border-top: 1px solid var(--color-background-gray); display: grid; gap: 2rem; max-width: 86rem; }
@media (min-width: 960px) { .notes__list { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 4rem; } }
.notes__list li { display: flex; gap: 1.2rem; font-size: clamp(1.5rem, 1.4rem + 0.2vw, 1.7rem); line-height: 1.5; color: var(--color-gray); scroll-margin-top: 4rem; }
.notes__list li:target { color: var(--color-light); }
.notes__mark { flex: none; min-width: 2.4rem; color: var(--color-primary); font-weight: 600; }

/* Footer */
.footer { border-top: 1px solid var(--color-background-gray); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; padding-block: 3rem; font-size: 1.4rem; color: var(--color-gray); }
.footer a { color: #fff; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; font-size: 1.3rem; transition: color 200ms; }
.footer a:hover { color: var(--color-primary-light); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(2.4rem); transition: opacity 800ms ease-out, transform 800ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
