/* SharpCube site.css. Organised: reset, base, chrome, patterns, page sections, utilities. */

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

/* ---------- base ---------- */
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/clash-display-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("/fonts/clash-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("/fonts/switzer-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("/fonts/switzer-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  background: var(--paper);
  color: var(--ink);
  font: var(--text-body);
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
}

h1 {
  font: var(--text-display-xl);
  letter-spacing: var(--tracking-display-xl);
}

h2 {
  font: var(--text-display-lg);
  letter-spacing: var(--tracking-display-lg);
}

h3 {
  font: var(--text-display-md);
  letter-spacing: var(--tracking-display-md);
}

h4 {
  font: var(--text-display-sm);
  letter-spacing: var(--tracking-display-sm);
}

p {
  max-width: 65ch;
}

.eyebrow,
.mono,
.tag,
.price {
  font: var(--text-mono);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--steel);
  margin-bottom: var(--space-3);
}

.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--cobalt);
}

/* focus-visible: 2px cobalt outline, 2px offset, on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

/* ---------- layout shell ---------- */
.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}

.section {
  padding-block: var(--space-20);
}

@media (max-width: 640px) {
  .section {
    padding-block: var(--space-16);
  }
}

/* ---------- patterns: colour bands ---------- */
.band--mist {
  background: var(--mist);
}

.band--ink {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-on-ink);
}

.band--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      to right,
      var(--hairline-on-ink) 0 1px,
      transparent 1px 80px
    ),
    repeating-linear-gradient(
      to bottom,
      var(--hairline-on-ink) 0 1px,
      transparent 1px 80px
    );
  opacity: 0.4;
  pointer-events: none;
}

.band--ink > .wrap {
  position: relative;
}

.band--ink .section-eyebrow {
  color: var(--steel-on-ink);
}

.band--ink .process-step p,
.band--ink .process-note {
  color: var(--steel-on-ink);
}

.band--ink .process-step__number {
  color: var(--cobalt-on-ink);
}

.band--cobalt {
  background: var(--cobalt);
  color: var(--paper);
}

.band--cobalt .section-eyebrow {
  color: var(--paper);
}

.band--cobalt .section-eyebrow::before {
  background: var(--paper);
}

/* ---------- chrome: header ---------- */
.site-header {
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.logo__mark {
  flex: none;
  overflow: visible;
}

.logo__body {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.logo__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.logo__edge {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 3;
  stroke-linecap: square;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

html.js .page-home .logo__edge {
  animation: draw-edge 400ms var(--ease-out-standard) forwards;
  animation-delay: 800ms;
  stroke-dashoffset: 1;
}

@keyframes draw-edge {
  to {
    stroke-dashoffset: 0;
  }
}

.site-nav__list {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.site-nav__link {
  font: var(--text-body-sm);
  text-decoration: none;
}

.site-nav__link[aria-current="page"] {
  color: var(--cobalt);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-header__call {
  flex: none;
}

.mobile-menu {
  display: none;
}

.mobile-menu__toggle {
  list-style: none;
  font: var(--text-button);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--hairline);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.mobile-menu__toggle::-webkit-details-marker {
  display: none;
}

.mobile-menu__panel {
  position: absolute;
  right: var(--content-pad);
  top: 64px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  min-width: 180px;
  z-index: 10;
}

.mobile-menu__panel a {
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  font: var(--text-body-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-menu__panel a[aria-current="page"] {
  color: var(--cobalt);
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }
}

/* ---------- chrome: footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline-on-ink);
  background: var(--ink);
  color: var(--paper-on-ink);
}

.site-footer .logo__body {
  stroke: var(--paper-on-ink);
}

.site-footer .logo__word {
  color: var(--paper-on-ink);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-16);
}

.site-footer__nav {
  display: flex;
  gap: var(--space-6);
}

.site-footer__nav a {
  color: var(--steel-on-ink);
  font: var(--text-body-sm);
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--cobalt-on-ink);
}

.site-footer__meta {
  font: var(--text-body-sm);
  color: var(--steel-on-ink);
}

.site-footer__meta .link-underline {
  background-image: linear-gradient(var(--cobalt-on-ink), var(--cobalt-on-ink));
  text-decoration-color: var(--steel-on-ink);
}

/* ---------- patterns: chamfer ---------- */
/* One corner (bottom-right) cut at 45deg. Vertex count stays constant across
   states so clip-path can transition. */
.chamfer {
  --cut: var(--chamfer-md);
  position: relative;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%
  );
  transition: clip-path var(--duration-hover) var(--ease-out-standard);
}

.chamfer-sm {
  --cut: var(--chamfer-sm);
}

.chamfer-lg {
  --cut: var(--chamfer-lg);
}

.chamfer-xl {
  --cut: var(--chamfer-xl);
}

/* hover: cut deepens */
.chamfer-deepen:hover,
.chamfer-deepen:focus-visible {
  --cut: calc(var(--chamfer-md) * 1.5);
}

.chamfer-deepen.chamfer-sm:hover,
.chamfer-deepen.chamfer-sm:focus-visible {
  --cut: calc(var(--chamfer-sm) * 1.5);
}

.chamfer-deepen.chamfer-lg:hover,
.chamfer-deepen.chamfer-lg:focus-visible {
  --cut: calc(var(--chamfer-lg) * 1.5);
}

.chamfer-deepen.chamfer-xl:hover,
.chamfer-deepen.chamfer-xl:focus-visible {
  --cut: calc(var(--chamfer-xl) * 1.5);
}

/* frames-link (10C) wraps a laptop + phone frame pair; the link is the
   actual hover/focus target, so it drives the deepen state of both
   children rather than relying on each frame's own :hover. */
.frames-link:hover .chamfer-deepen.chamfer-md,
.frames-link:focus-visible .chamfer-deepen.chamfer-md {
  --cut: calc(var(--chamfer-md) * 1.5);
}

.frames-link:hover .chamfer-deepen.chamfer-xl,
.frames-link:focus-visible .chamfer-deepen.chamfer-xl {
  --cut: calc(var(--chamfer-xl) * 1.5);
}

/* hover: cut fills cobalt instead of deepening (buttons) */
.chamfer-fill::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--cut);
  height: var(--cut);
  background: var(--cobalt);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-hover) ease;
}

.chamfer-fill:hover::after,
.chamfer-fill:focus-visible::after {
  opacity: 1;
}

/* rest: a crisp cobalt line along the cut edge; hover: fills solid like chamfer-fill */
.chamfer-edge::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--cut);
  height: var(--cut);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background: linear-gradient(
    135deg,
    transparent calc(50% - 1px),
    var(--cobalt) calc(50% - 1px),
    var(--cobalt) calc(50% + 1px),
    transparent calc(50% + 1px)
  );
  pointer-events: none;
  transition: background var(--duration-hover) ease;
}

