/* Assist Lifestyle homepage — Notes & Postcards */

:root {
  --paper: #f6f1f8;        /* lilac paper ground */
  --card: #ffffff;         /* card stock */
  --mint: #e3f3e9;         /* note paper, fridge section */
  --mint-deep: #cfe9d9;
  --lilac: #e6d6ec;
  --lilac-2: #efe6f3;
  --tape: rgba(196, 160, 210, 0.75);
  --rule: #e3d6e8;
  --rule-dash: #cdb6d6;    /* dashed and dotted ledger lines */
  --field-stroke: #c9b6d1;
  --field-fill: #fbf8fc;
  --ink-3: #6e5a76;        /* placeholders */
  /* Paper stocks: real household paper, each with one job. */
  --paper-cream: #fff8e1;  /* lined letter pad, cream notice */
  --manila: #f6ecd4;       /* referral folder */
  --manila-deep: #e9dcc0;  /* folder tabs */
  --manila-soft: #efe5cf;  /* folder tabs not reached yet */
  --tab-lilac: #d9c4e1;    /* index-card dividers */
  --tab-cream: #f3e7c9;
  --tab-pink: #f4d9df;
  --margin-pink: #f0c9d6;  /* the margin line on notepads */
  --metal: #9d8aa6;        /* paper clips, binder rings */
  --metal-light: #bfaec7;
  --metal-soft: #d7cbdd;
  --purple: #7b2d8e;
  --purple-deep: #5e1f70;
  --plum: #2a1033;
  --ink-2: #4a3552;
  --green: #17633a;        /* text green, AA on mint */
  --green-ink: #2f9a5d;    /* stamps, magnets */
  --err: #a3123a;

  --font-display: "Figtree", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 14px 28px -16px rgba(42, 16, 51, 0.35), 0 2px 6px -2px rgba(42, 16, 51, 0.12);
  --shadow-lift: 0 22px 36px -18px rgba(42, 16, 51, 0.4), 0 3px 8px -2px rgba(42, 16, 51, 0.14);
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 82rem;
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
  accent-color: var(--purple);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; -webkit-text-size-adjust: 100%; scrollbar-color: var(--rule-dash) var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font: 400 1.1875rem/1.6 var(--font-body);
  caret-color: var(--purple);
  overflow-x: hidden;
}
::selection { background: #e0c6ea; color: var(--plum); }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--plum); margin: 0; text-wrap: balance; }
p, li { margin: 0; text-wrap: pretty; }
a { color: var(--purple-deep); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.hand { font-family: var(--font-hand); font-weight: 700; letter-spacing: 0.005em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  background: var(--plum); color: #fff; padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; padding: 0 1.6rem;
  border-radius: var(--radius);
  font: 700 1.125rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn--ink { background: var(--purple); color: #fff; border: 2px solid var(--purple); box-shadow: 0 10px 20px -12px rgba(94, 31, 112, 0.7); }
.btn--ink:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
.btn--paper { background: var(--card); color: var(--plum); border: 2px solid var(--rule); }
.btn--paper:hover { border-color: var(--purple); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn-text {
  background: none; border: 0; padding: 0.5rem 0.25rem; min-height: 2.75rem;
  font: 700 1.0625rem/1.2 var(--font-body); color: var(--purple-deep);
  text-decoration: underline; text-decoration-color: #d4b9df; text-underline-offset: 0.22em; cursor: pointer;
}
.btn-text:hover { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
  .btn--ink:hover { transform: translateY(-1px); }
  .btn--ink .icon { transition: transform 0.3s var(--ease-out); }
  .btn--ink:hover .icon { transform: translateX(3px); }
  .btn:active { transform: translateY(1px); }
}

/* Paper objects */
.postcard {
  position: relative;
  background: var(--card);
  padding: 0.9rem 0.9rem 3.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.postcard img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.postcard figcaption {
  position: absolute; left: 1.25rem; right: 7rem; bottom: 0.7rem;
  font-size: clamp(1.625rem, 2.1vw, 1.875rem); line-height: 1.1; color: var(--purple-deep);
}
.stamp {
  position: absolute; width: 5.25rem; height: 6rem;
  display: grid; place-items: center;
  background: var(--green-ink);
  border: 5px dotted var(--card);
  outline: 2px solid var(--green-ink);
  box-shadow: 0 6px 12px -6px rgba(42, 16, 51, 0.35);
}
.stamp img { width: 3.1rem; height: 3.1rem; object-fit: contain; background: #fff; border-radius: 50%; padding: 0.4rem; }
.note {
  position: absolute;
  background: var(--mint);
  color: var(--green);
  font: 700 clamp(1.75rem, 2.4vw, 2.125rem)/1.12 var(--font-hand);
  padding: 1.4rem 1.5rem 1.3rem;
  border-radius: 6px 6px 28px 6px;
  box-shadow: var(--shadow);
  max-width: 17rem;
}
.tape {
  position: absolute; top: -0.85rem; left: 50%;
  width: 5.5rem; height: 1.6rem; margin-left: -2.75rem;
  background: var(--tape);
  transform: rotate(-3deg);
  border-radius: 2px;
}

/* Header */
.site-header {
  position: relative; z-index: 30;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.25rem var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; text-decoration: none; margin-right: auto; }
.brand img { width: 2.85rem; height: auto; }
.brand span { font: 800 1.55rem/1 var(--font-display); color: var(--purple); letter-spacing: -0.015em; }

/* Site menu: plain buttons that open note-card panels */
.nav-list { display: flex; align-items: center; gap: clamp(0.25rem, 1vw, 0.75rem); }
.nav-btn, .nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 2.75rem; padding: 0 0.7rem;
  background: none; border: 0; border-radius: 12px;
  font: 700 1.0625rem/1 var(--font-body); color: var(--plum); text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out);
}
.nav-btn:hover, .nav-link:hover, .nav-btn[aria-expanded="true"] { background: var(--lilac-2); }
.nav-btn .chev { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease-out); }
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% - 0.5rem); left: var(--gutter); right: var(--gutter);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift), 0 0 0 1px var(--rule);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.mega .tape { top: -0.75rem; }
.mega--narrow { left: auto; right: calc(var(--gutter) + 12rem); width: min(40rem, calc(100% - 2 * var(--gutter))); }
.mega--small { left: auto; right: calc(var(--gutter) + 9rem); width: 20rem; }
.mega__grid { display: grid; gap: 1.5rem 2rem; }
.mega__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__head {
  display: block; margin-bottom: 0.6rem; padding-bottom: 0.6rem; border-bottom: 2px dashed var(--rule);
  font: 800 1.1875rem/1.2 var(--font-display); color: var(--plum); text-decoration: none;
}
.mega__head small { display: block; margin-top: 0.25rem; font: 700 0.9375rem/1.3 var(--font-body); color: var(--purple); }
.mega__head:hover { color: var(--purple-deep); text-decoration: underline; text-decoration-thickness: 2px; }
.mega ul a, .mega__list a {
  display: flex; align-items: center; min-height: 2.5rem; padding: 0.2rem 0;
  font-size: 1.0625rem; color: var(--ink-2); text-decoration: none; line-height: 1.3;
}
.mega ul a:hover, .mega__list a:hover { color: var(--purple-deep); text-decoration: underline; }
.mega__list li + li { border-top: 1px solid var(--rule); }
.mega__list a { padding: 0.5rem 0; }
.mega__all {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.25rem; min-height: 2.75rem;
  font-weight: 700; color: var(--purple-deep);
}

/* SIL and ILO homes: their own section in the header, in the mint that means "open" across the site */
.nav-btn--homes { gap: 0.4rem; padding-inline: 0.7rem 0.55rem; background: var(--mint); color: var(--green); }
.nav-btn--homes:hover, .nav-btn--homes[aria-expanded="true"] { background: var(--mint-deep); }
.mega-homes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 5fr); gap: 1.5rem clamp(1.5rem, 3vw, 2.75rem); }
.mega-homes__feature { display: grid; justify-items: start; align-content: start; gap: 0.35rem; color: var(--ink-2); text-decoration: none; }
.mega-homes__feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); margin-block-end: 0.4rem; }
.mega-homes__feature strong { font: 800 1.375rem/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--plum); }
.mega-homes__feature:hover strong { color: var(--purple-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
p.mega__head:hover { color: var(--plum); text-decoration: none; }
.mega ul.mega-homes__list a { flex-wrap: wrap; justify-content: space-between; gap: 0.15rem 0.75rem; min-height: 2.75rem; color: var(--plum); font-weight: 700; }
.mega-homes__list li + li { border-top: 1px dashed var(--rule-dash); }
.mega ul.mega-homes__types a { display: grid; gap: 0.1rem; min-height: 2.75rem; padding-block: 0.45rem; }
.mega-homes__types strong { color: var(--plum); line-height: 1.3; }
.mega-homes__types span { color: var(--ink-2); font-size: 1rem; line-height: 1.35; }

/* A home's status always says it in words; the colour only backs that up. */
.home-status { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.15rem 0.65rem; border-radius: 999px; font: 700 1rem/1.4 var(--font-body); white-space: nowrap; }
.home-status::before { content: ""; flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: currentColor; }
.home-status--open { background: var(--green); color: #fff; }
.home-status--one { background: var(--mint); color: var(--green); }
.home-status--full { background: var(--lilac-2); color: var(--ink-2); }
.home-status--soon { background: var(--paper-cream); color: var(--plum); }
.home-status--full::before, .home-status--soon::before { background: none; box-shadow: inset 0 0 0 2px currentColor; }

/* The homepage's "a home is open" strip, above the header */
.home-alert { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.15rem 0.75rem; min-height: 2.75rem; padding: 0.5rem var(--gutter); background: var(--mint-deep); color: var(--plum); text-decoration: none; font-size: 1.0625rem; line-height: 1.35; }
.home-alert > .icon { color: var(--green); }
.home-alert__text strong { color: var(--green); }
.home-alert__go { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 0.2em; }
.home-alert:hover .home-alert__go { text-decoration-thickness: 2px; }

.header-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.15rem;
  background: var(--purple); color: #fff; border-radius: 14px;
  font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: var(--purple-deep); }
/* Six menu items and a phone number: the header tightens step by step before it collapses at 64rem. */
.nav-btn, .nav-link, .brand span { white-space: nowrap; }
@media (min-width: 64.01rem) and (max-width: 91rem) {
  .site-header { gap: 1rem; }
  .nav-list { gap: 0.125rem; }
  .nav-btn, .nav-link { padding-inline: 0.5rem; font-size: 1rem; }
  .nav-btn--homes { padding-inline: 0.6rem 0.4rem; }
  .brand img { width: 2.5rem; }
  .brand span { font-size: 1.375rem; }
  .header-call { padding-inline: 0.9rem; }
}
@media (min-width: 64.01rem) and (max-width: 76rem) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.menu-toggle { display: none; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

/* Hero */
.hero {
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(0.75rem, 2.5vw, 2rem) clamp(1.5rem, 2.5vw, 2rem);
}
.hero h1 {
  font-size: clamp(3.25rem, 7.2vw, 6.25rem);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.035em;
}
.hero h1 span { display: block; color: var(--purple); }
.hero__lead { font-size: clamp(1.1875rem, 1.55vw, 1.375rem); color: var(--ink-2); max-width: 32ch; margin: 1.35rem 0 1.85rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ndis { width: 9.25rem; height: auto; margin-top: 1.5rem; }
.hero__desk { position: relative; padding: 1.25rem 0 1.25rem 2.5rem; }
.postcard--hero { transform: rotate(2deg); }
.postcard--hero .stamp { right: 1.25rem; bottom: -1.5rem; transform: rotate(7deg); }
.note--hero { left: -0.75rem; top: -0.25rem; transform: rotate(-4deg); }

/* Section heads */
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem var(--gutter); align-items: end; margin-bottom: clamp(1.5rem, 2.5vw, 2rem); }
.section-head h2 { grid-column: 1 / span 6; font-size: clamp(2.25rem, 3.8vw, 3.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.section-head p { grid-column: 7 / span 6; color: var(--ink-2); max-width: 46ch; justify-self: end; }

/* Week: kinds of help + fridge board */
.week { padding-block: clamp(1.75rem, 3vw, 2.25rem) var(--section); background: var(--mint); }
.week .section-head p { color: #2f4a3b; }
.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.2vw, 2rem); align-items: start; }
.kind:nth-child(1) { transform: rotate(-1.5deg); }
.kind:nth-child(2) { transform: rotate(1.25deg); margin-top: 1.25rem; }
.kind:nth-child(3) { transform: rotate(-0.75deg); margin-top: 0.4rem; }
.kind:nth-child(4) { transform: rotate(1.5deg); margin-top: 1.6rem; }
.card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.85rem 0.85rem 1.1rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  transition: box-shadow 0.3s var(--ease-out);
}
.kind:hover .card { box-shadow: var(--shadow-lift); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 0.35rem; }
.card__quote { font-size: clamp(1.625rem, 2vw, 1.85rem); line-height: 1.08; color: var(--purple-deep); padding-inline: 0.2rem; }
.card h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; padding-inline: 0.2rem; margin-top: 0.2rem; }
.card__what { font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); padding-inline: 0.2rem; }
.card__fund { font-size: 1rem; font-weight: 700; color: var(--purple); padding-inline: 0.2rem; }
.card__more {
  display: inline-flex; align-items: center; gap: 0.35rem; align-self: flex-start;
  min-height: 2.75rem; padding-inline: 0.2rem;
  font-weight: 700; font-size: 1.0625rem; color: var(--purple-deep);
  text-decoration: underline; text-decoration-color: #d4b9df; text-underline-offset: 0.22em;
}
.card__more:hover { text-decoration-color: currentColor; }
.card__more .icon { width: 1.1em; height: 1.1em; }
.days { margin-top: 0.5rem; padding: 0.85rem 0.2rem 0; border-top: 1px dashed var(--rule); }
.days__label { font-size: 1rem; font-weight: 700; color: var(--plum); margin-bottom: 0.55rem; }
.days__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
.day-chip {
  min-height: 2.75rem; padding: 0;
  display: grid; place-items: center;
  background: var(--card); color: var(--plum);
  border: 2px solid #cdb9d5; border-radius: 12px;
  font: 700 1rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.day-chip:hover { border-color: var(--purple); }
.day-chip[aria-pressed="true"] { background: var(--purple); color: #fff; border-color: var(--purple); }
.kind[data-kind="skills"] .day-chip[aria-pressed="true"],
.kind[data-kind="home-care"] .day-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); }

/* The fridge door: a soft enamel panel; a mint note and a taped planner sheet are held on it */
.fridge {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  /* lilac enamel with a soft vertical sheen, clearly a different surface from the paper held on it */
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.55) 46%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #e7d8ee, #dccbe6);
  border-radius: 32px;
  box-shadow: var(--shadow-lift), inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
}
.magnet { position: absolute; width: 1.5rem; height: 1.5rem; border-radius: 50%; box-shadow: 0 4px 6px -2px rgba(42, 16, 51, 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.15); }
.magnet--note { left: 50%; top: -0.7rem; margin-left: -0.75rem; background: var(--purple); }
.fridge__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-bottom: 1.75rem; }
.fridge__note {
  position: relative;
  background: var(--mint); color: var(--green);
  padding: 0.85rem 1.6rem 0.75rem;
  border-radius: 6px 6px 22px 6px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.fridge__title { display: block; font-size: clamp(2.25rem, 3.6vw, 2.75rem); line-height: 1; color: var(--green); }
.fridge__hint { color: var(--plum); font-weight: 700; }
.planner {
  position: relative;
  background: var(--card);
  border-radius: 3px;
  padding: 0.75rem;
  box-shadow: var(--shadow);
  transform: rotate(-0.4deg);
}
.tape--l { left: 12%; margin-left: 0; transform: rotate(-4deg); }
.tape--r { left: auto; right: 12%; margin-left: 0; transform: rotate(3deg); }
.board { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; background: var(--rule); border: 2px solid var(--rule); border-radius: 16px; overflow: hidden; }
.board > li { min-height: 8.5rem; padding: 0.7rem 0.6rem; background: #fdfbfe; }
.board > li.has-pins { background: #fbf7fc; }
.board__day { display: block; font: 800 1.0625rem/1 var(--font-display); color: var(--plum); margin-bottom: 0.6rem; }
.board__pins { display: grid; gap: 0.4rem; }
.pin {
  position: relative;
  font: 700 1.0625rem/1.2 var(--font-body);
  padding: 0.5rem 0.55rem 0.5rem 1.4rem;
  border-radius: 8px;
  background: #f1e6f5; color: var(--purple-deep);
  box-shadow: 0 3px 6px -3px rgba(42, 16, 51, 0.3);
}
.pin::before { content: ""; position: absolute; left: 0.45rem; top: 50%; width: 0.5rem; height: 0.5rem; margin-top: -0.25rem; border-radius: 50%; background: currentColor; }
.pin--skills, .pin--home-care { background: var(--mint); color: var(--green); }
.pin:nth-child(odd) { transform: rotate(-1.5deg); }
.pin:nth-child(even) { transform: rotate(1deg); }
@media (prefers-reduced-motion: no-preference) {
  .pin { animation: pin-on 0.35s var(--ease-out); }
}
@keyframes pin-on { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.fridge__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.5rem; }

/* Team */
.team { padding-block: var(--section) calc(var(--section) * 0.85); }
.team__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.team__words h2 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.team__lead { font-size: clamp(1.1875rem, 1.5vw, 1.375rem); color: var(--ink-2); margin: 1.25rem 0 1.75rem; max-width: 34ch; }
.ticks { display: grid; gap: 0.85rem; }
.ticks li { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 700; }
.ticks li::before {
  content: ""; flex: none; width: 1.75rem; height: 1.75rem; margin-top: 0.05rem; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317633a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
}
.team__desk { position: relative; padding: 2rem 2rem 1.5rem 0; }
.postcard--meet { transform: rotate(-1.75deg); }
.note--team { right: -0.5rem; top: -0.5rem; transform: rotate(4deg); max-width: 15rem; font-size: clamp(1.625rem, 2.1vw, 1.9rem); }

/* Where we work: the back of a postcard */
.postback {
  margin-top: clamp(4rem, 8vw, 6rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 4rem);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  position: relative;
}
.postback::after { /* the centre divider of a postcard back */
  content: ""; position: absolute; top: 2rem; bottom: 2rem; right: calc(clamp(1.75rem, 3.5vw, 3rem) + 15rem + clamp(0.75rem, 2vw, 2rem));
  width: 2px; background: var(--rule);
}
.postback h3 { font-size: clamp(1.75rem, 2.8vw, 2.375rem); font-weight: 800; letter-spacing: -0.02em; }
.postback__msg > p { color: var(--ink-2); margin-top: 0.5rem; max-width: 48ch; }
.regions { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem 2.5rem; margin-top: 1.75rem; }
.regions h4 { font-size: 1.4375rem; font-weight: 800; color: var(--green); margin-bottom: 0.25rem; }
.regions h4:not(:first-child) { margin-top: 1.5rem; }
.regions ul { columns: 2; column-gap: 2rem; }
.regions div:last-child ul { columns: 1; }
.regions li { break-inside: avoid; }
.regions li a { display: inline-flex; align-items: center; min-height: 2.5rem; font-weight: 700; color: var(--plum); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 0.25em; }
.regions li a:hover { color: var(--purple-deep); text-decoration-color: currentColor; }
.regions h4 a { display: inline-flex; align-items: center; min-height: 2.75rem; color: inherit; text-decoration: none; }
.regions h4 a:hover { text-decoration: underline; }
.team__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }
.team__links .link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.postback__more { margin-top: 1.75rem; color: var(--ink-2); }
.postback__side { position: relative; width: 15rem; min-height: 15rem; }
.stamp--big { right: 0; top: 0; transform: rotate(5deg); }
.cancel { position: absolute; left: -1rem; top: 2.5rem; width: 11rem; height: 11rem; transform: rotate(-12deg); }
.cancel circle { fill: none; stroke: var(--green-ink); stroke-width: 3; opacity: 0.8; }
.cancel text { fill: var(--green); font: 800 15px var(--font-display); letter-spacing: 0.12em; }
.cancel .pm-mid { font-size: 26px; letter-spacing: 0.06em; }
.cancel .pm-small { font-size: 11px; letter-spacing: 0.2em; }
.waves { position: absolute; left: 6rem; top: 6.5rem; width: 10rem; height: 2.5rem; }
.waves path { fill: none; stroke: var(--green-ink); stroke-width: 3; opacity: 0.6; }

/* A breath: full-width photo */
.sunset { position: relative; margin: 0; }
.sunset img { width: 100%; height: clamp(18rem, 42vw, 34rem); object-fit: cover; object-position: 50% 42%; border-radius: 0; }
/* Wide screens crop the photo hard top and bottom: pan up so both faces stay in frame. */
@media (min-width: 48rem) { .sunset img { object-position: 50% 12%; } }
.sunset figcaption {
  position: absolute; left: var(--gutter); bottom: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--card); color: var(--purple-deep);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.05;
  padding: 0.75rem 1.25rem 0.6rem;
  border-radius: 6px 6px 22px 6px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  max-width: calc(100% - 2 * var(--gutter));
}

/* Questions */
.faq { padding-block: var(--section); background: var(--card); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__intro h2 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.faq__intro p { color: var(--ink-2); margin-top: 1rem; max-width: 30ch; }
.faq__list { display: grid; gap: 0.85rem; }
.faq details { background: var(--paper); border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.75rem; padding: 1rem 1.25rem;
  font: 800 1.1875rem/1.3 var(--font-display); color: var(--plum);
  border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e1f70' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: #efe6f3; }
.faq__a { padding: 0 1.25rem 1.25rem; color: var(--ink-2); max-width: 62ch; }

/* Getting started */
.start { padding-block: var(--section); background: var(--mint); }
.start .coordinator { border-top-color: var(--mint-deep); }
.start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.start__words h2 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 2.25rem; }
.steps { display: grid; gap: 1.6rem; }
.steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: start; }
.step__n {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); color: var(--green);
  font: 700 2.125rem/1 var(--font-hand);
  box-shadow: var(--shadow);
}
.steps h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.015em; margin: 0.35rem 0 0.25rem; }
.steps p { color: var(--ink-2); max-width: 38ch; }
.coordinator { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid #dccbe3; color: var(--ink-2); max-width: 42ch; }
.coordinator strong { color: var(--plum); }

.start__pad { position: relative; }
.pad, .sent {
  position: relative;
  background:
    linear-gradient(90deg, transparent 2.6rem, var(--margin-pink) 2.6rem, var(--margin-pink) calc(2.6rem + 2px), transparent calc(2.6rem + 2px)),
    var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.5rem) clamp(3.5rem, 5vw, 4.25rem);
  transform: rotate(0.6deg);
}
.pad { display: grid; gap: 1.15rem; }
.pad__to { font-size: clamp(1.875rem, 2.6vw, 2.25rem); color: var(--purple-deep); line-height: 1; margin-bottom: 0.25rem; }
.stamp--pad { right: 1.5rem; top: -1.5rem; transform: rotate(6deg); }
.pinned-week {
  position: relative;
  background: var(--mint); color: var(--plum);
  border-radius: 6px 6px 22px 6px;
  padding: 1rem 1.25rem 0.5rem;
  box-shadow: var(--shadow);
  transform: rotate(-1.25deg);
  margin: 0.25rem 0 0.5rem;
  justify-self: start; max-width: 26rem;
}
.pinned-week__title { font-size: 1.875rem; line-height: 1; color: var(--green); margin-bottom: 0.4rem; }
.pinned-week ul { display: grid; gap: 0.2rem; font-size: 1.0625rem; }
.pinned-week .btn-text { font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .pinned-week.is-new { animation: note-in 0.5s var(--ease-out); }
}
@keyframes note-in { from { opacity: 0; transform: translateY(-18px) rotate(-6deg); } to { opacity: 1; transform: rotate(-1.25deg); } }
.privacy { font-size: 1rem; color: var(--ink-2); text-align: center; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
label { font-weight: 700; font-size: 1.0625rem; }
.opt { font-weight: 400; color: var(--ink-2); }
input, select, textarea {
  width: 100%;
  font: 400 1.125rem/1.4 var(--font-body); color: var(--plum);
  background: var(--field-fill);
  border: 2px solid var(--field-stroke); border-radius: 12px;
  padding: 0.8rem 0.95rem; min-height: 3.25rem;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e1f70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 1.25rem;
  padding-right: 2.4rem; text-overflow: ellipsis;
}
textarea { resize: vertical; min-height: 6rem; }
input:hover, select:hover, textarea:hover { border-color: var(--purple); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--plum); outline-offset: 1px; border-color: var(--plum); background: #fff; }
.hint { font-size: 1rem; color: var(--ink-2); }
.err { font-size: 1.0625rem; font-weight: 700; color: var(--err); }
.err.is-reserved { visibility: hidden; }   /* keeps its space once shown, so fields never jump */
[aria-invalid="true"] { border-color: var(--err); }
.sent { display: grid; gap: 0.75rem; align-content: start; justify-items: start; min-height: 20rem; }
.sent:focus { outline: none; }
.sent__hand { font-size: 2.5rem; color: var(--purple-deep); line-height: 1; }
.sent h3 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; }
.sent p:not(.sent__hand) { color: var(--ink-2); }

