@layer kit.reset {
  *, :before, :after {
    box-sizing: border-box;
  }

  html {
    text-size-adjust: none;
    hanging-punctuation: first last;
  }

  body {
    min-block-size: 100svh;
    margin: 0;
  }

  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin-block: 0;
  }

  h1, h2, h3, h4, button, input, label {
    line-height: 1.1;
  }

  h1, h2, h3, h4 {
    text-wrap: balance;
  }

  p, li, figcaption {
    overflow-wrap: break-word;
  }

  p {
    text-wrap: pretty;
  }

  img, picture, svg, video, canvas {
    max-inline-size: 100%;
    display: block;
  }

  img, video {
    block-size: auto;
  }

  input, button, textarea, select {
    font: inherit;
  }

  textarea:not([rows]) {
    min-block-size: 10em;
  }

  :target {
    scroll-margin-block: 5ex;
  }

  [hidden] {
    display: none !important;
  }
}

@layer kit.tokens {
  :root {
    --step--2: clamp(.6944rem, .6856rem + .0445vw, .72rem);
    --step--1: clamp(.8333rem, .8101rem + .1159vw, .9rem);
    --step-0: clamp(1rem, .9565rem + .2174vw, 1.125rem);
    --step-1: clamp(1.2rem, 1.1283rem + .3587vw, 1.4063rem);
    --step-2: clamp(1.44rem, 1.3295rem + .5527vw, 1.7578rem);
    --step-3: clamp(1.728rem, 1.5648rem + .8161vw, 2.1973rem);
    --step-4: clamp(2.0736rem, 1.8396rem + 1.1703vw, 2.7466rem);
    --step-5: clamp(2.4883rem, 2.1597rem + 1.6434vw, 3.4332rem);
    --space-3xs: clamp(.25rem, .2391rem + .0543vw, .2813rem);
    --space-2xs: clamp(.5rem, .4783rem + .1087vw, .5625rem);
    --space-xs: clamp(.75rem, .7174rem + .163vw, .8438rem);
    --space-s: clamp(1rem, .9565rem + .2174vw, 1.125rem);
    --space-m: clamp(1.5rem, 1.4348rem + .3261vw, 1.6875rem);
    --space-l: clamp(2rem, 1.913rem + .4348vw, 2.25rem);
    --space-xl: clamp(3rem, 2.8696rem + .6522vw, 3.375rem);
    --space-2xl: clamp(4rem, 3.8261rem + .8696vw, 4.5rem);
    --space-3xl: clamp(6rem, 5.7391rem + 1.3043vw, 6.75rem);
    --space-xs-s: clamp(.75rem, .6196rem + .6522vw, 1.125rem);
    --space-s-m: clamp(1rem, .7609rem + 1.1957vw, 1.6875rem);
    --space-s-l: clamp(1rem, .5652rem + 2.1739vw, 2.25rem);
    --space-m-xl: clamp(1.5rem, .8478rem + 3.2609vw, 3.375rem);
    --space-l-2xl: clamp(2rem, 1.1304rem + 4.3478vw, 4.5rem);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
    --measure: 65ch;
    --page-measure: 72rem;
    --gutter: var(--space-s-l);
    --color-text: #202124;
    --color-background: #fff;
    --color-accent: #3157d5;
    --color-border: #d8dbe2;
    --radius-s: .25rem;
    --radius-m: .75rem;
    --radius-l: 1.5rem;
  }
}

@layer kit.elements {
  html {
    color: var(--color-text);
    background: var(--color-background);
    font-family: var(--font-sans);
    font-size: var(--step-0);
    line-height: 1.5;
  }

  body {
    background: inherit;
  }

  a {
    color: var(--color-accent);
    text-underline-offset: .15em;
    text-decoration-thickness: .08em;
  }

  :focus-visible {
    outline-offset: .2rem;
    outline: .18rem solid;
  }

  code, pre {
    font-family: var(--font-mono);
  }
}