.chamfer-edge:hover::after,
.chamfer-edge:focus-visible::after {
  background: var(--cobalt);
}

/* ---------- patterns: lift (hard offset shadow) ---------- */
/* clip-path clips an element's own filter, so the shadow lives on this
   wrapper; the drop-shadow then traces the chamfered child's silhouette.
   Base .lift is resting-only: a card that lifts but cannot be clicked is
   a lie. The hover behaviour lives in .lift--interactive, applied only to
   genuinely interactive surfaces (frames-link-wrapped work frames; the
   hero flap frame drives its own state directly since it has no .lift). */
.lift {
  filter: drop-shadow(5px 5px 0 var(--shadow-ink));
}

.lift--interactive {
  transition: filter var(--duration-hover) var(--ease-out-standard);
}

.lift--interactive > * {
  transition: transform var(--duration-hover) var(--ease-out-standard);
}

.frames-link:hover .lift--interactive,
.frames-link:focus-visible .lift--interactive {
  filter: drop-shadow(8px 8px 0 var(--shadow-ink));
}

.frames-link:hover .lift--interactive > *,
.frames-link:focus-visible .lift--interactive > * {
  transform: translate(-2px, -2px);
}

/* Device frames set their own width as a percentage; inside an auto-width
   .lift wrapper that percentage has no definite containing block to resolve
   against and collapses. Give the size to the wrapper instead so the frame
   inside can just fill it. */
.lift--laptop {
  width: min(70%, 420px);
}

.lift--phone {
  width: min(30%, 140px);
  margin-bottom: -8%;
}

/* ---------- patterns: tilt (pricing card 3D hover, Session 14) ---------- */
/* .tilt-card is the hover/focus trigger; a JS pointermove handler sets
   --tilt-x/--tilt-y toward the cursor side on hover, while :focus-visible
   (keyboard, no pointer position) gets a fixed 2deg tilt instead. :has() lets
   this work whether the trigger is the anchor itself (home cards) or an
   ancestor of a real focusable button (pricing cards). */
.tilt-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  display: block;
  color: inherit;
  text-decoration: none;
}

.tilt-card:hover .lift--interactive,
.tilt-card:focus-visible .lift--interactive,
.tilt-card:has(:focus-visible) .lift--interactive {
  filter: drop-shadow(8px 8px 0 var(--shadow-ink));
}

