:root {
  --ink: #15191d;
  --muted: #626a72;
  --navy: #10283f;
  --navy-deep: #0a1b2a;
  --blue: #314d66;
  --line: #dce0e3;
  --paper: #ffffff;
  --mist: #f4f5f5;
  --warm: #e9e7e2;
  --container: min(1240px, calc(100vw - 96px));
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: white; color: var(--ink); transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .35s, color .35s, box-shadow .35s; }
.site-header.scrolled, .site-header.inner-header { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 rgba(14,27,38,.09); backdrop-filter: blur(12px); }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-mark { width: 33px; height: 33px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; border-bottom: 2px solid currentColor; padding: 0 3px 4px; }
.brand-mark i { display: block; background: currentColor; }
.brand-mark i:nth-child(1) { height: 45%; }
.brand-mark i:nth-child(2) { height: 72%; }
.brand-mark i:nth-child(3) { height: 100%; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: .15em; white-space: nowrap; }
.brand-name small { display: block; margin-top: 6px; font-size: 8px; font-weight: 500; letter-spacing: .29em; opacity: .75; }
.main-nav { display: flex; align-items: center; gap: 37px; font-size: 13px; letter-spacing: .04em; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 31px 0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 22px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 13px 17px; border: 1px solid currentColor; transition: background .25s, color .25s, transform .25s; }
.nav-cta:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.site-header.scrolled .nav-cta:hover, .inner-header .nav-cta:hover { background: var(--navy); color: white; }
.nav-cta span { margin-left: 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 10px 5px; background: transparent; border: 0; color: currentColor; }
.menu-toggle span { display: block; width: 28px; height: 1px; margin: 7px 0; background: currentColor; transition: transform .3s, opacity .3s; }

