/* Palette and type taken from the core-ep.com.au Elementor kit */
:root {
  --green: #1B5D36;
  --green-2: #31794E;
  --green-3: #32985C;
  --green-bright: #61CE70;
  --cream: #FBF8EA;
  --sage: #D9DFC5;
  --brown: #61594F;
  --ink: #131313;
  --text: #7A7A7A;
  --grey: #A4A4A4;
  --grey-2: #595959;
  --line: #CFCFCF;
  --band: #CBCBCB;
  --swirl: #D3D4CF;
  --bg: #FFFFFF;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Questrial", "Poppins", system-ui, sans-serif;
  --gutter: 70px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
sup { font-size: 0.5em; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; color: var(--ink); margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; }

.container { width: min(1300px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  background: var(--green); color: #fff; padding: 8px 14px; border-radius: 40px;
}

.muted { color: var(--grey); }
.muted-2 { color: var(--grey); }

/* Buttons: the pill + cream arrow circle used across core-ep.com.au */
.btn-pill {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--green); color: #fff;
  font-family: var(--font-head); font-size: 1rem; font-weight: 400;
  padding: 16px 44px; border-radius: 60px; border: 0;
  text-decoration: none; cursor: pointer;
  transition: background .2s ease;
}
.btn-pill:hover { background: var(--green-2); }
.btn-pill:focus-visible, .pill-input:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; }
.btn-arrow { padding: 6px 6px 6px 30px; text-transform: uppercase; font-size: 1.1rem; }
.btn-brown { background: var(--brown); }
.btn-brown:hover { background: #4d463e; }
.arrow {
  width: 48px; height: 48px; border-radius: 50%; background: var(--cream); flex: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h17M14 6l6 6-6 6' fill='none' stroke='%23131313' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 26px; background-position: center; background-repeat: no-repeat;
}

/* Hero card */
.hero {
  position: relative;
  margin: 15px 20px 0;
  min-height: min(860px, calc(100vh - 30px));
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.6) 100%),
    url("../assets/img/hero-landfill-cell.webp") center 40% / cover no-repeat,
    #8B8B8B;
  color: var(--cream);
  display: flex; flex-direction: column;
}

.nav-tab {
  position: absolute; top: -15px; left: -20px;
  background: var(--bg);
  height: 95px;
  padding: 0 24px 0 48px;
  display: flex; align-items: center;
  z-index: 5;
}
.nav-tab::after {
  /* slanted shoulder into the hero, echoing the core-ep header shape */
  content: ""; position: absolute; top: 0; right: -79px; width: 80px; height: 95px;
  background: var(--bg);
  clip-path: path("M0 0 H80 C66 0 60 6 55 16 L34 70 C27 86 18 95 0 95 Z");
}
.site-nav { display: flex; gap: 30px; align-items: center; }
.site-nav a {
  font-family: var(--font-head); color: var(--ink); text-decoration: none;
  text-transform: uppercase; font-size: 0.95rem; letter-spacing: .01em;
}
.site-nav a:hover { color: var(--green); }
.site-nav .nav-contact, .site-nav .nav-extra { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: .2s; }

.hero-logo { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 4; }
.hero-logo img { width: 184px; height: auto; }

.btn-contact { position: absolute; top: 11px; right: 30px; padding: 6px 6px 6px 24px; text-transform: uppercase; font-size: 1.15rem; z-index: 4; }

.hero-body {
  margin-top: auto; padding: 0 50px 60px;
  display: flex; flex-direction: column; gap: 70px;
}
.hero-tag {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem); line-height: 1.6; max-width: 34em;
  color: #fff; position: relative; padding-left: 34px; margin: 0;
}
.slashes { position: absolute; left: 0; top: -12px; font-weight: 300; font-size: 1.6em; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-title h1 {
  color: var(--cream); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 1; margin: 0;
}
.hero-sub {
  text-transform: uppercase; letter-spacing: .28em; font-family: var(--font-head);
  font-size: clamp(.8rem, 1.2vw, 1.25rem); margin: 18px 0 0 6px; color: var(--cream);
}
.hero-cta { width: min(630px, 100%); }
.hero-cta p { font-family: var(--font-head); font-size: 1.6rem; color: #fff; margin: 0 0 14px; }
.pill-input {
  display: flex; align-items: center; justify-content: space-between;
  background: #F3F3F3; border-radius: 60px; padding: 4px 4px 4px 24px;
  text-decoration: none; color: #8a8a8a; font-size: 1.05rem;
  box-shadow: 0 0 0 3px rgba(255,255,255,.7);
}
.pill-go {
  width: 90px; height: 50px; border-radius: 40px; background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h17M14 6l6 6-6 6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 34px; background-position: center; background-repeat: no-repeat;
}

/* Stats (counter row) */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 60px 0 70px; border-bottom: 1px solid var(--grey);
}
.stat:nth-child(2) { justify-self: center; }
.stat:nth-child(3) { justify-self: end; }
.stat-label { display: block; font-family: var(--font-body); font-size: 1rem; color: var(--grey-2); }
.stat strong small { font-size: .45em; font-weight: 500; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2.6rem, 4.6vw, 4.2rem); color: var(--green); line-height: 1.2; }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 90px 0 60px; }
.intro-title { font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.35rem); color: var(--grey); }
.intro-title span { display: block; }
.intro-title .indent { color: var(--grey-2); text-align: right; }
.intro-copy p { font-size: 1.2rem; line-height: 1.6; }
.intro-copy .btn-pill { margin-top: 20px; }

