/* ZYNOX — strategy profile. Warm black, off-white type set wide and light, brass for small marks. */

:root {
  --ink: #0a0907;
  --ink-2: #100e0b;
  --line: #231f18;
  --line-2: #383225;
  --text: #f0ede6;
  --soft: #cdc8bd;
  --muted: #9d978a;
  --brass: #d8ab45;
  --brass-hi: #f0c860;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(22px, 6vw, 88px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  background: var(--ink); color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-2) var(--ink);
}

body {
  margin: 0; background: var(--ink); color: var(--soft);
  font-family: var(--font); font-stretch: 100%; font-weight: 400;
  font-size: 1.0625rem; line-height: 1.68;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; caret-color: var(--brass);
}

::selection { background: var(--brass); color: #120d00; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 3px solid var(--ink); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #5a4c2c; }

img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 1.5px solid var(--brass-hi); outline-offset: 4px; border-radius: 2px; }

/* ---------- Masthead: a wordmark and a language switch, nothing to navigate ---------- */

.mast {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(22px, 3.4vw, 40px) var(--gutter);
}
.mast__name {
  font-stretch: 125%; font-weight: 600; font-size: .9375rem; letter-spacing: .34em; color: var(--text);
}
.lang { display: inline-flex; align-items: center; gap: 4px; }
.lang button {
  min-width: 40px; min-height: 40px; font-stretch: 112%; font-weight: 500; font-size: .75rem; letter-spacing: .16em; color: var(--muted);
  transition: color .3s;
}
.lang button + button { position: relative; }
.lang button + button::before { content: ""; position: absolute; left: -2px; top: 13px; bottom: 13px; width: 1px; background: var(--line-2); }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--brass-hi); }

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

/* opaque ground is required: the emblem screen-blends against what is painted inside this group */
.hero { position: relative; isolation: isolate; overflow: clip; background: var(--ink); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 52% at 71% 50%, rgba(216, 171, 69, .1), transparent 72%);
}
.hero__inner {
  display: grid; align-items: center; gap: 8px;
  padding: clamp(84px, 16vw, 120px) var(--gutter) clamp(64px, 10vw, 120px);
}
.hero__art { order: -1; margin-inline: calc(var(--gutter) * -.5); }

.badge {
  position: relative; aspect-ratio: 1280 / 712; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 62% 74% at 50% 49%, #000 66%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 74% at 50% 49%, #000 66%, transparent 100%);
  transform: translate3d(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px), 0);
  transition: transform 1.4s var(--ease);
}
.badge__img, .badge video { width: 100%; height: 100%; object-fit: cover; }
.badge__img { animation: badge-breathe 9s ease-in-out infinite; }
.badge__sweep {
  position: absolute; inset: 0; mix-blend-mode: color-dodge; pointer-events: none;
  background: linear-gradient(104deg, transparent 43%, rgba(255, 226, 150, .34) 49.4%, rgba(255, 255, 255, .42) 50%, rgba(255, 226, 150, .34) 50.6%, transparent 57%);
  background-size: 280% 100%; background-repeat: no-repeat;
  animation: badge-sweep 11s cubic-bezier(.6, 0, .25, 1) infinite;
}
@keyframes badge-sweep { 0%, 30% { background-position: 150% 0; } 72%, 100% { background-position: -50% 0; } }
@keyframes badge-breathe { 0%, 100% { filter: brightness(.96); } 50% { filter: brightness(1.06); } }

.hero__copy { position: relative; z-index: 1; padding-top: 34px; }
.hero h1 {
  font-stretch: 112%; font-weight: 400; color: var(--text);
  font-size: clamp(2.3rem, 9.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.028em; text-wrap: balance;
}
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--brass-hi); }
.hero__lead { margin-top: 26px; max-width: 30em; font-size: 1.125rem; color: var(--soft); }
.hero__risk {
  margin-top: 30px; padding-top: 16px; max-width: 34em; border-top: 1px solid var(--line-2);
  font-size: .9375rem; color: var(--muted);
}

