/* Australia42 — From Orbit */

:root {
  --night: #04070d;
  --deep: #071224;
  --star: #eef2f9;
  --muted: #93a1b8;
  --dim: #64738c;
  --aurora: #7fd4c9;
  --gold: #e3c988;
  --green: #79e0a8;
  --amber: #e8c47a;
  --red: #e88a7a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(180deg, #020408 0%, #04070d 40%, #071224 100%);
  color: var(--star);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* bold in the book font uses the real loaded weight, never a smeared fake */
strong, b { font-weight: 500; font-synthesis: none; }
strong em, em strong { font-synthesis: none; }

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* earth limb */
.limb {
  position: fixed;
  left: 50%;
  bottom: -82vw;
  width: 120vw;
  height: 120vw;
  margin-left: -60vw;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%,
    rgba(3, 5, 9, 0) 61%,
    rgba(64, 140, 190, 0.25) 68.2%,
    rgba(127, 212, 201, 0.38) 69.4%,
    rgba(30, 80, 140, 0.1) 72%,
    rgba(3, 5, 9, 0) 78%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: limbrise 2.8s 0.9s ease-out forwards;
}
@keyframes limbrise { to { opacity: 1; } }

/* nav */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 14px 12px 24px;
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 40px rgba(2, 4, 9, 0.5);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  white-space: nowrap;
  view-transition-name: site-nav;
}
.wordmark { font-family: 'Instrument Serif', Georgia, serif; font-size: 20px; color: var(--star); text-decoration: none; letter-spacing: 0.005em; }
.wordmark em { font-style: italic; color: var(--gold); font-size: 0.6em; position: relative; top: -0.62em; margin-left: 1px; }
.nav-rule { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.12); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #6b7a91;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: #b3bfd1; background: rgba(255, 255, 255, 0.04); }
.nav-links a.active { color: var(--star); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.nav-menu {
  display: none;
  align-items: center;
  gap: 10px;
  font: 500 14px 'Instrument Sans', sans-serif;
  color: var(--star);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(2, 4, 8, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-sheet-inner {
  position: absolute;
  top: 84px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: rgba(10, 15, 25, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  transform: translateY(-10px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-sheet a {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px;
  color: #93a1b8;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 14px;
}
.nav-sheet a.active { color: var(--star); background: rgba(255, 255, 255, 0.06); }
html.sheet-open .nav-sheet { opacity: 1; pointer-events: auto; }
html.sheet-open .nav-sheet-inner { transform: none; }
@media (max-width: 900px) {
  .nav { left: 16px; right: 16px; transform: none; justify-content: space-between; padding: 10px 10px 10px 20px; }
  .nav-links, .nav-rule { display: none; }
  .nav-menu { display: inline-flex; }
}

/* page transitions: one sky, the content crossfades */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms cubic-bezier(0.4, 0, 1, 1) both vt-out; }
::view-transition-new(root) { animation: 520ms cubic-bezier(0.22, 1, 0.36, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.page-sub .limb { animation: none; opacity: 1; }

/* hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  gap: 28px;
}
.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 1.02;
  max-width: 1000px;
  text-wrap: balance;
  opacity: 0;
  animation: rise 1.4s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero p {
  font-size: 19px;
  line-height: 1.6;
  color: #a5b2c6;
  max-width: 620px;
  opacity: 0;
  animation: rise 1.4s 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  opacity: 0;
  animation: rise 1.4s 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: rgba(238, 242, 249, 0.94);
  color: #04070d;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 40px rgba(238, 242, 249, 0.18);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 20px 50px rgba(238, 242, 249, 0.28); }
.btn-glass {
  color: var(--star);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* module */
main { position: relative; z-index: 1; }

.module {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 32px 40px;
}
.module-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(147, 161, 184, 0.14);
  margin-bottom: 30px;
}
.module-kicker { display: flex; gap: 12px; font-size: 14px; margin-bottom: 10px; }
.module-kicker strong { color: var(--aurora); font-weight: 600; }
.module-kicker span { color: #4a586e; }
.module h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 46px; }
.module-sub { font-size: 16px; color: var(--muted); margin-top: 8px; }
.module-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.legend { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 7px; }
.lg { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lg-g { background: var(--green); box-shadow: 0 0 10px var(--green); }
.lg-a { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.lg-r { background: var(--red); box-shadow: 0 0 10px var(--red); }
.chip {
  padding: 7px 14px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 20px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(127, 212, 201, 0.05) 100%) rgba(2, 4, 8, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 26px 60px rgba(2, 4, 9, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}
.tile:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 40px 80px rgba(2, 4, 9, 0.65), 0 0 44px rgba(127, 212, 201, 0.08);
}
.tile::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 14px;
  width: 55%;
  height: 30px;
  background: radial-gradient(50% 100% at 50% 100%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  filter: blur(6px);
  border-radius: 50%;
  pointer-events: none;
}

.tile-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tile-label { font-size: 13.5px; font-weight: 500; color: #aeb9cc; }
.light { width: 78px; height: 70px; flex: none; margin: -16px -18px -16px 0; }

.tile-value { display: flex; align-items: baseline; gap: 10px; }
.tile-value strong { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 38px; color: var(--star); }
.tile-value span { font-size: 14px; }
.d-good { color: var(--green); } .d-bad { color: var(--red); } .d-watch { color: var(--amber); } .d-flat { color: var(--muted); }

.tile svg.spark { width: 100%; height: 36px; display: block; }

.tile-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); }
.tile-foot .cadence-tag { color: var(--gold); }

.band-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 900px) { .band-row { grid-template-columns: 1fr; } }

.band-wrap { display: flex; align-items: center; gap: 24px; }
.band-value { font-family: 'Instrument Serif', Georgia, serif; font-size: 44px; }
.band-viz { flex: 1; position: relative; height: 40px; }
.band-track { position: absolute; inset: 15px 0; background: rgba(90, 106, 132, 0.25); border-radius: 999px; }
.band-zone { position: absolute; top: 15px; bottom: 15px; left: 33%; width: 17%; background: rgba(121, 224, 168, 0.35); border-radius: 999px; box-shadow: 0 0 14px rgba(121, 224, 168, 0.3); }
.band-needle { position: absolute; top: 7px; left: 46%; width: 2px; height: 26px; background: var(--star); box-shadow: 0 0 10px rgba(238, 242, 249, 0.9); border-radius: 2px; }
.band-mark { position: absolute; top: -6px; font-size: 11px; color: var(--dim); }

.context-tile {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.02);
  border-style: dashed;
  border-color: rgba(147, 161, 184, 0.2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.context-tile::before { display: none; }
.context-item { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.context-label { font-size: 12px; color: var(--dim); }
.context-value { font-family: 'Instrument Serif', Georgia, serif; font-size: 28px; color: var(--muted); }
.context-sep { width: 1px; align-self: stretch; background: rgba(147, 161, 184, 0.14); }
.context-note { font-size: 12px; color: var(--dim); max-width: 140px; line-height: 1.5; }

.placeholder {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 32px;
  border-top: 1px solid rgba(147, 161, 184, 0.1);
}
.placeholder h3 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 32px; margin-bottom: 10px; }
.placeholder p { color: var(--muted); font-size: 16px; }

.foot-mark { font-family: 'Instrument Serif', Georgia, serif; color: var(--muted); }
.foot-mark em { font-style: italic; color: var(--gold); font-size: 0.62em; position: relative; top: -0.5em; margin-left: 1px; }

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 60px;
  font-size: 13px;
  color: var(--dim);
}

@media (max-width: 720px) {
  .module h2 { font-size: 34px; }
  .module-side { align-items: flex-start; }
}

/* ---------------- page structure ---------------- */

.page-overview {
  height: 100vh;
  overflow: hidden;
}

.hero-solo {
  min-height: 100vh;
  justify-content: flex-start;
  padding: 17vh 24px 0;
}

.page-sub main:not(.book-view):not(.letter):not(.dataroom) {
  padding-top: 110px;
}

.wordmark { text-decoration: none; }

.solo-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 32px 120px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.solo-section h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 52px;
}
.solo-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #a5b2c6;
}
.solo-section .solo-dim { font-size: 15px; color: var(--dim); }


/* ---------------- hero plate (landing) ---------------- */

.hero-plate {
  position: fixed;
  top: 26vh;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../img/hero-limb2.jpg) center bottom / cover no-repeat transparent;
  filter: brightness(0.86) saturate(0.96);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  z-index: 0;
  opacity: 0;
  animation: platefade 3s 0.5s ease-out forwards;
}
@keyframes platefade { to { opacity: 1; } }

#citylights {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(64% 40% at 50% 26%, rgba(2, 4, 8, 0.42) 0%, rgba(2, 4, 8, 0.16) 55%, rgba(2, 4, 8, 0) 100%),
    linear-gradient(180deg, rgba(2, 4, 8, 0.5) 0%, rgba(2, 4, 8, 0) 20%);
}

.page-overview .hero h1,
.page-overview .hero p { text-shadow: 0 2px 30px rgba(2, 4, 8, 0.8); }

/* ---------------- module framings (review) ---------------- */

.framing-note {
  margin: 70px 0 0;
  padding: 16px 22px;
  font-size: 14px;
  color: var(--muted);
  background: rgba(127, 212, 201, 0.05);
  border: 1px dashed rgba(127, 212, 201, 0.2);
  border-radius: 14px;
}

.framing { margin-top: 64px; }
.framing-head { margin-bottom: 22px; max-width: 720px; }
.framing-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--aurora);
  margin-bottom: 8px;
}
.framing-head h3 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 30px; margin-bottom: 8px; }
.framing-head p { font-size: 14.5px; line-height: 1.6; color: var(--dim); }

