/* ------------------------------------------------------------------
   Tokens. Light is the signature; dark is designed, not inverted.
   ------------------------------------------------------------------ */
:root {
  --cyan: #4cd8e5;
  --orange: #ff8a29;
  --red: #e65950;
  /* Shapes use the colors above. Small text in color uses these, which
     pass WCAG AA (4.5:1) on paper. In dark mode they are the shape colors. */
  --cyan-text: #0a7884;
  --orange-text: #b8560d;
  --red-text: #c43d33;
  /* Type drawn in color on paper (Pure ASCII): the same hues, deeper and
     as saturated as the screen allows (OKLCH L .68/.67/.60), so they print
     vividly instead of washing out. On dark, brighter and more saturated
     versions (orange is already at the screen's limit). */
  /* Pure ASCII inks: on dark, cyan and red a
     little more saturated than the brand colors, orange as is; on paper,
     deeper versions of the same hues so thin type holds up. */
  --cyan-ink: #17acb8;
  --orange-ink: #df7412;
  --red-ink: #db423c;

  --paper: #fbfaf7;
  --paper-2: #f2f0eb;
  --ink: #161616;
  --ink-2: #5f5e5a;
  --ink-3: #9b9a95;
  --line: rgb(22 22 22 / 0.12);
  --frame: #ffffff;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 12px 32px -8px rgb(0 0 0 / 0.16), 0 40px 80px -24px rgb(0 0 0 / 0.18);
  /* Cut-out screens and pages (transparent images): the shadow follows the shape. */
  --cutout-shadow: drop-shadow(0 8px 12px rgb(0 0 0 / 0.13));
  --dot: #161616;

  /* --font-display, --font-body and --font-mono come from astro.config.mjs */

  /* Motion: calm. Gentle ease-outs, nothing snappy.
     --dur-1 for small hovers, --dur-2 for things that move or grow. */
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-soft: cubic-bezier(0.45, 0.05, 0.25, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 0.5s;
  --dur-2: 0.85s;

  --gutter: clamp(20px, 5vw, 96px);
  /* Space reserved on the right for the vertical nav: nothing enters it. */
  --nav-zone: calc(clamp(14px, 2.4vw, 40px) + 72px);
  --max: 1320px;
  /* The logo and the side nav follow the window's edges up to a 1760px
     wide frame; on bigger screens they stay at that frame's edges, close
     to the content, instead of flying out to the corners. --edge is how
     far the frame sits in from each side of the window. */
  --chrome-max: 1760px;
  --edge: max(0px, (100vw - var(--chrome-max)) / 2);
  /* Corners (see DESIGN-RULES.md): square by default. Screens of real UI
     (browser windows, app windows, phones) get a small radius, as a share
     of their own width so every size of window is an exact scaled copy. */
  --radius: 0;
  --r-window: 0.8% / 1.214%; /* 16:10 window + bar: ≈0.8% of the width */
  --r-window-fixed: 8px; /* windows whose height follows their content */

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0e0e0d;
    --paper-2: #181816;
    --ink: #f3f1ea;
    --ink-2: #a6a49c;
    --ink-3: #6b6a64;
    --line: rgb(243 241 234 / 0.12);
    --frame: #1c1c1a;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -8px rgb(0 0 0 / 0.6), 0 40px 80px -24px rgb(0 0 0 / 0.7);
    --cutout-shadow: drop-shadow(0 10px 18px rgb(0 0 0 / 0.55));
    --dot: #f3f1ea;
    --cyan-text: var(--cyan);
    --orange-text: var(--orange);
    --red-text: var(--red);
    --cyan-ink: #1ae1f0;
    --orange-ink: var(--orange);
    --red-ink: #fd564e;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #0e0e0d;
  --paper-2: #181816;
  --ink: #f3f1ea;
  --ink-2: #a6a49c;
  --ink-3: #6b6a64;
  --line: rgb(243 241 234 / 0.12);
  --frame: #1c1c1a;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -8px rgb(0 0 0 / 0.6), 0 40px 80px -24px rgb(0 0 0 / 0.7);
  --cutout-shadow: drop-shadow(0 10px 18px rgb(0 0 0 / 0.55));
  --dot: #f3f1ea;
  --cyan-text: var(--cyan);
  --orange-text: var(--orange);
  --red-text: var(--red);
  --cyan-ink: #1ae1f0;
  --orange-ink: var(--orange);
  --red-ink: #fd564e;
  color-scheme: dark;
}

/* ------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  /* The scrollbar's space is always reserved, so locking scroll (quick
     looks) never shifts the page or the fixed nav. */
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video,
canvas:not(.typeart) {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}
/* No widows: short blocks are balanced line by line, longer prose uses
   "pretty" wrapping, which keeps a lone word off the last line. */
p,
li,
dd {
  text-wrap: pretty;
}
.lede,
.summary,
.body,
.hello,
.note,
blockquote p,
figcaption,
.text > p,
dd {
  text-wrap: balance;
}
a {
  color: inherit;
}
::selection {
  background: var(--cyan);
  color: #161616;
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 900px) {
  .wrap {
    padding-right: max(var(--gutter), var(--nav-zone));
  }
}

/* Scroll-driven reveal. Native scroll; the browser runs it off the main
   thread. Browsers without support simply show everything. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 55%;
    }
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 48px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* ------------------------------------------------------------------
   Buttons. One family: solid (.btn) and outline (.btn.ghost).
   A colored circle grows from wherever the pointer enters (buttons.ts).
   ------------------------------------------------------------------ */
.btn {
  --fill: var(--orange);
  --fx: 50%;
  --fy: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 19px 27px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: color var(--dur-2) var(--ease-soft);
}
.btn::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: var(--fx);
  top: var(--fy);
  width: 300%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--fill);
  translate: -50% -50%;
  scale: 0;
  /* Same speed in and out. */
  transition: scale var(--dur-2) var(--ease-soft);
}
.btn:hover::before,
.btn:focus-visible::before {
  scale: 1;
}
.btn:hover,
.btn:focus-visible {
  color: #161616;
}
.btn .label,
.btn .icon {
  position: relative;
  display: inline-block;
}
.btn .icon {
  width: 16px;
  height: 16px;
  overflow: hidden;
}
.btn .icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
/* The arrow drops out and a new one drops in. */
.btn .icon svg + svg {
  position: absolute;
  inset: 0;
  translate: var(--ix, 0) var(--iy, -100%);
}
.btn .icon svg:first-child {
  transition: translate var(--dur-2) var(--ease-soft);
}
.btn .icon svg + svg {
  transition: translate var(--dur-2) var(--ease-soft) 0.08s;
}
.btn:hover .icon svg:first-child {
  translate: var(--ox, 0) var(--oy, 100%);
}
.btn:hover .icon svg + svg {
  translate: 0 0;
}
.btn.side .icon {
  --ix: -100%;
  --iy: 0;
  --ox: 100%;
  --oy: 0;
}
/* The outline is drawn under the fill, so the fill always covers it. */
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.ghost:hover,
.btn.ghost:focus-visible {
  color: #161616;
}
.btn .meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
.btn:active {
  scale: 0.985;
}