@media (min-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 24px; min-height: min(100svh, 940px); padding-block: 140px 110px; }
  .hero__art { order: 0; margin-inline: 0 calc(var(--gutter) * -.55); }
  .hero__copy { padding-top: 0; }
  .hero h1 { font-stretch: 108%; font-size: clamp(2.75rem, 3.45vw, 4.2rem); }
  .hero__lead { font-size: 1.1875rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 1.2s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .12s; }
  .hero__copy > :nth-child(3) { animation-delay: .24s; }
  .badge { animation: emerge 2s var(--ease) backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes emerge { from { opacity: 0; filter: blur(12px) brightness(1.5); scale: 1.03; } }

/* ---------- Sections: one continuous document ---------- */

.sec {
  position: relative;
  display: grid; gap: clamp(30px, 5vw, 48px);
  padding: clamp(84px, 13vw, 184px) var(--gutter);
}
.sec::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-2); }
.sec__head { min-width: 0; }
.sec__body { min-width: 0; }

.label {
  display: flex; align-items: baseline; gap: 14px;
  font-stretch: 112%; font-weight: 500; font-size: .75rem; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: var(--brass);
}

.sec h2:not(.label) {
  margin-top: 20px; font-stretch: 110%; font-weight: 400; color: var(--text);
  font-size: clamp(2rem, 5.6vw, 3.25rem); line-height: 1.06; letter-spacing: -.026em; text-wrap: balance;
}

.lede { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.42; font-weight: 400; color: var(--text); max-width: 26em; letter-spacing: -.008em; }
.prose { margin-top: 30px; display: grid; gap: 18px; max-width: 37em; }
.prose-1 { margin-top: 16px; max-width: 37em; }
.sub { margin-top: clamp(56px, 7vw, 88px); font-stretch: 110%; font-weight: 500; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; color: var(--text); }
.note { margin-top: 20px; max-width: 37em; font-size: .9375rem; color: var(--muted); }

