/* Unveil Digital Technologies. One page, no build step.
   Everything is readable with no JavaScript and with reduced motion: the motion rules
   only apply when js/boot.js has put "motion" on <html>.

   Type      Archivo at its widest for display, Geist for reading, Geist Mono for figures and small technical text.
   Colour    Blacked out. Silver does the talking, one cold light ("ion") marks what is live.
             Gold appears once, inside the Unveil illustration, because gold belongs to that product.
   Shape     Corners are cut at 45 degrees, the same angle the circuit traces turn at.
   Rhythm    One background throughout. A hairline the width of the text column opens each section,
             a small blue label sits above each heading, and body text stays quiet. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-expanded.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* Lets the light on a card edge fade in and out. Browsers without it simply switch. */
@property --lit {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --void: #04060A;

  --white: #F3F6FB;
  --silver: #C6CEDB;
  --muted: #A1ABBB;
  --steel: #7F8A9C;

  --line: rgba(160, 182, 214, 0.15);
  --line-strong: rgba(170, 190, 220, 0.34);

  --ion: #72E1FF;
  --ion-deep: #2D8CFF;
  --ion-soft: rgba(114, 225, 255, 0.12);

  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: max(1.25rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --wrap: 78rem;
  --section-space: clamp(5rem, 10vw, 8.5rem); /* room under a section */
  --rule-gap: clamp(3rem, 6vw, 5rem);         /* room between a section's hairline and its label */
  --surface: var(--void); /* what sits behind an outlined button */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t0: 0.12s; /* when the hero starts moving */
}

/* The curtain: about 1.7s on a larger screen. On a phone (js/boot.js adds "intro-short") the same
   sequence plays at 0.7 speed, about 1.2s. Every curtain time below is multiplied by --k. */
html.intro {
  --k: 1;
  --t0: 1.2s; /* as the curtain opens: 1.1s times --k, plus a beat */
}

html.intro.intro-short {
  --k: 0.7;
  --t0: 0.85s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--void);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

h2, h3 {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

canvas, svg, img {
  display: block;
}

::selection {
  background: var(--ion);
  color: var(--void);
}

:focus-visible {
  outline: 2px solid var(--ion);
  outline-offset: 4px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 80;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--void);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- The small label above a heading ---------- */

.section-label,
.hero-label {
  margin-bottom: 0.875rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ion);
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding-block: 1rem;
  border-bottom: 1px solid transparent;
}

/* With JavaScript it stays with you: out of the way going down, back as soon as you scroll up. */
html.js .site-header {
  position: fixed;
  transition: transform 0.5s var(--ease), background-color 0.3s ease, border-color 0.3s ease;
}

html.js .site-header.is-solid {
  background: rgba(4, 6, 10, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}

html.js .site-header.is-away {
  transform: translateY(-101%);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* The lockup: the mark (a U of two parallel lines), the word, and from desktop width the line
   "Digital Technologies". The same mark sits on the chip, in the curtain and in the browser tab. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.25rem;
  color: var(--white);
  text-decoration: none;
  border-radius: 2px;
}

.brand-mark {
  flex: none;
  width: auto;
  height: 1.3125rem;
  aspect-ratio: 194 / 204;
  overflow: visible;
  fill: none;
  stroke: url(#g-silver);
  stroke-width: 15;
  transition: stroke 0.2s ease;
}

.brand:hover .brand-mark {
  stroke: var(--ion);
}

.brand-word {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-sub {
  display: none;
  padding-left: 0.75rem;
  border-left: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--steel);
}

.brand-word {
  transition: color 0.2s ease;
}

.brand:hover .brand-word {
  color: var(--ion);
}

.nav-list {
  display: flex;
  gap: 1.25rem;
}

.nav-extra {
  display: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.3rem;
  height: 1px;
  background: var(--ion);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="true"] {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link[aria-current="true"]::after {
  transform: scaleX(1);
}

/* ---------- The line with a pad on the end, like a circuit trace ---------- */

.trace {
  position: relative;
  height: 7px;
  color: var(--line);
}

.trace::before {
  content: "";
  position: absolute;
  left: 0;
  right: 7px;
  top: 3px;
  height: 1px;
  background: currentColor;
}

.trace::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--ion);
  border-radius: 50%;
}

/* ---------- Hero ---------- */

.hero {
  --g: 26px;          /* the board's grid. js/main.js reads it, so the canvas and this file agree */
  --n: 6;             /* the chip is this many grid squares wide. Keep it even */
  --die: calc(var(--g) * var(--n));
  --chip-top: 5.5rem;
  --chip-right: var(--gutter);

  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--chip-top) + var(--die) + 2.25rem) 2.5rem;
  overflow: hidden;
  background:
    radial-gradient(90rem 50rem at 85% -10%, rgba(45, 140, 255, 0.13), transparent 60%),
    linear-gradient(180deg, #060911 0%, var(--void) 70%);
}

.board {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, 0.3) 52%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, 0.3) 52%, transparent 80%);
}

