/* Page sections: hero, manifesto, feature ledger, pinned workflow, story, export, shortcuts, download. */

/* Preloader — black room, pulsing mark, lime flood, reveal. */
.preloader {
  position: fixed; inset: 0; z-index: var(--z-preloader);
  display: grid; place-items: center;
  background: var(--c-ink); color: var(--c-text);
  overflow: hidden; isolation: isolate;
}
.preloader__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; }
.preloader__logo { width: clamp(74px, 9vw, 116px); height: auto; transform-origin: 50% 55%; }
.preloader__logo path:first-child { fill: var(--c-lime); }
.preloader__word { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--c-muted); }
.preloader__wash {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax;
  border-radius: 50%; background: var(--c-lime);
  transform: scale(0); transform-origin: center;
  will-change: transform;
}
.preloader.is-done { display: none; }
.preloader__failsafe { display: none; }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.preloader { animation: preloader-failsafe 0.01s 4.2s forwards; }
@keyframes preloader-pulse { 0%, 100% { transform: scale(1); opacity: 0.92; } 50% { transform: scale(1.06); opacity: 1; } }
.preloader__logo { animation: preloader-pulse 1.3s var(--ease-in-out) infinite; }
.preloader.is-animating .preloader__logo { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .preloader__logo { animation: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 18px);
  display: flex; align-items: center;
  background: var(--c-ink);
}
.hero__grid {
  position: absolute; inset: 0; z-index: var(--z-canvas);
  background-image: linear-gradient(to right, rgba(164, 255, 0, 0.09) 1px, transparent 1px);
  background-size: clamp(70px, 8.5vw, 128px) 100%;
  mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 78%, transparent 100%);
  opacity: 0.75;
  pointer-events: none;
}
.hero__canvas { display: none !important; }
.hero__inner {
  position: relative; z-index: var(--z-content);
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(24px, 4vw, 60px); align-items: center;
  padding-block: clamp(28px, 5vh, 58px) clamp(20px, 4vh, 42px);
}
.hero__copy { position: relative; z-index: 3; }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: clamp(20px, 3vh, 34px); }
.hero__kicker .dot { color: var(--c-lime); }
.hero__title { max-width: 100%; font-size: clamp(2.75rem, 6.0vw, 6.4rem); line-height: 0.84; text-transform: uppercase; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .line--lime { color: var(--c-lime); }
.hero__title .line--indent { padding-left: clamp(10px, 2vw, 30px); }
.hero__lead { max-width: 43ch; margin-top: clamp(20px, 3.2vh, 30px); color: var(--c-muted-strong); font-size: var(--fs-lead); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(24px, 3.5vh, 36px); }
.hero__note { margin-top: 16px; color: var(--c-muted); font-family: var(--font-mono); font-size: 0.67rem; letter-spacing: 0.025em; line-height: 1.7; }
.hero__note strong { color: var(--c-text); font-weight: 500; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: clamp(22px, 3.4vh, 34px); color: var(--c-muted); font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.04em; text-transform: uppercase; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta .glyph { color: var(--c-lime); font-size: 0.9em; }
.hero__aside { position: relative; align-self: center; padding: 0 0 0 10px; }
.hero__figure { position: relative; margin: 0; }
.hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  /* Only the bottom edge fades; the PNG/WebP alpha is preserved everywhere else. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}
.hero__stamp { position: absolute; top: 10%; right: -10px; transform: rotate(7deg); z-index: 4; }
.hero__stamp--bottom { top: auto; right: auto; left: -18px; bottom: 9%; transform: rotate(-6deg); background: var(--c-paper); color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-lime); }
.hero__glyphs { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero__glyphs .glyph { position: absolute; color: var(--c-lime); font-size: clamp(18px, 2.2vw, 30px); opacity: 0.85; }
.hero__glyphs .g1 { left: 2%; top: 13%; transform: rotate(-12deg); }
.hero__glyphs .g2 { right: 3%; top: 42%; transform: rotate(18deg); font-size: clamp(24px, 3vw, 44px); }
.hero__glyphs .g3 { left: 8%; bottom: 8%; transform: rotate(8deg); }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 22px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; color: var(--c-muted); font-family: var(--font-mono); font-size: 0.61rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hero__scroll::before { content: ""; width: 34px; height: 1px; background: var(--c-lime); }

/* Manifesto / light editorial band */
.manifesto { overflow: hidden; }
.manifesto__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: var(--sp-12); align-items: end; }
.manifesto__title { max-width: 12ch; }
.manifesto__title .mark { display: inline-block; vertical-align: -0.02em; background: var(--c-lime); padding: 0.015em 0.08em 0.05em; line-height: 0.96; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.manifesto__intro { max-width: 46ch; justify-self: end; color: var(--c-muted-dark); font-size: var(--fs-lead); }
.manifesto__intro strong { color: var(--c-text-dark); }
.manifesto__body { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--sp-12); margin-top: clamp(48px, 7vw, 88px); }
.manifesto__quote { max-width: 20ch; font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.16; letter-spacing: -0.02em; font-weight: 500; }
.manifesto__quote::before { content: "“"; display: block; font-family: var(--font-sans); color: var(--c-lime-deep); font-size: 2.4em; line-height: 0.55; margin-bottom: 0.12em; }
.manifesto__text { max-width: 58ch; color: var(--c-muted-dark); }
.manifesto__text p + p { margin-top: 1em; }
.manifesto__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--c-line-light); }
.stat { padding: 18px 16px 0 0; border-right: 1px solid var(--c-line-light); }
.stat:last-child { border-right: 0; padding-right: 0; padding-left: 16px; }
.stat:nth-child(2) { padding-left: 16px; }
.stat__value { display: block; font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }
.stat__value span { color: var(--c-lime-deep); }
.stat__label { display: block; margin-top: 7px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted-dark); }