.tilt-card:hover .lift--interactive > * {
  transform: perspective(800px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate(-2px, -2px);
}

.tilt-card:focus-visible .lift--interactive > *,
.tilt-card:has(:focus-visible) .lift--interactive > * {
  transform: perspective(800px) rotateX(-2deg) rotateY(2deg) translate(-2px, -2px);
}

.tilt-card:hover .link-underline,
.tilt-card:focus-visible .link-underline,
.tilt-card:has(:focus-visible) .link-underline {
  background-size: 100% 2px;
}

/* ---------- patterns: tick list ---------- */
/* Replaces the chip pattern sitewide (Session 14): a cobalt tick glyph plus
   mono-small text per line, everywhere a list of included items appears. */
.tick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.tick-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font: var(--text-mono-sm);
  letter-spacing: var(--tracking-mono);
  color: var(--steel);
}

.tick-list__icon {
  flex-shrink: 0;
}

.tick-list__icon path {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* ---------- patterns: buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font: var(--text-button);
  padding: 14px 24px;
  border: none;
  text-decoration: none;
  min-height: 44px;
}

.btn-primary {
  background: var(--cobalt);
  color: var(--paper);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--cobalt-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--cobalt);
  border-color: var(--cobalt);
}

.btn-paper-outline {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--paper);
}

.btn-paper-outline:hover,
.btn-paper-outline:focus-visible {
  background: var(--paper);
  color: var(--cobalt);
}

/* ---------- patterns: cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: var(--space-8);
}

/* ---------- patterns: forms ---------- */
.text-input {
  display: block;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: var(--space-3) var(--space-4);
  font: var(--text-body);
}

textarea.text-input {
  resize: vertical;
  min-height: 8em;
}

.text-input[aria-invalid="true"] {
  border-color: var(--cobalt);
}

/* ---------- patterns: links ---------- */
.link-underline {
  background-image: linear-gradient(var(--cobalt), var(--cobalt));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  transition: background-size var(--duration-hover) ease;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--steel);
  padding-bottom: 2px;
}

.link-underline:hover,
.link-underline:focus-visible {
  background-size: 100% 2px;
}

.link-arrow {
  margin-left: var(--space-1);
  vertical-align: middle;
}

.link-arrow line {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
}

