/*! @license React Bits Gradient ASCII
 * Source: https://github.com/DavidHDev/react-bits/tree/701a8acc34f718b305d1ff0cc7d4700df0e1f1c9/src/ts-default/Backgrounds/GradientASCII
 *
 * MIT + Commons Clause License Condition v1.0
 *
 * Copyright (c) 2026 David Haz
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, and distribute the Software **as part of an application, website, or product**, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * ## Commons Clause Restriction
 *
 * You may use this Software, including for any commercial purpose, **so long as you do not sell, sublicense, or redistribute the components themselves-whether alone, in a bundle, or as a ported version.**
 *
 * The same restriction covers the React Bits tools (Background Studio, Texture Lab, Shape Magic, Center Stage, Sound Lab and any tools added later) and the sounds in the sound library. **You may not sell, sublicense, or redistribute the tools or the sounds themselves, or offer the tools or a substantially similar copy of them as a hosted service-whether alone, in a bundle, or as a ported version.**
 *
 * What you make with the tools is yours to use. You can use exported code, images, videos, and audio files in any personal or commercial application, website, or product, including paid ones. **You may not sell or redistribute the exports on their own, either individually or as the product itself, such as a sound, texture, background, or template pack.**
 *
 * ## No Warranty
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
.gradient-ascii-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gradient-ascii-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
body:has(.public-modeles) { margin: 0; background: #fff; color-scheme: light; }
.public-modeles {
  --models-surface: #140c14;
  --models-fade-duration: 1100ms;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.public-modeles > main {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--models-surface);
}

.public-modeles-hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 18svh, 10rem) 1rem clamp(2rem, 5svh, 3rem);
}

.public-modeles-custom-title { max-width: 17em; text-align: center; overflow-wrap: anywhere; }

.public-modeles-heading {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(1.25rem, 4vw, 2.125rem);
  color: #faf9f5;
}

.public-modeles-heading time {
  font: 500 0.875rem/1.25 "Public Navigation Geist", sans-serif;
  letter-spacing: .12em;
  text-shadow: 0 1px 5px rgb(20 12 20 / 55%);
  text-transform: uppercase;
}

.public-modeles-heading h1 {
  display: grid;
  margin: 0;
  font: 465 clamp(1.125rem, 6.2vw, 4.75rem)/1.08 "Newsreader", Georgia, serif;
  letter-spacing: -.01em;
}

.public-modeles-heading h1 strong {
  font-weight: inherit;
}

.public-modeles-heading h1 > span:first-child {
  padding-inline-end: 1.65em;
}

.public-modeles-heading h1 > span:last-child {
  padding-inline-start: 1.6em;
  letter-spacing: -.022em;
  text-align: end;
}

.public-modeles .gradient-ascii-container {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 46%, #381825, transparent 65%), var(--models-surface);
}

.public-modeles .gradient-ascii-canvas { opacity: 0; }
.public-modeles .gradient-ascii-canvas[data-rendered] { opacity: .92; }

@media (prefers-reduced-motion: no-preference) {
  .public-modeles > :is(main, .public-footer) {
    animation: models-fade-in var(--models-fade-duration) ease-in-out both;
  }

  .public-modeles .models-content-inner {
    animation: models-fade-in 240ms ease-out both;
  }

  .public-modeles .gradient-ascii-canvas[data-rendered] {
    animation: models-ascii-fade-in var(--models-fade-duration) ease-in-out both;
  }
}

@keyframes models-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes models-ascii-fade-in {
  from { opacity: 0; }
  to { opacity: .92; }
}

.public-modeles .gradient-ascii-container::before,
.public-modeles .gradient-ascii-container::after {
  position: absolute;
  z-index: 1;
  inset-inline: 0;
  pointer-events: none;
  content: "";
}

.public-modeles .gradient-ascii-container::before {
  top: 0;
  height: clamp(3.5rem, 12svh, 8rem);
  background: linear-gradient(#fff, rgb(255 255 255 / 80%) 22%, rgb(255 255 255 / 25%) 65%, transparent);
}

.public-modeles .gradient-ascii-container::after {
  bottom: 0;
  height: 28%;
  background: linear-gradient(transparent, var(--models-surface));
}

.public-modeles .models-content {
  background: transparent;
  padding-top: clamp(1rem, 3vw, 2rem);
}

.public-modeles .public-footer {
  --footer-ink: #f6e9ef;
  --footer-muted: #c9b4c2;
  --footer-rule: #382631;
  --home-muted: #bba4b4;
  background: var(--models-surface);
  color-scheme: dark;
}

.public-modeles .public-footer-group-heading button { color: inherit; }
.public-modeles .public-footer .public-footer-cta { background: #ff98aa; color: #271019; }
.public-modeles .public-footer .public-footer-cta:hover { background: #ffb3c0; }
.public-modeles .public-footer .public-footer-cta:focus-visible { box-shadow: 0 0 0 3px #ffc4d0; }
.public-modeles .public-footer-cta .public-home-arrow img { filter: brightness(0); }
