/* ==========================================================================
   Adelaide Junk Co, Fresh Digital build
   base.css, STRUCTURE AND COMPONENTS

   Every value here resolves from a token in theme.css.
   Do not hard code a colour, radius, shadow or font in this file.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

/* ---------- Type ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: var(--display-case);
  letter-spacing: var(--display-track);
  line-height: var(--display-lh);
  color: var(--ink);
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.25; }
h4 { font-size: 1.02rem; line-height: 1.3; }
p  { max-width: 68ch; }
a  { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: var(--eyebrow-weight);
  text-transform: var(--eyebrow-case);
  letter-spacing: var(--eyebrow-track);
  color: var(--eyebrow-fg);
  margin-bottom: .8rem;
  display: flex; align-items: center; gap: .7em;
}
.eyebrow::before {
  content: ""; flex: none; width: var(--eyebrow-rule); height: 3px;
  background: var(--brand); border-radius: 2px;
}
.center .eyebrow { justify-content: center; }
.eyebrow--light { color: var(--brand); }
.eyebrow--light::before { background: var(--brand); }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--text-muted); }
.lede a, .muted a { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.sec--dark .lede a, .sec--dark .muted a { color: var(--text-on-dark); }
.sec--sand .lede a, .sec--sand .muted a { color: var(--sand-head, var(--text)); }
.small { font-size: .84rem; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.center p, .center .lede, p.center { margin-left: auto; margin-right: auto; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec-y); }
.sec--tight { padding-block: clamp(2.4rem, 4.4vw, 3.6rem); }
.sec--sand { background: var(--paper-2); color: var(--sand-fg, inherit); }
.sec--sand h1, .sec--sand h2, .sec--sand h3, .sec--sand h4 { color: var(--sand-head, var(--ink)); }
.sec--sand p, .sec--sand .lede { color: var(--sand-muted, var(--text-muted)); }
/* Variation three paints this band near black, so every muted component inside
   it needs the band's own muted colour, not the light-surface one. Rebinding
   the token beats chasing each component selector. */
.sec--sand { --text-muted: var(--sand-muted); --alert: var(--sand-alert, #B32E19); }
.sec--dark { background: var(--ink); color: var(--text-on-dark); }
.sec--dark h1, .sec--dark h2, .sec--dark h3, .sec--dark h4 { color: var(--text-on-dark); }
.sec--dark p, .sec--dark .lede { color: var(--text-on-dark-muted); }
.sec--brand { background: var(--brand-soft); }
.sec-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.sec-head.center { margin-inline: auto; }
.grid { display: grid; gap: var(--gut); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 4vw, 3.6rem); align-items: center; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body);
  font-weight: var(--btn-weight);
  text-transform: var(--btn-case);
  letter-spacing: var(--btn-track);
  font-size: .9rem;
  padding: .92em 1.5em;
  border-radius: var(--r-pill);
  border: var(--border-w) solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 3px; }
