/* ============================================================
   ERA Australia — site.css
   One design system for the whole site: homepage, inner pages,
   and the Lambda-rendered blog. Dark editorial: deep navy
   surfaces, oversized sentence-case display type, green accent
   of record, cinematic media, journey-line motif.

   Layers (in order):
   1. Tokens   2. Base/reset   3. Utilities (wrap/eyebrow/btn)
   4. Chrome (nav/footer)      5. Shared components
   6. Page sections            7. Blog
   8. Motion                   9. Responsive + reduced motion
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* surfaces (derived from brand ink #0f1b2d + teal #1b3a5d) */
  --bg-page:   #0b1622;
  --bg-1:      #0f1b2d;
  --bg-2:      #102740;
  --bg-3:      #1b3a5d;
  --bg-foot:   #0a111d;

  /* brand */
  --green:      #5BAA34;   /* accent of record on dark */
  --green-dark: #4c9128;   /* light-band accent only   */
  --blue:       #1f4dad;   /* fill-only on dark        */
  --blue-dark:  #163a85;
  --sky:        #6f96e8;   /* interactive text on dark */

  /* text */
  --text-hi:  #f2f6fb;
  --text-mid: rgba(226, 236, 248, .74);
  --text-low: rgba(226, 236, 248, .55);

  /* lines + elevation */
  --line:        rgba(255, 255, 255, .08);
  --line-bright: rgba(255, 255, 255, .16);
  --catchlight:  inset 0 1px 0 rgba(255, 255, 255, .06);
  --shadow-cine: 0 24px 80px rgba(0, 0, 0, .55);

  /* type */
  --font: 'InterVariable', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-hero:  clamp(52px, 8vw, 112px);
  --fs-d2:    clamp(34px, 4.6vw, 60px);
  --fs-h3:    clamp(22px, 2.6vw, 32px);
  --fs-stat:  clamp(48px, 6vw, 88px);
  --fs-body:  16.5px;
  --fs-lede:  clamp(18px, 1.6vw, 20px);

  /* shape */
  --r-card:  16px;
  --r-media: 22px;
  --r-pill:  999px;

  /* rhythm */
  --sec-pad: clamp(72px, 9vw, 128px);
  --wrap:    1280px;
  --gutter:  clamp(22px, 4vw, 36px);
  --nav-h:   84px;
}

/* light "paper break" band — semantic tokens remapped.
   color is set explicitly: descendants INHERIT the computed body color
   otherwise, so without this line light-band text renders in the dark
   theme's pale gray (unreadable on white — found by Tibor 2026-07-07). */
.theme-light {
  color: var(--text-mid);
  --bg-page:  #f4f7fb;
  --bg-1:     #ffffff;
  --bg-2:     #ffffff;
  --bg-3:     #e8f0fb;
  --green:    #3c7420; /* darkened for AA text on the light band (was #4c9128, 3.6:1) */
  --sky:      #1f4dad;
  --text-hi:  #0f1b2d;
  --text-mid: #2c3a4f;
  --text-low: #5b6878;
  --line:        rgba(15, 27, 45, .10);
  --line-bright: rgba(15, 27, 45, .22);
  --catchlight:  inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-mid);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--text-hi); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; }
img, video, svg { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: #0f1b2d; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.theme-light :focus-visible { outline-color: var(--green-dark); }

.au-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green); color: #0f1b2d; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 10px 0;
}
.au-skip:focus { left: 0; }

/* ---------- 3. UTILITIES ---------- */
.au-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.au-sec { padding: var(--sec-pad) 0; background: var(--bg-page); position: relative; }
.au-sec--band { background: var(--bg-1); }
.au-sec--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* atmosphere glow — paint-only, never animated */
.au-sec--glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 12% 8%, rgba(91, 170, 52, .07), transparent 70%),
    radial-gradient(720px 480px at 88% 92%, rgba(31, 77, 173, .10), transparent 70%);
}
.au-sec > .au-wrap { position: relative; }

.au-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green); margin: 0 0 18px;
}
.au-eyebrow::before {
  content: ""; width: 22px; height: 2px; flex: none;
  background: var(--green); border-radius: 2px;
}