/* ---------- page sections: hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(
      to right,
      #D8DCD6 0 1px,
      transparent 1px 80px
    ),
    repeating-linear-gradient(
      to bottom,
      #D8DCD6 0 1px,
      transparent 1px 80px
    );
  opacity: 0.9;
  pointer-events: none;
}

.hero-cube {
  position: absolute;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero-cube__line {
  fill: none;
  stroke: var(--hairline);
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.hero-cube--sm {
  top: 8%;
  right: 6%;
  width: 120px;
  height: 120px;
}

.hero-cube--lg {
  bottom: -6%;
  left: -4%;
  width: 220px;
  height: 220px;
}

html.js .hero-cube--sm {
  animation: cube-drift-a 48s ease-in-out infinite alternate;
}

html.js .hero-cube--lg {
  animation: cube-drift-b 58s ease-in-out infinite alternate;
}

@keyframes cube-drift-a {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(-16px, 14px) rotate(4deg);
  }
}

@keyframes cube-drift-b {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(18px, -12px) rotate(-3deg);
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

@media (min-width: 900px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
  }

  .hero__copy {
    flex: 1 1 50%;
  }

  .hero__frames {
    flex: 1 1 45%;
  }
}

.hero__eyebrow {
  display: inline-flex;
  background: var(--cobalt-tint);
  color: var(--cobalt);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
}

.hero__heading {
  display: flex;
  flex-direction: column;
}

.hero__line {
  display: block;
}

html.js .hero__line {
  opacity: 0;
  transform: translateY(40px);
  animation: line-in var(--duration-load) var(--ease-out-standard) forwards;
}

html.js .hero__line:nth-child(1) {
  animation-delay: 0ms;
}

html.js .hero__line:nth-child(2) {
  animation-delay: 120ms;
}

@keyframes line-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__sub {
  color: var(--steel);
  margin-top: var(--space-6);
  max-width: 44ch;
}

html.js .hero__sub {
  opacity: 0;
  transform: translateY(40px);
  animation: line-in var(--duration-load) var(--ease-out-standard) forwards;
  animation-delay: 360ms;
}

.hero__rotator {
  display: inline-block;
  min-width: 11ch;
}

.hero__rotator-word {
  display: inline-block;
  color: var(--cobalt);
  transition: opacity 200ms var(--ease-out-standard), transform 200ms var(--ease-out-standard);
}

.hero__rotator-word--out {
  opacity: 0;
  transform: translateY(8px);
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

html.js .hero__cta {
  opacity: 0;
  transform: translateY(40px);
  animation: line-in var(--duration-load) var(--ease-out-standard) forwards;
  animation-delay: 480ms;
}

.hero__frames {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: var(--space-6);
}

html.js .hero__frames {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  animation: frames-in 0.5s var(--ease-out-standard) forwards;
  animation-delay: 600ms;
}

@keyframes frames-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__laptop {
  position: relative;
  flex: none;
  width: min(70%, 420px);
}

.hero__laptop .device-frame--laptop {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-plate {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 100%;
  height: 100%;
  background: var(--cobalt);
  z-index: 0;
}

.device-frame {
  background: var(--ink);
  border: 1px solid var(--hairline-on-ink);
  padding: var(--space-3);
}

.device-frame--laptop {
  width: 100%;
}

.device-frame--phone {
  width: 100%;
}

.device-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
}

.device-frame__dots {
  display: flex;
  gap: 4px;
  flex: none;
}

.device-frame__dots span {
  width: 6px;
  height: 6px;
  background: var(--hairline-on-ink);
}

.device-frame__domain {
  font: var(--text-mono-sm);
  color: var(--steel-on-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-frame__screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.device-frame--phone .device-frame__screen {
  aspect-ratio: 9 / 18;
}

.device-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--duration-frame) ease;
}

.device-frame:hover .device-frame__screen img,
.device-frame:focus-within .device-frame__screen img {
  transform: scale(1.03);
}

.hero__ticker {
  position: relative;
  z-index: 2;
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--hairline);
}

.hero__ticker-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent);
  mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent);
}

.hero__ticker-row {
  display: flex;
  width: max-content;
}

html.js .hero__ticker-row {
  animation: ticker-scroll 40s linear infinite;
}

.hero__ticker:hover .hero__ticker-row {
  animation-play-state: paused;
}

.hero__ticker-track {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex: none;
  list-style: none;
  padding-right: var(--space-6);
}

.hero__ticker-track li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--steel);
  white-space: nowrap;
}

.hero__ticker-track--dup {
  display: none;
}

html.js .hero__ticker-track--dup {
  display: flex;
}

.hero__ticker-glyph {
  flex: none;
}

.hero__ticker-glyph path {
  fill: var(--cobalt);
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- page sections: hero split-flap (motion 4) ---------- */
.flap {
  position: relative;
  perspective: 800px;
}

.flap__pane,
.flap__leaf {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
}

.flap__pane--top,
.flap__leaf--top {
  top: 0;
  transform-origin: bottom center;
}

.flap__pane--bottom,
.flap__leaf--bottom {
  bottom: 0;
  transform-origin: top center;
}

.flap__pane .flap__img,
.flap__leaf .flap__img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 200%;
  object-fit: cover;
  object-position: top;
}

.flap__pane--top .flap__img,
.flap__leaf--top .flap__img {
  top: 0;
}

.flap__pane--bottom .flap__img,
.flap__leaf--bottom .flap__img {
  top: -100%;
}

.flap__leaf {
  visibility: hidden;
  backface-visibility: hidden;
  z-index: 2;
}

.flap__fold {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--ink);
  z-index: 3;
  pointer-events: none;
}

/* ---------- page sections: shared ---------- */
.section-intro {
  color: var(--steel);
  margin-top: var(--space-4);
  max-width: 44ch;
}

/* ---------- page sections: what you get (spec sheet) ---------- */
.spec-sheet {
  margin-top: var(--space-12);
  padding: 0;
}

.spec-sheet__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-block: var(--space-4);
  padding-inline: var(--space-8);
}

.spec-sheet__row + .spec-sheet__row {
  border-top: 1px solid var(--hairline);
}

.spec-sheet__label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.spec-sheet__icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--cobalt-tint);
}

.spec-sheet__icon {
  overflow: visible;
}

