/* 01 — Page isolation, typography and tokens */
#toronto-main {
    --ink: #101010;
    --green: #6eff6e;
    --hover: #0ae448;
    --muted: #505050;
    --line: #dedede;
    --surface: #fff;
    --section-space: clamp(64px, 7.5vw, 116px);
    display: block;
    width: 100%;
    background: #fff;
    color: var(--ink);
    font: 400 17px/1.65 'Outfit', Arial, sans-serif;
    text-align: left;
    isolation: isolate;
    overflow-wrap: anywhere;
}
#toronto-main *, #toronto-main { box-sizing: border-box; }
#toronto-main * { min-width: 0; }
#toronto-main::before, #toronto-main::after,
#toronto-main *::before, #toronto-main *::after { content: none !important; }
#toronto-main [hidden] { display: none !important; }
#toronto-main :is(h1,h2,h3,h4,p,figure,ul) { margin: 0; padding: 0; }
#toronto-main :is(h1,h2,h3,h4) {
    font-family: inherit; color: inherit; font-weight: 600;
    line-height: 1.12; letter-spacing: -.035em; text-transform: none;
    text-wrap: balance;
}
#toronto-main h1 { font-size: clamp(42px, 6.8vw, 100px); font-weight: 600; }
#toronto-main h2 { font-size: clamp(32px, 4.3vw, 62px); }
#toronto-main h3 { font-size: clamp(21px, 2vw, 29px); }
#toronto-main h4 { font-size: 23px; }
#toronto-main p { font: inherit; color: var(--muted); }
#toronto-main p + p { margin-top: 16px; }
#toronto-main a { text-decoration: none; color: inherit; }
#toronto-main :is(button,input,select,textarea,summary) { font-family: inherit; }
#toronto-main :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #188033; outline-offset: 4px; }
#toronto-main .to-icon { width: 25px; height: 25px; flex: 0 0 auto; display: block; }
#toronto-main .to-section { padding: var(--section-space) 0; scroll-margin-top: 100px; }
#toronto-main .to-wrap { width: min(1320px, calc(100% - 96px)); margin: 0 auto; }
#toronto-main .to-dark { background: #101010; color: #fff; --muted: #c6c6c6; --line: #3b3b3b; --surface: #1b1b1b; }
#toronto-main .to-light { background: #fff; color: #101010; }
#toronto-main .to-soft { background: #f4f4f4; color: #101010; }
#toronto-main .to-green { background: #6eff6e; color: #101010; --muted: #303830; --line: #10101036; }
#toronto-main .to-head { max-width: 870px; margin-bottom: clamp(28px, 4vw, 54px); }
#toronto-main .to-head h2 { margin-top: 12px; }
#toronto-main .to-lead { max-width: 760px; margin-top: 18px; font-size: 18px; }
#toronto-main .to-kicker, #toronto-main .to-edition {
    display: block; font-size: 12px; line-height: 1.5; font-weight: 600;
    letter-spacing: .13em; text-transform: uppercase; color: #17652c;
}
#toronto-main .to-dark .to-kicker { color: #6eff6e; }
#toronto-main .to-green .to-kicker { color: #101010; }
#toronto-main .to-caption { font-size: 13px; line-height: 1.55; }
#toronto-main .to-split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(30px,5vw,80px); align-items: start; }
#toronto-main .to-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
#toronto-main .to-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#toronto-main .to-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    max-width: 100%; min-height: 52px; padding: 13px 20px; border: 1px solid #6eff6e;
    background: #6eff6e; color: #101010; font: 600 15px/1.35 'Outfit', Arial, sans-serif;
    border-radius: 8px; text-align: center; cursor: pointer;
    transition: background .22s, color .22s, border-color .22s;
}
#toronto-main .to-btn:hover { background: #0ae448; border-color: #0ae448; color: #101010; }
#toronto-main .to-btn .to-icon, #toronto-main .to-textlink .to-icon { width: 19px; height: 19px; transition: transform .22s; }
#toronto-main :is(.to-btn,.to-textlink):hover .to-icon { transform: translateX(3px); }
#toronto-main .to-outline { background: transparent; border-color: #666; color: #fff; }
#toronto-main .to-black-btn { background: #101010; border-color: #101010; color: #fff; }
#toronto-main .to-textlink { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; color: #17652c; font-size: 15px; font-weight: 600; }
#toronto-main .to-checks { display: grid; gap: 15px; list-style: none; margin: 25px 0 30px; }
#toronto-main .to-checks li { display: flex; align-items: flex-start; gap: 12px; }
#toronto-main .to-checks .to-icon { width: 21px; height: 21px; color: #17652c; margin-top: 3px; }
#toronto-main .to-dark .to-checks .to-icon { color: #6eff6e; }
/* 02 — Wide editorial hero */
#toronto-main .to-hero { padding-top: clamp(112px, 10vw, 152px); padding-bottom: 35px; }
#toronto-main .to-hero-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
#toronto-main .to-edition { color: #bdbdbd; }
#toronto-main .to-hero-title { margin: 24px 0 32px; }
#toronto-main .to-hero-title h1 { line-height: 1.04; letter-spacing: -.045em; text-wrap: initial; }
#toronto-main .to-hero-title h1 > span:first-of-type { color: #6eff6e; }
#toronto-main .to-hero-sub { display: inline-block; font-size: clamp(26px, 3.3vw, 48px); color: #fff; letter-spacing: -.03em; margin-left: 12px; }
#toronto-main .to-hero-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0,1.15fr); gap: clamp(24px,5vw,76px); align-items: center; }
#toronto-main .to-hero-copy > p { font-size: clamp(17px,1.5vw,21px); max-width: 560px; }
#toronto-main .to-hero-copy .to-actions { margin: 26px 0; }
#toronto-main .to-hero-copy .to-actions > a:first-child { flex: 1 0 100%; width: max-content; max-width: 100%; }
#toronto-main .to-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; }
#toronto-main .to-trust span { display: flex; gap: 7px; align-items: center; font-size: 14px; color: #d6d6d6; }
#toronto-main .to-trust .to-icon { width: 16px; height: 16px; color: #6eff6e; }
#toronto-main .to-hero-strip { margin-top: 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
#toronto-main .to-hero-strip > div { padding: 19px 18px 0; border-left: 1px solid var(--line); }
#toronto-main .to-hero-strip > div:first-child { padding-left: 0; border-left: 0; }
#toronto-main .to-hero-strip strong { display: block; font-size: 17px; font-weight: 600; }
#toronto-main .to-hero-strip span { display: block; font-size: 14px; color: #c6c6c6; }
/* 03 — Image handling and asymmetric city gallery */
#toronto-main .to-photo { position: relative; aspect-ratio: 4/3; border-radius: 20px; background: transparent !important; overflow: hidden; }
#toronto-main .to-photo img { position: absolute; inset: 0; margin: auto; display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; border-radius: 20px !important; background: transparent !important; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
#toronto-main .to-hero-photo { aspect-ratio: 16/9; }
#toronto-main .to-hero-photo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
#toronto-main .to-photo:hover img { transform: scale(1.025); }
#toronto-main .to-photo-fallback { display: none; }
#toronto-main .to-photo.is-missing img { visibility: hidden; }
#toronto-main .to-photo.is-missing .to-photo-fallback { display: grid; position: absolute; inset: 0; place-items: center; padding: 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 20px; font-size: 15px; }
#toronto-main figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-top: 13px; align-items: baseline; }
#toronto-main figcaption > strong { font-weight: 600; }
#toronto-main figcaption > span { font-size: 14px; color: var(--muted); }
#toronto-main .to-gallery { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 28px 18px; align-items: start; }
#toronto-main .to-gallery figure:nth-child(2n) .to-photo { aspect-ratio: 16/10; }
#toronto-main .to-gallery figure:nth-child(2n) { margin-top: clamp(22px,5vw,70px); }
#toronto-main .to-gallery figure .to-photo { aspect-ratio: 16/10; }
#toronto-main .to-gallery figcaption { flex-wrap: nowrap; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 10px; }
#toronto-main .to-gallery figcaption h3 { font-size: 22px; }
#toronto-main .to-gallery figcaption p { font-size: 15px; }
#toronto-main .to-gallery-index { color: #17652c; font-weight: 600; }
/* 04 — About and principles */
#toronto-main .to-about { padding-top: 0; }
#toronto-main .to-about .to-head { margin-bottom: 22px; }
#toronto-main .to-about-panel { background: #f4f4f4; padding: clamp(24px,4vw,45px); border-radius: 20px; border: 1px solid #dedede; }
#toronto-main .to-about-panel h3 { font-size: clamp(27px,3vw,42px); margin: 12px 0 16px; }
#toronto-main .to-cycle { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: #d0d0d0; border: 1px solid #d0d0d0; margin-top: 30px; border-radius: 12px; overflow: hidden; }
#toronto-main .to-cycle > div { background: #fff; padding: clamp(15px,2vw,24px); transition: background .2s; }
#toronto-main .to-cycle > div:hover { background: #6eff6e; }
#toronto-main .to-cycle span { display: block; font-size: 12px; color: #17652c; }
#toronto-main .to-cycle strong { font-size: 23px; font-weight: 600; }
#toronto-main .to-cycle p { font-size: 14px; }
#toronto-main .to-tile { display: flex; flex-direction: column; gap: 15px; padding: clamp(22px,3vw,32px); border: 1px solid var(--line); background: var(--surface); border-radius: 12px; transition: background .25s,border-color .25s; }
#toronto-main .to-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #17652c; margin-bottom: 7px; }
#toronto-main .to-tile-top .to-icon { width: 34px; height: 34px; transition: transform .3s; }
#toronto-main .to-tile-top span { font-size: 13px; font-weight: 600; }
#toronto-main .to-dark .to-tile-top { color: #6eff6e; }
#toronto-main .to-tile:hover { border-color: #188033; }
#toronto-main .to-tile:hover .to-icon, #toronto-main .to-service:hover .to-icon { transform: translateY(-3px); }
/* 05 — Grouped service catalogue and search */
#toronto-main .to-filter { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); background: #f4f4f4; border-radius: 12px; margin-bottom: 25px; }
#toronto-main .to-filter label { font-size: 15px; font-weight: 600; }
#toronto-main .to-filter p { font-size: 14px; }
#toronto-main .to-filter input, #toronto-main .to-form :is(input,select,textarea) { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #c8c8c8; padding: 12px 14px; border-radius: 8px; color: #101010; background: #fff; font: 400 16px/1.45 'Outfit',Arial,sans-serif; box-shadow: none; }
#toronto-main .to-service-group { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,2.15fr); gap: 30px; border-top: 1px solid #bdbdbd; padding: 30px 0; }
#toronto-main .to-group-label { padding: 8px 0; }
#toronto-main .to-group-label > span { font-size: 13px; display: block; color: #17652c; font-weight: 600; }
#toronto-main .to-group-label h3 { margin: 10px 0; font-size: clamp(25px,2.6vw,36px); }
#toronto-main .to-service-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
#toronto-main .to-service { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 23px; background: #fff; transition: background .25s,border-color .25s; }
#toronto-main .to-service:hover { background: #f1fff1; border-color: #188033; }
#toronto-main .to-service p { font-size: 16px; }
#toronto-main .to-service .to-textlink { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
/* 06 — Why choose us and local SEO */
#toronto-main .to-benefits { display: grid; }
#toronto-main .to-benefits article { display: grid; grid-template-columns: 36px minmax(0,1fr) 25px; gap: 12px; padding: 19px 0; border-top: 1px solid var(--line); }
#toronto-main .to-benefits article:last-child { border-bottom: 1px solid var(--line); }
#toronto-main .to-benefits h3 { font-size: 23px; margin-bottom: 6px; }
#toronto-main .to-benefits article > span { font-size: 13px; font-weight: 600; }
#toronto-main .to-local { align-items: center; }
#toronto-main .to-local .to-btn { margin-top: 24px; }
/* 07 — Six-step dark editorial roadmap */
#toronto-main .to-roadmap { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 48px; }
#toronto-main .to-roadmap article { display: grid; grid-template-columns: 68px minmax(0,1fr) 24px; align-items: start; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
#toronto-main .to-roadmap article:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
#toronto-main .to-road-number { font-size: 42px; color: #6eff6e; line-height: 1; font-weight: 500; letter-spacing: -.05em; }
#toronto-main .to-roadmap h3 { font-size: 25px; margin-bottom: 10px; }
#toronto-main .to-roadmap .to-icon { color: #6eff6e; margin-top: 4px; transition: transform .2s; }
#toronto-main .to-roadmap article:hover .to-icon { transform: translateX(4px); }
/* 08 — Industries and keywords */
#toronto-main .to-industry { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
#toronto-main .to-industry .to-tile { padding: 20px; gap: 12px; }
#toronto-main .to-industry h3 { font-size: 21px; }
#toronto-main .to-industry p { font-size: 15px; }
#toronto-main .to-keyword-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: start; }
#toronto-main .to-keygroup { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
#toronto-main .to-keygroup h3 { font-size: 23px; margin-bottom: 16px; }
#toronto-main .to-keygroup ul { list-style: none; display: grid; }
#toronto-main .to-keygroup li { font-size: 16px; border-top: 1px solid #dedede; padding: 9px 0; }
#toronto-main .to-note { margin-top: 28px; border-left: 4px solid #188033; padding: 10px 20px; }
#toronto-main .to-note h3 { font-size: 23px; margin-bottom: 6px; }
/* 09 — Evidence and reporting */
#toronto-main .to-performance { gap: 16px; align-items: stretch; }
#toronto-main .to-report { background: #1b1b1b; border: 1px solid #3b3b3b; border-radius: 16px; padding: clamp(24px,4vw,45px); }
#toronto-main .to-report h3 { margin: 12px 0 16px; font-size: clamp(28px,3vw,40px); }
#toronto-main .to-report-green { background: #6eff6e; color: #101010; --muted: #303830; border-color: #6eff6e; }
#toronto-main .to-report-green .to-kicker, #toronto-main .to-report-green .to-checks .to-icon { color: #101010; }
#toronto-main .to-bars { display: flex; align-items: end; height: 100px; gap: 6px; margin: 24px 0; border-bottom: 1px solid #10101044; }
#toronto-main .to-bars > span { flex: 1; height: var(--bar); background: #101010; border-radius: 4px 4px 0 0; transform-origin: bottom; }
/* 10 — FAQ */
#toronto-main .to-faq-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
#toronto-main .to-faqs details { border-top: 1px solid #dedede; }
#toronto-main .to-faqs details:last-child { border-bottom: 1px solid #dedede; }
#toronto-main .to-faqs summary { display: grid; grid-template-columns: 32px minmax(0,1fr) 26px; align-items: center; gap: 12px; padding: 20px 0; cursor: pointer; font-size: 19px; line-height: 1.35; font-weight: 500; list-style: none; }
#toronto-main .to-faqs summary::-webkit-details-marker { display: none; }
#toronto-main .to-faq-num { font-size: 13px; color: #17652c; }
#toronto-main .to-faqs summary .to-icon { padding: 3px; background: #f4f4f4; border-radius: 50%; transition: transform .25s, background .25s; }
#toronto-main .to-faqs details[open] summary .to-icon { background: #6eff6e; transform: rotate(45deg); }
#toronto-main .to-faqs details > p { padding: 0 38px 20px 44px; }
/* 11 — Contact form */
#toronto-main .to-contact-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
#toronto-main .to-contact-info > p { margin: 12px 0 24px; }
#toronto-main .to-contact-info > div { padding: 18px 0; border-top: 1px solid #10101036; display: grid; gap: 5px; }
#toronto-main .to-contact-info > div > span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
#toronto-main .to-contact-info > div > a { font-size: clamp(20px,2.4vw,31px); line-height: 1.25; font-weight: 500; }
#toronto-main .to-contact-info > div > a:hover { text-decoration: underline; }
#toronto-main .to-contact-info .to-btn { margin-top: 20px; }
#toronto-main .to-form { padding: clamp(22px,4vw,40px); background: #fff; color: #101010; border-radius: 16px; --muted: #505050; margin: 0; }
#toronto-main .to-form h3 { font-size: 28px; margin-bottom: 24px; }
#toronto-main .to-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
#toronto-main .to-form-grid label { display: grid; gap: 7px; font-size: 15px; line-height: 1.4; font-weight: 500; color: #101010; }
#toronto-main .to-form-grid .to-span { grid-column: 1/-1; }
#toronto-main .to-form textarea { resize: vertical; }
#toronto-main .to-form .to-btn { width: 100%; margin: 22px 0 12px; }
/* 12 — Motion: progressive, one-time; no scroll pinning */
#toronto-main .to-enter { animation: to-entrance .7s cubic-bezier(.22,.65,.3,1) both; }
#toronto-main .to-enter .to-bars > span { animation: to-bar .85s cubic-bezier(.2,.7,.2,1) both; }
#toronto-main .to-enter .to-photo img { animation: to-image .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes to-entrance { from { opacity: .2; transform: translateY(17px); } to { opacity: 1; transform: none; } }
@keyframes to-bar { from { transform: scaleY(.06); } to { transform: scaleY(1); } }
@keyframes to-image { from { clip-path: inset(0 0 18% 0); opacity: .5; } to { clip-path: inset(0); opacity: 1; } }
/* 13 — Responsive layouts and reduced motion */
@media (max-width: 1200px) {
    #toronto-main .to-industry { grid-template-columns: repeat(3,minmax(0,1fr)); }
    #toronto-main .to-wrap { width: min(1320px, calc(100% - 64px)); }
}
@media (max-width: 900px) {
    #toronto-main .to-wrap { width: min(760px,calc(100% - 40px)); }
    #toronto-main .to-split, #toronto-main .to-hero-grid, #toronto-main .to-service-group { grid-template-columns: minmax(0,1fr); gap: 25px; }
    #toronto-main .to-three { grid-template-columns: minmax(0,1fr); }
    #toronto-main .to-hero-title h1 { font-size: clamp(40px,8vw,70px); }
    #toronto-main .to-hero-sub { display: block; margin: 12px 0 0; }
    #toronto-main .to-desktop-break { display: none; }
    #toronto-main .to-hero-strip { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }
    #toronto-main .to-hero-strip > div { padding: 16px 12px; border: 0; border-bottom: 1px solid var(--line); }
    #toronto-main .to-hero-strip > div:first-child { padding-left: 12px; }
    #toronto-main .to-hero-copy .to-actions > a:first-child { flex-basis: auto; }
    #toronto-main .to-keyword-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    #toronto-main .to-roadmap { gap: 0 24px; }
    #toronto-main .to-roadmap article { grid-template-columns: 42px minmax(0,1fr); gap: 12px; }
    #toronto-main .to-roadmap .to-icon { display: none; }
    #toronto-main .to-road-number { font-size: 34px; }
    #toronto-main .to-faq-layout .to-head { margin-bottom: 0; }
}
@media (max-width: 560px) {
    #toronto-main { font-size: 16px; --section-space: 62px; }
    #toronto-main .to-wrap { width: calc(100% - 32px); }
    #toronto-main .to-hero { padding-top: 110px; }
    #toronto-main .to-hero-title h1 { font-size: clamp(37px,9.6vw,54px); }
    #toronto-main .to-hero-sub { font-size: 25px; }
    #toronto-main .to-hero-top { gap: 7px; }
    #toronto-main .to-hero-copy .to-actions > a:first-child { flex: 1 0 100%; }
    #toronto-main .to-hero-copy .to-actions > a:not(:first-child) { flex: 1 1 120px; }
    #toronto-main .to-gallery { grid-template-columns: minmax(0,1fr); gap: 25px; }
    #toronto-main .to-gallery figure:nth-child(2n) { margin-top: 0; }
    #toronto-main .to-filter { grid-template-columns: minmax(0,1fr); gap: 9px; }
    #toronto-main :is(.to-service-items,.to-roadmap,.to-keyword-grid,.to-form-grid) { grid-template-columns: minmax(0,1fr); }
    #toronto-main .to-roadmap article:nth-last-child(2) { border-bottom: 0; }
    #toronto-main .to-industry { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    #toronto-main .to-industry .to-tile { padding: 15px; }
    #toronto-main .to-industry h3 { font-size: 19px; }
    #toronto-main .to-industry p { font-size: 14px; }
    #toronto-main .to-faqs summary { grid-template-columns: 24px minmax(0,1fr) 25px; gap: 8px; font-size: 17px; }
    #toronto-main .to-faqs details > p { padding-left: 32px; padding-right: 12px; }
    #toronto-main .to-form { padding: 20px; }
}
@media (max-width: 360px) {
    #toronto-main .to-industry { grid-template-columns: minmax(0,1fr); }
    #toronto-main .to-cycle { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
    #toronto-main *, #toronto-main *::before, #toronto-main *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
