/* Outdoor Equity — static project example pages
   Shared stylesheet. Mobile-first, no build step. Brand v2. */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  /* Brand v2 palette */
  --ink: #0F1E2A;            /* navy: headings, primary text */
  --ink-soft: #5B6168;       /* greyText: secondary body text */
  --ink-faint: #5B6168;
  --green: #0F1E2A;          /* navy for headings, nav text, dark sections */
  --green-2: #3F7A1F;        /* greenDeep: small green text, links */
  --green-accent: #7AC043;   /* brand green: accents, buttons, icons */
  --green-hover: #6AAE36;
  --green-tint: #D6EDB8;     /* greenSoft: badges, panels, icon tiles */
  --sand: #F6F5EE;           /* offWhite page background */
  --surface: #ffffff;
  --line: #D5D8DA;
  --grey: #8E9399;
  --timber: #B07A4A;
  --amber-bg: #fdf6e3;
  --amber-line: #e9d8a6;
  --amber-ink: #7a5b12;
  --radius: 14px;
  --max: 720px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 720px) {
  body {
    font-size: 18px;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

:focus-visible {
  outline: 3px solid var(--green-2);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-accent);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 20;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- masthead ---------- */

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.site-logo__suffix {
  margin-left: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}

.site-logo:hover .site-logo__suffix {
  color: var(--green-2);
}

@media (max-width: 480px) {
  .site-logo img {
    height: 34px;
  }
}

.wordmark {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  color: var(--green);
  text-decoration: none;
}

.wordmark span {
  color: var(--green-2);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green);
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: var(--green);
  font-weight: 700;
}

/* ---------- layout ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 8px;
}

.wrap--wide {
  max-width: 1040px;
}

main {
  display: block;
}

.crumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px 0;
  font-size: 0.86rem;
  color: var(--ink-faint);
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.crumbs li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--ink-faint);
}

.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- typography ---------- */

h1,
h2,
h3 {
  font-family: var(--font);
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: 1.85rem;
  font-weight: 800;
}

h2 {
  font-size: 1.42rem;
  font-weight: 750;
  margin-top: 2.4rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.8rem;
}

@media (min-width: 720px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.7rem;
  }
}

p {
  margin: 0 0 1.1em;
}

.lede {
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.meta-line {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0 0 1.4rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45em;
}

ul.plain {
  list-style: none;
  padding-left: 0;
}

/* ---------- badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-2);
  background: var(--green-tint);
  border: 1px solid var(--green-accent);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-2);
}

/* ---------- quick answer ---------- */

.quick-answer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-2);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 2rem;
  box-shadow: 0 8px 24px -20px rgba(28, 25, 23, 0.5);
}

.quick-answer h2 {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-2);
}

.quick-answer p {
  margin: 0;
  font-size: 1.02rem;
}

/* ---------- figures ---------- */

figure {
  margin: 1.6rem 0;
}

figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eee;
}

.hero {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.step-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* brand photography: tradie, AI guide and homeowner */
.brand-photo {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.brand-tile {
  max-width: 520px;
  aspect-ratio: 505 / 335;
  object-fit: cover;
}

figcaption {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 8px;
}

/* ---------- fact table ---------- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.4rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts th[scope="row"] {
  text-align: left;
  vertical-align: top;
  width: 42%;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf9;
}

.facts td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.facts tr:last-child th,
.facts tr:last-child td {
  border-bottom: 0;
}

/* ---------- timeline ---------- */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  counter-reset: step var(--step-start, 0);
}

.timeline > li {
  position: relative;
  padding: 0 0 1.4rem 3rem;
  counter-increment: step;
}

.timeline > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  border: 1px solid #cfe0d4;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.timeline > li::after {
  content: "";
  position: absolute;
  left: 1.04rem;
  top: 2.4rem;
  bottom: 0.2rem;
  width: 1px;
  background: var(--line);
}

.timeline > li:last-child {
  padding-bottom: 0.2rem;
}

.timeline > li:last-child::after {
  display: none;
}

.timeline .step-title {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.timeline .step-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 600;
  font-size: 0.76rem;
  border: 1px solid var(--line);
  background: #f5f4f2;
  color: var(--ink-soft);
  white-space: nowrap;
}

.chip--you {
  background: #f1f0ee;
  border-color: #e2e0dd;
  color: #44403c;
}

.chip--specialist {
  background: var(--green-tint);
  border-color: var(--green-accent);
  color: var(--ink);
}

.chip--call {
  background: #eeecf8;
  border-color: #d8d2ee;
  color: #4c3f86;
}

.duration {
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.timeline > li.is-specialist .step-title {
  color: var(--green-2);
}

/* ---------- callouts ---------- */

.callout {
  background: var(--amber-bg);
  border: 1px solid var(--amber-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 1.6rem 0;
  color: var(--amber-ink);
  font-size: 0.95rem;
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  color: #5c430a;
}

.callout ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* ---------- faq ---------- */

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--green);
  padding: 14px 26px 14px 0;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--green-2);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

/* ---------- cta ---------- */

.cta {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 26px 24px;
  margin: 2.4rem 0;
}

.cta h2 {
  color: #fff;
  margin-top: 0;
  font-size: 1.35rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.2rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 11px;
  padding: 12px 20px;
  border: 1px solid transparent;
}

.btn--light {
  background: var(--green-accent);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--green-hover);
  color: var(--ink);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- related / cards ---------- */

.related {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .related {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: 14px 16px 18px;
}

.card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.card h3 a {
  text-decoration: none;
  color: var(--green);
}

.card h3 a:hover {
  text-decoration: underline;
}

.card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* hub example cards */

.examples {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.examples > li {
  margin: 0;
}

@media (min-width: 640px) {
  .examples {
    grid-template-columns: repeat(2, 1fr);
  }
}

.facts-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 10px;
  font-size: 0.84rem;
}

.facts-list dt {
  font-weight: 700;
  color: var(--green-2);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 7px;
}

.facts-list dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- sources ---------- */

.sources ul {
  font-size: 0.92rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  border-top: 10px solid transparent;
  border-image: repeating-linear-gradient(115deg, #7AC043 0 14px, #A6D57A 14px 28px, #D6EDB8 28px 42px, #B07A4A 42px 56px) 10;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 3.5rem;
  padding: 40px 20px 46px;
  font-size: 0.88rem;
}

.site-footer__logo {
  height: 38px;
  width: auto;
  display: block;
  margin: 0 0 10px;
}

.site-footer__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #fff;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer__brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1rem;
  margin: 0 0 4px;
}

.site-footer small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.6;
}

.disclaimer {
  border-top: 1px solid var(--line);
  margin-top: 2.2rem;
  padding-top: 16px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
