/* =====================================================================
   whatcani.build — shared site stylesheet (wcib.css)
   Source of truth for the look of all pages. Built from the
   "whatcani.build" design system (Gehl-led, September 2026).
   Every page links this one file: change a colour or font here once.
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --paper: #FCFBFA;       /* default ground */
  --stone: #E6E1DA;       /* alternate ground, cards on paper */
  --stone-deep: #C4BDB3;  /* hairlines on light grounds (non-text) */
  --sky: #7AACD0;         /* one feature band per page; ink text only */
  --ink: #1E1919;         /* text on light; dark sections */
  --charcoal: #4A4845;    /* secondary text on paper/stone */
  --taupe: #7F7A76;       /* non-text only: input borders, disabled */
  --muted: #B8B6B0;       /* secondary text on ink */
  --orange: #FF7700;      /* the one brand spot; ink text on it */
  --navy: #2B4984;        /* icon strokes on light grounds */
  --hairline-inverse: rgba(252,251,250,0.16);

  --font-serif: Newsreader, "Times New Roman", Georgia, serif;
  --font-sans: Inter, Arial, Helvetica, sans-serif;
  --font-display-sans: "Inter Tight", Inter, Arial, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --radius-sm: 3px; --radius-md: 8px; --radius-lg: 20px; --radius-pill: 50px;
  --container: 1240px; --measure: 680px;
  --gutter: var(--space-6);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.on-ink :focus-visible { outline-color: var(--paper); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: var(--radius-pill); z-index: 300; }
.skip-link:focus { left: 16px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-5); row-gap: var(--space-8); }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-12 { grid-column: 1 / -1; }
.start-1 { grid-column: 1 / span 6; } .start-7 { grid-column: 7 / span 6; } .start-8 { grid-column: 8 / span 5; }
.cols-2, .cols-3, .cols-4 { display: grid; gap: var(--space-5); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.stack-lg { display: flex; flex-direction: column; gap: var(--space-7); }
.row { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.align-end { align-self: end; }
.section-head { row-gap: var(--space-4); margin-bottom: var(--space-8); }

/* ---------- section tones (text colour set once here, inherited) ---------- */
.section { padding: var(--space-10) 0; }
.on-paper { background: var(--paper); color: var(--ink); }
.on-stone { background: var(--stone); color: var(--ink); }
.on-sky   { background: var(--sky);   color: var(--ink); }
.on-ink   { background: var(--ink);   color: var(--paper); }
.secondary { color: var(--charcoal); }
.on-sky .secondary { color: var(--ink); }
.on-ink .secondary { color: var(--muted); }
.accent-word { color: var(--orange); } /* only inside .on-ink */

/* ---------- type ---------- */
.label { display: block; font-size: 13px; line-height: 18px; font-weight: 700; margin: 0; }
.display, .h1, .h2, .h3, .h4, .lead, .quote-text { font-family: var(--font-serif); font-weight: 400; margin: 0; }
.display { font-size: 80px; line-height: 82px; letter-spacing: -0.01em; }
.h1 { font-size: 48px; line-height: 52px; letter-spacing: -0.01em; }
.h2 { font-size: 40px; line-height: 44px; letter-spacing: -0.005em; }
.h3 { font-size: 28px; line-height: 31px; }
.h4 { font-size: 20px; line-height: 26px; }
.lead { font-size: 22px; line-height: 31px; max-width: var(--measure); }
p { margin: 0; }
.small { font-size: 14px; line-height: 21px; }
.caption { font-size: 12px; line-height: 17px; }
.num { font-family: var(--font-display-sans); font-size: 15px; font-weight: 500; }

/* ---------- logo (live text) ---------- */
.logo { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--font-display-sans); font-weight: 800; font-size: 22px; line-height: 24px; letter-spacing: -0.03em; text-decoration: none; color: inherit; white-space: nowrap; }
.logo__mark { flex: none; width: 30px; height: 30px; }
.logo__q { fill: var(--orange); }
.logo__word > span { color: var(--orange); }
.hero-eyebrow__part { white-space: nowrap; }
/* The LinkedIn mark: LinkedIn allows only its own blue, black on light grounds or white on dark grounds.
   Pure black and white here are LinkedIn's rule, the one exception to the palette tokens. */
.li-mark { fill: #000000; flex: none; }
.on-ink .li-mark, .site-footer .li-mark { fill: #FFFFFF; }
@media (max-width: 600px) { .hero-eyebrow__part { display: block; } .hero-eyebrow__sep { display: none; } }
@media (max-width: 360px) { .logo { font-size: 20px; gap: 8px; } .logo__mark { width: 26px; height: 26px; } }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 600; padding: 13px 24px; min-height: 48px; border-radius: var(--radius-pill); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--stone); }
.on-ink .btn-secondary { color: var(--paper); border-color: var(--paper); }
.on-ink .btn-secondary:hover, .on-ink .btn-primary:hover { background: var(--paper); color: var(--ink); }
.link { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- chips ---------- */
.chip { display: inline-block; font-size: 13px; line-height: 18px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--stone); color: var(--ink); }
.on-stone .chip, .on-sky .chip { background: var(--paper); }
.chip-accent, .on-stone .chip-accent { background: var(--orange); color: var(--ink); }
.card .chip, .price .chip { background: var(--stone); }
.on-paper .card .chip { background: var(--paper); }

/* ---------- cards: one tone step away from the section ---------- */
.card { background: var(--stone); color: var(--ink); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.on-stone .card, .on-sky .card, .on-ink .card { background: var(--paper); color: var(--ink); }
.card .secondary { color: var(--charcoal); }
.card-flush { background: transparent !important; padding: 0; gap: var(--space-4); }
.on-ink .card-flush { color: var(--paper); }
.media { width: 100%; object-fit: cover; border-radius: var(--radius-md); background: var(--stone-deep); }
.media-hero { height: 620px; }
.media-card { height: 300px; }

/* ---------- pathways (dwelling illustrations) ---------- */
.pathway { display: flex; flex-direction: column; gap: var(--space-4); border-top: 1px solid var(--ink); padding-top: var(--space-5); }
.pathway-art { height: 200px; display: flex; align-items: flex-end; color: var(--ink); }
.pathway-art svg { height: 100%; width: auto; max-width: 100%; }
.pathway-art.sm svg { height: 60%; } .pathway-art.md svg { height: 88%; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-7) var(--space-5); text-align: center; }
.stats-num { font-family: var(--font-display-sans); font-size: 64px; line-height: 64px; font-weight: 500; letter-spacing: -0.02em; }
.stats-cap { font-family: var(--font-serif); font-size: 20px; line-height: 26px; margin-top: var(--space-3); }

/* ---------- price card ---------- */
.price { background: var(--paper); color: var(--ink); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.on-paper .price { background: var(--stone); }
.price-amount { font-family: var(--font-display-sans); font-size: 36px; line-height: 44px; font-weight: 500; letter-spacing: -0.02em; }
.price-gst { font-size: 14px; color: var(--charcoal); }
.chip-spacer { height: 30px; }

/* ---------- people ---------- */
.person { display: flex; gap: var(--space-6); align-items: flex-start; border-top: 1px solid var(--stone-deep); padding-top: var(--space-6); }
.person-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; }
.person-body { display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: 6px; }

/* ---------- quotes ---------- */
.quote { margin: 0; }
.quote-text { font-size: 24px; line-height: 33px; margin: 0; }
.quote cite { display: block; font-style: normal; font-size: 13px; line-height: 18px; font-weight: 700; margin-top: var(--space-5); }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 21px; }
.table th { text-align: left; font-weight: 700; font-size: 13px; padding: 12px 16px; border-bottom: 1.5px solid currentColor; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--stone-deep); vertical-align: top; }
.table td:first-child { font-weight: 600; }
.on-ink .table td { border-bottom-color: var(--hairline-inverse); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--stone-deep); }
.faq details { border-bottom: 1px solid var(--stone-deep); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); padding: 20px 0; font-family: var(--font-serif); font-size: 20px; line-height: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 20px; max-width: var(--measure); }
.on-ink .faq, .on-ink .faq details { border-color: var(--hairline-inverse); }