@layer kit.layouts {
  :where(.l-stack) {
    flex-direction: column;
    justify-content: flex-start;
    display: flex;
  }

  :where(.l-stack) > * {
    margin-block: 0;
  }

  :where(.l-stack) > * + * {
    margin-block-start: var(--stack-space, var(--space-m));
  }

  :where(.l-stack[data-split-after="1"]) > :first-child, :where(.l-stack[data-split-after="2"]) > :nth-child(2), :where(.l-stack[data-split-after="3"]) > :nth-child(3), :where(.l-stack[data-split-after="4"]) > :nth-child(4), :where(.l-stack[data-split-after="5"]) > :nth-child(5), :where(.l-stack[data-split-after="6"]) > :nth-child(6) {
    margin-block-end: auto;
  }

  :where(.l-box) {
    padding: var(--box-padding, var(--space-m));
    border: var(--box-border-width, 1px) solid var(--box-border-color, var(--color-border));
    border-radius: var(--box-radius, 0);
    color: var(--box-color, inherit);
    background: var(--box-background, transparent);
  }

  :where(.l-box[data-borderless]) {
    border-color: #0000;
  }

  :where(.l-center) {
    box-sizing: content-box;
    max-inline-size: var(--center-measure, var(--page-measure));
    padding-inline: var(--center-gutter, var(--gutter));
    margin-inline: auto;
  }

  :where(.l-center[data-intrinsic]) {
    flex-direction: column;
    align-items: center;
    display: flex;
  }

  :where(.l-cluster) {
    gap: var(--cluster-space, var(--space-s));
    align-items: var(--cluster-align, center);
    justify-content: var(--cluster-justify, flex-start);
    flex-wrap: wrap;
    display: flex;
  }

  :where(.l-sidebar) {
    gap: var(--sidebar-space, var(--space-m));
    align-items: var(--sidebar-align, stretch);
    flex-wrap: wrap;
    display: flex;
  }

  :where(.l-sidebar) > [data-sidebar] {
    flex-basis: var(--sidebar-width, 20rem);
    flex-grow: 1;
  }

  :where(.l-sidebar) > :not([data-sidebar]) {
    min-inline-size: min(100%, var(--sidebar-content-min, 50%));
    flex-grow: 999;
    flex-basis: 0;
  }

  :where(.l-switcher) {
    gap: var(--switcher-space, var(--space-m));
    flex-wrap: wrap;
    display: flex;
  }

  :where(.l-switcher) > * {
    flex-basis: calc((var(--switcher-threshold, 40rem) - 100%) * 999);
    flex-grow: 1;
  }

  :where(.l-switcher[data-limit="2"]) > :nth-last-child(n+3), :where(.l-switcher[data-limit="2"]) > :nth-last-child(n+3) ~ *, :where(.l-switcher[data-limit="3"]) > :nth-last-child(n+4), :where(.l-switcher[data-limit="3"]) > :nth-last-child(n+4) ~ *, :where(.l-switcher[data-limit="4"]) > :nth-last-child(n+5), :where(.l-switcher[data-limit="4"]) > :nth-last-child(n+5) ~ *, :where(.l-switcher[data-limit="5"]) > :nth-last-child(n+6), :where(.l-switcher[data-limit="5"]) > :nth-last-child(n+6) ~ *, :where(.l-switcher[data-limit="6"]) > :nth-last-child(n+7), :where(.l-switcher[data-limit="6"]) > :nth-last-child(n+7) ~ * {
    flex-basis: 100%;
  }

  :where(.l-cover) {
    min-block-size: var(--cover-min, 100svh);
    padding: var(--cover-space, var(--space-m));
    flex-direction: column;
    display: flex;
  }

  :where(.l-cover) > * {
    margin-block: var(--cover-space, var(--space-m));
  }

  :where(.l-cover) > :first-child:not([data-principal]) {
    margin-block-start: 0;
  }

  :where(.l-cover) > :last-child:not([data-principal]) {
    margin-block-end: 0;
  }

  :where(.l-cover) > [data-principal] {
    margin-block: auto;
  }

  :where(.l-grid) {
    grid-template-columns: repeat(auto-fit,
    minmax(min(100%, var(--grid-min, 16rem)), 1fr));
    gap: var(--grid-space, var(--space-m));
    align-items: var(--grid-align, stretch);
    display: grid;
  }

  :where(.l-frame) {
    aspect-ratio: var(--frame-ratio, 16 / 9);
    display: block;
    overflow: hidden;
  }

  :where(.l-frame) > img, :where(.l-frame) > video, :where(.l-frame) > picture, :where(.l-frame) > picture > img {
    object-fit: var(--frame-fit, cover);
    object-position: var(--frame-position, center);
    block-size: 100%;
    inline-size: 100%;
  }

  :where(.l-reel) {
    gap: var(--reel-space, var(--space-m));
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--reel-thumb, currentColor) var(--reel-track, transparent);
    block-size: auto;
    display: flex;
    overflow: auto hidden;
  }

  :where(.l-reel) > * {
    flex: 0 0 var(--reel-item, auto);
  }

  :where(.l-reel) > img, :where(.l-reel) > picture {
    flex-basis: auto;
    block-size: 100%;
    inline-size: auto;
  }

  :where(.l-imposter) {
    max-inline-size: calc(100% - var(--imposter-margin, var(--space-m)) - var(--imposter-margin, var(--space-m)));
    max-block-size: calc(100% - var(--imposter-margin, var(--space-m)) - var(--imposter-margin, var(--space-m)));
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    overflow: auto;
    transform: translate(-50%, -50%);
  }

  :where(.l-imposter[data-fixed]) {
    max-inline-size: calc(100vw - var(--imposter-margin, var(--space-m)) - var(--imposter-margin, var(--space-m)));
    max-block-size: calc(100dvh - var(--imposter-margin, var(--space-m)) - var(--imposter-margin, var(--space-m)));
    position: fixed;
  }

  :where(.l-icon) {
    gap: var(--icon-space, .5em);
    align-items: var(--icon-align, baseline);
    display: inline-flex;
  }

  :where(.l-icon) > svg, :where(.l-icon) > img {
    flex: 0 0 var(--icon-size, .9em);
    inline-size: var(--icon-size, .9em);
    block-size: var(--icon-size, .9em);
    transform: translateY(var(--icon-adjust, .1em));
  }

  :where(.l-container) {
    container-name: var(--container-name, site-kit);
    container-type: inline-size;
  }
}