@media (min-width: 980px) {
  .sec { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
  .sec__head { position: sticky; top: 56px; }
  .sec--wide { grid-template-columns: 1fr; gap: 56px; }
  .sec--wide .sec__head { position: static; }
}

/* quiet arrival, only when scripting is on */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .js .sec__body.reveal { transition-delay: .12s; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Principles ---------- */

.principles { margin-top: 22px; border-top: 1px solid var(--line-2); }
.principles > div { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles dt { font-stretch: 108%; font-weight: 500; color: var(--text); }
.principles dd { max-width: 34em; }
@media (min-width: 720px) { .principles > div { grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 28px; } }

/* ---------- Figures with their disclosures beside them ---------- */

.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 5vw, 64px); }
.fig {
  font-stretch: 112%; font-weight: 300; color: var(--text);
  font-size: clamp(3rem, 11vw, 5.75rem); line-height: .95; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.fig small { font-size: .28em; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: .1em; }
.fig__label { margin-top: 14px; font-stretch: 110%; font-weight: 500; font-size: .75rem; line-height: 1.45; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }

.disclose { margin-top: clamp(34px, 5vw, 52px); padding-top: 22px; border-top: 1px solid var(--line-2); display: grid; gap: 14px; max-width: 37em; color: var(--text); }
.disclose--tight { margin-top: 30px; color: var(--soft); }

/* ---------- Participation ---------- */

.ledger { margin-top: 34px; border-top: 1px solid var(--line-2); }
.ledger > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ledger dd { font-stretch: 110%; font-weight: 500; font-size: 1.25rem; line-height: 1.2; color: var(--text); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger > .ledger__wide { grid-template-columns: 1fr; gap: 6px; }
.ledger__wide dd { font: inherit; color: var(--muted); text-align: left; white-space: normal; max-width: 34em; }

.split { margin-top: 30px; }
.split__bar { display: grid; grid-template-columns: 7fr 3fr; gap: 4px; height: 8px; }
.split__bar i { display: block; background: var(--line-2); transform-origin: left; }
.split__bar i:first-child { background: linear-gradient(90deg, var(--brass), var(--brass-hi)); }
.split__key { margin-top: 18px; display: grid; grid-template-columns: 7fr 3fr; gap: 4px; }
.split__key p { display: grid; gap: 8px; min-width: 0; font-stretch: 110%; font-weight: 500; font-size: .75rem; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.split__key b { font-stretch: 112%; font-weight: 300; font-size: clamp(2.2rem, 7vw, 3.5rem); line-height: .95; letter-spacing: -.04em; text-transform: none; color: var(--text); font-variant-numeric: tabular-nums; }
.split__key p + p b { color: var(--soft); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal .split__bar i { transform: scaleX(0); transition: transform 1.5s var(--ease) .5s; }
  .js .reveal.is-in .split__bar i { transform: none; }
  .js .reveal .split__bar i + i { transition-delay: 1s; }
}

/* ---------- Accounts ---------- */

.duo { display: grid; gap: 40px; }
.duo > div > p:last-child { margin-top: 18px; max-width: 26em; }
@media (min-width: 640px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); } }

/* ---------- Philosophy ---------- */

.creed { display: grid; gap: clamp(16px, 2.4vw, 30px); }
.creed li {
  font-stretch: 110%; font-weight: 400; color: var(--text);
  font-size: clamp(1.75rem, 5.4vw, 4.25rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance;
}
.creed__over { font-stretch: 112%; font-weight: 500; font-size: max(.2em, .75rem); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); vertical-align: .9em; margin-inline: .5em .4em; }
.creed__drop {
  color: #7d786e;
  background: linear-gradient(var(--brass), var(--brass)) 0 56% / 100% 1.5px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (prefers-reduced-motion: no-preference) {
  .js .creed .creed__drop { color: var(--text); background-size: 0% 1.5px; transition: color 1.4s var(--ease), background-size 1.3s var(--ease); }
  .js .creed.is-struck .creed__drop { color: #7d786e; background-size: 100% 1.5px; }
  .js .creed li:nth-child(2) .creed__drop { transition-delay: .4s; }
  .js .creed li:nth-child(3) .creed__drop { transition-delay: .8s; }
}
.notes { margin-top: clamp(48px, 7vw, 96px); display: grid; gap: 24px; }
.notes p { padding-top: 20px; border-top: 1px solid var(--line-2); max-width: 32em; }
@media (min-width: 860px) { .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); } }

/* ---------- Questions ---------- */

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-stretch: 104%; font-weight: 500; font-size: 1.125rem; line-height: 1.35; color: var(--text);
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px; margin-top: 7px;
  background:
    linear-gradient(var(--brass), var(--brass)) center / 100% 1px no-repeat,
    linear-gradient(var(--brass), var(--brass)) center / 1px 100% no-repeat;
  transition: transform .5s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--brass-hi); }
.faq__a { padding: 0 34px 26px 0; max-width: 37em; }
.faq__a p + p { margin-top: 12px; }

/* ---------- Risk disclosure ---------- */

.risk { background: var(--ink-2); }
.risk::before { left: 0; right: 0; }
.risk__text { max-width: 72em; color: var(--soft); }
.risk__text p { break-inside: avoid; }
.risk__text p + p { margin-top: 14px; }
.risk__text p:first-child { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.42; color: var(--text); letter-spacing: -.008em; margin-bottom: 26px; column-span: all; max-width: 30em; }
@media (min-width: 860px) { .risk__text { columns: 2; column-gap: clamp(40px, 6vw, 96px); } }

/* ---------- Colophon ---------- */

.colophon {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px;
  padding: 34px var(--gutter) 44px; background: var(--ink-2); border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--muted);
}
.colophon__tag { letter-spacing: .02em; }
.colophon__copy { margin-left: auto; font-variant-numeric: tabular-nums; }

/* ---------- Motion safety ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .badge__sweep { display: none; }
}