/* A faint grid. With JavaScript off it is all there is behind the chip. */
.hero-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160, 182, 214, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 182, 214, 0.06) 1px, transparent 1px);
  background-size: var(--g) var(--g);
  background-position: var(--gx, 0) var(--gy, 0);
}

.circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* The chip: a square package with pins on every side and the mark on top. */
.chip {
  position: absolute;
  top: var(--chip-top);
  right: var(--chip-right);
  width: var(--die);
  height: var(--die);
}

.chip-glow {
  position: absolute;
  inset: -55%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45, 140, 255, 0.3), rgba(45, 140, 255, 0.08) 55%, transparent);
}

.chip-die {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background:
    radial-gradient(circle at 13px 13px, rgba(198, 206, 219, 0.7) 0 2px, transparent 2.5px),
    linear-gradient(145deg, #121925 0%, #080B12 55%, #05070B 100%);
  box-shadow:
    inset 0 0 0 1px rgba(198, 206, 219, 0.55),
    inset 0 0 0 6px #080B12,
    inset 0 0 0 7px rgba(160, 182, 214, 0.14),
    0 24px 60px -12px rgba(0, 0, 0, 0.9);
}

/* Pins. One sits on every grid line, which is where the canvas starts its traces. */
.chip-die::before,
.chip-die::after {
  content: "";
  position: absolute;
  --pin: linear-gradient(90deg, rgba(198, 206, 219, 0.8) 3px, transparent 3px);
  --pin-v: linear-gradient(180deg, rgba(198, 206, 219, 0.8) 3px, transparent 3px);
}

.chip-die::before {
  left: 3px;
  right: 3px;
  top: -6px;
  bottom: -6px;
  background:
    var(--pin) calc(var(--g) - 4.5px) 0 / var(--g) 6px repeat-x,
    var(--pin) calc(var(--g) - 4.5px) 100% / var(--g) 6px repeat-x;
}

.chip-die::after {
  top: 3px;
  bottom: 3px;
  left: -6px;
  right: -6px;
  background:
    var(--pin-v) 0 calc(var(--g) - 4.5px) / 6px var(--g) repeat-y,
    var(--pin-v) 100% calc(var(--g) - 4.5px) / 6px var(--g) repeat-y;
}

.chip-mark {
  position: relative;
  width: 64%;
  height: 64%;
  overflow: visible;
}

.chip-u {
  fill: none;
  stroke: url(#g-silver);
  stroke-width: 9;
}

/* A band of light that crosses the chip once as it powers up. Still, it is not shown. */
.chip-sheen {
  position: absolute;
  inset: 1px;
  overflow: hidden;
  border-radius: 2px;
  pointer-events: none;
}

.chip-sheen::before {
  content: "";
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(115deg, transparent 42%, rgba(200, 235, 255, 0.16) 50%, transparent 58%);
  transform: translateX(-70%);
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.125rem;
}

/* The place keeps its short length of trace with it, so on a narrow phone it drops to a second
   line as one piece. */
.hero-label-place {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.hero-label-sep {
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* The offer is the heading. Each word is its own box so it can rise on its own and the line can
   wrap anywhere on a phone; from tablet width up the <br class="hero-br"> set four stepped lines,
   short ones first, so the top lines sit clear of the chip. */
.hero-title {
  max-width: 15em;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: clamp(1.75rem, 9vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--white);
}

.hero-br {
  display: none;
}

.rise {
  display: inline-block;
  vertical-align: top;
}

.rise > span {
  display: block;
}

.hero-trace {
  margin-block: clamp(1.5rem, 3.4vw, 2.5rem);
  color: var(--line-strong);
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-lead {
  max-width: 28ch;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* On a phone the two buttons share the row if they fit, and each fills it if they do not. */
.button-row .button {
  flex: 1 1 auto;
}

.hero-note {
  max-width: 34ch;
  padding-left: 1.125rem;
  border-left: 1px solid var(--line-strong);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- Buttons and links ---------- */

.button {
  --c: 11px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* The outline is drawn inside the shape, because the cut corner would clip one drawn outside. */
.button:focus-visible {
  outline-offset: -5px;
  border-radius: 0;
}

.button-icon {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

/* The solid button catches the light when pointed at. */
.button-solid {
  background: linear-gradient(180deg, #FFFFFF 0%, #D5DCE7 100%);
  color: var(--void);
  overflow: hidden;
}

.button-solid:focus-visible {
  outline-color: var(--void);
}

.button-solid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(114, 225, 255, 0.85) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}

.button-solid:hover::after {
  transform: translateX(120%);
}

.button-line {
  background: var(--line-strong);
  color: var(--white);
}

.button-line::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c) + 0.5px), calc(100% - var(--c) + 0.5px) 100%, 0 100%);
  transition: background-color 0.3s ease;
}

.button-line:hover {
  background: var(--ion);
}

.button-line:hover::before {
  background: #0A1622;
}

.text-link {
  color: var(--white);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--ion);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--ion);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.375rem;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(var(--ion), var(--ion)) left bottom / 100% 1px no-repeat;
  transition: color 0.2s ease;
}

.arrow-icon {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--ion);
  transition: transform 0.35s var(--ease);
}

.arrow-link:hover {
  color: var(--ion);
}

.arrow-link:hover .arrow-icon,
a.contact-row:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: 0 var(--section-space);
}

/* The hairline that opens a section. It is as wide as the text column, not the screen. */
.section > .wrap::before,
.contact > .wrap::before,
.site-footer > .wrap::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: var(--rule-gap);
  background: var(--line);
}