@layer kit.components {
  :where(.c-hero) {
    isolation: isolate;
    min-block-size: var(--hero-min, min(42rem, 100svh));
    color: var(--hero-color, #fff);
    background: var(--hero-background, #22252b);
    position: relative;
    overflow: hidden;
  }

  :where(.c-hero):after {
    z-index: -1;
    background: var(--hero-overlay, linear-gradient(90deg, #000000b8, #0000001f));
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
  }

  :where(.c-hero__media) {
    z-index: -2;
    block-size: 100%;
    inline-size: 100%;
    position: absolute;
    inset: 0;
  }

  :where(.c-hero__media) > img, :where(.c-hero__media) > picture, :where(.c-hero__media) > picture > img {
    object-fit: var(--hero-media-fit, cover);
    object-position: var(--hero-media-position, center);
    block-size: 100%;
    inline-size: 100%;
  }

  :where(.c-hero__content) {
    inline-size: 100%;
    max-inline-size: var(--hero-content-measure, 48rem);
    position: relative;
  }

  :where(.c-image) {
    aspect-ratio: var(--image-ratio, auto);
    border-radius: var(--image-radius, 0);
    background: var(--image-background, transparent);
    display: block;
    overflow: hidden;
  }

  :where(.c-image) > img, :where(.c-image) > picture, :where(.c-image) > picture > img {
    object-fit: var(--image-fit, cover);
    object-position: var(--image-position, center);
    block-size: 100%;
    inline-size: 100%;
  }

  :where(.c-figure) {
    gap: var(--figure-space, var(--space-2xs));
    display: grid;
  }

  :where(.c-figure) > figcaption {
    color: var(--figure-caption-color, currentColor);
    font-size: var(--figure-caption-size, var(--step--1));
  }

  :where(.c-carousel) {
    --carousel-item: min(82vw, 32rem);
    --carousel-space: var(--space-m);
    gap: var(--carousel-space);
    display: grid;
  }

  :where(.c-carousel__controls) {
    gap: var(--space-xs);
    justify-content: flex-end;
    display: flex;
  }

  :where(.c-carousel__track) {
    gap: var(--carousel-space);
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--carousel-scroll-padding, 0);
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--carousel-thumb, currentColor) var(--carousel-track, transparent);
    padding-block-end: var(--space-xs);
    display: flex;
    overflow-x: auto;
  }

  :where(.c-carousel__slide) {
    flex: 0 0 var(--carousel-item);
    scroll-snap-align: start;
    max-inline-size: 100%;
  }

  :where(.c-carousel__controls button) {
    min-block-size: 2.75rem;
    min-inline-size: 2.75rem;
  }

  :where(.c-carousel__controls button:disabled) {
    opacity: .45;
  }

  @media (prefers-reduced-motion: no-preference) {
    :where(.c-carousel__track) {
      scroll-behavior: smooth;
    }
  }
}

@layer kit.utilities {
  :where(.u-visually-hidden:not(:focus, :active)) {
    clip-path: inset(50%);
    white-space: nowrap;
    block-size: 1px;
    inline-size: 1px;
    position: absolute;
    overflow: hidden;
  }

  :where(.u-region) {
    padding-block: var(--region-space, var(--space-xl));
  }
}
