/* Acquire Insights — commercial advisory site styles
   Brand-matched to acquireinsights.com.au:
   teal #05465b, orange #f99d25, warm paper, Montserrat.
   Premium, restrained, engineering-credible. */
:root {
  --teal: #05465b;          /* primary brand / dark sections / headings */
  --teal-deep: #043846;     /* footer / deepest */
  --teal-600: #0a5d77;      /* lighter teal accents */
  --teal-wash: #e8f0f2;     /* cool teal tint for alt bands */
  --accent: #f99d25;        /* Insights orange — accent + CTAs */
  --accent-700: #c9760a;    /* darker orange for hover / links on white */
  --accent-100: #fdecd2;    /* light orange tint */
  --paper: #faf8f5;         /* warm off-white page ground */
  --paper-2: #f2ece4;       /* warm muted section band */
  --paper-card: #fffef9;    /* lifted card / diagram surface */
  --text: #283338;
  --muted: #5c6b71;
  --muted-light: rgba(255,255,255,.78);
  --line: #ddd5cb;
  --line-dark: rgba(255,255,255,.16);
  --maxw: 1120px;
  --maxw-narrow: 780px;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(5,70,91,.06), 0 10px 32px rgba(5,70,91,.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4, .display {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--teal);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.25rem); overflow-wrap: break-word; }
h3 { font-size: 1.28rem; font-weight: 600; }
p { margin: 0 0 1.2rem; max-width: 68ch; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--accent-700); }
strong { font-weight: 600; color: var(--teal); }
em { font-style: italic; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--maxw-narrow); }
/* Grid / visual sections inside .narrow should use full content width on large screens */
.container.narrow:has(.pillars),
.container.narrow:has(.stats),
.container.narrow:has(figure.chart),
.container.narrow:has(figure.diagram),
.container.narrow:has(.case),
.container.narrow:has(.steps) {
  max-width: var(--maxw);
}
.muted { color: var(--muted); }
.lede { font-weight: 500; font-size: clamp(1.18rem, 2vw, 1.45rem); line-height: 1.45; color: var(--teal); }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: var(--accent-700);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 10px; margin-bottom: 4px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: .96rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--accent); color: var(--teal); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-700); border-color: var(--accent-700); color: var(--teal); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-on-dark { background: var(--accent); color: var(--teal); border-color: var(--accent); }
.btn-on-dark:hover { background: #fff; color: var(--teal); border-color: #fff; }

/* Arrow text links */
.arrow { font-weight: 600; color: var(--teal); }
.arrow::after { content: " \2192"; color: var(--accent); }
.arrow:hover { color: var(--accent-700); }
.links-row { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 10px; align-items: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,245,.94);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 36px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-weight: 500; color: var(--teal); font-size: .97rem; }
.site-nav a:hover { color: var(--accent-700); }
.site-nav .nav-cta { color: var(--teal); padding: 10px 20px; }
.site-nav .nav-cta:hover { color: var(--teal); }
.nav-toggle, .nav-toggle-label { display: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .container { padding-top: 62px; padding-bottom: 50px; }
.hero h1 { max-width: 17ch; }
.hero .lede { max-width: 60ch; margin-top: 6px; }
.hero .lede-2 { margin-top: 16px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--teal); }
.hero .btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 24px; color: var(--muted); font-size: .95rem; max-width: 66ch; }
.hero-note strong { color: var(--teal); }

/* Proof bar */
.proofbar {
  background: linear-gradient(90deg, var(--paper-2) 0%, var(--teal-wash) 50%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line);
}
.proofbar .container { display: flex; flex-direction: column; gap: 13px; padding: 20px 28px; }
.proofbar .pb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }
.proofbar .pb-kicker { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--accent-700); }
.proofbar .pb-name { font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; color: var(--teal); }
.proofbar .pb-logos { gap: 12px 30px; }
.proofbar .pb-logo { width: auto; opacity: .9; }
.proofbar .pb-logo--bhp { height: 26px; }
.proofbar .pb-logo--newcrest { height: 32px; }
.proofbar .pb-logo--glencore { height: 24px; }
.proofbar .pb-types { gap: 8px 24px; }
.proofbar .pb-types span { display: inline-flex; align-items: center; font-size: .82rem; color: var(--muted); }
.proofbar .pb-types span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 9px; flex: 0 0 auto; }

