@font-face {
  font-family: "Nexa";
  src: url("fonts/nexa-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ground: #ffffff;
  --well: #fbf6fc;        /* chart well */
  --ink: #111111;         /* text, market line */
  --haze: #62606a;        /* secondary text */
  --rule: #e9e2ec;        /* dividers, grid */
  --pink: #ea6baf;        /* gradient start */
  --orchid: #e5a0f6;      /* gradient end */
  --blush: linear-gradient(90deg, var(--pink), var(--orchid));
  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.55 "Schibsted Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orchid); color: var(--ink); }
a { color: inherit; text-decoration-color: var(--pink); text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 2px; }
h1, h2, h3, p { margin: 0; }

.top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.5rem var(--gutter);
}
.mark {
  background: var(--blush);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mark { font: 700 clamp(1.625rem, 2.6vw, 2.125rem)/1 "Nexa", "Schibsted Grotesk", sans-serif; letter-spacing: -0.01em; text-decoration: none; padding: 0.15em 0; }
.top-nav { display: flex; gap: 1.75rem; align-items: baseline; font-size: 0.9375rem; }
.top-nav a[aria-current="page"] { text-decoration-thickness: 3px; }
.top-mail { color: var(--haze); }

.hero { padding: clamp(1.5rem, 3vh, 2.25rem) 0 0; }
.hero h1 {
  padding: 0 var(--gutter);
  max-width: 17ch;
  box-sizing: content-box;
  font-weight: 600;
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lede {
  padding: 0 var(--gutter);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: var(--measure);
  box-sizing: content-box;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.45;
  color: var(--ink);
}

.tape { margin: clamp(1.75rem, 3vw, 2.25rem) 0 0; position: relative; }
.tape canvas {
  display: block; width: 100%;
  height: clamp(11rem, 24vh, 15rem);
  background: var(--well);
}
.readout {
  position: absolute; top: 0; left: 0;
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem;
  padding: 0.9rem var(--gutter);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  color: var(--haze);
}
.readout b { font-weight: 600; color: var(--ink); display: inline-block; min-width: 3.2ch; }
.readout i { display: inline-block; width: 0.9rem; height: 3px; border-radius: 2px; margin-right: 0.5rem; vertical-align: middle; }
.r-model i { background: var(--blush); }
.r-market i { background: var(--ink); height: 1.5px; }
.r-state { color: var(--ink); font-weight: 600; }
.tape figcaption {
  padding: 0.9rem var(--gutter) 0;
  max-width: 38rem; box-sizing: content-box;
  font-size: 0.875rem; color: var(--haze);
}

.record { padding: clamp(2.25rem, 4vw, 2.75rem) var(--gutter) 0; }
.record h2 {
  font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1; letter-spacing: -0.02em;
}
.figures {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
  margin: 1.75rem 0 0; padding-top: 1.5rem;
  border-top: 3px solid; border-image: var(--blush) 1;
}
.figures dt {
  font-weight: 600; font-size: clamp(1.625rem, 3.2vw, 2.75rem);
  line-height: 1.05; letter-spacing: -0.035em;
}
.figures dd { margin: 0.6rem 0 0; max-width: 22rem; color: var(--haze); }
.asof { margin-top: 1.5rem; font-size: 0.875rem; color: var(--haze); max-width: 38rem; }

.vol { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.vol figcaption { font-weight: 600; }
.vol figcaption span { font-weight: 400; color: var(--haze); }
.bars {
  list-style: none; margin: 1.25rem 0 2.25rem; padding: 0;
  display: grid; grid-template-columns: repeat(30, minmax(0, 1fr));
  column-gap: clamp(2px, 0.5vw, 8px);
  height: clamp(10rem, 22vw, 14rem);
  border-bottom: 1px solid var(--haze);
}
.bars li {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  outline: none;
}
.bars .bar {
  width: 100%;
  height: calc(var(--v) * (100% - 1.75rem)); min-height: 2px;
  background: var(--pink); border-radius: clamp(2px, 0.3vw, 4px) clamp(2px, 0.3vw, 4px) 0 0;
}
.bars .val {
  margin-bottom: 0.3rem; font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
  opacity: 0;
}
.bars li.show .val, .bars li:hover .val, .bars li:focus-visible .val { opacity: 1; }
.bars li:hover, .bars li:focus-visible { z-index: 1; }
.bars li:hover .val, .bars li:focus-visible .val { background: var(--ground); padding: 0 0.3rem; border-radius: 3px; }
.bars:hover li.show:not(:hover) .val { opacity: 0; }
.bars li:hover .bar, .bars li:focus-visible .bar { background: var(--ink); }
.bars .mo { position: absolute; top: calc(100% + 0.5rem); font-size: 0.8125rem; color: var(--haze); white-space: nowrap; }
.bars .mo.first { left: 0; }
.bars .mo.last { right: 0; }
.bars li:first-child .val { align-self: flex-start; }
.bars li:last-child .val { align-self: flex-end; }

.block {
  display: grid;
  grid-template-columns: 13rem minmax(0, 52rem);
  gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 0;
}
.block h2 {
  font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1; letter-spacing: -0.02em;
}
.row {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 0.5rem clamp(1.25rem, 3vw, 3rem);
  padding: 1.35rem 0 1.5rem;
  border-top: 1px solid var(--rule);
}
.row:last-child { border-bottom: 1px solid var(--rule); }
.row h3 { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.row p { color: var(--haze); max-width: var(--measure); }
.about { color: var(--haze); max-width: var(--measure); padding-top: 0.2rem; }

.contact { padding: clamp(4.5rem, 10vw, 8rem) var(--gutter) clamp(4rem, 9vw, 7rem); }
.contact h2 {
  font-weight: 400; font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  color: var(--haze); max-width: 28rem; line-height: 1.4;
}
.mail {
  display: inline-block; margin-top: 1rem; padding-bottom: 0.12em;
  font-weight: 600;
  font-size: clamp(1.6rem, 6.2vw, 5rem);
  letter-spacing: -0.04em; line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  background: var(--blush) left bottom / 100% 0.09em no-repeat;
  transition: background-size 0.2s ease;
  overflow-wrap: anywhere;
}
.mail:hover { background-size: 100% 0.2em; }
.mark:hover { background: var(--pink); -webkit-background-clip: text; background-clip: text; }
@media (prefers-reduced-motion: reduce) { .mail { transition: none; } }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem; color: var(--haze);
}

@media (max-width: 52rem) {
  .block { grid-template-columns: 1fr; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
}
@media (max-width: 34rem) {
  .row { grid-template-columns: 1fr; }
  .top-mail { display: none; }
}
