/* ==========================================================================
   Regex Consulting — regex.co.za
   One composition: the mark, the line, the action, the field.
   ========================================================================== */

@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  color-scheme: dark;

  --accent: #9fef00;
  --accent-hover: #b4ff26;
  --dark: #090d16;
  --muted: #7b8898;
  --light: #e2e8f0;
  --danger: #ff5c5c;

  --bg: var(--dark);
  --fg: var(--light);
  --dim: var(--muted);
  --line: color-mix(in srgb, var(--light) 9%, transparent);
  --line-strong: color-mix(in srgb, var(--light) 24%, transparent);
  --surface: #0e1522;
  --surface-tint: color-mix(in srgb, var(--light) 3.5%, transparent);
  --surface-tint-hover: color-mix(in srgb, var(--light) 7%, transparent);
  --glow: color-mix(in srgb, var(--accent) 28%, transparent);
  --glow-soft: color-mix(in srgb, var(--accent) 10%, transparent);

  --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --radius: 10px;
  --radius-lg: 16px;
  --gutter: clamp(20px, 4vw, 64px);

  --logo-ink: var(--accent);
  --logo-secondary: var(--light);
  --logo-tile: var(--accent);
  --logo-cut: var(--dark);
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--light);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  font-variant-ligatures: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--accent);
  color: var(--dark);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

/* --------------------------------------------------------------------------
   Backdrop: obsidian atmosphere, micro-grid, grain and particle canvas
   -------------------------------------------------------------------------- */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 52% 36% at 50% 34%,
      color-mix(in srgb, var(--accent) 6.5%, transparent),
      transparent 72%
    ),
    radial-gradient(
      ellipse 88% 72% at 50% 38%,
      #0d1422 0%,
      var(--dark) 56%,
      #04070d 100%
    );
}

.atmosphere::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: radial-gradient(
    circle,
    color-mix(in srgb, var(--light) 6%, transparent) 1px,
    transparent 1.15px
  );
  background-size: 40px 40px;
  opacity: 0.24;
  -webkit-mask-image: radial-gradient(
    ellipse 58% 52% at 50% 42%,
    #000 0%,
    transparent 76%
  );
  mask-image: radial-gradient(
    ellipse 58% 52% at 50% 42%,
    #000 0%,
    transparent 76%
  );
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 105% 100% at 50% 50%,
    transparent 46%,
    color-mix(in srgb, #020408 62%, transparent) 100%
  );
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.026;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.field {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms var(--ease);
}

.field.is-ready {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Page shell
   -------------------------------------------------------------------------- */

.page {
  position: relative;
  z-index: 3;
  flex: 1;
  min-height: 100svh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 46% 36% at 50% 44%,
    color-mix(in srgb, var(--dark) 84%, transparent) 0%,
    color-mix(in srgb, var(--dark) 44%, transparent) 44%,
    transparent 74%
  );
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  padding:
    clamp(32px, 9vh, 112px)
    max(var(--gutter), env(safe-area-inset-right))
    clamp(28px, 6vh, 64px)
    max(var(--gutter), env(safe-area-inset-left));
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 720px);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -28%;
  left: 50%;
  width: min(560px, 88vw);
  aspect-ratio: 2.2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--accent) 8%, transparent),
    transparent 72%
  );
  filter: blur(56px);
  opacity: 0.55;
  pointer-events: none;
  animation: aura 12s ease-in-out infinite alternate;
}

.brand-lockup {
  position: relative;
  margin: 0 0 clamp(20px, 3.2vh, 28px);
  width: clamp(240px, 31vw, 400px);
  line-height: 0;
  animation: rise 700ms var(--ease) 0ms both;
}

.brand-lockup::before {
  content: "";
  position: absolute;
  inset: -24px -36px;
  z-index: -1;
  background: radial-gradient(
    ellipse at 38% 50%,
    color-mix(in srgb, var(--accent) 20%, transparent),
    transparent 68%
  );
  filter: blur(24px);
  opacity: 0.72;
  pointer-events: none;
  animation: lockup-halo 5.2s ease-in-out 1.1s infinite;
  transition: opacity 360ms var(--ease);
}