/* ------------------------------------------------------------------
   Page transitions (public/morph.js + scripts/transitions.ts). The real
   elements move; nothing is snapshotted, so nothing can flash.
   - Card ↔ case study: the page fades to its background around the card's
     window and shape, which glide to their place on the other page.
   - Everything else: content fades out, the next page fades in.
   The logo and nav never move.
   ------------------------------------------------------------------ */
.st-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
}
.st-cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background: var(--paper);
}
.stage.is-morph,
.cs .hero .shape-dots.is-morph,
.cs .hero .shape.is-morph {
  z-index: 1001;
}
.cs .hero__frame.is-morph {
  z-index: 1002;
}

html.morphing .sticker,
html.morphing .sidenav {
  z-index: 1003;
}
html.is-leaving main,
html.is-leaving .footer {
  opacity: 0;
  transition: opacity 0.28s var(--ease-soft);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.morphing):not(.landed) main,
  html:not(.morphing):not(.landed) .footer {
    animation: page-in 0.6s var(--ease) backwards;
  }
}
/* Hold every entrance at its first frame until the fonts are ready. */
html:not(.fonts-ready) main,
html:not(.fonts-ready) .footer,
html:not(.fonts-ready) main * {
  animation-play-state: paused !important;
}
@keyframes page-in {
  from {
    opacity: 0;
    translate: 0 14px;
  }
}