/* ---------- icons ---------- */
.icon { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.on-ink .icon { stroke: var(--sky); }

/* ---------- forms ---------- */
.form-panel { background: var(--paper); color: var(--ink); border-radius: var(--radius-md); padding: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.on-paper .form-panel { background: var(--stone); }
.field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; line-height: 18px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--taupe); border-radius: var(--radius-sm); padding: 12px 14px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field-hint { font-size: 13px; line-height: 18px; color: var(--charcoal); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--paper); color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--stone-deep); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding-top: 18px; padding-bottom: 18px; }
.nav-links { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; fill: none; }
.mobile-menu { display: none; position: fixed; inset: 0; top: 68px; background: var(--paper); z-index: 190; padding: var(--space-6) var(--space-4); flex-direction: column; gap: var(--space-4); overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) { font-family: var(--font-serif); font-size: 28px; line-height: 36px; text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: var(--space-9) 0 var(--space-6); }
.site-footer .top { border-top: 1px solid var(--hairline-inverse); padding-top: var(--space-8); }
.footer-tagline { font-family: var(--font-serif); font-size: 24px; line-height: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .label { margin-bottom: 4px; }
.site-footer .footer-col { grid-column: span 2; min-width: 0; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-legal { margin-top: var(--space-8); font-size: 12px; line-height: 17px; color: var(--muted); }

/* ---------- scroll reveal (never on elements taller than the viewport) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .btn { display: none; }
  .display { font-size: 60px; line-height: 62px; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-4, .span-5, .span-6, .span-7, .start-1, .start-7, .start-8 { grid-column: 1 / -1; }
  .media-hero { height: 440px; }
  .site-footer .footer-col { grid-column: span 3; }
}

/* ---------- phone ---------- */
@media (max-width: 600px) {
  :root { --gutter: var(--space-4); }
  .section { padding: var(--space-8) 0; }
  .grid-12 { row-gap: var(--space-5); }
  .section-head { margin-bottom: var(--space-6); }
  .display { font-size: 44px; line-height: 46px; }
  .h1 { font-size: 36px; line-height: 40px; }
  .h2 { font-size: 32px; line-height: 36px; }
  .h3 { font-size: 24px; line-height: 28px; }
  .lead { font-size: 19px; line-height: 27px; }
  .quote-text { font-size: 21px; line-height: 29px; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .cols-4.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
  .cols-4:not(.keep-2) { grid-template-columns: 1fr; }
  .stats-num { font-size: 44px; line-height: 44px; }
  .stats-cap { font-size: 17px; line-height: 23px; }
  .pathway-art { height: 110px; }
  .media-hero { height: 280px; }
  .media-card { height: 220px; }
  .row.stretch-mobile { flex-direction: column; align-items: stretch; }
  .card:not(.card-flush), .price { padding: var(--space-5); }
  .person { flex-direction: column; gap: var(--space-4); padding-top: var(--space-5); }
  .person-photo { width: 88px; height: 88px; }
  .form-panel { grid-template-columns: 1fr; padding: var(--space-5); }
  .chip-spacer { display: none; }
  .footer-tagline { font-size: 21px; line-height: 28px; }
}

/* =====================================================================
   INNER-PAGE BUILDING BLOCKS
   The inner pages keep their own class names; they are styled here in
   the new design. Section tones: .on-white = paper, .on-black = stone
   (legacy names kept so page markup did not have to change).
   ===================================================================== */
:root { --accent-text: var(--navy);
  /* legacy names still used inside page markup */
  --blue: var(--navy); --black: var(--ink); --white: var(--paper); --card-hairline: var(--stone-deep); --hairline: var(--stone-deep); --card-muted: var(--charcoal); }
.on-ink { --accent-text: var(--orange); }

section.on-white, section.on-black { padding: var(--space-10) 0; }
section.on-white { background: var(--paper); color: var(--ink); }
section.on-black { background: var(--stone); color: var(--ink); }
.wrap { box-sizing: content-box; width: auto; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* page hero */
.page-hero { background: var(--paper); color: var(--ink); padding: var(--space-9) max(var(--gutter), calc((100% - var(--container)) / 2)); }
.page-hero h1 { font-family: var(--font-serif); font-weight: 400; font-size: 72px; line-height: 76px; letter-spacing: -0.01em; margin: 0; max-width: 980px; }
.page-hero h1 span { font-style: italic; }
.page-hero p { font-family: var(--font-serif); font-size: 22px; line-height: 31px; max-width: 680px; margin-top: var(--space-6); }
.page-glow, .hero-glow { display: none; }

/* photo bands between sections (static, no text on them) */
.parallax-band { position: relative; height: 440px; overflow: hidden; background: var(--stone-deep); }
.pb-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pb-overlay { display: none; }

/* section heads */
.section-head { margin: 0 0 var(--space-8); max-width: 760px; }
.section-head .tag, .tag { display: block; font-size: 13px; line-height: 18px; font-weight: 700; color: inherit; margin-bottom: var(--space-4); text-transform: none; letter-spacing: 0; background: none; border: 0; padding: 0; }
.section-head h2, section h2 { font-family: var(--font-serif); font-weight: 400; font-size: 40px; line-height: 44px; letter-spacing: -0.005em; margin: 0; }
.section-head p { font-family: var(--font-serif); font-size: 22px; line-height: 31px; margin-top: var(--space-5); max-width: var(--measure); }
section h3 { font-family: var(--font-serif); font-weight: 400; }

/* cards: one tone step from the section, no borders */
.card-white, .form-card, .lga-col, .snap-card, .price-card-full, .cmp-wrap { background: var(--stone); color: var(--ink); border: 0; border-radius: var(--radius-md); }
.on-black .card-white, .on-black .form-card, .on-black .lga-col, .on-black .snap-card, .on-black .price-card-full, .on-black .cmp-wrap { background: var(--paper); }
.card-white { padding: var(--space-7); }
.card-white h3 { font-size: 28px; line-height: 31px; margin: 0 0 var(--space-3); }
.card-white strong { font-weight: 700; }

/* buttons with legacy class names */
a.btn-primary, button.btn-primary { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 20px; font-weight: 600; padding: 13px 24px; min-height: 48px; border-radius: var(--radius-pill); text-decoration: none; background: var(--orange); color: var(--ink); border: 0; cursor: pointer; }

/* price cards */
.price-card-full { padding: var(--space-6); display: flex; flex-direction: column; }
.price-card-full.featured { box-shadow: inset 0 0 0 1.5px var(--ink); }
.price-badge { display: inline-block; width: fit-content; background: var(--orange); color: var(--ink); font-size: 13px; line-height: 18px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: var(--space-3); letter-spacing: 0; }

/* comparison table */
.cmp-wrap { overflow-x: auto; padding: var(--space-3) var(--space-5); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 21px; min-width: 560px; }
.cmp-table th { text-align: left; font-weight: 700; font-size: 13px; padding: 14px 16px; border-bottom: 1.5px solid var(--ink); }
.cmp-table td { padding: 14px 16px; border-bottom: 1px solid var(--stone-deep); vertical-align: top; }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table td:first-child { font-weight: 600; }

/* FAQ with legacy answer wrapper */
.faq .faq-a { padding: 0 0 20px; max-width: var(--measure); color: var(--charcoal); }
.faq .faq-a p + p { margin-top: 12px; }
.faq summary { padding: 20px 0; }

/* councils we work across */
.lga-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.lga-col { padding: var(--space-6); }
.lga-col h3 { font-size: 20px; line-height: 26px; margin: 0 0 var(--space-4); text-transform: none; letter-spacing: 0; }
.lga-col ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
.lga-col li { font-size: 13px; line-height: 18px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--paper); border: 0; }
.on-black .lga-col li { background: var(--stone); }

/* project snapshots */
.snap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.snap-card { padding: var(--space-6); }
.snap-meta { font-size: 13px; line-height: 18px; font-weight: 700; margin-bottom: var(--space-3); text-transform: none; letter-spacing: 0; color: inherit; }
.snap-card h3 { font-size: 24px; line-height: 29px; margin: 0 0 var(--space-3); }
.snap-card p { color: var(--charcoal); }
.snap-stat { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--stone-deep); display: flex; gap: var(--space-6); flex-wrap: wrap; }
.snap-stat div { font-size: 13px; color: var(--charcoal); }
.snap-stat strong { display: block; font-family: var(--font-display-sans); font-size: 22px; line-height: 28px; font-weight: 500; color: var(--ink); }

/* forms (contact page) */
.form-card { padding: 40px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; line-height: 18px; font-weight: 700; color: inherit; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--taupe); border-radius: var(--radius-sm); padding: 12px 14px; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form-submit { display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: var(--ink); border: 0; min-height: 48px; padding: 13px 24px; border-radius: var(--radius-pill); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: var(--space-2); }
.form-submit:hover { background: var(--ink); color: var(--paper); }
.contact-note { background: var(--paper); border: 0; border-radius: var(--radius-md); }
.on-white .contact-note { background: var(--stone); }
.contact-note p { color: var(--charcoal); }

/* blog */
.blog-grid { display: grid; }
.article-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(30,25,25,0.72); display: none; align-items: center; justify-content: center; padding: 5vh 4vw; }
.article-overlay.open { display: flex; }
.article-card { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); max-width: 860px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 32px 64px 64px; box-shadow: 0 24px 48px -12px rgba(30,25,25,0.28); -webkit-overflow-scrolling: touch; }
.article-close { position: sticky; top: 0; margin-left: auto; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--stone-deep); cursor: pointer; z-index: 2; }
.article-close svg { stroke: var(--ink); }
.article-body h2 { font-family: var(--font-serif); font-weight: 400; font-size: 36px; line-height: 40px; margin: 0 0 var(--space-3); }
.article-body .article-meta { font-size: 13px; color: var(--charcoal); margin-bottom: var(--space-6); }
.article-body h3 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 29px; margin: var(--space-6) 0 var(--space-3); }
.article-body p { font-size: 16px; line-height: 27px; margin-bottom: var(--space-4); }
.article-body table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; line-height: 21px; }
.article-body th { text-align: left; font-weight: 700; padding: 10px 12px; border-bottom: 1.5px solid var(--ink); }
.article-body td { padding: 10px 12px; border-bottom: 1px solid var(--stone-deep); vertical-align: top; }
.article-body .refs p { font-size: 13.5px; line-height: 21px; margin-bottom: 10px; word-break: break-word; }
.article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* footers of inner-page sections, links inside prose */
section p a:not([class]) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .lga-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero h1 { font-size: 56px; line-height: 60px; }
}
@media (max-width: 600px) {
  section.on-white, section.on-black { padding: var(--space-8) 0; }
  .page-hero { padding: var(--space-8) var(--gutter); }
  .page-hero h1 { font-size: 40px; line-height: 44px; }
  .page-hero p, .section-head p { font-size: 19px; line-height: 27px; }
  .section-head { margin-bottom: var(--space-6); }
  .section-head h2, section h2 { font-size: 32px; line-height: 36px; }
  .parallax-band { height: 260px; }
  .card-white, .form-card { padding: var(--space-5) !important; border-radius: var(--radius-md) !important; }
  .lga-grid, .snap-grid, .form-row { grid-template-columns: 1fr; }
  .article-overlay { padding: 0; }
  .article-card { max-height: 100vh; height: 100%; border-radius: 0; padding: 16px 20px 48px; }
  .article-body h2 { font-size: 28px; line-height: 32px; }
  .article-body table { display: block; overflow-x: auto; }
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns"] > * { min-width: 0; max-width: 100%; }
}