.btn--primary { background: var(--brand); color: var(--on-brand); border-color: var(--line-strong); box-shadow: var(--card-shadow); }
.btn--primary:hover { background: var(--brand-deep); box-shadow: var(--card-shadow-hover); }
.btn--dark { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); box-shadow: var(--card-shadow); }
.btn--dark:hover { background: var(--ink-2); box-shadow: var(--card-shadow-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2, var(--paper-2)); }
.btn--on-dark { background: transparent; color: var(--text-on-dark); border-color: rgba(255,255,255,.34); }
.btn--on-dark:hover { background: rgba(255,255,255,.09); }
.btn--sm { padding: .68em 1.1em; font-size: .8rem; }
.btn--wide { width: 100%; }
.btn .ic { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- Header ---------- */
.marquee {
  background: var(--marquee-bg); color: var(--marquee-fg);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .17em;
  padding: .5rem 0; overflow: hidden; white-space: nowrap;
}
/* Slowed from 38s to 74s. At the old speed the trust claims scrolled past
   faster than they could be read. */
.marquee__track { display: inline-flex; gap: 2.6rem; animation: mq 74s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 2.6rem; }
.marquee__track span::after { content: "\25C6"; font-size: .55em; opacity: .62; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.hdr { position: sticky; top: 0; z-index: 90; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: var(--border-w) solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 1.4rem; min-height: 70px; }
.brandmark { display: flex; align-items: center; flex: none; }
.brandmark img { height: var(--logo-h); width: auto; }
.ftr .brandmark img { height: calc(var(--logo-h) + 8px); }
.nav { display: flex; align-items: center; gap: 1.35rem; margin-left: auto; }
.nav a { font-size: .88rem; font-weight: 600; padding: .4rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brand); }
.hdr__cta { display: flex; align-items: center; gap: .7rem; flex: none; }
.hdr__tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.burger { display: none; background: none; border: var(--border-w) solid var(--line-strong); border-radius: var(--r-sm); padding: .5rem .6rem; cursor: pointer; }
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span + span { margin-top: 4px; }

/* Mega menu */
.has-mega { position: relative; display: inline-flex; align-items: center; }
.mega {
  position: absolute; top: calc(100% + .55rem); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(760px, 88vw); background: var(--paper); border: var(--border-w-strong) solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--pop); padding: 1.35rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.6rem;
  opacity: 0; visibility: hidden; transition: .18s ease; z-index: 95;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega h4 { grid-column: span 2; font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin: .5rem 0 .35rem; }
.mega h4:first-child { margin-top: 0; }
.mega a { display: block; font-size: .86rem; font-weight: 500; padding: .34rem .5rem; border-radius: var(--r-xs); border: none; }
.mega a:hover { background: var(--brand-soft); border: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: var(--text-on-dark);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  /* One height for every page, sized to the tallest hero content in the set
     (the end of lease quote form). Every desktop hero therefore renders at
     exactly this height. On mobile the columns stack and it grows. */
  min-height: var(--hero-h, 0);
  /* Muted copy sitting straight on the ink hero needs the lighter grey. */
  --text-muted: var(--text-muted-dark);
}
/* Anything inside the hero that paints its own light surface takes the token
   back, so the quote card and the white routes stay tuned for a light card. */
.hero .formcard, .hero .plate, .hero .drop, .hero .card, .hero .hold,
.hero .route:not(.route--dark):not(.route--key) { --text-muted: var(--text-muted-light); }
/* The photo band is a fixed height rather than stretching to whatever the
   content happens to be, so it reads identically on every page. Anything
   taller than the band sits on the theme ink, and the band dissolves into
   it with a vertical fade. */
.hero__bg { position: absolute; inset: 0; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero__in {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
  padding-block: clamp(1.9rem, 3vw, 2.3rem);
}
.hero--solo .hero__in { grid-template-columns: 1fr; max-width: 54rem; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--brand); display: block; }
.hero__sub { color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.5vw, 1.14rem); margin-top: 1.05rem; max-width: 44ch; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; padding: .46rem .82rem; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.07); color: #fff; }
.chip .ic { width: .95em; height: .95em; color: var(--brand); }
.hero__chips .chip { border-color: rgba(254,203,3,.42); }
.hero__pagetype { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }

/* Breadcrumb */
.crumb { position: relative; z-index: 2; font-size: .76rem; color: rgba(255,255,255,.62); padding-top: 1.05rem; }
.crumb a:hover { color: var(--brand); }
.crumb span { margin-inline: .45rem; opacity: .5; }
.crumb .cur { color: rgba(255,255,255,.9); }

/* Google rating block */
.grate { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.35rem; }
.grate__g { width: 26px; height: 26px; flex: none; }
.stars { color: var(--brand); letter-spacing: .08em; font-size: .95rem; }
.grate__txt { font-size: .85rem; font-weight: 600; }
.hero .grate__txt { color: rgba(255,255,255,.9); }

/* ---------- Quote panel ---------- */
.formcard {
  background: var(--paper); color: var(--text);
  border: var(--border-w-strong) solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--pop);
  padding: clamp(1.1rem, 1.8vw, 1.5rem);
}
.formcard h2, .formcard h3 { font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.formcard__note { font-size: .78rem; color: var(--text-muted); margin-top: .22rem; }
.field { margin-top: .72rem; }
.field label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .26rem; }
/* Alert red, tokenised so the near-black variation can lighten it. #C4331C
   only reached 4.37:1 on the darker light surfaces. */
.field label .req { color: var(--alert, #B32E19); }
.field input, .field select, .field textarea {
  width: 100%; padding: .68rem .85rem;
  border: var(--border-w) solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--paper); color: var(--text); font-size: .94rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted-light); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--ink); }
/* Vertical only. A free resize handle lets the field be dragged wider than the
   card, which breaks the layout. */