.au-title {
  font-size: var(--fs-d2); font-weight: 850; letter-spacing: -.02em;
  line-height: 1.02; margin: 0 0 20px; text-wrap: balance;
}
.au-title em { font-style: normal; color: var(--green); }
.au-lede { font-size: var(--fs-lede); line-height: 1.6; max-width: 62ch; margin: 0 0 28px; }

/* buttons — pills, sentence case (deliberately unlike the US uppercase squares) */
.au-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-size: 15.5px; font-weight: 650; line-height: 1; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.au-btn:hover { text-decoration: none; transform: translateY(-2px); }
.au-btn svg { flex: none; }
.au-btn--primary { background: var(--green); color: #0f1b2d; }
.au-btn--primary:hover { background: #66bb3e; color: #0f1b2d; }
.au-btn--secondary { background: var(--blue); color: #fff; }
.au-btn--secondary:hover { background: #2a5cc4; color: #fff; }
.au-btn--ghost { background: transparent; color: var(--text-hi); border-color: rgba(255, 255, 255, .4); }
.au-btn--ghost:hover { border-color: rgba(255, 255, 255, .55); color: var(--text-hi); }
.theme-light .au-btn--ghost { color: var(--text-hi); border-color: rgba(15, 27, 45, .3); }
.au-btn--lg { padding: 16px 32px; font-size: 16.5px; }

.au-learn {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 650; font-size: 15px; color: var(--sky);
}
.au-learn span { transition: transform .18s ease; }
.au-learn:hover span { transform: translateX(4px); }

/* journey line — the signature. Dashed green route, drawn on reveal. */
.au-route { overflow: visible; }
.au-route path {
  fill: none; stroke: var(--green); stroke-width: 2;
  stroke-linecap: round; stroke-dasharray: 6 8; opacity: .55;
}
html.js .au-route[data-reveal] path {
  stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s cubic-bezier(.22, 1, .36, 1) .2s;
}
html.js .au-route[data-reveal].is-in path { stroke-dashoffset: 0; }

/* ---------- 4. CHROME — glass nav ---------- */
.au-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
}
.au-nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: center; gap: 28px;
  transition: padding .3s ease;
}
.au-nav.is-scrolled, .au-nav--solid {
  background: rgba(11, 22, 34, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
@supports not (backdrop-filter: blur(1px)) {
  .au-nav.is-scrolled, .au-nav--solid { background: rgba(11, 22, 34, .96); }
}
.au-nav.is-scrolled .au-nav__inner { padding-top: 10px; padding-bottom: 10px; }

.au-brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.au-brand:hover { text-decoration: none; }
.au-brand__mark {
  width: 46px; height: 46px; padding: 5px; flex: none;
  background: #fff; border-radius: 11px;
}
.au-brand__wordmark {
  display: flex; flex-direction: column; gap: 1px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-hi); line-height: 1.25;
}

.au-nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.au-nav__links a {
  color: var(--text-mid); font-size: 15px; font-weight: 550;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.au-nav__links a:hover { color: var(--text-hi); text-decoration: none; }
.au-nav__links a.is-active { color: var(--text-hi); border-bottom-color: var(--green); }

.au-nav__cta { display: flex; align-items: center; gap: 10px; }
.au-nav__cta .au-btn { padding: 10px 20px; font-size: 14.5px; }

.au-nav__burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-bright);
  color: var(--text-hi); cursor: pointer; align-items: center; justify-content: center;
}
.au-nav__burger svg { pointer-events: none; }
.au-nav__burger .i-close { display: none; }
.au-nav.is-open .au-nav__burger .i-open { display: none; }
.au-nav.is-open .au-nav__burger .i-close { display: block; }

/* mobile full-screen menu */
.au-nav__panel { display: contents; }

/* ---------- 4b. CHROME — footer ---------- */
.au-foot { background: var(--bg-foot); border-top: 1px solid var(--line); padding: 72px 0 0; }
.au-foot__grid {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 56px;
  display: grid; grid-template-columns: 2fr repeat(6, 1fr); gap: 36px 28px;
}
.au-foot__brand p { color: var(--text-low); margin-top: 16px; font-size: 15px; line-height: 1.5; }
.au-foot h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green); margin: 4px 0 14px;
}
.au-foot li { margin: 0 0 9px; font-size: 14.5px; color: var(--text-mid); overflow-wrap: break-word; }
.au-foot li a { color: var(--text-mid); }
.au-foot li a:hover { color: var(--text-hi); }
.au-foot__bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.au-foot__bottom p {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  color: var(--text-low); font-size: 13.5px;
}
.au-foot__bottom a { color: var(--text-low); }
.au-foot__bottom a:hover { color: var(--text-hi); }

