/*
Theme Name: AGEH
Theme URI: https://ageh.au/
Author: Adelaide Garden Equipment Hire
Author URI: https://ageh.au/
Description: Equipment hire, contracting services and lawn project guides for Adelaide and surrounding suburbs.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ageh
*/

:root {
  --ink: #1b211d;
  --forest: #244834;
  --forest-deep: #142c21;
  --orange: #ef6a26;
  --orange-hot: #ff7a30;
  --cream: #f4efe4;
  --paper: #fffdf7;
  --sand: #ded3bf;
  --line: #c9c1b2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 35, 25, 0.16);
  --shell: 1240px;
  --display: "Avenir Next Condensed", "Franklin Gothic Condensed", sans-serif;
  --body: "Avenir Next", "Century Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #0b79d0; outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 108px 0; }




.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(27, 33, 29, 0.16);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; min-height: 84px; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 188px; height: auto; }
.primary-nav { display: flex; margin-left: auto; gap: 28px; }
.primary-nav a {
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--orange);
  content: "";
  transition: transform 180ms ease;
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--orange);
  border-radius: 2px;
  padding: 12px 20px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { border-color: var(--orange-hot); background: var(--orange-hot); transform: translateY(-2px); }
.header-button { min-height: 44px; padding: 9px 16px; }
.button-dark { border-color: var(--ink); background: var(--ink); }
.button-dark:hover { border-color: var(--forest-deep); background: var(--forest-deep); }
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 2px solid currentColor;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.text-link.light { color: var(--white); }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }

.kicker, .card-label, .guide-number {
  margin: 0 0 15px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.96;
}
h1 { max-width: 790px; font-size: clamp(3.5rem, 7.2vw, 7.4rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.8rem, 5vw, 5.4rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.7rem, 2.5vw, 2.5rem); letter-spacing: -0.025em; }
p { margin: 0 0 1em; }

