/* Smart Rentals website: every page except the homepage (which has its own
   sheet, directions/d4.css). Same look as the homepage, chosen by Steve and
   Leann on 7 Oct 2026: light, clean and unhurried, white space, hairlines and
   real photographs. Brand and Style Guide v2.0: Amber #F9A518 is a fine accent
   and the one button colour, never a block; Deep Amber #C68210 for small
   accents only; charcoal #333, body grey #666, light grey #F5F5F5; Inter. */

:root {
  --brand: #F9A518;
  --brand-deep: #C68210;
  --ink: #333333;
  --muted: #666666;
  --soft: #F5F5F5;
  --line: #E2E2E2;
  --paper: #FFFFFF;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --pad: clamp(20px, 5vw, 88px);
  --gap: clamp(64px, 8vw, 128px);
  --head: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--muted);
  font: 400 clamp(1rem, .96rem + .18vw, 1.1rem)/1.7 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 3px; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.08; letter-spacing: -.028em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
.lead { font-size: 1.15rem; color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: clamp(16px, 2vw, 26px); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--brand); flex: none; }
.center .eyebrow { justify-content: center; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--gap) 0; }
.section--soft, .section--tint, .section--dark { background: var(--soft); }
.section--brand { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.center p, p.center { margin-left: auto; margin-right: auto; }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }

/* ---------- staging ---------- */
.staging-bar { background: #161618; color: #FFD34D; font-size: .8rem; text-align: center; padding: 6px var(--gutter); letter-spacing: .02em; }
.todo { background: #FFF3B0; color: #5A4600; border: 1px dashed #C9A000; border-radius: 6px; padding: 10px 14px; font-size: .9rem; max-width: none; }

/* ---------- header (the homepage's, on white) ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--head); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
.brand img { width: clamp(170px, 15vw, 215px); height: auto; }
.menu { margin-left: auto; display: flex; gap: clamp(16px, 2.2vw, 34px); }
.menu a { font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--ink); padding: 6px 0; background: linear-gradient(var(--brand), var(--brand)) left bottom / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.menu a:hover, .menu a[aria-current="page"] { background-size: 100% 2px; }
.menu .menu-cta, .menu .only-phone { display: none; }
.cta { display: inline-block; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--brand); padding: 12px 20px; border-radius: 4px; transition: background .25s, color .25s; white-space: nowrap; }
.cta:hover { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; margin-left: auto; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:nth-of-type(1) { top: 17px; }
.burger i:nth-of-type(2) { top: 26px; }
.menu-open .burger i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:nth-of-type(2) { top: 21px; transform: rotate(-45deg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.header-phone { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }

@media (max-width: 1080px) {
  :root { --head: 68px; }
  .burger { display: block; }
  .top .cta { display: none; }
  .menu { position: fixed; inset: 0; margin: 0; background: #fff; flex-direction: column; gap: 0; padding: calc(var(--head) + 12px) var(--pad) 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; z-index: -1; overflow-y: auto; }
  .menu a { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; padding: 16px 0; border-bottom: 1px solid var(--line); background: none; }
  .menu .only-phone { display: block; }
  .menu .menu-cta { display: block; margin-top: 28px; padding: 18px 24px; border: 0; border-radius: 4px; background: var(--brand); font-size: 1.05rem; letter-spacing: 0; text-align: center; }
  .menu-open .menu { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  /* The open menu covers the page from the top, staging bar included. */
  .menu-open .top { position: fixed; inset: 0 0 auto 0; }
}

/* The ads landing page keeps a header with no menu. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; max-width: none; padding: 0 var(--pad); }
.logo img { width: clamp(160px, 15vw, 215px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 26px; border-radius: 4px; font: 600 .95rem var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background .25s, color .25s; white-space: nowrap; }
.btn--primary { background: var(--brand); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: #fff; }
/* The second action is a link with an amber rule, as on the homepage. */
.btn--ghost { background: linear-gradient(var(--brand), var(--brand)) left bottom / 100% 2px no-repeat; color: var(--ink); padding: 6px 0; border-radius: 0; }
.btn--ghost::after { content: '\2192'; transition: transform .3s var(--ease); }
.btn--ghost:hover::after { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 28px; }
.center .btn-row { justify-content: center; }
@media (max-width: 560px) { .btn--primary { width: 100%; text-align: center; white-space: normal; } }

/* ---------- page opening ---------- */
.hero { position: relative; background: var(--paper); padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 7vw, 104px); border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; }
.hero h1 { max-width: 18ch; }
.hero .lead { max-width: 56ch; }
.hero .support { color: var(--ink); font-weight: 600; }
.hero--interior h1 { max-width: 20ch; font-size: clamp(2.1rem, 4vw, 3.6rem); }
.values-strip { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.values-strip span::before { content: ''; display: inline-block; width: 14px; height: 2px; background: var(--brand); margin-right: 8px; vertical-align: middle; }

/* With a photograph: words on white to the left, the picture kept bright to
   the right. Nothing is laid over the picture. */
.hero--photo { display: flow-root; }
.hero--photo::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 44%; background: var(--soft) var(--hero-img) var(--hero-pos, center) / cover no-repeat; }
.hero--photo .wrap > * { max-width: min(50%, 620px); }
.hero--photo .wrap > .btn-row { max-width: 50%; }
@media (max-width: 860px) {
  .hero--photo { padding-top: 0; }
  .hero--photo::before { position: static; display: block; width: auto; height: 60vw; max-height: 420px; margin-bottom: 40px; }
  .hero--photo .wrap > *, .hero--photo .wrap > .btn-row { max-width: none; }
}

