/* Backyard Pods — homepage refresh. Load after /content/style.css. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --slate-grey-50: #f1f4f4;
  --slate-grey-100: #e2e9e9;
  --slate-grey-200: #c5d2d3;
  --slate-grey-300: #a9bcbc;
  --slate-grey-400: #8ca5a6;
  --slate-grey-500: #6f8f90;
  --slate-grey-600: #597273;
  --slate-grey-700: #435656;
  --slate-grey-800: #2c393a;
  --slate-grey-900: #161d1d;
  --slate-grey-950: #101414;

  --dusty-olive-50: #f3f4f0;
  --dusty-olive-100: #e7e9e2;
  --dusty-olive-200: #d0d3c5;
  --dusty-olive-300: #b8bda8;
  --dusty-olive-400: #a0a78b;
  --dusty-olive-500: #88916e;
  --dusty-olive-600: #6d7458;
  --dusty-olive-700: #525742;
  --dusty-olive-800: #373a2c;
  --dusty-olive-900: #1b1d16;
  --dusty-olive-950: #13140f;
  


  --brand: var(--dusty-olive-700);
  --brand-hover: var(--dusty-olive-800);
  --brand-soft: var(--dusty-olive-200);
  --ink: var(--slate-grey-900);
  --muted: var(--slate-grey-700);
  --surface: #fff;
  --page: var(--slate-grey-50);
  --tint: var(--dusty-olive-100);
  --line: var(--slate-grey-200);
  --forest: var(--dusty-olive-700);
  --forest-dark: var(--dusty-olive-800);
  --lime: var(--dusty-olive-300);
  --focus: var(--dusty-olive-600);
  --radius: 20px;
  --shadow: 0 18px 50px rgb(22 29 29 / 9%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.7 'DM Sans', sans-serif; }
body :is(h1,h2,h3,h4) { font-family: Manrope, sans-serif; line-height: 1.2; letter-spacing: -.035em; }
body h1 { font-size: clamp(2.5rem,5vw,4.7rem); }
body h2 { font-size: clamp(1.6rem,2.5vw,2.5rem); }
body h3 { font-size: clamp(1.25rem,1.8vw,1.7rem); }
body p { margin: 0 0 1.2rem; }
body img { max-width: 100%; height: auto; }
body a { color: var(--brand); text-underline-offset: 3px; }
body :is(a,button,input,textarea,select,summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Header composition matched to the supplied reference. */
#header {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: clamp(2.5rem,5vw,5rem);
  row-gap: 0;
  min-height: 620px;
  padding: 58px max(4.4vw,calc((100vw - 1200px)/2));
  background: var(--slate-grey-800);
  color: var(--slate-grey-50);
}
#header > div:first-child {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 650px;
  text-align: left;
}
#header h1 {
  max-width: 650px;
  margin: 0 0 clamp(2.5rem,5.7vw,4.75rem);
  color: var(--slate-grey-50);
  font-size: clamp(2.6rem,5.2vw,4.3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.04em;
  text-wrap: balance;
}
#header h1 em {
	font-family:Georgia, serif;
	font-weight:100;
	color:var(--dusty-olive-300);
	font-size: 50px;
}
#header h1::before {
  content: 'BUILT FOR AUSTRALIAN LIVING';
  display: block;
  margin-bottom: 32px;
  color: var(--slate-grey-50);
  font: 800 .78rem/1.5 Manrope,sans-serif;
  letter-spacing: .15em;
}
#header :is(h2,h3) {
  margin: 0 0 34px;
  max-width: 620px;
  color: var(--dusty-olive-400);
  font-size: clamp(1.7rem,3.1vw,2.55rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.035em;
  text-wrap: balance;
}
#header > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#header > div:nth-child(2) img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0;
  border: 0px solid var(--dusty-olive-700);
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  box-shadow: none;
}
#header > p {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 620px;
  margin: 0;
  color: var(--slate-grey-50);
  font-size: 1rem;
  line-height: 1.7;
}
#header > div:first-child > p {
  margin: 0;
  color: var(--slate-grey-50);
  font-size: 1rem;
  line-height: 1.7;
}
#header a { color: var(--dusty-olive-200); }
#header :is(a,button,input,textarea,select,summary):focus-visible { outline-color: var(--dusty-olive-200); }

