/* Augusto Builds, Metal & Ink in dark orbital blue. Dark only.
   Kit devices: ink, orbital blue (fills only), brushed pewter, icy silver, corner marks,
   the label strip with slanted blue separators, the short blue rule on a thin line.
   Motion: transform and opacity only, and none at all under prefers-reduced-motion. */
:root {
  --ink: #0E0F11; --blue: #183D9F; --pewter: #B6B8B7; --icy: #E6ECF7;
  --card: #13161A; --line: #2A2F3A; --link: #BCD1FF; --well: #0A0B0D; --err: #FFB4B4;
  --display: "Manrope", "Avenir Next", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: 16px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--icy);
  font: 500 1rem/1.55 var(--display); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 10; background: var(--blue); color: var(--icy); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.no-js .js-only { display: none !important; }

/* Layout */
.banner { display: none; }
.col { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 760px) {
  .banner { display: block; background: var(--ink); }
  .banner img { width: 100%; max-width: 1394px; height: auto; margin: 0 auto; }
}

/* Kit devices */
.strip { font: 600 .68rem/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--icy); margin: 0; }
.strip i { display: inline-block; width: 2px; height: 1em; background: var(--blue); transform: skewX(-22deg); margin: 0 .75em; vertical-align: -.15em; }
@media (max-width: 380px) { .strip { letter-spacing: .14em; } .strip i { margin: 0 .5em; } }
.brule { height: 4px; margin: 14px 0; position: relative; overflow: hidden;
  background: linear-gradient(rgba(230, 236, 247, .4), rgba(230, 236, 247, .4)) center / 100% 1px no-repeat; }
.brule::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--blue), var(--blue)) left / 46px 100% no-repeat; }
.marks { position: relative; }
.mk { position: absolute; width: 14px; height: 14px; border: 0 solid rgba(230, 236, 247, .75); pointer-events: none; }
.mk.tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.mk.tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.mk.bl { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.mk.br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }

/* Type */
.q { font: 800 1.5rem/1.18 var(--display); letter-spacing: -.015em; margin: 0; color: var(--icy); }
.q:focus { outline: none; }
.q:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.q-hero { font-size: clamp(1.85rem, 7.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.025em; }
.q-sub { font-size: 1.15rem; padding: 0; margin-bottom: 10px; }
.lead { color: var(--pewter); font-size: 1.05rem; margin: 14px 0 0; }
.small { color: var(--pewter); font-size: .85rem; text-align: center; margin: 10px 0 0; }
.fine { color: var(--pewter); font-size: .78rem; line-height: 1.5; margin: 14px 0 0; }
.help { color: var(--pewter); margin: 8px 0 18px; font-size: .95rem; }

/* Intro hero */
.flow { min-height: calc(100svh - var(--consent-h, 0px)); display: flex; flex-direction: column; padding: 18px 0 28px; }
.step { display: none; flex: 1; flex-direction: column; }
.step.is-active { display: flex; animation: step-in .32s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero { padding: 26px 20px 24px; }
.who { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.name { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; margin: 0; line-height: 1.2; }
.tag { color: var(--pewter); font-weight: 600; font-size: .95rem; margin: 2px 0 0; }
.av-wrap { position: relative; width: 84px; height: 84px; flex: none; }
.av { position: relative; width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(230, 236, 247, .28); }
.glow { position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(24, 61, 159, .75), rgba(24, 61, 159, 0)); opacity: .55; animation: glow 5s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .35; transform: scale(.94); } 50% { opacity: .8; transform: scale(1.04); } }
.orbit { position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(182, 184, 183, .28); animation: spin 14s linear infinite; }
.moon { position: absolute; top: 50%; right: -5px; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px 2px rgba(24, 61, 159, .8); }
@keyframes spin { to { transform: rotate(360deg); } }

.cycle span { display: inline-block; animation: cycle 8s infinite; opacity: .5; }
.cycle span:nth-of-type(2) { animation-delay: 2s; }
.cycle span:nth-of-type(3) { animation-delay: 4s; }
.cycle span:nth-of-type(4) { animation-delay: 6s; }
@keyframes cycle { 0%, 22% { opacity: 1; } 30%, 100% { opacity: .5; } }
.brule.live::before { animation: travel 6s cubic-bezier(.6, 0, .4, 1) infinite alternate; }
@keyframes travel { from { transform: translateX(0); } to { transform: translateX(calc(100% - 46px)); } }
.reveal { animation: reveal .7s cubic-bezier(.2, .7, .2, 1) both .1s; }
.reveal.r2 { animation-delay: .28s; }
.reveal.r3 { animation-delay: .45s; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.marks .mk { animation: mark-in .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes mark-in { from { opacity: 0; transform: scale(1.8); } to { opacity: 1; transform: none; } }

.cta { margin-top: auto; padding: 22px 0 6px; }
.noscript { color: var(--icy); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }

/* Buttons */
.btn {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: .5em;
  width: 100%; min-height: 56px; padding: 14px 18px; border: 0; border-radius: 12px;
  background: var(--blue); color: var(--icy); font: 700 1.08rem/1.2 var(--display); cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(230, 236, 247, .18); transition: transform .12s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn::after { /* brushed-metal sheen, transform only */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(100deg, rgba(230, 236, 247, 0), rgba(230, 236, 247, .22), rgba(230, 236, 247, 0));
  transform: translateX(-120%) skewX(-22deg); pointer-events: none;
}
.btn-big::after { animation: sheen 6s ease-in-out 1.2s infinite; }
@keyframes sheen { 0%, 70% { transform: translateX(-120%) skewX(-22deg); } 100% { transform: translateX(320%) skewX(-22deg); } }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-next { margin-top: 18px; }
.btn-small { min-height: 48px; width: auto; font-size: .95rem; padding: 10px 16px; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.linkish { background: none; border: 0; padding: 0; color: var(--link); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }

/* Step header */
.stephead { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.back { min-height: 48px; min-width: 48px; padding: 0 14px 0 10px; background: var(--card); color: var(--icy); border: 1px solid var(--line); border-radius: 12px; font: 600 .95rem var(--display); cursor: pointer; }
.progress { flex: 1; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.progress-text { font: 600 .7rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--pewter); }
.bar { display: block; height: 3px; border-radius: 3px; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(182, 184, 183, .22) 0 1px, rgba(182, 184, 183, .12) 1px 3px); }
.fill { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform .35s cubic-bezier(.2, .7, .2, 1); box-shadow: 0 0 8px rgba(24, 61, 159, .9); }

/* Choice cards: labels over visually hidden radios */
.group { border: 0; margin: 0; padding: 0; min-width: 0; }
.group legend { padding: 0; float: left; width: 100%; }
.group legend + * { clear: both; }
.group legend + .cards { margin-top: 18px; }
.cards { display: grid; gap: 10px; }
.cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.cards-grid .card { justify-content: center; text-align: center; min-height: 56px; }
.card:active { transform: scale(.975); }
.card:hover { border-color: rgba(230, 236, 247, .35); }
.card-k { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; color: var(--pewter); padding: 6px 7px; border: 1px solid var(--line); border-radius: 6px; }
.card-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.card-t { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.card-d { color: var(--pewter); font-size: .88rem; }
.card-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--pewter); flex: none; }
.cards-grid .card-dot { display: none; }
.card:has(input:checked) { background: var(--blue); border-color: var(--blue); color: var(--icy); box-shadow: inset 0 0 0 1px rgba(230, 236, 247, .2); }
.card:has(input:checked) .card-d, .card:has(input:checked) .card-k { color: var(--icy); border-color: rgba(230, 236, 247, .4); }
.card:has(input:checked) .card-dot { border-color: var(--icy); background: radial-gradient(circle, var(--icy) 0 4px, transparent 5px); }
.card.is-on { background: var(--blue); border-color: var(--blue); } /* fallback without :has() */
.card:has(input:focus-visible) { outline: 2px solid var(--link); outline-offset: 3px; }
.team { margin-top: 22px; }

/* Form */
.recap { color: var(--pewter); margin: 10px 0 18px; font-size: .95rem; }
.recap-k { font: 600 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--icy); }
.join { display: flex; flex-direction: column; gap: 14px; }
.fld label { display: block; font-weight: 600; margin-bottom: 6px; }
.fld input[type="text"], .fld input[type="email"] {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--well); color: var(--icy); font: 500 1rem var(--display); scroll-margin: 120px;
}
.fld input::placeholder { color: #8E9192; }
.fld input:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-color: var(--link); }
.fld input[aria-invalid="true"] { border-color: var(--err); }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--blue); }
.check label { font-weight: 500; color: var(--icy); margin: 0; font-size: .95rem; padding: 2px 0; }
.check .err { grid-column: 1 / -1; }
.err { color: var(--err); font-size: .9rem; margin: 6px 0 0; }
.status { margin: 0; min-height: 0; color: var(--err); font-size: .95rem; }
.status:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.step-done .hero { margin-top: 8px; }