/* Sections */
section { padding: 60px 0; }
section.alt { background: var(--paper-2); }
section.alt + section:not(.alt):not(.dark):not(.cta-band) { background: var(--paper); }
section.dark {
  background: linear-gradient(165deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: rgba(255,255,255,.85);
}
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark .eyebrow { color: #fbbd6a; }
section.dark .eyebrow::before { background: var(--accent); }
section.dark strong { color: #fff; }
section.dark .lede { color: #fff; }
.section-head { max-width: 64ch; margin-bottom: 16px; }

/* Prose */
.prose { max-width: var(--maxw-narrow); }
.prose h2 { margin-top: 1.6em; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 2px; background: var(--accent); }
.prose-list { list-style: none; padding: 0; margin: 0 0 1.2rem; max-width: 68ch; }
.prose-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose-list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 2px; background: var(--accent); }

/* Pillars */
.pillars { display: grid; gap: 26px; margin-top: 32px; }
.pillars.two { grid-template-columns: 1fr 1fr; }
.pillars.three { grid-template-columns: repeat(3, 1fr); }
.pillar { background: var(--paper-card); border: 1px solid var(--line); border-radius: 12px; padding: 30px; box-shadow: var(--shadow); }
section.alt .pillar { background: var(--paper-card); }
section:not(.alt):not(.dark) .pillar { background: var(--paper-card); }
.pillar .pnum { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 10px; }
.pillar h3 { margin-bottom: 10px; color: var(--teal); }
.pillar p { color: var(--muted); margin-bottom: 0; }
.pillar p + p { margin-top: .8rem; }

/* Big number stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.stat .num { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.3rem); line-height: 1; color: var(--teal); letter-spacing: -.02em; }
.stat .num .unit { color: var(--accent); }
.stat .label { color: var(--muted); margin-top: 12px; font-size: .98rem; max-width: 30ch; }
section.dark .stat .num { color: #fff; }
section.dark .stat .label { color: var(--muted-light); }

/* Callouts */
.note { background: var(--accent-100); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 6px; color: var(--text); }
.note p:last-child { margin-bottom: 0; }
.outscope { background: var(--paper-card); border-left: 3px solid var(--muted); padding: 16px 20px; border-radius: 6px; color: var(--muted); }
section.alt .outscope { background: var(--paper-card); }
section.dark .outscope { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); color: var(--muted-light); }

/* Illustrative chart + diagrams */
figure.chart, figure.diagram { margin: 32px 0 8px; }
figure.chart svg, figure.diagram svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-card); padding: 12px; box-shadow: var(--shadow); }
figure.chart svg text, figure.diagram svg text { font-family: "Montserrat", sans-serif; }
figure.chart figcaption, figure.diagram figcaption { color: var(--muted); font-size: .88rem; margin-top: 12px; font-style: italic; }
/* Dark-section diagram variant (transparent, light strokes/text handled inline) */
section.dark figure.diagram svg { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.18); box-shadow: none; padding: 16px; }
section.dark figure.diagram.diagram-four-reads svg { padding: 18px 14px; }
section.dark figure.diagram figcaption { color: var(--muted-light); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.step { padding: 4px 0; }
.step .snum { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent-700); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin-bottom: 0; }

