/* Australia Quality Group — Homepage — extracted static stylesheet.
   Design-system tokens + component styles, page styles, and the image
   placeholder replica. Fonts are loaded from Google Fonts in the HTML. */

html, body { height: 100%; margin: 0; }
#page, #page > .page-host { height: 100%; }

/* ---------- design system ---------- */
:root { --color-bg: #f2f2f3; --color-surface: #e9e9ea; --color-text: #1d1f20; --color-accent: #5980a6; --color-accent-2: #728fab; --color-divider: color-mix(in srgb, #1d1f20 16%, transparent); --color-neutral-100: #f5f5f8; --color-neutral-200: #e7e7ea; --color-neutral-300: #d4d4d7; --color-neutral-400: #b7b7ba; --color-neutral-500: #98989b; --color-neutral-600: #7a7a7d; --color-neutral-700: #5d5d60; --color-neutral-800: #424244; --color-neutral-900: #2b2b2d; --color-accent-100: #eef6ff; --color-accent-200: #d6ebff; --color-accent-300: #b5d9fd; --color-accent-400: #94bce3; --color-accent-500: #749dc4; --color-accent-600: #597ea3; --color-accent-700: #416180; --color-accent-800: #2c455d; --color-accent-900: #1d2d3d; --color-accent-2-100: #eef6ff; --color-accent-2-200: #d6ebff; --color-accent-2-300: #bdd8f2; --color-accent-2-400: #9ebbd8; --color-accent-2-500: #7e9cb8; --color-accent-2-600: #627d98; --color-accent-2-700: #486077; --color-accent-2-800: #314457; --color-accent-2-900: #1f2d3a; --font-heading: "Barlow Condensed", system-ui, sans-serif; --font-heading-weight: 600; --font-body: "Barlow", system-ui, sans-serif; --space-1: 3.4px; --space-2: 6.8px; --space-3: 10.2px; --space-4: 13.6px; --space-6: 20.4px; --space-8: 27.2px; --radius-sm: 2px; --radius-md: 4px; --radius-lg: 7px; --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent); --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent); --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent); }
body { background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }
.blueprint { position: relative; border: 1px solid var(--color-divider); border-radius: 0px; }
.blueprint.duotone { overflow: visible; }
.blueprint > .corner { position: absolute; width: 11px; height: 11px; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.blueprint > .corner::before, .blueprint > .corner::after { content: ""; position: absolute; background: currentcolor; }
.blueprint > .corner::before { left: 5px; top: 0px; width: 1px; height: 100%; }
.blueprint > .corner::after { top: 5px; left: 0px; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }
.duotone { position: relative; overflow: hidden; }
.duotone::after { content: ""; position: absolute; inset: 0px; pointer-events: none; background: var(--color-accent); mix-blend-mode: color; }
*, ::before, ::after { box-sizing: border-box; }
body { margin: 0px; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2); }
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0px; }
figcaption { font-size: 11px; margin-top: var(--space-1); color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; text-decoration: none; font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 14px; line-height: 1.2; color: var(--color-text); background: transparent; border: 1px solid transparent; padding: var(--space-2) calc(var(--space-3) * 1.2); border-radius: var(--radius-md); }
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; border-radius: calc(var(--radius-md) * 0.75); }
.btn, .tag { border-radius: 0px; }
.btn { border: 1px solid var(--color-divider); }
.btn-primary { border-color: var(--color-accent); }