/* The cursor chip for quick-look tiles (site.ts). */
.cchip {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c, var(--cyan));
  color: #161616;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  scale: 0;
  transition: scale var(--dur-2) var(--ease-soft);
}
.cchip.on {
  scale: 1;
}
@media (hover: none) {
  .cchip {
    display: none;
  }
}
/* A quick look is open: the page behind stays put. */
html.ql-open {
  overflow: hidden;
}

/* Theme switch: a circle grows out of the toggle (see theme.ts). */
html.vt-theme * {
  view-transition-name: none !important;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/* Transparent cut-outs of screens and pages get their shadow from the site,
   so it suits the light and the dark theme. */
.cutout {
  filter: var(--cutout-shadow);
}

/* ------------------------------------------------------------------
   Exploration (html[data-look]): the depth looks. Outside the hero, every
   shape is a solid block with a short drawn depth up and to the right (the
   angle the hero house uses), in a shaded version of its own color. The
   halftone print shadows step aside: the depth does that job now.
   ------------------------------------------------------------------ */
html:is([data-look='depth'], [data-look='ascii']) :is(.glyph-dots, .shape-dots, .ql__dots, .client__dots, .dots, .aimark__dots) {
  display: none;
}
html:is([data-look='depth'], [data-look='ascii']) :is(.glyph, .shape, .ql__shape:not(.ql__dots), .client__shape:not(.client__dots), .orb .solid) {
  --x: 1px;
  --side: color-mix(in oklab, var(--c) 62%, #000);
  --step: drop-shadow(var(--x) calc(var(--x) * -1) 0 var(--side));
  filter: var(--step) var(--step) var(--step) var(--step) var(--step) var(--step) var(--step) var(--step);
}
html:is([data-look='depth'], [data-look='ascii']) .glyph {
  --x: 0.011em;
}
html:is([data-look='depth'], [data-look='ascii']) :is(.shape, .ql__shape, .client__shape) {
  --x: 1.6px;
}
/* A clip-path would cut the depth off, so a triangle is drawn by a
   clipped ::before inside an unclipped box. */
html:is([data-look='depth'], [data-look='ascii']) :is(.triangle .glyph, .triangle.shape, .triangle.ql__shape:not(.ql__dots), .triangle.client__shape:not(.client__dots), .orb.triangle .solid) {
  clip-path: none;
  background: none;
}
html:is([data-look='depth'], [data-look='ascii']) :is(.triangle .glyph, .orb.triangle .solid)::before,
html:is([data-look='depth'], [data-look='ascii']) :is(.triangle.shape, .triangle.ql__shape:not(.ql__dots), .triangle.client__shape:not(.client__dots))::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
html:is([data-look='depth'], [data-look='ascii']) :is(.triangle.shape, .triangle.ql__shape:not(.ql__dots), .triangle.client__shape:not(.client__dots))::before {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ASCII look: shapes redrawn in type (scripts/typeart.ts). Once a shape's
   type has drawn, its solid fill, depth and svg step aside. */
.typeart {
  position: absolute;
  left: 0;
  max-width: none;
  pointer-events: none;
}
/* The solid version never shows, even before the script has run (the page
   paints first, and the solid shape used to flash on every reload). The
   shape's own box stays in place with its animations, and the type fades
   in over it. If the script never runs, Base.astro adds .untyped-ok after
   2.5 s and the plain shapes come back. */
html[data-look='ascii'] .is-typed,
html[data-look='ascii']:not(.untyped-ok) :is(.gwrap > .glyph, .shape:not(.shape-dots), .ql__shape:not(.ql__dots), .client__shape:not(.client__dots), .orb > .solid, .mini, .aimark__star:not(.aimark__dots), .aimark__twin) {
  background: none !important;
  filter: none !important;
  clip-path: none !important;
}
html[data-look='ascii'] .is-typed::before,
html[data-look='ascii']:not(.untyped-ok) :is(.gwrap > .glyph, .shape:not(.shape-dots), .ql__shape:not(.ql__dots), .client__shape:not(.client__dots), .orb > .solid, .mini, .aimark__star:not(.aimark__dots), .aimark__twin)::before {
  display: none !important;
}
html[data-look='ascii'] .is-typed > svg,
html[data-look='ascii']:not(.untyped-ok) :is(.gwrap > .glyph, .shape:not(.shape-dots), .ql__shape:not(.ql__dots), .client__shape:not(.client__dots), .orb > .solid, .mini, .aimark__star:not(.aimark__dots), .aimark__twin) > svg {
  visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  html[data-look='ascii'] .typeart {
    animation: typeart-in 0.6s var(--ease) both;
  }
}
@keyframes typeart-in {
  from {
    opacity: 0;
  }
}

/* Flat + ASCII: the shapes stay exactly as they were (flat, full color);
   only their print shadows change, from halftone dots to live type drawn
   by typeart.ts inside the shadow element (its offset and drift intact). */
html[data-look='type'] .is-typed {
  -webkit-mask: none;
  mask: none;
  background: none !important;
}
html[data-look='type'] .mini.is-typed > svg.dots {
  visibility: hidden;
}


/* The logo's hover in the ASCII looks: the original halftone hover (the
   same slide, size and timing), its dots swapped for a tidy grid of small
   plus signs. Still and orderly on purpose: it's a mark, not an artwork. */
html:not([data-look='halftone']) .sticker__dots {
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='6'%20height='7'%3E%3Ctext%20x='3'%20y='5.6'%20font-family='Menlo%2CConsolas%2Cmonospace'%20font-size='7'%20font-weight='700'%20text-anchor='middle'%3E%2B%3C/text%3E%3C/svg%3E") 0 0 / 6px 7px;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='6'%20height='7'%3E%3Ctext%20x='3'%20y='5.6'%20font-family='Menlo%2CConsolas%2Cmonospace'%20font-size='7'%20font-weight='700'%20text-anchor='middle'%3E%2B%3C/text%3E%3C/svg%3E") 0 0 / 6px 7px;
}

/* Windows you can scroll inside (scripts/scrollwin.ts). */
/* No real scrollbar inside the fake windows: the outline, the label and
   the phone that follows along show that it scrolls. */
[data-sw-view] {
  scrollbar-width: none !important;
}
[data-sw-view]::-webkit-scrollbar {
  display: none;
}
/* With a mouse or trackpad the window never scrolls by itself (the script
   moves it), and while a window has the scroll its page holds still. */
[data-sw].is-locked [data-sw-view] {
  overflow-y: hidden !important;
}
html.sw-hold,
.ql__sheet.sw-hold {
  overflow: hidden !important;
}
.ql__sheet {
  scrollbar-gutter: stable;
}

/* Pure ASCII (html[data-pure]): the hero's blocks are only there to be
   grabbed; all you see is the type. */
html[data-pure] .hero .house path {
  fill-opacity: 0 !important;
  stroke-opacity: 0 !important;
}
.sticker[data-astro-cid-mqob2q4p] {
  --w: 60px;
  --h: 75px;
  position: fixed;
  z-index: 50;
  top: 0;
  left: calc(clamp(16px, 3.6vw, 56px) + var(--edge));
  width: var(--w);
  height: var(--h);
}

.sticker__body[data-astro-cid-mqob2q4p] {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: scale var(--dur-1) var(--ease);
}

.sticker__body[data-astro-cid-mqob2q4p] svg[data-astro-cid-mqob2q4p] {
  width: 100%;
  height: 100%;
}

.sticker__body[data-astro-cid-mqob2q4p] path[data-astro-cid-mqob2q4p] {
  fill: var(--paper);
}

.sticker__dots[data-astro-cid-mqob2q4p] {
  position: absolute;
  inset: 0;
  background: var(--ink);
  -webkit-mask: radial-gradient(circle, #000 1.3px, #0000 1.9px) 0 0 / 6px 6px;
  mask: radial-gradient(circle, #000 1.3px, #0000 1.9px) 0 0 / 6px 6px;
  translate: 0;
  opacity: 0;
  transition: translate var(--dur-2) var(--ease),
      opacity var(--dur-1) var(--ease);
}

.sticker[data-astro-cid-mqob2q4p]:hover .sticker__dots[data-astro-cid-mqob2q4p], .sticker[data-astro-cid-mqob2q4p]:focus-visible .sticker__dots[data-astro-cid-mqob2q4p] {
  translate: 6px 6px;
  opacity: 1;
}

.sticker[data-astro-cid-mqob2q4p]:active .sticker__body[data-astro-cid-mqob2q4p] {
  scale: .97;
}

@media (prefers-reduced-motion: reduce) {
  .sticker__dots[data-astro-cid-mqob2q4p] {
    transition: none;
  }
}

@media (width <= 899px) {
  .sticker[data-astro-cid-mqob2q4p] {
    --w: 44px;
    --h: 55px;
  }
}
.sidenav[data-astro-cid-xw4n4aza] {
  position: fixed;
  z-index: 40;
  right: calc(clamp(14px, 2.4vw, 40px) + var(--edge));
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  pointer-events: none;
}

.sidenav[data-astro-cid-xw4n4aza] > [data-astro-cid-xw4n4aza] {
  pointer-events: auto;
}

ul[data-astro-cid-xw4n4aza] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

li[data-astro-cid-xw4n4aza] + li[data-astro-cid-xw4n4aza]:before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto 22px;
  background: var(--ink);
  opacity: .85;
}

a[data-astro-cid-xw4n4aza] {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.38;
  color: var(--ink-3);
  transition: color var(--dur-1) var(--ease);
}

.letters[data-astro-cid-xw4n4aza] {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.letters[data-astro-cid-xw4n4aza] span[data-astro-cid-xw4n4aza] {
  display: block;
  transition: translate var(--dur-1) var(--ease);
  transition-delay: calc(var(--i) * 35ms);
}

a[data-astro-cid-xw4n4aza]:hover .letters[data-astro-cid-xw4n4aza] span[data-astro-cid-xw4n4aza] {
  translate: -4px;
}

a[data-astro-cid-xw4n4aza].is-active, a[data-astro-cid-xw4n4aza]:hover {
  color: var(--ink);
}

.mark[data-astro-cid-xw4n4aza] {
  position: absolute;
  left: -10px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--c);
  scale: 0;
  rotate: -90deg;
  transition: scale var(--dur-2) var(--ease),
      rotate var(--dur-2) var(--ease);
}

a[data-astro-cid-xw4n4aza].is-active .mark[data-astro-cid-xw4n4aza] {
  scale: 1;
  rotate: 45deg;
}

.theme[data-astro-cid-xw4n4aza] {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur-1) var(--ease);
}

.theme[data-astro-cid-xw4n4aza]:hover {
  background: var(--line);
}

.theme[data-astro-cid-xw4n4aza] svg[data-astro-cid-xw4n4aza] {
  width: 20px;
  height: 20px;
  transition: rotate var(--dur-2) var(--ease-soft);
}

[data-resolved-theme="dark"] .theme[data-astro-cid-xw4n4aza] svg[data-astro-cid-xw4n4aza] {
  rotate: 180deg;
}

@media (width <= 899px) {
  .sidenav[data-astro-cid-xw4n4aza] {
    top: auto;
    left: 50%;
    right: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    translate: -50%;
    flex-direction: row;
    gap: 4px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 78%, transparent);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
  }

  ul[data-astro-cid-xw4n4aza] {
    flex-direction: row;
    gap: 2px;
  }

  li[data-astro-cid-xw4n4aza] + li[data-astro-cid-xw4n4aza]:before {
    display: none;
  }

  a[data-astro-cid-xw4n4aza] {
    padding: 8px 10px;
    font-size: 12px;
    letter-spacing: .1em;
  }

  .letters[data-astro-cid-xw4n4aza] {
    flex-direction: row;
  }

  a[data-astro-cid-xw4n4aza]:hover .letters[data-astro-cid-xw4n4aza] span[data-astro-cid-xw4n4aza] {
    translate: 0;
  }

  .mark[data-astro-cid-xw4n4aza] {
    left: 50%;
    top: auto;
    bottom: 1px;
    width: 5px;
    height: 5px;
    margin: 0 0 0 -2.5px;
  }
}
.skip[data-astro-cid-hkbrpulz] {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  transition: top .2s var(--ease);
}

.skip[data-astro-cid-hkbrpulz]:focus {
  top: 16px;
}
.footer[data-astro-cid-jo6i4kqk] {
  position: relative;
  height: clamp(480px, 82vh, 780px);
  padding-block: 40px 48px;
  font-size: .9rem;
  color: var(--ink-2);
  overflow: hidden;
  touch-action: pan-y;
}

.footer__sea[data-astro-cid-jo6i4kqk] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.row[data-astro-cid-jo6i4kqk] {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}

.links[data-astro-cid-jo6i4kqk] {
  display: flex;
  gap: 24px;
  font-size: 11px;
  color: var(--ink-3);
}

.links[data-astro-cid-jo6i4kqk] a[data-astro-cid-jo6i4kqk] {
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease);
}