.hero {
  position: relative;
  background:
    radial-gradient(circle at 8% 18%, rgba(239, 106, 38, 0.13), transparent 25%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(27, 33, 29, 0.055) 25%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 68px; align-items: center; padding-block: 82px 90px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy > p:not(.kicker) { max-width: 750px; }
.hero-lead { margin-top: 30px; color: #3b463e; font-size: 19px; font-weight: 650; }
.hero-media { position: relative; min-height: 610px; }
.hero-media figure { position: absolute; overflow: hidden; margin: 0; background: var(--sand); box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-main { top: 10px; right: 0; width: 78%; height: 470px; }
.hero-small { bottom: 10px; width: 41%; height: 225px; border: 8px solid var(--paper); }
.hero-small-a { left: 0; }
.hero-small-b { right: 8%; }
.field-stamp {
  position: absolute;
  top: 55px;
  left: -10px;
  z-index: 3;
  display: grid;
  width: 170px;
  transform: rotate(-5deg);
  border: 2px solid var(--ink);
  padding: 14px;
  background: var(--orange);
  box-shadow: 8px 8px 0 var(--ink);
}
.field-stamp strong { font-family: var(--display); font-size: 34px; line-height: 1; }
.field-stamp span { margin-top: 5px; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.delivery-ribbon { border-block: 1px solid var(--ink); background: var(--orange); }
.ribbon-inner { display: flex; min-height: 64px; align-items: center; justify-content: center; gap: 26px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.ribbon-inner i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

.section-intro { max-width: 780px; margin-bottom: 52px; }
.section-intro > p:last-child { max-width: 650px; margin-top: 22px; font-size: 18px; }
.pathway-grid { display: grid; grid-template-columns: 1fr 1fr; }
.pathway-card { position: relative; min-height: 470px; padding: 64px; overflow: hidden; }
.pathway-hire { border: 1px solid var(--line); background: var(--paper); }
.pathway-service { background: var(--forest); color: var(--white); }
.pathway-card h3 { max-width: 520px; font-size: clamp(2.6rem, 4vw, 4.8rem); }
.pathway-card p:not(.card-label) { max-width: 540px; margin: 24px 0; font-size: 18px; }
.path-number {
  position: absolute;
  right: 20px;
  bottom: -42px;
  opacity: .08;
  font-family: var(--display);
  font-size: 210px;
  font-weight: 900;
  line-height: 1;
}
.pathway-service .card-label { color: #ffae7d; }

.section-heading { margin-bottom: 52px; }
.split-heading { display: grid; grid-template-columns: 1.05fr .65fr; gap: 70px; align-items: end; }
.split-heading > p { margin: 0 0 7px; color: #4d5a51; font-size: 17px; }
.equipment-section { background: var(--paper); }
.equipment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.equipment-card { min-height: 420px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); color: var(--ink); text-decoration: none; }
.equipment-card img { width: 100%; height: 250px; object-fit: cover; filter: saturate(.88) contrast(1.04); transition: filter 200ms ease, transform 500ms cubic-bezier(.2,.7,.2,1); }
.equipment-card:hover img { transform: scale(1.025); filter: saturate(1); }
.equipment-card > div { padding: 24px; }
.equipment-card span { color: var(--orange); font-size: 11px; font-weight: 900; }
.equipment-card h3 { margin: 8px 0 14px; font-size: 28px; line-height: 1.04; }
.equipment-card p { color: #505b53; font-size: 14px; }
.equipment-card:focus-visible { outline-offset: 5px; }
.equipment-wide { grid-column: span 2; }
.equipment-wide img { height: 300px; }
.equipment-more { display: flex; align-items: stretch; background: var(--orange); }
.equipment-more > div { display: flex; flex-direction: column; justify-content: center; }
.equipment-more .card-label, .equipment-more p { color: var(--ink); }
.equipment-more strong { margin-top: auto; font-size: 13px; }

.services-section { position: relative; background: var(--forest-deep); color: var(--white); }
.services-section::before { position: absolute; inset: 0; opacity: .06; background-image: repeating-linear-gradient(135deg, #fff 0, #fff 1px, transparent 1px, transparent 16px); content: ""; pointer-events: none; }
.services-section .shell { position: relative; }
.on-dark > p { color: #c4d2c9; }
.service-feature { display: grid; grid-template-columns: .86fr 1.14fr; border: 1px solid rgba(255,255,255,.2); }
.service-media video { width: 100%; height: 100%; min-height: 650px; object-fit: cover; background: #0c1711; }
.service-list { display: grid; }
.service-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 28px 34px; border-bottom: 1px solid rgba(255,255,255,.16); color: var(--white); text-decoration: none; transition: background 160ms ease; }
.service-item:hover, .service-item:focus-visible { background: rgba(255,255,255,.08); }
.service-item:last-child { border-bottom: 0; }
.service-list span { color: #ff9f68; font: 900 13px var(--body); }
.service-list h3 { font-size: 30px; line-height: 1; }
.service-list p { margin: 10px 0 0; color: #bdcdc2; font-size: 14px; }
.service-list strong { display: inline-block; margin-top: 11px; color: #ffad7e; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.scope-note { margin: 22px 0 0; border-left: 5px solid var(--orange); padding: 17px 20px; background: rgba(255,255,255,.075); color: #dce6df; font-size: 13px; }
.scope-note strong { color: var(--white); }
.service-gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.2fr; gap: 10px; margin-top: 22px; }
.service-gallery img { width: 100%; height: 225px; object-fit: cover; }

.guides-section { background: var(--cream); }
.guide { display: grid; grid-template-columns: .75fr 1.25fr; margin-top: 28px; border-top: 1px solid var(--ink); padding-top: 28px; }
.guide-copy { padding: 30px 48px 30px 0; }
.guide-copy h3 { max-width: 520px; font-size: clamp(2.2rem, 3.4vw, 4rem); }
.guide-copy .answer { margin-top: 28px; font-size: 17px; }
.guide-copy ul { margin: 22px 0 0; padding-left: 20px; }
.guide-copy li { margin-bottom: 8px; }
.guide-pair { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.guide-pair figure { position: relative; margin: 0; overflow: hidden; }
.guide-pair img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.guide-pair figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 10px 15px; background: rgba(20,44,33,.88); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guide-media-stack { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.guide-media-stack img, .guide-media-stack video { width: 100%; height: 100%; min-height: 520px; object-fit: cover; background: #111; }
.guide-attachments { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.guide-attachments img, .guide-attachments video { width: 100%; height: 100%; min-height: 0; object-fit: cover; background: #111; }
.guide-link { margin-top: 16px; }
.guide-two { direction: rtl; }
.guide-two > * { direction: ltr; }
.guide-two .guide-copy { padding-right: 0; padding-left: 48px; }

.enquiry-section { padding: 96px 0; background: var(--orange); }
.enquiry-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 80px; align-items: start; }
.enquiry-grid .kicker { color: var(--ink); }
.enquiry-grid p { font-size: 19px; }
.enquiry-grid small { display: block; margin-top: 20px; max-width: 600px; font-weight: 700; }
.site-footer { padding: 35px 0; background: var(--ink); color: #d8ddd9; }
.footer-inner { display: flex; align-items: center; gap: 24px; }
.footer-inner img { width: 145px; height: auto; filter: none; }
.footer-inner p { margin: 0 auto; font-size: 12px; }
.footer-inner a { display: inline-flex; min-height: 44px; align-items: center; font-size: 12px; font-weight: 900; }

.reveal { animation: rise 650ms both cubic-bezier(.2,.7,.2,1); }
.hero-media.reveal { animation-delay: 130ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media (max-width: 1050px) {
  .header-button { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { width: min(760px, 100%); min-height: 600px; }
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .service-feature { grid-template-columns: 1fr; }
  .service-media video { min-height: 460px; max-height: 620px; }
  .service-gallery { grid-template-columns: 1fr 1fr; }
  .guide { grid-template-columns: 1fr; }
  .guide-copy, .guide-two .guide-copy { padding: 32px 0; }
  .guide-two { direction: ltr; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, var(--shell)); }
  .section { padding: 74px 0; }

  .header-inner { min-height: 72px; }
  .brand img { width: 158px; }
  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-left: auto;
    border: 1px solid var(--ink);
    border-radius: 2px;
    padding: 9px 12px;
    background: transparent;
    color: var(--ink);
    font: 800 12px var(--body);
  }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; margin: 0; border-bottom: 1px solid var(--line); padding: 14px 20px 22px; background: var(--paper); }
  .primary-nav.is-open { display: grid; gap: 14px; }
  .primary-nav a { min-height: 44px; padding: 12px 0; }
  h1 { font-size: clamp(3.25rem, 16vw, 5.4rem); }
  .hero-grid { gap: 42px; padding-block: 56px 64px; }
  .hero-lead { font-size: 17px; }
  .hero-media { min-height: 430px; }
  .hero-main { width: 82%; height: 330px; }
  .hero-small { height: 150px; border-width: 5px; }
  .field-stamp { top: 22px; left: 0; width: 135px; }
  .field-stamp strong { font-size: 26px; }
  .ribbon-inner { display: grid; gap: 6px; padding: 17px 0; }
  .ribbon-inner i { display: none; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 410px; padding: 42px 28px; }
  .equipment-grid { grid-template-columns: 1fr; }
  .equipment-wide { grid-column: auto; }
  .equipment-card, .equipment-card img, .equipment-wide img { min-height: auto; height: 260px; }
  .equipment-card { height: auto; }
  .service-media video { min-height: 330px; }
  .service-item { grid-template-columns: 38px 1fr; padding: 24px 20px; }
  .service-list h3 { font-size: 26px; }
  .service-gallery { grid-template-columns: 1fr 1fr; }
  .service-gallery img { height: 180px; }
  .guide-pair, .guide-media-stack { min-height: 0; grid-template-columns: 1fr; }
  .guide-pair img, .guide-media-stack img, .guide-media-stack video { min-height: 320px; max-height: 480px; }
  .guide-attachments { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
  .guide-attachments img, .guide-attachments video { min-height: 280px; max-height: 440px; }

  .enquiry-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner p { margin: 0; }
}

@media (max-width: 440px) {
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button, .button-row .text-link { width: 100%; justify-content: center; }
  .hero-media { min-height: 380px; }
  .hero-main { height: 280px; }
  .hero-small { bottom: 0; height: 130px; }
  .field-stamp { width: 118px; padding: 10px; }
  .service-gallery { grid-template-columns: 1fr; }
}
body.admin-bar .site-header { top: 32px; }
body.guide-page { background: var(--cream); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.plan-actions button:disabled { cursor: not-allowed; opacity: .52; }
.privacy-settings { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.consent-panel { position: fixed; z-index: 10000; right: 20px; bottom: 20px; width: min(620px, calc(100% - 40px)); padding: 24px; border: 1px solid rgba(255,255,255,.2); border-top: 6px solid var(--orange); border-radius: 18px; background: var(--forest); color: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.consent-panel[hidden] { display: none; }
.consent-panel h2 { margin: 4px 0 8px; color: #fff; font-size: clamp(24px, 4vw, 34px); }
.consent-panel p { margin: 0; line-height: 1.55; }
.consent-panel .kicker { color: #ffb184; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent-actions .button { min-width: 150px; color: var(--ink); }
.consent-actions .button-dark { color: var(--white); }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } .consent-panel { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; } }