#body { width: 100%; }
#body > .Details { width: 100%; }
#body > .Details > div:first-child { max-width: 1260px; margin: 0 auto; padding: 5rem 24px 2rem; }
#body > .Details > div:first-child h2 { max-width: 850px; margin: 0 auto 2.5rem; text-wrap: balance; }
#body > .Details > div:first-child > a { display: inline-block; margin: 6px; overflow: hidden; border-radius: 18px; background: white; box-shadow: 0 8px 30px rgba(23,61,53,.09); transition: transform .25s, box-shadow .25s; }
#body > .Details > div:first-child > a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
#body > .Details > div:first-child > a img { display: block; width: min(370px, 80vw); aspect-ratio: 1.55; object-fit: cover; }
#body > .Details > br { display: none; }

.hero-backyard-pods, .backyard-benefits, .backyard-introduction, .pod-categories, .build-options, .quote-cta { padding: clamp(4rem,7vw,7rem) max(24px,calc((100vw - 1200px)/2)); }
.hero-backyard-pods { margin: 3rem 24px 0; padding: clamp(3rem,5vw,5.5rem); border-radius: 32px; background: var(--forest); color: white; box-shadow: var(--shadow); }
.hero-content { max-width: 900px; margin: auto; text-align: center; }
.hero-content h2 { margin: 0 0 1.25rem; color: white; }
.hero-intro { color: #f0f0e1; font-size: 1.15rem; }
.hero-options { color: var(--lime); font-size: .95rem; letter-spacing: .07em; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 2rem; }
.btn, .Button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .85rem 1.55rem; border: 1px solid transparent; border-radius: 12px; font: 800 .95rem/1.25 Manrope,sans-serif; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover, .Button:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--forest-dark); }
.btn-primary:hover { background: #f0efb5; }
.Button { background: var(--forest-dark); color: white; }
.Button:hover { background: #50551f; }
.btn-secondary { border-color: rgba(255,255,255,.65); color: white; background: transparent; }
.btn-secondary:hover { background: rgba(255,255,255,.14); }

.backyard-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.benefit, .pod-card, .build-option { min-width: 0; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 28px rgba(23,61,53,.045); }
.benefit::before { content: ''; display: block; width: 42px; height: 42px; margin-bottom: 1.5rem; border-radius: 12px; background: var(--lime); box-shadow: inset 0 0 0 13px var(--forest); }
.benefit h3, .pod-card h3, .build-option h3 { margin: 0 0 .8rem; }
.benefit p, .pod-card p, .build-option p { margin: 0; color: var(--muted); }
.backyard-introduction { padding-top: 1rem; max-width: 1050px; margin: auto; text-align: center; }
.backyard-introduction h2 { margin: 0 0 1.7rem; }
.backyard-introduction p { color: var(--muted); font-size: 1.08rem; }
.backyard-introduction strong { color: var(--ink); }

.pod-categories { background: #f0f0dc; }
.section-heading { max-width: 750px; margin: 0 auto 3rem; text-align: center; }
.section-heading h2 { margin: 0 0 1rem; }
.section-heading p { color: var(--muted); }
.pod-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.pod-card { display: flex; flex-direction: column; min-height: 255px; transition: transform .25s, box-shadow .25s; }
.pod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pod-card::before { content: 'EXPLORE'; margin-bottom: 2.1rem; color: #659075; font: 800 .7rem Manrope,sans-serif; letter-spacing: .15em; }
.pod-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 1.7rem; font-weight: 700; text-decoration: none; }
.pod-card a::after { content: '↗'; font-size: 1.25rem; }
.build-options { background: var(--white); }
.build-options-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.build-option { background: var(--paper); }
.build-option::before { content: '01'; display: block; margin-bottom: 1.5rem; color: #8cae81; font: 800 2rem Manrope,sans-serif; }
.build-option:nth-child(2)::before { content: '02'; }
.build-option:nth-child(3)::before { content: '03'; }
.quote-cta { background: var(--forest); text-align: center; }
.quote-cta { color: white; }
.quote-cta h2 { margin: 0 0 1rem; color: white; }
.quote-cta p { max-width: 650px; margin: auto; }

/* Long-form content, category index, and contact area. */
#body > .Details > section:not([class]):not([id]) { max-width: 900px; margin: 0 auto; padding: 1.2rem 24px; color: var(--muted); }
#body > .Details > section:not([class]):not([id]):first-of-type { padding-top: 4rem; }
#body > .Details > h2, #body > .Details > ol { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
#body > .Details > h2 { margin-top: 3rem; }
#body > .Details > ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 30px; padding-left: 50px; }
#body > .Details > ol li { padding: .45rem; }
#body > .Details > ol a { font-weight: 600; }

.bandcontact { padding: clamp(4rem,7vw,7rem) 24px; background: #f0f0dc; }
.bandcontact .row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; max-width: 1200px; margin: auto; }
.bandcontact .column { width: auto; float: none; padding: 0; }
.bandcontact .card { height: 100%; padding: clamp(1.5rem,3vw,3rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.bandcontact h2 { margin: 0 0 1rem; }
.bandcontact .card > div img { max-width: 100%; }
.bandcontact form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.bandcontact form :is(input,textarea) { width: 100%; min-width: 0; min-height: 50px; padding: .85rem 1rem; border: 1px solid #cad8ce; border-radius: 10px; background: #fbfcfa; color: var(--ink); font: inherit; }
.bandcontact form :is(input,textarea)::placeholder { color: #687d72; }
.bandcontact form textarea, .bandcontact form img, .bandcontact form #captcha, .bandcontact form .Button, .bandcontact form h3 { grid-column: 1 / -1; }
.bandcontact form textarea { min-height: 120px; resize: vertical; }
.bandcontact form img { max-width: 220px; }
.bandcontact form .Button { border: 0; }

#footer { padding: 3.5rem 24px; background: var(--forest-dark); color: #dce8df; text-align: center; }
#footer img { max-width: 180px; }
#footer a { color: var(--lime); }
#footer p { margin: 1.4rem 0 0; }

/* Category pages: HeadCat() renders a nested text section, not the home hero image. */
body:has(#header > h1) #header { display: block; min-height: 0; padding-top: clamp(4rem,7vw,7rem); padding-bottom: clamp(4rem,7vw,7rem); }
body:has(#header > h1) #header > h1 { max-width: 1100px; margin: 0 auto 1.4rem; font-size: clamp(2.7rem,5.5vw,5rem); text-transform: capitalize; }
body:has(#header > h1) #header > section { max-width: 1100px; margin: 0 auto; }
body:has(#header > h1) #header > section h2 { max-width: 850px; margin: 0 0 1rem; color: var(--lime); font-size: clamp(1.35rem,2.5vw,2.2rem); }
body:has(#header > h1) #header > section p { max-width: 780px; margin: 0; color: #f0f0e1; font-size: 1.08rem; }
body:has(#header > h1) #body > .Details { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.9fr); align-items: start; gap: 24px clamp(24px,4vw,60px); max-width: 1200px; margin: 0 auto; padding: clamp(3.5rem,6vw,6rem) 24px; }
body:has(#header > h1) #body > .Details > h2 { grid-column: 1 / -1; max-width: none; margin: 0 0 .6rem; padding: 0; }
body:has(#header > h1) #body > .Details > h2 img { width: 24px; height: auto; margin-right: 8px; vertical-align: middle; }
body:has(#header > h1) #body > .Details > p { grid-column: 1 / -1; margin: 0 0 .8rem; color: var(--muted); }
body:has(#header > h1) #body > .Details > img { grid-column: 1; display: block; width: 100%; max-height: 620px; object-fit: contain; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
body:has(#header > h1) #body > .Details > ol { grid-column: 2; grid-row: 3 / span 3; display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; margin: 0; padding: 0; list-style: none; counter-reset: region; }
body:has(#header > h1) #body > .Details > ol li { counter-increment: region; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: white; transition: transform .2s, box-shadow .2s; }
body:has(#header > h1) #body > .Details > ol li:hover { transform: translateX(4px); box-shadow: 0 8px 24px rgba(53,57,22,.10); }
body:has(#header > h1) #body > .Details > ol a { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 10px 16px; color: var(--forest-dark); text-decoration: none; text-transform: capitalize; }
body:has(#header > h1) #body > .Details > ol a::before { content: counter(region, decimal-leading-zero); color: #868b50; font: 800 .8rem Manrope,sans-serif; }
body:has(#header > h1) #body > .Details > address { grid-column: 1 / -1; margin-top: 1rem; font-style: normal; }
body:has(#header > h1) #body > .Details > address .Button { padding-inline: 2rem; }
body:has(#header > h1) #body > div[align="center"] { padding: 0 24px 5rem; }
body:has(#header > h1) #body > div[align="center"] img { display: block; width: min(100%,1200px); max-height: 460px; margin: 0 auto; object-fit: cover; border-radius: var(--radius); }

/* State pages have a direct <br> after the contact link and a long city list. */
body:has(#body > .Details > br) #body > .Details > img { grid-row: 2; max-height: 430px; }
body:has(#body > .Details > br) #body > .Details > address { grid-column: 2; grid-row: 2; align-self: center; margin: 0; padding: clamp(1.5rem,3vw,3rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
body:has(#body > .Details > br) #body > .Details > address::before { content: 'Planning a backyard pod?'; display: block; margin-bottom: 1rem; color: var(--ink); font: 800 clamp(1.3rem,2vw,1.8rem)/1.3 Manrope,sans-serif; }
body:has(#body > .Details > br) #body > .Details > br { display: none; }
body:has(#body > .Details > br) #body > .Details > ol { grid-column: 1 / -1; grid-row: auto; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 2rem; }
body:has(#body > .Details > br) #body > .Details > ol::before { content: 'Explore by locality'; grid-column: 1 / -1; margin-bottom: .5rem; font: 800 clamp(1.6rem,2.7vw,2.4rem)/1.2 Manrope,sans-serif; letter-spacing: -.035em; }
body:has(#body > .Details > br) #body > .Details > ol li:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
  body:has(#header > h1) #body > .Details { grid-template-columns: 1fr; }
  body:has(#header > h1) #body > .Details > :is(h2,p,img,ol,address) { grid-column: 1; }
  body:has(#header > h1) #body > .Details > ol { grid-row: auto; }
  body:has(#body > .Details > br) #body > .Details > img, body:has(#body > .Details > br) #body > .Details > address { grid-row: auto; }
  body:has(#body > .Details > br) #body > .Details > ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #header { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); column-gap: 2rem; }
  #header h1 { font-size: clamp(2.2rem,4vw,3.3rem); }
  #header > div:nth-child(2) img { height: 420px; }
  .backyard-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pod-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bandcontact .row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body:has(#body > .Details > br) #body > .Details > ol { grid-template-columns: 1fr; }
  #header { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; padding: 3.5rem 24px; }
  #header > div:first-child { grid-column: 1; grid-row: 1; }
  #header > p { grid-column: 1; grid-row: 2; margin-bottom: 2rem; }
  #header > div:nth-child(2) { grid-column: 1; grid-row: 3; border-width: 5px; border-radius: 18px; }
  #header > div:nth-child(2) { min-height: 0; }
  #header > div:nth-child(2) img { height: auto; max-height: 340px; aspect-ratio: 4 / 3; }
  .hero-backyard-pods { margin: 1rem 16px 0; padding: 3rem 20px; border-radius: 20px; }
  .hero-buttons, .hero-buttons .btn { width: 100%; }
  .backyard-benefits, .pod-grid, .build-options-grid { grid-template-columns: 1fr; }
  .backyard-benefits { gap: 12px; }
  .benefit, .pod-card, .build-option { padding: 1.5rem; }
  .pod-card { min-height: 220px; }
  #body > .Details > ol { grid-template-columns: 1fr; }
  .bandcontact form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