/* ---------- blog subscribe ---------- */
.subscribe-form { display: flex; gap: var(--space-3); max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.subscribe-form input[type="email"] { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--taupe); border-radius: var(--radius-pill); padding: 12px 18px; }
.subscribe-form input[type="email"]:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- street animation (homepage "Pathways mapped") ---------- */
.street { position: relative; background: var(--paper); border-radius: var(--radius-md); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-7); align-items: end; padding: var(--space-7) var(--space-7) 0; }
.street-label { align-self: start; display: flex; flex-direction: column; gap: var(--space-3); max-width: 520px; min-height: 212px; }
.street-step { font-family: var(--font-display-sans); font-size: 15px; font-weight: 500; }
.street-label p { font-size: 16px; line-height: 26px; }
.street-label .street-desc { font-family: var(--font-serif); font-size: 22px; line-height: 31px; }
.street-label .street-path { color: var(--charcoal); }
.street-path strong { color: var(--ink); font-weight: 700; }
.street-label.swap { animation: label-in .5s ease; }
@keyframes label-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.street-scene { position: relative; min-width: 0; width: 100%; }
.street-svg { display: block; width: 100%; height: auto; min-width: 0; }
.street-svg .tag-badge { display: none; }
.street-tag { position: absolute; left: 52.5%; top: 8.28%; transform: translate(-50%, -50%); background: var(--orange); color: var(--ink); font-size: 13px; line-height: 18px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); white-space: nowrap; pointer-events: none; transition: opacity .6s ease; }
.street-tag--three { opacity: 0; }
.street[data-state="townhouses"] .street-tag--one { opacity: 0; }
.street[data-state="townhouses"] .street-tag--three { opacity: 1; transition-delay: .5s; }