.hero { position: relative; color: white; overflow: hidden; }
.hero-home { min-height: 780px; height: 94vh; display: flex; align-items: center; }
.hero-media { position: absolute; inset: -4%; background-color: #172a3b; background-image: url("images/hero-toronto.jpg"); background-size: cover; background-position: center; animation: heroZoom 18s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,16,26,.92) 0%, rgba(6,20,32,.72) 42%, rgba(6,17,27,.20) 78%, rgba(6,17,27,.1) 100%), linear-gradient(0deg, rgba(4,12,19,.35), transparent 40%); }
.hero-content { position: relative; z-index: 2; padding-top: 74px; }
.hero-content h1 { max-width: 840px; margin: 20px 0 27px; font-size: clamp(56px, 6.3vw, 96px); line-height: .99; letter-spacing: -.052em; font-weight: 400; }
.eyebrow { margin: 0 0 19px; color: var(--blue); font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .19em; text-transform: uppercase; }
.hero .eyebrow, .contact-banner .eyebrow { color: #cbd7e1; }
.hero-summary { max-width: 655px; margin: 0; color: rgba(255,255,255,.79); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 37px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 160px; padding: 14px 18px; border: 1px solid transparent; font-size: 13px; line-height: 1.5; letter-spacing: .02em; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; }
.button span { margin-left: 28px; font-size: 16px; }
.button:hover { transform: translateY(-3px); }
.button-light { color: var(--navy); background: white; }
.button-light:hover { box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.button-ghost-light { color: white; border-color: rgba(255,255,255,.5); }
.button-ghost-light:hover { background: rgba(255,255,255,.1); border-color: white; }
.button-dark { color: white; background: var(--navy); }
.button-dark:hover { background: var(--navy-deep); box-shadow: 0 12px 24px rgba(16,40,63,.18); }
.hero-tagline { margin: 42px 0 0; color: rgba(255,255,255,.6); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero-index { position: absolute; z-index: 2; right: 48px; bottom: 36px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .16em; }
.hero-index i { width: 70px; height: 1px; background: rgba(255,255,255,.38); }
.hero-animate { opacity: 0; transform: translateY(24px); animation: heroIn .9s var(--ease) forwards; }
.hero-animate:nth-child(2) { animation-delay: .12s; }
.hero-animate:nth-child(3) { animation-delay: .24s; }
.hero-animate:nth-child(4) { animation-delay: .34s; }
.hero-animate:nth-child(5) { animation-delay: .44s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.055); } }

.section { padding: 128px 0; }
.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 80px; margin-bottom: 62px; }
.section-heading h2, .about-copy h2, .principles-heading h2, .contact-banner h2, .page-title h1 { margin: 0; font-size: clamp(42px, 4.4vw, 64px); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p { max-width: 470px; margin: 0 0 4px; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 435px; padding: 34px 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, background .35s; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover { z-index: 2; background: #fafbfb; transform: translateY(-7px); box-shadow: 0 24px 45px rgba(20,34,45,.10); }
.service-card:hover::before { transform: scaleX(1); }
.service-number { color: #8c949a; font-size: 10px; letter-spacing: .16em; }
.service-card svg { width: 49px; height: 49px; margin: 55px 0 40px; fill: none; stroke: var(--navy); stroke-width: 1.35; stroke-linecap: square; }
.service-card h3 { margin: 0 0 16px; font-size: 23px; font-weight: 500; letter-spacing: -.025em; }
.service-card p { min-height: 84px; margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.72; }
.text-link { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.text-link b { display: inline-block; margin-left: 13px; font-size: 16px; font-weight: 400; transition: transform .25s; }
.service-card:hover .text-link b { transform: translateX(5px); }

.about-split { display: grid; grid-template-columns: 1.08fr .92fr; padding: 0; background: var(--mist); }
.about-image { min-height: 750px; background: #8c99a2 url("images/hero-toronto.jpg") center / cover; }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 100px clamp(50px, 7vw, 120px); }
.about-copy h2 { margin-bottom: 35px; font-size: clamp(42px, 4.2vw, 61px); }
.about-copy > p:not(.eyebrow) { max-width: 570px; margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.about-copy .button { margin-top: 22px; }

.principles { background: white; }
.principles-heading { display: grid; grid-template-columns: .75fr 1.25fr; margin-bottom: 65px; }
.principles-heading h2 { grid-column: 2; }
.principles-heading .eyebrow { grid-column: 1; grid-row: 1; padding-top: 14px; }
.principles-list { border-top: 1px solid var(--ink); }
.principle { display: grid; grid-template-columns: 80px 1fr 1.3fr; align-items: center; gap: 35px; min-height: 117px; border-bottom: 1px solid var(--line); transition: padding .3s, background .3s; }
.principle:hover { padding-inline: 18px; background: var(--mist); }
.principle > span { color: #8e969c; font-size: 10px; letter-spacing: .15em; }
.principle h3 { margin: 0; font-size: 23px; font-weight: 500; letter-spacing: -.02em; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-banner { padding: 115px 0 120px; color: white; background: var(--navy); }
.contact-banner-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 90px; }
.contact-banner h2 { font-size: clamp(51px, 5.5vw, 78px); }
.contact-banner-grid p { max-width: 500px; margin: 0 0 30px; color: rgba(255,255,255,.7); font-size: 16px; }

.site-footer { color: rgba(255,255,255,.67); background: #0b1014; font-size: 12px; }
.footer-top { display: grid; grid-template-columns: 1.8fr .65fr 1.05fr 1.1fr; gap: 60px; padding: 78px 0 65px; }
.brand-footer { color: white; margin-bottom: 25px; }
.footer-top > div:first-child > p { max-width: 285px; margin: 0; line-height: 1.8; }
.footer-top > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-top a:not(.brand) { transition: color .2s; }
.footer-top a:not(.brand):hover { color: white; }
.footer-label { margin: 0 0 12px; color: white; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 10px; letter-spacing: .025em; }
.footer-bottom i { margin: 0 7px; font-style: normal; }

/* Inner pages */
.page-hero { padding: 198px 0 95px; background: var(--mist); }
.page-title { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 80px; }
.page-title h1 { max-width: 830px; font-size: clamp(58px, 6vw, 88px); }
.page-title > p { max-width: 430px; margin: 0 0 7px; color: var(--muted); font-size: 17px; }
.crumb { display: flex; gap: 12px; margin-bottom: 38px; color: #7d858c; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.crumb a { color: var(--navy); }
.service-detail { display: grid; grid-template-columns: 88px .85fr 1.15fr; gap: 52px; padding: 100px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.detail-num { color: #8c949a; font-size: 11px; letter-spacing: .17em; }
.service-detail h2 { margin: -9px 0 0; font-size: clamp(36px, 3.5vw, 52px); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; }
.detail-copy > p { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 35px 0 40px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { position: relative; padding: 14px 0 14px 19px; border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 5px; height: 5px; background: var(--navy); }
.note { padding: 18px 20px; color: #64717b !important; background: var(--mist); font-size: 12px !important; border-left: 2px solid var(--blue); }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.about-story h2 { margin: 0; font-size: clamp(42px, 4vw, 62px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.about-story-copy p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.values-band { background: var(--navy); color: white; }
.values-band .section-heading > p { color: rgba(255,255,255,.62); }
.values-band .eyebrow { color: #b8c9d7; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.value { padding: 38px 30px 10px 0; border-right: 1px solid rgba(255,255,255,.15); min-height: 230px; }
.value:not(:first-child) { padding-left: 30px; }
.value:last-child { border-right: 0; }
.value span { font-size: 10px; color: #9eb2c2; letter-spacing: .16em; }
.value h3 { margin: 45px 0 15px; font-size: 21px; font-weight: 500; }
.value p { margin: 0; color: rgba(255,255,255,.6); font-size: 13px; }
.commitment { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.commitment h2 { margin: 0; font-size: clamp(42px, 4vw, 60px); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; }
.commitment-copy { border-top: 1px solid var(--ink); }
.commitment-row { display: grid; grid-template-columns: 45px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.commitment-row span { color: #92999f; font-size: 10px; }
.commitment-row h3 { margin: 0 0 8px; font-size: 17px; font-weight: 500; }
.commitment-row p { margin: 0; color: var(--muted); font-size: 13px; }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 110px; }
.contact-intro h2 { margin: 0 0 25px; font-size: clamp(39px, 3.8vw, 54px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.contact-intro > p { color: var(--muted); font-size: 16px; }
.contact-meta { margin-top: 55px; padding-top: 25px; border-top: 1px solid var(--line); }
.contact-meta div { margin-bottom: 22px; }
.contact-meta small { display: block; color: #8a9298; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-meta a, .contact-meta span { display: inline-block; margin-top: 4px; font-size: 14px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; padding: 48px; background: var(--mist); }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #bfc5c9; border-radius: 0; outline: 0; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field textarea { min-height: 110px; resize: vertical; }
.form-actions { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 5px; }
.form-note { max-width: 330px; margin: 0; color: #7d858b; font-size: 11px; }
.form-status { grid-column: 1/-1; display: none; padding: 12px 15px; color: #183b2a; background: #e4eee8; font-size: 13px; }
.form-status.show { display: block; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.reveal-up { transform: translateY(38px); }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 1020px) {
  :root { --container: min(100% - 48px, 920px); }
  .nav-wrap { height: 76px; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .main-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 90px 9vw; color: white; background: var(--navy-deep); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, visibility .3s, transform .3s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a:not(.nav-cta) { width: 100%; padding: 10px 0; font-size: 30px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .main-nav .nav-cta { margin-top: 20px; }
  .menu-open .menu-toggle { color: white; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero-home { min-height: 720px; }
  .hero-media { background-position: 60% center; }
  .service-card { padding: 28px 25px; }
  .about-split { grid-template-columns: 1fr; }
  .about-image { min-height: 520px; }
  .principles-heading { grid-template-columns: 1fr 2fr; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1/-1; }
  .page-title, .about-story, .commitment, .contact-layout { gap: 55px; }
}

@media (max-width: 760px) {
  :root { --container: calc(100% - 36px); }
  .brand-mark { width: 29px; height: 29px; }
  .brand-name { font-size: 13px; }
  .hero-home { min-height: 700px; height: 100svh; }
  .hero-content { padding-top: 50px; }
  .hero-content h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero-summary { font-size: 15px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-tagline, .hero-index { display: none; }
  .section { padding: 84px 0; }
  .section-heading, .page-title, .about-story, .commitment, .contact-layout, .contact-banner-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading > p, .page-title > p { font-size: 15px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 365px; }
  .service-card svg { margin: 38px 0 29px; }
  .service-card p { min-height: 0; }
  .about-image { min-height: 420px; }
  .about-copy { padding: 75px 22px 82px; }
  .principles-heading { display: block; }
  .principles-heading h2 { margin-top: 15px; }
  .principle { grid-template-columns: 38px 1fr; gap: 12px; padding: 22px 0; }
  .principle p { grid-column: 2; }
  .contact-banner { padding: 82px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 45px 26px; padding: 60px 0; }
  .footer-top > div:first-child { grid-column: 1/-1; }
  .footer-top > div:last-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 145px 0 65px; }
  .page-title h1 { font-size: clamp(50px, 14vw, 72px); }
  .service-detail { grid-template-columns: 35px 1fr; gap: 18px; padding: 70px 0; }
  .detail-copy { grid-column: 2; }
  .detail-list { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value { min-height: 200px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(3) { padding-left: 0; }
  .contact-form { grid-template-columns: 1fr; padding: 28px 22px; }
  .field.full, .form-actions, .form-status { grid-column: 1; }
  .form-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 440px) {
  .hero-actions .button { width: 100%; }
  .footer-top, .values-grid { grid-template-columns: 1fr; }
  .footer-top > div, .value { grid-column: 1 !important; }
  .value { padding-left: 0 !important; border-right: 0; }
}
