/* Amiva website */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #163F3C;      /* Deep teal: core brand, headings, buttons */
  --ivory: #F6F3EC;     /* Warm ivory: page background */
  --sage: #BCD0C3;      /* Soft sage: secondary panels */
  --apricot: #E6AB89;   /* Apricot: accents only, never text on ivory */
  --charcoal: #263B38;  /* Charcoal: body copy */
  --ivory-deep: #ECE7DB;
  --sage-light: #DDE7E0;
  --error: #8A2B12;
  --font: "Manrope", Arial, sans-serif;
  --measure: 38rem;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --rule: color-mix(in srgb, var(--teal) 25%, transparent);
  --field-border: #5C7977;  /* Form controls: 4.7:1 on white, 4.3:1 on ivory (WCAG 1.4.11 needs 3:1) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.on-teal :focus-visible, .draft-banner :focus-visible, .meaning :focus-visible { outline-color: var(--apricot); }

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

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 20;
  background: var(--teal); color: var(--ivory); font-weight: 700;
  padding: 0.7rem 1.1rem; border-radius: 8px;
}
.skip-link:focus { top: 0.75rem; }

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

/* ---------- Draft banner and placeholders ---------- */
.draft-banner { background: var(--charcoal); color: var(--ivory); font-size: 0.85rem; line-height: 1.4; padding: 0.45rem 0; }
.draft-banner p { margin: 0; max-width: none; }
.draft-banner strong { color: var(--apricot); }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; margin-left: 0.35rem; }

mark.confirm {
  background: color-mix(in srgb, var(--apricot) 45%, var(--ivory)); color: var(--charcoal);
  border-bottom: 2px dotted var(--teal); padding: 0 0.3em; border-radius: 4px; font-weight: 600;
}
.on-teal mark.confirm, .meaning mark.confirm { background: var(--apricot); color: var(--teal); }
.hide-placeholders mark.confirm { background: none; border: 0; padding: 0; font-weight: inherit; color: inherit; }
.hide-placeholders .prompt { display: none; }
.prompt {
  display: block; background: color-mix(in srgb, var(--apricot) 30%, var(--ivory));
  border: 2px dashed var(--teal); border-radius: 10px; padding: 0.8rem 1rem;
  font-size: 0.95rem; line-height: 1.5; color: var(--charcoal); margin: 1rem 0; max-width: var(--measure);
}
.prompt strong { color: var(--teal); }