.links[data-astro-cid-jo6i4kqk] a[data-astro-cid-jo6i4kqk]:hover {
  color: var(--ink);
}

@media (width <= 899px) {
  .footer[data-astro-cid-jo6i4kqk] {
    height: clamp(440px, 72vh, 620px);
    padding-bottom: 110px;
  }
}
.frame[data-astro-cid-woisxlok] {
  container-type: inline-size;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.frame[data-astro-cid-woisxlok].cutout {
  overflow: visible;
}

.browser[data-astro-cid-woisxlok] {
  background: var(--frame);
  box-shadow: var(--shadow);
  border-radius: var(--r-window-fixed);
}

.browser[data-astro-cid-woisxlok].scroll, .browser[data-astro-cid-woisxlok]:has(.clip) {
  border-radius: var(--r-window);
}

.bar[data-astro-cid-woisxlok] {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75cqw;
  height: 3.4cqw;
  padding-inline: 1.6cqw;
  border-bottom: 1px solid var(--line);
}

.bar[data-astro-cid-woisxlok] i[data-astro-cid-woisxlok] {
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background: var(--line);
}

.url[data-astro-cid-woisxlok] {
  position: absolute;
  left: 50%;
  translate: -50%;
  padding: .3cqw 1.6cqw;
  background: var(--line);
  font-family: var(--font-mono);
  font-size: 1.2cqw;
  line-height: 1.4;
  color: var(--ink-2);
}

.view[data-astro-cid-woisxlok] {
  position: relative;
}

.box[data-astro-cid-woisxlok] img, .clip[data-astro-cid-woisxlok] {
  width: 100%;
  height: auto;
}

.clip[data-astro-cid-woisxlok] {
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper);
}