.brand-lockup.is-resonating::before,
.brand-lockup:hover::before {
  opacity: 1;
}

.brand-logo {
  width: 100%;
  height: auto;
  transform: translateX(3.5%);
}

.logo-mark {
  transform-origin: 66px 66px;
}

.logo-dot-enter,
.logo-dot-pulse,
.logo-dot,
.logo-star-enter,
.logo-star-rotor {
  transform-origin: 0 0;
}

.logo-dot-enter {
  animation: logo-dot-in 560ms var(--ease) 180ms both;
}

.logo-dot-pulse {
  animation: logo-dot-beat 5.2s var(--ease) 1.1s infinite;
}

.logo-dot {
  transition: transform 380ms var(--ease);
}

.brand-lockup.is-resonating .logo-dot,
.brand-lockup:hover .logo-dot,
.not-found__brand:hover .logo-dot {
  transform: scale(1.16);
}

.logo-star-enter {
  animation: logo-star-in 1050ms var(--ease) 120ms both;
}

.logo-star-rotor {
  transform: rotate(var(--star-rot, 0deg));
  transition: transform 580ms var(--ease);
}

.logo-star-path {
  stroke-dasharray: 50 60;
  animation: logo-star-draw 960ms var(--ease) 140ms both;
}

.logo-wordmark {
  animation: logo-word-in 760ms var(--ease) 160ms both;
}

.logo-word-sheen {
  animation: logo-word-sweep 5.2s ease-in-out 1.1s infinite both;
}

.logo-desc-pulse {
  animation: logo-desc-breath 5.2s ease-in-out 1.1s infinite;
}

.logo-descriptor {
  animation: logo-desc-in 760ms var(--ease) 300ms both;
}

.logo-sheen {
  animation: logo-sheen-sweep 5.2s ease-in-out 1.1s infinite both;
}

.tagline {
  margin: 0 0 clamp(30px, 5vh, 44px);
  color: var(--light);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.35;
  text-wrap: balance;
  animation: rise 700ms var(--ease) 90ms both;
}

.tagline__accent {
  color: var(--accent);
  text-shadow: 0 0 28px color-mix(in srgb, var(--accent) 24%, transparent);
}

.hero .cta {
  animation: rise 700ms var(--ease) 180ms both;
}

/* --------------------------------------------------------------------------
   Action
   -------------------------------------------------------------------------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #adff1f 0%, var(--accent) 100%);
  color: #070b12;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 0 0 1px color-mix(in srgb, var(--accent) 65%, transparent),
    0 10px 30px -6px color-mix(in srgb, var(--accent) 32%, transparent),
    0 2px 6px rgba(0, 0, 0, 0.45);
  transition:
    background 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 180ms var(--ease);
}

.cta:hover {
  background: linear-gradient(180deg, #bfff47 0%, #a9f90a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 0 0 1px var(--accent-hover),
    0 14px 40px -4px color-mix(in srgb, var(--accent) 44%, transparent),
    0 4px 10px rgba(0, 0, 0, 0.5);
  transform: translateY(-1.5px);
}

.cta:active {
  transform: translateY(0) scale(0.985);
}

.cta:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 3px;
}

.cta__arrow {
  display: inline-block;
  transition: transform 180ms var(--ease);
}

.cta:hover .cta__arrow {
  transform: translateX(3.5px);
}

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

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding:
    18px
    max(var(--gutter), env(safe-area-inset-right))
    max(24px, calc(14px + env(safe-area-inset-bottom)))
    max(var(--gutter), env(safe-area-inset-left));
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.site-footer p {
  margin: 0;
}

.footer-copy {
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px 12px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 1px;
  transition: color 160ms var(--ease);
}

.site-footer a:hover {
  color: var(--accent);
}

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

.contact {
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: auto;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--light) 11%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--light);
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.72),
    0 0 0 1px color-mix(in srgb, var(--light) 4%, transparent) inset;
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  overflow: auto;
  animation: dialog-in 260ms var(--ease) both;
}

.contact::backdrop {
  background: color-mix(in srgb, var(--dark) 78%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: backdrop-in 240ms ease both;
}

.contact__inner {
  position: relative;
  padding: 28px;
}

.contact__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 22px var(--glow);
}

.contact__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.contact__close:hover {
  color: var(--light);
  background: var(--surface-tint-hover);
}

.contact__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.contact__label,
.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--accent);
  margin-bottom: 14px;
}

.contact__title {
  margin: 0 0 22px;
  color: var(--light);
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.contact__title .accent,
.accent {
  color: var(--accent);
}

.contact__email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 4px 6px 4px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--dark) 72%, transparent);
}

.contact__email {
  min-width: 0;
  color: var(--light);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 150ms ease;
}

.contact__email:hover {
  color: var(--accent);
}

.contact__copy {
  flex: none;
  min-height: 44px;
  min-width: 54px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.contact__copy:hover {
  color: var(--light);
  background: var(--surface-tint-hover);
}

.contact__copy.is-copied {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.contact__copy:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact__compose {
  width: 100%;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Not found
   -------------------------------------------------------------------------- */

