/* AFENDA xForge: one screen in black and white. Typography is the only
   decoration; the logo keeps its own colours and is the only colour. */
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --black: #0A0A0A;
  --white: #F7F7F5;
  --muted: rgba(247, 245, 240, .66);
  --pad: clamp(20px, 4vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { background: var(--black); }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: "Source Sans 3", system-ui, sans-serif; font-synthesis: none;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
h1 { margin: 0; font-weight: inherit; }

/* Apparatus: small caps that label, never compete. 11px floor for legibility. */
.micro { font-size: clamp(11px, .8vw, 13px); line-height: 1.55; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* The one screen. */
.scene { min-height: 100svh; padding: clamp(22px, 3.5vh, 46px) var(--pad) clamp(24px, 4vh, 58px); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lockup { display: block; width: clamp(112px, 9vw, 148px); height: auto; }
.actions { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.actions a { opacity: .66; transition: opacity .2s ease; }
.actions a:hover, .actions a:focus-visible { opacity: 1; }
.actions .primary { opacity: 1; padding-bottom: 4px; border-bottom: 1px solid currentColor; }

.meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 30px; color: var(--muted); }

/* Hairline against heavy: the whole design. */
.hero { align-self: center; padding-block: clamp(34px, 7svh, 96px); }
.hero .light { display: block; font-size: clamp(34px, 5.8vw, 98px); line-height: .92; font-weight: 250; letter-spacing: -.045em; }
.hero .heavy { display: block; margin: .02em 0 0 -.05em; font-size: clamp(112px, 19vw, 326px); line-height: .72; font-weight: 900; letter-spacing: -.075em; white-space: nowrap; }
.hero .note { margin: clamp(34px, 7svh, 92px) 0 0; max-width: 52ch; color: var(--muted); }

/* A title sequence in CSS alone: one screen is always in view, so nothing
   waits on a script, and nothing can be left hidden if one fails. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal 1s var(--ease) both; }
  .delay-1 { animation-delay: .1s; }
  .delay-2 { animation-delay: .2s; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(.16em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 640px) {
  :root { --pad: clamp(18px, 5.4vw, 26px); }
  .scene { padding-top: 20px; padding-bottom: 22px; }
  .hero { padding-block: 10svh 6svh; }
  .hero .light { font-size: clamp(32px, 10.2vw, 56px); line-height: .9; }
  .hero .heavy { font-size: clamp(96px, 30vw, 182px); line-height: .7; }
  .hero .note { margin-top: 6svh; max-width: none; }
}

::selection { background: var(--white); color: var(--black); }
