/* Rentwise — brand tokens from the brand book (claude.ai/artifact/RiynT9E6ho4fETY2BfoqAV). */
:root {
  --spruce: #17332C;    /* logo, headings, dark bands */
  --spruce-2: #1F3F37;  /* cards on spruce */
  --pine: #2E5E50;      /* links, icons, hover */
  --brass: #B5843A;     /* keyhole, primary call to action, small details */
  --brass-dark: #8F6526;
  --limestone: #E6E2D8; /* panels, cards, fields */
  --snow: #F5F4F0;      /* page ground */
  --ink: #1C2321;       /* running text */
  --muted: #5B6662;
  --rule: #D3CEC2;
  --on-dark: #E7EFEB;
  --on-dark-muted: #A9C9BC;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4vw, 2.6rem);
  --step-4: clamp(2.6rem, 6vw, 4.6rem);

  --radius: 14px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--snow); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); }
a:hover { color: var(--spruce); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--spruce); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: var(--step-4); line-height: 0.98; font-weight: 750; }
h2 { font-size: var(--step-3); line-height: 1.05; font-weight: 700; }
h3 { font-size: var(--step-1); line-height: 1.2; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

.label { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; background: var(--limestone); color: var(--spruce); border-radius: 6px; padding: 3px 8px; display: inline-block; white-space: nowrap; }
.wrap { max-width: 1160px; margin-inline: auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--white { background: #fff; border-block: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 48px; margin-bottom: 44px; }
.section-head .lede { max-width: 62ch; font-size: var(--step-1); line-height: 1.5; margin-top: 16px; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* buttons */
.btn { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1; padding: 15px 24px; border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.btn-brass { background: var(--brass); color: #1b1407; }
.btn-brass:hover { background: #C79647; color: #1b1407; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-spruce { background: var(--spruce); color: #fff; }
.btn-spruce:hover { background: var(--pine); color: #fff; }
.btn-line { border-color: var(--spruce); color: var(--spruce); }
.btn-line:hover { background: var(--spruce); color: #fff; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { flex: none; }
.wordmark { font-family: var(--font-display); font-weight: 750; letter-spacing: -0.035em; line-height: 1; color: var(--spruce); font-size: 1.6rem; }
.wordmark span { color: var(--pine); font-weight: 500; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(245,244,240,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--font-display); font-weight: 550; font-size: 1rem; color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--pine); }
.nav .btn { color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--spruce); }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--snow); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 24px var(--gutter); border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px rgba(23,51,44,.08); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--rule); font-size: 1.15rem; }
  .nav .btn { margin-top: 18px; width: auto; border-bottom: 0; justify-content: center; }
}

/* hero */
.hero { position: relative; min-height: min(78vh, 680px); display: grid; align-items: end; color: #fff; background: var(--spruce); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,32,27,.88) 0%, rgba(14,32,27,.6) 45%, rgba(14,32,27,.05) 80%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 96px); width: 100%; }
.hero h1 { color: #fff; max-width: 12ch; }
.hero p { max-width: 46ch; font-size: var(--step-1); line-height: 1.5; margin-top: 22px; color: rgba(255,255,255,.92); }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-kicker { color: var(--on-dark-muted); margin-bottom: 18px; display: block; }
@media (max-width: 640px) { .hero::after { background: linear-gradient(180deg, rgba(14,32,27,.35) 0%, rgba(14,32,27,.9) 70%); } }

/* page hero (interior pages) */
.page-hero { position: relative; color: #fff; background: var(--spruce); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero .wrap { position: relative; padding-block: clamp(64px, 10vw, 120px) clamp(48px, 7vw, 80px); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 16ch; }
.page-hero p { max-width: 54ch; font-size: var(--step-1); line-height: 1.5; margin-top: 20px; color: rgba(255,255,255,.92); }
.page-hero .label { color: var(--on-dark-muted); display: block; margin-bottom: 16px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--rule); padding-top: 32px; }
.pillars p { color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* dark band + service cards */
.band { background: var(--spruce); color: var(--on-dark); }
.band h2, .band h3 { color: #fff; }
.band .label { color: var(--on-dark-muted); }
.band .section-head .lede { color: var(--on-dark); }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc { background: var(--spruce-2); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.svc img { height: 230px; width: 100%; object-fit: cover; }
.svc .body { padding: 28px; display: grid; gap: 12px; flex: 1; align-content: start; }
.svc ul { margin: 4px 0 0; padding-left: 1.1em; display: grid; gap: 6px; color: #D5E3DD; }
.svc li::marker { color: var(--brass); }
.svc .for { font-family: var(--font-mono); font-size: 0.8rem; color: #E9C98F; }
.svc .more { margin-top: 10px; color: #fff; font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.svc .more:hover { color: #E9C98F; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* numbered steps — numbered because the order is real */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--rule); padding-top: 16px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.85rem; color: var(--brass-dark); display: block; margin-bottom: 8px; }
.steps p { color: var(--muted); margin-top: 6px; font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Ontario rules panel */
.ontario { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 16px; overflow: hidden; background: var(--limestone); }
.ontario img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.ontario .body { padding: clamp(24px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.facts { display: grid; gap: 10px; margin-top: 6px; }
.fact { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 10px; font-size: 1rem; }
@media (max-width: 760px) { .ontario { grid-template-columns: 1fr; } .ontario img { min-height: 220px; } .fact { grid-template-columns: 1fr; gap: 4px; } }

/* split text + photo */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .body { display: grid; gap: 16px; }
.split .body p { color: var(--ink); max-width: 56ch; }
.split--flip .media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip .media { order: 0; } }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--brass-dark); border-bottom: 2px solid var(--brass-dark); transform: rotate(-45deg); }

/* comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.compare thead th { font-family: var(--font-display); font-weight: 650; color: var(--spruce); background: var(--limestone); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--pine); font-weight: 600; } .no { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding-block: 18px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--spruce); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--brass-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink); max-width: 64ch; }

/* CTA band: mark | copy | actions, all vertically centred in one limestone panel */
.cta-section { padding-bottom: clamp(56px, 7vw, 88px); }
.cta-band { background: var(--limestone); border-radius: 18px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 36px; align-items: center; }
.cta-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.1; }
.cta-band p { color: var(--ink); margin-top: 8px; max-width: 56ch; }
.cta-actions { display: grid; gap: 10px; justify-items: center; }
.cta-phone { font-family: var(--font-display); font-weight: 550; font-size: 0.95rem; color: var(--pine); text-decoration: none; }
.cta-phone:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-mark { display: none; }
  .cta-actions { justify-items: start; }
}

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--spruce); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--rule); border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(46,94,80,.15); }
.field .hint { font-size: 0.88rem; color: var(--muted); margin-top: 4px; }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice label { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--rule); border-radius: 999px; padding: 10px 16px; cursor: pointer; font-family: var(--font-display); font-weight: 550; color: var(--ink); margin: 0; }
.choice input { accent-color: var(--pine); width: auto; }
.form-note { font-size: 0.92rem; color: var(--muted); }
.form-status { padding: 16px 18px; border-radius: 12px; background: #E3EEE9; color: var(--spruce); font-family: var(--font-display); font-weight: 600; }
.form-status.is-error { background: #F7E7E2; color: #7A2E1D; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.contact-card a { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-decoration: none; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--spruce); color: var(--on-dark); margin-top: 0; }
.site-footer .wrap { padding-block: 56px 32px; display: grid; gap: 36px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer .wordmark { color: #fff; } .site-footer .wordmark span { color: var(--on-dark-muted); }
.site-footer p { color: var(--on-dark-muted); font-size: 0.98rem; max-width: 44ch; margin-top: 14px; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 650; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #E9C98F; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--on-dark-muted); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* generic page content */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 6px; }
.prose li::marker { color: var(--brass-dark); }

/* about */
.about-intro { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: 100px; }
.about-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--limestone); }
.about-photo figcaption { margin-top: 12px; }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } .about-photo { position: static; max-width: 420px; } }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; }
.quote p { font-size: 1.12rem; line-height: 1.6; }
.quote cite { font-style: normal; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted); }
.quote--big { grid-column: 1 / -1; background: var(--spruce); border-color: var(--spruce); }
.quote--big p { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.5; max-width: 60ch; }
.quote--big cite { color: var(--on-dark-muted); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* guides */
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.guide-card:hover { border-color: var(--pine); transform: translateY(-2px); color: var(--ink); }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card .body { padding: 24px; display: grid; gap: 10px; }
.guide-card h3 { font-size: 1.35rem; }
.guide-card p { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }

.article { max-width: 70ch; margin-inline: auto; }
.article .prose { max-width: none; font-size: 1.12rem; line-height: 1.7; }
.article .prose a { color: var(--pine); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.article-meta .label { color: var(--on-dark-muted); margin: 0; }
.note-box { background: var(--limestone); border-radius: 12px; padding: 18px 20px; font-size: 1rem; }
.sources { font-size: 0.95rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; }
