/* HHA Group. Colours from the current hhagroup.com.au: navy #00427F, orange #DB4D0F. */
:root {
  --navy: #00427f;
  --navy-deep: #061a33;
  --ink: #04101f;
  --orange: #db4d0f;
  --orange-hot: #f15a17;
  --chrome: #d9dee6;
  --white: #ffffff;
  --muted: #9fb0c6;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gap: clamp(10px, 1.2vw, 18px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); color: var(--ink); padding: 8px 12px; }

/* ---------- Top bar ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 3vw, 40px);
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s;
}
.top.is-solid {
  background: rgba(4, 16, 31, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding-top: 8px; padding-bottom: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.top__logo img { width: clamp(120px, 12vw, 170px); height: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); transition: width .35s var(--ease); }
.top.is-solid .top__logo img { width: clamp(104px, 9vw, 130px); }
.top__nav { display: flex; gap: clamp(16px, 2.2vw, 34px); margin-left: auto; }
.top__nav a {
  font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; padding: 6px 0;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 2px no-repeat;
  transition: background-size .3s var(--ease);
}
.top__nav a:hover, .top__nav a:focus-visible { background-size: 100% 2px; }
.top__call {
  display: flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--white); text-decoration: none;
  padding: 10px 18px; border-radius: 4px;
  transition: background .2s;
}
.top__call:hover { background: var(--orange-hot); }
.top__call svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.top__call-text { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1; letter-spacing: .03em; }
.top__call-text small { display: block; font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 3px; }

/* ---------- Hero with the video ---------- */
/* The video sits behind the whole page, as on the HHA Restorations sign-in page:
   full screen, fixed, under a dark navy wash, with everything else on top of it. */
.bgvideo { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.bgvideo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.bgvideo__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,28,.6), rgba(10,15,28,.86)); }
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; }
.hero__inner { text-align: center; padding: 120px 20px 90px; max-width: 1100px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--head); font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  font-size: 15px; color: var(--chrome); margin: 0 0 18px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 36px; height: 2px; background: var(--orange); }
.hero__title {
  font-family: var(--head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(46px, 9vw, 128px); line-height: .92; letter-spacing: .01em; margin: 0;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}
.hero__title span {
  background: linear-gradient(180deg, #ffffff 0%, #dfe5ed 46%, #aab5c6 54%, #f1f4f8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(17px, 1.7vw, 22px); color: #dde5ef; max-width: 640px; margin: 22px auto 0; }
.hero__down {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 42px;
  font-family: var(--head); font-size: 14px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--chrome);
}
.hero__down svg { width: 30px; height: 30px; fill: var(--orange); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- The four pillars ----------
   Big panels over the background video, with a margin and gaps so the video shows
   around them (Dave, 6 Nov 2026): Heavy Haulage across the top with its figures,
   three tall panels under it. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pillars {
  position: relative; display: grid; gap: clamp(14px, 2vw, 32px);
  padding: clamp(96px, 12vh, 120px) clamp(16px, 5vw, 110px) clamp(40px, 6vh, 80px);
}
.pillars__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 32px); }
.pillar__motto { color: var(--chrome); letter-spacing: .22em; }

.pillar {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  text-decoration: none; color: var(--white); background: var(--navy-deep);
  border-radius: 6px;
}
.pillar { box-shadow: 0 18px 50px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); }
.pillar--wide { height: clamp(500px, 66vh, 700px); }
.pillar--tall { height: clamp(520px, 74vh, 780px); }
.pillar img, .pillar picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillar img { object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92) brightness(.92); }
.pillar:hover img, .pillar:focus-visible img { transform: scale(1.08); filter: saturate(1.05) brightness(1.02); }
.pillar__shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4,16,31,.05) 0%, rgba(4,16,31,.2) 45%, rgba(4,16,31,.94) 100%);
  transition: opacity .5s;
}
.pillar--wide .pillar__shade { background: linear-gradient(90deg, rgba(4,16,31,.88) 0%, rgba(4,16,31,.55) 38%, rgba(4,16,31,.05) 70%), linear-gradient(0deg, rgba(4,16,31,.5), transparent 40%); }
.pillar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.pillar:hover::after, .pillar:focus-visible::after { transform: scaleX(1); }
.pillar:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.pillar__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 44px); }
.pillar--wide .pillar__body { top: 0; right: auto; width: min(640px, 100%); display: flex; flex-direction: column; justify-content: center; }
.pillar__num { font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .3em; color: var(--orange); margin: 0 0 6px; }
.pillar__title {
  font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 0;
  font-size: clamp(38px, 4vw, 60px); letter-spacing: .01em;
}
.pillar--wide .pillar__title { font-size: clamp(48px, 7vw, 104px); }