.frame[data-astro-cid-woisxlok].phone {
  overflow: visible;
  border-radius: 0;
}

.phone[data-astro-cid-woisxlok] .view[data-astro-cid-woisxlok] {
  border: 3.4cqw solid #0e0e0e;
  border-radius: 15cqw;
  overflow: hidden;
  background: #1b1b1b;
  box-shadow: 0 0 0 .45cqw #2e2e2e,
      var(--shadow);
}

.phone[data-astro-cid-woisxlok] .clip[data-astro-cid-woisxlok] {
  aspect-ratio: 390 / 844;
}

.island[data-astro-cid-woisxlok] {
  position: absolute;
  z-index: 1;
  top: 5.4cqw;
  left: 50%;
  translate: -50%;
  width: 21cqw;
  height: 6.2cqw;
  border-radius: 9cqw;
  background: #000;
}

.scroll[data-astro-cid-woisxlok] .view[data-astro-cid-woisxlok] {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}

.scroll[data-astro-cid-woisxlok] .box[data-astro-cid-woisxlok] {
  position: absolute;
  inset: 0 0 auto;
}

.interactive[data-astro-cid-woisxlok].scroll .view[data-astro-cid-woisxlok] {
  aspect-ratio: auto;
  height: min(62.5cqw, 58svh);
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
}