.section-title {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
}

/* Letters that are still decoding (set by js/main.js). */
.dw {
  display: inline-block;
  white-space: nowrap;
}

.dc {
  display: inline-block;
  text-align: center;
}

.dc.is-noise {
  color: var(--ion);
  opacity: 0.8;
}

/* ---------- What we build ---------- */

.section-build {
  background: var(--void);
}

.build-list {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.build-item {
  display: grid;
  gap: 0.875rem;
  padding-bottom: clamp(2rem, 4.5vw, 3rem);
}

.build-item .trace {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.build-name {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: clamp(1.5rem, 5.6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--white);
}

.build-text {
  max-width: 44ch;
  color: var(--muted);
}

/* A small drawing for each row, in the same lines and pads as the board. */
.build-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.build-item .trace,
.build-text {
  grid-column: 1 / -1;
}

.build-glyph {
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  overflow: visible;
  fill: none;
  stroke: var(--steel);
  stroke-width: 1;
}

.build-glyph .lit {
  stroke: var(--ion);
}

.build-glyph .dot {
  fill: var(--steel);
  stroke: none;
}

.build-glyph .dot.lit {
  fill: var(--ion);
}

.build-glyph .bright {
  stroke: var(--white);
}

/* ---------- Sample work ---------- */

.work-list {
  display: grid;
  gap: clamp(3.5rem, 9vw, 7rem);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.work-item {
  display: grid;
  gap: 1.75rem;
}

.work-shell {
  --c: 28px;
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(26rem circle at var(--mx, 50%) var(--my, 0%), rgba(114, 225, 255, calc(var(--lit) * 0.9)), transparent 60%),
    linear-gradient(rgba(160, 182, 214, 0.22), rgba(160, 182, 214, 0.22));
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  transition: --lit 0.45s ease;
}

.work-shell:hover {
  --lit: 1;
}

.work-view {
  position: absolute;
  inset: 1px;
  overflow: hidden;
  background: var(--void);
  clip-path: polygon(0 0, calc(100% - var(--c) + 0.5px) 0, 100% calc(var(--c) - 0.5px), 100% 100%, calc(var(--c) - 0.5px) 100%, 0 calc(100% - var(--c) + 0.5px));
}

.work-art {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
}

/* Added by js/main.js: it covers the picture, then lifts away from the bottom edge. */
.work-cover {
  position: absolute;
  inset: 0;
  background: var(--void);
  transform-origin: top;
  pointer-events: none;
}

.work-kind {
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ion);
}

.work-name {
  margin-top: 0.875rem;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: clamp(1.625rem, 2.9vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.work-text {
  max-width: 46ch;
  margin-top: 1.25rem;
  color: var(--muted);
}

.work-more {
  margin-top: 1.5rem;
}

/* ---------- Pricing ---------- */

.section-pricing {
  overflow: hidden;
  background: radial-gradient(60rem 30rem at 50% 4rem, rgba(45, 140, 255, 0.07), transparent 70%);
}

.section-pricing .wrap {
  position: relative;
}

.price-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.price-card {
  --c: 24px;
  --surface: #05080E;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  /* The card's own background is its edge: a light under the pointer over a hairline. */
  background:
    radial-gradient(20rem circle at var(--mx, 50%) var(--my, 0%), rgba(114, 225, 255, calc(var(--lit) * 0.9)), transparent 62%),
    linear-gradient(rgba(160, 182, 214, 0.2), rgba(160, 182, 214, 0.2));
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  transition: --lit 0.45s ease;
}

.price-card:hover {
  --lit: 1;
}

/* The face of the card, one pixel in from the edge. */
.price-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -2;
  background:
    radial-gradient(30rem 14rem at 100% 0%, rgba(45, 140, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #060911, var(--void));
  clip-path: polygon(0 0, calc(100% - var(--c) + 0.5px) 0, 100% calc(var(--c) - 0.5px), 100% 100%, calc(var(--c) - 0.5px) 100%, 0 calc(100% - var(--c) + 0.5px));
}

/* A soft light follows the pointer across the face. */
.price-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 0%), rgba(114, 225, 255, 0.11), transparent 70%);
  opacity: var(--lit);
  pointer-events: none;
}

.price-card-custom {
  --surface: #060B14;
  background:
    radial-gradient(20rem circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, calc(var(--lit) * 0.9)), transparent 62%),
    linear-gradient(160deg, rgba(114, 225, 255, 0.75) 0%, rgba(114, 225, 255, 0.24) 32%, rgba(45, 140, 255, 0.22) 70%, rgba(45, 140, 255, 0.6) 100%);
}

.price-card-custom::before {
  background:
    radial-gradient(34rem 20rem at 100% 0%, rgba(45, 140, 255, 0.24), transparent 66%),
    linear-gradient(180deg, #070C16, var(--void));
}

.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 0.75rem;
}

.price-name {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* One, two or three pads: how far up the range the package sits. */
.price-pads {
  display: flex;
  gap: 5px;
}

.price-pads i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--ion);
  border-radius: 50%;
}