/* your site: the approved dwelling SVGs in ink with orange windows */
.street-svg .bld { color: var(--ink); --win: var(--orange); }
/* context: approved greys and blues only */
.street-svg .neighbour { color: var(--taupe); --win: var(--stone-deep); }
.street-svg .trunk { stroke: var(--taupe); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.street-svg .canopy { fill: var(--stone); stroke: var(--taupe); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.street-svg .ground, .street-svg .kerb { stroke: var(--charcoal); stroke-width: 2; }
.street-svg .road { fill: var(--stone); }
.street-svg .road-mark { stroke: var(--paper); stroke-width: 3; stroke-dasharray: 28 22; }
.street-svg .lot-line { stroke: var(--stone-deep); stroke-width: 2; stroke-dasharray: 6 8; }
.street-svg .pole { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; }
.street-svg .lamp-head { fill: var(--navy); }
.street-svg .lamp-light { fill: var(--sky); }
.street-svg .person-navy { fill: var(--navy); stroke: var(--navy); }
.street-svg .person-sky { fill: var(--sky); stroke: var(--sky); }
.street-svg .person-grey { fill: var(--taupe); stroke: var(--taupe); }
.street-svg .walker circle, .street-svg .walker rect { stroke: none; }
.street-svg .leg { stroke-width: 3; stroke-linecap: round; }
.street-svg .car-navy { fill: var(--navy); }
.street-svg .car-sky { fill: var(--sky); }
.street-svg .car-glass { fill: var(--paper); opacity: .85; }
.street-svg .wheel { fill: var(--charcoal); stroke: var(--stone); stroke-width: 3; }
.street-svg .tag-line { stroke: var(--ink); stroke-width: 1.5; }
.street-svg .tag-pill { fill: var(--orange); }
.street-svg .tag-text { font-family: var(--font-sans); font-size: 15px; font-weight: 700; fill: var(--ink); }

/* morph: each option grows out of the one before it (original → extension → duplex → townhouses).
   A hidden building waits at the size of its predecessor; a departing one stretches to its successor's size. */
.street-svg .bld { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1.1s cubic-bezier(.3,.7,.2,1), opacity .7s ease; }
.street-svg .lot-tag, .street-svg .lot-line.inner { transition: opacity .6s ease; }
.street-svg .lot-three { opacity: 0; }

.street-svg .b-original   { transform: scale(1, 1.66); opacity: 0; }
.street-svg .b-extension  { transform: scale(1, .6); opacity: 0; }
.street[data-state="duplex"] .b-extension, .street[data-state="townhouses"] .b-extension { transform: scale(1.54, .88); }
.street-svg .b-duplex     { transform: scale(.65, 1.13); opacity: 0; }
.street[data-state="townhouses"] .b-duplex { transform: scale(2.5, 1.13); }
.street-svg .b-townhouses { transform: scale(.4, .88); opacity: 0; }

.street[data-state="original"] .b-original,
.street[data-state="extension"] .b-extension,
.street[data-state="duplex"] .b-duplex,
.street[data-state="townhouses"] .b-townhouses { transform: none; opacity: 1; }

.street[data-state="townhouses"] .neighbour { transform: scaleY(0); opacity: 0; }
.street[data-state="townhouses"] .lot-line.inner, .street[data-state="townhouses"] .lot-one { opacity: 0; }
.street[data-state="townhouses"] .lot-three { opacity: 1; transition-delay: .5s; }
.street[data-state="townhouses"] .b-duplex, .street[data-state="townhouses"] .b-townhouses { transition-delay: .45s; }

/* walkers and cars */
.street-svg .walker { animation: walk 36s linear infinite; }
.street-svg .w2 { animation-duration: 48s; animation-delay: -22s; }
.street-svg .w3 { animation-name: walk-back; animation-duration: 42s; animation-delay: -9s; }
.street-svg .leg { animation: stride .5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
.street-svg .leg + .leg { animation-direction: alternate-reverse; }
.street-svg .c1 { animation: drive 13s linear infinite; animation-delay: -4s; }
.street-svg .c2 { animation: drive-back 17s linear infinite; animation-delay: -11s; }
@keyframes walk { from { transform: translateX(-60px); } to { transform: translateX(1260px); } }
@keyframes walk-back { from { transform: translateX(1260px); } to { transform: translateX(-60px); } }
@keyframes drive { from { transform: translateX(-200px); } to { transform: translateX(1360px); } }
@keyframes drive-back { from { transform: translateX(1360px); } to { transform: translateX(-200px); } }
@keyframes stride { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.street.paused .walker, .street.paused .leg, .street.paused .car { animation-play-state: paused; }

/* controls */
.street-controls { grid-column: 1 / -1; margin: var(--space-5) calc(-1 * var(--space-7)) 0; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-7) var(--space-5); border-top: 1px solid var(--stone); }
.street-steps { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.street-chip { font: inherit; font-size: 13px; font-weight: 600; line-height: 18px; padding: 8px 16px; min-height: 36px; border-radius: var(--radius-pill); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.street-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.street-pause { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.street-pause svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.street-pause .play { display: none; fill: currentColor; stroke: none; }
.street-pause.is-paused svg line { display: none; }
.street-pause.is-paused .play { display: inline; }

@media (prefers-reduced-motion: reduce) {
  .street-svg .bld, .street-svg .lot-tag, .street-svg .lot-line.inner, .street-tag { transition: none !important; }
  .street-svg .walker, .street-svg .leg, .street-svg .car { animation: none; }
  .street-svg .w1 { transform: translateX(470px); } .street-svg .w2 { transform: translateX(860px); } .street-svg .w3 { transform: translateX(300px); }
  .street-svg .c1 { transform: translateX(760px); } .street-svg .c2 { transform: translateX(240px); }
}
@media (max-width: 1080px) {
  .street { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-5); justify-items: center; }
  .street { padding: var(--space-6) var(--space-6) 0; }
  .street-label { justify-self: stretch; max-width: 600px; min-height: 212px; }
  .street-scene { max-width: 870px; }
  .street-controls { margin: var(--space-4) calc(-1 * var(--space-6)) 0; padding: var(--space-4) var(--space-6) var(--space-5); }
}
@media (max-width: 600px) {
  .street { padding: var(--space-5) var(--space-4) 0; }
  .street-label { min-height: 206px; }
  .street-controls { margin: var(--space-3) calc(-1 * var(--space-4)) 0; padding: var(--space-3) var(--space-4) var(--space-4); align-items: flex-start; }
  .street-chip { padding: 6px 11px; font-size: 12.5px; }
}
@media (max-width: 470px) {
  .street-label { min-height: 262px; }
}
@media (max-width: 359px) {
  .street-label { min-height: 294px; }
}

/* =====================================================================
   GROUPED NAVIGATION AND KNOWLEDGE HUB (September 2026): grouped navigation,
   illustrations, How we work, Knowledge hub, planning dictionary,
   case-study cards, closing statement.
   ===================================================================== */

/* ---------- grouped top bar ---------- */
.nav-groups { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav-group-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; border: 0; background: transparent; font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; color: inherit; cursor: pointer; }
.nav-group-btn svg { width: 12px; height: 12px; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav-group-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-btn--label { width: auto; gap: var(--space-2); padding: 0 4px; font-family: var(--font-sans); font-size: 16px; font-weight: 600; }

/* ---------- full-screen grouped menu ---------- */
.site-menu { display: none; position: fixed; inset: 0; z-index: 190; background: var(--paper); color: var(--ink); overflow-y: auto; padding: calc(84px + var(--space-6)) 0 var(--space-7); }
body.menu-open .site-header { border-bottom-color: var(--stone-deep); }
body.menu-open .nav-groups, body.menu-open .site-header .btn { display: none; }
body.menu-open .menu-btn { display: inline-flex; }
.menu-btn .i-close { display: none; }
body.menu-open .menu-btn .i-open { display: none; }
body.menu-open .menu-btn .i-close { display: block; }
.menu-row[aria-current="page"] .menu-row__name { text-decoration: underline; text-underline-offset: 3px; }
.site-menu.open { display: block; }
.site-menu--static { position: static; display: block; }
.site-menu__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-8); align-items: start; }
.site-menu__group { min-width: 0; }
.site-menu__group h2 { font-family: var(--font-serif); font-weight: 400; font-size: 40px; line-height: 44px; margin: 0 0 20px; }
.menu-row { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--stone-deep); text-decoration: none; color: inherit; }
.menu-row__art { width: 72px; height: 72px; flex-shrink: 0; }
.menu-row__text { display: flex; flex-direction: column; gap: var(--space-1); flex: 1; min-width: 0; }
.menu-row__name { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 600; }
.menu-row__desc { font-family: var(--font-serif); font-size: 17px; line-height: 23px; color: var(--charcoal); }
.menu-row__arrow { width: 24px; height: 24px; flex-shrink: 0; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.menu-row:hover .menu-row__name { text-decoration: underline; text-underline-offset: 3px; }
.menu-row:hover .menu-row__arrow { transform: translateX(4px); }
.site-menu__foot { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--stone-deep); display: flex; align-items: center; gap: var(--space-5); }
.site-menu__foot p { margin: 0; font-family: var(--font-serif); font-size: 17px; line-height: 23px; color: var(--charcoal); }

/* ---------- illustrations ---------- */
.illo { display: block; width: 100%; height: auto; }
.illo-s { max-width: 72px; } .illo-m { max-width: 160px; } .illo-l { max-width: 240px; } .illo-xl { max-width: 320px; }
.illo-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-8); align-items: center; }
.illo-hero__text { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.illo-hero__text h1 { font-family: var(--font-serif); font-weight: 400; font-size: 72px; line-height: 76px; letter-spacing: -0.01em; margin: 0; }
.illo-hero__text p { font-family: var(--font-serif); font-size: 22px; line-height: 31px; margin: 0; max-width: var(--measure); }
.illo-hero__art { justify-self: end; width: 100%; max-width: 320px; }

/* ---------- How we work: the five layers ---------- */
.principles { display: flex; flex-direction: column; }
.principle { display: grid; grid-template-columns: 72px minmax(0, 1fr) 200px; column-gap: var(--space-6); align-items: center; padding: var(--space-7) 0; border-top: 1px solid var(--stone-deep); }
.principle__num { font-family: var(--font-display-sans); font-weight: 500; font-size: 40px; line-height: 44px; }
.principle__body { min-width: 0; }
.principle__label { display: block; font-size: 13px; line-height: 18px; font-weight: 700; margin-bottom: var(--space-2); }
.principle__q { font-family: var(--font-serif); font-weight: 400; font-size: 30px; line-height: 36px; margin: 0 0 var(--space-3); }
.principle p { margin: 0; max-width: var(--measure); }
.principle__art { width: 200px; }

/* ---------- Planning dictionary ---------- */
.dict-az { display: flex; flex-wrap: wrap; gap: var(--space-1); margin: 0 0 var(--space-7); padding: 0; list-style: none; }
.dict-az a, .dict-az span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.dict-az a { background: var(--stone); }
.dict-az a:hover { background: var(--ink); color: var(--paper); }
.on-stone .dict-az a, .on-black .dict-az a { background: var(--paper); }
.dict-az span { color: var(--charcoal); font-weight: 400; }
.dict-letter { font-family: var(--font-display-sans); font-weight: 500; font-size: 40px; line-height: 44px; margin: var(--space-7) 0 var(--space-3); }
.dict-list { margin: 0; }
.dict-entry { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-6); padding: var(--space-5) 0; border-top: 1px solid var(--stone-deep); }
.dict-entry dt { font-size: 18px; line-height: 24px; font-weight: 700; }
.dict-entry dt small { display: block; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--charcoal); margin-top: var(--space-1); }
.dict-entry dd { margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.dict-entry dd p { margin: 0; max-width: var(--measure); }
.dict-entry__link { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.dict-entry__link:hover { text-decoration: underline; }

/* ---------- case-study cards ---------- */
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.cs-card { background: var(--stone); color: var(--ink); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.on-stone .cs-card, .on-black .cs-card { background: var(--paper); }
.cs-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cs-card__body { padding: 28px; display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.cs-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.cs-tag { font-size: 12px; line-height: 16px; font-weight: 600; padding: 5px 10px; border: 1px solid var(--ink); border-radius: var(--radius-pill); }
.cs-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 30px; margin: 0; }
.cs-card p { margin: 0; font-size: 15px; line-height: 24px; flex: 1; }
.cs-card__result { display: flex; gap: var(--space-6); padding-top: var(--space-3); border-top: 1px solid var(--stone-deep); }
.cs-card__result strong { display: block; font-family: var(--font-display-sans); font-weight: 500; font-size: 22px; line-height: 28px; }
.cs-card__result span { font-size: 13px; line-height: 18px; color: var(--charcoal); }

/* ---------- closing statement ---------- */
.closing-statement { display: grid; grid-template-columns: minmax(0, 1fr) 200px; column-gap: var(--space-8); align-items: center; }
.closing-statement p { font-family: var(--font-serif); font-size: 48px; line-height: 56px; letter-spacing: -0.01em; margin: 0; max-width: 900px; }

/* ---------- phase 2 responsive ---------- */
@media (max-width: 1080px) {
  .nav-groups { display: none; }
  .site-menu { padding-top: calc(80px + var(--space-5)); }
  .site-menu__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-7); }
  .site-menu__group h2 { font-size: 32px; line-height: 36px; margin-bottom: var(--space-3); }
  .menu-row__art { width: 56px; height: 56px; }
  .site-menu__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .illo-hero { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-6); }
  .illo-hero__art { justify-self: start; max-width: 200px; }
  .illo-hero__text h1 { font-size: 56px; line-height: 60px; }
  .principle { grid-template-columns: 56px minmax(0, 1fr); row-gap: var(--space-5); }
  .principle__art { grid-column: 2; width: 160px; }
  .closing-statement { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-6); }
  .closing-statement p { font-size: 40px; line-height: 48px; }
}
@media (max-width: 600px) {
  .illo-hero__text h1 { font-size: 40px; line-height: 44px; }
  .illo-hero__text p { font-size: 19px; line-height: 27px; }
  .principle { grid-template-columns: minmax(0, 1fr); }
  .principle__art { grid-column: 1; }
  .principle__q { font-size: 26px; line-height: 32px; }
  .cs-grid { grid-template-columns: minmax(0, 1fr); }
  .dict-entry { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2); }
  .closing-statement p { font-size: 32px; line-height: 40px; }
}