/* Feature ledger */
.features { overflow: clip; }
.features__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: clamp(36px, 6vw, 92px); align-items: start; }
.feature-list { border-top: 1px solid var(--c-line-light); }
.feature-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 44px minmax(0, 0.8fr) minmax(0, 1.2fr) 26px;
  gap: clamp(12px, 2vw, 26px); align-items: start;
  padding: clamp(20px, 3vw, 30px) 0;
  border-bottom: 1px solid var(--c-line-light);
  transition: padding var(--dur-mid) var(--ease-out), color var(--dur-mid);
}
.feature-row::before {
  content: ""; position: absolute; inset: 0 -14px; z-index: -1;
  background: var(--c-lime); transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--dur-mid) var(--ease-out);
}
.feature-row:hover, .feature-row:focus-within { padding-inline: 14px; }
.feature-row:hover::before, .feature-row:focus-within::before { transform: scaleY(1); }
.feature-row__no { font-family: var(--font-mono); font-size: 0.66rem; color: var(--c-muted-dark); padding-top: 5px; letter-spacing: 0.05em; }
.feature-row h3 { font-size: clamp(1.16rem, 1.8vw, 1.5rem); line-height: 1.1; max-width: 17ch; }
.feature-row p { color: var(--c-muted-dark); font-size: 0.9rem; max-width: 48ch; }
.feature-row:hover p, .feature-row:focus-within p, .feature-row:hover .feature-row__no, .feature-row:focus-within .feature-row__no { color: var(--c-lime-ink); }
.feature-row__arrow { justify-self: end; font-family: var(--font-mono); color: var(--c-ink); transition: transform var(--dur-mid) var(--ease-out); }
.feature-row:hover .feature-row__arrow { transform: translate(4px, -4px); }
.feature-media { position: sticky; top: calc(var(--header-h) + 28px); }
.feature-media__frame { position: relative; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent; overflow: visible; padding: 0; }
.feature-media__frame img { width: 100%; height: auto; max-height: none; display: block; border: 0 !important; outline: 0 !important; }
.feature-media__tag { position: absolute; top: 12px; left: 12px; z-index: 2; }
.feature-media__caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.05em; color: var(--c-muted-dark); text-transform: uppercase; }
.feature-media__detail { position: absolute; width: 37%; right: -22px; bottom: -38px; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent; transform: rotate(4deg) !important; transform-origin: center; z-index: 3; overflow: visible; }
.feature-media__detail img { display: block; width: auto; max-width: 100%; height: auto; margin-left: auto; object-fit: contain; }
.feature-note { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--sp-8); color: var(--c-muted-dark); font-size: 0.86rem; }
.feature-note .glyph { color: var(--c-lime-deep); flex: 0 0 auto; }