.price-card-custom .price-pads i {
  background: var(--ion);
  box-shadow: 0 0 10px rgba(114, 225, 255, 0.8);
}

.price-amount {
  display: grid;
  gap: 0.375rem;
  margin-top: 2.25rem;
}

.price-from {
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.2;
  color: var(--steel);
}

.price-figure {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--white);
}

.price-figure-words {
  font-weight: 500;
  font-size: clamp(1.625rem, 2.2vw, 1.875rem);
  line-height: 1.08;
}

.price-summary {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(114, 225, 255, 0.2);
  font-size: 0.9375rem;
  color: var(--muted);
}

.price-circuit {
  flex: 1 1 0;
  min-height: 0;
  width: calc(100% + 1.5rem);
  margin-top: 1rem;
  overflow: hidden;
  fill: none;
  stroke: rgba(114, 225, 255, 0.5);
  stroke-width: 1;
}

.price-circuit .pad {
  fill: var(--ion);
  stroke: none;
}

.price-list {
  margin-top: 1.75rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}

.price-list li {
  position: relative;
  padding-left: 1.5rem;
}

.price-list li + li {
  margin-top: 0.75rem;
}

/* A small plus sign, drawn. */
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  background:
    linear-gradient(var(--ion), var(--ion)) center / 100% 1px no-repeat,
    linear-gradient(var(--ion), var(--ion)) center / 1px 100% no-repeat;
}