.field textarea { resize: vertical; min-height: 4.6rem; line-height: 1.5; font-family: inherit; }
.field .hint { font-size: .73rem; color: var(--text-muted); margin-top: .22rem; }
.field .err { display: none; font-size: .78rem; color: var(--alert, #B32E19); font-weight: 600; margin-top: .3rem; }
.field.is-bad input { border-color: var(--alert, #B32E19); }
.field.is-bad .err { display: block; }
.drop { border: var(--border-w) dashed var(--line-strong); border-radius: var(--r-sm); padding: .72rem; text-align: center; background: var(--surface-2, var(--paper-2)); color: var(--text); cursor: pointer; }
.drop:hover { border-color: var(--brand-deep); background: var(--brand-soft); }
.drop.is-cued { border-color: var(--brand-deep); background: var(--brand-soft); animation: cue 1.6s ease 2; }
@keyframes cue { 0%,100% { box-shadow: 0 0 0 0 rgba(254,203,3,0); } 45% { box-shadow: 0 0 0 6px rgba(254,203,3,.45); } }
@media (prefers-reduced-motion: reduce) { .drop.is-cued { animation: none; } }
.drop strong { display: block; font-size: .85rem; }
.drop small { color: var(--text-muted); font-size: .71rem; line-height: 1.35; display: block; }
.consent { font-size: .72rem; color: var(--text-muted); margin-top: .65rem; line-height: 1.45; }
.consent a { text-decoration: underline; }
/* Any icon dropped inline in small print stays inline sized. */
.consent .ic, .small .ic, p .ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.15em; margin-right: .25em; }
.formstate { display: none; border-radius: var(--r-sm); padding: .9rem 1rem; margin-top: .9rem; font-size: .88rem; }
.formstate.ok { background: var(--brand-soft); border: var(--border-w) solid var(--brand-deep); }
.formstate.bad { background: #FDECE8; border: var(--border-w) solid #C4331C; color: #7A1F0F; }

/* Route picker, the three primary actions */
.routes { display: grid; gap: .5rem; margin-top: .85rem; }
.route {
  display: flex; align-items: center; gap: .85rem; width: 100%; text-align: left;
  padding: .72rem 1rem; border-radius: var(--r-md);
  border: var(--border-w-strong) solid var(--line); background: var(--paper);
  cursor: pointer; transition: .16s ease; color: var(--text);
}
.route:hover { transform: translateY(-2px); box-shadow: var(--card-shadow); border-color: var(--ink); }
.route--key { background: var(--brand); border-color: var(--line-strong); }
.route--dark { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }
/* `.route--dark small` and `.route small` carry the same specificity, so the
   later one won and the dark route's helper line stayed grey on ink. Rebinding
   the token instead removes the collision. */
.route .ic { width: 1.35rem; height: 1.35rem; flex: none; }
.route b { display: block; font-size: .89rem; font-weight: 700; letter-spacing: .02em; }
.route small { display: block; font-size: .75rem; color: var(--text-muted); }
/* Muted helper copy is tuned for a light card. Rebind the token per backdrop
   rather than patching each component, so anything dropped into these
   containers later inherits a colour that clears 4.5:1. */
.route--key { --text-muted: var(--text-muted-brand); }
.route--dark { --text-muted: var(--brand); }
.route .arw { margin-left: auto; opacity: .5; }

/* ---------- Trust bar ---------- */
.trustbar { border-block: var(--border-w) solid var(--line); background: var(--paper); }
.trustbar ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar li { display: flex; align-items: center; gap: .6rem; padding: 1.1rem .9rem; font-size: .85rem; font-weight: 600; }
.trustbar li + li { border-left: var(--border-w) solid var(--line); }
.trustbar .ic {
  width: 1.85rem; height: 1.85rem; padding: .42rem; flex: none;
  background: var(--brand); color: var(--on-brand); border-radius: 50%;
}

/* ---------- Graphic plate, the photo slot ---------- */
/* Real client photography drops in by setting `photo` in the page config.
   Until then this renders an on brand chevron plate, not a broken image. */
.plate { position: relative; overflow: hidden; background: var(--plate-a); border-radius: var(--tile-radius); }
.plate::before {
  content: ""; position: absolute; inset: -20%;
  background: repeating-linear-gradient(115deg, var(--plate-a) 0 34px, var(--plate-b) 34px 68px);
}
.plate::after {
  content: ""; position: absolute; left: -8%; top: -14%; width: 62%; height: 128%;
  background: var(--plate-mark); transform: skewX(-19deg); opacity: .1;
}
.plate__art { position: absolute; inset: 0; display: grid; place-items: center; }
.plate__art svg { width: 46%; max-width: 190px; height: auto; color: var(--plate-ghost); }
.plate__tag {
  position: absolute; left: .8rem; bottom: .8rem; z-index: 3;
  font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5); background: rgba(0,0,0,.4);
  padding: .3rem .55rem; border-radius: var(--r-xs);
}
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.plate--hero { position: absolute; inset: 0; border-radius: 0; }
.plate--16x9 { aspect-ratio: 16/9; }
.plate--4x3  { aspect-ratio: 4/3; }
.plate--1x1  { aspect-ratio: 1/1; }
.plate--3x4  { aspect-ratio: 3/4; }

/* ---------- Bento service tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 210px; padding: 1.15rem; border-radius: var(--tile-radius);
  border: var(--card-border); box-shadow: var(--card-shadow);
  overflow: hidden; color: #fff; transition: .18s ease;
}
.tile:hover { transform: translateY(var(--card-lift)); box-shadow: var(--card-shadow-hover); }
.tile__scrim { position: absolute; inset: 0; z-index: 3; background: linear-gradient(0deg, rgba(8,9,11,.88) 4%, rgba(8,9,11,.34) 52%, rgba(8,9,11,.12) 100%); }
.tile__body { position: relative; z-index: 4; }
.tile h3 { color: #fff; font-size: 1.08rem; }
.tile p { color: rgba(255,255,255,.78); font-size: .82rem; margin-top: .28rem; }
.tile--wide { grid-column: span 2; min-height: 300px; }
.tile--tall { grid-row: span 2; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: var(--card-border); border-radius: var(--tile-radius);
  box-shadow: var(--card-shadow); padding: 1.25rem; transition: .18s ease; height: 100%;
}
.card:hover { transform: translateY(var(--card-lift)); box-shadow: var(--card-shadow-hover); }
.card h3 { font-size: 1.02rem; }
.card p { font-size: .875rem; color: var(--text-muted); margin-top: .38rem; }
.card__ic { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(150deg, var(--ink-3) 0%, var(--ink) 82%); color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 16px -10px rgba(8,9,10,.55);
  margin-bottom: .9rem; transition: transform .18s ease, box-shadow .18s ease; }
.card__ic svg { width: 1.72rem; height: 1.72rem; }
.card:hover .card__ic, .card--link:hover .card__ic { transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 20px -10px rgba(8,9,10,.6); }
/* Duotone glyph: a soft filled tone plus crisp brand-coloured detail lines. */
.dsvg .f { fill: currentColor; opacity: .22; stroke: none; }
.dsvg .s { fill: none; stroke: currentColor; stroke-width: 1.9; }
.card--flat { box-shadow: none; }
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--photo .card__txt { padding: 1.05rem 1.15rem 1.3rem; }
.card__pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card--photo:hover .card__pic img { transform: scale(1.04); }
/* On photo cards the corner arrow sits over the lower text, not the image. */
.card--photo.card--link::after { bottom: 1.15rem; }
.card--link { position: relative; }
.card--link::after { content: "\2192"; position: absolute; right: 1.1rem; bottom: 1.05rem; opacity: .35; transition: .16s; }
.card--link:hover::after { opacity: 1; transform: translateX(3px); }

/* Numbered process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--gut); counter-reset: s; }
.step { position: relative; padding-top: 3.3rem; }
.step__n {
  position: absolute; top: 0; left: 0; width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--brand); color: var(--on-brand);
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
}
.step h3 { font-size: .99rem; }
.step p { font-size: .86rem; color: var(--text-muted); margin-top: .3rem; }
.sec--dark .step p { color: var(--text-on-dark-muted); }


/* ---------- Item grid, "what we can take" ---------- */
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); align-items: stretch; }
.item { display: flex; flex-direction: column; border: var(--card-border); border-radius: var(--tile-radius); overflow: hidden; background: var(--paper); box-shadow: var(--card-shadow); transition: .18s ease; }
.item:hover { transform: translateY(var(--card-lift)); box-shadow: var(--card-shadow-hover); }
/* Icon tiles share the photo tiles' 4:3 block so a grid that mixes the two
   still lines up. Before this they were 16:6 and the rows went ragged. */
.item__ic {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: var(--brand-wash); overflow: hidden;
  border-bottom: var(--border-w) solid var(--line);
}
.item__ic::after {
  content: ""; position: absolute; left: -10%; top: -25%; width: 46%; height: 150%;
  background: var(--brand); opacity: .85; transform: skewX(-18deg);
}
.item__ic .itemsvg { position: relative; z-index: 2; width: 3.6rem; height: 3.6rem; color: var(--ink); stroke-width: 1.5; }
.item__txt { padding: .95rem 1.05rem 1.15rem; flex: 1; }
/* Photo tile: the subject photo carries the box, with the symbol kept as a
   small badge so the tile still reads at a glance when the photo is dark. */
.item__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.item__pic img { width: 100%; height: 100%; object-fit: cover; }
.item__badge {
  position: absolute; left: .6rem; bottom: .6rem; display: grid; place-items: center;
  width: 2.3rem; height: 2.3rem; border-radius: var(--r-sm);
  background: var(--brand); box-shadow: var(--card-shadow);
}
.item__badge .itemsvg { width: 1.3rem; height: 1.3rem; color: var(--on-brand); stroke-width: 1.7; }
.item:hover .item__pic img { transform: scale(1.03); }
.item__pic img { transition: transform .35s ease; }
.item h3 { font-size: .95rem; }
.item p { font-size: .82rem; color: var(--text-muted); margin-top: .28rem; }

/* Warning callout */
.warn {
  display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.15rem;
  align-items: start;
  background: var(--brand-wash);
  border: var(--border-w) solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: var(--tile-radius);
  padding: clamp(1.25rem, 2.2vw, 1.75rem) clamp(1.3rem, 2.4vw, 1.9rem);
  margin-top: var(--gut);
}
.warn__ic {
  grid-row: span 2; width: 2.35rem; height: 2.35rem; flex: none;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--brand); color: var(--on-brand);
}
.warn__ic .ic { width: 1.25rem; height: 1.25rem; }
.warn b {
  display: block; font-family: var(--font-body);
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); margin-bottom: .45rem;
}
.warn p, .sec--sand .warn p, .sec--dark .warn p {
  font-size: .9rem; line-height: 1.62; margin: 0; color: var(--ink); max-width: 78ch;
}
.warn .btn { justify-self: start; margin-top: 1.05rem; }
@media (max-width: 620px) {
  .warn { grid-template-columns: 1fr; }
  .warn__ic { grid-row: auto; margin-bottom: .4rem; }
}

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--card-border); border-radius: var(--tile-radius); overflow: hidden; background: var(--paper); box-shadow: var(--card-shadow); }
.stat { padding: 1.4rem 1.1rem; text-align: center; }
.stat + .stat { border-left: var(--border-w) solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1; color: var(--ink); }
.stat span { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; color: var(--text-muted); margin-top: .45rem; }
.stat small { display: block; font-size: .7rem; color: var(--text-muted); margin-top: .2rem; }

