/* B · Bold campaign */

:root {
  /* Monochrome palette. The names are historical: --blue is the main dark field, --lime the light accent. */
  --blue: #0A0A0A;
  --lime: #FFFFFF;
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --grey: #444444;
  --mist: #EAEAEA;
  --charcoal: #262626;
  --on-blue-2: #BDBDBD;
  --on-ink-2: #B3B3B3;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;

  --wrap: 80rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
}

a { color: inherit; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.statement :focus-visible, .docs :focus-visible, .contact :focus-visible { outline-color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--lime); color: var(--ink);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

.shout {
  margin: 0;
  font-family: var(--display); font-weight: 800; font-stretch: 75%;
  font-variation-settings: "opsz" 96;
  text-transform: uppercase; line-height: .9; letter-spacing: -.005em; word-spacing: .08em;
  text-wrap: balance;
}

/* ---------- Top bar ---------- */

.topbar { background: var(--blue); color: var(--white); }
.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.75rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 800 1.375rem/1 var(--display); font-stretch: 75%;
  text-transform: uppercase; text-decoration: none;
}
.brand__mark { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--lime); }

.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
}
.nav a {
  padding-block: .5rem;
  font-size: .9375rem; font-weight: 600; text-decoration: none;
  text-decoration-thickness: 2px; text-underline-offset: .35em;
}
.nav a:hover { text-decoration-line: underline; text-decoration-color: var(--lime); }
.nav .nav-cta {
  display: inline-block; padding: .7rem 1.15rem; border-radius: 999px;
  background: var(--lime); color: var(--ink);
  transition: transform .35s var(--ease);
}
.nav .nav-cta:hover { text-decoration: none; transform: rotate(-3deg) scale(1.04); }

@media (max-width: 44rem) {
  .nav li:not(:last-child) { display: none; }
}

/* ---------- Image slots (empty placeholders) ---------- */

.slot {
  display: grid; place-items: center; width: 100%;
  background-color: #E6E6E6;
  background-image: radial-gradient(rgb(0 0 0 / .17) 1.1px, transparent 1.5px);
  background-size: 12px 12px;
}
.slot__hint {
  padding: .4rem .85rem; border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 0 var(--ink);
}
.slot--hero { aspect-ratio: 1571 / 788; border-radius: clamp(.75rem, 1.5vw, 1.5rem); }
.slot--doc { aspect-ratio: 1007 / 1315; }
.slot--portrait { aspect-ratio: 923 / 1187; border-radius: 1rem; }

/* Uploaded images take the slot's shape; documents are never cropped */
img.slot { display: block; height: auto; background: none; object-fit: cover; }
img.slot--doc { object-fit: contain; background: var(--white); }

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(2.5rem, 7vw, 5.5rem);
  background: linear-gradient(var(--blue) 0 calc(100% - clamp(7rem, 16vw, 14rem)), var(--white) 0);
  color: var(--white);
}
.pill {
  display: inline-block; margin: 0 0 1.5rem;
  padding: .4rem .95rem; border: 2px solid var(--lime); border-radius: 999px;
  color: var(--lime); font-size: .875rem; font-weight: 700; letter-spacing: .02em;
}
.hero__title {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  font-size: clamp(3rem, 8.4vw, 6rem);
}
.hero__figure { position: relative; margin: 0; }
.sticker {
  position: absolute; left: clamp(1rem, 3vw, 2.5rem); bottom: 0;
  translate: 0 50%; rotate: -3deg;
  padding: .7rem 1.1rem .6rem;
  background: var(--lime); color: var(--ink);
  font: 800 clamp(1.05rem, 1.8vw, 1.375rem)/1 var(--display); font-stretch: 75%;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 2px var(--ink), 0 10px 20px -8px rgb(0 0 0 / .45);
}

/* ---------- Statement ---------- */

.statement { padding-block: calc(var(--section) + 1rem) var(--section); }
.statement__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem) 1.5rem;
}
.statement__lead {
  grid-column: 1 / span 11; margin: 0;
  font: 600 clamp(1.5rem, 3.1vw, 2.625rem)/1.16 var(--display);
  font-stretch: 88%; letter-spacing: -.015em; text-wrap: pretty;
}
.statement__body {
  grid-column: 5 / -1; margin: 0;
  columns: 2 19rem; column-gap: 2.5rem;
  color: var(--grey);
}

.statement__lead p, .statement__body p { margin: 0 0 1em; }
.statement__lead p:last-child, .statement__body p:last-child { margin-bottom: 0; }

@media (max-width: 50rem) {
  .statement__lead, .statement__body { grid-column: 1 / -1; }
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  padding-block: clamp(.9rem, 2vw, 1.4rem);
  background: var(--ink); color: var(--lime);
}
.ticker__track { display: flex; width: max-content; }
/* Scroll-linked, not autoplay: the band slides only as the visitor scrolls past it. Static where unsupported. */
@supports (animation-timeline: view()) {
  .ticker__track { animation: marquee linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
}
.ticker__item {
  display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-right: clamp(1.25rem, 3vw, 2.5rem);
  font: 800 clamp(1.5rem, 3.4vw, 2.75rem)/1 var(--display); font-stretch: 75%;
  text-transform: uppercase; white-space: nowrap;
}
.ticker__item::after { content: ""; width: .45em; height: .45em; border-radius: 50%; background: currentColor; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-40%); } }

/* ---------- Document wall ---------- */