.spec-sheet__icon .icon-ink {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.spec-sheet__icon .icon-cobalt {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 2;
  stroke-linecap: square;
}

.spec-sheet__label .eyebrow {
  color: var(--steel);
  margin: 0;
}

.spec-sheet__body h3 {
  margin-bottom: var(--space-3);
}

.spec-sheet__body p {
  margin: 0;
}

@media (min-width: 900px) {
  .spec-sheet__row {
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
  }

  .spec-sheet__label {
    flex: 0 0 200px;
  }

  .spec-sheet__body {
    flex: 1;
  }
}

/* ---------- page sections: featured work ---------- */
.work-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  margin-top: var(--space-12);
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.frames-link {
  display: block;
}

.work-item__frames,
.work-card__frames {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: var(--space-6);
}

/* featured work only (home): the hero keeps its current frame sizes */
.work-item__frames .lift--laptop {
  width: min(76%, 520px);
}

.work-item__frames .lift--phone {
  width: min(28%, 150px);
}

.work-item__copy .tag,
.work-card__copy .tag {
  color: var(--steel);
  margin-bottom: var(--space-2);
}

.work-item__copy p,
.work-card__copy p {
  color: var(--steel);
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

@media (min-width: 900px) {
  .work-item {
    flex-direction: row;
    align-items: center;
    gap: var(--space-12);
  }

  .frames-link,
  .work-item__copy {
    flex: 1 1 50%;
  }

  .work-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.work-list__all {
  margin-top: var(--space-12);
}

/* ---------- page sections: proof panel ---------- */
.proof-panel__inner {
  width: 100%;
  padding: var(--space-12);
}

.proof-panel__copy h2 {
  margin-top: var(--space-4);
}

.proof-panel__copy p:not(.eyebrow) {
  color: var(--steel);
  margin-top: var(--space-4);
  max-width: 42ch;
}

.proof-gauge {
  display: block;
  width: 100%;
  height: auto;
}

.proof-gauge__tick {
  fill: none;
  stroke: var(--hairline);
  stroke-width: 1.5;
}

.proof-gauge__tick--fill {
  fill: var(--cobalt);
  stroke: none;
}

.proof-gauge__score {
  font: var(--text-display-sm);
  margin-top: var(--space-4);
}

.proof-gauge__score-label {
  color: var(--steel);
  margin-top: var(--space-1);
}

.proof-panel__vitals {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-3);
}

.proof-panel__vital {
  display: grid;
  grid-template-columns: 3.5ch 1fr auto;
  align-items: center;
  gap: var(--space-3);
}

.proof-panel__bar {
  display: block;
  height: 6px;
  background: var(--hairline);
}

.proof-panel__bar-fill {
  display: block;
  height: 100%;
  width: 92%;
  background: var(--cobalt);
}

.proof-panel__vital-status {
  color: var(--steel);
}

.proof-panel__caption {
  color: var(--steel);
  margin-top: var(--space-6);
  text-align: center;
}

/* one-time fill (13D amendment): base/no-JS state is always the final,
   filled state; html.js starts empty and transitions to final on reveal,
   reusing the reveal observer's is-visible class on .proof-panel__inner. */
html.js .proof-panel__inner .proof-gauge__tick--fill {
  fill: none;
  stroke: var(--hairline);
  stroke-width: 1.5;
  transition: fill 600ms var(--ease-out-standard), stroke 600ms var(--ease-out-standard);
}

html.js .proof-panel__inner.is-visible .proof-gauge__tick--fill {
  fill: var(--cobalt);
  stroke: none;
}

html.js .proof-panel__bar-fill {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease-out-standard);
}

html.js .proof-panel__inner.is-visible .proof-panel__bar-fill {
  transform: scaleX(1);
}

.proof-panel__instruments {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .proof-panel__instruments {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.instrument-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  padding: var(--space-6);
}

.instrument-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.instrument-card__stat {
  font: var(--text-display-lg);
  letter-spacing: var(--tracking-display-lg);
  line-height: 1;
  text-align: right;
}

.instrument-card__stat-suffix {
  color: var(--steel);
  font-size: 1rem;
}

.instrument-card__stat-label {
  color: var(--steel);
  margin-top: var(--space-1);
  text-align: right;
}

.instrument-card__eyebrow {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.instrument-card h3 {
  margin-bottom: var(--space-3);
}

.instrument-card__text {
  color: var(--steel);
  margin-bottom: var(--space-4);
}

.instrument-card__ticks {
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline);
}

.instrument-card__foot {
  margin-top: var(--space-6);
}

.instrument-card__caption {
  color: var(--steel);
  margin-top: var(--space-4);
}

.search-preview {
  border: 1px solid var(--hairline);
  padding: var(--space-4);
}

.search-preview__row + .search-preview__row {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline);
}

.search-preview__tag {
  color: var(--steel);
  margin-bottom: var(--space-2);
}

.search-preview__breadcrumb {
  color: var(--steel);
  margin-bottom: var(--space-1);
}

.search-preview__link {
  color: var(--cobalt);
  font: var(--text-body-sm);
}

.search-preview__link--title {
  font: var(--text-body);
  font-weight: 500;
  margin-top: var(--space-1);
}

.search-preview__desc {
  color: var(--steel);
  font: var(--text-body-sm);
  margin-top: var(--space-1);
}

.search-preview__desc--thin {
  max-width: 20ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- page sections: work grid (portfolio page) ---------- */
.work-grid {
  list-style: none;
  display: grid;
  gap: var(--space-16);
  margin-top: var(--space-12);
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-16) var(--space-12);
  }
}