/* ---------- 5. SHARED COMPONENTS ---------- */

/* cards */
.au-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--catchlight);
  transition: border-color .2s ease, transform .2s ease;
}
.au-card:hover { border-color: var(--line-bright); transform: translateY(-2px); }

/* chips / pills */
.au-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-3); border: 1px solid var(--line);
  color: var(--text-hi); border-radius: var(--r-pill);
  font-size: 13px; font-weight: 650; letter-spacing: .04em;
  padding: 7px 15px;
}
.au-chip--green { background: rgba(91, 170, 52, .14); border-color: rgba(91, 170, 52, .35); color: #9fd77e; }
.theme-light .au-chip--green { background: #ecf7e3; border-color: #d6ecc4; color: #3c7420; }

/* jump bar (services / get-involved) */
.au-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.au-jump a { text-decoration: none; }
.au-jump a:hover .au-chip, .au-jump a:focus-visible .au-chip { border-color: var(--green); color: var(--text-hi); }

/* stats — count-up numerals */
.au-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 12px 0;
}
.au-stat strong {
  display: block; font-size: var(--fs-stat); font-weight: 850;
  letter-spacing: -.03em; line-height: 1; color: var(--green);
  font-variant-numeric: tabular-nums; margin-bottom: 10px;
}
.au-stat span { display: block; color: var(--text-mid); font-size: 15.5px; line-height: 1.45; max-width: 24ch; }
.au-stats--row { grid-template-columns: repeat(4, auto); justify-content: space-between; }
.au-stats--row .au-stat strong { font-size: clamp(38px, 4.4vw, 64px); }

/* split — media + copy */
.au-split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.au-split--flip > .au-split__media { order: -1; }
.au-split__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-media);
  border: 1px solid var(--line); box-shadow: var(--shadow-cine);
}
.au-split__copy > :last-child { margin-bottom: 0; }
/* grid items must be allowed to shrink below content min-width, or a wide
   child (e.g. a 4-up stats row) blows the copy column out and crushes the photo */
.au-split__copy, .au-split__media { min-width: 0; }
.au-split .au-stats { grid-template-columns: repeat(2, 1fr); }
.au-split .au-stat strong { font-size: clamp(40px, 3.6vw, 60px); }
/* tall variant — media column stretches to match long copy columns */
.au-split--tall { align-items: stretch; }
.au-split--tall .au-split__media { align-self: stretch; }
.au-split--tall .au-split__media img {
  height: 100%; aspect-ratio: auto; min-height: 420px;
}
/* two-photo stacked media column — fixed crops so the pair lands close to
   the copy height instead of stretching past it */
.au-split--tall .au-split__media--stack { display: grid; gap: 16px; }
.au-split--tall .au-split__media--stack img { height: auto; min-height: 0; }
.au-split--tall .au-split__media--stack img:first-child { aspect-ratio: 1 / 1; object-position: 50% 18%; }
.au-split--tall .au-split__media--stack img:last-child { aspect-ratio: 16 / 10; }