.page--404 .stage {
  padding-top: clamp(40px, 8vh, 96px);
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 560px);
  text-align: center;
  animation: rise 650ms var(--ease) both;
}

.not-found__brand {
  display: block;
  width: clamp(210px, 30vw, 290px);
  margin-bottom: clamp(32px, 6vh, 52px);
  line-height: 0;
}

.not-found__title {
  margin: 0 0 28px;
  color: var(--light);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--light);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.link-arrow:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aura {
  from {
    opacity: 0.42;
    transform: translateX(-50%) scale(0.96);
  }
  to {
    opacity: 0.65;
    transform: translateX(-50%) scale(1.04);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes logo-dot-in {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logo-star-in {
  from {
    transform: rotate(-60deg) scale(0.84);
  }
  to {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes logo-star-draw {
  0% {
    opacity: 0;
    stroke-dashoffset: 52;
  }
  14% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes logo-word-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes logo-desc-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lockup-halo {
  0%,
  100% {
    opacity: 0.58;
  }
  35% {
    opacity: 0.92;
  }
}

@keyframes logo-dot-beat {
  0%,
  20%,
  100% {
    transform: scale(1);
  }
  7% {
    transform: scale(1.22);
  }
}

@keyframes logo-sheen-sweep {
  0% {
    transform: translateX(-115px);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  28% {
    opacity: 1;
  }
  34%,
  100% {
    transform: translateX(175px);
    opacity: 0;
  }
}

@keyframes logo-word-sweep {
  0%,
  16% {
    transform: translateX(115px);
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  58% {
    opacity: 1;
  }
  66%,
  100% {
    transform: translateX(425px);
    opacity: 0;
  }
}

@keyframes logo-desc-breath {
  0%,
  42%,
  88%,
  100% {
    opacity: 0.86;
  }
  62% {
    opacity: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero::before {
    animation: none;
    opacity: 0.5;
  }

  .brand-lockup::before {
    animation: none;
    opacity: 0.65;
  }

  .logo-sheen,
  .logo-word-sheen {
    display: none;
  }

  .brand-logo {
    transform: translateX(3.5%);
  }

  .field {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  .stage {
    padding-top: clamp(28px, 7vh, 64px);
    padding-bottom: 28px;
  }

  .hero::before {
    top: -16%;
    width: 100%;
  }

  .brand-lockup {
    width: min(74vw, 300px);
    margin-bottom: 20px;
  }

  .tagline {
    margin-bottom: 30px;
    font-size: clamp(1rem, 4.6vw, 1.2rem);
  }

  .cta {
    width: 100%;
    max-width: 280px;
    padding: 0 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding:
      16px
      max(var(--gutter), env(safe-area-inset-right))
      max(22px, calc(12px + env(safe-area-inset-bottom)))
      max(var(--gutter), env(safe-area-inset-left));
    text-align: center;
  }

  .footer-meta {
    justify-content: center;
  }

  .contact__inner {
    padding: 24px;
  }

  .contact__inner::before {
    left: 20px;
    right: 20px;
  }

  .not-found__brand {
    width: min(68vw, 250px);
  }
}

@media (max-height: 620px) {
  .stage,
  .page--404 .stage {
    padding-top: 20px;
    padding-bottom: 16px;
  }

  .brand-lockup {
    width: clamp(190px, 26vw, 310px);
    margin-bottom: 12px;
  }

  .tagline {
    margin-bottom: 18px;
    font-size: clamp(0.98rem, 2.2vw, 1.2rem);
  }

  .not-found__brand {
    width: clamp(170px, 24vw, 240px);
    margin-bottom: 16px;
  }

  .eyebrow {
    margin-bottom: 6px;
  }

  .not-found__title {
    margin-bottom: 14px;
    font-size: clamp(24px, 4.4vw, 36px);
  }

  .hero::before {
    top: -12%;
  }

  .site-footer {
    flex-direction: row;
    padding-top: 10px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}

/* --------------------------------------------------------------------------
   Forced colours and print
   -------------------------------------------------------------------------- */

@media (forced-colors: active) {
  :root {
    --logo-ink: CanvasText;
    --logo-secondary: CanvasText;
    --logo-tile: CanvasText;
    --logo-cut: Canvas;
  }

  .atmosphere,
  .grain,
  .field,
  .veil,
  .hero::before,
  .brand-lockup::before,
  .logo-tile-fx,
  .logo-word-fx {
    display: none !important;
  }

  body {
    background: Canvas;
    color: CanvasText;
  }

  .brand-logo {
    forced-color-adjust: none;
    transform: translateX(3.5%);
  }

  .cta {
    background: ButtonFace;
    color: ButtonText;
    border: 1px solid ButtonText;
    box-shadow: none;
  }

  .cta:hover {
    background: Highlight;
    color: HighlightText;
  }

  .site-footer a,
  .link-arrow,
  .contact__email {
    color: LinkText;
  }

  .contact {
    background: Canvas;
    color: CanvasText;
    border: 1px solid CanvasText;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .contact::backdrop {
    background: Canvas;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .contact__email-row {
    background: Canvas;
    border-color: CanvasText;
  }

  .contact__title,
  .contact__label,
  .eyebrow {
    color: CanvasText;
  }

  .contact__close,
  .contact__copy {
    color: ButtonText;
  }
}

@media print {
  @page {
    margin: 18mm;
  }

  :root {
    color-scheme: light;
    --logo-ink: #090d16;
    --logo-secondary: #090d16;
    --logo-tile: #9fef00;
    --logo-cut: #090d16;
  }

  body {
    min-height: auto;
    background: #fff;
    color: #090d16;
  }

  .atmosphere,
  .grain,
  .field,
  .veil,
  .hero::before,
  .brand-lockup::before,
  .logo-tile-fx,
  .logo-word-fx,
  .cta,
  .contact {
    display: none !important;
  }

  .page,
  .stage {
    min-height: auto;
  }

  .stage {
    display: block;
    padding: 0;
  }

  .hero {
    display: block;
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .brand-lockup {
    width: 260px;
    margin: 0 0 24px;
    animation: none;
  }

  .brand-logo {
    transform: none;
  }

  .logo-dot-enter,
  .logo-dot-pulse,
  .logo-star-enter,
  .logo-star-path,
  .logo-wordmark,
  .logo-desc-pulse,
  .logo-descriptor {
    animation: none;
  }

  .tagline {
    margin: 0;
    color: #090d16;
    font-size: 18px;
    animation: none;
  }

  .tagline__accent,
  .accent {
    color: #090d16;
    text-shadow: none;
  }

  .site-footer {
    margin-top: 48px;
    padding: 12px 0 0;
    border-top: 1px solid #bbc2ca;
    color: #354252;
    font-size: 10px;
  }

  .site-footer::before {
    display: none;
  }

  .site-footer a {
    color: #090d16;
  }
}
