/* styles/base.css */
* { box-sizing: border-box; }
div, .layout { display: flex; flex-direction: column; }
header, footer, main, section { display: flex; flex-direction: column; width: 100%; }

b, strong { font-weight: 700; }
pre { font-family: monospace; font-size: 1em; }

:root {
  --bg1: #ffffff;
  --bg2: #f5f5f7;
  /* --bg3: #d9d9de; */
  --bg3: #cacad1;
  --fg1: #000000;
  /* --fg2: #55575e; */
  --fg2: #494b51;
  --fg3: #797c86;
  /* --link: #2d92ff; */
  --link: #000000;

  --coral: #ff6275;
  --orange: #ed6c2d;
  --green: #55ba63;
  --turquoise: #21bfb8;
  --blue: #4f93f7;
  --violet: #620fe7;
  --purple: #ba2bf6;

  --radius1: .75rem;
  --radius2: 1rem;
  --radius3: 2.5rem;
  --shadow: 0 0 1.5rem rgba(0, 0, 0, .1);

  --width1: 28rem;
  --width2: 680px;
  --width3: 1260px;
  --width4: 1600px;

  --pad1: 8px;
  --pad2: 16px;
  --pad3: 24px;
  --pad4: 32px;
  --pad5: 48px;
  --pad6: 60px;

  --click-area: 12px;

  --chevron: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 8L15 12L11 16'/></svg>");
  --arrow: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 12H17M13 8L17 12L13 16'/></svg>");
  --menu: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect y='1' width='24' height='4' rx='1'/><rect y='10' width='24' height='4' rx='1'/><rect y='19' width='24' height='4' rx='1'/></svg>");

}

::selection {
  background: var(--bg3);
  color: var(--fg1);
}

.dark ::selection {
  background: var(--fg3);
  color: var(--bg1);
}

html {
  overflow-y: scroll;
  &.bottom { background: var(--fg1); }
}

