/* Redesign 02 — The data blueprint. Values and SVGs sourced from Paper. */
:root {
  --ground: #fff;
  --ink: #000;
  --tint: #f5f5f5;
  --rule: #dadada;
  --muted: #606060;
  --sans: 'Archivo',Arial,sans-serif;
  --mono: 'IBM Plex Mono',monospace;
  --gutter: 40px;
  --inset: 32px;
  --hero-radius: var(--cta-radius);
  --navigation-height: 88px;
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/26px var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

h1,h2,h3,p,figure,ol {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img,svg {
  display: block;
}

ol {
  padding: 0;
  list-style: none;
}

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

a:focus-visible,button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

a:hover:not(.button) {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer a:hover:not(.button) {
  text-decoration: none;
  color: var(--muted);
}

.mobile-only {
  display: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  z-index: 30;
  background: #fff;
  padding: 12px 20px;
  border: 1px solid;
}

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

.navigation {
  height: var(--navigation-height);
  width: calc(100% - 2 * var(--gutter));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  position: relative;
  max-width: 1520px;
  margin: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.navigation__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font: 500 15px/22px var(--sans);
  text-transform: none;
}

.navigation__pages {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
}

.navigation a:hover:not(.button) {
  text-decoration: none;
  color: var(--muted);
}

.button {
  width: 224px;
}

.button--nav {
  width: 204px;
}

.menu-toggle {
  display: none;
}

.blueprint {
  max-width: 1520px;
  margin: 0 var(--gutter);
}

.blueprint>section:not(.overview):not(.materials):not(.earnings):not(.security):not(.process):not(.information) {
  border-inline: 1px solid var(--rule);
}

.overview {
  display: grid;
  /* The next section starts below the first viewport, even on tall displays. */
  min-height: calc(100vh - var(--navigation-height));
  min-height: calc(100dvh - var(--navigation-height));
  padding-block: 24px 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,1.04fr) minmax(0,1fr);
  min-height: 580px;
  background: #f2f2f2;
  border-radius: var(--hero-radius);
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  min-width: 0;
  padding: 56px 16px 56px clamp(32px,4vw,64px);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(42px,4.85vw,74px);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.hero__copy>p {
  max-width: 480px;
  font-size: 17px;
  line-height: 28px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.text-link {
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.hero__actions .text-link:hover {
  text-decoration: none;
  color: var(--muted);
}

.drawing {
  position: relative;
  grid-column: 2;
  min-width: 0;
  padding-right: 20px;
  display: flex;
  align-items: center;
}

.drawing__desktop {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin-inline: auto;
  container-type: inline-size;
  aspect-ratio: 678/640;
}

.drawing__art {
  width: 100%;
  height: auto;
}

.drawing__trace {
  opacity: 0;
}

.drawing__trace--first {
  --travel: 129px;
  --trace-delay: 1.05s;
}

.drawing__trace--second {
  --travel: 106px;
  --trace-delay: 2.7s;
}

.drawing__mobile .drawing__trace {
  --travel: 65px;
}

.drawing [data-stage="source"] { --stage-delay: .15s; }
.drawing [data-stage="removed"] { --stage-delay: 1.55s; }
.drawing [data-stage="output"] { --stage-delay: 3.15s; }

.drawing__label::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 24px;
  border-bottom: 1px solid currentColor;
  transform: scaleX(0);
  transform-origin: left;
}

/* One finite pass. All original artwork remains visible without JavaScript. */
.is-animating .drawing__art {
  animation: drawing-sequence 4.8s linear;
}

.is-animating .drawing__plane {
  animation: drawing-plane 1.4s cubic-bezier(.22,.61,.36,1) var(--stage-delay) both;
}

.is-animating .drawing__label::after {
  animation: drawing-label 1.45s ease var(--stage-delay) both;
}

.is-animating .drawing__redaction {
  transform-box: fill-box;
  transform-origin: left center;
  animation: drawing-redact .48s cubic-bezier(.22,.61,.36,1) calc(1.55s + var(--item-delay, 0s)) both;
}

.is-animating .drawing__cell {
  animation: drawing-cell .8s ease calc(3.15s + var(--item-delay, 0s)) both;
}

.is-animating .drawing__trace {
  animation: drawing-trace .6s ease-in-out var(--trace-delay) both;
}

.is-animating.is-paused .drawing__art,
.is-animating.is-paused .drawing__art *,
.is-animating.is-paused .drawing__label::after {
  animation-play-state: paused;
}

@keyframes drawing-sequence {
  from, to { opacity: 1; }
}

@keyframes drawing-plane {
  0%, 100% { transform: translateY(0); }
  35%, 55% { transform: translateY(-6px); }
}

@keyframes drawing-label {
  0%, 100% { transform: scaleX(0); }
  20%, 80% { transform: scaleX(1); }
}

@keyframes drawing-redact {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes drawing-cell {
  0% { opacity: .3; }
  45% { opacity: 1; stroke: #000; }
  100% { opacity: 1; }
}

@keyframes drawing-trace {
  0% { opacity: 0; transform: translateY(0); }
  15%, 75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(var(--travel)); }
}

.drawing__desktop p {
  position: absolute;
  font: 14px/20px var(--mono);
  font-size: clamp(10px,2.065cqw,14px);
  line-height: 1.4;
}

.drawing__source {
  left: 68.73%;
  top: 11.56%;
}

.drawing__removed {
  left: 4.72%;
  top: 38.75%;
}

.drawing__output {
  left: 64.9%;
  top: 89.06%;
}

.drawing__mobile {
  display: none;
}











.invitation {
  border-top: 1px solid var(--ink);
}

.invitation {
  background: var(--tint);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  padding: 40px var(--inset);
}

.section-heading h2 {
  font-size: 58px;
  line-height: 60px;
  letter-spacing: -.055em;
}

.section-heading>p {
  width: 376px;
  flex-shrink: 0;
  font-size: 17px;
  line-height: 27px;
  color: var(--muted);
}

.invitation {
  border-bottom: 1px solid var(--ink);
}

.invitation__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  padding: 48px var(--inset) 56px;
}

.invitation h2 {
  font-size: 64px;
  line-height: 66px;
  letter-spacing: -.06em;
}

.invitation__action {
  width: 376px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 27px;
}

.invitation .button {
  width: 100%;
}

.footer {
  max-width: 1600px;
  margin: auto;
  padding: 36px var(--gutter) 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer .brand {
  font-size: 24px;
  line-height: 30px;
}

.footer nav {
  display: flex;
  gap: 28px;
  font: 12px/20px var(--mono);
  text-transform: uppercase;
}

@media(min-width:1600px) {
  .blueprint {
    margin-inline: auto;
  }
}

@media(max-width:1200px) and (min-width:761px) {
  :root {
    --gutter: 24px;
    --inset: 24px;
  }
  .hero__actions {
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero__actions .button {
    width: 200px;
  }
  .hero h1 {
    font-size: clamp(37px,4.65vw,56px);
  }
  .hero {
    min-height: 520px;
  }
  .hero__content {
    padding: 40px 8px 40px 32px;
  }
  .drawing {
    padding-right: 12px;
  }
  .section-heading h2 {
    font-size: 46px;
    line-height: 49px;
  }
  .section-heading>p,.invitation__action {
    width: 30%;
  }
  .invitation h2 {
    font-size: 52px;
    line-height: 56px;
  }
}

@media(min-width:761px) and (max-width:1000px) {
  .drawing__removed {
    left: 0;
  }
}

@media(max-width:760px) {
  :root {
    --navigation-height: 73px;
    --gutter: 24px;
    --inset: 23px;
  }
  .desktop-only {
    display: none!important;
  }
  .mobile-only {
    display: initial;
  }
  .navigation {
    height: var(--navigation-height);
    width: calc(100% - 32px);
    padding: 18px 8px 22px;
  }
  .brand {
    gap: 10px;
    font-size: 20px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    margin-right: -6px;
  }
  .navigation__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    background: var(--ground);
    padding: 20px 24px 24px;
    border-bottom: 1px solid;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .navigation__pages {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .navigation__pages>a {
    padding: 12px 0;
  }
  .navigation__links .button {
    margin-top: 12px;
    width: 100%;
  }
  .navigation.is-open .navigation__links {
    display: flex;
  }
  .blueprint {
    margin: 0;
  }
  .overview {
    padding: 16px 16px 40px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: var(--hero-radius);
  }
  .hero__content {
    gap: 24px;
    padding: 36px 24px 16px;
  }
  .hero__copy {
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(32px,9.5vw,48px);
    line-height: 1.05;
    letter-spacing: -.05em;
  }
  .hero__copy>p {
    font-size: 16px;
    line-height: 26px;
  }
  .hero__actions {
    gap: 12px 20px;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    width: 200px;
    max-width: 100%;
  }
  .hero__actions .text-link {
    text-align: center;
  }
  .hero__actions .button {
    width: 200px;
    flex-shrink: 0;
  }
  .text-link {
    font: 13px/20px var(--mono);
    padding-block: 8px;
  }
  .drawing {
    display: block;
    padding: 0;
    margin: 0 24px 20px;
  }
  .drawing__desktop {
    display: none;
  }
  .drawing__mobile {
    display: block;
    max-width: 440px;
    margin-inline: auto;
    padding-top: 0;
  }
  .drawing__mobile .drawing__label {
    position: relative;
  }
  .drawing__mobile .drawing__label::after {
    width: 20px;
    bottom: -2px;
  }
  .drawing__mobile ol {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    border-top: 1px solid var(--rule);
    padding-top: 16px;
    font: 13px/20px var(--mono);
    color: var(--muted);
  }
  .drawing__mobile li {
    display: flex;
    gap: 16px;
  }
  .drawing__mobile li span {
    width: 24px;
    flex-shrink: 0;
  }
  .section-heading {
    padding: 0 0 40px;
    display: block;
  }
  .section-heading h2 {
    font-size: 36px;
    line-height: 38px;
    letter-spacing: -.045em;
  }
  .section-heading>p {
    display: none;
  }
  .invitation {
    border-bottom: 0;
    padding: 48px var(--inset) 56px;
  }
  .invitation__body {
    padding: 0;
    display: block;
  }
  .invitation h2 {
    font-size: 36px;
    line-height: 38px;
    letter-spacing: -.045em;
  }
  .invitation__action {
    width: 100%;
    font-size: 16px;
    line-height: 26px;
    margin-top: 24px;
    gap: 24px;
  }
  .footer {
    padding: 32px 24px;
    border-top: 1px solid;
    gap: 28px;
  }
  .footer__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer .brand {
    font-size: 22px;
    line-height: 28px;
  }
  .footer nav {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 20px;
    font-size: 13px;
  }
}

@media(max-width:370px) {
  .hero__content {
    padding-inline: 20px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .drawing {
    margin-inline: 20px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero__actions .button {
    width: 100%;
  }
  .hero__actions .text-link {
    align-self: stretch;
  }
  .footer nav {
    column-gap: 16px;
  }
}

/* Applied only after the scroll observer is ready; no-JS content stays visible. */
[data-reveal-pending] {
  opacity: 0;
}

@media print {
  [data-reveal-pending] { opacity: 1; }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
  }
  .drawing *, .drawing *::after {
    animation: none!important;
  }
}