/* Artifact / AI visual interlude */
.artifact { background: var(--c-ink); color: var(--c-text); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.artifact__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr); min-height: 390px; }
.artifact__visual { position: relative; min-height: 300px; overflow: hidden; }
.artifact__visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: 0.88; }
.artifact__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 9, 0.15), rgba(8, 10, 9, 0.82)); }
.artifact__copy { align-self: center; padding: clamp(32px, 5vw, 64px); }
.artifact__copy h2 { max-width: 12ch; font-size: clamp(2rem, 3.4vw, 3.3rem); }
.artifact__copy p { max-width: 45ch; margin-top: var(--sp-5); color: var(--c-muted); }
.artifact__copy .tag-row { margin-top: var(--sp-6); }

/* Pinned workflow */
.workflow { background: var(--c-ink); overflow: hidden; }
.workflow__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 30px) 32px; }
.workflow__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(26px, 4vh, 48px); }
.workflow__head h2 { max-width: 14ch; }
.workflow__hint { color: var(--c-muted); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; text-align: right; max-width: 22ch; }
.workflow__viewport { overflow: visible; padding-left: var(--gutter); }
.workflow__track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.workflow__panel {
  position: relative; width: min(66vw, 720px); min-height: 390px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--c-line);
  background: var(--c-ink-raised);
  overflow: hidden;
}
.workflow__panel--lime { background: var(--c-lime); color: var(--c-ink); border-color: var(--c-lime); }
.workflow__panel--image { color: var(--c-text); }
.workflow__panel--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.68; }
.workflow__panel--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 9, 0.18), rgba(8, 10, 9, 0.90)); }
.workflow__panel > * { position: relative; z-index: 1; }
.workflow__panel--image .workflow__panel-copy, .workflow__panel--image .workflow__panel-top, .workflow__panel--image .workflow__panel-foot { position: relative; z-index: 2; }
.workflow__panel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.workflow__step { font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase; color: currentColor; opacity: 0.7; }
.workflow__glyph { font-size: clamp(26px, 4vw, 48px); line-height: 1; opacity: 0.75; }
.workflow__panel h3 { max-width: 12ch; font-size: clamp(1.7rem, 3vw, 2.65rem); }
.workflow__panel p { max-width: 39ch; margin-top: var(--sp-4); color: var(--c-muted); font-size: 0.92rem; }
.workflow__panel--lime p { color: var(--c-lime-ink); }
.workflow__panel-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: var(--sp-6); border-top: 1px solid currentColor; border-color: rgba(255, 255, 255, 0.18); font-family: var(--font-mono); font-size: 0.59rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.workflow__panel--lime .workflow__panel-foot { border-color: rgba(8, 10, 9, 0.24); }
.workflow__progress { height: 1px; background: var(--c-line); margin-top: var(--sp-6); }
.workflow__progress span { display: block; height: 100%; width: 0; background: var(--c-lime); }