/* Footer */
.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 2.5rem var(--gutter); align-items: start; }
.footer__brand { display: grid; gap: 1rem; justify-items: start; }
.footer__brand p { color: var(--ink-2); max-width: 32ch; font-size: 1.0625rem; }
.footer__brand .ndis { margin-top: 0; }
.footer__map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.footer__h { font: 800 1.5rem/1.2 var(--font-display); color: var(--plum); margin-bottom: 0.5rem; }
.footer__map ul { display: grid; gap: 0; }
.footer__map a { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--ink-2); font-size: 1.0625rem; text-decoration: none; line-height: 1.3; }
.footer__map a:hover { color: var(--purple-deep); text-decoration: underline; }
.footer__phone { display: inline-flex; align-items: center; min-height: 2.75rem; font: 800 1.75rem/1.1 var(--font-display); color: var(--purple-deep); text-decoration: none; font-variant-numeric: tabular-nums; }
.footer__social { margin-top: 1.5rem; }
.footer__social ul { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.footer__social a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1.0625rem; font-weight: 700; }
.footer__ack { flex-basis: 100%; order: 3; max-width: 70ch; }
.footer__legal { margin-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 1rem; color: var(--ink-2); }
.footer__company { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; }
.footer__company a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* Mobile call dock (phones only) */
.dock { display: none; }