/* checklist */
.au-checks li {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 0 0 13px; color: var(--text-mid); font-size: 16px;
}
.au-checks .tick {
  flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(91, 170, 52, .16); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.theme-light .au-checks .tick { background: #ecf7e3; color: var(--green-dark); }

/* cinematic click-to-play (Madagascar, shredder) */
.au-cine {
  position: relative; border-radius: var(--r-media); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-cine);
  background: #000; aspect-ratio: 16 / 9;
}
.au-cine video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.au-cine__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: opacity .5s ease;
}
.au-cine__scrim {
  position: absolute; inset: 0; transition: opacity .5s ease;
  background: linear-gradient(to top, rgba(11, 22, 34, .78) 0%, rgba(11, 22, 34, .18) 45%, rgba(11, 22, 34, .12) 100%);
}
.au-cine__meta {
  position: absolute; left: clamp(20px, 4vw, 48px); bottom: clamp(18px, 3.5vw, 42px);
  right: clamp(20px, 4vw, 48px); transition: opacity .5s ease; pointer-events: none;
}
.au-cine__meta .au-eyebrow { margin-bottom: 10px; }
.au-cine__meta h3 { font-size: clamp(24px, 3.2vw, 44px); font-weight: 850; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.au-cine__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(72px, 9vw, 104px); height: clamp(72px, 9vw, 104px);
  border-radius: 50%; border: 2px solid rgba(91, 170, 52, .9);
  background: rgba(11, 22, 34, .55); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease, opacity .4s ease;
}
.au-cine__play:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(11, 22, 34, .75); }
.au-cine__play svg { margin-left: 6%; }
html.js .au-cine__play { animation: au-pulse 2.8s ease-in-out infinite; }
@keyframes au-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 170, 52, .35); }
  50%      { box-shadow: 0 0 0 18px rgba(91, 170, 52, 0); }
}
.au-cine.is-playing .au-cine__poster,
.au-cine.is-playing .au-cine__scrim,
.au-cine.is-playing .au-cine__meta,
.au-cine.is-playing .au-cine__play { opacity: 0; pointer-events: none; }
.au-cine.is-playing .au-cine__play { animation: none; }

.au-cine + .au-lede { margin-top: 34px; }

/* action dock — pre-footer CTA panel (replaced the flat green strip whose
   outline pills washed out, per Tibor 2026-07-07). Heading carries the moment;
   buttons keep the site-wide hierarchy so the brand colours pop on dark. */