/* ---------- coming-soon services (services.html) ---------- */
.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.soon-card { background: var(--stone); color: var(--ink); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); min-width: 0; }
.on-stone .soon-card, .on-black .soon-card { background: var(--paper); }
.soon-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--orange); color: var(--ink); font-size: 13px; line-height: 18px; font-weight: 700; }
.soon-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 30px; margin: 0; }
.soon-card p { margin: 0; font-size: 15px; line-height: 24px; }
.soon-foot { margin-top: var(--space-7); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.soon-foot p { margin: 0; max-width: var(--measure); }
@media (max-width: 1080px) { .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .soon-grid { grid-template-columns: minmax(0, 1fr); } }
.cs-card__result { flex-wrap: wrap; row-gap: var(--space-3); }

/* ============================================================
   ARTICLE SHELF — upcoming article titles (September 2026)
   Box steps one tone from its section. Titles only, no links.
   ============================================================ */
.shelf { margin-top: var(--space-7); background: var(--stone); color: var(--ink); border-radius: var(--radius-md); padding: var(--space-6); min-width: 0; }
.on-stone .shelf, .on-black .shelf, .on-sky .shelf { background: var(--paper); }
.shelf__head { display: flex; align-items: center; gap: var(--space-3); }
.shelf__head svg { flex: none; }
.shelf__head h3 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 30px; margin: 0; }
.shelf__intro { margin: var(--space-2) 0 0; font-size: 15px; line-height: 24px; color: var(--charcoal); max-width: var(--measure); }
.shelf__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) var(--space-6); margin-top: var(--space-5); }
.shelf__label { display: block; font-size: 12px; line-height: 18px; font-weight: 700; color: var(--accent-text); margin-bottom: var(--space-2); }
.shelf__list { list-style: none; margin: 0; padding: 0; }
.shelf__list li { font-family: var(--font-serif); font-weight: 400; font-size: 18px; line-height: 26px; padding: var(--space-3) 0; border-top: 1px solid var(--stone-deep); min-width: 0; overflow-wrap: anywhere; }
.shelf__next { display: inline-flex; align-items: center; vertical-align: 2px; margin-right: var(--space-2); padding: 2px 10px; border-radius: var(--radius-pill); background: var(--orange); color: var(--ink); font-family: var(--font-sans); font-size: 12px; line-height: 18px; font-weight: 700; }
@media (max-width: 1080px) { .shelf__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .shelf { padding: var(--space-5); } .shelf__cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Back-to-top button (September 2026) ----------
   Smoky ink glass with a sky line arrow (icon rule: sky on ink).
   A faint paper ring keeps it visible over the ink footer.
   Hover/focus: solid orange with an ink arrow (orange buttons carry ink).
   Sits under the menu (190) and article reader (400). */
.to-top { position: fixed; z-index: 180; right: max(16px, calc(env(safe-area-inset-right) + 16px)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 16px)); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; color: var(--sky); background: rgba(30,25,25,0.78); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); border: 0; box-shadow: inset 0 0 0 1px rgba(252,251,250,0.22); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .2s ease, color .2s ease; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s, background-color .2s ease, color .2s ease; }
.to-top svg { width: 22px; height: 22px; display: block; }
.to-top:hover, .to-top:focus-visible { background: var(--orange); color: var(--ink); box-shadow: none; }
.to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (min-width: 1080px) { .to-top { right: 28px; bottom: 28px; width: 52px; height: 52px; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .to-top { background: rgba(30,25,25,0.9); } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top.is-visible { transform: none; transition: opacity .01s, visibility 0s; } }
@media print { .to-top { display: none; } }

/* ---------- Footer columns follow the menu groups (September 2026) ---------- */
@media (max-width: 600px) { .site-footer .footer-col { grid-column: span 6; } }

/* ---------- Councils page (September 2026) ---------- */
.lga-grid--notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lga-grid--notes .lga-col { display: flex; flex-direction: column; min-width: 0; padding: var(--space-7); }
.lga-grid--notes .lga-col h3 { font-size: 26px; line-height: 31px; margin-bottom: var(--space-3); }
.lga-note { font-size: 15.5px; line-height: 1.7; color: var(--charcoal); margin: 0 0 var(--space-5); }
.lga-grid--notes .lga-col ul { margin-top: auto; }
.council-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.council-cards .card-white { min-width: 0; padding: var(--space-6); }
.council-cards .card-white h3 { font-size: 22px; line-height: 28px; }
.council-cards .card-white p { font-size: 15.5px; line-height: 1.7; margin: 0; }
.council-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-8); counter-reset: step; }
.council-steps li { min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-4); }
.council-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display-sans); font-weight: 500; font-size: 15px; line-height: 28px; }
.council-steps h3 { font-size: 22px; line-height: 28px; margin: 0 0 var(--space-2); }
.council-steps p { font-size: 15.5px; line-height: 1.7; margin: 0; color: var(--charcoal); }
@media (max-width: 1080px) { .council-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .lga-grid--notes, .council-cards, .council-steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .lga-grid--notes .lga-col { padding: var(--space-6); } }

/* ---------- Homepage: latest articles (October 2026) ----------
   Photo, category, title and date only (Gehl-style); links open the article on blog.html. */
.latest-card { color: inherit; text-decoration: none; min-width: 0; }
.latest-card .h3 { margin: 0; }
.latest-card:hover .h3, .latest-card:focus-visible .h3 { text-decoration: underline; text-underline-offset: 4px; }
.latest-card__meta { font-size: 13px; line-height: 18px; color: var(--charcoal); }

/* ---------- Case-study fact line and contact link (October 2026) ---------- */
.cs-card__facts { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--charcoal); }
.cs-card__link { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--accent-text); text-decoration: none; margin-top: var(--space-2); }
.cs-card__link:hover, .cs-card__link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Acknowledgement of Country, footer (October 2026) ---------- */
.footer-ack { margin-top: var(--space-8); max-width: 680px; font-size: 14px; line-height: 21px; color: var(--paper); }
.footer-ack + .footer-legal { margin-top: var(--space-4); }

/* ---------- Free checklists page (October 2026) ----------
   Overview cards, the Front fence to back fence list (question + "where NSW already tests it"),
   tick-box checklists (line boxes, navy), PDF download buttons, and a clean print layout. */