.interactive[data-astro-cid-woisxlok].scroll .box[data-astro-cid-woisxlok] {
  position: static;
}
.swhint[data-astro-cid-4ztc246h] {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 11px;
  color: var(--ink-2);
  transition: color var(--dur-1) var(--ease);
}

.swhint[data-astro-cid-4ztc246h] svg[data-astro-cid-4ztc246h] {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3px;
  transition: stroke var(--dur-1) var(--ease);
}

.swhint__line[data-astro-cid-4ztc246h] {
  flex: 1;
  height: 1px;
  margin-left: 6px;
  background: var(--ink);
  clip-path: inset(0 100% 0 0);
}

.wheel[data-astro-cid-4ztc246h] {
  animation: wheel 1.6s var(--ease) infinite;
}

@keyframes wheel {
  0% {
    transform: translateY(-1px);
    opacity: 1;
  }

  70% {
    transform: translateY(3px);
    opacity: 0;
  }

  100% {
    transform: translateY(-1px);
    opacity: 0;
  }
}

[data-sw].is-active.is-locked .swhint[data-astro-cid-4ztc246h] {
  color: var(--ink);
}

[data-sw].is-active.is-locked .swhint[data-astro-cid-4ztc246h] svg[data-astro-cid-4ztc246h] {
  stroke: var(--c, var(--ink));
  stroke-width: 1.6px;
}