/* Story — the lime room */
.story { overflow: hidden; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr); gap: var(--sp-12); align-items: end; }
.story h2 { max-width: 12ch; font-size: clamp(2.8rem, 6.2vw, 6.6rem); line-height: 0.92; letter-spacing: -0.045em; }
.story__body { align-self: end; max-width: 38ch; padding-bottom: 8px; }
.story__body p { color: var(--c-lime-ink); font-size: var(--fs-lead); }
.story__body p + p { margin-top: 1em; }
.story__sign { display: flex; align-items: center; gap: 12px; margin-top: var(--sp-8); font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; }
.story__sign::before { content: ""; width: 38px; height: 1px; background: var(--c-ink); }
.story__marks { display: flex; gap: 12px; margin-top: var(--sp-10); }
.story__mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--c-ink); font-family: var(--font-mono); font-size: 1.1rem; }
.story__mark:hover { background: var(--c-ink); color: var(--c-lime); }
.story__note { margin-top: var(--sp-8); padding-top: var(--sp-4); border-top: 1px solid rgba(8, 10, 9, 0.26); font-family: var(--font-mono); font-size: 0.61rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-lime-ink); }

/* Export */
.export__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.export__title { max-width: 10ch; }
.export__lead { max-width: 44ch; margin-top: var(--sp-6); color: var(--c-muted-dark); }
.export__platforms { border-top: 1px solid var(--c-line-light); }
.export-platform { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--c-line-light); transition: padding var(--dur-mid) var(--ease-out), background var(--dur-mid); }
.export-platform:hover { padding-inline: 12px; background: var(--c-lime); }
.export-platform .glyph { color: var(--c-lime-deep); font-size: 1.2rem; }
.export-platform:hover .glyph { color: var(--c-ink); }
.export-platform span:nth-child(2) { font-weight: 600; }
.export-platform span:last-child { font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-muted-dark); }
.export__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-6); }
.export__media { position: relative; margin: 0; overflow: hidden; border: 0; border-radius: 8px; }
.export__media img { display: block; width: auto; max-width: 100%; height: auto; object-fit: contain; }
.export__media figcaption { display: flex; justify-content: space-between; gap: 14px; padding: 10px 12px; background: var(--c-ink); color: var(--c-paper); font-family: var(--font-mono); font-size: 0.59rem; letter-spacing: 0.05em; text-transform: uppercase; }
.export__grain { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(130deg, rgba(164, 255, 0, 0.12), transparent 42%); }
@media (min-width: 1200px) {
  .export__grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(32px, 5vw, 88px); }
}