.pillar__text { margin: 12px 0 0; color: #dbe3ee; max-width: 46ch; }
.pillar--tall .pillar__text { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.pillar--tall:hover .pillar__text, .pillar--tall:focus-visible .pillar__text { max-height: 140px; opacity: 1; }

.facts { list-style: none; display: flex; gap: clamp(18px, 3vw, 40px); padding: 0; margin: 26px 0 0; }
.facts li { border-left: 2px solid var(--orange); padding-left: 12px; }
.facts strong { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; }
.facts span { display: block; font-size: 13px; color: var(--muted); max-width: 16ch; line-height: 1.3; margin-top: 4px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 26px;
  background: var(--orange); color: var(--white);
  font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 22px; border-radius: 4px; transition: background .2s, gap .3s var(--ease);
}
.btn i { font-style: normal; }
.pillar:hover .btn { gap: 16px; background: var(--orange-hot); }
.btn--line { background: transparent; border: 2px solid rgba(255,255,255,.7); padding: 10px 18px; font-size: 16px; margin-top: 18px; }
.pillar:hover .btn--line { background: var(--orange); border-color: var(--orange); }

/* Heavy Haulage photo changer */
.slides { position: absolute; inset: 0; }
.slides .slide { opacity: 0; transition: opacity 1.4s ease, transform 7s linear, filter .6s; }
.slides .slide.is-on { opacity: 1; transform: scale(1.08); }
.dots { position: absolute; z-index: 2; right: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 36px); display: flex; gap: 8px; }
.dots b { width: 26px; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; transition: background .4s, width .4s; }
.dots b.is-on { background: var(--orange); width: 44px; }

/* ---------- Footer ---------- */
.foot { background: rgba(4,16,31,.82); backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,.08); padding: 56px clamp(16px, 4vw, 48px) 28px; }
.foot__inner { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.foot__logo { width: 170px; height: auto; }
.foot__cols { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); }
.foot h3 { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .25em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.foot p { margin: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--orange-hot); }
.muted { color: var(--muted); font-size: 14px; }
.foot__copy { max-width: 1240px; margin: 36px auto 0; font-size: 13px; color: var(--muted); }

@media (min-width: 761px) and (max-width: 1400px) { .btn--line { font-size: 14px; padding: 9px 14px; letter-spacing: .08em; white-space: nowrap; } }


/* ---------- Inner page (coming soon) ---------- */
.inner-hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.inner-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.inner-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,16,31,.6), rgba(4,16,31,.85)); }
.inner-hero .hero__inner { padding-top: 140px; }
.inner-hero .btn { margin-top: 30px; text-decoration: none; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 1080px) {
  .top__nav { display: none; }
  .top__call { margin-left: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { padding: 10px 16px; }
  .top__call { padding: 9px 12px; }
  .top__call-text small { display: none; }
  .top__call-text { font-size: 18px; }
  .hero__inner { padding: 110px 16px 70px; }
  .pillars { padding: 84px 10px 10px; gap: 10px; }
  .pillar__motto { display: block; margin-top: 4px; letter-spacing: .14em; }
  .pillar__motto b { display: none; }
  .pillars__row { grid-template-columns: 1fr; gap: 10px; }
  .pillar--wide { height: 82svh; min-height: 520px; }
  .pillar--wide .pillar__body { top: auto; width: 100%; justify-content: flex-end; }
  .pillar--wide .pillar__shade { background: linear-gradient(180deg, rgba(4,16,31,.1) 20%, rgba(4,16,31,.92) 85%); }
  .pillar--tall { height: 72svh; min-height: 440px; }
  .pillar--tall .pillar__shade { background: linear-gradient(180deg, rgba(4,16,31,0) 30%, rgba(4,16,31,.95) 88%); }
  .pillar--tall .pillar__text { max-height: none; opacity: 1; }
  .facts { gap: 14px; }
  .facts span { font-size: 12px; }
  .dots { top: 18px; bottom: auto; }
  .btn { font-size: 16px; padding: 12px 18px; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slides .slide.is-on { transform: none; }
}