.au-actions {
  background: var(--bg-2); position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.au-actions::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 320px at 8% 20%, rgba(91, 170, 52, .12), transparent 70%),
    radial-gradient(620px 400px at 95% 85%, rgba(31, 77, 173, .14), transparent 70%);
}
.au-actions__inner {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.au-actions__copy .au-eyebrow { margin-bottom: 12px; }
.au-actions__copy h2 {
  font-size: clamp(26px, 3.2vw, 40px); font-weight: 850; letter-spacing: -.02em;
  margin: 0 0 8px; text-wrap: balance;
}
.au-actions__copy p:last-child { margin: 0; color: var(--text-mid); max-width: 44ch; }
.au-actions__btns {
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.au-actions__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) {
  .au-actions__inner { grid-template-columns: 1fr; }
  .au-actions__btns { align-items: flex-start; }
  .au-actions__row { justify-content: flex-start; }
}

/* timeline (about) */
.au-timeline { position: relative; margin-top: 44px; padding-left: 32px; }
.au-timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--green), rgba(91, 170, 52, .12));
}
.au-timeline > li { position: relative; padding: 0 0 40px 26px; }
.au-timeline > li::before {
  content: ""; position: absolute; left: -32px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-page); border: 3px solid var(--green);
}
.au-timeline .yr {
  display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 850;
  letter-spacing: -.02em; color: var(--text-hi); line-height: 1; margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.au-timeline .yr em { font-style: normal; color: var(--green); font-size: .45em; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; margin-left: 10px; }
.au-timeline p { max-width: 68ch; margin: 0; }

/* region cards (network) */
.au-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.au-region { padding: 26px 24px; }
.au-region h3 { font-size: 18px; font-weight: 750; margin-bottom: 16px; }
.au-region h3 em { font-style: normal; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-left: 8px; }
.au-region li {
  display: inline-block; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 6px 13px; margin: 0 6px 8px 0;
  font-size: 13.5px; color: var(--text-mid);
}
.au-region li em { font-style: normal; color: var(--green); font-weight: 650; }

/* recipient wall */
.au-wall { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.au-wall li {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 16px; font-size: 14px; color: var(--text-mid);
}

/* testimonials */
.au-testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.au-testi { padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.au-testi blockquote { margin: 0; color: var(--text-mid); font-size: 15.5px; line-height: 1.6; border-left: 3px solid var(--green); padding-left: 16px; }
.au-testi cite { font-style: normal; color: var(--text-low); font-size: 13.5px; }

/* story / program cards */
.au-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.au-cards--2 { grid-template-columns: repeat(2, 1fr); }
.au-storycard { overflow: hidden; display: flex; flex-direction: column; }
.au-storycard__photo { aspect-ratio: 16 / 10; overflow: hidden; }
.au-storycard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.au-storycard:hover .au-storycard__photo img { transform: scale(1.04); }
.au-storycard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.au-storycard__body h3 { font-size: 19px; font-weight: 750; margin: 4px 0 0; }
.au-storycard__body p { margin: 0; font-size: 15px; flex: 1; }
.au-storycard__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* service pillars (homepage 4-col cards — hairline dividers read as "blank
   darkness" per Tibor 2026-07-07, so pillars are raised cards now) */
.au-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.au-pillar {
  padding: 30px 26px 24px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--catchlight);
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.au-pillar:hover { border-color: var(--line-bright); transform: translateY(-2px); }
.au-pillar__icon {
  width: 60px; height: 60px; border-radius: 18px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91, 170, 52, .16); color: var(--green);
  border: 1px solid rgba(91, 170, 52, .35);
}
.au-pillar__icon--blue { background: rgba(111, 150, 232, .14); color: var(--sky); border-color: rgba(111, 150, 232, .32); }
.au-pillar h3 { font-size: 17.5px; font-weight: 750; }
.au-pillar p { font-size: 15px; flex: 1; }
.au-pillar .au-learn { margin-top: 14px; font-size: 14px; }

/* trust strip */
.au-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-1); }
.au-trust__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 30px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.au-trust__lead { margin: 0; color: var(--text-low); font-size: 14.5px; max-width: 30ch; }
.au-trust ul { display: flex; gap: clamp(20px, 3.5vw, 48px); flex-wrap: wrap; }
.au-trust li { display: flex; align-items: center; gap: 12px; color: var(--text-mid); font-size: 14px; font-weight: 600; line-height: 1.3; }
.au-trust__icon { color: var(--green); display: inline-flex; }

/* business band — the one brand-blue surface (trimmed 2026-07-07: less blue
   expanse, bigger media + certs, per Tibor) */
.au-biz { background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 58%, #2a5cc4 100%); position: relative; overflow: hidden; --sec-pad: clamp(56px, 7vw, 96px); }
.au-biz .au-split { grid-template-columns: 1fr 1.1fr; }
.au-biz .au-lede { max-width: 48ch; }
.au-biz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 400px at 85% 20%, rgba(91, 170, 52, .25), transparent 70%);
}
.au-biz .au-eyebrow { color: #b9f09a; }
.au-biz .au-eyebrow::before { background: #b9f09a; }
.au-biz h2, .au-biz .au-title { color: #fff; }
.au-biz p { color: rgba(255, 255, 255, .85); }
.au-certs { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 32px; max-width: 500px; }
/* badges are solid opaque discs (gpt-image-2 set, 2026-07-08) — no plate needed */
.au-certs li { width: 132px; }
.au-certs img { width: 100%; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }

/* page hero (inner pages) */
.au-pagehero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 6vw, 88px); background: var(--bg-1); position: relative; }
.au-pagehero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 480px at 82% 0%, rgba(31, 77, 173, .16), transparent 70%),
              radial-gradient(520px 380px at 8% 100%, rgba(91, 170, 52, .06), transparent 70%);
}
.au-pagehero .au-wrap { position: relative; }
.au-pagehero h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 850; letter-spacing: -.03em; line-height: .98; margin: 0 0 22px; text-wrap: balance; }
.au-pagehero h1 em { font-style: normal; color: var(--green); }
.au-pagehero .au-lede { margin-bottom: 0; }

/* photo page-hero variant — the photo carries the frame; legibility comes
   from a bottom-up ramp + text-shadow, never a full-height wall of shade */