/* Shortcuts */
.shortcuts__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.shortcuts h2 { max-width: 9ch; }
.shortcuts__lead { color: var(--c-muted); max-width: 38ch; margin-top: var(--sp-5); }
.key-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.key-row span { color: var(--c-muted-strong); font-size: 0.88rem; }
.key-row kbd { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 0 9px; border: 1px solid var(--c-line-strong); border-bottom-color: #50594e; background: var(--c-ink-raised); color: var(--c-text); font-family: var(--font-mono); font-size: 0.62rem; line-height: 1; border-radius: var(--r-1); white-space: nowrap; transition: background var(--dur-fast), color var(--dur-fast); }
.key-row:hover kbd { background: var(--c-lime); color: var(--c-ink); }

/* Download */
.download { text-align: center; overflow: hidden; }
.download__inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.download__eyebrow { justify-content: center; margin-bottom: var(--sp-6); }
.download h2 { max-width: 11ch; font-size: clamp(3rem, 7vw, 7rem); line-height: 0.91; letter-spacing: -0.045em; }
.download__lead { max-width: 48ch; margin-top: var(--sp-6); color: var(--c-lime-ink); font-size: var(--fs-lead); }
.download__actions { display: grid; justify-items: center; gap: 14px; margin-top: var(--sp-8); }
.download__meta { color: var(--c-lime-ink); font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.03em; }
.download__meta a { text-decoration: underline; text-underline-offset: 3px; }
.download__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: var(--sp-8); color: var(--c-lime-ink); font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.04em; text-transform: uppercase; }
.download__checks span { display: inline-flex; gap: 6px; align-items: center; }
.download__logo { position: absolute; right: clamp(12px, 4vw, 56px); bottom: clamp(12px, 3vw, 32px); width: min(38vw, 500px); height: auto; opacity: .18; transform: rotate(-6deg); object-fit: contain; pointer-events: none; }
.download__logo { filter: none; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq h2 { max-width: 9ch; }
.faq__contact { margin-top: var(--sp-8); color: var(--c-muted-dark); font-size: 0.9rem; }
.faq__contact a { border-bottom: 1px solid currentColor; }
.faq__contact a:hover { color: var(--c-lime-deep); }
.faq-list { border-top: 1px solid var(--c-line-light); }
.faq-item { border-bottom: 1px solid var(--c-line-light); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 500; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; line-height: 1; color: var(--c-lime-deep); transition: transform var(--dur-mid) var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 60ch; padding: 0 0 20px; color: var(--c-muted-dark); font-size: 0.92rem; }
.faq-item[open] summary { color: var(--c-ink); }

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr); }
  .hero__title { font-size: clamp(2.75rem, 6.6vw, 5.4rem); }
  .hero__image { aspect-ratio: 1.25 / 1; }
  .features__layout { grid-template-columns: 1fr; }
  .feature-media { position: relative; top: auto; max-width: 620px; order: -1; margin-bottom: var(--sp-10); }
  .feature-media__detail { width: 30%; right: 8px; bottom: -22px; }
  .export__grid, .shortcuts__grid, .faq__grid { gap: var(--sp-10); }
}
@media (max-width: 820px) {
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-8); padding-top: 42px; }
  .hero__copy { order: 1; }
  .hero__aside { order: 2; width: min(100%, 620px); margin-left: auto; }
  .hero__image { aspect-ratio: 1.45 / 1; }
  .hero__stamp { right: 4px; }
  .hero__scroll { display: none; }
  .manifesto__head, .manifesto__body, .story__grid, .export__grid, .shortcuts__grid, .faq__grid { grid-template-columns: 1fr; }
  .manifesto__intro { justify-self: start; }
  .manifesto__quote { max-width: 25ch; }
  .story__body { padding-bottom: 0; }
  .workflow__pin { min-height: auto; padding-block: 72px 48px; }
  .workflow__head { display: block; }
  .workflow__hint { text-align: left; margin-top: 16px; }
  .workflow__track { display: grid; width: auto; gap: 14px; transform: none !important; }
  .workflow__panel { width: auto; min-height: 330px; }
  .workflow__progress { display: none; }
  .artifact__grid { grid-template-columns: 1fr; }
  .artifact__visual { min-height: 260px; }
  .artifact__visual::after { background: linear-gradient(0deg, var(--c-ink), transparent 70%); }
  .export__media { order: -1; }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + 10px); padding-bottom: 16px; }
  .hero__inner { padding-top: 16px; padding-bottom: 6px; gap: 16px; }
  .hero__title { font-size: clamp(2.35rem, 11.6vw, 3.6rem); line-height: 0.88; }
  .hero__title .line--indent { padding-left: 0; }
  .hero__kicker { margin-bottom: 10px; }
  .hero__lead { margin-top: 13px; font-size: 0.94rem; line-height: 1.45; }
  .hero__actions { margin-top: 16px; gap: 8px 14px; }
  .hero__note { font-size: 0.62rem; }
  .hero__meta { margin-top: 14px; gap: 6px 12px; font-size: 0.56rem; }
  .hero__aside { padding-left: 0; padding-top: 0; }
  .hero__image { aspect-ratio: 1.95 / 1; max-height: 185px; object-position: 46% 46%; }
  .hero__stamp { top: 4px; right: 4px; transform: rotate(4deg); font-size: 0.54rem; padding: 7px 9px; }
  .hero__stamp--bottom { left: 4px; bottom: 4px; font-size: 0.5rem; padding: 6px 8px; }
  .feature-row { grid-template-columns: 26px 1fr 20px; gap: 10px; }
  .feature-row p { grid-column: 2 / 3; margin-top: 4px; }
  .feature-row__arrow { grid-column: 3; grid-row: 1; }
  .feature-row h3 { font-size: 1.15rem; }
  .feature-media__detail { display: none; }
  .manifesto__stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2), .stat:last-child { border-right: 0; border-bottom: 1px solid var(--c-line-light); padding: 14px 0; }
  .stat:last-child { border-bottom: 0; }
  .stat__value { font-size: 2.6rem; }
  .artifact__copy { padding: 28px 20px 36px; }
  .workflow__panel { min-height: 300px; }
  .workflow__panel h3 { font-size: 1.6rem; }
  .workflow__panel-foot { font-size: 0.55rem; }
  .download h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .download__lead { font-size: 1rem; }
  .download__logo { width: 62vw; right: 4%; bottom: 4%; opacity: .16; }
}