.checklist-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); }
.checklist-card { background: var(--stone); color: var(--ink); border-radius: var(--radius-md); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); text-decoration: none; min-width: 0; }
.on-black .checklist-card, .on-stone .checklist-card { background: var(--paper); }
.checklist-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 20px; line-height: 26px; margin: 0; flex: 1; }
.checklist-card__more { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--accent-text); }
.checklist-card:hover h3, .checklist-card:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; }
.fence-stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7) var(--space-8); }
.fence-stop { min-width: 0; }
.fence-stop h3 { font-size: 24px; line-height: 30px; margin: 0 0 var(--space-3); }
.fence-list { list-style: none; margin: 0; padding: 0; }
.fence-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: var(--space-3); padding: var(--space-4) 0; border-top: 1px solid var(--stone-deep); }
.fence-row__n { font-family: var(--font-display-sans); font-weight: 500; font-size: 15px; line-height: 24px; grid-row: span 2; }
.fence-row__q { margin: 0; font-size: 16px; line-height: 24px; }
.fence-row__nsw { margin: var(--space-2) 0 0; font-size: 14px; line-height: 21px; color: var(--charcoal); }
.fence-row__nsw span { display: block; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.checklist-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-7); }
.checklist-foot p { margin: 0; font-size: 15px; line-height: 24px; max-width: var(--measure); }
.checklist-dl { display: inline-flex; align-items: center; gap: var(--space-2); }
.checklist-dl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.checklist-body { max-width: 880px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--stone-deep); font-size: 16px; line-height: 24px; }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border: 1.5px solid var(--navy); border-radius: var(--radius-sm); }
.checklist-group { font-size: 22px; line-height: 28px; margin: var(--space-6) 0 var(--space-2); }
.checklist-group:first-child { margin-top: 0; }
.checklist-after { margin: var(--space-5) 0 0; font-size: 15px; line-height: 24px; color: var(--charcoal); }
.checklist-disclaimer { max-width: var(--measure); margin: 0 auto; text-align: center; font-size: 14px; line-height: 22px; color: var(--charcoal); }
@media (max-width: 1080px) { .checklist-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fence-stops { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .checklist-cards { grid-template-columns: minmax(0, 1fr); } .checklist-body { padding: var(--space-5) !important; } }
@media print {
  .site-header, .site-menu, .site-footer, .parallax-band, .to-top, .checklist-dl, .checklist-cards, .skip-link { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  section.on-white, section.on-black { padding: 24px 0 !important; background: #fff !important; }
}

/* ---------- Checklist download form (October 2026) ----------
   A small dialog asks for first name, email and role before a checklist PDF downloads.
   Sent to Formspree in the background; once sent, all five PDFs are unlocked on that device. */
.dl-dialog { border: 0; padding: 0; background: transparent; color: var(--ink); width: calc(100% - 32px); max-width: 560px; max-height: calc(100% - 32px); }
.dl-dialog::backdrop { background: rgba(30, 25, 25, 0.72); }
.dl-dialog__card { position: relative; background: var(--stone); border-radius: var(--radius-lg); padding: var(--space-7); }
.dl-dialog h2 { font-family: var(--font-serif); font-weight: 400; font-size: 30px; line-height: 36px; margin: var(--space-2) 0 var(--space-3); padding-right: 48px; }
.dl-dialog p { font-size: 15px; line-height: 24px; margin: 0 0 var(--space-5); }
.dl-dialog__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dl-dialog__close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; }
.dl-form .form-field { margin-bottom: var(--space-4); }
.dl-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; line-height: 22px; margin: var(--space-2) 0 var(--space-5); cursor: pointer; }
.dl-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.dl-submit { width: 100%; justify-content: center; }
.dl-submit:disabled { opacity: .7; cursor: progress; }
.dl-error { font-weight: 600; margin: var(--space-4) 0 0 !important; }
.dl-privacy { font-size: 13px !important; line-height: 19px !important; color: var(--charcoal); margin: var(--space-4) 0 0 !important; }
.dl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dl-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.dl-help { font-size: 13px !important; line-height: 19px !important; color: var(--charcoal); margin: var(--space-5) 0 0 !important; }
@media (max-width: 600px) { .dl-dialog__card { padding: var(--space-6) var(--space-5); } .dl-dialog h2 { font-size: 26px; line-height: 32px; } }
@media print { .dl-dialog { display: none !important; } }

/* ===== Modern refinements (round 1, October 2026) ===== */
/* Optical sizes: Newsreader (6–72) and Inter (14–32) load with their opsz axis; the browser matches letterforms to the size. */
body { font-optical-sizing: auto; }
/* Balanced headings (no one-word last lines) and tidier paragraph endings. */
h1, h2, h3, h4, .display, .h1, .h2, .h3, .h4 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
/* Modern image formats: <picture> wraps each photo but takes no part in layout. */
picture { display: contents; }
picture > source { display: none; }
/* Page-to-page transitions: a short cross-fade; the header stays put. Browsers without support load pages as before. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ===== Question hero (round 2, October 2026) ===== */
/* "What can I build on…" types each ending beneath the homepage headline, on a stone-deep rule ending in the logo mark. */
.qhero { display: flex; align-items: flex-end; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--stone-deep); min-width: 0; }
.qhero__q { flex: 1; min-width: 0; margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 30px; line-height: 38px; text-wrap: initial; }
.qhero__ask { display: block; color: var(--charcoal); }
.qhero__stage { display: grid; color: var(--ink); }
.qhero__stage > * { grid-area: 1 / 1; min-width: 0; }
.qhero__ghost { visibility: hidden; }
.qhero__spacer { display: inline-block; width: 1.15em; }
.qhero__live { white-space: normal; }
.qhero__tail { white-space: nowrap; }
.qhero__caret { display: inline-block; width: 2px; height: .9em; margin-left: 3px; vertical-align: -0.08em; background: var(--orange); opacity: 0; }
.qhero.is-typing .qhero__caret { opacity: 1; }
.qhero__mark { display: inline-block; width: .85em; height: .85em; margin-left: .3em; vertical-align: -0.04em; color: var(--ink); }
.qhero__mark .logo__q { fill: var(--orange); }
.qhero__pause { width: 36px; height: 36px; margin-bottom: 2px; }
.qhero__pause svg { width: 16px; height: 16px; }
.qhero__pause[hidden] { display: none; }
@media (max-width: 600px) { .qhero__q { font-size: 24px; line-height: 31px; } }

/* ===== Numbers strip with labels and icons (round 2, October 2026) ===== */
.stats--labelled { text-align: left; }
.stats-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-bottom: 10px; margin-bottom: var(--space-5); border-bottom: 1px solid var(--navy); }
.stats-icon { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.on-ink .stats-head { border-bottom-color: var(--sky); }
.on-ink .stats-icon { stroke: var(--sky); }

/* ===== Long reads: contents rail, section bar, filters, reading progress (round 3, October 2026) ===== */
/* Anchored sections land below the sticky header (and the section bar where there is one). */
:root { --hdr: 84px; }
[id] { scroll-margin-top: calc(var(--hdr) + 24px); }
.has-section-bar [id] { scroll-margin-top: calc(var(--hdr) + 72px); }

/* Contents rail: a sticky list on the left from 1080px; a "Contents" button above the content below that. */
.toc-layout { display: block; }
.toc { margin: 0 0 var(--space-6); min-width: 0; }
.toc > summary { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 18px; border: 1.5px solid currentColor; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .2s ease; }
.toc[open] > summary svg { transform: rotate(180deg); }
.toc__title { display: none; }
.toc__list { list-style: none; margin: var(--space-4) 0 0; padding: 0; border-left: 1px solid var(--stone-deep); }
.toc__list a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 14px; line-height: 20px; color: var(--charcoal); text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.toc__list a:hover { color: var(--ink); }
.toc__list a[aria-current="true"] { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
@media (min-width: 1080px) {
  .toc-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--space-8); align-items: start; }
  .toc { position: sticky; top: calc(var(--hdr) + 32px); margin: 0; max-height: calc(100vh - var(--hdr) - 64px); overflow-y: auto; }
  .toc > summary { display: none; }
  .toc__title { display: block; }
  .toc-main { min-width: 0; }
}

/* Planning dictionary: the A–Z and the term filter live in the rail. */
.dict-find { margin: 0 0 var(--space-5); }
.dict-find label { display: block; font-size: 13px; line-height: 18px; font-weight: 700; margin-bottom: var(--space-2); }
.dict-find input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1px solid var(--taupe); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.dict-find input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.dict-find__count { margin: var(--space-2) 0 0; font-size: 13px; line-height: 18px; color: var(--charcoal); }
.dict-az a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.dict-az .is-empty { opacity: .35; pointer-events: none; }
.dict-none { display: none; font-family: var(--font-serif); font-size: 22px; line-height: 31px; margin: 0 0 var(--space-7); }
.dict-none.is-shown { display: block; }
.is-filtered-out { display: none !important; }
@media (min-width: 1080px) {
  .toc--az .dict-az { display: grid; grid-template-columns: repeat(4, 44px); gap: var(--space-1); margin: 0; }
}

/* Section bar: page-wide contents under the sticky header (Councils we cover). */
.section-bar { position: sticky; top: var(--hdr); z-index: 150; background: var(--paper); border-bottom: 1px solid var(--stone-deep); }
.section-bar__list { display: flex; gap: var(--space-6); margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.section-bar__list::-webkit-scrollbar { display: none; }
.section-bar__list a { display: inline-flex; align-items: center; min-height: 48px; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--charcoal); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s ease, border-color .2s ease; }
.section-bar__list a:hover { color: var(--ink); }
.section-bar__list a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 600px) { .section-bar__list { gap: var(--space-5); } }

/* Article filters: category chips above the blog grid. */
.filter-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-6); padding: 0; list-style: none; }
.filter-chip { min-height: 40px; padding: 8px 16px; border: 0; border-radius: var(--radius-pill); background: var(--stone); color: var(--ink); font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease; }
.filter-chip:hover { background: var(--stone-deep); }
.filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.on-stone .filter-chip, .on-black .filter-chip { background: var(--paper); }
.filter-status { margin: 0 0 var(--space-5); font-size: 13px; line-height: 18px; color: var(--charcoal); }