.big-statement { position: relative; padding: 20px 0 110px; }
.display { font-size: clamp(2.6rem, 6.4vw, 6.2rem); line-height: 1.12; letter-spacing: -0.01em; position: relative; z-index: 1; max-width: 13em; }
.big-statement .swirl { position: absolute; right: calc(-1 * var(--gutter) - 40px); top: -80px; width: 380px; z-index: 0; opacity: 1; }

/* Section divider: "Label ——— logo ——— label" */
.section { padding: 40px 0 100px; }
.divider {
  display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 24px;
  color: var(--text); font-family: var(--font-body); font-size: 1.25rem;
  margin-bottom: 70px;
}
.divider::before, .divider::after { content: ""; height: 1px; background: var(--grey); grid-row: 1; }
.divider::before { grid-column: 2; }
.divider::after { grid-column: 4; }
.divider > span:first-child { grid-column: 1; }
.divider > img { grid-column: 3; width: 150px; height: auto; }
.divider > span:last-child { grid-column: 5; }

.head-row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 60px; align-items: center; margin-bottom: 80px; }
.head-row p { margin: 0; font-size: 1rem; }
.green-title { color: var(--green); font-size: clamp(2.3rem, 3.6vw, 3.3rem); margin: 0; }

/* Capabilities (three columns with line icons, as on the core-ep homepage) */
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-bottom: 100px; }
.capabilities.two { grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 0; }
.capability h3 { font-size: 1.6rem; margin: 22px 0 14px; }
.capability p { font-size: 1rem; }
.capability ul { list-style: none; padding: 0; margin: 20px 0 0; color: var(--ink); }
.capability li { padding: 3px 0; }
.line-icon { width: 54px; height: 54px; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.line-icon .accent { stroke: var(--green-3); }

/* Field photo strip */
.field-gallery { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 20px; margin: 0 0 100px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 70px; }
.field-gallery figure, .field-pair figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; }
.field-gallery .fg-wide { aspect-ratio: auto; }
.field-pair figure { aspect-ratio: 4 / 4.6; }
.field-gallery img, .field-pair img { width: 100%; height: 100%; object-fit: cover; }
.field-gallery figcaption, .field-pair figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  color: var(--cream); font-family: var(--font-head); font-size: .95rem;
}

/* Comparison */
.compare-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 30px; }
.table-wrap { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 1.05rem; min-width: 520px; }
.compare th, .compare td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-head); font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); font-size: 1.1rem; }
.compare tbody th { font-weight: 400; color: var(--grey-2); }
.compare td:last-child, .compare thead th:last-child { color: var(--green); background: #F4F6EE; }
.compare td:last-child { font-weight: 600; }
.fine { font-size: .9rem; margin-top: 16px; }

/* Posi-Lock */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.display-sm { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.12; }
.body-lg { font-size: 1.15rem; }
.split .btn-pill { margin-top: 16px; }
.use-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--grey); }
.use-list li {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.use-list strong { font-family: var(--font-head); font-weight: 500; color: var(--green); font-size: 1.15rem; }

/* Process */
.lead-statement { font-family: var(--font-head); color: var(--ink); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.45; max-width: 26em; margin-bottom: 70px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--grey); }
.steps li { padding: 34px 30px 10px 0; }
.steps li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.step-num { font-family: var(--font-head); font-weight: 600; color: var(--green); font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 20px; }
.steps h3 { font-size: 1.35rem; }