.au-pagehero--photo { min-height: clamp(440px, 60vh, 680px); display: flex; align-items: flex-end; }
.au-pagehero--photo::before { content: none; }
.au-pagehero--photo .au-ph__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.au-pagehero--photo .au-ph__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top,
      var(--bg-page) 0%,
      rgba(11, 22, 34, .80) 12%,
      rgba(11, 22, 34, .46) 32%,
      rgba(11, 22, 34, .16) 52%,
      rgba(11, 22, 34, 0) 70%),
    linear-gradient(100deg, rgba(11, 22, 34, .32) 0%, rgba(11, 22, 34, 0) 46%),
    linear-gradient(to bottom, rgba(11, 22, 34, .38) 0%, rgba(11, 22, 34, 0) 16%);
}
.au-pagehero--photo h1,
.au-pagehero--photo .au-lede,
.au-pagehero--photo .au-eyebrow {
  text-shadow: 0 2px 24px rgba(11, 22, 34, .55), 0 1px 2px rgba(11, 22, 34, .55);
}
.au-pagehero--photo .au-wrap { padding-bottom: 8px; }

/* legal prose */
.au-legal { max-width: 70ch; }
.au-legal h2 { font-size: 22px; font-weight: 750; margin: 40px 0 12px; }
.au-legal p, .au-legal li { font-size: 16px; color: var(--text-mid); }
.au-legal ul { list-style: disc; padding-left: 22px; }
.au-legal li { margin-bottom: 8px; }
.au-notice {
  border: 1px solid rgba(91, 170, 52, .4); background: rgba(91, 170, 52, .08);
  border-radius: 12px; padding: 14px 18px; font-size: 14.5px; color: var(--text-mid);
  margin-bottom: 36px;
}

/* press list (news) */
.au-press { margin-top: 12px; }
.au-press__year {
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 850; letter-spacing: -.02em;
  color: var(--green); margin: 44px 0 10px; font-variant-numeric: tabular-nums;
}
.au-press__item { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline; }
.au-press__item h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.au-press__item p { margin: 0; font-size: 15px; }
.au-press__src { color: var(--text-low); font-size: 13.5px; white-space: nowrap; }

/* accept grid (services) */
.au-accept { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.au-accept li {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; font-size: 15px; color: var(--text-mid); font-weight: 600;
  display: flex; align-items: center; gap: 12px;
}
.au-accept .tick { color: var(--green); font-weight: 800; }

/* doc list (services — documentation you receive) */
.au-docs { border: 1px solid rgba(91, 170, 52, .35); background: rgba(91, 170, 52, .07); border-radius: var(--r-card); padding: 24px 26px; }
.au-docs h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }
.au-docs li { display: flex; gap: 10px; margin-bottom: 9px; font-size: 15px; color: var(--text-mid); }

/* map panel (#australia) */
.au-map { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-media); box-shadow: var(--catchlight); padding: clamp(24px, 4vw, 48px); }
.au-map img, .au-map svg { width: 100%; height: auto; }

/* full-width photo band — a cinematic breather between dark sections.
   Not a .au-sec: no section padding; direct child of <main>. */
.au-photoband {
  position: relative; overflow: hidden;
  min-height: clamp(300px, 44vh, 520px);
  display: flex; align-items: flex-end;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.au-photoband img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.au-photoband::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(11, 22, 34, .55) 0%, rgba(11, 22, 34, .08) 34%, rgba(11, 22, 34, 0) 55%),
    linear-gradient(to bottom, rgba(11, 22, 34, .25) 0%, rgba(11, 22, 34, 0) 14%);
}
.au-photoband__caption {
  position: relative; z-index: 1; width: 100%; margin: 0 auto;
  max-width: var(--wrap); padding: 0 var(--gutter) clamp(20px, 3vw, 32px);
}
.au-photoband__caption span {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(11, 22, 34, .55); border: 1px solid var(--line-bright);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: var(--r-pill); padding: 8px 16px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--text-hi);
}
.au-photoband__caption span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex: none;
}

/* ---------- 6. PAGE SECTIONS ---------- */