/* ---------- Header ---------- */
.site-header { padding: 0 0 0.75rem; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.logo { display: inline-block; }
.logo img { width: 8.25rem; height: auto; }
.menu-toggle {
  display: none; align-items: center; gap: 0.5rem;
  background: transparent; border: 2px solid var(--teal); color: var(--teal);
  font: inherit; font-weight: 700; font-size: 0.95rem; padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer; min-height: 2.75rem;
}
.menu-toggle svg { width: 1.1rem; height: 1.1rem; }
.site-nav ul { list-style: none; display: flex; gap: 0.25rem 1.5rem; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--charcoal); padding: 0.4rem 0; display: inline-block; }
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -3px 0 var(--apricot); }
.site-nav .button, .site-nav .button[aria-current="page"] { color: var(--ivory); box-shadow: none; padding: 0.6rem 1.15rem; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  background: var(--teal); color: var(--ivory); font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; padding: 0.85rem 1.4rem; min-height: 3rem; border-radius: 999px;
  border: 2px solid var(--teal); cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.button:active { transform: scale(0.97); }
.button:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.button.quiet { background: transparent; color: var(--teal); }
.button.quiet:hover { background: var(--teal); color: var(--ivory); }
.button[disabled], .button[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.on-teal .button { background: var(--ivory); color: var(--teal); border-color: var(--ivory); }
.on-teal .button:hover { background: var(--apricot); border-color: var(--apricot); color: var(--teal); }
.on-teal .button.quiet { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.on-teal .button.quiet:hover { background: var(--ivory); color: var(--teal); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Type ---------- */
h1, h2, h3 { color: var(--teal); line-height: 1.1; margin: 0 0 0.55em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p, li, dd { max-width: var(--measure); }
.lede { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.5; }
.small { font-size: 0.95rem; }
.brand-line { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; color: var(--teal); letter-spacing: -0.01em; margin: 0 0 1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section.tight { padding-top: 0; }
.section.sage { background: var(--sage); }
.section.sage-light { background: var(--sage-light); }
.section.deep { background: var(--ivory-deep); }
.section.teal { background: var(--teal); color: var(--ivory); }
.section.teal h2, .section.teal h3 { color: var(--ivory); }
.section.teal a:not(.button) { color: var(--ivory); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }

/* ---------- Doorway photo frame ---------- */
.frame {
  position: relative; aspect-ratio: 4 / 5; width: 100%;
  border: clamp(10px, 1.6vw, 16px) solid var(--teal);
  border-bottom: 0; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sage);
}
.frame.soft { border-radius: 2rem; border-bottom: clamp(10px, 1.6vw, 16px) solid var(--teal); aspect-ratio: 5 / 4; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-wrap { position: relative; }
.frame-inner { position: relative; }
.frame-wrap .leaf { position: absolute; left: -6%; bottom: -4%; width: 34%; height: auto; pointer-events: none; }

figure { margin: 0; }
figcaption { font-size: 0.92rem; margin-top: 1.4rem; max-width: 24rem; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(0.75rem, 3vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: 0.35em; }
.hero .lede { margin: 0 0 1.25rem; }
.hero .eligibility { font-size: 0.95rem; margin: 1rem 0 0; }
.hero .frame-wrap { max-width: 26rem; justify-self: end; width: 100%; }
.hero .leaf { animation: grow 1.3s cubic-bezier(.2,.8,.2,1) 0.25s both; transform-origin: 20% 100%; }
@keyframes grow { from { transform: scale(0.3) rotate(-15deg); opacity: 0; } to { transform: none; opacity: 1; } }

.page-hero { padding: clamp(1rem, 4vw, 3.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { max-width: 18ch; }

.page-hero .frame-wrap { max-width: 24rem; justify-self: end; width: 100%; }

/* ---------- Example cards (home) ---------- */

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 4rem; max-width: none; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.8rem; height: 3.2rem;
  display: grid; place-items: end center; padding-bottom: 0.35rem;
  background: var(--teal); color: var(--ivory); font-weight: 800; font-size: 1.15rem; border-radius: 1.4rem 1.4rem 0 0;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.6rem; left: 3.6rem; right: -0.75rem; border-top: 2px dashed var(--rule); }
.steps h3 { margin-bottom: 0.3rem; font-size: 1.15rem; }
.steps p { margin: 0; font-size: 1rem; }
.steps.vertical { grid-template-columns: 1fr; gap: 1.25rem; }
.steps.vertical li { padding: 0 0 0 3.6rem; min-height: 3.2rem; }
.steps.vertical li::after { display: none; }

/* ---------- Suburb checker ---------- */
.checker { background: var(--ivory); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); border: 2px solid var(--teal); }
.checker h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.checker-form { margin-top: 1rem; }
.checker-form fieldset { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 1rem; align-items: end; border: 0; margin: 0; padding: 0; min-width: 0; }
.checker-result { margin-top: 1.25rem; }
.checker-result:empty { display: none; }
.result-card { border-radius: 12px; padding: 1.25rem 1.4rem; background: var(--sage-light); border-left: 6px solid var(--teal); }
.result-card.maybe { border-left-color: var(--apricot); background: color-mix(in srgb, var(--apricot) 20%, var(--ivory)); }
.result-card h3 { margin-bottom: 0.35rem; }
.result-card p { margin: 0 0 0.75rem; }
.test-data { font-size: 0.85rem; font-weight: 700; color: var(--teal); background: color-mix(in srgb, var(--apricot) 35%, var(--ivory)); padding: 0.2rem 0.6rem; border-radius: 999px; display: inline-block; }

/* ---------- Fit and facts ---------- */

.callout { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.urgent { font-size: 0.95rem; margin-top: 1.25rem; }

/* ---------- Services page ---------- */
.jump { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.jump li { max-width: none; }
.jump a {
  display: inline-block; text-decoration: none; font-weight: 700; color: var(--teal);
  background: var(--sage-light); border: 2px solid transparent; padding: 0.55rem 1rem; border-radius: 999px; font-size: 0.98rem;
}
.jump a:hover { border-color: var(--teal); }

.story { background: var(--ivory); color: var(--charcoal); border-left: 6px solid var(--apricot); border-radius: 0 12px 12px 0; padding: 1.1rem 1.3rem; margin: 0 0 1.5rem; max-width: 40rem; }
.story p { margin: 0; }
.story .label { font-weight: 800; color: var(--teal); display: block; margin-bottom: 0.25rem; }

/* ---------- About page ---------- */

.meaning { background: var(--teal); color: var(--ivory); padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden; }
.meaning .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.meaning h2 { color: var(--ivory); }
.meaning p { font-size: 1.15rem; line-height: 1.7; }

.meaning .tagline { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--apricot); margin-top: 1.5rem; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
.person { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 1.5rem; align-items: start; }
.person .frame-wrap { max-width: 14rem; }
.person h3 { font-size: 1.8rem; margin-bottom: 0.15rem; }
.person .role { font-weight: 700; color: var(--teal); margin: 0 0 0.75rem; }
.person dl { margin: 0; }
.person dt { font-weight: 700; color: var(--teal); margin-top: 0.9rem; }
.person dd { margin: 0.15rem 0 0; }
.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-bottom: 3rem; }
.expect > div { border-top: 3px solid var(--apricot); padding-top: 1rem; }
.expect p { margin: 0; }

/* ---------- Referrers ---------- */
.summary { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 0 0 1px var(--rule); }
.summary-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-bottom: 3px solid var(--apricot); padding-bottom: 1rem; margin-bottom: 1.25rem; }
.summary-head img { width: 7rem; height: auto; }
.summary h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.summary h3 { font-size: 1.1rem; margin: 1.25rem 0 0.4rem; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.summary ul, .summary ol { margin: 0; padding-left: 1.15rem; }
.summary li { margin-bottom: 0.25rem; font-size: 1rem; }
.summary p { font-size: 1rem; margin: 0 0 0.5rem; }
.hold { background: var(--sage-light); border-radius: 10px; padding: 0.9rem 1.1rem; margin-top: 1.25rem; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.path-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.path-switch legend { font-weight: 800; color: var(--teal); font-size: 1.15rem; margin-bottom: 0.75rem; padding: 0; }
.path-option { position: relative; }
.path-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.path-option label {
  display: block; height: 100%; cursor: pointer; padding: 1rem 1.1rem; border-radius: 12px;
  border: 2px solid var(--field-border); background: #fff; font-weight: 700; color: var(--teal); line-height: 1.3;
}
.path-option label span { display: block; font-weight: 500; color: var(--charcoal); font-size: 0.95rem; margin-top: 0.25rem; }
.path-option input:checked + label { border-color: var(--teal); background: var(--sage-light); box-shadow: inset 0 0 0 1px var(--teal); }
.path-option input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 3px; }

.enquiry { display: grid; gap: 1.6rem; }
.form-body { display: grid; gap: 1.6rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field { display: grid; gap: 0.4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field legend { font-weight: 700; color: var(--teal); font-size: 1.05rem; padding: 0; }
.hint { font-size: 0.95rem; margin: 0; }
.req, .opt { font-weight: 600; font-size: 0.88rem; color: var(--charcoal); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; font-size: 1.05rem; color: var(--charcoal); background: #fff;
  border: 2px solid var(--field-border); border-radius: 10px;
  padding: 0.7rem 0.85rem; width: 100%; min-height: 3rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 3px solid color-mix(in srgb, var(--teal) 30%, transparent); outline-offset: 0; }
textarea { min-height: 7rem; resize: vertical; }
.choices { display: grid; gap: 0.5rem; }
.choice { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1.02rem; cursor: pointer; max-width: 40rem; }
.choice input { width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; accent-color: var(--teal); flex: none; }
.counter { font-size: 0.85rem; text-align: right; margin: 0; }
.error { color: var(--error); font-weight: 700; font-size: 0.95rem; margin: 0; }
.field.invalid input[type="text"], .field.invalid input[type="email"], .field.invalid input[type="tel"], .field.invalid textarea, .field.invalid select { border-color: var(--error); border-width: 3px; }
.field.invalid > legend, .field.invalid > label { color: var(--error); }
.error-summary { border: 3px solid var(--error); border-radius: 12px; padding: 1.1rem 1.3rem; background: #fff; }
.error-summary h2 { color: var(--error); font-size: 1.25rem; margin-bottom: 0.5rem; }
.error-summary ul { margin: 0; padding-left: 1.15rem; }
.error-summary a { color: var(--error); font-weight: 700; }
.notice { background: var(--sage-light); padding: 0.85rem 1rem; border-radius: 10px; font-size: 0.98rem; margin: 0; max-width: none; }
.notice.warn { background: color-mix(in srgb, var(--apricot) 30%, var(--ivory)); border-left: 5px solid var(--error); }
.collection { font-size: 0.92rem; background: var(--ivory-deep); padding: 0.85rem 1rem; border-radius: 10px; margin: 0; max-width: none; }
details.more { border: 2px solid var(--rule); border-radius: 12px; padding: 0 1.1rem; background: #fff; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--teal); padding: 0.95rem 0; min-height: 3rem; }
details.more[open] summary { border-bottom: 1.5px solid var(--rule); margin-bottom: 1.25rem; }
details.more .inner { display: grid; gap: 1.5rem; padding-bottom: 1.25rem; }
.done { background: var(--teal); color: var(--ivory); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); }
.done h2 { color: var(--ivory); }
.done a { color: var(--ivory); }
.done:focus { outline: 3px solid var(--apricot); outline-offset: 4px; }
.aside-card { background: var(--sage); padding: 1.6rem; border-radius: var(--radius); position: sticky; top: 1.25rem; }
.aside-card h2 { font-size: 1.4rem; }
.aside-card .steps.vertical li { padding-left: 3.4rem; }
.aside-card .steps.vertical li::before { width: 2.4rem; height: 2.8rem; font-size: 1rem; }
.noscript-box { background: #fff; border: 3px solid var(--teal); border-radius: 12px; padding: 1.1rem 1.3rem; }
.noscript-box p { margin: 0 0 0.5rem; }

/* ---------- Content pages ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.35rem; }
.note { background: var(--ivory-deep); border-left: 4px solid var(--apricot); padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; font-size: 0.98rem; max-width: var(--measure); }
.contact-list { list-style: none; padding: 0 !important; display: grid; gap: 0.75rem; }
.contact-list li { background: var(--ivory-deep); padding: 1rem 1.25rem; border-radius: 10px; max-width: none; }
.contact-list strong { color: var(--teal); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage); padding: 3rem 0 2.25rem; font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer img { width: 7.5rem; height: auto; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer h2 { font-size: 1rem; margin-bottom: 0.6rem; letter-spacing: 0; }
.site-footer .ack { grid-column: 1 / -1; border-top: 1.5px solid color-mix(in srgb, var(--teal) 30%, transparent); padding-top: 1.25rem; margin: 0.5rem 0 0; max-width: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; }
  .steps li:nth-child(2)::after { display: none; }

  .people { grid-template-columns: 1fr; }
  .expect { grid-template-columns: 1fr; }
  .checker-form fieldset { grid-template-columns: 1fr 1fr; }
  .checker-form .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .draft-banner { font-size: 0.78rem; padding: 0.35rem 0; }
  .draft-banner .long { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { flex-basis: 100%; }
  .js .site-nav:not(.open) { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0 0.75rem; }
  .site-nav li a:not(.button) { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
  .site-nav a[aria-current="page"]:not(.button) { box-shadow: inset 4px 0 0 var(--apricot); padding-left: 0.75rem; }
  .site-nav .button { margin-top: 0.75rem; width: 100%; }
  .hero { padding-top: 0.25rem; }
  .hero .wrap, .split, .callout, .form-layout, .meaning .wrap, .person,
  .summary-grid, .site-footer .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .hero .brand-line { font-size: 1.05rem; margin-bottom: 0.5rem; }
  .hero .lede { font-size: 1.02rem; margin-bottom: 0.9rem; }
  .hero .actions { gap: 0.6rem; }
  .hero .actions .button { flex: 1 1 100%; }
  .hero .eligibility { margin-top: 0.75rem; }
  .hero .frame-wrap { justify-self: center; max-width: 17rem; }
  .page-hero .frame-wrap { justify-self: start; max-width: 15rem; }

  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }

  .checker-form fieldset { grid-template-columns: 1fr; }

  .path-switch { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .person .frame-wrap { max-width: 11rem; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.9rem; }
  .logo img { width: 7.25rem; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =================== v0.4 design and interaction layer =================== */

/* Shared motion (interface feedback 150-250ms, signature reveals 350-600ms) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes photoReveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes flashMark { 0% { background-size: 0% 0.32em; } 100% { background-size: 100% 0.32em; } }
@keyframes ringFlash { 0% { box-shadow: 0 0 0 0 rgba(230,171,137,0.9); } 100% { box-shadow: 0 0 0 14px rgba(230,171,137,0); } }

.site-nav.open { animation: menuIn 200ms ease-out; }
.result-card { animation: fadeUp 220ms ease-out; }
.fade-in { animation: fadeIn 220ms ease-out; }
.flash {
  background-image: linear-gradient(var(--apricot), var(--apricot));
  background-repeat: no-repeat; background-position: 0 92%; background-size: 100% 0.32em;
  animation: flashMark 450ms ease-out;
}
.flash-ring { animation: ringFlash 600ms ease-out; border-radius: var(--radius); }
:target > h2:first-child, h2:target, h3:target { scroll-margin-top: 1rem; }
h2:target, h3:target { background-image: linear-gradient(var(--apricot), var(--apricot)); background-repeat: no-repeat; background-position: 0 92%; background-size: 100% 0.32em; animation: flashMark 450ms ease-out; }
html:not(.js) .js-only { display: none !important; }

/* ---------- Home ---------- */
.js .hero .frame > * { animation: photoReveal 560ms cubic-bezier(.2,.8,.2,1) 120ms both; }
.chooser { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.chooser-options { border: 0; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.6rem; min-width: 0; }
.chooser-options legend { padding: 0; font-weight: 700; color: var(--teal); margin-bottom: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label {
  display: flex; align-items: center; gap: 0.85rem; cursor: pointer; padding: 0.75rem 1rem; border-radius: 999px;
  border: 2px solid var(--teal); background: var(--ivory); color: var(--teal); font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}
.chip label svg { width: 2rem; height: 2rem; flex: none; }
.chip input:checked + label { background: var(--teal); color: var(--ivory); }
.chip input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 3px; }
.chooser-panel { background: var(--ivory); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 6px solid var(--apricot); }
.chooser-panel + .chooser-panel { margin-top: 1rem; }
.js .chooser-panel:not(.active) { display: none; }
.js .chooser-panel.active { animation: fadeUp 220ms ease-out; }
.chooser-panel h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.chooser-panel .actions { margin-top: 1.25rem; }

/* ---------- Services ---------- */
.svc-open { padding: clamp(1rem, 3.5vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem); }
.svc-open .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: end; }
.svc-open h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 14ch; }
.svc-open .lede { margin: 0; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-top: 1rem; font-size: 0.95rem; }
.svc-meta a { font-weight: 700; }

.svc { padding: clamp(3rem, 7vw, 5.5rem) 0; scroll-margin-top: 0.5rem; }
.svc h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.svc h2[tabindex="-1"]:focus { outline: none; }

.you-choose { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0.5rem 0 1.5rem; }
.you-choose li { max-width: none; background: var(--sage-light); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.95rem; font-weight: 600; color: var(--teal); }
.svc.teal .you-choose li { background: rgba(246,243,236,0.14); color: var(--ivory); }
.svc.teal { background: var(--teal); color: var(--ivory); }
.svc.teal h2, .svc.teal h3 { color: var(--ivory); }
.svc.sage { background: var(--sage); }
.svc.deep { background: var(--ivory-deep); }
.svc.teal .button { background: var(--ivory); color: var(--teal); border-color: var(--ivory); }
.svc.teal .button:hover { background: var(--apricot); border-color: var(--apricot); }

/* Photo-led story (community) */
.photo-story { position: relative; margin-top: 1.5rem; }
.photo-story .wide-photo { aspect-ratio: 16 / 7; }
.photo-story .story-card {
  position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(-3rem, -4vw, -2rem); width: min(30rem, 52%);
  background: var(--ivory); border-radius: 16px; padding: 1.4rem 1.5rem; box-shadow: 0 18px 40px -24px rgba(22,63,60,0.55);
  border-top: 6px solid var(--apricot);
}
.story-card .label { font-weight: 800; color: var(--teal); display: block; margin-bottom: 0.3rem; }
.story-card p { margin: 0 0 1rem; }
.svc-community .after-photo { margin-top: clamp(4.5rem, 8vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }

.wide-photo { position: relative; width: 100%; border-radius: 22px; overflow: hidden; background: var(--sage); }

.svc.sage .wide-photo { box-shadow: inset 0 0 0 2px var(--rule); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Appointment timeline (alongside) */
.visit { list-style: none; padding: 0; margin: 2rem 0 1.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: v; }
.visit li { position: relative; padding: 2.4rem 1rem 0 0; max-width: none; }
.visit li::before { content: ""; position: absolute; top: 0.55rem; left: 0; right: 0; border-top: 2px dashed rgba(246,243,236,0.45); }
.visit li::after { content: ""; position: absolute; top: 0; left: 0; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 5px var(--teal); }
.visit li:last-child::before { right: auto; width: 0; }
.visit .time { display: block; font-weight: 800; color: var(--apricot); font-size: 0.95rem; }
.visit strong { display: block; color: var(--ivory); font-size: 1.1rem; margin: 0.15rem 0 0.25rem; }
.visit p { margin: 0; font-size: 0.98rem; }
.alongside-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* Shopping checklist (routines) */
.routine-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.checklist {
  background: #fffdf8; border-radius: 6px 6px 18px 18px; padding: 1.6rem 1.6rem 1.4rem; position: relative;
  box-shadow: 0 1px 0 var(--rule), 0 24px 40px -30px rgba(22,63,60,0.6); transform: rotate(-1.2deg);
  background-image: repeating-linear-gradient(transparent 0 2.45rem, rgba(22,63,60,0.09) 2.45rem calc(2.45rem + 1px));
  background-position: 0 3.1rem;
}
.checklist::before { content: ""; position: absolute; top: -0.6rem; left: 50%; width: 5rem; height: 1.2rem; margin-left: -2.5rem; background: color-mix(in srgb, var(--apricot) 70%, transparent); border-radius: 3px; transform: rotate(2deg); }
.checklist h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.checklist ol { list-style: none; padding: 0; margin: 0; }
.checklist li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; align-items: start; min-height: 2.45rem; padding: 0.3rem 0; max-width: none; }
.checklist .tick { width: 1.35rem; height: 1.35rem; border: 2px solid var(--teal); border-radius: 5px; margin-top: 0.15rem; display: grid; place-items: center; }
.checklist .tick.is-done { background: var(--teal); }
.checklist .tick.is-done::after { content: ""; width: 0.4rem; height: 0.7rem; border: solid var(--ivory); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.checklist .wk { font-weight: 800; color: var(--teal); margin-right: 0.35rem; }

/* Household (compact) */
.household { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; }
.household svg { width: 4.5rem; height: 4.5rem; }
.household h2 { margin-bottom: 0.3rem; }
.household p { margin: 0 0 0.5rem; }

.practical { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 1.5rem 0 0; }
.practical div { border-top: 3px solid var(--apricot); padding-top: 0.8rem; }
.practical dt { font-weight: 700; color: var(--teal); }
.practical dd { margin: 0.2rem 0 0; font-size: 1rem; }

/* ---------- About ---------- */
.signed { font-weight: 700; font-style: italic; color: var(--teal); }

.meaning { text-align: center; padding: clamp(4.5rem, 10vw, 8rem) 0; }
.meaning .wrap { display: block; max-width: 52rem; }
.meaning .name-mark { margin: 0 auto 0.5rem; color: var(--ivory); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; font-size: clamp(5rem, 19vw, 13rem); max-width: none; display: flex; justify-content: center; }
.meaning .name-mark span { display: inline-block; transition: transform 560ms cubic-bezier(.2,.8,.2,1), opacity 560ms ease; }
.meaning .name-mark .va { color: var(--apricot); }
.js .meaning:not(.settled) .name-mark .ami { transform: translateX(-0.12em); opacity: 0.6; }
.js .meaning:not(.settled) .name-mark .va { transform: translateX(0.12em); opacity: 0.6; }
.meaning .name-key { display: flex; justify-content: center; gap: 1rem 2.5rem; flex-wrap: wrap; margin: 1rem 0 2.5rem; font-size: 1.05rem; }
.meaning .name-key div { display: flex; gap: 0.5rem; }
.meaning .name-key dt { color: var(--apricot); font-weight: 800; }
.meaning .name-key dd { margin: 0; }
.meaning h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.meaning p { margin-inline: auto; }
.meaning .tagline { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--apricot); }

/* ---------- Referrers ---------- */
.ref-open { padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.ref-open .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 1.5rem 3rem; align-items: end; }
.ref-open h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 0.4rem; }
.ref-open .lede { margin: 0; }
.ref-open .actions { justify-content: flex-end; }
.snapshot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.snapshot > div { background: var(--sage-light); border-radius: 16px; padding: 1.3rem 1.4rem; }
.snapshot dt { font-weight: 800; color: var(--teal); font-size: 1.15rem; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.6rem; }
.snapshot dt svg { width: 1.8rem; height: 1.8rem; }
.snapshot dd { margin: 0; font-size: 1rem; }
.snapshot ul { margin: 0; padding-left: 1.1rem; }

/* ---------- Enquiry ---------- */
.path-option.participant label { background: var(--sage-light); }
.path-option.referral label { background: #fff; border-top-width: 6px; border-top-color: var(--apricot); }
.path-option label { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0 0.85rem; align-items: start; transition: border-color 160ms ease, box-shadow 160ms ease; }
.path-option label svg { width: 2.4rem; height: 2.4rem; grid-row: span 2; }
.path-option.participant input:checked + label { background: var(--sage); }
.path-option.referral input:checked + label { background: color-mix(in srgb, var(--apricot) 22%, #fff); }
.send-note { font-size: 0.95rem; margin: -0.6rem 0 0; }
.path-heading { font-size: 1.25rem; margin: 0; padding-top: 0.25rem; }

/* ---------- Feedback and privacy ---------- */
.route-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 2rem; max-width: 52rem; }
.route-card { display: block; text-decoration: none; color: var(--charcoal); border-radius: 16px; padding: 1.3rem 1.4rem; border: 2px solid var(--teal); background: #fff; transition: background-color 160ms ease; }
.route-card:hover { background: var(--sage-light); }
.route-card.independent { border-color: var(--apricot); border-width: 2px 2px 2px 8px; }
.route-card strong { display: block; color: var(--teal); font-size: 1.15rem; margin-bottom: 0.25rem; }
.route-card span { font-size: 0.98rem; }
.toc { background: var(--ivory-deep); border-radius: 14px; padding: 1.2rem 1.4rem; margin: 0 0 1rem; max-width: 44rem; }
.toc h2 { font-size: 1.05rem !important; margin: 0 0 0.5rem !important; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.toc li { margin-bottom: 0.3rem; break-inside: avoid; font-size: 0.98rem; }

/* ---------- v0.4 responsive ---------- */
@media (max-width: 960px) {
  .practical, .snapshot { grid-template-columns: 1fr 1fr; }
  .visit { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
  .household { grid-template-columns: auto 1fr; }
  .household .actions { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .chooser, .svc-open .wrap, .svc-community .after-photo, .alongside-grid, .routine-grid,
  .ref-open .wrap, .route-cards { grid-template-columns: minmax(0, 1fr); }
  .photo-story .wide-photo { aspect-ratio: 4 / 3; }
  .photo-story .story-card { position: relative; right: auto; bottom: auto; width: auto; margin: -2.5rem 0.75rem 0; }
  .svc-community .after-photo { margin-top: 1.75rem; }
  .visit { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .visit li { padding: 0 0 1.1rem 2.4rem; }
  .visit li::before { top: 0.6rem; bottom: -0.6rem; left: 0.55rem; right: auto; border-top: 0; border-left: 2px dashed rgba(246,243,236,0.45); }
  .visit li:last-child::before { display: none; }
  .checklist { transform: none; }
  .household { grid-template-columns: 1fr; }
  .household svg { width: 3.5rem; height: 3.5rem; }
  .practical, .snapshot { grid-template-columns: 1fr; }
  .ref-open .actions { justify-content: flex-start; }
  .aside-card { display: none; }
  .toc ol { columns: 1; }
  .svc { padding: 2.75rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .meaning:not(.settled) .name-mark .ami, .js .meaning:not(.settled) .name-mark .va { transform: none; opacity: 1; }
  .js .hero .frame > * { clip-path: none; }
}

/* =================== v0.5 refinements =================== */
.see-all { margin: 1.1rem 0 0; font-weight: 700; }
.chip input:checked + label::after {
  content: ""; margin-left: auto; width: 0.45rem; height: 0.85rem; flex: none;
  border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-2px, -2px);
}
.after-checklist { margin-top: 1.75rem; }
.svc.teal > .wrap > .actions { margin: 0 0 2rem; }
@media (max-width: 760px) {
  .photo-story { display: flex; flex-direction: column-reverse; }
  .photo-story .story-card { margin: 0 0 1.25rem; box-shadow: none; }
}

/* =================== v0.6: launch photos, transport, references =================== */

/* Header: local positioning and a referral route on every page */
.local-bar { background: var(--sage-light); font-size: 0.88rem; line-height: 1.35; margin-bottom: 0.75rem; }
.site-header .local-bar .wrap { flex-wrap: nowrap; gap: 0.75rem; padding: 0.2rem 0; }
.local-bar p { margin: 0; max-width: none; display: flex; align-items: center; gap: 0.4rem; }
.local-bar svg { width: 1.05rem; height: 1.05rem; flex: none; }
.local-where { font-weight: 700; color: var(--teal); }
.local-refer a { font-weight: 700; display: inline-block; padding: 0.2rem 0; }
.local-refer a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--apricot); }
.local-refer .sep { margin: 0 0.35rem; }

/* Photos: responsive <picture>, captions and the illustrative label */
.frame picture, .wide-photo picture { display: block; width: 100%; height: 100%; }
.wide-figure { margin: 0; }
.photo-note { font-size: 0.82rem; line-height: 1.35; margin: 0.6rem 0 0; max-width: none; color: var(--charcoal); }
.photo-note.illustrative::before {
  content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--apricot); margin-right: 0.45rem; vertical-align: 0.05em;
}
.hero .photo-note { text-align: right; margin-top: 0.75rem; }
.svc.teal .photo-note { color: var(--ivory); }
.photo-missing { position: absolute; inset: 0; background: var(--sage-light); }

/* Home: suburb search right beside the hero actions */
.hero-check { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.75rem; margin: 0.6rem 0 0; font-size: 0.98rem; }
.hero-check a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; min-height: 2.75rem; }
.hero-check svg { width: 1.35rem; height: 1.35rem; flex: none; }
.hero .eligibility { margin-top: 0.4rem; }

/* Services: scannable categories, each with a summary, an example and its own enquiry action */
.svc-open .wrap { display: block; }
.svc-intro {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "h1 lede" "h1 meta"; column-gap: clamp(1.5rem, 5vw, 4rem); row-gap: 0.5rem;
  align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.svc-intro h1 { grid-area: h1; margin: 0; }
.svc-intro .lede { grid-area: lede; }
.svc-intro .svc-meta { grid-area: meta; margin: 0; }
.choices-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.choice-item {
  display: flex; flex-direction: column; gap: 0.65rem; max-width: none;
  background: #fff; border: 2px solid var(--rule); border-radius: 16px; padding: 1.1rem 1.15rem 1rem;
  transition: border-color 160ms ease;
}
.choice-item:hover, .choice-item:focus-within { border-color: var(--teal); }
.choice-card { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--teal); }
.choice-card svg { width: 2.6rem; height: 2.6rem; flex: none; }
.choice-card strong { font-size: 1.12rem; line-height: 1.25; }
.choice-card strong::after { content: "\00a0↓"; font-weight: 700; color: var(--teal); }
.choice-card:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.choice-sum { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.choice-eg { margin: 0; font-size: 0.92rem; line-height: 1.45; background: var(--sage-light); border-radius: 10px; padding: 0.6rem 0.75rem; }
.choice-eg span { display: block; font-weight: 800; color: var(--teal); font-size: 0.82rem; }
.choice-ask { margin-top: auto; align-self: flex-start; font-weight: 700; display: inline-block; padding: 0.6rem 0 0.4rem; line-height: 1.35; }
.choice-ask::after { content: "\00a0→"; margin-left: 0.1rem; }   /* the no-break space keeps the arrow with the last word */
.outing-photo .wide-photo { aspect-ratio: 4 / 3; }
.svc.teal .wide-photo { box-shadow: 0 0 0 2px rgba(246,243,236,0.25); }

/* About: founding story beside a local photo, text-led founder profiles, practical FAQ */
.about-open { padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem); }
.story-layout {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-areas: "h1 photo" "first photo" "rest photo";
  grid-template-rows: auto auto 1fr; column-gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.story-layout h1 { grid-area: h1; font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 1.25rem; }
.story-first { grid-area: first; font-size: clamp(1.15rem, 1.7vw, 1.3rem); line-height: 1.65; margin: 0 0 1rem; }
.story-rest { grid-area: rest; }
.story-rest p { font-size: 1.12rem; line-height: 1.7; }
.story-photo { grid-area: photo; position: sticky; top: 1.5rem; margin-top: 0.5rem; }
.story-photo .wide-photo { aspect-ratio: 4 / 5; border-radius: 9rem 1.4rem 9rem 1.4rem; }

.profiles { display: grid; gap: clamp(2.5rem, 6vw, 4rem); margin-top: 1.5rem; }
.profile {
  display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 1rem clamp(2rem, 6vw, 5rem);
  padding-top: clamp(1.5rem, 4vw, 2.25rem); border-top: 3px solid var(--apricot); align-items: start;
}
.profile-initial { font-size: clamp(4.5rem, 10vw, 8rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.05em; color: var(--sage); margin: 0 0 0.4rem; max-width: none; }
.profile.has-photo .profile-initial { display: none; }
.profile-photo .frame-wrap { max-width: 16rem; margin-bottom: 1rem; }
.profile h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 0 0 0.35rem; }
.profile .role {
  display: inline-block; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); background: color-mix(in srgb, var(--apricot) 45%, var(--ivory)); padding: 0.2rem 0.7rem; border-radius: 999px; margin: 0 0 0.9rem;
}
.profile .focus { font-style: italic; font-size: 1.05rem; line-height: 1.45; margin: 0; max-width: 20rem; }
.profile-body p { font-size: 1.08rem; line-height: 1.7; }
.profile-body p:first-child { margin-top: 0; }
.profile-next { margin-top: 1.5rem; }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; margin: 1.5rem 0 0; }

.faq dt { font-weight: 800; color: var(--teal); font-size: 1.15rem; line-height: 1.3; margin-bottom: 0.4rem; }
.faq dd { margin: 0; }
.faq dd p { margin: 0 0 0.5rem; font-size: 1rem; }
.faq-section h2[tabindex="-1"]:focus { outline: none; }

/* Referrers: local positioning and Refer → Talk with us → Agree support */
.ref-steps-section { padding-bottom: 0; }
.ref-steps-h { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 1rem; }
.ref-steps { list-style: none; padding: 0; margin: 0 0 clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; counter-reset: rs; }
.ref-steps li { counter-increment: rs; position: relative; background: var(--teal); color: var(--ivory); border-radius: 16px; padding: 1.2rem 1.3rem 1.3rem; max-width: none; }
.ref-steps li:not(:last-child)::after {
  content: ""; position: absolute; right: -1.05rem; top: 50%; width: 0.65rem; height: 0.65rem;
  border: solid var(--teal); border-width: 3px 3px 0 0; transform: translateY(-50%) rotate(45deg);
}
.ref-step-name { display: block; font-weight: 800; font-size: 1.3rem; line-height: 1.2; margin-bottom: 0.35rem; }
.ref-step-name::before { content: counter(rs); display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; margin-right: 0.55rem; border-radius: 50%; background: var(--apricot); color: var(--teal); font-size: 0.95rem; vertical-align: 0.1em; }
.ref-steps p { margin: 0; font-size: 1rem; }

/* v0.6.1: tap-to-call (shown once a verified phone is set), other ways to get in touch, 404 links */
.call-button {
  display: none; align-items: center; gap: 0.4rem; margin-left: auto; min-height: 2.75rem; padding: 0.45rem 0.9rem;
  border-radius: 999px; background: var(--teal); color: var(--ivory); font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.call-button svg { width: 1.15rem; height: 1.15rem; }
.call-button:hover { background: var(--charcoal); color: var(--ivory); }
.other-ways { margin-top: clamp(2rem, 5vw, 3rem); }
.other-ways h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.other-ways .contact-list { padding: 0; margin: 0; }
ul.route-cards { list-style: none; padding: 0; }
ul.route-cards li { max-width: none; }

@media (max-width: 960px) {
  .choices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .call-button { display: inline-flex; }
  .local-bar .long { display: none; }
  .hero-check { margin-top: 0.35rem; }
  .hero-check span { display: none; }
  .svc-intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h1" "lede" "meta"; }
  .svc-intro h1 { margin-bottom: 0.4rem; }
  .choices-grid { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .choice-item { padding: 0.95rem 1rem 0.85rem; gap: 0.5rem; }
  .story-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h1" "first" "photo" "rest"; grid-template-rows: none; }
  .story-photo { position: static; margin: 0.25rem 0 1.25rem; }
  .story-photo .wide-photo { aspect-ratio: 4 / 3; border-radius: 5rem 1rem 5rem 1rem; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile-initial { font-size: 4rem; }
  .ref-steps { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .ref-steps li:not(:last-child)::after { right: auto; left: 1.6rem; top: auto; bottom: -1rem; transform: rotate(135deg); }
}
@media (max-width: 360px) {
  .site-header > .wrap { gap: 0.5rem; }
  .call-button { width: 2.75rem; padding: 0; justify-content: center; }
  .call-button span { display: none; }
  .local-bar { font-size: 0.8rem; }
  .local-bar svg { display: none; }
  .local-bar p { white-space: nowrap; }
}

/* =================== v0.7: five services, reference patterns =================== */

/* Eyebrow above page headings: what we do and where (Hunter Care Group pattern) */
.eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin: 0 0 0.6rem; max-width: none; }
.eyebrow svg { width: 1.2rem; height: 1.2rem; flex: none; }

/* Service status: solid dot and border for "Taking enquiries", hollow dot and dashed border for "Start date to be confirmed" */
.status-badge {
  display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 800; line-height: 1.2;
  padding: 0.28rem 0.7rem; border-radius: 999px; white-space: nowrap; vertical-align: 0.1em; letter-spacing: 0; text-transform: none;
}
.status-badge::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; flex: none; }
.status-available { background: var(--sage-light); color: var(--teal); border: 1.5px solid var(--teal); }
.status-available::before { background: var(--teal); }
.status-confirming { background: color-mix(in srgb, var(--apricot) 35%, var(--ivory)); color: var(--charcoal); border: 1.5px dashed var(--charcoal); }
.status-confirming::before { border: 2px solid var(--charcoal); width: 0.45rem; height: 0.45rem; }
.status-note { font-size: 0.95rem; line-height: 1.5; border-left: 4px solid var(--apricot); padding: 0.15rem 0 0.15rem 0.75rem; margin: 0.5rem 0 0.75rem; }

/* Home chooser: five services */
.panel-service { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 0.55rem; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal); }

/* Services: five cards (three, then two wider) */
.svc-intro { grid-template-areas: "eyebrow eyebrow" "h1 lede" "h1 meta"; }
.svc-intro .eyebrow { grid-area: eyebrow; }
.choices-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.choices-grid > li { grid-column: span 2; }
.choices-grid > li:nth-child(n+4) { grid-column: span 3; }
.choice-status { margin: 0; }
.svc-head { max-width: 46rem; margin-bottom: 1.5rem; }
.svc-head h2 { margin-bottom: 0.45rem; }
.svc-summary { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.5; margin: 0 0 0.7rem; }
.svc-status { margin: 0 0 0.25rem; }
.svc.sage-light { background: var(--sage-light); }
.svc.teal .status-note { border-color: var(--apricot); }
.svc.teal a:not(.button) { color: var(--ivory); }
.svc.teal :focus-visible { outline-color: var(--apricot); }
.svc-sub {
  margin-top: clamp(3rem, 6vw, 4.5rem); background: var(--teal); color: var(--ivory); border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.75rem); scroll-margin-top: 0.5rem;
}
.svc-sub h3 { color: var(--ivory); font-size: clamp(1.45rem, 2.8vw, 2rem); }
.svc-sub h3[tabindex="-1"]:focus { outline: none; }
.svc-sub a:not(.button) { color: var(--ivory); }
.svc-sub .button { background: var(--ivory); color: var(--teal); border-color: var(--ivory); }
.svc-sub .button:hover { background: var(--apricot); border-color: var(--apricot); color: var(--teal); }
.svc-sub :focus-visible { outline-color: var(--apricot); }
.svc-sub .visit { margin-top: 1.5rem; }
.svc-diff { font-size: 0.98rem; border-top: 2px dashed var(--rule); padding-top: 0.8rem; margin-top: 1.25rem; }
.svc-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.task-card { background: var(--ivory); border-radius: 18px; padding: 1.4rem 1.5rem; border-top: 6px solid var(--apricot); }
.task-card svg { width: 3.5rem; height: 3.5rem; margin-bottom: 0.6rem; }
.task-card .small { margin: 0; }
ul.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.ticks li { position: relative; padding-left: 1.8rem; margin: 0.4rem 0; font-weight: 600; }
ul.ticks li::before { content: ""; position: absolute; left: 0.3rem; top: 0.3em; width: 0.45rem; height: 0.85rem; border: solid var(--teal); border-width: 0 3px 3px 0; transform: rotate(45deg); }
ul.ways { padding-left: 1.2rem; margin: 0 0 1rem; }
ul.ways li { margin: 0.55rem 0; }
.svc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.limits { background: var(--ivory); border-radius: 18px; padding: 1.3rem 1.5rem; border-left: 6px solid var(--teal); }
.limits ul { padding-left: 1.2rem; margin: 0 0 0.75rem; }
.limits li { margin: 0.3rem 0; }
.limits .small { margin: 0; }
#personalcare > .wrap > .actions { margin-top: 1.75rem; }
.pending-tasks { margin: -0.4rem 0 1.25rem; }
.faq-q { scroll-margin-top: 1rem; }
.before-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 2rem; }
#before-you-start h2[tabindex="-1"]:focus, #details h2[tabindex="-1"]:focus { outline: none; }

/* Questions people ask: one disclosure per question */
.faq-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; max-width: 52rem; }
.faq-q { background: #fff; border: 2px solid var(--rule); border-radius: 14px; }
.faq-q[open] { border-color: var(--teal); }
.faq-q summary {
  cursor: pointer; list-style: none; position: relative; padding: 0.95rem 3.2rem 0.95rem 1.2rem; min-height: 2.75rem;
  font-weight: 800; color: var(--teal); font-size: 1.08rem; line-height: 1.35; border-radius: 12px;
}
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; }
.faq-q[open] summary::after { content: "−"; }
.faq-q summary:focus-visible { outline-offset: -3px; }
.faq-a { padding: 0 1.2rem 1.1rem; }
.faq-a p, .faq-a li { font-size: 1rem; }
.faq-a p:first-child { margin-top: 0; }
.faq-a ul { margin: 0 0 0.75rem; padding-left: 1.2rem; }

/* About: eyebrow above the story, founder cards with "Read more", pointer to the questions */
.story-title { grid-area: h1; }
.story-title h1 { margin: 0 0 1.25rem; }
.profile-more { margin-top: 0.25rem; }
.profile-more summary {
  cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem;
  font-weight: 800; color: var(--teal); list-style: none;
}
.profile-more summary::-webkit-details-marker { display: none; }
.profile-more summary::after { content: ""; width: 0.5rem; height: 0.5rem; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform 160ms ease; }
.profile-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.profile-more[open] summary { margin-bottom: 0.4rem; }
.faq-pointer { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.pointer-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; border: 2px solid var(--teal); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.pointer-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.3rem; }
.pointer-card p { margin: 0; }
.faq-pointer h2[tabindex="-1"]:focus { outline: none; }

/* For referrers: the five supports, each with status and its own referral link */
.ref-services { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.ref-service { grid-column: span 2; max-width: none; background: #fff; border: 2px solid var(--rule); border-radius: 16px; padding: 1.1rem 1.2rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ref-service:nth-child(n+4) { grid-column: span 3; }
.ref-service:focus-within { border-color: var(--teal); }
.ref-service-head { display: flex; align-items: center; gap: 0.7rem; }
.ref-service-head svg { width: 2.4rem; height: 2.4rem; flex: none; }
.ref-service h3 { margin: 0; font-size: 1.12rem; }
.ref-service p { margin: 0; font-size: 0.98rem; }
.ref-service .fit { font-size: 0.95rem; }
.ref-service-link { margin-top: auto; font-weight: 700; padding: 0.45rem 0 0.2rem; display: inline-block; align-self: flex-start; }
.ref-service-link::after { content: "\00a0→"; margin-left: 0.1rem; }
.aside-link { font-weight: 700; margin-top: 1rem; }

/* Suburb checker: results and "Use my location" */
.result-status { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal); margin: 0 0 0.3rem !important; }
.result-card.maybe .result-status { color: var(--charcoal); }
.result-refer { font-size: 0.95rem; }
.suburb-field .label-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 0.75rem; }
.locate-button {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.35rem 0.95rem;
  font: inherit; font-size: 0.92rem; font-weight: 700; line-height: 1.2; color: var(--teal); background: #fff;
  border: 2px solid var(--teal); border-radius: 999px; cursor: pointer;
}
.locate-button:hover { background: var(--sage-light); }
.locate-button svg { width: 1.15rem; height: 1.15rem; flex: none; }
.locate-button[aria-busy="true"] { cursor: progress; }
.locate-button[aria-busy="true"] svg { animation: locate-pulse 0.9s ease-in-out infinite alternate; }
@keyframes locate-pulse { from { opacity: 1; } to { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .locate-button[aria-busy="true"] svg { animation: none; } }
.locate-status { margin: 1rem 0 0; font-weight: 600; }
.locate-status:empty { display: none; }
.locate-note { font-size: 0.88rem; margin: 0.75rem 0 0; }
.locate-attr { display: block; font-size: 0.75rem; margin-top: 0.3rem; }

@media (max-width: 1100px) {
  .before-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .before-steps li::after { display: none; }
}
@media (max-width: 960px) {
  .choices-grid > li, .choices-grid > li:nth-child(n+4), .ref-service, .ref-service:nth-child(n+4) { grid-column: span 3; }
  .choices-grid > li:nth-child(5), .ref-service:nth-child(5) { grid-column: 1 / -1; }
  .svc-two, .svc-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .svc-intro { grid-template-areas: "eyebrow" "h1" "lede" "meta"; }
  .choices-grid > li, .choices-grid > li:nth-child(n+4), .choices-grid > li:nth-child(5),
  .ref-service, .ref-service:nth-child(n+4), .ref-service:nth-child(5) { grid-column: 1 / -1; }
  .choice-eg { display: none; }          /* the same example is in the section each card links to */
  .ref-services { gap: 0.75rem; }
  .before-steps { grid-template-columns: minmax(0, 1fr); }
  .pointer-card .button { width: 100%; }
}

/* ---------- v0.7.1: a shorter Services page on phones ---------- */
/* Practical details now has four items: two columns on wider screens. */
#details .practical { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 62rem; }
@media (max-width: 760px) {
  .page-services .section, .page-services .svc { padding: 2.5rem 0; }
  /* The five choices become a short list: name, status and the enquiry link.
     The summary and example are the first things in the section each card links to. */
  .choices-grid { gap: 0.6rem; }
  .choice-item { padding: 0.8rem 0.95rem 0.7rem; gap: 0.35rem; }
  .choice-card svg { width: 2.2rem; height: 2.2rem; }
  .choice-sum { display: none; }
  .choice-ask { padding: 0.3rem 0 0.15rem; font-size: 0.95rem; }
  /* Before you start: the number sits beside each step instead of above it */
  .before-steps { gap: 1.1rem; margin-top: 1.5rem; }
  .before-steps li { padding: 0 0 0 3.4rem; min-height: 2.8rem; }
  .before-steps li::before { width: 2.5rem; height: 2.8rem; font-size: 1.05rem; }
  /* Appointment timeline: the time sits beside the step name */
  .visit .time { display: inline; margin-right: 0.4rem; }
  .visit strong { display: inline; }
  .visit p { margin-top: 0.15rem; }
  .outing-photo .wide-photo { aspect-ratio: 16 / 10; }
  #details .practical { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}

/* ---------- 18 November 2026 review: enquiry page reaches the form sooner ---------- */
.page-enquire .page-hero { padding-bottom: clamp(0.75rem, 2vw, 1.5rem); }
@media (max-width: 760px) {
  .page-enquire .page-hero { padding-top: 0.75rem; }
  .page-enquire .page-hero .lede { font-size: 1.05rem; }
  .path-switch { gap: 0.5rem; }
  .path-option label { padding: 0.7rem 0.9rem; }
  .path-option label svg { width: 1.9rem; height: 1.9rem; }
  .path-option label span { font-size: 0.9rem; margin-top: 0.1rem; }
}

/* Feedback and complaints form */
.feedback-form { display: grid; gap: 1.4rem; max-width: 40rem; margin: 1.25rem 0 2rem; }
.feedback-form .collection { margin: 0; }
.feedback-form textarea { min-height: 9rem; }
.page-feedback .done { margin: 1.25rem 0 2rem; max-width: 40rem; }
.done h3 { color: var(--ivory); }

/* Service pages and the short Services sections */
h2.h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.svc-sub h2.h3 { color: var(--ivory); font-size: clamp(1.45rem, 2.8vw, 2rem); }
.svc-page-open { padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem); }
.svc-page-open h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; margin-bottom: 0.4rem; }
.svc-page-open .lede { max-width: 46rem; }
.svc-page-open .actions { margin-top: 1.25rem; max-width: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0 0 1rem; font-size: 0.95rem; }
.crumbs li { max-width: none; }
.crumbs li + li::before { content: "›"; margin-right: 0.35rem; color: var(--charcoal); }
.crumbs a { font-weight: 700; }
.svc-brief .svc-eg { max-width: 46rem; }
.svc-also { margin: 1rem 0 0; }
.related-h { margin-top: 2.25rem; }
.related-q { padding-left: 1.2rem; margin: 0; }
.related-q li { margin: 0.35rem 0; }

/* About: the founders are one tap from the top */
.story-jump { font-weight: 600; margin: 0.25rem 0 0; }
.story-jump a { font-weight: 800; white-space: nowrap; }
.story-jump a::after { content: "\00a0↓"; }

/* For referrers: at a glance, and the printable summary collapsed on screen */
@media screen { .summary.is-collapsed .summary-grid { display: none; } }
.summary-toggle { margin: 1rem 0 0; }
.ref-glance .snapshot { margin-top: 1rem; }

/* Search pass: established service names, the suburb list, the footer's support column */
.svc-label { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin: 0 0 0.4rem; }
.svc.teal .svc-label { color: var(--ivory); }
.suburb-list { margin-top: 0.6rem; }
.suburb-list summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.suburb-list p { font-size: 0.95rem; margin: 0.5rem 0 0; }
@media (max-width: 960px) and (min-width: 761px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }

/* ---------- Print: referral summary ---------- */
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; font-size: 10.5pt; }
  .draft-banner, .site-header, .site-footer, .skip-link, .no-print { display: none !important; }
  .page-referrers main > *:not(#referral-summary-section) { display: none !important; }
  #referral-summary-section { padding: 0 !important; background: #fff !important; }
  #referral-summary-section .wrap { width: 100%; }
  .summary { box-shadow: none; padding: 0; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  mark.confirm { background: none; border: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }
  h2, h3 { break-after: avoid; }
  .summary li, .summary p { font-size: 10pt; }
  .summary-supports em { font-style: normal; font-weight: 700; }
}