/* ---------- page sections: process ---------- */
.process-watermark {
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  height: 480px;
  width: 480px;
  pointer-events: none;
  opacity: 0.5;
}

html.js .process-watermark {
  animation: cube-drift-c 60s ease-in-out infinite alternate;
}

@keyframes cube-drift-c {
  from {
    transform: translateY(-50%) translate(0, 0) rotate(0deg);
  }
  to {
    transform: translateY(-50%) translate(-22px, 16px) rotate(3deg);
  }
}

.process-watermark__line {
  fill: none;
  stroke: var(--hairline-on-ink);
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.process-list {
  list-style: none;
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (min-width: 640px) {
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step__number {
  color: var(--cobalt);
  display: block;
  margin-bottom: var(--space-3);
}

/* Semantic level is h3 (no skip after the section's h2), kept at the smaller
   h4 display size since that is the correct visual weight for this list. */
.process-step h3 {
  font: var(--text-display-sm);
  letter-spacing: var(--tracking-display-sm);
}

.process-step p {
  color: var(--steel);
  margin-top: var(--space-2);
}

.process-step p.process-step__get {
  margin-top: var(--space-4);
}

.process-note {
  color: var(--steel);
  margin-top: var(--space-12);
}

/* ---------- page sections: testimonials ---------- */
.testimonial-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (min-width: 640px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial__quote {
  margin-bottom: var(--space-4);
}

.testimonial__quote polygon {
  fill: var(--cobalt);
}

.testimonial p {
  font: var(--text-body-lg);
  margin-bottom: var(--space-4);
}

.testimonial cite {
  font: var(--text-mono);
  letter-spacing: var(--tracking-mono);
  color: var(--steel);
  font-style: normal;
  display: block;
}

.testimonial__domain {
  display: block;
  margin-top: var(--space-2);
  font: var(--text-mono-sm);
  letter-spacing: var(--tracking-mono);
}

/* ---------- page sections: about ---------- */
.about__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

@media (min-width: 900px) {
  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-16);
  }

  .about__media {
    flex: 1 1 40%;
    margin-top: -40px;
  }

  .about__copy {
    flex: 1 1 60%;
  }
}

.about__media {
  position: relative;
}

.about-plate {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 100%;
  height: 100%;
  background: var(--cobalt);
  z-index: 0;
}

.about-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-scene {
  width: 100%;
  height: 100%;
  background: var(--mist);
}

.about-scene__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.about-scene__grid-line {
  fill: none;
  stroke: var(--hairline);
  stroke-width: 1;
}

.about-scene__window {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linejoin: miter;
}

.about-scene__bar-line {
  stroke: var(--hairline);
  stroke-width: 1.5;
}

.about-scene__dot {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.about-scene__heading {
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: square;
}

.about-scene__subline {
  stroke: var(--steel);
  stroke-width: 2;
  stroke-linecap: square;
}

.about-scene__device {
  fill: var(--cobalt-tint);
  stroke: var(--ink);
  stroke-width: 2;
}

.about-scene__device-line,
.about-scene__text-line {
  stroke: var(--steel);
  stroke-width: 2;
  stroke-linecap: square;
}

.about-scene__ext-line,
.about-scene__dim-line,
.about-scene__dim-tick,
.about-scene__callout {
  stroke: var(--cobalt);
  stroke-width: 1.5;
  stroke-linecap: square;
}

.about-photo__mark-body {
  fill: none;
  stroke: var(--steel);
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.about-photo__mark-edge {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 3;
  stroke-linecap: square;
}

.about__note {
  color: var(--steel);
  margin-top: var(--space-6);
}

/* ---------- page sections: trust FAQ ---------- */
.trust-faq__inner {
  width: 100%;
  padding: var(--space-12);
}

.trust-faq__groups {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.trust-faq__group + .trust-faq__group {
  padding-top: var(--space-12);
  border-top: 1px solid var(--hairline);
}

@media (min-width: 900px) {
  .trust-faq__group {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: var(--space-8);
    align-items: start;
  }

  .trust-faq__rail {
    position: sticky;
    top: var(--space-8);
  }
}

.trust-faq__group-number {
  color: var(--cobalt);
  display: block;
  margin-bottom: var(--space-2);
}

.trust-faq__group-label {
  color: var(--cobalt);
}

.trust-faq__group-subtitle {
  color: var(--steel);
  margin-top: var(--space-1);
}

.trust-faq__group .faq-list {
  margin-top: var(--space-4);
}

@media (min-width: 900px) {
  .trust-faq__group .faq-list {
    margin-top: 0;
  }
}

.trust-faq__list {
  border-top: none;
}

.trust-faq__list .faq-item {
  border: 1px solid var(--hairline);
  padding-inline: var(--space-4);
  margin-top: var(--space-3);
  transition: border-color var(--duration-hover) ease, background var(--duration-hover) ease;
}

.trust-faq__list .faq-item:first-child {
  margin-top: 0;
}

.trust-faq__list .faq-item[open] {
  border-color: var(--cobalt);
  background: var(--cobalt-tint);
}

/* ---------- page sections: home packages ---------- */
.packages-heading {
  margin-top: var(--space-4);
}

.packages-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (min-width: 640px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.packages-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.packages-card--highlight {
  border-color: var(--cobalt);
}

.packages-card__badge {
  color: var(--cobalt);
  margin-bottom: var(--space-3);
}

.packages-card__name {
  margin-bottom: var(--space-2);
}

.packages-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font: var(--text-mono);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: var(--space-6);
  flex: 1;
}

.packages-support {
  margin-top: var(--space-12);
}

/* ---------- page sections: pricing page ---------- */
.pricing-promises {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--steel);
  margin-top: var(--space-6);
  max-width: 52ch;
}

.pricing-card__delivery {
  color: var(--steel);
  margin-bottom: var(--space-4);
}

.rebuild-card {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.rebuild-card__copy p {
  color: var(--steel);
  margin-top: var(--space-2);
  max-width: 52ch;
}

.rebuild-card__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  flex: none;
}

.rebuild-card__price {
  color: var(--cobalt);
}

@media (min-width: 640px) {
  .rebuild-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
  }

  .rebuild-card__action {
    align-items: flex-end;
  }
}

.support-tier__summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-right: var(--space-8);
}

.support-tier__summary::-webkit-details-marker {
  display: none;
}

.support-tier__summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  font: var(--text-mono);
  color: var(--cobalt);
  transition: transform var(--duration-hover) ease;
}

.support-tier[open] .support-tier__summary::after {
  transform: rotate(45deg);
}

.support-tier__summary-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.support-tier__name {
  font: var(--text-display-sm);
  letter-spacing: var(--tracking-display-sm);
}

.support-tier .support-tier__price {
  margin: 0;
  white-space: nowrap;
}

.support-tier__scope {
  color: var(--steel);
  display: block;
}

.support-tier__includes {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--hairline);
}