.light-inline { flex: none; }

/* B: head to head */
.hh { border-top: 1px solid rgba(147, 161, 184, 0.14); }
.hh-row {
  display: grid;
  grid-template-columns: 1fr 72px 1.2fr 1fr;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(147, 161, 184, 0.08);
}
.hh-star { display: flex; align-items: center; justify-content: center; }
.hh-head { padding: 10px 0; font-size: 12.5px; color: var(--dim); border-bottom: 1px solid rgba(147, 161, 184, 0.14); }
.hh-head .hh-aus, .hh-head .hh-oecd { font-weight: 600; color: var(--muted); }
.hh-aus { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; padding-right: 28px; }
.hh-head .hh-aus { display: block; }
.hh-oecd { text-align: left; padding-left: 28px; }
.hh-aus strong, .hh-oecd strong { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 24px; color: var(--star); }
.hh-aus em, .hh-oecd em { font-style: normal; font-size: 12px; margin-left: 0; color: var(--dim); }
.hh-oecd strong { color: var(--muted); }
.hh-none { color: #3a4658 !important; }
.hh-oecd em { color: #3a4658; font-size: 12px; }
.hh-mid { display: flex; align-items: center; justify-content: center; }
.hh-name { font-size: 14px; font-weight: 500; color: #aeb9cc; text-align: center; }

/* C: the ledger */
.lg { border-top: 1px solid rgba(147, 161, 184, 0.14); }
.lg-row {
  display: grid;
  grid-template-columns: 48px 1.6fr 150px 160px 110px;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(147, 161, 184, 0.08);
}
.lg-light { display: flex; justify-content: center; }
.lg-body { display: flex; flex-direction: column; gap: 3px; }
.lg-name { font-size: 15.5px; font-weight: 500; color: var(--star); }
.lg-copy { font-size: 13px; line-height: 1.5; color: var(--dim); }
.lg-spark svg { width: 100%; height: 30px; display: block; }
.lg-val { text-align: right; }
.lg-val strong { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 24px; color: var(--star); }
.lg-val em { font-style: normal; font-size: 12.5px; margin-left: 8px; }
.lg-cad { font-size: 12px; color: var(--dim); text-align: right; }

/* D: the dossier */
.ds { border-top: 1px solid rgba(147, 161, 184, 0.14); }
.ds-row { border-bottom: 1px solid rgba(147, 161, 184, 0.08); }
.ds-bar {
  display: grid;
  grid-template-columns: 44px 1fr 200px 30px;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
}
.ds-name { font-size: 15px; font-weight: 500; color: #aeb9cc; }
.ds-val { text-align: right; }
.ds-val strong { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 22px; color: var(--star); }
.ds-val em { font-style: normal; font-size: 12px; margin-left: 8px; }
.ds-chev { color: var(--dim); display: flex; justify-content: center; transition: transform 0.3s; }
.ds-row.open .ds-chev { transform: rotate(180deg); }
.ds-detail {
  display: none;
  padding: 6px 44px 24px 60px;
}
.ds-row.open .ds-detail { display: block; }
.ds-bigspark { width: 100%; height: 90px; display: block; margin-bottom: 14px; }
.ds-copy { font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 620px; margin-bottom: 12px; }
.ds-meta { display: flex; gap: 24px; font-size: 12px; color: var(--dim); }

/* E: the spread */
.sp { border-top: 1px solid rgba(147, 161, 184, 0.14); padding-top: 8px; }
.sp-axis {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--dim);
  padding: 10px 0 14px 220px;
}
.sp-axis-mid { color: var(--muted); }
.sp-row {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  gap: 20px;
  align-items: center;
  padding: 8px 0;
}
.sp-name { font-size: 14px; font-weight: 500; color: #aeb9cc; text-align: right; }
.sp-track { position: relative; height: 34px; }
.sp-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(147, 161, 184, 0.12);
}
.sp-mid {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: rgba(147, 161, 184, 0.3);
}
.sp-dot { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.sp-gap { font-size: 12.5px; color: var(--dim); }

@media (max-width: 900px) {
  .lg-row { grid-template-columns: 40px 1fr 120px; }
  .lg-spark, .lg-cad { display: none; }
  .sp-row { grid-template-columns: 120px 1fr 50px; }
  .sp-axis { padding-left: 140px; }
}


/* framings sit on the same glass as the tiles */
.framing-panel {
  position: relative;
  overflow: hidden;
  padding: 14px 32px 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(127, 212, 201, 0.05) 100%) rgba(2, 4, 8, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 26px 60px rgba(2, 4, 9, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.framing-panel::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 14px;
  width: 45%;
  height: 30px;
  background: radial-gradient(50% 100% at 50% 100%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  filter: blur(6px);
  border-radius: 50%;
  pointer-events: none;
}
.hh.framing-panel { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.lg.framing-panel, .ds.framing-panel, .sp.framing-panel { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.sp.framing-panel { padding-bottom: 26px; }

/* ---------------- the clock ---------------- */

.clock {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 32px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 44px;
}
.clock-head h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 46px; margin: 10px 0 14px; }
.clock-head p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 560px; margin: 0 auto; }

.clock-face { display: flex; flex-direction: column; align-items: center; gap: 18px; }

.clock-counter {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(56px, 8.6vw, 124px);
  line-height: 1;
  color: var(--star);
  display: flex;
  align-items: flex-start;
  text-shadow: 0 0 60px rgba(227, 201, 136, 0.14);
}
.clock-counter .od-sep { display: inline-block; height: 1em; line-height: 1; }
.clock-counter .od-sep { color: var(--gold); }
.clock-counter .od-sep:not(:first-child) { color: #55637a; }
.od-col {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  position: relative;
}
.od-strip {
  display: inline-block;
  white-space: pre-line;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  line-height: 1;
}

.clock-tick {
  font-size: 17px;
  color: #b9e3d3;
  animation: tickpulse 1s ease-in-out infinite;
}
@keyframes tickpulse { 50% { opacity: 0.6; } }

.clock-controls {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.clock-slider-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}
.clock-slider-cap { font-size: 15px; color: var(--muted); }
.clock-year { font-family: 'Instrument Serif', Georgia, serif; font-size: 34px; color: var(--gold); }
.clock-since { display: none; }

#clock-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  background: transparent;
  cursor: pointer;
}
#clock-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(90, 106, 132, 0.35);
}
#clock-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffffff 0%, #e3c988 45%, rgba(227, 201, 136, 0.2) 100%);
  box-shadow: 0 0 18px rgba(227, 201, 136, 0.8), 0 0 40px rgba(227, 201, 136, 0.3);
  border: none;
}
#clock-slider::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(90, 106, 132, 0.35); }
#clock-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; border: none;
  background: radial-gradient(circle at 40% 35%, #ffffff 0%, #e3c988 45%, rgba(227, 201, 136, 0.2) 100%);
  box-shadow: 0 0 18px rgba(227, 201, 136, 0.8), 0 0 40px rgba(227, 201, 136, 0.3);
}

.clock-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; align-items: center; }
.clock-chip {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.clock-chip:hover { color: var(--star); }
.clock-chip.active { color: var(--star); border-color: rgba(227, 201, 136, 0.5); }
.clock-rates-cap { font-size: 13px; color: var(--dim); margin-right: 4px; }

.clock-fine {
  font-size: 11px;
  line-height: 1.6;
  color: #46536a;
  max-width: 560px;
}


/* F: the spread, opened */
.spf-item { border-bottom: 1px solid rgba(147, 161, 184, 0.07); }
.spf-item:last-child { border-bottom: none; }
.spf-bar { cursor: pointer; }
.spf-bar .sp-name { transition: color 0.25s; }
.spf-bar:hover .sp-name { color: var(--star); }
.spf-end { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.spf-chev { color: var(--dim); display: inline-flex; transition: transform 0.3s; }
.spf-item.open .spf-chev { transform: rotate(180deg); }
.spf-detail { display: none; padding: 4px 60px 22px 220px; }
.spf-item.open .spf-detail { display: block; }
.spf-grid { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; margin-bottom: 12px; }
.spf-stats { display: flex; gap: 28px; }
.spf-stat { display: flex; flex-direction: column; gap: 3px; }
.spf-stat em { font-style: normal; font-size: 11.5px; color: var(--dim); }
.spf-stat strong { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 22px; color: var(--star); }
.spf-spark { width: 100%; height: 44px; display: block; }
.spf-copy { font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 560px; margin-bottom: 10px; }
.spf-meta { display: flex; gap: 22px; font-size: 11.5px; color: var(--dim); }
.spf .sp-row { grid-template-columns: 200px 1fr 90px; }
@media (max-width: 900px) { .spf-detail { padding: 4px 20px 20px 140px; } }


/* book page: two volumes */
.book-section { max-width: 980px; }
.book-objects {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
  margin: 14px 0 6px;
}
@media (max-width: 760px) { .book-objects { grid-template-columns: 1fr; } }
.book-card { gap: 10px; padding: 30px 30px 26px; }
.book-card-kicker { font-size: 13px; font-weight: 600; color: var(--aurora); }
.book-card h3 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 32px; }
.book-card-copy { font-size: 15px; line-height: 1.65; color: var(--muted); }
.book-card-meta { display: flex; gap: 20px; font-size: 12.5px; color: var(--dim); margin-top: 6px; }
.book-card-cta { margin-top: 12px; }
.book-btn-disabled { opacity: 0.6; cursor: default; font-size: 13.5px; padding: 11px 20px; }

/* the brand: Australia to the power of 42, everywhere */
.p42 { font-size: 0.58em; position: relative; top: -0.72em; margin-left: 0.04em; font-style: italic; color: var(--gold); line-height: 0; }

/* sunrise over the limb, Overview only */
#sunrise { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