.price-button {
  margin-top: auto;
  width: 100%;
}

.price-actions {
  margin-top: auto;
  padding-top: 2rem;
}

.price-alt {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- How we work ---------- */

.process {
  position: relative;
  overflow: hidden;
}

.pinwrap {
  position: relative;
}

/* The same hairline as the other sections. This one is placed, because the held scene is a grid. */
.pinwrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  height: 1px;
  background: var(--line);
}

.process-inner {
  padding-block: var(--rule-gap) var(--section-space);
}

.stages-wrap {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-left: 1.75rem;
}

.rail {
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: var(--line);
}

.rail-fill {
  position: absolute;
  inset: 0;
  background: var(--ion);
  transform-origin: top;
}

.stages {
  display: grid;
  gap: 2.5rem;
}

.stage {
  position: relative;
  display: grid;
  gap: 0.625rem;
  align-items: start;
  align-content: start;
}

.stage::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 4px);
  top: 0.3rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ion);
  box-shadow: 0 0 0 5px var(--void), 0 0 14px 5px rgba(114, 225, 255, 0.35);
}

.stage-num {
  font-family: var(--mono);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ion);
}

.stage-name {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: clamp(1.375rem, 5vw, 1.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.stage-line {
  max-width: 38ch;
  margin-top: 0.625rem;
  color: var(--muted);
}

.track {
  display: none;
}

/* The held scene. js/main.js adds "is-pinned" on large screens when motion is welcome. */
.process.is-pinned .pinwrap {
  height: 100vh;
}

.process.is-pinned .process-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding-block: 6rem 3rem;
}

.process.is-pinned .process-title {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--silver);
}

.process.is-pinned .section-label {
  margin-bottom: 0.5rem;
}

.process.is-pinned .stages-wrap {
  margin-top: 0;
  padding-left: 0;
}

.process.is-pinned .rail,
.process.is-pinned .stage::before {
  display: none;
}

.process.is-pinned .stages {
  display: block;
  position: absolute;
  inset: 0;
}

.process.is-pinned .stage {
  position: absolute;
  inset: 0;
  align-content: center;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 2rem;
  align-items: center;
}

.process.is-pinned .stage-text {
  grid-column: 1;
  grid-row: 1;
}

.process.is-pinned .stage-num {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: min(46vh, 21vw);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.25px var(--ion);
  filter: drop-shadow(0 0 28px rgba(45, 140, 255, 0.45));
  will-change: transform, opacity;
}

.process.is-pinned .stage-name {
  font-size: clamp(2.75rem, 5.2vw, 5rem);
  line-height: 0.98;
}

.process.is-pinned .stage-line {
  margin-top: 1.5rem;
  font-size: 1.125rem;
}

.process.is-pinned .track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
}

.track-line {
  position: absolute;
  left: 0;
  right: 25%;
  top: 4px;
  height: 1px;
  background: var(--line-strong);
}

.track-fill {
  position: absolute;
  inset: 0;
  background: var(--ion);
  box-shadow: 0 0 12px rgba(114, 225, 255, 0.7);
  transform-origin: left;
  transform: scaleX(0);
}

.track-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2A3446;
  box-shadow: 0 0 0 5px var(--void);
  transition: background-color 0.4s ease, transform 0.4s var(--ease);
}

.track-label {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--steel);
  transition: color 0.3s ease;
}

.track-node.is-on .dot {
  background: var(--ion);
  transform: scale(1.3);
}

.track-node.is-on .track-label {
  color: var(--white);
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  padding-block: 0 var(--section-space);
  background: radial-gradient(70rem 40rem at 100% 0%, rgba(45, 140, 255, 0.08), transparent 60%);
}

