:root {
  --bg: #101210;
  --text: #e6edf2;
  --muted: #8aa0b8;
  --quiet: #657485;
  --accent: #b9d8f4;
  --display: "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
  /* Figma sets DM Sans to optical size 14 throughout. */
  font-variation-settings: "opsz" 14;
}

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

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--bg);
  padding: 0.7rem 1rem;
  font-family: var(--mono);
}

.skip-link:focus { transform: none; }

.hero,
.section,
footer {
  width: min(100%, 2048px);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 2.5rem;
  font-family: var(--mono);
  font-size: clamp(0.9rem, 1.08vw, 1.375rem);
  font-weight: 500;
}

.topbar a {
  text-decoration: none;
  transition: color 180ms ease;
}

.brand { color: var(--text); font-weight: 600; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(1.5rem, 3.2vw, 4rem);
}

.nav-links a { color: var(--muted); }
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--text); }

h1, h2, h3, p { margin-top: 0; }

h1 span { display: block; }
.muted { color: var(--muted); }

.outline-button,
.art-label {
  font-family: var(--mono);
  text-transform: uppercase;
}

.outline-button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--accent);
  background: var(--bg);
  color: var(--accent);
  padding: 0.4rem 1.35rem;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.outline-button:hover,
.outline-button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.reveal-media {
  --reveal-x: 50%;
  --reveal-y: 50%;
  --reveal-r: 120px;
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.reveal-media > img,
.reveal-color {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reveal-color {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  /* Falloff matches Originkit: 1 - smoothstep(0, reach, d)^3 */
  -webkit-mask-image: radial-gradient(circle var(--reveal-r) at var(--reveal-x) var(--reveal-y), #000 0%, rgba(0,0,0,.999) 20%, rgba(0,0,0,.956) 40%, rgba(0,0,0,.875) 50%, rgba(0,0,0,.728) 60%, rgba(0,0,0,.518) 70%, rgba(0,0,0,.281) 80%, rgba(0,0,0,.082) 90%, transparent 100%);
  mask-image: radial-gradient(circle var(--reveal-r) at var(--reveal-x) var(--reveal-y), #000 0%, rgba(0,0,0,.999) 20%, rgba(0,0,0,.956) 40%, rgba(0,0,0,.875) 50%, rgba(0,0,0,.728) 60%, rgba(0,0,0,.518) 70%, rgba(0,0,0,.281) 80%, rgba(0,0,0,.082) 90%, transparent 100%);
}

.reveal-rig {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.35s ease;
  /* Fade the rig out toward every edge of the image instead of hard-clipping it. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent),
    linear-gradient(to right, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent),
    linear-gradient(to right, transparent, #000 22%, #000 78%, transparent);
  mask-composite: intersect;
}

.reveal-media.is-revealing .reveal-color,
.reveal-media.is-revealing .reveal-rig { opacity: 1; }

/* Text variant (hero line 2): the colour layer is the same text filled with the flower colours. */
.reveal-text {
  position: relative;
  display: inline-block;
}

.reveal-text > .reveal-color {
  display: block;
  width: auto;
  height: auto;
  color: transparent;
  background-image: var(--reveal-fill);
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.reveal-text > .reveal-rig { height: auto; }

.reveal-text.is-revealing .reveal-color,
.reveal-text.is-revealing .reveal-rig { opacity: 1; }

.reveal-rig line,
.reveal-rig rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.reveal-rig text {
  fill: currentColor;
  opacity: 0.6;
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.art-label {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  border: 0;
  background: var(--bg);
  color: var(--text);
  padding: 0.35rem 0.55rem;
  font-size: clamp(0.7rem, 0.88vw, 1.125rem);
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
}

/* Hero: Figma frame 139:66 (2048 x 1239). 1 Figma px = var(--hu). */
.hero {
  --hu: calc(min(100vw, 2048px) / 2048);
  position: relative;
  height: calc(1239 * var(--hu));
  overflow: hidden;
  padding: calc(48 * var(--hu)) calc(128 * var(--hu)) 0 calc(84 * var(--hu));
}

.hero .topbar {
  position: relative;
  z-index: 2;
  min-height: calc(40 * var(--hu));
  font-size: calc(22 * var(--hu));
}

.hero .nav-links { gap: calc(51 * var(--hu)); }

.hero-copy {
  position: absolute;
  z-index: 1;
  top: calc(486 * var(--hu));
  left: 0;
  right: 0;
  text-align: center;
  text-shadow: 0 calc(10 * var(--hu)) calc(4 * var(--hu)) rgba(0, 0, 0, 0.25);
}

.hero h1 {
  margin: 0 0 calc(27 * var(--hu));
  font-size: calc(160 * var(--hu));
  line-height: calc(124 * var(--hu));
  /* Web DM Sans sets ~6% wider than Figma's; measured against frame 139:66. */
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.hero-copy > p {
  margin: 0 0 calc(36 * var(--hu));
  font-size: calc(32 * var(--hu));
  line-height: calc(38 * var(--hu));
  letter-spacing: -0.025em;
}

.hero-cta {
  display: inline-flex;
  width: calc(289 * var(--hu));
  height: calc(56 * var(--hu));
  align-items: center;
  justify-content: center;
  border: calc(5 * var(--hu)) solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  font: 600 calc(24 * var(--hu))/1.32 var(--mono);
  text-decoration: none;
  text-shadow: none;
  filter: drop-shadow(0 calc(10 * var(--hu)) calc(2 * var(--hu)) rgba(0, 0, 0, 0.25));
  transition: background-color 160ms ease, color 160ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible { background: var(--bg); color: var(--accent); }

/* Arrow 1 (139:79): 213px vertical arrow starting at y 925, drawn from a horizontal SVG. */
.hero-arrow {
  display: block;
  width: calc(213 * var(--hu));
  height: calc(14.73 * var(--hu));
  margin: calc(133.1 * var(--hu)) auto 0;
  rotate: 90deg;
}

@media (max-width: 720px) {
  .hero { height: auto; min-height: 100svh; padding: 1.25rem 1rem 3rem; }
  .hero .topbar { font-size: 0.9rem; }
  .hero-copy { position: relative; top: auto; margin-top: 22svh; }
  .hero h1 { margin-bottom: 1.25rem; font-size: 12vw; line-height: 1; white-space: normal; }
  .hero h1 span + span { margin-top: 0.5rem; }
  .hero-copy > p { margin-bottom: 1.75rem; font-size: 1.15rem; line-height: 1.4; }
  .hero-cta { width: auto; height: 3.5rem; padding: 0 1.25rem; border-width: 4px; font-size: 1rem; }
  .hero-arrow { width: 7rem; height: 0.5rem; margin-top: 4.5rem; }
}

.section { padding-inline: clamp(2rem, 5vw, 6rem); }
.section > h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 4vw, 5.125rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
}

.builds { min-height: 111rem; padding-top: 3rem; }

.builds-stage {
  position: relative;
  width: min(100%, 104rem);
  height: 91rem;
  margin-inline: auto;
}

.build-flower {
  position: absolute;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.build-flower > .reveal-media { width: 100%; height: 100%; }
.build-flower .art-label {
  border: 5px solid var(--accent);
  color: var(--accent);
  font-size: clamp(0.95rem, 1.1vw, 1.5rem);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.build-flower:hover .art-label,
.build-flower:focus-visible .art-label {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.build-ai { top: 0; left: 2%; width: 39%; height: 44rem; }
.build-ai .art-label { top: 63%; left: 12%; }
.build-delivery { top: 1%; right: -2%; width: 54%; height: 47rem; }
.build-delivery .art-label { top: 35%; right: 9%; }
.build-automation { top: 44rem; left: 1%; width: 42%; height: 42rem; }
.build-automation .art-label { top: 48%; left: 0; }
.build-web { top: 47rem; right: 7%; width: 45%; height: 39rem; }
.build-web .art-label { top: 68%; right: 1%; }

.more-builds {
  width: min(100%, 94rem);
  margin: -1.5rem auto 0;
  color: var(--muted);
  font: 1.05rem/1.5 var(--mono);
}

.stack { min-height: 51rem; padding-top: 4rem; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 8rem);
  width: min(100%, 88rem);
  margin: 3.2rem auto 0;
}

.stack-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.stack-column h3 {
  min-height: 3rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1rem, 1.26vw, 1.625rem);
  line-height: 1.3;
  text-align: center;
}

.stack-item {
  display: flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: var(--quiet);
  font: clamp(0.82rem, 1.05vw, 1.5rem)/1.25 var(--mono);
  text-align: center;
  text-decoration: none;
  transition: color 120ms ease;
}

a.stack-item { cursor: pointer; }
a.stack-item:focus-visible { color: var(--stack-random, var(--accent)); }

.about { min-height: 74rem; padding-top: 4rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 8rem);
  width: min(100%, 98rem);
  margin-inline: auto;
}

/* Portrait stage: positions taken from Figma node 123:220 (desktop 2048).
   Stage box = x 260-990, y 220-1090 in the About frame; children are placed by centre. */
.portrait-wrap {
  position: relative;
  width: 100%;
  max-width: 45.625rem;
  aspect-ratio: 730 / 870;
  margin-inline: auto;
  container-type: inline-size;
}

.portrait,
.portrait-meta {
  position: absolute;
  translate: -50% -50%;
}

.portrait {
  left: 50.25%;
  top: 50.07%;
  width: 71.94%;
  aspect-ratio: 525.154 / 675.998;
  border: 5px solid var(--text);
  rotate: -10deg;
}

.portrait > img,
.portrait > .reveal-color { object-fit: cover; }

.portrait-meta {
  z-index: 6;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 3.288cqw;
  line-height: 3.836cqw;
  white-space: pre;
}

.meta-location { left: 44.16%; top: 7.85%; width: 71.77%; font-weight: 500; rotate: -10deg; }
.meta-human { left: 59.1%; top: 91.64%; width: 71.77%; font-weight: 500; text-align: center; rotate: -10deg; }
.meta-languages { left: 10.71%; top: 56.76%; width: 73.42%; font-weight: 400; rotate: -100deg; }
.meta-coffee { left: 90.4%; top: 45.68%; width: 52.06%; font-weight: 400; rotate: 80deg; }

.about-copy p {
  max-width: 42rem;
  font-size: clamp(1.35rem, 1.6vw, 2rem);
  line-height: 1.25;
}

.about-copy p + p { margin-top: 1.5rem; }

.contact {
  min-height: 31.5rem;
  padding-top: 5rem;
  text-align: center;
}

.contact > h2 { margin-bottom: 0; font-size: clamp(4rem, 4.3vw, 5.5rem); }
.contact > p { margin-bottom: 3.5rem; font-size: clamp(1.3rem, 1.6vw, 2rem); }

footer {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  align-items: center;
  min-height: 6.75rem;
  padding: 1.5rem 4rem;
  color: var(--muted);
  font: 1rem/1.4 var(--mono);
}

footer span:nth-child(2) { text-align: center; }
footer a { text-align: right; text-decoration: none; }
footer a:hover,
footer a:focus-visible { color: var(--text); }

/* Build cards: Figma "KARTA" frames. 1 Figma px = var(--cu); the card also shrinks to fit the viewport height. */
.build-dialog {
  max-width: none;
  max-height: none;
  margin: auto;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  overflow: visible;
}

.build-dialog:focus-visible { outline: none; }
.build-dialog::backdrop { background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(8px); }

.card {
  --cu: min(calc(min(100vw, 2048px) / 2048), calc((100dvh - 2rem) / var(--card-h)), calc((100vw - 2rem) / var(--card-w)));
  position: relative;
  width: calc(var(--card-w) * var(--cu));
  height: calc(var(--card-h) * var(--cu));
  border: calc(5 * var(--cu)) solid var(--accent);
  background: var(--bg);
}

.card-close {
  position: absolute;
  left: calc(var(--close-x) * var(--cu));
  top: calc(var(--close-y) * var(--cu));
  width: calc(56 * var(--cu));
  height: calc(56 * var(--cu));
  border: 0;
  background: var(--bg);
  color: var(--quiet);
  font: 600 calc(24 * var(--cu))/1.32 var(--mono);
  cursor: pointer;
  transition: color 160ms ease;
}

.card-close:hover,
.card-close:focus-visible { color: var(--accent); }

.card-title {
  position: absolute;
  left: calc(var(--title-x) * var(--cu));
  top: calc(var(--title-y) * var(--cu));
  margin: 0;
  color: var(--accent);
  font: 400 calc(32 * var(--cu))/calc(42 * var(--cu)) var(--mono);
  letter-spacing: 0;
}

.card-tabs {
  position: absolute;
  left: calc(var(--tabs-x) * var(--cu));
  top: calc(var(--tabs-y) * var(--cu));
  display: flex;
  gap: calc(10 * var(--cu));
}

.card-tabs[hidden] { display: none; }

.card-tab {
  width: calc(253 * var(--cu));
  height: calc(56 * var(--cu));
  border: calc(5 * var(--cu)) solid var(--quiet);
  background: var(--bg);
  color: var(--quiet);
  font: 600 calc(24 * var(--cu))/1.32 var(--mono);
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.card-tab:hover,
.card-tab[aria-selected="true"] { border-color: var(--accent); color: var(--accent); }

.card-specs {
  position: absolute;
  left: calc(var(--specs-x) * var(--cu));
  top: calc(var(--specs-y) * var(--cu));
  width: calc(778 * var(--cu));
  margin: 0;
  padding: calc(24 * var(--cu)) calc(32 * var(--cu));
}

.spec-row {
  display: flex;
  gap: calc(48 * var(--cu));
  height: calc(var(--row-h) * var(--cu));
  padding: calc(14 * var(--cu)) 0;
  overflow: hidden;
  font-size: calc(24 * var(--cu));
  line-height: calc(35 * var(--cu));
}

.spec-row dt {
  flex: none;
  width: calc(132 * var(--cu));
  color: #b8d1e5;
  font-family: var(--mono);
}

.spec-row dd {
  flex: none;
  width: calc(519 * var(--cu));
  margin: 0;
  color: #e5ebeb;
  font-family: var(--display);
}

/* Figma sets the ROLE value on a 24px line. */
.spec-row:first-child dd { line-height: calc(24 * var(--cu)); }

.card-proof {
  position: absolute;
  left: calc(var(--proof-x) * var(--cu));
  top: calc(var(--proof-y) * var(--cu));
  width: calc(var(--proof-w) * var(--cu));
  height: calc(var(--proof-h) * var(--cu));
  margin: 0;
}

.card-proof[hidden] { display: none; }
.card-proof > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.card-proof.is-browser {
  overflow: hidden;
  border: 1.5px solid #3a4b5e;
  border-radius: calc(9 * var(--cu));
  background: var(--bg);
  box-shadow: 0 calc(16 * var(--cu)) calc(28 * var(--cu)) rgba(0, 0, 0, 0.34);
}

.browser-chrome {
  position: relative;
  height: calc(30 * var(--cu));
  border-bottom: 1px solid #3a4b5e;
}

.browser-dot {
  position: absolute;
  top: calc(11 * var(--cu));
  width: calc(8 * var(--cu));
  height: calc(8 * var(--cu));
}

.browser-dot-close { left: calc(12 * var(--cu)); }
.browser-dot-minimize { left: calc(26 * var(--cu)); }
.browser-dot-expand { left: calc(40 * var(--cu)); }

.browser-url {
  position: absolute;
  left: calc(60 * var(--cu));
  right: calc(16 * var(--cu));
  top: calc(6 * var(--cu));
  height: calc(18 * var(--cu));
  padding-left: calc(10 * var(--cu));
  border: 1px solid #3a4b5e;
  border-radius: calc(3 * var(--cu));
  background: #171b1b;
  color: var(--accent);
  font: 500 calc(9 * var(--cu))/calc(16 * var(--cu)) var(--mono);
}

.browser-link { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; }

.card-proof .browser-shot {
  display: block;
  width: 100%;
  height: calc(100% - 30 * var(--cu));
  object-fit: cover;
}

@media (max-width: 1100px) {
  .builds { min-height: auto; padding-bottom: 8rem; }
  .builds-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 1rem;
    height: auto;
  }
  .build-flower { position: relative; inset: auto; width: 100%; height: 34rem; }
  .build-flower .art-label { top: auto; right: auto; bottom: 10%; left: 4%; }
  .more-builds { margin-top: 3rem; }
  .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem 3rem; }
  .about { min-height: auto; padding-bottom: 7rem; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  footer span:nth-child(2), footer a { text-align: center; }
}

@media (max-width: 720px) {
  .topbar { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .nav-links { justify-content: flex-start; gap: 1rem 1.5rem; font-size: 0.9rem; }
  .section { padding-inline: 1rem; }
  .section > h2 { font-size: 3.6rem; }
  .builds { padding-top: 2rem; padding-bottom: 6rem; }
  .builds-stage { grid-template-columns: 1fr; gap: 1rem; }
  .build-flower { height: min(100vw, 31rem); }
  .build-flower .art-label { bottom: 7%; font-size: 0.9rem; }
  .more-builds { margin-top: 2rem; font-size: 0.9rem; }
  .stack { min-height: auto; padding: 3rem 1rem 6rem; }
  .stack-grid { grid-template-columns: 1fr; gap: 4rem; margin-top: 2rem; }
  .stack-column h3 { min-height: 0; }
  .stack-item { min-height: 2.9rem; font-size: 1rem; }
  .about { padding: 3rem 1rem 6rem; }
  .about-grid { display: flex; flex-direction: column; gap: 3rem; }
  .about-copy p { font-size: 1.25rem; line-height: 1.4; }
  .contact { min-height: 27rem; padding-top: 4rem; }
  .contact > h2 { font-size: 3.5rem; }
  .contact > p { font-size: 1.2rem; }
  footer { padding: 2.5rem 1rem; font-size: 0.82rem; }
}

@media (max-width: 720px) {
  .card {
    --cu: 0.62px;
    width: calc(100vw - 2rem);
    height: auto;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 1.25rem 1rem 1.5rem;
  }
  .card-close { position: absolute; left: auto; right: 0.25rem; top: 0.25rem; width: 3rem; height: 3rem; font-size: 1.25rem; }
  .card-title, .card-tabs, .card-specs, .card-proof { position: static; }
  .card-title { margin: 0.25rem 3rem 1rem 0; font-size: 1.35rem; line-height: 1.3; }
  .card-tabs { gap: 0.5rem; margin-bottom: 1rem; }
  .card-tab { flex: 1; width: auto; height: 3rem; border-width: 3px; font-size: 0.95rem; }
  .card-specs { width: auto; padding: 0; }
  .spec-row { flex-direction: column; gap: 0.25rem; height: auto; padding: 0.7rem 0; font-size: 1rem; line-height: 1.45; }
  .spec-row dt { width: auto; font-size: 0.8rem; }
  .spec-row dd, .spec-row:first-child dd { width: auto; line-height: 1.45; }
  .card-proof { width: auto; height: auto; margin-top: 1rem; aspect-ratio: 699 / 400; }
  .card-proof.is-browser { --cu: 0.62px; }
}

/* Desktop: exact Figma geometry (frame 123:114, 2048 wide). 1 Figma px = var(--u). */
@media (min-width: 1101px) {
  :root { --u: calc(min(100vw, 2048px) / 2048); }

  .outline-button {
    width: calc(289 * var(--u));
    height: calc(56 * var(--u));
    min-height: 0;
    padding: 0;
    border-width: calc(5 * var(--u));
    font-size: calc(24 * var(--u));
  }

  .builds {
    position: relative;
    height: calc(1785 * var(--u));
    min-height: 0;
    padding: 0;
  }
  .builds > h2 {
    position: absolute;
    top: calc(64 * var(--u));
    left: 0;
    right: 0;
    margin: 0;
    font-size: calc(82 * var(--u));
    line-height: calc(98 * var(--u));
    letter-spacing: 0;
  }
  .builds-stage { position: absolute; inset: 0; width: auto; height: auto; }
  .build-flower .art-label {
    min-height: 0;
    height: calc(56 * var(--u));
    padding: 0 calc(8 * var(--u));
    justify-content: center;
    border-width: calc(5 * var(--u));
    font-size: calc(24 * var(--u));
  }
  /* Boxes are the full (uncropped) image in Figma coordinates; labels are offsets inside them. */
  .build-ai { left: calc(307 * var(--u)); top: calc(77 * var(--u)); width: calc(611 * var(--u)); height: calc(993 * var(--u)); right: auto; }
  .build-ai .art-label { left: calc(60 * var(--u)); top: calc(487 * var(--u)); width: calc(210 * var(--u)); right: auto; }
  .build-delivery { left: calc(990 * var(--u)); top: calc(159 * var(--u)); width: calc(922.76 * var(--u)); height: calc(922.76 * var(--u)); right: auto; }
  .build-delivery .art-label { left: calc(557 * var(--u)); top: calc(269 * var(--u)); width: calc(285 * var(--u)); right: auto; }
  .build-automation { left: calc(291 * var(--u)); top: calc(837.8 * var(--u)); width: calc(643 * var(--u)); height: calc(803.5 * var(--u)); right: auto; }
  .build-automation .art-label { left: calc(-25 * var(--u)); top: calc(369.2 * var(--u)); width: calc(294 * var(--u)); right: auto; }
  .build-web { left: calc(1030 * var(--u)); top: calc(961.7 * var(--u)); width: calc(661 * var(--u)); height: calc(826 * var(--u)); right: auto; }
  .build-web .art-label { left: calc(462 * var(--u)); top: calc(395.3 * var(--u)); width: calc(232 * var(--u)); right: auto; }
  .more-builds {
    position: absolute;
    left: calc(266 * var(--u));
    top: calc(1673 * var(--u));
    width: auto;
    margin: 0;
    font-size: calc(18 * var(--u));
    line-height: calc(28 * var(--u));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal-rig { display: none; }
  .reveal-color { opacity: 0; -webkit-mask-image: none; mask-image: none; }
  .reveal-media:hover .reveal-color,
  .reveal-media:focus-within .reveal-color,
  .reveal-text:hover .reveal-color { opacity: 1; }
}
