@font-face { font-family: "Barlow"; font-weight: 300; font-style: normal; font-display: swap; src: url("/fonts/barlow-300.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }

:root {
  --bg: #07080B;            /* the brand's Night */
  --ink: #F2EFE8;           /* Ivory */
  --muted: #8d8d88;
  --faint: #2a2a28;
  --line: rgba(242, 239, 232, 0.22);
  --accent: #D9B98A;        /* Champagne, the horizon light */
  --error: #e08a7a;
  --gutter: clamp(16px, 5vw, 72px);
  --track: 0.28em;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.skip { position: absolute; left: -9999px; top: 12px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 12px; }

/* The bar: SpaceX's sparse top line */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  background: linear-gradient(to bottom, rgba(7,8,11,0.8), rgba(7,8,11,0));
  border-bottom: 1px solid transparent;
  transition: padding .35s ease, background-color .35s ease, border-color .35s ease;
}
/* Once the page moves, the bar becomes a solid band of Night, so the logo never sits on the content */
.bar.scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(7, 8, 11, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--faint);
}
.wordmark { display: block; line-height: 0; }
.wordmark img { display: block; height: 52px; width: auto; transition: height .35s ease; }
.bar.scrolled .wordmark img { height: 38px; }
.bar-link {
  font-weight: 500; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; text-decoration: none;
  padding: 10px 18px; border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s;
}
.bar-link:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* The hero: one line on a full screen, a planet's rim below it */
.hero {
  position: relative; min-height: max(100svh, 560px); display: flex; align-items: flex-end;
  padding: 0 var(--gutter) clamp(96px, 16vh, 180px); overflow: hidden; isolation: isolate;
}
.horizon {
  /* A wide, flat arc: 360vw across, its top at 18% of the screen height, so its ends (about 7vw lower)
     stay above the headline at every common screen size */
  position: absolute; z-index: -1; left: 50%; top: clamp(70px, 18svh, 240px); width: max(360vw, 1400px); aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, #040507 98.6%, rgba(217,185,138,0.55) 99.55%, rgba(242,239,232,0.9) 99.8%, rgba(217,185,138,0.12) 99.93%, transparent 100%);
  box-shadow: 0 -40px 160px -40px rgba(217,185,138,0.28);
  animation: rise 2.8s cubic-bezier(.2,.7,.1,1) both;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 78% 14%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 63% 38%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 31% 9%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 88% 44%, rgba(255,255,255,.25), transparent 60%),
    radial-gradient(1px 1px at 45% 27%, rgba(255,255,255,.2), transparent 60%),
    radial-gradient(1px 1px at 6% 48%, rgba(255,255,255,.25), transparent 60%);
}
.hero-copy { max-width: 1100px; }
.eyebrow {
  margin: 0 0 22px; font-weight: 500; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted);
}
h1 {
  margin: 0; font-weight: 300; text-transform: uppercase;
  font-size: clamp(30px, 8.2vw, 124px); line-height: 0.98; letter-spacing: 0.02em; overflow-wrap: break-word;
}
.status {
  display: inline-flex; align-items: center; gap: 12px; margin: 34px 0 0;
  font-weight: 500; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.6s ease-in-out infinite; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(96px, 16vh, 180px); width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: var(--ink); animation: fall 2.2s ease-in-out infinite; }

/* Enquiries: Macquarie's restraint, a hairline grid on black */
.enquire {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px);
  padding: clamp(96px, 14vw, 180px) var(--gutter); border-top: 1px solid var(--faint);
}
h2 { margin: 0; font-weight: 300; text-transform: uppercase; font-size: clamp(32px, 4.6vw, 64px); line-height: 1; letter-spacing: 0.02em; }
.lede { margin: 28px 0 0; max-width: 34ch; color: var(--muted); font-size: 18px; }

.form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 34px; align-content: start; }
.wide { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  font: inherit; font-size: 18px; padding: 22px 0 10px; outline: none; transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; }
.field.select::after { content: ""; position: absolute; right: 2px; bottom: 18px; width: 7px; height: 7px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field select option { background: #111; color: var(--ink); }
.field label {
  position: absolute; left: 0; top: 22px; color: var(--muted); pointer-events: none;
  font-weight: 500; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; transition: top .2s, font-size .2s, color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: 0; font-size: 10px; color: var(--ink); }
.field.invalid input, .field.invalid select { border-bottom-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }

.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button {
  font: inherit; font-weight: 500; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; cursor: pointer;
  color: var(--ink); background: transparent; border: 1px solid var(--ink); padding: 18px 44px; transition: background .25s, color .25s;
}
.button:hover { background: var(--ink); color: var(--bg); }
.button[disabled] { opacity: .45; cursor: wait; }
.note { margin: 0; max-width: 42ch; font-size: 13px; color: var(--muted); }
.note a { color: var(--ink); text-underline-offset: 3px; }
.form-status { margin: 0; min-height: 1.5em; font-size: 15px; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--error); }

.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 36px var(--gutter); border-top: 1px solid var(--faint); color: var(--muted); font-size: 13px; letter-spacing: 0.04em;
}
.foot p { margin: 0; }
.foot nav { display: flex; gap: 28px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* The privacy page */
.doc { max-width: 760px; padding: 150px var(--gutter) 110px; }
.doc h1 { font-size: clamp(36px, 6vw, 72px); }
.doc h2 { font-size: 15px; font-weight: 500; letter-spacing: var(--track); margin: 44px 0 12px; }
.doc p, .doc li { color: #c9c9c4; }
.doc a { text-underline-offset: 3px; }
.doc .updated { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 26px; }

/* Motion, quietly */
.reveal { opacity: 0; transform: translateY(18px); animation: in 1.4s cubic-bezier(.2,.7,.1,1) forwards; }
.hero-copy .reveal:nth-child(2) { animation-delay: .25s; }
@keyframes in { to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translate(-50%, 6vh); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes fall { 0% { top: -30%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 820px) {
  .enquire { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .bar { padding-top: 20px; padding-bottom: 20px; }
  .bar-link { padding: 9px 14px; }
  h1 { font-size: clamp(30px, 9.4vw, 60px); }
  .wordmark img { height: 40px; }
  .bar.scrolled .wordmark img { height: 32px; }
  .bar.scrolled { padding-top: 12px; padding-bottom: 12px; }
}