.docs { background: var(--mist); padding-block: var(--section); }
.docs__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1.5rem 3rem; margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.docs__title { font-size: clamp(2.75rem, 7vw, 6rem); }
.docs__head p { max-width: 34ch; margin: 0; font-size: 1.125rem; font-weight: 500; }

.wall {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
}
.poster { position: relative; }
.poster__sheet {
  padding: clamp(.5rem, 1vw, .8rem);
  background: var(--white);
  box-shadow: 7px 9px 0 var(--ink);
  rotate: -1.5deg;
}
.poster:nth-child(3n+2) .poster__sheet { rotate: 1.25deg; margin-top: clamp(0rem, 3vw, 2.5rem); }
.poster:nth-child(3n) .poster__sheet { rotate: -.5deg; }
.poster__letter {
  position: absolute; top: -1.2rem; left: -.6rem; z-index: 1;
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  font: 800 1.375rem/1 var(--display);
}
.poster:nth-child(3n+2) .poster__letter { top: calc(clamp(0rem, 3vw, 2.5rem) - 1.2rem); }

@media (max-width: 48rem) {
  .wall {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 1.5rem var(--gutter) 1.75rem;
    scroll-padding-inline: var(--gutter);
  }
  .poster { scroll-snap-align: start; }
  .poster:nth-child(3n+2) .poster__sheet { margin-top: 0; }
  .poster__letter, .poster:nth-child(3n+2) .poster__letter { top: -1.2rem; left: -.25rem; }
}

/* ---------- Background sheets ---------- */

.feature { padding-block: var(--section); color: var(--white); }
.feature--ink { background: var(--ink); --muted: var(--on-ink-2); }
.feature--blue { background: var(--charcoal); --muted: var(--on-blue-2); }

.feature__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem) 1.5rem; align-items: start;
}
.feature__title { grid-column: 1 / -1; font-size: clamp(3rem, 9vw, 6rem); }
.feature__portrait { grid-column: 1 / span 5; margin: 0; }
.feature__text { grid-column: 7 / -1; }

.feature--blue .feature__title { text-align: right; }
.feature--blue .feature__portrait { grid-column: 8 / -1; grid-row: 2; }
.feature--blue .feature__text { grid-column: 1 / span 6; grid-row: 2; }

.feature__text p { max-width: 62ch; margin: 0 0 1.5rem; }
.feature__text .first { font-size: 1.25rem; line-height: 1.55; }
.feature__intro { margin-top: 2.75rem !important; margin-bottom: 1rem !important; color: var(--lime); font-weight: 700; }

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.links a {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1rem 1rem 1rem 1.4rem;
  border: 2px solid rgb(255 255 255 / .5); border-radius: 1rem;
  text-decoration: none;
  transition: background-color .25s, border-color .25s, color .25s;
}
.links a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.links__text { display: grid; gap: .15rem; min-width: 0; }
.links__domain { color: var(--muted); font-size: .8125rem; font-weight: 700; transition: color .25s; }
.links a:hover .links__domain { color: var(--grey); }
.links__title { font: 700 1.1875rem/1.25 var(--display); font-stretch: 88%; }
.links__arrow {
  flex: none; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  transition: background-color .25s, color .25s, transform .45s var(--ease);
}
.links a:hover .links__arrow { background: var(--ink); color: var(--lime); transform: translate(3px, -3px); }

@media (max-width: 52rem) {
  .feature__portrait, .feature__text,
  .feature--blue .feature__portrait, .feature--blue .feature__text { grid-column: 1 / -1; grid-row: auto; }
  .feature__portrait { max-width: 24rem; }
  .feature--blue .feature__title { text-align: left; }
}

/* ---------- Contact ---------- */

.contact { background: var(--lime); color: var(--ink); padding-top: var(--section); }
.contact__lead {
  max-width: 28ch; margin: 0 0 1.5rem;
  font: 600 clamp(1.25rem, 2.4vw, 1.75rem)/1.25 var(--display); font-stretch: 88%;
}
.contact__email {
  display: inline-block;
  font-size: clamp(2.25rem, 8vw, 6rem);
  text-transform: none; text-decoration: none; letter-spacing: -.03em;
  overflow-wrap: anywhere;
  transition: color .25s;
}
.contact__email:hover { color: #555555; }

.contact__base { margin-top: var(--section); background: var(--ink); color: var(--white); }
.contact__base :focus-visible { outline-color: var(--lime); }
.contact__base-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.25rem; font-size: .875rem; font-weight: 500;
}
.contact__base a { text-decoration: none; }
.contact__base a:hover { color: var(--lime); }

/* ---------- Cookie notice ---------- */

.cookie {
  position: fixed; left: 50%; bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 60;
  width: min(100% - 1.5rem, 40rem);
  display: flex; align-items: center; gap: 1rem 1.5rem;
  padding: .9rem .9rem .9rem 1.4rem; border-radius: 1.25rem;
  background: var(--ink); color: var(--white);
  font-size: .9rem; line-height: 1.45;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .16), 0 18px 40px -14px rgb(0 0 0 / .55);
  translate: -50% calc(100% + 2rem); opacity: 0;
  transition: translate .6s var(--ease), opacity .4s;
}
.cookie.is-in { translate: -50% 0; opacity: 1; }
.cookie[hidden] { display: none; }
.cookie p { flex: 1; margin: 0; }
.cookie__ok {
  flex: none; min-height: 44px; padding: .75rem 1.5rem;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--lime); color: var(--ink);
  font: 800 1rem/1 var(--display);
  transition: transform .35s var(--ease);
}
.cookie__ok:hover { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