/* ---------- Reviews ---------- */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); }
.rev { background: var(--paper); border: var(--card-border); border-radius: var(--tile-radius); box-shadow: var(--card-shadow); padding: 1.2rem; display: flex; flex-direction: column; }
.rev__stars { color: var(--brand); font-size: .95rem; letter-spacing: .08em; }
/* The star glyphs are brand yellow, which cannot meet text contrast on a light
   card. They are marked aria-hidden and the rating is carried by this text
   instead, so screen readers and contrast tooling both get a real value. */
.a11y { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.rev p { font-size: .88rem; margin-top: .6rem; flex: 1; }
.rev__who { display: flex; align-items: center; gap: .6rem; margin-top: .95rem; padding-top: .8rem; border-top: var(--border-w) solid var(--line); }
.rev__av { width: 2.1rem; height: 2.1rem; border-radius: var(--r-pill); background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; }
.rev__who b { display: block; font-size: .84rem; }
.rev__who small { display: block; font-size: .72rem; color: var(--text-muted); }
.rev__src { margin-left: auto; width: 1.1rem; height: 1.1rem; flex: none; }

/* Verification placeholder, used where real content is not yet approved */
.hold {
  border: var(--border-w-strong) dashed var(--line-strong); border-radius: var(--tile-radius);
  background: var(--surface-2, var(--paper-2)); color: var(--text); padding: 1.15rem 1.3rem;
}
.hold b { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--alert, #B32E19); margin-bottom: .3rem; }
.hold p { font-size: .86rem; color: var(--text-muted); margin: 0; }

/* ---------- FAQ accordion ---------- */
.faqwrap { max-width: 1020px; margin-inline: auto; }
.faqwrap .sec-head { margin-inline: auto; text-align: center; max-width: 46ch; }
.faqwrap .sec-head .eyebrow { justify-content: center; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq-item { border: var(--card-border); border-radius: var(--tile-radius); background: var(--paper); overflow: hidden; align-self: start; }
.faq-item summary {
  display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1rem 1.15rem; font-weight: 600; font-size: .93rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; margin-left: auto; width: .62rem; height: .62rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item[open] summary { background: var(--brand-soft); }
.faq-item .ans { padding: 0 1.15rem 1.15rem; }
.faq-item .ans p { font-size: .89rem; color: var(--text-muted); }
.faq-item .ans p + p { margin-top: .6rem; }

/* ---------- Suburb checker ---------- */
.checker { max-width: 46rem; }
.checker__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.checker__row input { flex: 1 1 16rem; padding: .95rem 1.1rem; border: var(--border-w-strong) solid var(--line-strong); border-radius: var(--r-pill); font-size: .96rem; background: var(--paper); color: var(--text); -webkit-text-fill-color: var(--text); caret-color: var(--text); }
/* Explicit colours: the global reset inherits colour, which turned typed text white on the dark section. */
.checker__row input::placeholder { color: var(--text-muted-light); opacity: 1; }
.checker__row input:focus { outline: 3px solid var(--brand); outline-offset: 1px; }
.checker__out { margin-top: .9rem; font-size: .9rem; border-radius: var(--tile-radius); padding: .95rem 1.1rem; display: none; }
.checker__out.show { display: block; }
.checker__out.yes { background: var(--brand-soft); border: var(--border-w) solid var(--brand-deep); }
.checker__out.maybe { background: var(--surface-2, var(--paper-2)); color: var(--text); border: var(--border-w) solid var(--line-strong); }
.checker__out.no { background: var(--surface-2, var(--paper-2)); color: var(--text); border: var(--border-w) dashed var(--line-strong); }
.checker__out b { display: block; margin-bottom: .2rem; }

/* ---------- Area / map band ---------- */
.mapband { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.8rem, 3.5vw, 3rem); align-items: center; }
.arealist { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem .9rem; margin-top: 1.1rem; }
.arealist a { display: flex; align-items: center; gap: .5rem; font-size: .87rem; padding: .28rem 0; }
.arealist .dot { width: .42rem; height: .42rem; border-radius: 50%; background: var(--brand); flex: none; }
.arealist a:hover { color: var(--brand-deep); }
.sec--dark .arealist a:hover { color: var(--brand); }
.regioncard { border: var(--card-border); border-radius: var(--tile-radius); background: var(--paper); box-shadow: var(--card-shadow); padding: 1.2rem; }
.regioncard h3 { font-size: 1rem; }
.regioncard ul { margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.regioncard li { font-size: .78rem; padding: .22rem .6rem; border-radius: var(--r-pill); background: var(--surface-2, var(--paper-2)); color: var(--text); border: var(--border-w) solid var(--line); }

/* ---------- CTA band ---------- */
.ctaband { background: var(--ink); color: var(--text-on-dark); position: relative; overflow: hidden; }
.ctaband::after { content: ""; position: absolute; right: -6%; top: -30%; width: 40%; height: 160%; background: var(--brand); opacity: .07; transform: skewX(-17deg); }
.ctaband__in { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; justify-content: space-between; padding-block: clamp(2.6rem, 5vw, 4rem); }
.ctaband h2 { color: #fff; max-width: 20ch; }
.ctaband p { color: rgba(255,255,255,.74); margin-top: .6rem; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--text-on-dark-muted); padding-block: clamp(2.6rem, 5vw, 4rem) 1.6rem; border-top: var(--border-w) solid var(--ink-3); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.ftr h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; color: var(--brand); margin-bottom: .85rem; }
.ftr a { font-size: .85rem; display: block; padding: .22rem 0; }
.ftr a:hover { color: var(--brand); }
.ftr .brandmark { color: var(--text-on-dark); }
.ftr__tag { font-size: .85rem; margin-top: .85rem; max-width: 30ch; }
.ftr__badges { display: grid; gap: .55rem; margin-top: 1rem; }
.ftr__badge { display: flex; align-items: flex-start; gap: .55rem; font-size: .78rem; line-height: 1.4; }
.ftr__badge .ic { width: 1.05rem; height: 1.05rem; color: var(--brand); flex: none; margin-top: .1rem; }
.ftr__base { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2.4rem; padding-top: 1.3rem; border-top: var(--border-w) solid var(--ink-3); font-size: .76rem; }
.ftr__base nav { display: flex; gap: 1.1rem; }
.ftr__base a { display: inline; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilities ---------- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--brand); color: var(--on-brand); padding: .8rem 1.2rem; font-weight: 700; }
.skip:focus { left: .5rem; top: .5rem; }
.mt0 { margin-top: 0 !important; }
.mt1 { margin-top: 1rem; }
.mt2 { margin-top: 1.7rem; }
.mt3 { margin-top: 2.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; }
  .g4, .g6 { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .hdr__tel { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: var(--border-w-strong) solid var(--line);
    padding: .8rem var(--gut) 1.2rem; box-shadow: var(--pop);
  }
  .nav.open a { padding: .75rem 0; border-bottom: var(--border-w) solid var(--line); }
  .nav.open .has-mega { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
  .nav.open .mega { position: static; transform: none; opacity: 1; visibility: visible; width: 100%; box-shadow: none; border: 0; padding: .3rem 0 .6rem 1rem; grid-template-columns: 1fr; }
  .nav.open .mega h4 { grid-column: 1; }
  .burger { display: block; margin-left: auto; }
  .hdr__in { position: relative; }
  .hero__in, .split, .mapband { grid-template-columns: 1fr; }
  .hero__in { padding-block: clamp(2.4rem, 6vw, 3.4rem); }
  .items, .revs, .g3 { grid-template-columns: repeat(2, 1fr); }
  .trustbar ul { grid-template-columns: repeat(2, 1fr); }
  .trustbar li:nth-child(3) { border-left: 0; }
  .trustbar li:nth-child(n+3) { border-top: var(--border-w) solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: var(--border-w) solid var(--line); }
}
@media (max-width: 620px) {
  .bento, .items, .revs, .g2, .g3, .g4, .g6, .arealist { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .trustbar ul { grid-template-columns: 1fr; }
  .trustbar li + li { border-left: 0; border-top: var(--border-w) solid var(--line); }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: var(--border-w) solid var(--line); }
  .ftr__grid { grid-template-columns: 1fr; }
  .warn { flex-direction: column; }
  .warn .btn { margin-left: 0; }
  .hero__in { padding-block: 2.2rem; }
}

@media print {
  .hdr, .marquee, .ctaband, .mobilebar { display: none; }
}


/* ==========================================================================
   NARROW SCREENS, including folding phone cover displays
   The header action cluster was 334px wide on its own, so it overflowed every
   phone and pushed the document sideways. Below 430px and 330px the logo,
   quote button and burger step down in size.
   ========================================================================== */

@media (max-width: 430px) {
  :root { --gut: 1rem; }
  .hdr__in { gap: .55rem; min-height: 58px; }
  .brandmark img { height: 32px; }
  .hdr__cta { gap: .45rem; }
  .hdr__cta .btn--sm { padding: .58em .75em; font-size: .7rem; letter-spacing: .03em; }
  .burger { padding: .42rem .5rem; }
  .burger span { width: 17px; }
  .marquee { font-size: .64rem; letter-spacing: .12em; }
}

/* Samsung Fold 3 and 4 cover screens report about 280px. */
@media (max-width: 330px) {
  .hdr__in { gap: .4rem; }
  .brandmark img { height: 28px; }
  .hdr__cta .btn--sm { padding: .5em .6em; font-size: .64rem; }
  .wrap { padding-inline: .85rem; }
  .formcard, .warn { padding: 1rem .9rem; }
  h1 { font-size: clamp(1.9rem, 11vw, 2.5rem); }
  .stat b { font-size: 1.6rem; }
  .trustbar li, .item h3, .card h3 { font-size: .88rem; }
}

/* Nothing may push the page sideways. */
img, svg, video, table, pre { max-width: 100%; }
.wrap, .hero__in, .hdr__in, .ftr__grid { min-width: 0; }
.hdr__in > *, .hero__in > *, .grid > *, .bento > *, .items > * { min-width: 0; }

/* ==========================================================================
   STICKY MOBILE ACTION BAR
   Call and quote within thumb reach on every page, at every scroll position.
   Hidden on desktop, where the header already carries both. The body gets
   bottom padding to match so the bar never covers the footer or the submit
   button, and it sits above the safe area on notched and gesture-bar phones.
   ========================================================================== */
.mobilebar { display: none; }

@media (max-width: 860px) {
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1.25fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--paper);
    border-top: var(--border-w) solid var(--line-strong);
    box-shadow: 0 -8px 26px rgba(0,0,0,.14);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobilebar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .95rem .6rem; font-weight: 700; font-size: .92rem;
    letter-spacing: .01em; min-height: 56px; text-align: center;
  }
  .mobilebar .ic { width: 1.15rem; height: 1.15rem; flex: none; }
  .mobilebar__call { color: var(--ink); border-right: var(--border-w) solid var(--line-strong); }
  .mobilebar__quote { background: var(--brand); color: var(--on-brand); }
  .mobilebar a:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: -3px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 360px) {
  .mobilebar a { font-size: .84rem; gap: .38rem; padding-inline: .35rem; }
}

/* ---------- Related links, internal linking between leaf pages ---------- */
.related { border-top: var(--border-w) solid var(--line); }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); }
.related__col h3 { font-size: .96rem; margin-bottom: .7rem; }
.related__col ul { display: grid; gap: .34rem; }
.related__col li a {
  font-size: .875rem; color: var(--text-muted);
  border-bottom: 1px solid transparent; display: inline-block;
}
.related__col li a:hover { color: var(--text); border-bottom-color: var(--brand); }
@media (max-width: 860px) { .related__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related__grid { grid-template-columns: 1fr; } }