/* Why Core */
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.why-photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.why-list strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--green); font-size: 1.1rem; margin-bottom: 4px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--grey); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--font-head); color: var(--ink); font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--grey);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%231B5D36' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 60px 24px 0; margin: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 8px; }
.contact-list a, .footer-contact a { font-family: var(--font-head); color: var(--green); text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover, .footer-contact a:hover { color: var(--green-3); }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 15px 22px; border: 1px solid transparent; border-radius: 30px; background: #F3F3F3;
}
.contact-form textarea { border-radius: 22px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--green); background: #fff; }
.contact-form .btn-pill { justify-self: start; }
.form-note { margin: 0; min-height: 1.2em; }
.form-note.error { color: #b3261e; }
.form-note.ok { color: var(--green); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--band); padding: 110px 0 100px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2.4rem, 4.4vw, 4rem); margin-bottom: 70px; position: relative; }
.cta-band .btn-pill { position: relative; }
.cta-links {
  list-style: none; padding: 0; margin: 100px 0 0; position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px;
}
.cta-links a {
  color: #fff; text-decoration: none; font-family: var(--font-body); font-size: 1rem;
  display: inline-flex; align-items: center; gap: 10px;
}
.cta-links a::after {
  content: ""; width: 18px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M1 6h15M11 1l5 5-5 5' fill='none' stroke='%2332985C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cta-links a:hover { text-decoration: underline; }
.cta-band .swirl { position: absolute; right: -120px; bottom: -260px; width: 520px; opacity: .45; filter: brightness(.8); }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding: 70px 0 30px; }
.site-footer .swirl { position: absolute; right: -80px; top: -150px; width: 420px; opacity: .6; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-brand img { width: 320px; height: auto; margin-bottom: 36px; }
.site-footer h3 { font-family: var(--font-body); font-weight: 700; color: var(--green); font-size: 1.25rem; margin: 30px 0 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.site-footer ul a { color: var(--text); text-decoration: none; font-size: 1.1rem; }
.site-footer ul a:hover { color: var(--green); }
.footer-contact { gap: 10px !important; }
.footer-base { position: relative; border-top: 1px solid var(--grey); margin-top: 70px; padding-top: 24px; font-size: .9rem; }
.footer-base p { margin: 0 0 6px; }
.footer-base a { text-decoration: none; }
.footer-base .tm { font-size: .8rem; max-width: 60em; margin-bottom: 14px; }

/* Responsive */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .site-nav { gap: 22px; }
  .site-nav a { font-size: .85rem; }
  .head-row { grid-template-columns: 1fr; gap: 24px; }
  .head-row .btn-pill { justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1400px) {
  .nav-toggle { display: block; }
  .nav-tab { height: 80px; padding: 0 20px 0 36px; }
  .nav-tab::after { height: 80px; clip-path: path("M0 0 H80 C66 0 60 6 55 14 L36 60 C29 73 20 80 0 80 Z"); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 20px; width: min(320px, calc(100vw - 40px));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-radius: 0 0 20px 20px; padding: 6px 24px 20px;
    box-shadow: 0 20px 30px rgba(0,0,0,.15);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid #eee; }
  .site-nav .nav-extra { display: block; }
  .site-nav .nav-contact { display: block; color: var(--green); border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }
  .btn-contact { display: none; }
  .hero-logo { left: auto; right: 24px; transform: none; top: 14px; }
  .hero-logo img { width: 150px; }
}

@media (max-width: 960px) {

  .intro, .split, .why-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-title .indent { text-align: left; }
  .capabilities, .capabilities.two { grid-template-columns: 1fr; gap: 50px; }
  .field-gallery { grid-template-columns: 1fr 1fr; }
  .field-gallery .fg-wide { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 3; }
  .big-statement .swirl { width: 260px; top: -40px; opacity: .6; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { margin: 10px 10px 0; min-height: 640px; }
  .nav-tab { top: -10px; left: -10px; height: 66px; padding: 0 20px 0 24px; border-bottom-right-radius: 24px; }
  .nav-tab::after { display: none; }
  .hero-logo img { width: 120px; }
  .hero-body { padding: 0 20px 30px; gap: 40px; }
  .hero-tag { padding-left: 26px; }
  .hero-cta p { font-size: 1.25rem; }
  .pill-go { width: 64px; height: 44px; }

  .stats { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .stat:nth-child(n) { justify-self: start; }
  .intro { padding: 60px 0 30px; }
  .big-statement { padding-bottom: 60px; }
  .big-statement .swirl { right: -80px; width: 200px; }

  .section { padding: 20px 0 70px; }
  .divider { grid-template-columns: auto 1fr auto; font-size: 1rem; gap: 14px; margin-bottom: 44px; }
  .divider::after, .divider > span:last-child { display: none; }
  .divider > img { width: 110px; }

  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0 6px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .use-list li { grid-template-columns: 1fr; gap: 4px; }
  .compare table { min-width: 0; font-size: .92rem; }
  .compare th, .compare td { padding: 12px 8px; }
  .why-list, .field-row { grid-template-columns: 1fr; }
  .field-gallery { gap: 12px; margin-bottom: 70px; }
  .field-pair { gap: 12px; margin-top: 44px; }
  .faq details p { padding-right: 0; }
  .btn-pill { padding: 14px 30px; }
  .btn-arrow { padding: 5px 5px 5px 24px; font-size: 1rem; }
  .arrow { width: 42px; height: 42px; }

  .cta-band { padding: 80px 0 70px; }
  .cta-links { justify-content: center; margin-top: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-brand img { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-pill, .faq summary::after { transition: none; }
}
