/* 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;

  --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;
  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); }
}

.controls { display: none; }

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); }

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

li {
  margin: .6rem 0;
  padding: 0 0 0 .6rem;
  position: relative;
  list-style: none;
  &::before {
    content: '';
    position: absolute;
    left: -.75rem;
    top: calc((1.33em - .5625rem) / 2);
    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.3" cy="4.3" 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: 460;
  font-variation-settings: "opsz" 22;
  .dark & { font-weight: 400; }
}
h1 { font-size: var(--size4); }
h2 { font-size: var(--size4); }
h3 { font-size: var(--size2); }

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

.button, .buttons > a {
  &, &:visited {
    font-size: .9em;
    display: inline-flex;
    align-items: center;

    padding: .85em 1.2em;

    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: -1rem -.5rem -1rem 0;
    background: currentColor;
    mask: var(--chevron) center / contain no-repeat;
  }

}

.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: 72px;
  }
}

@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: 112px;
  }
}

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

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

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

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


/* 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;
}

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


& {
  aspect-ratio: 3 / 4;
  justify-content: end;
  position: relative;
  background: var(--fg1);
  border-radius: var(--radius1);
  overflow: clip;
}

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); }

.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;
}



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


& {
  min-width: 0;
  gap: var(--pad4);
}

.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; }
  > * {
    flex: 0 0 calc((100% - 2 * var(--pad4)) / 3);
    min-width: 20rem;
    scroll-snap-align: start;
  }
  @media (width <= 700px) {
    gap: var(--pad5);
    > * { min-width: 100%; }
  }
}

.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(--fg1);
  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 { color: var(--fg3); cursor: default; } */
  &:disabled { cursor: default; }
}

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


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

  & {
    position: absolute;
    bottom: var(--pad1);
    left: var(--pad1);
    z-index: 10;
    font-size: 0.75rem;
    font-family: sans-serif;
  }

  #splash-toggle {
    background: rgba(0,0,0,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: inherit;
  }
  #splash-panel {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0.4rem;
    background: rgba(0,0,0,0.85);
    color: #fff;
    border-radius: 6px;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 20rem;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
  }
  #splash-hide {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: inherit;
    align-self: flex-end;
  }
  #splash-panel label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  #splash-panel input[type="range"] {
    width: 80px;
    margin-left: auto;
  }
  .splash-num {
    flex: none;
    width: 3rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.1rem 0.3rem;
    font-size: inherit;
    text-align: right;
  }
  #splash-panel select {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-size: inherit;
  }
  #splash-panel input[type="color"] {
    width: 40px;
    height: 24px;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .splash-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .splash-presets button {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    font-size: inherit;
  }
  .splash-presets button:hover {
    background: rgba(255,255,255,0.3);
  }
  #splash-output,
  #ss-output {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    word-break: break-all;
    user-select: text;
  }
  .splash-subheading {
    margin: 0.4rem -0.6rem 0;
    padding: 0.35rem 0.6rem;
    background: rgba(255,255,255,0.14);
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
  }
  .splash-tab-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .splash-tab-content label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .splash-tab-content button {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    font-size: inherit;
  }

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


& {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
  gap: var(--pad4);
  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); }

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

@media (width <= 700px) {
  & { flex-direction: column; align-items: stretch; }
  .image { width: auto; }
}


}
/* 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;
    margin: 1rem 0;
    text-align: center;
    max-width: 36rem;
    font-weight: 450;
    span { color: var(--fg3); }
  }
}

.toggles {
  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 {
  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 */