/* Case cards (proof) */
.case { background: var(--paper-card); border: 1px solid var(--line); border-radius: 12px; padding: 34px; box-shadow: var(--shadow); margin-bottom: 24px; }
.case .case-kicker { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); margin: 0 0 14px; }
.case .case-head { font-family: "Montserrat", sans-serif; font-size: clamp(2rem, 4vw, 2.7rem); color: var(--teal); font-weight: 700; line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
.case .case-head .unit { color: var(--accent); }
.case .case-sub { color: var(--muted); margin-bottom: 20px; }
.case dl { display: grid; grid-template-columns: 180px 1fr; gap: 0; margin: 0; }
.case dt { font-weight: 600; color: var(--teal); padding: 12px 0; border-top: 1px solid var(--line); }
.case dd { margin: 0; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); }

/* People (about) */
.person-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 10px; margin-bottom: 18px; background: var(--paper-2); }

/* CTA band */
.cta-band {
  background: linear-gradient(165deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
}
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 56ch; }
.cta-band .btns { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 680px; }
.form-grid .full { grid-column: 1 / -1; }
label.field { display: block; font-weight: 500; margin-bottom: 7px; color: var(--teal); font-size: .96rem; }
input, textarea, select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--text); background: var(--paper-card);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-100); }
textarea { min-height: 130px; resize: vertical; }
.contact-direct { font-size: 1.05rem; margin: 0 0 26px; }

/* Family / firewall note */
.family-note { color: var(--muted); max-width: 70ch; }
.family-note a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,.74); padding: 60px 0 32px; }
.site-footer .f-word img { height: 64px; width: auto; display: block; margin-bottom: 4px; }
.site-footer .f-tag { color: rgba(255,255,255,.6); max-width: 36ch; margin-top: 10px; font-size: .95rem; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-top: 8px; }
.site-footer h4 { color: #fff; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: rgba(255,255,255,.74); display: block; padding: 5px 0; font-size: .96rem; }
.site-footer a:hover { color: #fff; }
.site-footer .f-contact a { color: #fff; font-weight: 500; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom a { display: inline; color: rgba(255,255,255,.72); text-decoration: underline; padding: 0; font-size: inherit; }
.footer-bottom a:hover { color: #fff; }
.footer-fam { margin-top: 8px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-fam a { display: inline; color: rgba(255,255,255,.72); text-decoration: underline; padding: 0; font-size: inherit; }

/* Wide screens — let grids and stats breathe */
@media (min-width: 1200px) {
  :root {
    --maxw: 1240px;
    --maxw-narrow: 840px;
  }
  .container { padding: 0 40px; }
  .pillars { gap: 30px; }
  .stats { gap: 44px; }
  .stat .label { max-width: 36ch; }
  .form-grid { max-width: 760px; }
}

@media (min-width: 1600px) {
  :root {
    --maxw: 1320px;
    --maxw-narrow: 880px;
  }
  .container { padding: 0 48px; }
  section { padding: 72px 0; }
  .pillars { gap: 34px; }
  .stats { gap: 56px; }
}

/* Responsive */
@media (max-width: 880px) {
  section { padding: 48px 0; }
  .hero .container { padding-top: 48px; padding-bottom: 40px; }
  .pillars.two, .pillars.three, .stats, .steps { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .case dl { grid-template-columns: 1fr; }
  .case dt { border-top: 1px solid var(--line); padding-bottom: 2px; }
  .case dd { border-top: none; padding-top: 4px; }
  .nav-toggle-label { display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
  .nav-toggle-label span, .nav-toggle-label::before, .nav-toggle-label::after {
    content: ""; display: block; width: 26px; height: 2.5px; background: var(--teal); border-radius: 2px;
  }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 80px; background: var(--paper-card);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { text-align: center; margin-top: 12px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .container { padding: 0 20px; }
  section { padding: 38px 0; }
  .footer-cols { grid-template-columns: 1fr; gap: 18px; }
  .hero .btns, .cta-band .btns, .btns { flex-direction: column; align-items: stretch; }
  .btns .btn { width: 100%; text-align: center; }
  .site-logo img { height: 38px; }
}