@media (prefers-reduced-motion: reduce) {
  .wheel[data-astro-cid-4ztc246h] {
    animation: none;
  }
}
.duo[data-astro-cid-iwqmqcit] {
  width: 90%;
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  margin: 0;
}

.row[data-astro-cid-iwqmqcit] {
  position: relative;
  padding-bottom: 5cqw;
}

.win[data-astro-cid-iwqmqcit] {
  position: relative;
  width: 82cqw;
  background: var(--frame);
  box-shadow: var(--shadow);
  border-radius: var(--r-window);
  overflow: hidden;
}

.bar[data-astro-cid-iwqmqcit] {
  position: relative;
  display: flex;
  align-items: center;
  gap: .62cqw;
  height: 2.8cqw;
  padding-inline: 1.3cqw;
  border-bottom: 1px solid var(--line);
}

.bar[data-astro-cid-iwqmqcit] i[data-astro-cid-iwqmqcit] {
  width: .82cqw;
  height: .82cqw;
  border-radius: 50%;
  background: var(--line);
}

.url[data-astro-cid-iwqmqcit] {
  position: absolute;
  left: 50%;
  translate: -50%;
  padding: .25cqw 1.3cqw;
  background: var(--line);
  font-family: var(--font-mono);
  font-size: max(9px, .98cqw);
  line-height: 1.4;
  color: var(--ink-2);
}

.label[data-astro-cid-iwqmqcit] {
  width: 82cqw;
}

.view[data-astro-cid-iwqmqcit] {
  height: 51.25cqw;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  background: var(--paper);
}

.view[data-astro-cid-iwqmqcit]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.view[data-astro-cid-iwqmqcit] img, .screen[data-astro-cid-iwqmqcit] img {
  display: block;
  width: 100%;
  height: auto;
}

.phone[data-astro-cid-iwqmqcit] {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22cqw;
  padding: .75cqw;
  border-radius: 3cqw;
  background: var(--frame);
  box-shadow: var(--shadow);
}

.screen[data-astro-cid-iwqmqcit] {
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 2.3cqw;
  background: var(--paper);
}

.island[data-astro-cid-iwqmqcit] {
  position: absolute;
  top: 1.55cqw;
  left: 50%;
  translate: -50%;
  width: 5.4cqw;
  height: 1.35cqw;
  border-radius: 1cqw;
  background: #0d0d0d;
}