html, body {
  font-size: var(--size1);
  overflow-x: clip;
  color: var(--fg1);
  background: var(--bg1);
  font-family: "Die Grotesk", system-ui, sans-serif;
  font-weight: 380;
  /* letter-spacing: -0.01em; */
  font-variation-settings: "opsz" 14;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "ss01"; /* Round dots */
  line-height: 1.33;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.row { display: flex; flex-direction: row; }
.col { display: flex; flex-direction: column; }
.flex { display: flex; flex-shrink: 1; flex-grow: 1; }
.space { display: flex; flex-grow: 1; }
.center { justify-content: center; align-items: center; }
.dark {
  color: var(--bg1);
  background: var(--fg1);
  a, a:hover { color: var(--bg1); }
}
.container { width: 100%; max-width: var(--width4); padding: 0 var(--gutter); }
main > section {
  align-items: center;
  .container { padding: var(--section) var(--gutter); max-width: calc(var(--width3) + 2 * var(--gutter)); }
  .container > :first-child { margin-top: 0; }
  &:last-of-type > .container { padding-bottom: var(--section-end); }
}

a { color: inherit; text-decoration: none; }

p, ul, ol {
  margin: 1rem 0;
}

.text, p, li {
  color: var(--fg2);
  line-height: 1.5;
  text-wrap: pretty;

  a {
    text-decoration: underline;
    transition: .1s color;
    color: var(--fg1);
    cursor: pointer;
    &:hover {
      color: var(--fg2);
      text-decoration: underline;
    }
  }

  .dark & { font-weight: 300; }
}

.text > *:first-child { margin-top: 0; }

main p { font-size: var(--size2); margin: 0 0 var(--pad2); }
main p:has(+ ul, + ol) { margin-bottom: 0; }
main li { font-size: var(--size2); }

ul, ol {
  padding: 0 0 0 1.1rem;
}

li {
  margin: .625rem 0;
  padding: 0 0 0 .6rem;
  position: relative;
  list-style: none;
  &::before {
    content: '';
    position: absolute;
    left: -.75rem;
    top: calc((1lh - .5625rem) / 2 + .05em);
    width: .5625rem;
    height: .5625rem;
    background: currentColor;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9" fill="none"><circle cx="4.5" cy="4.5" r="3.65" stroke="black" stroke-width="1.3"/></svg>') center / contain no-repeat;
  }
}

h1, h2, h3, h4, h5, h6 {
  margin: 1.5em 0 .8em;
  line-height: calc(1em + 4px);
  text-wrap: balance;
  /* font-family: "Inter Tight", sans-serif; */
  /* font-weight: 600; */
  /* font-weight: 500; */
  font-weight: 450;
  font-variation-settings: "opsz" 22;
  .dark & { font-weight: 400; }
}
h1 { font-size: var(--size4); /* letter-spacing: -0.04em; */ }
h2 { font-size: var(--size4); /* letter-spacing: -0.04em; */ }
h3 { font-size: var(--size2); /* letter-spacing: -0.02em; */ }

.buttons {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: var(--size1);
  user-select: none;
}

.button, .buttons > a {
  &, &:visited {
    display: inline-flex;
    align-items: center;
    padding: .85em 1.2em;
    font-weight: 430;

    border-radius: var(--radius1);
    color: var(--fg1);
    background: var(--bg2);
    transition: .1s linear background-color, .1s linear color;
  }
  &:hover, &:active {
    background: var(--bg3);
    cursor: pointer;
  }
  &.primary {
    background: var(--fg1);
    color: var(--bg1);
  }
  &.primary:hover {
    background: var(--fg2);
  }
  .dark &.primary { background: var(--bg1); color: var(--fg1); }
  .dark &.primary:hover { background: var(--bg3); }

  &.primary::after {
    content: '';
    width: 1.5em;
    height: 1.5em;
    margin: -.9rem -.5rem -1rem 0;
    background: currentColor;
    mask: var(--chevron) center / contain no-repeat;
  }

}

.button {
  font-size: .9em;
}

.prose {
  align-self: center;
  width: 100%;
  max-width: var(--width2);
  h1 { margin: 0 0 var(--pad2); }
  h2 { margin: var(--pad5) 0 var(--pad2); font-size: var(--size2); }
  p, li { font-size: var(--size1); }
}

.intro h1, .page-title {
  margin: 0;
  font-size: var(--size5);
  user-select: none;
  /* font-variation-settings: "opsz" 34; */
  span { color: var(--bg3); }
}

.intro {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: var(--gutter);
  > * { flex: 1 1 0; }
  @media (width > 900px) { .message > * { max-width: var(--width1); } }
  @media (width <= 900px) {
    flex-direction: column;
    align-items: stretch;
    > * { flex: none; }
    .buttons { margin-top: var(--pad1); }
  }
}

.reveal [data-reveal] {
  --ease: cubic-bezier(.455, .03, .515, .955);
  opacity: 0;
  transform: translateY(30px);
}

.reveal .revealed [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--index, 0) * .15s);
}

.banner {
  user-select: none;
  .container { padding-top: 0; }
  img {
    width: 100%;
    aspect-ratio: 2;
    object-fit: cover;
    border-radius: var(--radius2);
  }
}

.split {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--gutter);
  @media (width <= 900px) { flex-direction: column; align-items: stretch; }
  @media (width > 900px) { > .message { margin-bottom: var(--pad4); } }
}

.message {
  flex: 1 1 0;
  justify-content: center;
  > :first-child { margin-top: 0; }
  > :last-child { margin-bottom: 0; }
}

.visual {
  flex: 1 1 0;
  position: relative;
  user-select: none;
  align-self: center;
  aspect-ratio: 1;
  border-radius: var(--radius2);
  @media (width <= 900px) { flex: none; width: 100%; }
  img, video, iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    border: 0;
  }
}

details {
  interpolate-size: allow-keywords;
  &::details-content {
    height: 0;
    overflow: clip;
    display: flow-root;
    transition: .3s allow-discrete;
  }
  &[open]::details-content { height: auto; }
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--pad4);
  padding: var(--pad1) 0;
  font-size: var(--size2);
  cursor: pointer;
  outline: none;
  user-select: none;

  &::after {
    content: '';
    flex: none;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: url('/icons/chevron-large.svg') center / 2.25rem no-repeat;
    rotate: 90deg;
    transition: .3s;
  }

  &:focus-visible::after { background-color: var(--bg2); }
  @media (hover: hover) { &:hover::after { background-color: var(--bg2); } }
  [open] > &::after { rotate: -90deg; }
}

.icon {
  display: inline-block;
  user-select: none;
  width: 1em;
  height: 1em;
  &::before {
    content: '';
    display: block;
    height: 100%;
    background: currentColor;
    mask: var(--icon) center / contain no-repeat;
  }
}