.shortcuts__presets {
  max-width: 42ch;
  margin-top: var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  border-left: 2px solid var(--c-lime);
  background: var(--c-ink-raised);
  color: var(--c-muted-strong);
  font-size: 0.82rem;
  line-height: 1.55;
}


/* Player hero: match the hub hero headline scale and centre the whole block above the fold. */
.hero__title .line--indent { padding-left: 0; }
@media (min-width: 821px) {
  .hero {
    min-height: calc(100svh - 67px);
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero__inner { padding-block: clamp(24px, 4vh, 40px); }
  .hero__title {
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: .98;
    letter-spacing: -.045em;
  }
  .hero__scroll { bottom: 18px; }
}


/* Match the hub hero headline exactly, at every breakpoint. */
.hero__title {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 500;
}

/* Manifesto: tighter editorial rhythm — two-line headline and smaller vertical gaps. */
.manifesto {
  padding-block: clamp(72px, 7vw, 104px);
}
.manifesto__head {
  gap: clamp(24px, 3vw, 36px);
}
.manifesto__title {
  max-width: 18ch;
  line-height: .96;
  text-wrap: balance;
}
.manifesto__body {
  margin-top: clamp(40px, 5vw, 64px);
}
.manifesto__stats {
  margin-top: clamp(32px, 4vw, 48px);
}


/* Player hero image: 30px from the copy, full column width, 16:9, uncropped. */
.hero__inner { gap: 30px; }
.hero__aside { padding-left: 0; width: 100%; }
@media (min-width: 821px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.hero__image { aspect-ratio: 16 / 9; max-height: none; }

/* Mobile player artwork: the white strip is a slim diagonal caption at the
   bottom edge; the green stamp sits above the image, not on top of it. */
@media (max-width: 560px) {
  .hero__figure { overflow: visible; }
  .hero__stamp {
    top: auto; right: 0; bottom: calc(100% + 16px);
    transform: none; font-size: .54rem; padding: 5px 8px; box-shadow: 2px 2px 0 var(--c-ink);
  }
  .hero__stamp--bottom {
    left: 4px; bottom: 4px; width: calc(100% - 8px); height: 18px;
    justify-content: center; transform: rotate(-6deg); transform-origin: center;
    font-size: .4rem; line-height: 1; letter-spacing: .03em;
    padding: 0 6px; box-shadow: none; white-space: nowrap;
  }
}

/* Export platforms: one 18px optical size and one stroke weight. */
.export-platform .glyph {
  width: 18px; height: 18px; font-size: 0; line-height: 0;
  display: inline-block; flex: 0 0 18px; color: var(--c-lime-deep);
  background: currentColor;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
}
.export-platform .glyph--x { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5L19 19M19 5L5 19' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5L19 19M19 5L5 19' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.export-platform .glyph--tri { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4L21 20H3Z' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4L21 20H3Z' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.export-platform .glyph--cir { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E"); }
.export-platform .glyph--sq { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='16' height='16' rx='1' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='16' height='16' rx='1' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E"); }
.export-platform:hover .glyph { color: var(--c-ink); }

/* Give the hero artwork a slightly larger share on wide screens while keeping
   the copy column comfortable for the three-line headline. */
@media (min-width: 1200px) {
  .hero__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

/* On wide screens the monitor render gets the larger share of the feature row. */
@media (min-width: 1081px) {
  .features__layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
}