/* Samples */
.samples { margin-top: 30px; }
.samples .strip { margin-bottom: 10px; }
.frame { padding: 14px 10px; }
.sample-row { list-style: none; margin: 0; padding: 0 4px 6px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain; }
.sample-row li { flex: 0 0 auto; width: min(42vw, 180px); scroll-snap-align: start; }
.sample { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); color: var(--icy); text-align: left; cursor: pointer; text-decoration: none; font: inherit; }
.sample-media { display: block; position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--well); }
.sample-media img, .sample-media video { width: 100%; height: 100%; object-fit: cover; }
.sample-play { position: absolute; left: 10px; bottom: 10px; font: 600 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; background: rgba(14, 15, 17, .86); padding: 4px 8px; border-radius: 6px; }
.sample-t { display: block; padding: 8px 10px 10px; font-weight: 600; font-size: .9rem; line-height: 1.3; }

/* Footer */
.foot { padding-top: 8px; padding-bottom: calc(32px + var(--consent-h, 0px)); }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.social-k { color: var(--pewter); font-size: .9rem; }
.social ul, .foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.social a, .foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.mission { color: var(--pewter); font-size: .9rem; margin: 10px 0; }
.internal-line { font-size: .85rem; color: var(--pewter); }

/* Consent notice */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(19, 22, 26, .97); border-top: 1px solid var(--line);
}
.consent > * { max-width: 640px; margin-left: auto; margin-right: auto; }
.consent-text { margin: 0 auto 10px; font-size: .9rem; color: var(--icy); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent-more { min-height: 44px; display: inline-flex; align-items: center; font-size: .9rem; }

/* Prose pages */
.prose { padding-top: 28px; padding-bottom: 20px; }
.prose h2 { font-size: 1.1rem; font-weight: 800; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--icy); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 4px 0; }
.crumb a { display: inline-flex; min-height: 44px; align-items: center; }
.small-left { color: var(--pewter); font-size: .9rem; }
.nf { min-height: 70svh; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cycle span { opacity: 1; }
}