/* live-merge editorial v4 (FD design system: every section earns its height).
   ALL rules scoped to .msplit / .mcard so the mockup's own .split/.card/.plate
   components are never restyled (FD rules 6 and 14). */
.wrap.msplit { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem,4vw,3.6rem); align-items: stretch; }
.msplit-copy { align-self: center; min-width: 0; }
.msplit-copy > * + * { margin-top: 1rem; }
.msplit-copy h2 { margin-top: .15rem; }
.msplit-plate { position: relative; min-height: 340px; border-radius: var(--tile-radius); overflow: hidden; background: var(--paper-2); }
.msplit-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mbody > * + * { margin-top: 1rem; }
.msplit-copy .mbody p, .sec--dark .mbody p { max-width: none; }
.mlede { font-size: clamp(1.1rem, 1.5vw, 1.34rem); line-height: 1.5; color: var(--ink); font-weight: 500; }
.sec--sand .mlede { color: var(--sand-head, var(--ink)); }
.sec--dark .mlede { color: #fff; }
.mtail { max-width: 70ch; margin: clamp(1.4rem,3vw,2.2rem) auto 0; text-align: center; color: var(--text-muted); }
.mtail > * + * { margin-top: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.sec-head.center .chips { justify-content: center; }
.chip--light { color: var(--text); border-color: var(--line-strong); background: var(--paper); }
.sec--sand .chip--light { background: var(--paper); }
.sec--dark .chip--light { color: #fff; border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.06); }
.ticks { display: grid; gap: .55rem; margin-top: 1rem; padding: 0; list-style: none; }
.ticks--grid { grid-template-columns: 1fr 1fr; gap: .55rem 1.6rem; }
.ticks li { position: relative; padding-left: 1.75rem; color: var(--text-muted); font-size: .95rem; line-height: 1.5; }
.mcard .ticks li { font-size: .85rem; }
.sec--dark .ticks li { color: var(--text-on-dark-muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.16rem; height: 1.16rem; border-radius: 50%; background: var(--brand); }
.ticks li::after { content: ""; position: absolute; left: .35rem; top: .34rem; width: .42rem; height: .23rem; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
/* my icon cards align regardless of heading/body length (FD rule 15b) */
.mcards .mcard { display: flex; flex-direction: column; }
.mcards .mcard .mbody { flex: 1; }
@media (max-width: 980px){ .ticks--grid { grid-template-columns: 1fr; } }
@media (max-width: 900px){
  .wrap.msplit { grid-template-columns: 1fr; }
  .wrap.msplit .msplit-plate { order: -1; min-height: 240px; }   /* image leads when stacked (FD rule 1) */
}


/* live-merge CTA band (mid-page action prompts). Scoped to .cta-mid. */
.cta-mid { background: var(--brand-wash); border-block: 1px solid var(--line); }
.cta-mid .cta-mid__in { display: flex; flex-wrap: wrap; gap: 1.1rem 2.2rem; align-items: center; justify-content: space-between; padding-block: clamp(1.5rem, 3vw, 2.3rem); }
.cta-mid__txt { min-width: 0; flex: 1 1 22rem; }
.cta-mid__txt .eyebrow { color: var(--text-muted-brand); }
.cta-mid__txt h3 { font-size: clamp(1.18rem, 1.9vw, 1.55rem); line-height: 1.18; margin: .2rem 0 .35rem; }
.cta-mid__txt p { color: var(--text); max-width: 56ch; font-size: .96rem; line-height: 1.5; }
.cta-mid .row { display: flex; gap: .7rem; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 760px) { .cta-mid .cta-mid__in { flex-direction: column; align-items: flex-start; } .cta-mid .row { width: 100%; } .cta-mid .row .btn { flex: 1 1 auto; justify-content: center; } }