/* ---------- page ---------- */
body { margin: 0px; background: var(--color-bg); }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-900); }
@keyframes aqgRule { 
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@media (max-width: 1180px) {
  .aqg-tagline { display: none; }
}
@media (max-width: 1080px) {
  .aqg-nav { gap: 20px !important; }
  .aqg-header { gap: 24px !important; }
}
@media (max-width: 1000px) {
  .aqg-nav-sec { display: none; }
  .aqg-cta-long { display: none; }
}
@media (min-width: 1001px) {
  .aqg-cta-short { display: none; }
}
@media (max-width: 980px) {
  .aqg-split { grid-template-columns: 1fr !important; }
  .aqg-4col { grid-template-columns: repeat(2, minmax(0px, 1fr)) !important; }
  .aqg-foot { grid-template-columns: repeat(2, minmax(0px, 1fr)) !important; }
}

/* ---------- interactive states ---------- */
.scp0:hover { color: var(--color-accent-700) !important; }
.scp1:hover { background: color-mix(in srgb, rgb(245, 245, 248) 7%, transparent) !important; }


/* ---------- photography ---------- */
.photo { display: block; position: relative; width: 100%; height: 100%; aspect-ratio: 3 / 2; }
.photo__frame { position: absolute; inset: 0; overflow: hidden; background: rgba(127,127,127,.08); }
.photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-mark { height: 46px; width: auto; flex: 0 0 auto; display: block; mix-blend-mode: multiply; filter: brightness(0.9937); }


/* ================= mobile navigation (CSS only, no JS) ================= */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.nav-btn { display: none; width: 42px; height: 42px; flex: 0 0 auto; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; color: var(--color-text); }
.nav-btn span { display: block; width: 21px; height: 1.5px; background: currentColor;
  transition: transform .22s ease, opacity .18s ease; }
.nav-toggle:focus-visible ~ .nav-btn { outline: 2px solid var(--color-accent-700); outline-offset: 3px; }
.nav-cta { display: none; }

@media (max-width: 860px) {
  .nav-btn { display: flex; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .aqg-header-cta { display: none !important; }

  .aqg-nav { display: none !important; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch !important; gap: 0 !important;
    padding: 2px 18px 18px; background: var(--color-bg);
    border-bottom: 1px solid var(--color-divider); box-shadow: 0 14px 28px rgba(0,0,0,.10); }
  .nav-toggle:checked ~ .aqg-nav { display: flex !important; }
  .aqg-nav > a { padding: 15px 2px !important; border-top: 1px solid var(--color-divider);
    font-size: 14px !important; white-space: normal !important; }
  .aqg-nav .aqg-nav-sec { display: block !important; }

  .nav-cta { display: block; margin-top: 16px; border-top: 0 !important; text-align: center; text-decoration: none;
    padding: 15px 20px !important; background: var(--color-accent-700); color: var(--color-neutral-100) !important;
    font-size: 13px !important; letter-spacing: .1em; text-transform: uppercase; }
}

/* ================= responsive layout ================= */
/* The stock overrides collapse these grids with `1fr`, which still floors at
   min-content and pushes content past the viewport; minmax(0,1fr) lets the
   single column actually shrink to the screen. */
@media (max-width: 980px) {
  .aqg-split { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 900px) {
  #top { grid-template-columns: minmax(0, 1fr) !important; }
  .aqg-hero-copy { padding-bottom: clamp(28px, 5vw, 40px) !important; }
  .aqg-hero-media { border-left: 0 !important; min-height: 0 !important;
    padding: 0 clamp(20px, 4vw, 64px) clamp(34px, 6vw, 56px) !important; }
  .aqg-hero-media > figure { height: clamp(300px, 62vw, 460px) !important; }
  /* keep it relative, not static, so its .corner marks still anchor to the card */
  .aqg-hero-card { position: relative !important; left: auto !important; bottom: auto !important;
    width: auto !important; margin-top: 20px; }
}

@media (max-width: 860px) {
  .aqg-header { gap: 12px !important; padding-left: 18px !important; padding-right: 18px !important; }
  .logo-mark { height: 38px; }
}

@media (max-width: 760px) {
  .aqg-topbar { font-size: 10px !important; gap: 12px !important; padding: 0 18px !important; }
  .aqg-topbar-contact { gap: 14px !important; }
  .aqg-row2, .aqg-row3 { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
}

@media (max-width: 620px) {
  .aqg-topbar-cities { display: none !important; }
  .aqg-topbar-contact { width: 100%; justify-content: space-between; }
  .aqg-4col { grid-template-columns: minmax(0, 1fr) !important; }
  .aqg-grid2 { grid-template-columns: minmax(0, 1fr) !important; }
  #top h1 { font-size: 38px !important; }
}

@media (max-width: 520px) {
  .aqg-foot { grid-template-columns: minmax(0, 1fr) !important; }
  .aqg-hero-copy .btn { width: 100%; justify-content: center; }
  .logo-mark { height: 34px; }
}

@media (max-width: 430px) {
  .aqg-topbar-email { display: none !important; }
  .logo-mark { height: 31px; }
  .aqg-topbar-contact { justify-content: center; }
}


/* ================= touch polish (mobile only) ================= */
@media (max-width: 768px) {
  /* footer link lists sit ~22px apart — give them room to be tapped */
  footer a { padding-block: 5px; }
  /* inline phone/email: vertical padding on an inline box grows the hit
     area without affecting the line box, so nothing shifts */
  .aqg-topbar a { padding-block: 6px; }
}

@media (max-width: 768px) {
  /* these CTAs carry an underline border, so only grow upward */
  .aqg-cta-link { padding-top: 8px; margin-top: -8px; }
}

@media (max-width: 768px) {
  /* contact-band phone/email: inline, so padding grows the hit area only */
  #contact a:not([class]) { padding-block: 6px; }
}
