/* Content Con 2027 — teaser page
   Type:  MOHOL Black, capitals only, for display lines.
          Instrument Serif for reading copy. DM Mono for labels.
   Colour tokens: swap here. */
:root {
  --ink:    #0b0b0c;
  --paper:  #edebe4;
  --acid:   #d6ff1f;
  --volt:   #2900e0;   /* = white, difference-blended on --acid */
  --gutter: clamp(16px, 4vw, 56px);
  --display: "Mohol", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --serif:   "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --mono:    "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

@font-face {
  font-family: "Mohol";
  src: url("fonts/Mohol-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* lighter cuts: only used by the hero, loaded by script once the page is up */
@font-face { font-family: "Mohol"; src: url("fonts/Mohol-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: "Mohol"; src: url("fonts/Mohol-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(20px, 1.2vw + 14px, 26px);
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; padding: 0; font-weight: 400; }
ol { list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
em { font-style: italic; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.wrap { display: block; width: 100%; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 12px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 12px; font-family: var(--mono); font-size: 13px; }

.mono {
  font-family: var(--mono);
  font-size: clamp(11px, .35vw + 10px, 14px);
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.label { margin-bottom: clamp(28px, 4vw, 56px); }

/* Display lines: MOHOL, capitals only. JS splits [data-lines] into
   lines and fits each one to the full column width. */
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .84;
  letter-spacing: -.01em;
}
[data-lines] { font-size: 11vw; }
[data-lines] .line { display: block; white-space: nowrap; width: max-content; padding-top: .04em; }

/* Header */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(14px, 2vw, 24px) var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.top a, .top button { pointer-events: auto; }
.top__mix { background: none; border: 0; margin: 0; padding: 12px 0 12px 24px; margin-top: -12px; color: inherit; cursor: pointer; }
.top__mix span { display: inline-block; min-width: 2.2em; text-align: right; }
.top__mix:hover, .top__mix:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.top__mix:focus-visible { outline-color: #fff; }
.top__logo { display: block; padding-block: 10px; margin-block: -10px; }
.top__logo img { width: clamp(108px, 11vw, 150px); height: auto; }

/* 2.1 Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 96px var(--gutter) clamp(18px, 2.5vw, 28px);
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
}
/* The headline is set letter by letter. Each letter keeps the width of its
   Black cut; near the cursor it drops to a lighter cut and leans, in steps. */
.hero__title .ch { display: inline-block; white-space: pre; text-align: center; }
.hero__title .ch[data-w="0"] { font-weight: 400; transform: skewX(-14deg); }
.hero__title .ch[data-w="1"] { font-weight: 700; transform: skewX(-7deg); }
/* The space above the headline is a fast cut of close-ups, printed in the
   two hero colours (greyscale, multiplied onto the background). */
.hero__flash {
  position: relative;
  flex: 1 1 0;
  min-height: 30svh;
  margin: -96px calc(-1 * var(--gutter)) 0;
  overflow: hidden;
}
/* the seam between picture and headline; the statement badge sits on it */
.hero__seam { position: relative; z-index: 3; height: 0; margin-bottom: clamp(16px, 2.4vw, 32px); }
.badge {
  --size: clamp(92px, 11vw, 148px);
  position: absolute;
  right: 0;
  top: 0;
  width: var(--size);
  height: var(--size);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--volt);
  color: var(--acid);
  cursor: pointer;
  transform: translateY(-62%) rotate(-8deg);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), background-color .15s steps(1), color .15s steps(1);
}
.badge[hidden] { display: none; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: badge-spin 18s linear infinite; }
.badge__ring text { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; fill: currentColor; }
.badge__mid { position: absolute; inset: 0; display: grid; place-items: center; font: 900 calc(var(--size) * .34)/1 var(--display); }
.badge:hover, .badge:focus-visible { background: var(--ink); color: var(--acid); transform: translateY(-62%) rotate(0deg) scale(1.08); }
.badge:hover .badge__ring { animation-duration: 6s; }
@keyframes badge-spin { to { transform: rotate(360deg); } }

/* Statement: full-screen sheet */
dialog.statement, dialog.statement:modal {
  position: fixed; inset: 0;
  width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--paper); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.statement::backdrop { background: var(--ink); }
.statement[open] { animation: statement-in .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes statement-in { from { transform: translateY(4%); opacity: 0; } }
.statement__close {
  position: sticky; top: 0; z-index: 2; float: right;
  margin: clamp(10px, 1.6vw, 20px) var(--gutter) 0 0;
  padding: 12px 16px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper);
}
.statement__close:hover, .statement__close:focus-visible { background: var(--volt); color: var(--acid); }
.statement__body { padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(64px, 9vw, 120px); max-width: calc(38em + 2 * var(--gutter)); }
.statement__label { margin-bottom: clamp(16px, 2vw, 28px); }
.statement__title { font-size: clamp(2.6rem, 8.4vw, 7rem); margin-bottom: clamp(32px, 5vw, 64px); }
.statement__body p, .statement__list { margin-top: 1em; }
/* sentence openings that must not be left alone at the end of a line */
.statement__body p { text-wrap: pretty; }
.statement .nb { white-space: nowrap; }
/* longer groups only where the column is wide enough to hold them */
@media (min-width: 340px) { .statement .nb-340 { white-space: nowrap; } }
@media (min-width: 360px) { .statement .nb-360 { white-space: nowrap; } }
@media (min-width: 400px) { .statement .nb-400 { white-space: nowrap; } }
.statement__list { list-style: none; padding: 0; font-style: italic; font-size: 1.25em; line-height: 1.15; }
.statement__list li + li { margin-top: .2em; }
.statement__pull { font-size: clamp(1.7rem, 5vw, 3.8rem); margin-top: 1.2em !important; }
.statement__big { font-size: clamp(1.8rem, 4vw, 3.2rem); font-style: italic; line-height: 1.05; }
.statement__pull + .statement__big { margin-top: .3em; }
.statement a { text-underline-offset: 4px; }
.statement__contact { margin-top: clamp(48px, 7vw, 96px); padding-top: 20px; border-top: 2px solid var(--ink); font-size: .85em; }
html.is-locked { overflow: hidden; }
.hero__flash img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover;
  object-position: 50% 35%;
  filter: grayscale(1) contrast(1.35) brightness(1.15);
  mix-blend-mode: multiply;
  visibility: hidden;
}
.hero__flash img.is-on { visibility: visible; }
.hero__eyebrow { position: relative; z-index: 2; margin-bottom: clamp(12px, 1.6vw, 22px); }
.hero__title { position: relative; z-index: 2; }
.hero__sub {
  position: relative;
  z-index: 2;
  margin-top: clamp(18px, 2.4vw, 34px);
  font-size: clamp(1.5rem, 3.4vw, 3.4rem);
  font-style: italic;
  line-height: 1.02;
  max-width: 16em;
}
.hero__foot { position: relative; z-index: 2; margin-top: clamp(22px, 3vw, 44px); display: flex; justify-content: space-between; }
.hero__arrow { animation: nudge 1.8s steps(2) infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* Shared block rhythm */
.block { padding-block: clamp(88px, 13vw, 190px); }

/* 2.2 Ecosystem */
.statement {
  font-size: clamp(1.9rem, 4.6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.012em;
  max-width: 20em;
  text-wrap: pretty;
}
.marquee { margin-block: clamp(56px, 8vw, 120px); overflow: hidden; }
.marquee__row {
  white-space: nowrap;
  width: max-content;
  font-size: clamp(3.2rem, 11vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
  will-change: transform;
}
.marquee__row--solid { color: var(--acid); -webkit-text-stroke: 0; margin-left: -40vw; }
.eco__title { color: var(--paper); }
.figure { margin-top: clamp(64px, 9vw, 130px); }
.figure dt { color: var(--acid); }
.figure dd {
  margin-top: clamp(14px, 2vw, 28px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 32px;
  border-top: 2px solid var(--paper);
  padding-top: 14px;
}
.figure__what { font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-style: italic; }

/* 2.3 Heritage */
.heritage { background: var(--paper); color: var(--ink); padding-top: 0; }
.sorts {
  --cols: 12;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  margin-bottom: clamp(56px, 8vw, 110px);
  border-bottom: 2px solid var(--ink);
}
.sorts i {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font: 900 clamp(1.2rem, 5.4vw, 5.6rem)/1 var(--display);
  font-style: normal;
  text-transform: uppercase;
  border-right: 1px solid rgba(11, 11, 12, .18);
  border-top: 1px solid rgba(11, 11, 12, .18);
}
.sorts i.is-ink { background: var(--ink); color: var(--paper); }
.sorts i.is-acid { background: var(--acid); }
.sorts i.is-volt { background: var(--volt); color: var(--acid); }
.bridge {
  font-size: clamp(2rem, 5.4vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.015em;
  max-width: 17em;
  text-wrap: balance;
}
.bridge em { display: block; margin-top: .35em; }

/* 2.4 Pillars */
.pillars { background: var(--volt); color: var(--acid); padding-bottom: 0; }
.pillars__lead { font-size: clamp(1.6rem, 3.4vw, 3.2rem); line-height: 1.05; max-width: 18em; color: var(--paper); }
.pillars__list { margin-top: clamp(48px, 7vw, 100px); }
.pillars__list li { border-top: 2px solid var(--acid); padding-block: clamp(14px, 1.6vw, 22px) clamp(18px, 2.2vw, 32px); transition: background-color .15s steps(1), color .15s steps(1); }
.pillars__list li > .wrap { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px 24px; }
.pillars__list h3 { grid-column: 1 / -1; order: 2; }
.pillars__list .mono { order: 0; }
.pillars__list p { order: 1; font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2.2rem); line-height: 1; text-align: right; color: var(--paper); }
@media (hover: hover) {
  .pillars__list li:hover { background: var(--acid); color: var(--volt); }
  .pillars__list li:hover p { color: var(--volt); }
}

/* 2.5 Reel — full-bleed photos, hard cuts */
.reel { position: relative; height: 100vh; height: 100svh; background: var(--ink); overflow: hidden; }
.reel__stage { position: absolute; inset: 0; }
.reel__stage picture { position: absolute; inset: 0; visibility: hidden; }
.reel__stage picture.is-on { visibility: visible; }
.reel__stage img { width: 100%; height: 100%; object-fit: cover; }
.reel__label, .reel__toggle { position: absolute; z-index: 2; bottom: clamp(14px, 2vw, 24px); color: #fff; mix-blend-mode: difference; }
.reel__label { left: var(--gutter); margin: 0; }
.reel__toggle { right: var(--gutter); background: none; border: 0; padding: 10px 0 0 24px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* 2.6 CTA */
.cta { background: var(--acid); color: var(--ink); padding-bottom: clamp(56px, 8vw, 110px); }
.cta__title { font-size: clamp(2rem, 5.4vw, 5.6rem); font-style: italic; line-height: 1; letter-spacing: -.015em; }
.cta__links { margin-top: clamp(40px, 6vw, 90px); border-bottom: 2px solid var(--ink); }
.cta__link { display: block; text-decoration: none; border-top: 2px solid var(--ink); padding-block: clamp(18px, 2.4vw, 34px); transition: background-color .15s steps(1), color .15s steps(1); }
.cta__link > .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; }
.cta__label { font-size: clamp(2.1rem, 7.2vw, 7.4rem); max-width: 100%; overflow-wrap: anywhere; }
.cta__hint i { font-style: normal; display: inline-block; margin-left: .4em; transition: transform .2s; }
.cta__link:hover, .cta__link:focus-visible { background: var(--ink); color: var(--acid); }
.cta__link:hover .cta__hint i { transform: translate(3px, -3px); }
.cta__link--partner .cta__label { font-size: clamp(1.5rem, 4.2vw, 4.2rem); }
.swap { display: inline-block; padding: 0 .12em; background: var(--ink); color: var(--acid); }
.cta__link:hover .swap, .cta__link:focus-visible .swap { background: var(--acid); color: var(--ink); }

/* 2.7 Footer */
.foot { background: var(--ink); color: var(--paper); padding-block: clamp(40px, 6vw, 80px) 24px; }
.foot__logo { width: 100%; height: auto; }
.foot__row { margin-top: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot nav { display: flex; gap: 24px; }
.foot a { display: inline-block; padding-block: 10px; text-underline-offset: 4px; }

/* Legal placeholder pages */
.legal { min-height: 80vh; padding-block: 160px 96px; }
.legal h1 { font: 900 clamp(2.4rem, 9vw, 8rem)/.84 var(--display); text-transform: uppercase; }
.legal h2 { margin-top: 56px; font-family: var(--mono); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.legal p { margin-top: 22px; max-width: 34em; }
.legal a { text-underline-offset: 4px; }

/* Reveals — only hidden when JS is running */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js [data-lines] .line { clip-path: inset(0 0 100% 0); transform: translateY(.3em); transition: clip-path .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-lines].is-visible .line { clip-path: inset(-10% 0 -10% 0); transform: none; }
.js [data-lines] .line:nth-child(2) { transition-delay: .08s; }
.js [data-lines] .line:nth-child(3) { transition-delay: .16s; }
.js [data-lines] .line:nth-child(4) { transition-delay: .24s; }

@media (max-width: 720px) {
  .sorts { --cols: 6; }
  .marquee__row--solid { margin-left: -90vw; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js [data-lines] .line { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero__arrow { animation: none; }
  .badge__ring, .statement[open] { animation: none; }
  .badge { transition: none; }
}
