/* Space theme — the universal parts only (header, footer, hover cursor, award symbol,
   prev / all / next). Flat, bold space icons: a sparkle-and-orbit mark, four-point
   sparkles and a sunburst. Project colours (--a1…--a5) are untouched. */
:root {
  --night: #0c0d24;                 /* deep space indigo */
  --ink: #0e0f26;
  --grey: #34364a;
  --mute: #6f7187;
  --line: rgba(14,15,38,.16);
  --star: #ffcf4a;                  /* starlight gold, for dark grounds */
  --star-deep: #e3a512;             /* the same gold, deep enough for the off-white */
  --orange: var(--star-deep);
  /* hover cursor: a white scalloped badge with a fine outline and a thin plus */
  --zoom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 52 52'%3E%3Cpath d='M50.5 26.0L50.4 26.8L49.8 27.6L49.1 28.3L48.3 28.9L47.7 29.6L47.4 30.3L47.5 31.0L47.8 31.8L48.2 32.7L48.6 33.7L48.8 34.6L48.7 35.4L48.2 36.1L47.4 36.6L46.5 36.9L45.5 37.3L44.7 37.6L44.2 38.1L43.9 38.8L43.9 39.7L43.9 40.7L44.0 41.7L43.8 42.7L43.4 43.4L42.7 43.8L41.7 44.0L40.7 43.9L39.7 43.9L38.8 43.9L38.1 44.2L37.6 44.7L37.3 45.5L36.9 46.5L36.6 47.4L36.1 48.2L35.4 48.7L34.6 48.8L33.7 48.6L32.7 48.2L31.8 47.8L31.0 47.5L30.3 47.4L29.6 47.7L28.9 48.3L28.3 49.1L27.6 49.8L26.8 50.4L26.0 50.5L25.2 50.4L24.4 49.8L23.7 49.1L23.1 48.3L22.4 47.7L21.7 47.4L21.0 47.5L20.2 47.8L19.3 48.2L18.3 48.6L17.4 48.8L16.6 48.7L15.9 48.2L15.4 47.4L15.1 46.5L14.7 45.5L14.4 44.7L13.9 44.2L13.2 43.9L12.3 43.9L11.3 43.9L10.3 44.0L9.3 43.8L8.6 43.4L8.2 42.7L8.0 41.7L8.1 40.7L8.1 39.7L8.1 38.8L7.8 38.1L7.3 37.6L6.5 37.3L5.5 36.9L4.6 36.6L3.8 36.1L3.3 35.4L3.2 34.6L3.4 33.7L3.8 32.7L4.2 31.8L4.5 31.0L4.6 30.3L4.3 29.6L3.7 28.9L2.9 28.3L2.2 27.6L1.6 26.8L1.4 26.0L1.6 25.2L2.2 24.4L2.9 23.7L3.7 23.1L4.3 22.4L4.6 21.7L4.5 21.0L4.2 20.2L3.8 19.3L3.4 18.3L3.2 17.4L3.3 16.6L3.8 15.9L4.6 15.4L5.5 15.1L6.5 14.7L7.3 14.4L7.8 13.9L8.1 13.2L8.1 12.3L8.1 11.3L8.0 10.3L8.2 9.3L8.6 8.6L9.3 8.2L10.3 8.0L11.3 8.1L12.3 8.1L13.2 8.1L13.9 7.8L14.4 7.3L14.7 6.5L15.1 5.5L15.4 4.6L15.9 3.8L16.6 3.3L17.4 3.2L18.3 3.4L19.3 3.8L20.2 4.2L21.0 4.5L21.7 4.6L22.4 4.3L23.1 3.7L23.7 2.9L24.4 2.2L25.2 1.6L26.0 1.4L26.8 1.6L27.6 2.2L28.3 2.9L28.9 3.7L29.6 4.3L30.3 4.6L31.0 4.5L31.8 4.2L32.7 3.8L33.7 3.4L34.6 3.2L35.4 3.3L36.1 3.8L36.6 4.6L36.9 5.5L37.3 6.5L37.6 7.3L38.1 7.8L38.8 8.1L39.7 8.1L40.7 8.1L41.7 8.0L42.7 8.2L43.4 8.6L43.8 9.3L44.0 10.3L43.9 11.3L43.9 12.3L43.9 13.2L44.2 13.9L44.7 14.4L45.5 14.7L46.5 15.1L47.4 15.4L48.2 15.9L48.7 16.6L48.8 17.4L48.6 18.3L48.2 19.3L47.8 20.2L47.5 21.0L47.4 21.7L47.7 22.4L48.3 23.1L49.1 23.7L49.8 24.4L50.4 25.2Z' fill='%23ffffff' stroke='%23000000' stroke-width='.8' stroke-linejoin='round'/%3E%3Cpath d='M26 22.4v7.2M22.4 26h7.2' stroke='%23000000' stroke-width='1.1'/%3E%3C/svg%3E") 26 26, zoom-in;
}
::selection { background: var(--star); color: var(--ink); }
.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ── floating header: wordmark pill + menu pill ── */
.nav { position: fixed; left: 0; right: 0; top: 0; padding: 16px clamp(16px, 2vw, 28px); background: none; backdrop-filter: none; border: 0; pointer-events: none; }
.nav > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 20px 0 14px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 6px 20px -8px rgba(12,13,36,.35); }
.logo .icon { width: 28px; height: 28px; transition: transform 1.2s var(--ease); }
.logo:hover .icon { transform: rotate(90deg); }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.045em; line-height: 1; }
.nav nav { gap: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 6px 20px -8px rgba(12,13,36,.35); font-size: 15px; }
.nav nav a { padding: 8px 18px; border-radius: 999px; transition: background .3s; }
.nav nav a::after { display: none; }
.nav nav a:hover { background: rgba(14,15,38,.06); }
.nav nav a.is-active { background: var(--ink); color: #fff; }

/* the fold starts at the very top, under the floating header */
.fold { height: min(84svh, 780px); cursor: default; }
.fold::after { background: linear-gradient(0deg, rgba(12,13,36,.9) 0%, rgba(12,13,36,.55) 26%, rgba(12,13,36,.12) 52%, rgba(12,13,36,0) 70%),
                          linear-gradient(180deg, rgba(12,13,36,.35) 0%, rgba(12,13,36,0) 18%); }

/* ── award symbol: a four-point sparkle ── */
.facts .award svg { color: var(--star-deep); }

/* ── prev / all / next ── */
.pager a:hover { background: var(--night); }
.pager .all { gap: 10px; }


.pager .label .icon { width: 9px; height: 9px; vertical-align: -1px; margin: 0 4px; color: var(--star-deep); }
.pager a:hover .label .icon { color: var(--star); }

/* ── footer: big wordmark, sparkle rule ── */
.footer { flex-direction: column; align-items: stretch; gap: 0; padding: clamp(50px, 6vw, 80px) var(--pad) 30px; }
.footer__mark { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__mark .wordmark { display: inline-flex; align-items: center; gap: .18em; font-size: clamp(56px, 10vw, 168px); letter-spacing: -.055em; color: #f7f2ec; }
.footer__mark .wordmark .icon { width: .62em; height: .62em; color: var(--star); transition: transform 1.6s var(--ease); }
.footer__mark .wordmark:hover .icon { transform: rotate(90deg); }
.footer__links { display: grid; gap: 6px; justify-items: end; padding-bottom: 1.4vw; }
.footer__rule { position: relative; display: flex; align-items: center; gap: 12px; margin-top: clamp(30px, 4vw, 50px); color: var(--star); }
.footer__rule::before { content: ""; flex: 1; height: 1px; background: rgba(247,242,236,.25); }
.footer__rule .icon { width: 14px; height: 14px; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-size: 13px; color: rgba(247,242,236,.6); }
.footer a:hover { color: var(--star); }

@media (max-width: 900px) {
  .nav { gap: 8px; }
  .logo { height: 42px; padding: 0 12px 0 10px; gap: 6px; }
  .logo .icon { width: 22px; height: 22px; }
  .logo .wordmark { display: none; }
  .nav nav { gap: 2px; padding: 4px; font-size: 13px; }
  .nav nav a { padding: 7px 10px; }
  .fold { height: 132vw; max-height: 680px; }
  .footer__links { justify-items: start; }
}

/* ── header: small flat white — round logo + menu pill, no shadow or outline ── */
.nav { padding: 14px clamp(14px, 1.8vw, 26px); }
.logo, .nav nav { background: #fff; box-shadow: none; border: 0; }
.logo { width: 38px; height: 38px; padding: 0; justify-content: center; }
.logo .icon { width: 21px; height: 21px; }
.logo .wordmark { display: none; }
.nav nav { gap: 2px; padding: 3px; font-size: 14px; }
.nav nav a { padding: 5px 14px; }
.nav nav a:hover { background: none; color: #2f4dff; }
.nav nav a.is-active { background: none; color: #2f4dff; }

/* ── footer: doubles as the contact block (coral) ── */
.footer { background: #0a0a0c !important; color: #f3f2ee !important; padding: clamp(60px, 8vw, 120px) clamp(20px, 7vw, 130px) 28px !important; display: block !important; }
.footer__hello { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer__hello h2 { font-family: var(--display); font-weight: 500; font-size: clamp(48px, 7.4vw, 124px); line-height: .9; letter-spacing: -.055em; }
.footer__hello h2 em { font-style: normal; color: #ff6a4d; }
.footer__hello .icon { width: clamp(90px, 12vw, 190px); height: auto; aspect-ratio: 1; color: var(--ink); transition: transform 1.6s var(--ease); }
.footer__hello:hover .icon { transform: rotate(90deg); }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-top: clamp(40px, 6vw, 80px); padding-top: 22px; border-top: 1px solid rgba(243,242,238,.22); }
.footer__cols h3 { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; opacity: .7; }
.footer__cols ul { display: grid; gap: 8px; font-size: 15px; }
.footer__mail { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.footer__mail a { font-family: var(--display); font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -.03em; border-bottom: 1px solid currentColor; }
.footer__mail button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(243,242,238,.5); background: none; color: #f3f2ee; font: 500 12px var(--display); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.footer__mail button.is-copied { background: #f3f2ee; color: #0a0a0c; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(40px, 5vw, 64px); font-size: 13px; color: rgba(243,242,238,.55); }
.footer__base .wordmark { font-size: 18px; color: #f3f2ee; }
.footer a:hover { color: #ff6a4d; }
@media (max-width: 860px) {
  .footer__hello .icon { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) { .logo { width: 36px; height: 36px; padding: 0; flex: none; } .nav nav a { padding: 7px 10px; } }