.support-tier--highlight {
  border-color: var(--cobalt);
}

.pricing-section-heading {
  margin-top: var(--space-24);
}

.pricing-section-heading + .section-intro {
  margin-top: var(--space-4);
}

.pricing-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card--highlight {
  border-color: var(--cobalt);
}

.pricing-card__badge {
  color: var(--cobalt);
  margin-bottom: var(--space-3);
}

.price-line {
  font: var(--text-mono);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--cobalt);
  margin-block: var(--space-4);
}

.pricing-card__for {
  color: var(--steel);
  margin-bottom: var(--space-6);
}

.pricing-card__for .mono {
  color: var(--steel);
}

.pricing-card__includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font: var(--text-mono);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: var(--space-8);
  flex: 1;
}

#support {
  scroll-margin-top: var(--space-24);
}

.support-note {
  color: var(--steel);
  margin-top: var(--space-8);
}

.faq-list {
  margin-top: var(--space-12);
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  cursor: pointer;
  font: var(--text-body-lg);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-6);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font: var(--text-mono);
  color: var(--cobalt);
  flex: none;
  display: inline-block;
  transition: transform var(--duration-hover) ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--steel);
  max-width: 60ch;
  padding-bottom: var(--space-6);
}

/* ---------- page sections: contact ---------- */
.contact-layout {
  display: grid;
  gap: var(--space-16);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-24);
    align-items: start;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-12);
  max-width: 48ch;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field label {
  font: var(--text-body-sm);
  font-weight: 500;
}

.form-field label .mono {
  color: var(--steel);
  font-weight: 400;
  margin-left: var(--space-2);
}