.logo {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  user-select: none;
  font-family: "Logo", sans-serif;
  font-weight: 600;
  .dark & { font-weight: 600; }
  letter-spacing: -0.01em;

  &::before {
    flex-shrink: 0;
    content: '';
    display: inline-block;
    background: currentColor;
    mask: url('/brand/logo.svg') no-repeat center / contain;
    height: 1.28em;
    width: 1.28em;
    margin-right: .4em;
  }
}

@keyframes blink { 50% { transform: scaleY(.1); } }

.extlogo {
  width: 5rem;
  aspect-ratio: 4;
  background: var(--fg3);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.hexagon {
  aspect-ratio: 86.6 / 96.9;
  object-fit: cover;
  mask: url('/brand/hexagon.svg') center / contain no-repeat;
}

@media (width <= 700px) {
  :root {
    --size0: 14px;
    --size1: 17px;
    --size2: 20px;
    --size3: 24px;
    --size4: 32px;
    --size5: 40px;
    --size6: 48px;
    --size-logo: 25px;
    --gutter: 24px;
    --section: 32px;
    --section-big: 48px;
    --section-end: 112px;
  }
}

@media (700px < width <= 900px) {
  :root {
    --size0: 14px;
    --size1: 17px;
    --size2: 20px;
    --size3: 24px;
    --size4: 40px;
    --size5: 48px;
    --size6: 56px;
    --size-logo: 25px;
    --gutter: 48px;
    --section: 48px;
    --section-big: 72px;
    --section-end: 120px;
  }
}

@media (900px < width < 1200px) {
  :root {
    --size0: 14px;
    --size1: 17px;
    --size2: 21px;
    --size3: 28px;
    --size4: 48px;
    --size5: 64px;
    --size6: 72px;
    --size-logo: 25px;
    --gutter: 64px;
    --section: 60px;
    --section-big: 96px;
    --section-end: 132px;
  }
}

@media (width >= 1200px) {
  :root {
    --size0: 14px;
    --size1: 17px;
    --size2: 21px;
    --size3: 28px;
    --size4: 48px;
    --size5: 64px;
    --size6: 72px;
    --size-logo: 26px;
    --gutter: 80px;
    --section: 72px;
    --section-big: 112px;
    --section-end: 144px;
  }
}

@media (width <= 700px) {
  .desktop { display: none !important; }
}

@media (width > 700px) {
  .mobile { display: none !important; }
}

.wide {
  align-self: center;
  width: min(var(--width3), 100vw - 2 * var(--pad3));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: calc(var(--pad6) + var(--pad3));
  &:has(> .video, > .clip) { gap: var(--pad5); }
}

.stats { display: grid; gap: var(--pad3); height: 67%; align-self: center; }

.wide.sidebar {
  grid-template-columns: 2fr 1fr;
  column-gap: calc(2 * var(--pad6));
  @media (width <= 700px) { grid-template-columns: 1fr; }
}

.stat {
  align-items: center;
  justify-content: center;
  gap: var(--pad3);
  padding: var(--pad3);
  border-radius: var(--radius1);
  background: var(--bg2);
  text-align: center;
  strong { font-size: var(--size5); font-weight: 400; line-height: 1; }
  span { font-size: var(--size1); color: var(--fg2); }
}

.video:not(:fullscreen)::-webkit-media-controls-panel { opacity: 0; transition: opacity .3s; }
.video:not(:fullscreen):hover::-webkit-media-controls-panel { opacity: 1; }
.video:fullscreen { object-fit: contain; background: #000; }
.video:-webkit-full-screen { object-fit: contain; background: #000; }

.video {
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 var(--pad3);
  border-radius: var(--radius1);
  background: var(--bg2);
  color: var(--fg3);
  user-select: none;
}

.clip {
  display: flex;
  flex-direction: column;
  gap: var(--pad2);
  margin: 0 0 var(--pad3);
  .video { margin: 0; }
  figcaption { font-size: var(--size1); color: var(--fg3); text-align: center; }
}

/* styles/carousel.css */
.carousel {
  min-width: 0;
  gap: var(--pad3);

  &.wide { display: flex; }

  --gap: var(--pad4);
  @media (width <= 700px) { --gap: var(--pad5); }

  &:not(.scripted) {
    flex-direction: row;
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    &::-webkit-scrollbar { display: none; }
  }
  :where(&:not(.scripted)) > * { flex: 0 0 var(--item, 100%); min-width: 0; scroll-snap-align: start; }

  &:not(.bleed) .track {
    flex-direction: row;
    gap: var(--pad4);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    &::-webkit-scrollbar { display: none; }
    @media (width <= 700px) { gap: var(--pad5); }
  }
  :where(&:not(.bleed) .track) > * { flex: 0 0 100%; scroll-snap-align: start; }

  &.bleed .track { overflow: hidden; touch-action: pan-y pinch-zoom; }
  .slides { flex-direction: row; margin-inline: calc(var(--gap) / -2); }
  :where(.slides) > * { flex: 0 0 100%; min-width: 0; }
  .slides > * { margin: 0 calc(var(--gap) / 2); }

  .nav {
    display: none;
    flex-direction: row;
    align-self: end;
    border-radius: 999px;
    background: var(--bg2);
    user-select: none;
  }

  &.scrollable .nav { display: flex; }

  .nav button {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    color: var(--fg2);
    background: transparent;
    cursor: pointer;
    transition: .1s linear background-color, .1s linear color;

    &::before {
      content: '';
      display: block;
      width: 1.5rem;
      height: 1.5rem;
      margin: auto;
      background: currentColor;
      mask: var(--chevron) center / contain no-repeat;
    }

    @media (hover: hover) { &:hover:not(:disabled) { background: var(--bg3); } }
    &:disabled { cursor: default; color: var(--bg3); }
  }

  .prev::before { transform: scaleX(-1); }

  &.bleed {
    --item: min(var(--width3), 100vw - 2 * var(--pad3));
    --side: calc((100vw - var(--item)) / 2);
    display: flex;
    align-self: center;
    width: 100vw;
    gap: var(--pad4);
    margin-bottom: var(--pad5);

    :where(.slides) > * { flex-basis: var(--item); }
    .nav { margin-right: var(--side); }

    &:not(.scripted) { padding-inline: var(--side); scroll-padding-inline: var(--side); }
    :where(&:not(.scripted)) > * { scroll-snap-align: center; }
  }

  &.bleed.narrow { --item: min(var(--width2), 100vw - 2 * var(--pad3)); }
}

/* styles/charts.css */
.chart {
  --chart-height: 280px;
  --chart-pad-top: 0px;
  --chart-pad-right: 0px;
  --chart-pad-bottom: 0px;
  --chart-pad-left: 0px;
  --chart-tick-size: 6px;
  --chart-tick-gap: 6px;
  --chart-label-gap: 12px;
  --chart-label-angle: 0;
  --chart-ticks: 5;
  --chart-bar-fill: 0.7;
  --chart-bar-max: 64px;
  --chart-bar-gap: 2px;
  --chart-line-inset: 24px;
  --chart-dot-radius: 8px;
  --chart-donut: 0.6;
  --chart-error-cap: 8px;

  position: relative;
  margin: 0 0 var(--pad4);
  font-size: var(--size1);

  svg { display: block; width: 100%; overflow: visible; }
  text { fill: var(--fg3); }
  .label { fill: var(--fg1); }
  .grid { stroke: var(--bg3); }
  .bar, .dot, .slice { fill: var(--fill); transition: fill .15s; }
  .slice:hover,
  .bar:has(+ .hit:hover),
  .dot.active { fill: color-mix(in oklab, var(--fill), black 20%); }
  .bar { rx: 3px; }
  .line { fill: none; stroke: var(--stroke); stroke-width: 2.5px; }
  .line.trend { stroke: var(--fg1); stroke-width: 2px; stroke-dasharray: 12 6; shape-rendering: geometricPrecision; }
  .slice { stroke: var(--bg1); stroke-width: 2px; }
  .error { stroke: var(--fg2); stroke-width: 1.5px; fill: none; pointer-events: none; }
  .halo { stroke: none; fill: none; pointer-events: none; }
  &.line .halo { stroke: var(--bg1); stroke-width: 6.5px; stroke-linecap: square; }
  &.line circle.halo { fill: var(--bg1); stroke-width: 4px; }
  &.line .error { stroke: var(--fill); stroke-width: 2.5px; stroke-linecap: square; }
  .hit { fill: transparent; }

  .tip {
    position: fixed;
    pointer-events: none;
    padding: 10px 14px;
    border: 1px solid var(--bg2);
    border-radius: 8px;
    background: var(--bg1);
    color: var(--fg3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    white-space: nowrap;
    transform: translate(-50%, calc(-100% - 8px));
    opacity: 0;
    transition: opacity .15s;
  }
  .tip.visible { opacity: 1; }
  .tip-label { color: var(--fg1); }
  .tip-label:empty { display: none; }

  .legend { display: flex; flex-flow: row wrap; gap: var(--pad2); color: var(--fg2); }
  .legend span:not(.detail)::before {
    content: '';
    display: inline-block;
    width: .7em;
    height: .7em;
    margin-right: .4em;
    border-radius: 50%;
    background: var(--color);
  }

  .title { margin-bottom: var(--pad2); color: var(--fg1); font-size: var(--size2); text-align: center; }
  &:not(:has(> .title)) { padding-top: var(--pad3); }
}

.chart.table {
  .grid {
    display: grid;
    grid-template-columns: repeat(calc(var(--columns) + 1), minmax(0, 16rem));
    justify-content: center;
    gap: 0 var(--pad3);
    align-items: center;
  }
  .head { align-self: center; padding-bottom: var(--pad1); color: var(--fg1); }
  .head + .head { padding-left: calc(3em + var(--pad1)); }
  .name, .cell { padding: .175em 0; line-height: 1; }
  .name { color: var(--fg2); }
  .cell { display: grid; grid-template-columns: 3em 1fr; gap: var(--pad1); align-items: center; }
  .value { color: var(--fg2); text-align: right; font-variant-numeric: tabular-nums; }
  .track { height: .75em; }
  .fill { height: 100%; border-radius: 2px; background: var(--fill); }
  .tabs, .more { display: none; }

  @media (max-width: 600px) {
    .grid { grid-template-columns: 1fr 1fr; }
    .head { display: none; }
    .tabs { grid-column: 1 / -1; display: flex; gap: .5rem; padding-bottom: var(--pad1); }
    .tabs button, .more { padding: .3em .7em; border: none; border-radius: var(--radius1); background: var(--bg2); font: inherit; color: var(--fg2); cursor: pointer; }
    .tabs .active { background: var(--fg2); color: var(--bg1); }
    .inactive, .collapsed .extra { display: none; }
    .more { display: block; grid-column: 1 / -1; margin-top: var(--pad2); }
    .name { display: -webkit-box; max-height: 2.3em; line-height: 1.15; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .cell { height: 2.3em; }
    .name, .cell { margin: .2em 0; padding: 0; }
  }
}

.chart.pie .plot {
  flex-direction: row;
  align-items: center;
  gap: var(--pad5);

  .legend { display: grid; grid-template-columns: auto auto auto; gap: var(--pad1) var(--pad3); }
  .detail { text-align: right; }
}

/* styles/dev.css */
.dev {

  section {
    outline: 1px dashed #000;
  }

  div {
    outline: 1px dashed rgba(0,0,0,0.3);
  }


}


/* styles/fonts.css */
@font-face {
  font-family: 'Die Grotesk';
  src: url('/fonts/DieGrotesk.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Die Grotesk';
  src: url('/fonts/DieGrotesk-Italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Logo';
  src: url('/fonts/LexendSubset.woff2') format('woff2');
  font-weight: 100 900;
  font-display: block;
}

/* styles/player.css */
.player {
  --play: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z'/></svg>");
  --pause: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 19h4V5H6zm8-14v14h4V5z'/></svg>");
  --sound: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 9v6h4l5 5V4L7 9zm13.5 3A4.5 4.5 0 0 0 14 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77'/></svg>");
  --silent: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.5 12A4.5 4.5 0 0 0 14 7.97v2.21l2.45 2.45c.03-.2.05-.41.05-.63m2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51A8.8 8.8 0 0 0 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71M4.27 3 3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06a9 9 0 0 0 3.69-1.81L19.73 21 21 19.73l-9-9zM12 4 9.91 6.09 12 8.18z'/></svg>");
  --enter: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z'/></svg>");
  --exit: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z'/></svg>");
  display: grid;

  > * { grid-area: 1 / 1; }
  &:has(> video:not([data-controls])) .controls { visibility: hidden; }
  &:fullscreen { align-content: center; background: #000; .controls { border-radius: 0; } }
  &:fullscreen:not(.active) { cursor: none; .controls { opacity: 0; } }
  &:fullscreen .video { height: 100vh; aspect-ratio: auto; object-fit: contain; border-radius: 0; background: #000; }

  .controls {
    align-self: end;
    z-index: 1;
    padding: var(--pad2) var(--pad2) 12px;
    border-radius: 0 0 var(--radius1) var(--radius1);
    color: #fff;
    background: linear-gradient(transparent 12px, rgb(0 0 0 / .1) calc(var(--pad4) + 12px));
    transition: .2s opacity;
  }

  .row { flex-direction: row; align-items: center; gap: .25rem; margin: 0 -.4rem; }
  .time { margin-right: auto; font-size: var(--size0); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

  button {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    color: inherit;
    background: none;
    cursor: pointer;
    transition: .1s linear background-color;

    &::before {
      content: '';
      display: block;
      width: 1.5rem;
      height: 1.5rem;
      margin: auto;
      background: currentColor;
      mask: var(--icon) center / contain no-repeat;
      filter: drop-shadow(0 0 1px rgb(0 0 0 / .3));
    }

    @media (hover: hover) { &:hover { background: rgb(0 0 0 / .2); } }
  }


  .play { --icon: var(--play); }
  &.playing .play { --icon: var(--pause); }
  .mute { --icon: var(--sound); }
  &.muted .mute { --icon: var(--silent); }
  .full { --icon: var(--enter); }
  &:fullscreen .full { --icon: var(--exit); }

  input {
    appearance: none;
    width: 100%;
    height: 4px;
    color: #fff;
    margin: .25rem 0 0;
    border-radius: 2px;
    background: linear-gradient(to right, #fff var(--played), rgb(0 0 0 / .2) 0);
    cursor: pointer;

    &::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
    &::-moz-range-thumb { width: 12px; height: 12px; border: none; border-radius: 50%; background: currentColor; }
  }

  @media (hover: hover) {
    .time, .full, input { opacity: 0; transition: .2s opacity; }
    .row { transform: translateY(calc(4px + .25rem)); transition: .2s transform; }
    &:hover :is(.time, .full, input) { opacity: 1; }
    &:hover .row { transform: none; }
  }
}

/* styles/ripple.css */
.ripple {
  position: relative;
  align-self: center;
  width: min(var(--width3), 100vw - 2 * var(--pad3));
  aspect-ratio: 16 / 9;
  margin-bottom: var(--pad5);
  border-radius: var(--radius2);
  overflow: hidden;
  background: #000;
  cursor: pointer;

  canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  > :not(canvas) { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
}

/* card.html */
[data-scope="card"] {


& {
  flex: 0 0 calc((100% - 2 * var(--pad4)) / 3);
  min-width: 20rem;
  aspect-ratio: 5 / 4;
  justify-content: end;
  position: relative;
  background: var(--fg1);
  border-radius: var(--radius1);
  overflow: clip;
}

@media (width <= 700px) { & { min-width: 100%; } }

h3 { margin: 0; font-size: var(--size3); }

.image {
  position: absolute;
  inset: 0;
  background: center / cover;
  transition: transform .4s ease;
}

&:hover .image { transform: scale(1.03); }
.anchor-top { background-position: top; }
.anchor-bottom { background-position: bottom; }

.label {
  position: relative;
  min-height: 35%;
  justify-content: end;
  padding: var(--pad3);
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}

.date {
  margin: .8rem 0 0;
  opacity: .8;
}



}
/* careers.html */
[data-scope="careers"] {


& {
  align-items: center;
  text-align: center;
  border-radius: 0 0 var(--radius3) var(--radius3);
}

.buttons { justify-content: center; }
.message > * { max-width: 100%; }


}
/* entry.html */
[data-scope="entry"] {


& {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
  gap: var(--pad6);
  padding: var(--pad2);
  margin: 0 calc(-1 * var(--pad2));
  border-radius: var(--radius2);
  transition: background-color .2s;
}

@media (hover: hover) { &:hover { background: var(--bg2); } }

.date { color: var(--fg3); }

h2 { margin: var(--pad1) 0 0; font-size: calc((var(--size3) + var(--size4)) / 2); }

.tldr { margin: var(--pad3) 0 0; }

.image {
  flex: none;
  width: 12rem;
  aspect-ratio: 1;
  border-radius: var(--radius1);
  background: var(--bg2) center / cover;
}

.anchor-top { background-position: top; }
.anchor-bottom { background-position: bottom; }

@media (width <= 700px) {
  & { flex-direction: column; align-items: stretch; gap: var(--pad4); }
  .image { width: auto; aspect-ratio: 5 / 4; }
}


}
/* footer.html */
[data-scope="footer"] {


& {
  align-items: center;
  width: 100%;
  user-select: none;
}

&.dark { font-weight: 450; }

.container {
  align-items: start;
  padding-block: var(--pad5) var(--pad3);
  & > * { width: 100%; }
}

a {
  display: inline-block;
  padding: .5rem 0;
  transition: color .2s;
}

/*
.contact {
  width: 100%;
  flex-direction: row;
  gap: var(--pad4);
  font-size: var(--size2);
  color: var(--fg3);
  justify-content: space-between;
  font-weight: normal;
  margin: 0 0 var(--pad4);
}
*/

.logo {
  font-size: var(--size-logo);
}

nav {
  font-size: var(--size2);
  margin: var(--section-big) 0 var(--pad4);
}

.lower { flex-direction: row; }

.social {
  gap: var(--pad3);
  margin: 0 0 var(--pad3);
  .icon {
    box-sizing: content-box;
    height: 1.6rem;
    width: 1.6rem;
    padding: var(--click-area);
    margin: calc(-1 * var(--click-area));
    color: var(--bg1);
  }
  .x { --icon: url('/icons/x.svg'); }
  .linkedin { --icon: url('/icons/linkedin.svg'); }
  .youtube { --icon: url('/icons/youtube.svg'); }
  .facebook { --icon: url('/icons/facebook.svg'); }
  .instagram { --icon: url('/icons/instagram.svg'); }
}

.legal {
  font-size: var(--size0);
  align-items: center;
  > a, > span { padding: .5rem .8rem; &:last-child { padding-right: 0; } }
  > span { white-space: nowrap; color: var(--fg3); }
  > a { color: var(--fg3); }
  @media (hover: hover) { > a:hover { color: var(--bg3); } }
}

@media (width <= 700px) {
  .container { padding-bottom: var(--pad3); }
  .lower {
    flex-direction: column;
    align-items: start;
  }
  .legal {
    flex-wrap: wrap;
    > a, > span { padding: .5rem 1rem .5rem 0; }
  }
}


}
/* grid.html */
[data-scope="grid"] {


& {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pad3);
  margin: var(--pad2) 0;
  @media (width <= 900px) { grid-template-columns: repeat(2, 1fr); }
  @media (width <= 700px) { grid-template-columns: 1fr; }
}


}
/* header.html */
[data-scope="header"] {

  & {
    --header: 6rem;
    display: flex;
    user-select: none;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    pointer-events: none;
  }

  .container {
    z-index: 2;
    flex-direction: row;
    align-items: center;
    height: var(--header);
    padding-block: var(--pad2);
    a, label { pointer-events: auto; }
  }

  .logo { font-size: var(--size-logo); padding: var(--click-area); margin: calc(-1 * var(--click-area)); }
  .logo::before { display: none; }
  .logo svg { flex-shrink: 0; width: 1.28em; height: 1.28em; margin-right: .4em; }
  .blink { animation: blink .2s ease-in-out .8s; transform-box: fill-box; transform-origin: center; }
  nav { margin-right: .2rem; }
  .container nav { align-items: center; }

  nav .button { padding: .7em 1.2em; margin-left: var(--pad2); }
  nav .button.primary {
    background: var(--bg2);
    color: var(--fg1);
    &:hover { background: var(--bg3); }
  }

  nav a {
    color: var(--fg1);
    font-weight: 500;
    padding: var(--pad1) var(--pad2);
    transition: color .2s, background-color .2s;
    &:last-child:not(.button) { margin-right: calc(-1 * var(--pad2)); }
    @media (hover: hover) { &:not(.button):hover { color: var(--fg2); } }
  }

  .dark & .container {
    .logo { color: var(--bg1); font-weight: 500; }
    nav .button.primary {
      background: var(--bg1);
      &:hover { background: var(--bg3); }
    }
    nav a:not(.button) {
      color: var(--bg1);
      font-weight: 450;
    }
    .navToggle { color: var(--bg1); }
  }

  label.navToggle {
    display: flex;
    padding: var(--click-area);
    margin: calc(-1 * var(--click-area));
    color: var(--fg1);
    cursor: pointer;
    transition: color .2s;
    &::before {
      content: '';
      width: 24px;
      height: 24px;
      background: currentColor;
      mask: var(--menu) center / contain no-repeat;
    }
  }
  input.navToggle { position: absolute; opacity: 0; pointer-events: none; }
  &:has(input.navToggle:focus-visible) label.navToggle { outline: 2px solid currentColor; outline-offset: -4px; }
  @media (width <= 700px) {
    html:has(& input.navToggle:checked) { overflow: hidden; }
    .dark &:has(input.navToggle:checked) .container {
      .logo { color: var(--fg1); font-weight: 600; }
      .navToggle { color: var(--fg1); }
    }
  }
  .mobileNav {
    display: flex;
    flex-direction: column;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    font-size: var(--size4);
    padding: var(--header) var(--gutter) var(--pad2);
    background: var(--bg1);
    color: var(--fg1);
    opacity: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: .2s linear opacity, .15s linear height, .2s linear visibility;
    a { padding: var(--pad2) 0; }
  }
  input.navToggle:checked ~ .mobileNav {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    height: 100dvh;
  }


}
/* hero.html */
[data-scope="hero"] {

& {
  flex-grow: 1;
  pointer-events: none;
}

.background {
  position: absolute;
  inset: calc(-1 * var(--radius3)) 0 auto;
  height: calc(100svh + 2 * var(--radius3));
  z-index: -1;
  pointer-events: auto;
  overflow: hidden;
  background: var(--bg2);
  .dark & { background: var(--fg1); }
  &::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: calc(14rem + var(--radius3));
    pointer-events: none;
    background: linear-gradient(rgba(255, 255, 255, .8) var(--radius3), transparent);
  }
  .dark &::after {
    height: calc(10rem + var(--radius3));
    /* background: linear-gradient(rgba(0, 0, 0, .5), transparent); */
    background: linear-gradient(rgba(0, 0, 0, .8) var(--radius3), transparent);
  }
}

.tagline {
  margin: 0 0 var(--pad4);
  h1 {
    font-size: var(--size6);
    font-variation-settings: "opsz" 34;
    /* letter-spacing: -0.06em; */
    margin: 1rem 0;
    text-align: center;
    max-width: 36rem;
    span { color: var(--fg3); }
  }
}

.toggles {
  display: none;
  position: absolute;
  right: var(--pad1);
  bottom: var(--pad1);
  gap: .8rem;
  font-size: .8rem;
  pointer-events: auto;
  transition: opacity .2s;
  label { cursor: pointer; }
}

@media (hover: hover) {
  &:not(:hover) .toggles:not(:focus-within) { opacity: 0; }
}

}
/* imagination.html */
[data-scope="imagination"] {

& {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
  border-radius: inherit;
  outline: none;
}

.zoom {
  display: none;
  position: absolute;
  z-index: 1;
  right: var(--pad1);
  bottom: var(--pad1);
  width: 8rem;
  transition: opacity .2s;
}

@media (hover: hover) {
  &:not(:hover) .zoom:not(:focus) { opacity: 0; }
}

}
/* tasks.html */
[data-scope="tasks"] {

& {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  container-type: inline-size;
}

svg { position: absolute; }

.tile {
  position: absolute;
  left: calc(var(--x) * 1cqw);
  top: calc(var(--y) * 1cqw);
  width: calc(var(--w) * 1cqw);
  aspect-ratio: 1 / 1.1269;
  transform: translate(-50%, -50%) rotate(var(--a));
  clip-path: url(#tasks-hex);
  background: var(--bg3);
  img {
    position: absolute;
    left: -15%;
    top: -15%;
    width: 130%;
    height: 130%;
    object-fit: cover;
    transform: rotate(calc(-1 * var(--a)));
  }
}

}
/* value.html */
[data-scope="value"] {


& {
  padding: var(--pad3);
  border-radius: var(--radius2);
  background: linear-gradient(var(--bg1), var(--bg2));
}

.symbol { width: 2.5rem; height: 2.5rem; margin: 0 0 var(--pad2); user-select: none; }
.symbol[src=""] { display: none; }
h3 { margin: 0 0 var(--pad1); }
p { margin: 0; font-size: var(--size1); }
p:empty { display: none; }


}
/*# sourceMappingURL=bundle.css.map */
