/* Reference-led homepage. Shared service content and security policies stay intact. */
.ui-icon{display:block;width:24px;height:24px;flex:none}.announcement{display:flex;align-items:center;justify-content:center;gap:12px;min-height:36px;padding:6px 20px;background:linear-gradient(100deg,#074b78,#006b9f);color:#fff;font-size:.875rem;line-height:1.3;letter-spacing:0;text-align:center}.announcement>.ui-icon{width:16px;height:18px}.canada-flag{width:26px;height:17px;flex:none;border-radius:1px}.announcement-divider{margin:0 5px}.reference-header{background:#fff;position:sticky;top:0;z-index:40;box-shadow:0 2px 12px #071b400b;transition:transform .22s ease;will-change:transform}.reference-header.is-hidden:not(:focus-within){transform:translateY(-110%)}.reference-header .header-inner{display:flex;align-items:center;justify-content:space-between;position:relative;min-height:86px;gap:26px;max-width:1280px}.brand-logo{display:block;flex:none;line-height:0}.brand-logo img{display:block;width:238px;height:auto}.desktop-links{display:flex;align-items:center;gap:26px;margin-left:auto}.desktop-links a{font-size:.9375rem;font-weight:650;color:#071b40;padding:12px 0;text-decoration:none}.desktop-links a:hover{color:#074b78}.reference-header .reference-menu:not([hidden]){display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 16px;border:1px solid #dce7f1;border-radius:14px;background:#fff;color:#071b40;font-size:.9375rem;font-weight:700;box-shadow:0 4px 12px #074b7810;cursor:pointer}.reference-menu .ui-icon{width:22px;height:22px}.menu-drawer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px;padding:20px;background:#fff;border:1px solid #dce7f1;border-radius:16px;box-shadow:0 12px 30px #071b401a;margin:0 0 14px}.menu-drawer a{display:block;color:#071b40;padding:12px;border-radius:8px;min-height:44px;text-decoration:none;font-weight:600}.menu-drawer a:hover{background:#f0f6fc}.menu-drawer[hidden]{display:none}.reference-header.has-menu-js .menu-drawer{position:absolute;right:24px;top:calc(100% - 3px);width:min(500px,calc(100vw - 40px));max-height:calc(100dvh - 100px);overflow:auto;margin:0}.skip-link{z-index:80}.reference-home{--navy:#071b40;--muted:#52677d;--lime:#8bd52c;color:var(--navy);background:#fff}.reference-home .container{width:100%;max-width:1280px;padding-inline:28px}.reference-home section{padding:0}.city-hero{position:relative;isolation:isolate;overflow:hidden;background:#074b78;color:#fff}.city-scene,.city-scene img{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.city-scene img{object-fit:cover;object-position:center 53%}.city-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#074b78e8,transparent 72%),linear-gradient(90deg,#071b40f5 0%,#073457dd 34%,#074b7870 63%,#074b780a 100%)}.city-hero-content{padding-block:62px 72px}.city-eyebrow{display:inline-block;margin:0 0 22px;color:#fff;font-weight:750;font-size:.875rem;letter-spacing:.1em;line-height:1.5}.city-eyebrow::after{content:"";display:block;width:48px;height:4px;background:var(--lime);border-radius:4px;margin-top:12px}.city-hero h1{font-size:clamp(3.2rem,5.1vw,5.6rem);letter-spacing:-.05em;line-height:1.03;margin:0 0 22px;font-weight:800;max-width:760px;color:#fff}.city-hero h1>span{display:block}.city-hero .lime-text{color:var(--lime)}.city-intro{font-size:clamp(1rem,1.35vw,1.1875rem);line-height:1.55;max-width:530px;color:#fff;margin:0 0 26px}.hero-actions{display:flex;align-items:stretch;gap:16px;max-width:600px}.audit-button,.work-button{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:16px;min-height:62px;text-decoration:none;font-weight:750;font-size:1rem;line-height:1.2;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}.audit-button{padding:15px 20px;color:#fff;background:linear-gradient(150deg,#007cae,#0064be 60%,#064b9e);border:1px solid #00c6f2;box-shadow:0 5px 18px #008fe832,inset 0 1px 0 #ffffff44;flex:1.35}.audit-button:hover{box-shadow:0 6px 24px #00c6f248;transform:translateY(-2px)}.audit-button:active,.work-button:active{transform:translateY(1px)}.audit-button .rocket-icon{width:30px;height:30px}.audit-button .button-arrow{width:24px;height:24px;margin-left:auto}.work-button{background:#fffffff5;color:#071b40;padding:15px 22px;box-shadow:0 5px 18px #071b4018;flex:1}.work-button:hover{background:#edf8ff;transform:translateY(-2px)}.work-button .ui-icon{width:26px;height:26px}.hero-trust{display:flex;gap:0;max-width:680px;list-style:none;padding:0;margin:30px 0 0}.hero-trust li{display:flex;align-items:center;gap:12px;flex:1;padding-inline:20px;border-left:1px solid #ffffff35;font-weight:650;font-size:.875rem;line-height:1.4;color:#fff}.hero-trust li:first-child{padding-left:0;border:0}.hero-trust li:last-child{padding-right:0}.hero-trust .ui-icon{width:30px;height:32px;color:var(--lime)}.reference-home .online-services{position:relative;margin-top:-24px;background:#f5f8fc;border-radius:30px 30px 0 0;padding:32px 0 42px;z-index:2}.center-heading{text-align:center;margin-bottom:26px}.reference-home h2{color:#071b40;font-size:clamp(1.55rem,2.6vw,2.5rem);line-height:1.15;letter-spacing:-.04em;margin:0 0 16px}.center-heading h2{margin:0 auto 16px}.green-rule{display:block;width:60px;height:4px;border-radius:4px;background:#5eb520;margin:auto}.premium-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.premium-service{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;padding:14px 26px 66px;border:1px solid #dce7f1;border-radius:20px;background:linear-gradient(155deg,#fff 35%,#f2f8fe);box-shadow:0 7px 18px #074b780a;overflow:hidden;text-decoration:none;color:#071b40;transition:transform .2s ease,box-shadow .2s ease}.premium-service::before{content:"";position:absolute;z-index:-1;top:-18px;right:-12px;width:118px;height:118px;border-radius:28px 20px 80px 28px;transform:rotate(24deg);background:#d3f1ff}.service-seo::before{background:#e2f4d7}.premium-service:hover{transform:translateY(-5px);box-shadow:0 12px 24px #074b7814}.service-illustration{height:174px;display:grid;place-items:center;margin:0 -10px 2px}.service-illustration img{width:100%;height:100%;object-fit:contain}.premium-service h3{font-size:clamp(1.2rem,1.9vw,1.55rem);line-height:1.12;letter-spacing:-.035em;margin:6px 0 12px;color:#071b40}.premium-service p{font-size:1rem;line-height:1.45;color:#52677d;margin:0;max-width:28ch}.circle-arrow{position:absolute;bottom:18px;right:22px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#dff5ff;border:1px solid #c8ebfa;color:#074b78;font-size:1.6rem;line-height:1;box-shadow:0 2px 5px #074b780a}.swipe-hint{display:none}.reference-home .selected-work{padding:48px 0}.compact-section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}.section-kicker{color:#075a83;font-size:.8125rem;font-weight:750;line-height:1.4;letter-spacing:.11em;margin:0 0 10px}.compact-section-heading h2{margin-bottom:0}.text-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#074b78;font-weight:700;font-size:.9375rem;text-decoration:underline;text-underline-offset:5px}.selected-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.selected-project{display:block;border:1px solid #dce7f1;border-radius:20px;overflow:hidden;text-decoration:none;background:#fff;box-shadow:0 5px 18px #071b4007;transition:transform .2s ease}.selected-project:hover{transform:translateY(-3px)}.selected-project img{display:block;width:100%;height:auto;aspect-ratio:960/625;object-fit:cover;object-position:top;background:#eaf2f8}.selected-project-copy{display:block;padding:18px 20px}.selected-project h3{font-size:1.125rem;margin:0 0 5px;color:#071b40;line-height:1.3}.selected-project p{margin:0;color:#52677d;font-size:.875rem;line-height:1.4}.reference-home .audit-story{padding:46px 0;background:#f5f8fc}.audit-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:76px;align-items:center}.audit-story-intro>p:not(.section-kicker){color:#52677d;font-size:1rem;line-height:1.55;max-width:50ch}.audit-story-intro .audit-pricing-note{font-size:.875rem;margin:5px 0 0}.audit-perspectives{display:grid;gap:18px}.audit-perspectives article{display:flex;gap:16px;align-items:flex-start}.perspective-icon{width:44px;height:44px;display:grid;place-items:center;flex:none;border:1px solid #d4e8f5;background:#fff;border-radius:12px;font-size:1.5rem;color:#074b78}.audit-perspectives h3{font-size:1.0625rem;color:#071b40;margin:0 0 5px;letter-spacing:-.02em}.audit-perspectives p{font-size:.9375rem;color:#52677d;line-height:1.5;margin:0}.reference-home .home-closing{padding:40px 0 44px}.closing-panel{display:flex;justify-content:space-between;align-items:center;gap:40px;border:1px solid #dce7f1;border-radius:22px;padding:30px 34px;background:#fff}.closing-panel>div{max-width:680px}.closing-panel h2{font-size:clamp(1.5rem,2.2vw,2rem);margin-bottom:12px}.closing-panel p:not(.section-kicker){font-size:1rem;color:#52677d;line-height:1.5;margin:0}.closing-button{display:flex;align-items:center;justify-content:center;gap:12px;flex:none;min-height:48px;padding:14px 18px;border-radius:12px;background:#074b78;color:#fff;text-decoration:none;font-weight:700;font-size:.9375rem}.audit-choice{width:min(480px,calc(100vw - 32px));padding:30px;border:1px solid #dce7f1;border-radius:20px;color:#071b40;background:#fff;box-shadow:0 24px 80px #071b4033;max-height:calc(100dvh - 40px);overflow:auto}.audit-choice::backdrop{background:#071b40aa}.audit-choice h2{font-size:1.65rem;line-height:1.15;letter-spacing:-.035em;margin:0 0 16px;padding-right:18px}.audit-choice p:not(.section-kicker){font-size:1rem;line-height:1.5;color:#52677d}.dialog-close{position:absolute;right:10px;top:8px;width:44px;height:44px;background:transparent;border:0;border-radius:10px;color:#071b40;font-size:1.8rem;cursor:pointer}.choice-link{display:block;padding:16px;border:1px solid #dce7f1;border-radius:12px;background:#f5f8fc;text-decoration:none;color:#071b40;margin-top:12px;min-height:44px}.choice-link:hover{border-color:#074b78}.choice-link strong{display:block;font-size:1rem;line-height:1.4}.choice-link span{display:block;font-size:.875rem;line-height:1.4;margin-top:5px;color:#52677d}.reference-home a:focus-visible,.reference-header a:focus-visible,.reference-header button:focus-visible,.audit-choice a:focus-visible,.audit-choice button:focus-visible{outline:3px solid #008fe8;outline-offset:5px}.city-hero a:focus-visible{outline-color:#8bd52c}.reference-home [id]{scroll-margin-top:100px}.footer{background:#071b40;color:#fff}.footer a{color:#fff}.footer p,.footer small{color:#c6d6e5}.footer-links a{min-height:36px;display:inline-flex;align-items:center}.footer .footer-inner{max-width:1280px}
@media(min-width:960px){.cta-break{display:none}.menu-drawer:not([hidden]){display:grid}}
@media(max-width:1100px){.desktop-links{gap:18px}.desktop-links a{font-size:.875rem}.reference-header .header-inner{gap:18px}.brand-logo img{width:210px}.audit-story-grid{gap:40px}.closing-panel{align-items:flex-start;flex-direction:column;gap:22px}}
@media(max-width:959px){.desktop-links{display:none}.reference-header .header-inner{min-height:74px}.brand-logo img{width:224px}.city-hero-content{padding-block:42px 62px}.city-hero h1{font-size:clamp(2.5rem,6vw,4rem)}.city-intro{max-width:480px}.premium-services{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:2px;gap:16px;padding:4px 2px 18px;margin-inline:-2px;scrollbar-width:thin}.premium-service{flex:0 0 43%;scroll-snap-align:start}.swipe-hint{display:block;text-align:center;font-size:.875rem;line-height:1.4;color:#52677d;margin:10px 0 0}.selected-work-grid{gap:14px}.selected-project-copy{padding:14px}.audit-story-grid{gap:30px}.closing-panel{padding:26px}.reference-header.has-menu-js .menu-drawer{right:24px}}
@media(max-width:600px){.announcement{gap:8px;min-height:36px;padding:6px 16px;font-size:.8125rem;line-height:1.3}.announcement>.ui-icon{width:14px;height:16px}.canada-flag{width:22px;height:15px}.announcement-divider{margin:0 2px}.reference-header .header-inner{min-height:70px;padding-inline:20px;gap:14px}.brand-logo img{width:210px;max-width:calc(100vw - 140px)}.reference-header .reference-menu:not([hidden]){padding:10px 12px;gap:7px;border-radius:13px;min-height:44px;font-size:.875rem}.reference-menu .ui-icon{width:20px;height:20px}.reference-home .container{padding-inline:20px}.city-scene img{object-position:72% center}.city-hero::before{background:linear-gradient(0deg,#074b78fa,transparent 86%),linear-gradient(90deg,#073151eb,#074b78ad)}.city-hero-content{padding-block:26px 46px}.city-eyebrow{font-size:.75rem;letter-spacing:.07em;margin-bottom:18px}.city-eyebrow::after{width:36px;height:3px;margin-top:10px}.city-hero h1{font-size:clamp(2rem,8.6vw,3.2rem);line-height:1.04;letter-spacing:-.045em;margin-bottom:16px}.city-intro{font-size:1rem;line-height:1.48;margin-bottom:20px;max-width:38ch}.hero-actions{display:grid;grid-template-columns:1.45fr 1fr;gap:12px;max-width:480px}.audit-button,.work-button{padding:12px 13px;min-height:58px;font-size:.875rem;gap:8px;border-radius:14px}.audit-button .rocket-icon{width:22px;height:24px}.audit-button .button-arrow{width:18px;height:20px}.work-button .ui-icon{width:22px;height:22px}.hero-trust{margin-top:24px;gap:0;max-width:none}.hero-trust li{font-size:.875rem;gap:8px;padding-inline:10px;align-items:center;line-height:1.3}.hero-trust .ui-icon{width:24px;height:26px}.reference-home .online-services{border-radius:24px 24px 0 0;margin-top:-20px;padding:26px 0 26px}.center-heading{margin-bottom:18px}.reference-home .center-heading h2{font-size:clamp(1.25rem,5.2vw,1.7rem);line-height:1.2;max-width:22ch;margin-bottom:13px}.green-rule{height:3px;width:46px}.premium-services{overflow: auto;gap:14px;margin-right:-20px;padding-right:20px;scroll-padding-inline:2px}.premium-service{flex-basis:82%;max-width:330px;padding:10px 22px 62px;min-height:316px}.service-illustration{height:145px}.premium-service h3{font-size:1.3125rem;margin-bottom:10px}.premium-service p{font-size:1rem;line-height:1.4}.circle-arrow{bottom:16px;right:20px;width:36px;height:36px}.swipe-hint{margin-top:6px}.reference-home .selected-work{padding:30px 0}.compact-section-heading{display:block;margin-bottom:18px}.reference-home h2{font-size:1.6rem;line-height:1.17}.compact-section-heading .text-link{margin-top:6px}.section-kicker{font-size:.75rem;margin-bottom:8px}.selected-work-grid{grid-template-columns:1fr;gap:16px}.selected-project{display:grid;grid-template-columns:40% 1fr;align-items:center;border-radius:16px}.selected-project img{height:100%;min-height:120px;aspect-ratio:1.25}.selected-project-copy{padding:16px}.selected-project h3{font-size:1rem;margin-bottom:7px}.selected-project p{font-size:.875rem}.reference-home .audit-story{padding:30px 0}.audit-story-grid{grid-template-columns:minmax(0,1fr);gap:24px}.audit-story-intro>p:not(.section-kicker){font-size:1rem;margin-bottom:12px}.audit-story-intro .audit-pricing-note{font-size:.875rem}.audit-perspectives{gap:18px}.audit-perspectives h3{font-size:1rem}.audit-perspectives p{font-size:.9375rem}.perspective-icon{width:40px;height:40px;border-radius:10px}.reference-home .home-closing{padding:26px 0}.closing-panel{padding:24px 20px;border-radius:18px;gap:18px}.closing-panel h2{font-size:1.5rem}.closing-button{width:100%;flex-wrap:wrap;line-height:1.4}.audit-choice{padding:26px 22px}.audit-choice h2{font-size:1.5rem}.footer .footer-inner{padding-inline:20px}.footer-links{gap:8px 18px}.footer-links a{min-height:44px}}
@media(max-width:359px){.reference-home .container{padding-inline:16px}.reference-header .header-inner{padding-inline:16px}.brand-logo img{max-width:calc(100vw - 132px)}.city-hero-content{padding-top:24px}.city-hero h1{font-size:2rem}.city-eyebrow{font-size:.6875rem;letter-spacing:.04em}.city-intro{font-size:.9375rem}.hero-actions{gap:8px}.audit-button,.work-button{padding:10px;font-size:.8125rem;gap:6px}.audit-button .rocket-icon{width:18px;height:22px}.audit-button .button-arrow{width:14px}.work-button .ui-icon{width:20px}.hero-trust li{flex-direction:column;align-items:flex-start;gap:7px;padding-inline:10px;font-size:.875rem}.hero-trust .ui-icon{height:24px}.premium-services{margin-right:-16px;padding-right:16px}.premium-service{flex-basis:89%;padding-inline:18px}.selected-project{grid-template-columns:36% 1fr}.selected-project-copy{padding:13px}.menu-drawer{grid-template-columns:1fr}.reference-header.has-menu-js .menu-drawer{right:16px;width:calc(100vw - 32px)}}
@media(prefers-reduced-motion:reduce){.reference-header,.premium-service,.selected-project,.audit-button,.work-button{transition:none}.premium-service:hover,.selected-project:hover,.audit-button:hover,.work-button:hover{transform:none}}

.reference-header:not(.has-menu-js) .header-inner{flex-wrap:wrap}.reference-header:not(.has-menu-js) .menu-drawer{flex-basis:100%;width:100%}
html{scrollbar-gutter:stable}html.audit-open{overflow:hidden}.premium-service:focus-visible{outline-offset:-4px}
@media(max-width:600px){.announcement{padding-block:4px;line-height:1.2}}

/* Reflow for large text preferences rather than constraining words to fixed boxes. */
.brand-logo{flex:0 1 238px;min-width:0}.brand-logo img{max-width:100%}.desktop-links{flex-wrap:wrap;justify-content:flex-end;min-width:0}
.hero-actions{display:flex;flex-wrap:wrap}.audit-button{flex:1.45 1 11rem}.work-button{flex:1 1 8rem}.audit-button>span,.work-button>span{min-width:0;overflow-wrap:anywhere}.audit-button,.work-button{min-width:0}
.hero-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,6.25rem),1fr))}.hero-trust li{min-width:0}.hero-trust li>span{min-width:0;overflow-wrap:anywhere}.premium-service h3,.premium-service p,.selected-project-copy{overflow-wrap:anywhere;min-width:0}
@media(max-width:600px){.brand-logo{flex-basis:210px}.hero-actions{gap:12px}.hero-trust{row-gap:16px}}
@media(max-width:359px){.hero-actions{gap:10px}.hero-trust li{flex-direction:row;align-items:center}}

.nojs-menu{display:block;padding:12px;color:#074b78;min-height:44px}.reference-header .reference-menu:disabled{opacity:1}

.hero-trust{grid-template-columns:repeat(auto-fit,minmax(min(100%,5.5rem),1fr))}.service-illustration{min-height:0;flex-shrink:0}.service-illustration img{display:block;min-height:0;max-height:100%}
@media(max-width:600px){.hero-trust li{flex-direction:column;align-items:flex-start;padding-inline:8px;gap:6px}.hero-trust li>span{overflow-wrap:normal}.city-scene img{object-position:78% center}.city-hero::before{background:linear-gradient(0deg,#074b78f5,transparent 85%),linear-gradient(90deg,#073151ed,#074b7899 60%,#074b7866)}}
.closing-panel>div{min-width:0;width:100%;overflow-wrap:anywhere}
@media(max-width:959px){html{scrollbar-gutter:auto}}

/* Grid and flex items must shrink when enlarged text changes intrinsic widths. */
.audit-story-grid>div,.audit-perspectives article>div{min-width:0}.audit-perspectives h3,.audit-perspectives p{overflow-wrap:anywhere}.text-link{max-width:100%;flex-wrap:wrap;overflow-wrap:anywhere}

.reference-home h1,.reference-home h2{overflow-wrap:anywhere}

/* Project imagery: genuine narrow-screen captures, framed separately from subject artwork. */
.project-media{--project-ink:#184c3b;--project-accent:#3d8257;position:relative;isolation:isolate;min-height:300px;overflow:hidden;background:#eef5ee;text-align:left}
.project-media.theme-community{--project-ink:#214b68;--project-accent:#477d9e;background:#edf4fa}
.project-media.theme-finance{--project-ink:#163e68;--project-accent:#2377a2;background:#eaf4f9}
.project-media::before{content:"";position:absolute;width:260px;height:260px;right:-64px;top:58px;border:1px solid #ffffffcc;border-radius:50%;box-shadow:0 0 0 28px #ffffff45,0 0 0 56px #ffffff30;z-index:-1}
.project-purpose{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:13px;width:48%;padding:32px 0 24px 24px;color:var(--project-ink)}
.project-purpose svg{width:44px;height:44px;fill:var(--project-accent)}
.project-label{display:block;font-size:.75rem;line-height:1.5;font-weight:750;letter-spacing:.08em;max-width:16ch}
.project-message{display:block;font-size:clamp(1.1rem,1.5vw,1.4rem);line-height:1.2;letter-spacing:-.035em;font-weight:750}
.project-phone{position:absolute;top:26px;right:22px;width:46%;max-width:190px;border:6px solid #102d46;border-radius:23px;background:#fff;overflow:hidden;box-shadow:0 12px 24px #102d4620;line-height:0;transform:rotate(3deg)}
.project-phone img,.selected-project .project-phone img,.project-shot .project-phone img{display:block;width:100%;height:auto;aspect-ratio:390/844;object-fit:contain;object-position:top;border:0;border-radius:0;background:#fff}
.project-shot-mobile{border-bottom:1px solid #dce7f1}
.project-shot-mobile figcaption{border-top:1px solid #dce7f1;background:#fff}
.projects .project-media{min-height:330px}
.projects .project-purpose{padding:36px 0 24px 30px}
.projects .project-phone{right:40px;max-width:200px}
.projects .project-message{font-size:clamp(1.2rem,2vw,1.75rem)}
@media(min-width:701px) and (max-width:1024px){.selected-work-grid .project-media{min-height:250px}.selected-work-grid .project-purpose{padding-left:16px;padding-top:26px;gap:10px}.selected-work-grid .project-label{font-size:.6875rem;letter-spacing:.04em}.selected-work-grid .project-message{font-size:1rem}.selected-work-grid .project-phone{right:12px;top:30px;width:45%;border-width:4px;border-radius:18px}.selected-work-grid .project-purpose svg{width:36px;height:36px}}
@media(max-width:700px){.selected-work-grid{grid-template-columns:1fr;gap:16px}.selected-project{display:block}.project-media,.projects .project-media{min-height:290px}.project-purpose,.projects .project-purpose{padding:30px 0 24px 24px;width:47%;gap:12px}.project-phone,.projects .project-phone{top:24px;right:24px;max-width:180px;width:45%;transform:none}.project-message,.projects .project-message{font-size:clamp(1.125rem,4.7vw,1.4rem)}}
@media(max-width:359px){.project-media,.projects .project-media{min-height:265px}.project-purpose,.projects .project-purpose{padding-left:18px;width:46%}.project-label{font-size:.6875rem;letter-spacing:.04em}.project-phone,.projects .project-phone{right:15px;width:46%;border-width:5px;border-radius:19px}.project-message,.projects .project-message{font-size:1.0625rem}}
.project-topic-art{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:53%;max-width:270px}
.project-shot .project-topic-art img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border:0;background:transparent}

/* Flagship engines: moved from inline styles (blocked by the strict CSP) into the template. */
.home-engines{padding:4rem 0}.engine-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:1rem;margin-top:1.5rem}.engine-card{display:block;border:1px solid #e2e8f0;border-radius:12px;padding:1.3rem;text-decoration:none;color:inherit;background:white}.engine-card:hover{border-color:#8cb0ce}.engine-card h3{margin-top:0}
/* TCD Audit section as a mathematician's notebook (matches /website-copywriting/). Decorations are aria-hidden. */
.audit-story.nb-audit,.reference-home .audit-story.nb-audit{--nb-paper:#fcfaf4;--nb-grid:rgba(53,107,137,.13);--nb-pen:#b42318;--nb-math:#244f78;--nb-hand:"Bradley Hand","Segoe Print","Chalkboard SE","Marker Felt","Comic Sans MS",cursive;--nb-serif:"Cambria Math","STIX Two Math",Cambria,Georgia,"Times New Roman",serif;
 background:radial-gradient(900px 320px at 15% 0%,#fff6e6 0%,rgba(255,246,230,0) 60%),linear-gradient(180deg,#f7f3ea,#fbfaf6)}
.nb-pen{background:linear-gradient(transparent 72%,rgba(180,35,24,.22) 72%,rgba(180,35,24,.22) 90%,transparent 90%) no-repeat 0 0/100% 100%;padding:0 2px}
.nb-doodle{display:flex;align-items:center;gap:6px;margin-top:16px;color:var(--nb-pen)}
.nb-hand{font-family:var(--nb-hand);font-size:1.15rem;transform:rotate(-3deg)}
.nb-doodle svg{width:110px;height:38px;fill:none;stroke:var(--nb-pen);stroke-width:2;stroke-linecap:round}.nb-doodle .nb-trail{stroke-dasharray:5 5}
.nb-notebook{position:relative;padding:26px 24px 22px 46px;border-radius:18px;background-color:var(--nb-paper);
 background-image:linear-gradient(var(--nb-grid) 1px,transparent 1px),linear-gradient(90deg,var(--nb-grid) 1px,transparent 1px);background-size:22px 22px;
 box-shadow:0 18px 40px rgba(17,44,66,.12),inset 0 0 0 1px rgba(17,44,66,.06);transform:rotate(.5deg)}
.nb-notebook::before{content:"";position:absolute;top:0;bottom:0;left:24px;border-left:2px solid rgba(180,35,24,.35)}
.nb-notebook article{position:relative}
.nb-notebook article:not(:last-child)::after{content:"";position:absolute;left:21px;top:46px;bottom:-16px;border-left:2px dashed #7d98ab}
.nb-notebook .perspective-icon{position:relative;z-index:1;background:#fff;border-color:#cfdde7;box-shadow:0 4px 10px rgba(17,44,66,.08)}
.nb-formula{display:inline-block;margin-top:7px;padding:0 8px;border-radius:6px;background:#eaf1f8;color:var(--nb-math);font-family:var(--nb-serif);font-style:italic;font-size:.9rem}
.nb-notebook article:last-child{background:#f4fbf7;border-radius:12px;padding:10px 10px 10px 0;margin-left:-6px;box-shadow:inset 3px 0 0 #1f6b54}
.nb-notebook article:last-child .perspective-icon{margin-left:6px}
@media(max-width:600px){.nb-notebook{padding:20px 14px 16px 34px;transform:none}.nb-notebook::before{left:16px}.nb-notebook article:not(:last-child)::after{left:19px;top:42px}.nb-doodle{margin-top:10px}}
.reference-home .home-faq{padding:44px 0 36px;background:#fff}.home-faq .container{max-width:880px}.home-faq h2{margin-bottom:18px}.home-faq .reveal-details{margin:0 0 10px;background:#f5f8fc;border:1px solid #dce7f1}.home-faq .reveal-details summary{min-height:48px;padding:14px 18px;font-size:1rem;color:#071b40}.home-faq .reveal-details p{margin:0;padding:0 18px 16px;font-size:1rem;line-height:1.55;color:#3e5163}