.contact-circuit {
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.3) 42%, transparent 78%);
  mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.3) 42%, transparent 78%);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: clamp(2.5rem, 9.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.contact-lead {
  max-width: 30ch;
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  letter-spacing: -0.01em;
  color: var(--muted);
}

.contact-list {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.contact-row {
  position: relative;
  display: grid;
  gap: 0.375rem;
  padding-block: 1.5rem 1.75rem;
  color: var(--white);
  text-decoration: none;
}

.contact-label {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ion);
}

.contact-value {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(1.25rem, 5.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
}

a.contact-row:hover .contact-value,
a.contact-row:hover .contact-action {
  color: var(--ion);
}

/* ---------- Quick contact bar (phones) ---------- */

.quickbar {
  display: none;
}

@media (max-width: 47.99rem) {
  html.js .quickbar {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 30;
    padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: rgba(4, 6, 10, 0.84);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
  }

  html.js .quickbar.is-on {
    transform: none;
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s linear 0s;
  }

  /* A short lit length on the hairline, like the start of a trace. */
  .quickbar::before {
    content: "";
    position: absolute;
    left: var(--gutter);
    top: -1px;
    width: 2.5rem;
    height: 1px;
    background: var(--ion);
    box-shadow: 0 0 10px rgba(114, 225, 255, 0.7);
  }
}

.quickbar-row {
  display: flex;
  gap: 0.5rem;
}

.quickbar-button {
  --c: 9px;
  flex: 1 1 auto;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.quickbar-call {
  flex: 0 0 auto;
  padding-inline: 1.125rem 1.25rem;
}

@media (max-width: 22.4rem) {
  .quickbar-long {
    display: none;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--steel);
}

.site-footer > .wrap::before {
  margin-bottom: 2rem;
}

.footer-row {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.brand-footer {
  justify-self: start;
}

.brand-footer .brand-sub {
  display: block;
}

.footer-link {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: var(--ion);
  text-underline-offset: 0.3em;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--ion);
}

/* ---------- Pieces that only exist while things move ---------- */

.curtain,
.curtain-ui,
.progress,
.glow {
  display: none;
}

html.gsap .progress {
  display: block;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 2px;
  background: linear-gradient(90deg, var(--ion-deep), var(--ion));
  box-shadow: 0 0 12px rgba(114, 225, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
}

@media (hover: hover) and (pointer: fine) {
  html.gsap .glow {
    display: block;
    position: fixed;
    left: -18rem;
    top: -18rem;
    z-index: 50;
    width: 36rem;
    height: 36rem;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(70, 160, 255, 0.09), rgba(70, 160, 255, 0) 100%);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
  }
}

/* Lenis smooth scrolling takes over from the browser's own. */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- Wider screens ---------- */

@media (min-width: 30rem) {
  .price-card {
    padding: 2rem 1.75rem 1.75rem;
  }
}

@media (min-width: 48rem) {
  :root {
    --gutter: max(3rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .hero {
    --g: 34px;
    --chip-top: 6.5rem;
    /* Lines the chip up with the right edge of the text column on any screen. */
    --chip-right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
    padding-block: 7.5rem clamp(2.5rem, 5vw, 4rem);
  }

  .board {
    -webkit-mask-image: linear-gradient(200deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.3) 64%, transparent 88%);
    mask-image: linear-gradient(200deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.3) 64%, transparent 88%);
  }

  .site-header {
    padding-block: 1.25rem;
  }

  .nav-extra {
    display: block;
  }

  .button-row .button {
    flex: 0 0 auto;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2.5rem, min(5.6vw, 8vh), 4.75rem);
    line-height: 1;
  }

  .hero-br {
    display: inline;
  }

  .nav-list {
    gap: 2rem;
  }

  .contact-circuit {
    opacity: 1;
    -webkit-mask-image: linear-gradient(240deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, transparent 62%);
    mask-image: linear-gradient(240deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, transparent 62%);
  }

  .build-item {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
    column-gap: 3rem;
    align-items: center;
  }

  .build-text {
    grid-column: auto;
  }

  .build-glyph {
    order: 3;
    width: 3.75rem;
    height: 3.75rem;
  }

  .build-name {
    font-size: clamp(1.625rem, 2.9vw, 2.25rem);
  }

  .work-shell {
    aspect-ratio: 16 / 10;
  }

  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card-custom {
    grid-column: 1 / -1;
  }

  .contact-row {
    grid-template-columns: 8rem 1fr auto;
    align-items: baseline;
    gap: 1.5rem;
    padding-block: 1.75rem 2.25rem;
  }

  .contact-value {
    font-size: clamp(1.625rem, 3.3vw, 2.5rem);
  }

  .footer-row {
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
  }

  .footer-end {
    justify-self: end;
  }
}

@media (min-width: 64rem) {
  .brand-sub {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 3rem;
  }

  .work-item {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
    align-items: center;
  }

  .work-item-flip {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .work-item-flip .work-frame {
    order: 2;
  }

  .price-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .price-card {
    padding: 2.25rem 2rem 2rem;
  }

  .price-card-custom {
    grid-column: auto;
  }

  .stages {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem 3rem;
  }

  /* Two columns of steps: the line down the side no longer makes sense. */
  .stages-wrap {
    padding-left: 0;
  }

  .rail,
  .stage::before {
    display: none;
  }
}

/* A taller screen has room for a bigger chip. */
@media (min-width: 64rem) and (min-height: 53.75rem) {
  .hero {
    --n: 8;
  }
}

/* ---------- Opening sequence and entrances ---------- */
/* Only when motion is welcome. Otherwise the page simply shows in its final state. */

@media (prefers-reduced-motion: no-preference) {
  html.motion .rise {
    overflow: hidden;
    padding: 0.06em 0.06em 0.1em;
    margin: -0.06em -0.06em -0.1em;
  }

  html.motion .rise > span {
    transform: translateY(112%);
    animation: udt-rise 1.05s cubic-bezier(0.16, 0.84, 0.24, 1) var(--t0) forwards;
  }

  html.motion .rise-2 > span { animation-delay: calc(var(--t0) + 0.05s); }
  html.motion .rise-3 > span { animation-delay: calc(var(--t0) + 0.12s); }
  html.motion .rise-4 > span { animation-delay: calc(var(--t0) + 0.17s); }
  html.motion .rise-5 > span { animation-delay: calc(var(--t0) + 0.24s); }
  html.motion .rise-6 > span { animation-delay: calc(var(--t0) + 0.29s); }
  html.motion .rise-7 > span { animation-delay: calc(var(--t0) + 0.34s); }
  html.motion .rise-8 > span { animation-delay: calc(var(--t0) + 0.39s); }

  html.motion .fadeup {
    opacity: 0;
    transform: translateY(20px);
    animation: udt-fadeup 0.9s var(--ease) calc(var(--t0) + 0.55s) forwards;
  }

  html.motion .fadeup-0 {
    animation-delay: var(--t0);
  }

  html.motion .fadeup-2 {
    animation-delay: calc(var(--t0) + 0.7s);
  }

  html.motion .fadeup-3 {
    animation-delay: calc(var(--t0) + 0.85s);
  }

  html.motion .drawx {
    clip-path: inset(0 100% 0 0);
    animation: udt-draw 1.2s cubic-bezier(0.6, 0, 0.2, 1) calc(var(--t0) + 0.35s) forwards;
  }

  /* The chip powers up as the traces leave it, then breathes. */
  html.motion .chip {
    opacity: 0;
    transform: scale(0.94);
    animation: udt-chip 0.9s var(--ease) calc(var(--t0) - 0.1s) forwards;
  }

  html.motion .chip-glow {
    animation: udt-breathe 5.5s ease-in-out calc(var(--t0) + 1s) infinite;
  }

  html.motion .chip-sheen::before {
    animation: udt-sheen 1.5s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--t0) + 0.5s) forwards;
  }

  /* The curtain is gone at about 1.7s (1.2s on a phone). The two lines of the mark and a ring around them draw while the
     line fills like a loading bar, then the ring opens like an aperture: the hole in the curtain and
     the ring grow together until the page is all there is. */
  html.intro .curtain {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: #020305;
    -webkit-mask-image: linear-gradient(#000, #000), radial-gradient(circle closest-side, #000 calc(100% - 1px), transparent 100%);
    mask-image: linear-gradient(#000, #000), radial-gradient(circle closest-side, #000 calc(100% - 1px), transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%, 0 0;
    mask-size: 100% 100%, 0 0;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: udt-aperture calc(0.6s * var(--k)) cubic-bezier(0.7, 0, 0.2, 1) calc(1.1s * var(--k)) forwards;
  }

  html.intro .curtain-ui {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 71;
    pointer-events: none;
    animation: udt-gone 0.01s linear calc(1.72s * var(--k)) forwards;
  }

  .curtain-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7rem;
    height: 7rem;
    overflow: visible;
    transform: translate(-50%, -50%);
    animation: udt-ring-open calc(0.6s * var(--k)) cubic-bezier(0.7, 0, 0.2, 1) calc(1.1s * var(--k)) forwards;
  }

  .curtain-ring {
    fill: none;
    stroke: #DDE4EE;
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transform: rotate(-90deg);
    transform-origin: 200px 200px;
    animation:
      udt-stroke calc(0.7s * var(--k)) cubic-bezier(0.6, 0, 0.2, 1) calc(0.05s * var(--k)) forwards,
      udt-ring-ion calc(0.6s * var(--k)) ease calc(1.1s * var(--k)) forwards;
  }

  .curtain-u {
    fill: none;
    stroke: #E9EEF5;
    stroke-width: 12;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation:
      udt-stroke calc(0.8s * var(--k)) cubic-bezier(0.6, 0, 0.2, 1) calc(0.1s * var(--k)) forwards,
      udt-fade-out calc(0.16s * var(--k)) ease calc(1.05s * var(--k)) forwards;
  }

  .curtain-text {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + 5.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-inline: 1.25rem;
    text-align: center;
    animation: udt-fade-out calc(0.2s * var(--k)) ease calc(0.95s * var(--k)) forwards;
  }

  .curtain-name {
    font-family: var(--display);
    font-stretch: 125%;
    font-weight: 600;
    font-size: clamp(0.8125rem, 3.4vw, 1.0625rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    animation: udt-fadeup calc(0.5s * var(--k)) var(--ease) calc(0.15s * var(--k)) forwards;
  }

  .curtain-line {
    position: relative;
    display: block;
    width: min(14rem, 56vw);
    height: 1px;
    background: var(--line);
  }

  .curtain-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ion);
    box-shadow: 0 0 10px rgba(114, 225, 255, 0.8);
    transform: scaleX(0);
    transform-origin: left;
    animation: udt-scalex calc(0.75s * var(--k)) cubic-bezier(0.45, 0, 0.55, 1) calc(0.2s * var(--k)) forwards;
  }

  .curtain-tag {
    font-family: var(--mono);
    font-size: 0.8125rem;
    color: var(--steel);
    opacity: 0;
    animation: udt-fadeup calc(0.5s * var(--k)) var(--ease) calc(0.4s * var(--k)) forwards;
  }
}

@keyframes udt-rise { to { transform: none; } }
@keyframes udt-fadeup { to { opacity: 1; transform: none; } }
@keyframes udt-fade-out { to { opacity: 0; } }
@keyframes udt-gone { to { visibility: hidden; } }
@keyframes udt-draw { to { clip-path: inset(0 0 0 0); } }
@keyframes udt-scalex { to { transform: scaleX(1); } }
@keyframes udt-stroke { to { stroke-dashoffset: 0; } }
@keyframes udt-chip { to { opacity: 1; transform: none; } }
@keyframes udt-sheen { 0% { opacity: 1; transform: translateX(-70%); } 100% { opacity: 1; transform: translateX(70%); } }
@keyframes udt-breathe { 50% { opacity: 0.45; transform: scale(0.9); } }
@keyframes udt-ring-ion { 30% { stroke: #72E1FF; } to { stroke: #72E1FF; opacity: 0; } }

@keyframes udt-ring-open {
  to { width: 260vmax; height: 260vmax; }
}

@keyframes udt-aperture {
  from { -webkit-mask-size: 100% 100%, 7rem 7rem; mask-size: 100% 100%, 7rem 7rem; }
  to { -webkit-mask-size: 100% 100%, 260vmax 260vmax; mask-size: 100% 100%, 260vmax 260vmax; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .button-solid::after,
  .button-line::before,
  .nav-link,
  .nav-link::after,
  .text-link,
  .arrow-icon,
  .contact-value,
  .contact-action,
  .price-card,
  .work-shell,
  .brand-word,
  .brand-mark,
  html.js .site-header,
  html.js .quickbar,
  html.js .quickbar.is-on {
    transition: none;
  }
}