/* homepage hero */
.au-hero {
  /* capped: a raw 100svh hero balloons on very tall screens */
  position: relative; min-height: clamp(620px, 100svh, 920px);
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--bg-page);
}
.au-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.au-hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg-page) 0%, rgba(11, 22, 34, .55) 34%, rgba(11, 22, 34, .25) 60%, rgba(11, 22, 34, .35) 100%),
    linear-gradient(100deg, rgba(11, 22, 34, .55) 0%, transparent 55%);
}
.au-hero__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--wrap); margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(64px, 9vh, 110px);
}
.au-hero__title {
  font-size: var(--fs-hero); font-weight: 860; letter-spacing: -.035em;
  line-height: .96; margin: 0 0 26px; max-width: 11ch; text-wrap: balance;
}
.au-hero__title em { font-style: normal; color: var(--green); }
.au-hero__lede { font-size: var(--fs-lede); max-width: 56ch; margin-bottom: 34px; color: rgba(226, 236, 248, .82); }
.au-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.au-hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%);
  color: var(--text-low);
}
html.js .au-hero__scroll { animation: au-drift 2.6s ease-in-out infinite; }
@keyframes au-drift {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* staged hero entrance */
html.js .au-hero [data-stage] { opacity: 0; transform: translateY(22px); }
html.js .au-hero.is-in [data-stage] {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
html.js .au-hero.is-in [data-stage="2"] { transition-delay: .12s; }
html.js .au-hero.is-in [data-stage="3"] { transition-delay: .24s; }
html.js .au-hero.is-in [data-stage="4"] { transition-delay: .36s; }

/* ---------- 7. BLOG ---------- */
.blog-hd { padding: calc(var(--nav-h) + clamp(48px, 7vw, 88px)) 0 clamp(28px, 4vw, 48px); background: var(--bg-1); }
.blog-hd h1 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 850; letter-spacing: -.03em; margin: 0 0 14px; }
.blog-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.blog-chips a { text-decoration: none; }
.blog-chips .au-chip small { color: var(--text-low); font-size: 12px; margin-left: 2px; }
.blog-chips a.is-active .au-chip { background: rgba(91, 170, 52, .16); border-color: var(--green); color: #b9f09a; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: clamp(40px, 5vw, 64px) 0 var(--sec-pad); }
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card__photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.blog-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card__photo img { transform: scale(1.04); }
.blog-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__meta { color: var(--text-low); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; }
.blog-card__meta .cat { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.blog-card h2, .blog-card h3 { font-size: 19px; font-weight: 750; margin: 0; line-height: 1.3; }
.blog-card h2 a, .blog-card h3 a { color: var(--text-hi); }
.blog-card p { margin: 0; font-size: 14.5px; flex: 1; }

/* featured-first card */
.blog-card--featured { grid-column: span 2; }
.blog-card--featured .blog-card__photo { aspect-ratio: 21 / 10; }
.blog-card--featured h2 { font-size: clamp(22px, 2.4vw, 30px); }

/* article */
.post { padding: calc(var(--nav-h) + clamp(44px, 6vw, 80px)) 0 var(--sec-pad); }
.post__wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.post__wrap--wide { max-width: 880px; }
.post h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 850; letter-spacing: -.025em; line-height: 1.06; margin: 14px 0 18px; text-wrap: balance; }
.post__meta { color: var(--text-low); font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.post__meta .cat { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.post__hero { margin: 30px 0; }
.post__hero img { width: 100%; border-radius: var(--r-media); border: 1px solid var(--line); box-shadow: var(--shadow-cine); }
.post__hero--portrait { max-width: 460px; }
@media (min-width: 900px) {
  .post__hero--portrait { float: right; margin: 6px 0 22px 34px; }
}
.post__body { font-size: 17.5px; line-height: 1.75; color: var(--text-mid); }
.post__body h2 { font-size: 25px; font-weight: 800; letter-spacing: -.01em; margin: 40px 0 14px; }
.post__body h3 { font-size: 20px; font-weight: 750; margin: 32px 0 10px; }
.post__body a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.post__body img { border-radius: 12px; box-shadow: var(--shadow-cine); margin: 24px 0; }
.post__body figure { margin: 24px 0; }
.post__body blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--green);
  color: var(--text-hi); font-size: 19px; line-height: 1.6;
}
.post__body ul, .post__body ol { padding-left: 24px; margin: 0 0 18px; }
.post__body ul { list-style: disc; }
.post__body li { margin-bottom: 8px; }
.post__body code { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-size: .88em; }
.post__body pre { background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; overflow-x: auto; }
.post__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14.5px; margin-bottom: 8px; }

/* ---------- 8. MOTION ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal-group] > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
[data-reveal-group] > :nth-child(1) { --i: 0; }
[data-reveal-group] > :nth-child(2) { --i: 1; }
[data-reveal-group] > :nth-child(3) { --i: 2; }
[data-reveal-group] > :nth-child(4) { --i: 3; }
[data-reveal-group] > :nth-child(5) { --i: 4; }
[data-reveal-group] > :nth-child(6) { --i: 5; }
[data-reveal-group] > :nth-child(7) { --i: 6; }
[data-reveal-group] > :nth-child(8) { --i: 7; }

/* anchor offset under fixed nav */
[id] { scroll-margin-top: 96px; }

/* ---------- 9. RESPONSIVE ---------- */
@media (max-width: 1280px) {
  .au-nav__links { gap: 18px; }
  .au-nav__links a { font-size: 14px; }
}
@media (max-width: 1120px) {
  .au-nav__cta .au-btn--secondary { display: none; }
  .au-foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .au-pillars { grid-template-columns: repeat(2, 1fr); }
  .au-regions { grid-template-columns: repeat(2, 1fr); }
  .au-testis { grid-template-columns: repeat(2, 1fr); }
  .au-accept { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card--featured { grid-column: span 2; }
}
@media (max-width: 860px) {
  :root { --nav-h: 72px; }
  .au-nav__links, .au-nav__cta { display: none; }
  .au-nav__burger { display: inline-flex; }

  /* full-screen menu */
  .au-nav.is-open { background: var(--bg-page); }
  .au-nav.is-open .au-nav__panel {
    display: flex; flex-direction: column; gap: 8px;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--bg-page); padding: 28px var(--gutter) 40px;
    overflow-y: auto;
  }
  .au-nav.is-open .au-nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0;
  }
  .au-nav.is-open .au-nav__links a {
    font-size: var(--fs-h3); font-weight: 750; color: var(--text-hi); padding: 10px 0;
    border-bottom: 0;
  }
  .au-nav.is-open .au-nav__links a.is-active { color: var(--green); }
  .au-nav.is-open .au-nav__cta {
    display: flex; flex-direction: column; align-items: stretch; margin-top: 22px; gap: 12px;
  }
  .au-nav.is-open .au-nav__cta .au-btn { display: inline-flex; justify-content: center; padding: 15px 24px; font-size: 16px; }

  .au-split, .au-split--flip { grid-template-columns: 1fr; }
  .au-split--flip > .au-split__media { order: 0; }
  .au-split--tall { align-items: start; }
  .au-split--tall .au-split__media img { height: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .au-split--tall .au-split__media--stack img:first-child { aspect-ratio: 16 / 10; }
  .au-split--tall .au-split__media--stack img:nth-child(2) { display: none; }
  .au-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .au-stats--row { grid-template-columns: repeat(2, 1fr); }
  .au-cards, .au-testis { grid-template-columns: 1fr; }
  .au-regions { grid-template-columns: 1fr; }
  .au-accept { grid-template-columns: repeat(2, 1fr); }
  .au-foot__grid { grid-template-columns: 1fr 1fr; }
  .au-trust__inner { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--featured { grid-column: auto; }
  .au-press__item { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .au-pillars { grid-template-columns: 1fr; }
  .au-actions__btns .au-btn { width: 100%; justify-content: center; }
  .au-accept { grid-template-columns: 1fr; }
  .au-foot__grid { grid-template-columns: 1fr; }
  .au-hero__cta .au-btn { width: 100%; justify-content: center; }
  .au-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .au-stat strong { font-size: clamp(40px, 11vw, 56px); }
}

/* long inner sections: skip offscreen rendering */
.au-sec--cv { content-visibility: auto; contain-intrinsic-size: auto 700px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js [data-reveal], html.js [data-reveal-group] > *,
  html.js .au-hero [data-stage] { opacity: 1; transform: none; }
  html.js .au-route[data-reveal] path { stroke-dashoffset: 0; }
}
