/* A scrolling practice website, with the original motion as a persistent backdrop. */
:root { --page-width: 1320px; --header-h: 6.5rem; }
html, body { height: auto; min-height: 100%; }
html { scroll-behavior: smooth; }
body { overflow: visible; background: #090911; }
.stage { position: relative; inset: auto; min-height: 100svh; overflow: visible; background: transparent; }
.background-video, .video-shade, .noise { position: fixed; }
.site-header { position: fixed; inset: 0 0 auto; height: var(--header-h); padding: 1rem max(1.4rem,calc((100vw - 1600px)/2)); grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); background: transparent; border-bottom: 0; pointer-events: auto; }
.site-header::before { content: none; }
.brand img { filter: url(#white-client-mark); }
.nav-pill a { font-size: .8rem; }
.views { position: relative; inset: auto; padding-top: var(--header-h); }
.view, .view-home, .view-panel, #projects { position: relative; inset: auto; display: block; opacity: 1; transform: none; transition: none; width: 100%; height: auto; min-height: 0; overflow: visible; padding: 0; }
.view-panel, #projects { max-width: var(--page-width); margin: 1rem auto 0; padding-inline: 2rem; }
.panel-shell, .portfolio-shell { height: auto; min-height: 0; border-radius: 1.1rem; background: rgba(10,10,19,.94); box-shadow: none; overflow: visible; }
.panel-scroll, .project-list, .project-directory { height: auto; overflow: visible; overscroll-behavior: auto; }
.view-home .home-content { min-height: clamp(460px,62svh,720px); width: min(100%,var(--page-width)); margin: 0 auto; padding: 3rem 2rem 4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
#hero-title { font-size: clamp(2.6rem,4.8vw,5.5rem); line-height: 1.08; max-width: 1150px; }
.hero-line { white-space: normal; }
.home-content .hero-copy { max-width: 44rem; font-size: clamp(1rem,1.1vw,1.14rem); line-height: 1.75; margin-top: 1.75rem; }
.home-content .hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.trust-pill { font-size: .65rem; margin-bottom: 1.4rem; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; font-size: .88rem; line-height: 1.5; color: #fff; }
.text-link span { color: var(--rose); }
.text-link:hover { color: var(--rose); }
.primary-action { padding: 1rem 1.3rem; font-size: .8rem; }
.home-stats, .home-clients, .home-section, .site-footer { width: calc(100% - 4rem); max-width: calc(var(--page-width) - 4rem); margin-inline: auto; }
.home-stats { background: #0b0b12bb; }
.home-stats div { padding: 1.5rem; }
.home-stats strong { font-size: clamp(1.7rem,2.4vw,2.5rem); }
.home-stats span { font-size: .63rem; line-height: 1.6; letter-spacing: .09em; }
.home-clients { padding-block: 2.4rem; gap: 2rem; background: #05050855; }
.home-clients > p { font-size: .63rem; }
.home-clients .marquee-client { height: 80px; }
.home-section { padding: 5rem 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.3rem; }
.section-heading h2, .project-invitation h2 { font-size: clamp(2.2rem,3.5vw,3.6rem); line-height: 1.06; letter-spacing: -.04em; }
.section-heading > p { flex: 0 1 28rem; max-width: 28rem; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.eyebrow { font-size: .68rem; line-height: 1.6; }
.highlight-grid, .expertise-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.highlight-card, .expertise-card { min-width: 0; padding: 2rem; background: rgba(12,12,22,.92); border: 1px solid var(--line); border-radius: .7rem; }
.highlight-card { display: flex; flex-direction: column; align-items: flex-start; }
.highlight-card .project-category, .expertise-card .area-number { color: var(--rose); font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; }
.highlight-card h3 { margin: 1.3rem 0 .75rem; font-size: 1.25rem; line-height: 1.4; font-weight: 500; }
.highlight-card .highlight-location { margin: 0 0 1.5rem; color: var(--muted); font-size: .87rem; line-height: 1.6; }
.highlight-fact { width: 100%; margin-top: auto; padding-block: 1.4rem; border-top: 1px solid var(--line); }
.highlight-fact strong { display: block; font-size: 2rem; font-weight: 400; }
.highlight-fact span { display: block; color: var(--muted); font-size: .8rem; margin-top: .6rem; }
.highlight-card .text-link { margin-top: .6rem; font-size: .8rem; }
.expertise-card h3 { margin: 1.5rem 0 .8rem; font-size: 1.5rem; font-weight: 500; }
.expertise-card p { min-height: 5.4rem; color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.delivery-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--line); background: #0a0a14d9; }
.delivery-steps li { padding: 2rem 1.5rem; border-right: 1px solid var(--line); }
.delivery-steps li:last-child { border-right: 0; }
.delivery-steps li > span { color: var(--rose); font-size: .75rem; }
.delivery-steps h3 { font-size: 1.25rem; font-weight: 500; }
.delivery-steps p { color: var(--muted); font-size: .9rem; line-height: 1.75; }
.project-invitation { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.project-invitation p:not(.eyebrow) { max-width: 35rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.section-intro { grid-template-columns: 1.2fr 1fr; padding: 4rem 3rem; }
.section-intro h2, .section-intro h1, .portfolio-head h2, .portfolio-head h1, .contact-copy h1, .contact-copy h2 { font-size: clamp(2.5rem,4.1vw,4.5rem); line-height: 1.05; }
.section-intro > p:last-child { font-size: 1rem; line-height: 1.75; }
.expertise-areas { padding: 0 3rem; }
.expertise-area { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; padding: 3rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.expertise-area h3 { font-size: 2rem; font-weight: 400; margin: .6rem 0 1rem; letter-spacing: -.04em; }
.expertise-area p { color: var(--muted); line-height: 1.75; font-size: 1rem; }
.expertise-area h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: .5rem 0 1rem; }
.expertise-area ul { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.expertise-area li { padding-bottom: .7rem; color: #dedce4; font-size: .95rem; line-height: 1.5; }
.industries-heading { padding: 4rem 3rem 0; }
.service-row { grid-template-columns: 2rem 1fr 1.4fr; gap: 1.5rem; padding: 2rem 3rem; }
.service-row h3 { font-family: var(--sans); font-size: 1.3rem; text-transform: none; font-weight: 500; line-height: 1.35; letter-spacing: -.025em; }
.service-row > p { font-size: .95rem; line-height: 1.75; }
.service-meta { grid-column: 3; text-align: left; }
.service-meta strong { font-size: .85rem; }
.service-meta span { font-size: .73rem; line-height: 1.5; }
.innovation-block { padding-bottom: 3rem; }
.capability-list { margin: 0 3rem 2rem; }
.capability { min-height: 0; padding: 1.5rem; }
.capability h3 { font-size: 1.1rem; line-height: 1.4; }
.capability p { font-size: .9rem; line-height: 1.7; }
.simulation-review { margin: 0 3rem; border: 1px solid var(--line); border-radius: .6rem; }
.simulation-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: 1.3rem 1.5rem 0; }
.simulation-heading h3 { margin: 0; font-size: 1.1rem; font-weight: 500; line-height: 1.6; }
.simulation-heading > span { color: var(--muted); font-size: .75rem; }
.simulation-context { padding: 0 1.5rem; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.simulation-review .validation-console { margin: 1.5rem; }
.portfolio-head { padding: 3rem; }
.portfolio-intro { color: var(--muted); font-size: .98rem; line-height: 1.75; margin: 1.3rem 0 0; max-width: 38rem; }
.portfolio-tools, .project-result-line { padding-inline: 2rem; }
.portfolio-explorer { align-items: start; }
.map-panel { position: sticky; top: calc(var(--header-h) + 1rem); height: calc(100dvh - var(--header-h) - 2rem); min-height: 360px; scroll-margin-top: calc(var(--header-h) + 1rem); }
.project-row { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.project-name { font-size: .93rem; line-height: 1.45; }
.project-location, .project-capacity { font-size: .8rem; line-height: 1.6; }
.project-year { font-size: .7rem; }
.leader-card { padding: 1.5rem; }
.leader-photo { aspect-ratio: 4/3; height: auto; }
.leader-card h3 { font-size: 1.08rem; line-height: 1.5; }
.leader-role { font-size: .7rem; line-height: 1.5; }
.leader-bio { font-size: .95rem; line-height: 1.75; }
.leader-stat { font-size: .82rem; line-height: 1.7; }
.practice-principles { padding: 4rem 3rem; border-bottom: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.principle-grid h3 { font-size: 1.15rem; font-weight: 500; }
.principle-grid p { font-size: .95rem; color: var(--muted); line-height: 1.75; }
.practice-history .history-column { padding: 3rem; }
.timeline-item p { font-size: .9rem; line-height: 1.75; }
.contact-shell { padding: 4rem 3rem; gap: 3rem; }
.contact-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.75; }
.contact-details p, .contact-details a { font-size: .9rem; line-height: 1.8; }
.contact-form label { font-size: .72rem; }
.contact-form input, .contact-form select, .contact-form textarea { font-size: 1rem; line-height: 1.6; }
.form-note { font-size: .78rem; line-height: 1.7; }
.site-footer { padding: 3rem 0 1.5rem; margin-top: 4rem; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: minmax(170px,1fr) minmax(100px,.6fr) minmax(240px,1fr); align-items: start; gap: 2rem; }
.footer-main p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.8; }
.footer-main .footer-brand, .footer-main .footer-brand:hover { transform: none; }
.footer-main nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.footer-contact { min-width: 0; }
.footer-main a { font-size: .9rem; line-height: 1.7; overflow-wrap: anywhere; }
.footer-main a:hover { color: var(--rose); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .8rem 1rem; background: white; color: #111; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
@media (max-width:1000px) {
  .highlight-card, .expertise-card { padding: 1.4rem; }
  .section-intro, .portfolio-head { padding: 2.5rem 2rem; }
  .delivery-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .delivery-steps li { border-bottom: 1px solid var(--line); }
  .expertise-areas { padding-inline: 2rem; }
}
@media (max-width:900px) {
  :root { --header-h: 8.5rem; }
  .site-header { padding: .7rem 1rem; grid-template-columns: 1fr; grid-template-rows: 3rem auto; gap: .55rem; }
  .site-header .brand { grid-column: 1; grid-row: 1; justify-self: center; transform: scale(.82); transform-origin: center; }
  .site-header .nav-pill { grid-column: 1; grid-row: 2; width: min(100%,32rem); }
  .nav-pill a { font-size: .76rem; }
  .expertise-area { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width:760px) {
  .view-panel, #projects { padding-inline: .75rem; }
  .home-stats, .home-clients, .home-section, .site-footer { width: calc(100% - 2rem); }
  .view-home .home-content { padding: 2.5rem 1rem 3rem; min-height: 440px; }
  #hero-title { font-size: clamp(2rem,8.7vw,3.6rem); }
  .home-content .hero-copy { font-size: 1rem; line-height: 1.7; }
  .home-content .hero-actions { flex-direction: column; gap: 1.2rem; }
  .home-stats div { padding: 1rem; }
  .home-stats strong { font-size: 1.65rem; }
  .home-stats span { font-size: .6rem; }
  .home-clients { padding-block: 1.5rem; gap: 1rem; }
  .home-clients > p { max-width: none; }
  .home-section { padding: 3rem 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
  .section-heading > p { flex: auto; }
  .highlight-grid, .expertise-cards, .principle-grid { grid-template-columns: 1fr; }
  .highlight-card, .expertise-card { padding: 1.5rem; }
  .expertise-card p { min-height: 0; }
  .highlight-fact { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .highlight-fact span { max-width: 50%; margin: 0; text-align: right; }
  .delivery-steps { grid-template-columns: 1fr; }
  .delivery-steps li { padding: 1.5rem; border-right: 0; }
  .project-invitation { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .section-intro, .portfolio-head { padding: 2rem 1.3rem; grid-template-columns: 1fr; gap: 1rem; }
  .section-intro h2, .section-intro h1, .portfolio-head h2, .portfolio-head h1, .contact-copy h1, .contact-copy h2 { font-size: clamp(2.2rem,8.5vw,3.6rem); }
  .section-intro > p:last-child { margin: 0; }
  .expertise-areas { padding-inline: 1.3rem; }
  .expertise-area { padding-block: 2rem; }
  .industries-heading { padding: 3rem 1.3rem 0; }
  .service-row { grid-template-columns: 1.5rem 1fr; padding: 1.5rem 1.3rem; gap: .8rem; }
  .service-row > p, .service-meta { grid-column: 2; }
  .capability-list { margin-inline: 1.3rem; grid-template-columns: 1fr; }
  .simulation-review { margin-inline: 1.3rem; }
  .simulation-heading { padding: 1rem 1rem 0; }
  .simulation-context { padding-inline: 1rem; }
  .simulation-review .validation-console { margin: .7rem; }
  .cad-parameters { gap: .4rem; }
  .cad-parameters input { width: 4.8rem; }
  .portfolio-tools, .project-result-line { padding-inline: 1rem; }
  .map-panel { position: relative; top: auto; height: max(360px,62dvh); }
  .mapboxgl-popup-content { max-height: calc(max(360px,62dvh) - 6.5rem); }
  .project-row { padding: 1rem; }
  .leader-card { padding: 1.3rem; }
  .practice-principles, .practice-history .history-column { padding: 2.5rem 1.3rem; }
  .contact-shell { padding: 2rem 1.3rem; gap: 2rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-main nav { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
}
@media (max-width:360px) { .nav-pill a { font-size: .68rem; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