/* Tablet */
@media (max-width: 64rem) {
  .site-header { flex-wrap: wrap; gap: 0.75rem; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; order: 2;
    min-height: 3rem; padding: 0 1rem;
    background: var(--card); color: var(--plum);
    border: 2px solid var(--rule); border-radius: 14px;
    font: 700 1rem/1 var(--font-body); cursor: pointer;
  }
  .header-call { order: 1; }
  .site-nav { order: 3; flex-basis: 100%; display: none; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; background: var(--card); border-radius: var(--radius); padding: 0.5rem 1rem; box-shadow: var(--shadow); }
  .nav-item + .nav-item { border-top: 1px solid var(--rule); }
  .nav-btn, .nav-link { width: 100%; justify-content: space-between; min-height: 3.5rem; padding: 0 0.25rem; font-size: 1.125rem; }
  .nav-btn:hover, .nav-link:hover, .nav-btn[aria-expanded="true"] { background: none; color: var(--purple-deep); }
  .nav-btn--homes, .nav-btn--homes:hover, .nav-btn--homes[aria-expanded="true"] { background: var(--mint); color: var(--green); padding-inline: 0.75rem; justify-content: flex-start; }
  .nav-btn--homes .chev { margin-inline-start: auto; }
  .mega-homes { grid-template-columns: minmax(0, 1fr); }
  .mega-homes__feature img { max-width: 24rem; }
  .home-alert { text-align: center; }
  .home-alert > .icon { display: none; }
  .mega, .mega--narrow, .mega--small { position: static; width: auto; box-shadow: none; border-radius: 0; padding: 0 0 1rem 0.75rem; }
  .mega .tape { display: none; }
  .mega__grid--4, .mega__grid--2 { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
  .mega__list li + li { border-top: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__map { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero, .team__grid, .start__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero__desk { padding: 1.5rem 0.5rem 2.5rem 1.5rem; max-width: 40rem; }
  .section-head h2, .section-head p { grid-column: 1 / -1; justify-self: start; }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kind:nth-child(n) { margin-top: 0; }
  .team__desk { max-width: 40rem; }
  .postback { grid-template-columns: 1fr; }
  .postback::after { display: none; }
  .postback__side { width: 100%; min-height: 9.5rem; border-top: 2px solid var(--rule); padding-top: 0.5rem; }
  .cancel { left: 0; top: 0.75rem; width: 8.5rem; height: 8.5rem; }
  .waves { left: 5.5rem; top: 4rem; width: 8rem; }
  .stamp--big { right: 0.5rem; top: 1rem; }
}

/* Phone */
@media (max-width: 36rem) {
  body { font-size: 1.125rem; padding-bottom: 5.5rem; }
  .brand span { font-size: 1.3rem; }
  .brand img { width: 2.4rem; }
  .header-call span, .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .header-call, .menu-toggle { padding: 0; width: 3rem; justify-content: center; }
  .site-header { gap: 0.5rem; }
  .actions .btn { width: 100%; }
  .hero__desk { padding: 1.75rem 0.25rem 2rem 0.5rem; }
  .note--hero { left: -0.25rem; top: -0.25rem; max-width: 12.5rem; padding: 1rem 1.1rem; font-size: 1.625rem; }
  .postcard figcaption { right: 5.25rem; font-size: 1.625rem; }
  .postcard--hero { padding-bottom: 4.9rem; }
  .postcard--hero figcaption { right: 6.5rem; }
  .postcard--hero .stamp { right: 0.75rem; bottom: -1.75rem; }
  .postcard--hero .stamp { width: 4.25rem; height: 4.9rem; }
  .postcard--hero .stamp img { width: 2.5rem; height: 2.5rem; }
  .kinds { grid-template-columns: 1fr; gap: 1.75rem; }
  .kind:nth-child(n) { transform: none; }
  .board { grid-template-columns: 1fr; }
  .board > li { min-height: 0; display: grid; grid-template-columns: 3.25rem 1fr; align-items: center; gap: 0.5rem; padding: 0.6rem 0.75rem; }
  .board__day { margin: 0; }
  .board__pins { grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); }
  .fridge__actions .btn { width: 100%; }
  .planner { transform: none; padding: 0.5rem; }
  .note--team { position: relative; right: auto; top: auto; margin: 1.25rem 0 0 auto; display: block; }
  .team__desk { padding: 0.5rem 0 0; }
  .regions { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .pad, .sent { transform: none; }
  .mega__grid--4, .mega__grid--2 { grid-template-columns: 1fr; }
  .footer__map { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }

  .dock {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(246, 241, 248, 0.96);
    border-top: 1px solid var(--rule);
    box-shadow: 0 -10px 24px -18px rgba(42, 16, 51, 0.45);
    transform: translateY(110%);
    transition: transform 0.3s var(--ease-out);
  }
  .dock.is-shown { transform: none; }
  .menu-open .dock.is-shown { transform: translateY(110%); }
  .dock .btn { min-height: 3.25rem; padding: 0 1rem; }
}
@media (max-width: 36rem) and (prefers-reduced-motion: reduce) { .dock { transition: none; } }
/* Tilted paper can poke a few pixels past the edge of a phone screen. */
@media (max-width: 40rem) { main { overflow-x: clip; } }

/* Very large text on a narrow screen (for example a 200% browser text size on a phone).
   This width is below any real device at normal text size, so everyday phones never see it. */
@media (max-width: 19rem) {
  html { overflow-wrap: anywhere; }
  .site-header { flex-wrap: wrap; gap: 0.5rem; }
  .brand { margin-right: auto; }
  .brand span { white-space: normal; font-size: 1.125rem; }
  .footer__brand, .footer__brand * { min-width: 0; max-width: 100%; }
  main h1 { font-size: 1.75rem !important; line-height: 1.1; letter-spacing: -0.02em; }
  main h2 { font-size: 1.375rem !important; line-height: 1.15; letter-spacing: -0.015em; }
  main .clip-grid, main .tick-grid, main .postcard-big, main .postcard-big__message, main .id-card__body { grid-template-columns: minmax(0, 1fr); }
  main .postcard-big, main .postcard-big__message, main .pad, main .slip, main .slip-wrap, main .letter, main .id-card, main .name-badge { padding-inline: 0.5rem; margin-inline: 0; width: auto; max-width: 100%; transform: none; }
  main .postcard-big, main .postcard-big__message, main .postcard-big__address, main .section-head { display: block; }
  main .postcard-big__address { padding-inline: 0.5rem; }
  main .section-head, main .section-head > * { width: auto; max-width: 100%; }
  main .name-badge__hello, main .name-badge__sub { font-size: 1rem; letter-spacing: 0; }
  main *, .site-footer * { min-width: 0; }
  main img { max-width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}