/* ---------- photo slot ---------- */
.photo-slot { background: var(--soft); border: 1px dashed #C8C8C8; min-height: 280px; display: grid; place-items: center; text-align: center; padding: 24px; color: #8A8A8A; font-size: .9rem; }
.photo-slot strong { display: block; color: var(--ink); }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 36px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.card { background: var(--soft); border-top: 2px solid var(--brand); padding: clamp(26px, 2.8vw, 40px); }
.section--soft .card, .section--tint .card, .section--dark .card { background: var(--paper); }
a.card { display: block; color: var(--muted); transition: background .4s; }
a.card:hover { background: #EDEDED; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 36px; height: 36px; display: grid; place-items: center start; margin-bottom: clamp(18px, 2.4vw, 32px); }
.icon svg { width: 30px; height: 30px; stroke: var(--brand-deep); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the Four C's ---------- */
.fourcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 760px) { .fourcs { grid-template-columns: 1fr; } }
.c-card { background: var(--paper); padding: clamp(24px, 2.8vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-card .c-word { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -.03em; color: var(--ink); margin: 0; }
.c-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.c-icon { width: 52px; height: 52px; flex: none; }
.c-intro { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 900px; margin: 0 auto; }
.c-intro h2 { margin-top: 0; }
.c-intro p:last-child { margin-bottom: 0; }
.c-seal { width: 160px; height: 160px; }
@media (max-width: 760px) { .c-intro { grid-template-columns: 1fr; text-align: center; gap: 18px; } .c-seal { width: 130px; height: 130px; margin: 0 auto; } .c-intro p { margin-left: auto; margin-right: auto; } }
.c-card .c-sub { color: var(--ink); font-weight: 500; margin: 0 0 8px; }
.c-card p { color: var(--muted); }
.c-card .more { font-weight: 600; font-size: .9rem; text-decoration: none; }
.c-card .more::after { content: ' \2192'; }

/* ---------- statement ---------- */
.statement p { font-size: 1.1rem; }
.statement .big { color: var(--ink); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.statement .big em { font-style: normal; }

/* ---------- benefits list ---------- */
.benefit { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.benefit .icon { margin: 0; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; margin-top: 36px; border-bottom: 1px solid var(--line); }
.step { position: relative; padding: 26px 0 28px 64px; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 32px; font-size: .78rem; font-weight: 500; letter-spacing: .1em; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: .3em; }
.step p:last-child { margin-bottom: 0; }

/* ---------- proof ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.stat { padding: clamp(24px, 3vw, 44px) clamp(18px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } .stat, .stat:first-child { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } .stat:first-child { border-top: 0; } }
.stat .figure { font-size: clamp(1.9rem, 2.8vw, 2.8rem); font-weight: 600; color: var(--ink); letter-spacing: -.035em; line-height: 1; }
.stat .figure small { font-size: .45em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.stars { color: var(--brand); letter-spacing: .12em; margin: 10px 0 8px; }
.stat p { margin: 0; font-size: .95rem; }
blockquote.pull { margin: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--brand); color: var(--ink); font-size: 1.1rem; text-align: left; }
blockquote.pull cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; font-size: .95rem; color: var(--ink); }

/* ---------- guarantees ---------- */
.guarantee { background: var(--paper); padding: clamp(26px, 2.8vw, 40px); border-top: 2px solid var(--brand); }
.certificate { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--brand); padding: clamp(28px, 4vw, 52px); }
.certificate .big { color: var(--ink); font-size: 1.3rem; font-weight: 500; line-height: 1.45; letter-spacing: -.01em; }

/* ---------- FAQ ---------- */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 48px 24px 0; position: relative; font-weight: 600; color: var(--ink); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.35; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 26px 0; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 28px 0 0; border-bottom: 1px solid var(--line); }
.checklist li { position: relative; padding: 16px 0 16px 40px; border-top: 1px solid var(--line); color: var(--ink); }
.checklist li::before { content: '\2713'; position: absolute; left: 4px; top: 16px; color: var(--brand-deep); font-weight: 700; }

/* ---------- prose (markdown pages) ---------- */
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; max-width: 68ch; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--brand-deep); }
.prose strong { color: var(--ink); }

/* ---------- contact / form ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--font); padding: 13px 14px; border: 1px solid #CFCFD4; border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(249, 165, 24, .35); border-color: var(--brand-deep); }
.form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .pair { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
.form .radios { display: flex; gap: 18px; }
.form .radios label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.form .radios input { width: auto; }
.form .fine, .fine { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { display: none; }
.form-status.is-shown { display: block; }
.form button[disabled] { opacity: .6; cursor: wait; }

.office { padding: 24px 0; border-top: 1px solid var(--line); }
.office h3 { margin-bottom: .3em; }
.office p { margin: 0 0 .3em; }
.contact-lines a { font-weight: 600; }

/* ---------- tables ---------- */
.trades { width: 100%; border-collapse: collapse; margin: 12px 0 28px; font-size: .95rem; }
.trades th, .trades td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.trades th { color: var(--ink); background: var(--soft); font-weight: 600; }
.trades td a { white-space: nowrap; font-weight: 600; }
.section--soft .trades th { background: var(--paper); }
@media (max-width: 700px) { .prose { overflow-x: auto; } }

/* ---------- closing band ---------- */
.closing { background: var(--soft); }
.closing .values { margin-top: 32px; color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.closing .sign { color: var(--ink); font-weight: 600; font-size: 1.2rem; }

/* ---------- footer (the homepage's) ---------- */
.foot { background: #fff; border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 84px) var(--pad) 48px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand img { width: 200px; height: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 34ch; }
.foot address { font-style: normal; }
.foot strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot-base { margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 32px; font-size: .82rem; max-width: none; }
.foot .social { display: inline-flex; gap: 16px; align-items: center; }
.foot .social a { color: #8E8E94; display: inline-flex; }
.foot .social a:hover { color: var(--ink); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* The ads landing page's short footer. */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .85rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- landing page (no nav) ---------- */
.landing-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .landing-hero-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--soft); color: var(--muted); border-top: 2px solid var(--brand); padding: clamp(24px, 3vw, 40px); }
.form-card h2 { font-size: 1.6rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 14px; }

/* plain list for reference content (e.g. the RTA emergency list) */
.bullets { padding-left: 1.2em; margin: 12px 0 0; color: var(--ink); max-width: 68ch; }
.bullets li { margin-bottom: .45em; }
.bullets li::marker { color: var(--brand-deep); }

/* ---------- photography ---------- */
.pic { width: 100%; object-fit: cover; background: var(--soft); }
.pic--portrait { aspect-ratio: 4 / 5; }
.pic--wide { aspect-ratio: 4 / 3; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.strip img { aspect-ratio: 4 / 3; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px) clamp(20px, 2.4vw, 36px); margin-top: 36px; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }
.person img { aspect-ratio: 4 / 5; }
.person h3 { margin: 16px 0 2px; }
.person h3 a { color: inherit; text-decoration: none; }
.person[id] { scroll-margin-top: 110px; }
.person .role { color: var(--muted); font-weight: 500; font-size: .9rem; margin: 0; }
.person .bio { font-size: .95rem; margin: 10px 0 0; }
.person .coffee { font-size: .85rem; color: var(--ink); margin: 10px 0 0; }
.person details.more { margin-top: 6px; }
.person details.more summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: .9rem; }
.person details.more[open] ~ .coffee { margin-top: 10px; }
.person details.more[open] { margin-top: 0; }
.person .todo { margin-top: 10px; font-size: .8rem; }
.person .li { color: #8E8E94; display: inline-flex; vertical-align: -3px; margin-left: 6px; }
.person .li:hover { color: var(--ink); }

.quotes blockquote.pull { font-size: 1.02rem; }

/* ---------- migration report (staging only) ---------- */
.report { font-size: .88rem; }
.report table { width: 100%; border-collapse: collapse; margin: 16px 0 40px; }
.report th, .report td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.report th { position: sticky; top: var(--head); background: var(--soft); color: var(--ink); font-weight: 600; }
.report td.url { color: var(--ink); min-width: 220px; }
.report .tag { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: .78rem; font-weight: 600; white-space: nowrap; background: var(--soft); color: var(--ink); }
.report .tag--kept { background: #E6F4EA; color: #1E6B34; }
.report .tag--moved { background: #FFF3D6; color: #7A4F00; }
.report .tag--new { background: #E8F0FE; color: #1A4FA3; }
.report .tag--bad { background: #FDE7E7; color: #A31A1A; }
.report .scroll { overflow-x: auto; }
.report .diff { color: var(--muted); display: block; margin-top: 4px; }

/* Listings from the Reapit feed (worker/render.js writes the HTML). */
.listing-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 12px; }
.listing-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-filters button { font: 500 .9rem var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.listing-filters button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.listing-sort { font-size: .9rem; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.listing-sort select { font: 400 .9rem var(--font); padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); }
.listing-count { font-size: .9rem; margin: 0 0 24px; }
.listing-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.listing-card { display: flex; flex-direction: column; text-decoration: none; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.listing-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); color: var(--muted); }
.listing-card[hidden] { display: none; }
.listing-card__img { aspect-ratio: 3 / 2; background: var(--soft); overflow: hidden; }
.listing-card__img img { width: 100%; height: 100%; object-fit: cover; }
.listing-card__body { padding: 18px 20px 22px; }
.listing-card__suburb { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); }
.listing-card h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.listing-card p { margin: 0; font-size: .95rem; }
.listing-card__price { color: var(--ink); font-weight: 600; }
.listing-card__avail { margin-top: 6px !important; font-size: .85rem !important; }
.listings-after { margin-top: clamp(40px, 5vw, 64px); }
.listing-strip { padding-bottom: 0; }
.listing-strip__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.listing-strip__head h2 { margin: 0; }
.listing-hero .eyebrow a { color: inherit; text-decoration: none; }
.listing-hero h1 { max-width: none; }
.listing-detail { padding-top: 0; }
.listing-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 6px; margin-bottom: clamp(32px, 4vw, 56px); }
.listing-gallery img { flex: 0 0 auto; width: min(88%, 820px); aspect-ratio: 3 / 2; object-fit: cover; scroll-snap-align: start; border-radius: 6px; }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.listing-side { position: sticky; top: calc(var(--head) + 16px); background: var(--soft); border-radius: 6px; padding: 26px 26px 20px; }
.listing-side .btn-row { margin-top: 20px; gap: 10px; }
.listing-side .btn { flex: 1 1 100%; }
.listing-side h3 { font-size: 1rem; margin-top: 24px; }
.listing-facts { margin: 0; }
.listing-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.listing-facts dt { color: var(--muted); }
.listing-facts dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.listing-times { padding-left: 1.1em; font-size: .95rem; }
.listing-note { font-size: .85rem; margin: 16px 0 0; }
.listing-features { columns: 2; column-gap: 32px; }
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-side { position: static; }
  .listing-features { columns: 1; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
