@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk/SpaceGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk/SpaceGrotesk-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk/SpaceGrotesk-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body.spacedust-v2 {
  --bg: #f4f5f2;
  --panel: #102644;
  --line: rgba(17, 17, 17, 0.18);
  --ink: #111111;
  --muted: rgba(17, 17, 17, 0.68);
  --accent: #102644;
  --page-gutter: clamp(18px, 4vw, 48px);
  --content-max: 1400px;
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: clip;
}

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

.spacedust-v2 a {
  color: inherit;
}

.v2-shell {
  width: 100%;
}

.v2-topbar,
.v2-hero,
.v2-film,
.v2-caption,
.v2-about,
.v2-process,
.v2-footer {
  width: 100%;
  border-top: 1px solid var(--line);
}

.v2-caption + .v2-film {
  border-top: 0;
}

.v2-topbar-inner,
.v2-hero-inner,
.v2-film-inner,
.v2-caption-inner,
.v2-about-inner,
.v2-process-inner,
.v2-footer-inner {
  width: min(calc(100vw - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto;
}

.v2-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}

.v2-brand-mark-wrap {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.v2-brand-mark-link {
  display: inline-flex;
  align-items: center;
}

.v2-brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  transform: translateY(0) scale(1);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.v2-brand-mark-link:hover .v2-brand-mark,
.v2-brand-mark-link:focus-visible .v2-brand-mark {
  opacity: 0.82;
  transform: translateY(-1px) scale(1.04);
}

.v2-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-nav a {
  text-decoration: none;
  transition: color 0.18s ease;
}

.v2-nav a:hover,
.v2-nav a:focus-visible {
  color: var(--accent);
  outline: none;
}

.v2-nav a[aria-current="page"] {
  color: var(--accent);
}

.v2-hero-inner {
  display: grid;
  gap: 0;
  padding-block: clamp(54px, 9vw, 112px) clamp(64px, 8vw, 92px);
}

.v2-brand-line,
.v2-label,
.v2-footer-links,
.v2-footer-meta {
  font-family: inherit;
}

.v2-brand-line {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: clamp(1.08rem, 2vw, 1.52rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v2-title {
  margin: 0;
  max-width: 7.8ch;
  font-size: clamp(4.3rem, 11vw, 10.8rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.v2-title span {
  display: block;
}

.v2-subline {
  max-width: none;
  margin: 28px 0 0;
  color: var(--ink);
  font-size: clamp(1.075rem, 2.65vw, 2.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.v2-film-inner {
  padding-block: clamp(18px, 3vw, 24px);
}

.v2-caption + .v2-film .v2-film-inner {
  padding-top: 0;
}

.v2-film-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d8d9d5;
}

.v2-film-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.v2-caption-inner {
  padding-block: clamp(14px, 2vw, 18px) clamp(8px, 1.4vw, 12px);
}

.v2-caption-copy {
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.05rem, 1.75vw, 1.28rem);
  font-weight: 400;
  line-height: 1.48;
}

.v2-caption-copy strong.block-line {
  display: block;
  font-weight: 700;
}

.v2-about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding-block: clamp(26px, 4vw, 40px) clamp(72px, 9vw, 110px);
}

.v2-about-copy {
  max-width: 46rem;
}

.v2-about-copy p {
  margin: 0;
  font-weight: 400;
  line-height: 1.32;
}

.v2-about-copy p:first-child {
  font-size: clamp(2.15rem, 5.3vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.v2-about-copy p + p {
  margin-top: 18px;
  color: var(--muted);
}

.v2-about-copy p:last-child {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.v2-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-self: end;
}

.v2-actions a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-decoration: none;
  transition: color 0.18s ease;
}

.v2-actions a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--line);
  transition: background-color 0.18s ease;
}

.v2-actions a .link-arrow {
  color: var(--accent);
}

.v2-actions a:hover,
.v2-actions a:focus-visible {
  color: var(--accent);
  outline: none;
}

.v2-actions a:hover::after,
.v2-actions a:focus-visible::after {
  background: var(--accent);
}

.v2-process-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding-block: clamp(28px, 4vw, 42px) clamp(72px, 9vw, 110px);
}

.v2-process-copy {
  max-width: 52rem;
}

.v2-process-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-process-steps {
  display: grid;
  gap: 16px;
}

.v2-process-steps p {
  margin: 0;
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  line-height: 1.45;
}

.v2-process-steps strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--ink);
}

.v2-process-steps span {
  display: block;
  color: var(--muted);
}

.v2-process-actions {
  align-self: end;
}

.v2-page-hero-inner,
.v2-page-visual-inner,
.v2-workflow-inner {
  width: min(calc(100vw - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto;
}

.v2-page-hero,
.v2-page-visual,
.v2-workflow {
  width: 100%;
  border-top: 1px solid var(--line);
}

.v2-page-hero-inner {
  display: grid;
  gap: 0;
  padding-block: clamp(54px, 9vw, 112px) clamp(30px, 5vw, 46px);
}

.v2-page-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: clamp(1.08rem, 2vw, 1.52rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.v2-page-title {
  margin: 0;
  font-size: clamp(4.3rem, 11vw, 10.8rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.v2-page-intro {
  max-width: 48rem;
  margin: 26px 0 0;
  font-size: clamp(1.22rem, 2.2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: -0.02em;
}

.v2-page-visual-inner {
  padding-block: clamp(18px, 3vw, 24px);
}

.v2-page-image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #d8d9d5;
}

.v2-workflow-inner {
  display: grid;
  gap: clamp(24px, 4vw, 34px);
  padding-block: clamp(30px, 4vw, 44px) clamp(72px, 9vw, 110px);
}

.v2-workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 34px) clamp(24px, 4vw, 42px);
}

.v2-workflow-step {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.v2-workflow-number {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.v2-workflow-step h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.v2-workflow-step h2 + p {
  margin-top: 10px;
}

.v2-workflow-step p {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
  line-height: 1.5;
  color: var(--muted);
}

.v2-workflow-actions {
  align-self: start;
  justify-items: start;
}

.v2-footer {
  background: var(--panel);
  color: #f4f5f2;
  border-top-color: rgba(244, 245, 242, 0.18);
}

.v2-footer-inner {
  display: grid;
  gap: 34px;
  padding-block: clamp(52px, 7vw, 84px) clamp(64px, 9vw, 110px);
}

.v2-footer-brand {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.v2-footer-signature {
  display: grid;
  gap: 6px;
}

.v2-footer-signature p {
  margin: 0;
}

.v2-footer-line {
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-footer-subline {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: rgba(244, 245, 242, 0.78);
}

.v2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.v2-footer-links a:hover,
.v2-footer-links a:focus-visible {
  color: rgba(244, 245, 242, 0.72);
  outline: none;
}

.v2-footer-meta {
  margin: 0;
  color: rgba(244, 245, 242, 0.72);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .v2-about-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2-workflow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2-actions {
    align-self: start;
  }
}

@media (max-width: 699px) {
  body.spacedust-v2 {
    --page-gutter: 16px;
  }

  .v2-topbar-inner {
    gap: 14px;
    min-height: 56px;
  }

  .v2-brand-mark {
    width: 28px;
    height: 28px;
  }

  .v2-nav {
    gap: 10px 14px;
    font-size: 0.66rem;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    letter-spacing: 0.06em;
  }

  .v2-brand-line {
    margin-bottom: 15px;
    font-size: 1.08rem;
    letter-spacing: 0.06em;
  }

  .v2-title {
    max-width: none;
    font-size: clamp(2.95rem, 14.2vw, 4.3rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    overflow-wrap: normal;
  }

  .v2-subline {
    max-width: none;
    font-size: 0.79rem;
    line-height: 1.16;
    letter-spacing: -0.02em;
  }

  .v2-hero-inner {
    padding-bottom: 54px;
  }

  .v2-film-inner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-block: 12px 16px;
  }

  .v2-caption + .v2-film .v2-film-inner {
    padding-top: 2px;
  }

  .v2-caption-copy {
    font-size: 1rem;
    line-height: 1.5;
  }

  .v2-about-copy p:first-child {
    font-size: 1.58rem;
    line-height: 1.16;
    letter-spacing: -0.03em;
  }

  .v2-about-copy p:last-child {
    font-size: 1.22rem;
    line-height: 1.08;
  }

  .v2-process-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2-process-label {
    margin-bottom: 14px;
    font-size: 0.78rem;
  }

  .v2-process-steps p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .v2-page-kicker {
    margin-bottom: 15px;
    font-size: 1.08rem;
    letter-spacing: -0.03em;
  }

  .v2-page-title {
    font-size: clamp(2.95rem, 14.2vw, 4.3rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
  }

  .v2-page-intro {
    margin-top: 22px;
    font-size: 1.08rem;
    line-height: 1.42;
    letter-spacing: -0.01em;
  }

  .v2-page-visual-inner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-block: 12px 16px;
  }

  .v2-workflow-inner {
    gap: 22px;
  }

  .v2-workflow-number {
    margin-bottom: 10px;
    font-size: 0.76rem;
  }

  .v2-workflow-step h2 {
    font-size: 1.56rem;
  }

  .v2-workflow-step p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .v2-actions a {
    font-size: 1.22rem;
    line-height: 1.08;
  }

  .v2-footer-inner {
    gap: 28px;
    padding-block: 48px 72px;
  }

  .v2-footer-line,
  .v2-footer-meta,
  .v2-footer-links {
    font-size: 0.86rem;
  }

  .v2-footer-subline {
    font-size: 0.98rem;
  }
}