.form-field__error {
  color: var(--cobalt);
  font: var(--text-caption);
  min-height: 1em;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__note {
  color: var(--steel);
  font: var(--text-body-sm);
}

.contact-form__fallback {
  color: var(--steel);
  margin-top: var(--space-8);
}

.contact-form__alert {
  color: var(--cobalt);
  font: var(--text-body-sm);
}

.contact-form__success {
  margin-top: var(--space-12);
  padding: var(--space-8);
  border: 1px solid var(--cobalt);
  max-width: 48ch;
}

.contact-form__success h2 {
  margin-bottom: var(--space-4);
}

.contact-form__success:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

.contact-next {
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-8);
}

@media (min-width: 900px) {
  .contact-next {
    border-top: none;
    border-left: 1px solid var(--hairline);
    padding-top: 0;
    padding-left: var(--space-12);
  }
}

.contact-next__list {
  color: var(--steel);
  margin-top: var(--space-6);
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ---------- page sections: privacy ---------- */
.policy h2 {
  margin-top: var(--space-12);
  margin-bottom: var(--space-3);
}

.policy p {
  color: var(--steel);
}

.policy__updated {
  color: var(--steel);
  margin-top: var(--space-16);
}

/* ---------- page sections: cta band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-on-ink);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      to right,
      var(--hairline-on-ink) 0 1px,
      transparent 1px 80px
    ),
    repeating-linear-gradient(
      to bottom,
      var(--hairline-on-ink) 0 1px,
      transparent 1px 80px
    );
  opacity: 0.4;
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.cta-band h2 {
  color: var(--paper-on-ink);
}

.cta-band p {
  color: var(--paper-on-ink);
}

.cta-band .btn-primary {
  margin-top: var(--space-4);
}

/* ---------- pattern: mobile quick CTA bar (10E) ---------- */
/* Hidden without JS or above 900px; shown only via .is-visible, toggled by
   an IntersectionObserver in site.js. No transition: instant show/hide per
   spec, so there is nothing to disable under reduced motion. */
.quick-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  background: var(--ink);
  border-top: 1px solid var(--hairline-on-ink);
  padding: var(--space-4) var(--content-pad) calc(var(--space-4) + env(safe-area-inset-bottom));
}

.quick-bar .btn {
  width: 100%;
}

@media (max-width: 899px) {
  html.js .quick-bar.is-visible {
    display: block;
  }

  body.has-quick-bar {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

/* ---------- utilities: colour accent ---------- */
.text-accent {
  color: var(--cobalt);
}

/* ---------- utilities: button row ---------- */
.btn-row {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* ---------- utilities: scroll reveal (motion 2) ---------- */
html.js .reveal,
html.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--duration-reveal) var(--ease-out-standard),
    transform var(--duration-reveal) var(--ease-out-standard),
    filter var(--duration-hover) var(--ease-out-standard);
}

html.js .reveal.is-visible,
html.js .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(2) {
  transition-delay: 40ms;
}

.reveal-stagger > *:nth-child(3) {
  transition-delay: 80ms;
}

.reveal-stagger > *:nth-child(4) {
  transition-delay: 120ms;
}

.reveal-stagger > *:nth-child(5) {
  transition-delay: 160ms;
}

.reveal-stagger > *:nth-child(6) {
  transition-delay: 200ms;
}

/* ---------- utilities: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .hero__line,
  html.js .hero__sub,
  html.js .hero__cta,
  html.js .hero__frames,
  html.js .page-home .logo__edge,
  html.js .reveal,
  html.js .reveal-stagger > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }

  .lift--interactive,
  .lift--interactive > * {
    transition: none !important;
  }

  html.js .hero-cube--sm,
  html.js .hero-cube--lg,
  html.js .process-watermark {
    animation: none !important;
  }

  html.js .hero__ticker-row {
    animation: none !important;
    transform: none !important;
  }

  html.js .hero__ticker-track--dup {
    display: none !important;
  }

  html.js .proof-panel__inner .proof-gauge__tick--fill,
  html.js .proof-panel__bar-fill {
    transition: none !important;
  }

  html.js .proof-gauge__tick--fill {
    fill: var(--cobalt) !important;
    stroke: none !important;
  }

  html.js .proof-panel__bar-fill {
    transform: none !important;
  }

  .tilt-card:hover .lift--interactive > *,
  .tilt-card:focus-visible .lift--interactive > *,
  .tilt-card:has(:focus-visible) .lift--interactive > * {
    transform: translate(-2px, -2px) !important;
  }
}