/* Article reader: contents rail and a 2px orange reading-progress line. */
.reader-progress { position: sticky; top: -32px; z-index: 3; height: 2px; margin: -32px -64px 30px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.article-card.has-toc .toc { margin-top: var(--space-2); }
@media (min-width: 1080px) {
  .article-card.has-toc { max-width: 1120px; display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: var(--space-8); align-content: start; }
  .article-card.has-toc > .reader-progress, .article-card.has-toc > .article-close { grid-column: 1 / -1; }
  .article-card.has-toc .toc { top: 64px; max-height: calc(88vh - 120px); margin-top: 0; }
  .article-card.has-toc .article-body { max-width: 720px; }
}
@media (max-width: 600px) { .reader-progress { top: -16px; margin: -16px -20px 14px; } }
@media (prefers-reduced-motion: reduce) { .toc__list a, .section-bar__list a, .filter-chip { transition: none; } }

/* ===== Change pair and checklist covers (round 4, October 2026) ===== */
/* Change pair: the approved dwellings show a case study's site as found (taupe, stone-deep windows) and what it can become (ink, orange windows). */
.change-pair { display: flex; align-items: flex-end; gap: var(--space-4); margin: var(--space-2) 0; padding: 0; min-width: 0; }
.change-pair > div { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); min-width: 0; }
.change-pair figcaption { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--charcoal); }
.change-pair__from figcaption { white-space: nowrap; }
.change-pair__art { display: block; width: auto; }
.change-pair__from .change-pair__art { height: 52px; fill: var(--taupe); }
.change-pair__from .change-pair__art path[style*="255,119,0"] { fill: var(--stone-deep) !important; }
.change-pair__to .change-pair__art { height: 92px; fill: var(--ink); }
.change-pair__link { flex-direction: column; align-items: center !important; gap: 4px !important; padding-bottom: 30px; }
.change-pair__tag { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--orange); color: var(--ink); font-size: 12px; line-height: 18px; font-weight: 700; }
.change-pair__arrow { width: 40px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 360px) { .change-pair { gap: var(--space-3); } .change-pair__to .change-pair__art { height: 76px; } .change-pair__from .change-pair__art { height: 44px; } }

/* Checklist covers: each free checklist shown as an A4 page with the wordmark, title, its drawing and "1 page · PDF". */
.checklist-card--cover { position: relative; }
.checklist-card__brand { font-family: var(--font-display-sans); font-weight: 800; font-size: 13px; line-height: 16px; letter-spacing: -0.03em; }
.checklist-card__brand span { color: var(--orange); }
.checklist-card__art { display: block; width: 72%; max-width: 150px; height: auto; margin: auto auto 0; }
.checklist-card__meta { font-size: 12px; line-height: 16px; color: var(--charcoal); }
.checklist-card--cover h3 { flex: 0 0 auto; }
@media (min-width: 601px) {
  .checklist-card--cover { min-height: 380px; }
}
@media (max-width: 600px) {
  .checklist-card--cover { display: grid; grid-template-columns: minmax(0, 1fr) 88px; grid-template-areas: "brand art" "label art" "title art" "meta art" "more art"; column-gap: var(--space-4); align-items: start; }
  .checklist-card--cover .checklist-card__brand { grid-area: brand; } .checklist-card--cover .label { grid-area: label; } .checklist-card--cover h3 { grid-area: title; }
  .checklist-card--cover .checklist-card__meta { grid-area: meta; } .checklist-card--cover .checklist-card__more { grid-area: more; }
  .checklist-card--cover .checklist-card__art { grid-area: art; width: 88px; margin: 0; align-self: center; }
}

