/* eastaustralis.com - VFAB Online Hub.
   Design law: wrap-rl-eastaustralis (white-based, minimalist, compact, fuss-free).
   Base is black-and-white: white ground, near-black ink, grey for secondary.
   Colour appears ONLY where it carries meaning, and that colour is the single
   eastaustralis brand accent: a deep maroon (with a darker shade for emphasis
   and a faint tint for focus). No gradients, no stacked shadows, system fonts,
   no external fetch. */

:root {
  --ground: #ffffff;
  --ink: #18181b;
  --muted: #6b7280;
  --line: #e6e6e9;

  /* eastaustralis brand accent (deep maroon) - used only for interactive and
     brand elements; everything else stays black-and-white. */
  --accent: #800000;          /* links, active, focus */
  --accent-strong: #5e0000;   /* hover / emphasis */
  --accent-solid: #800000;    /* maroon as a solid fill (brand mark, primary button) */
  --accent-tint: #f3e3e3;     /* faint maroon - focus ring */
  --on-accent: #ffffff;       /* text on the maroon fill */

  --measure: 40rem;
  --space: 1rem;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ground);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* masthead */
.masthead {
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 4px;
  background: var(--accent-solid);   /* the brand tile is a deliberate use of colour */
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.brand-word { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; }
.brand-word em { color: var(--muted); font-style: normal; font-weight: 500; }

/* main */
.wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 9vw, 5rem) clamp(1rem, 4vw, 2rem);
}
.hero { width: 100%; max-width: var(--measure); }
.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.lede { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 34rem; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }

/* footer */
.foot {
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.foot .sep { opacity: 0.5; }

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0f0f11;
    --ink: #f4f4f5;
    --muted: #9b9ba3;
    --line: #26262b;
    --accent: #e69a9a;        /* lightened maroon so links stay legible on dark */
    --accent-strong: #f2b3b3;
    --accent-solid: #800000;  /* brand tile + buttons stay true maroon */
    --accent-tint: #2a1414;
    --on-accent: #ffffff;
  }
}