/* ===== Councils map (round 5, October 2026) ===== */
/* ABS council boundaries drawn in palette tones; region notes and council names are read from the cards it replaces on screen. */
.cmap { display: flex; flex-direction: column; gap: var(--space-6); }
.cmap[hidden] { display: none; }
.cmap__pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.cmap__pill { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 6px 16px 6px 6px; border: 0; border-radius: var(--radius-pill); background: var(--stone); color: var(--ink); font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease; }
.cmap__pill:hover { background: var(--stone-deep); }
.cmap__n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); font-family: var(--font-display-sans); font-weight: 500; font-size: 13px; }
.cmap__pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cmap__pill[aria-pressed="true"] .cmap__n { background: var(--orange); color: var(--ink); }
.cmap__body { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.cmap__mapcol { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.cmap__frame { position: relative; width: 100%; aspect-ratio: 600 / 736; overflow: hidden; border-radius: var(--radius-md); }
.cmap__svg { display: block; width: 100%; height: 100%; }
.cmap__g { transform-origin: 0 0; transition: transform .8s cubic-bezier(.3,.7,.2,1); }
.cmap__lga { fill: var(--stone); stroke: var(--paper); stroke-width: 1px; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .25s ease; }
.cmap__lga:hover { stroke: var(--ink); stroke-width: 1.5px; }
.cmap__lga.is-region { fill: var(--sky); }
.cmap__lga.is-council { fill: var(--navy); }
.cmap__ctx { fill: var(--paper); stroke: var(--stone-deep); stroke-width: 1px; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.cmap__outline { fill: none; stroke: var(--ink); stroke-width: 1.25px; vector-effect: non-scaling-stroke; pointer-events: none; }
.cmap__marker { cursor: pointer; }
.cmap__marker circle { fill: var(--ink); stroke: var(--paper); stroke-width: 2px; }
.cmap__marker text { font-family: var(--font-display-sans); font-weight: 500; font-size: 13px; fill: var(--paper); }
.cmap__marker.is-on circle { fill: var(--orange); }
.cmap__marker.is-on text { fill: var(--ink); }
.cmap__cbd { pointer-events: none; }
.cmap__cbd circle { fill: var(--orange); stroke: var(--ink); stroke-width: 1.25px; }
.cmap__label { font-family: var(--font-sans); font-size: 12px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.cmap__all { position: absolute; top: 16px; left: 16px; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cmap__all:hover { background: var(--ink); color: var(--paper); }
.cmap__all[hidden] { display: none; }
.cmap__key { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 18px; color: var(--charcoal); }
.cmap__key li { display: inline-flex; align-items: center; gap: var(--space-2); }
.cmap__key i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.cmap__key .k-cover { background: var(--stone); } .cmap__key .k-region { background: var(--sky); } .cmap__key .k-council { background: var(--navy); }
.cmap__key .k-cbd { background: var(--orange); border-radius: 50%; } .cmap__key .k-out { border: 1px dashed var(--stone-deep); box-sizing: border-box; }
.cmap__source { margin: 0; font-size: 12px; line-height: 17px; color: var(--charcoal); }
.cmap__panel { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; padding-top: var(--space-2); }
.cmap__name { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 32px; line-height: 38px; }
.cmap__note { margin: 0; font-size: 16px; line-height: 26px; }
.cmap__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.cmap__chip { min-height: 40px; padding: 8px 14px; border: 0; border-radius: var(--radius-pill); background: var(--stone); color: var(--ink); font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease; }
.cmap__chip:hover { background: var(--stone-deep); }
.cmap__chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cmap__cta { margin-top: var(--space-2); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.cmap__cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.cmap__cta[hidden] { display: none; }
@media (max-width: 1080px) { .cmap__body { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .cmap__mapcol { max-width: 600px; } }
@media (max-width: 600px) {
  .cmap__pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .cmap__pills::-webkit-scrollbar { display: none; }
  .cmap__pill { flex: none; white-space: nowrap; }
  .cmap__panel { background: var(--stone); border-radius: var(--radius-md); padding: var(--space-5); }
  .cmap__panel .cmap__chip { background: var(--paper); }
  .cmap__panel .cmap__chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
  .cmap__name { font-size: 26px; line-height: 32px; }
  .cmap__note { font-size: 15px; line-height: 24px; }
  .cmap__label { font-size: 18px; stroke-width: 5px; }
  .cmap__marker circle { r: 22px; } .cmap__marker text { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .cmap__g { transition: none; } .cmap__lga, .cmap__pill, .cmap__chip { transition: none; } }

/* ===== Finishing touches (round 6, October 2026) ===== */
/* Page drawing beside the title: the page's own menu drawing; it carries view-transition-name so the menu row's drawing glides into it. */
.page-art { view-transition-name: page-art; }
::view-transition-group(page-art) { animation-duration: .45s; animation-timing-function: cubic-bezier(.3,.7,.2,1); }
.page-hero--art { display: grid; grid-template-columns: minmax(0, 1fr) 240px; column-gap: var(--space-8); align-items: center; }
.page-hero--art > :not(.page-hero__art) { grid-column: 1; }
.page-hero__art { grid-column: 2; grid-row: 1 / span 2; width: 100%; height: auto; justify-self: end; }
@media (max-width: 1080px) { .page-hero--art { grid-template-columns: minmax(0, 1fr) 160px; column-gap: var(--space-6); } }
@media (max-width: 600px) { .page-hero--art { grid-template-columns: minmax(0, 1fr); } .page-hero__art { grid-column: 1; grid-row: auto; order: -1; width: 96px; justify-self: start; margin-bottom: var(--space-4); } }

/* Hero tone by menu group: About us pages open on stone, Knowledge hub pages on sky (their only sky band). */
.page-hero.hero-stone { background: var(--stone); }
.page-hero.hero-sky, section.hero-sky { background: var(--sky); color: var(--ink); }

/* Ruled-line titles: each line of an inner page title sits on a 1px rule (navy on sky). */
.page-hero h1, .illo-hero__text h1 { --tl: 1.06em; --rule: var(--stone-deep); line-height: var(--tl); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--tl) - 1px), var(--rule) calc(var(--tl) - 1px), var(--rule) var(--tl)); }
.hero-sky h1 { --rule: var(--navy); }
@media (max-width: 600px) { .page-hero h1, .illo-hero__text h1 { --tl: 1.1em; } }

/* Site menu footing: a planning-term lookup beside Contact us; pinned to the bottom of the menu below 1080px. */
.site-menu__foot { flex-wrap: wrap; justify-content: space-between; row-gap: var(--space-5); }
.menu-lookup { display: flex; flex-direction: column; gap: var(--space-2); flex: 1 1 360px; max-width: 520px; min-width: 0; }
.menu-lookup label { font-size: 13px; line-height: 18px; font-weight: 700; }
.menu-lookup__row { display: flex; gap: var(--space-2); min-width: 0; }
.menu-lookup input { flex: 1; min-width: 0; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid var(--taupe); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.menu-lookup input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.menu-lookup .btn { flex: none; }
.site-menu__contact { display: flex; align-items: center; gap: var(--space-5); }
@media (max-width: 1080px) {
  .site-menu__foot { position: sticky; bottom: calc(-1 * var(--space-7)); z-index: 2; background: var(--paper); padding-bottom: var(--space-5); text-align: left; }
  .menu-lookup { flex: none; width: 100%; max-width: none; box-sizing: border-box; }
  .site-menu__contact { flex-direction: column; align-items: stretch; text-align: center; width: 100%; gap: var(--space-3); }
}

/* Footer: the tagline opens the footer at heading size. */
.footer-tagline--lead { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 1.2rem + 2.2vw, 48px); line-height: 1.15; letter-spacing: -0.01em; max-width: 900px; margin: 0 0 var(--space-7); text-wrap: balance; }

/* Fluid type: sizes scale smoothly between phone and desktop instead of stepping at 1080 and 600. */
.display { font-size: clamp(44px, 1.5rem + 3.9vw, 80px); line-height: 1.03; }
.page-hero h1, .illo-hero__text h1 { font-size: clamp(40px, 1.25rem + 3.6vw, 72px); }
.section-head h2, section h2 { font-size: clamp(32px, 1.6rem + 1.1vw, 40px); line-height: 1.1; }
.lead, .page-hero p, .section-head p { font-size: clamp(19px, 1rem + .42vw, 22px); line-height: 1.41; }
.qhero__q { font-size: clamp(24px, 1.2rem + .8vw, 30px); line-height: 1.27; }
section h2.dict-letter { font-size: 40px; line-height: 44px; }

/* Scroll-linked reveal where supported: the fade-up follows scrolling itself; elsewhere the IntersectionObserver reveal stays. */
@keyframes wcib-reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal, .reveal.visible { opacity: 1; transform: none; transition: none; animation: wcib-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@media print { .reveal { animation: none !important; opacity: 1 !important; transform: none !important; } }

/* Container queries: cards adapt to the width they are given, not the window. */
.cs-card, .checklist-card--cover { container-type: inline-size; }
@container (max-width: 380px) {
  .cs-card__body { padding: 22px; }
  .change-pair { gap: var(--space-3); }
  .change-pair__to .change-pair__art { height: 76px; }
  .change-pair__from .change-pair__art { height: 44px; }
}
@container (max-width: 210px) { .checklist-card--cover h3 { font-size: 18px; line-height: 24px; } }

/* ===== Street-life drawings (round 7, October 2026) ===== */
/* Homepage question line: each ending has its own drawing, standing on the rule; they cross-fade as the endings change. */
.qhero__art { position: relative; flex: none; width: 76px; height: 76px; margin-bottom: -27px; align-self: flex-end; }
.qhero__art img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s ease; }
.qhero__art img.is-on { opacity: 1; }
@media (max-width: 600px) { .qhero__art { width: 56px; height: 56px; margin-bottom: -25px; } }
@media (prefers-reduced-motion: reduce) { .qhero__art img { transition: none; } }
/* Front fence to back fence: a drawing beside each stop's title. */
.fence-stop__title { display: flex; align-items: flex-end; gap: var(--space-3); }
.fence-stop__art { flex: none; width: 56px; height: 56px; margin-bottom: -4px; }
@media print { .fence-stop__art { display: none; } }
/* Dictionary: friendly empty state. */
.dict-none.is-shown { display: flex; align-items: center; gap: var(--space-4); }
.dict-none__art { flex: none; width: 72px; height: 72px; }

/* ===== Homepage round 1 (October 2026): five questions, services and fees, outcomes, term links ===== */
/* Planning terms link to the dictionary, which opens filtered on the term */
.term { color: inherit; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.term:hover, .term:focus-visible { text-decoration-style: solid; }

/* Five questions behind every site: unboxed, on a fine rule (the layer drawings carry stone fills) */
.five-q { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.five-q__item { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; border-top: 1px solid var(--stone-deep); padding-top: var(--space-5); }
.five-q__art { display: block; width: 112px; height: 112px; }
.five-q__text { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.five-q__label { font-size: 14px; line-height: 20px; font-weight: 600; }
.five-q__num { font-family: var(--font-display-sans); font-weight: 500; color: var(--charcoal); margin-right: 4px; }
.five-q__q { font-family: var(--font-serif); font-weight: 400; font-size: 21px; line-height: 27px; margin: 0; text-wrap: balance; }
@media (max-width: 1079px) { .five-q { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); } }
@media (max-width: 600px) {
  .five-q { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-5); }
  .five-q__item { flex-direction: row; align-items: center; gap: var(--space-4); }
  .five-q__art { width: 80px; height: 80px; flex: none; }
}

/* Services and fees: one card per service, fee at the foot */
.svc-card { min-width: 0; }
.svc-card p { flex: 1; }
.svc-card__fee { padding-top: var(--space-3); border-top: 1px solid var(--stone-deep); }
.svc-card .price-amount { font-size: 28px; line-height: 34px; }
.svc-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-7); }
.svc-note { display: flex; align-items: center; gap: var(--space-5); background: var(--stone); color: var(--ink); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); min-width: 0; }
.on-stone .svc-note { background: var(--paper); }
.svc-note p { margin: 0; font-size: 15px; line-height: 24px; min-width: 0; }
.svc-note__art { width: 72px; height: 72px; flex: none; }
@media (max-width: 900px) { .svc-notes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .svc-note { padding: var(--space-5); gap: var(--space-4); } .svc-note__art { width: 56px; height: 56px; } }

/* Client outcomes: the Earlwood case card beside the two quotes */
.outcomes-quotes { align-self: center; }
@media (max-width: 1079px) { .outcomes-quotes { grid-column: 1 / -1; } }
.svc-card { position: relative; }
.svc-card > .chip { position: absolute; top: 12px; left: 12px; z-index: 1; }
.svc-card > .chip-accent { background: var(--orange); color: var(--ink); }

/* ===== Homepage round 2 (October 2026): where whatcani.build works, Knowledge hub band ===== */
/* Region list: the six council regions, numbered like the councils map markers */
.region-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; min-width: 0; }
.region-list__item { display: flex; align-items: flex-start; gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--stone-deep); min-width: 0; }
.region-list__item:last-child { border-bottom: 1px solid var(--stone-deep); }
.region-list__n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-display-sans); font-weight: 500; font-size: 15px; line-height: 1; }
.region-list__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.region-list__name { font-family: var(--font-serif); font-size: 20px; line-height: 26px; }
.region-list__councils { font-size: 13px; line-height: 19px; color: var(--charcoal); }
.region-list__count { flex: none; font-size: 13px; line-height: 26px; font-weight: 600; white-space: nowrap; }
@media (max-width: 400px) { .region-list__count { display: none; } }

/* Knowledge hub band: free checklists and the term lookup under the latest articles */
.hub-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-7); }
.hub-box { display: flex; gap: var(--space-5); align-items: center; background: var(--stone); color: var(--ink); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); min-width: 0; text-decoration: none; }
.on-stone .hub-box { background: var(--paper); }
.hub-box__art { flex: none; width: 88px; height: 88px; }
.hub-box__text { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.hub-box__title { font-family: var(--font-serif); font-size: 21px; line-height: 27px; }
.hub-box__more { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--accent-text); }
.hub-box--link:hover .hub-box__more, .hub-box--link:focus-visible .hub-box__more { text-decoration: underline; text-underline-offset: 3px; }
.hub-lookup { flex-direction: column; align-items: stretch; justify-content: center; gap: var(--space-3); }
.hub-lookup input { flex: 1; min-width: 0; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid var(--taupe); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.hub-lookup input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hub-lookup .btn { flex: none; }
@media (max-width: 900px) { .hub-extras { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .hub-box { padding: var(--space-5); gap: var(--space-4); } .hub-box__art { width: 64px; height: 64px; } }

/* ===== Hero badge (October 2026): "Tenth year · since 2017" after the eyebrow ===== */
.hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.hero-badge { font-size: 13px; line-height: 18px; padding: 4px 12px; white-space: nowrap; }
