:root {
  color-scheme: light;
  --navy: #102c43;
  --ink: #172c3e;
  --steel: #3e6984;
  --muted: #526775;
  --line: #d5dfe5;
  --pale: #f0f4f6;
  --paper: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p { margin: 0 0 1.35em; line-height: 1.67; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 6vw, 6.5rem); }
h2 { font-size: clamp(2.25rem, 3.4vw, 3.75rem); }
h3 { font-size: clamp(1.55rem, 2.15vw, 2rem); }
a:focus-visible, button:focus-visible { outline: 3px solid #568cb0; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; z-index: 100; top: -100px; left: 18px; padding: 12px 18px; background: white; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 10vw, 1440px); margin-inline: auto; min-width: 0; }
.eyebrow { margin: 0 0 24px; color: var(--steel); font-size: .78rem; line-height: 1.45; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.35vw, 1.33rem); line-height: 1.65; }
.section { padding-block: clamp(68px, 8vw, 122px); }
.pale-section { background: var(--pale); }
.section-heading { padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.split-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(36px, 7vw, 124px); align-items: start; }
.split-section > p, .split-section > div:last-child > p { color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.22rem); }
.split-section h2 { max-width: 680px; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 15px 5%; gap: 24px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--navy); }
.brand img { display: block; width: 62px; height: 44px; }
.brand span { font-size: 1.23rem; line-height: 1; font-weight: 600; letter-spacing: .19em; }
.brand small { display: block; margin-top: 6px; font-size: .55rem; line-height: 1; letter-spacing: .42em; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.site-header nav a { font-size: .92rem; font-weight: 500; padding: 10px 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current=page] { border-bottom-color: var(--steel); }
.site-header nav .nav-contact { border: 1px solid var(--navy); padding: 11px 23px; }
.site-header nav .nav-contact:hover { color: white; background: var(--navy); }
.menu { display: none; color: var(--navy); background: white; border: 1px solid var(--navy); padding: 10px 15px; cursor: pointer; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; min-height: 54px; padding: 13px 20px; font-size: .91rem; font-weight: 650; border: 1px solid var(--navy); transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 1.1em; font-weight: 400; }
.button-navy { color: white; background: var(--navy); }
.button-navy:hover { background: var(--steel); border-color: var(--steel); }
.button-outline { color: var(--navy); background: transparent; }
.button-outline:hover { color: white; background: var(--navy); }
.button-light { color: var(--navy); background: white; border-color: white; }
.button-light:hover { background: #dce7ed; border-color: #dce7ed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.page-home .site-header { background: rgba(248,250,251,.76); border-bottom-color: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.home-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -88px; padding-top: 88px; background: #79919d; border-bottom: 1px solid var(--line); }
.home-hero::before { content: ""; position: absolute; inset: -3%; z-index: -1; background: url('architecture-hero-v2.webp') calc(50% + var(--hero-pan-x,0px)) calc(50% + var(--hero-pan-y,0px))/cover no-repeat; animation: hero-image-drift 18s ease-in-out infinite alternate; pointer-events: none; }
.home-hero .hero-layout { display: grid; width: 100%; max-width: none; grid-template-columns: 54% 46%; gap: 0; align-items: stretch; }
.hero-content { position: relative; z-index: 1; padding: clamp(64px,8vw,112px) 8%; color: white; background: linear-gradient(90deg,#102c43 0%,rgba(16,44,67,.97) 72%,rgba(16,44,67,.83) 100%); }
.hero-content .eyebrow { color: #c6d9e5; }
.hero-content h1 { max-width: 690px; font-size: clamp(3.15rem,4.1vw,4.8rem); }
.hero-content .lead { max-width: 650px; margin-top: 36px; color: #e1eaf0; }
.hero-content .button-navy { color: var(--navy); background: white; border-color: white; }
.hero-content .button-navy:hover { background: #dce8ef; border-color: #dce8ef; }
.hero-content .button-outline { color: white; border-color: #c6d7e1; }
.hero-content .button-outline:hover { background: rgba(255,255,255,.17); }
.hero-photo { min-height: 740px; position: relative; }
@keyframes hero-image-drift { 0% { transform: translate3d(-1%,0,0) scale(1.02); } 50% { transform: translate3d(1%,1%,0) scale(1.07); } 100% { transform: translate3d(-.5%,-1%,0) scale(1.035); } }
.problem-section { border-bottom: 1px solid var(--line); }
.capability-grid, .contact-grid, .leadership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.capability-grid article, .contact-grid article { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; border: 1px solid var(--line); background: #f8fafb; padding: clamp(26px, 3vw, 45px); }
.capability-grid article { min-height: 285px; }
.card-number { display: block; margin-bottom: 30px; color: var(--steel); font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.capability-grid h3, .contact-grid h3 { margin-bottom: 21px; }
.capability-grid p, .contact-grid p { margin-bottom: 0; color: var(--muted); }
.navy-section { background: var(--navy); color: white; }
.navy-section .eyebrow { color: #abc7d8; }
.navy-section p { color: #e0eaf0; }
.feature-list { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { padding: 16px 0; border-bottom: 1px solid var(--line); line-height: 1.58; color: var(--muted); }
.feature-list strong { color: var(--ink); font-weight: 650; }
.independence-section { border-top: 1px solid var(--line); }
.closing-band { padding-block: 55px; background: var(--navy); color: white; }
.closing-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.closing-band h2 { font-size: clamp(2rem, 3.2vw, 3.5rem); }
.page-hero { padding-block: clamp(74px, 8vw, 125px); background: #f8fafb; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1150px; }
.page-hero .lead { max-width: 850px; margin-top: 30px; margin-bottom: 0; }
.expertise-block { padding-block: clamp(65px, 7vw, 105px); border-bottom: 1px solid var(--line); }
.expertise-block:nth-of-type(odd) { background: var(--pale); }
.expertise-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 120px); }
.expertise-layout h2 { max-width: 530px; }
.expertise-layout .tagline { margin-top: 22px; color: var(--steel); font-size: 1.2rem; line-height: 1.5; }
.expertise-layout .feature-list { margin-bottom: 24px; }
.outcome { margin: 0; padding: 20px 22px; border-left: 3px solid var(--steel); color: var(--ink); background: #e7eef2; font-weight: 600; }
.provider-section { background: var(--pale); }
.provider-section .button { margin-top: 10px; }
.team-hero .lead { max-width: 980px; }
.leadership-grid { gap: 24px; }
.profile-card { min-width: 0; border: 1px solid var(--line); background: white; }
.profile-card img { display: block; width: 100%; height: clamp(320px, 31vw, 460px); object-fit: contain; object-position: center bottom; background: #e4e9ec; }
.profile-copy { padding: clamp(26px, 3vw, 40px); }
.profile-copy h3 { font-size: clamp(1.8rem, 2.4vw, 2.6rem); }
.profile-copy .role { margin: 10px 0 24px; color: var(--steel); font-weight: 700; }
.profile-copy p:last-child { margin-bottom: 0; color: var(--muted); }
.experience-section { border-top: 1px solid var(--line); }
.experience-section .background-firms { display: flex; flex-wrap: wrap; gap: 7px 0; margin: 15px 0 42px; color: var(--navy); font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 600; line-height: 1.7; }
.background-firms .firm-name { display: inline-grid; position: relative; align-items: start; margin-right: 1.05em; }
.background-firms .firm-name::before { content: attr(data-full); visibility: hidden; grid-area: 1/1; }
.background-firms .firm-name:not(:last-child)::after { content: "·"; position: absolute; right: -.7em; color: #93aabc; }
.background-firms .firm-typed { grid-area: 1/1; justify-self: start; white-space: nowrap; }
.background-firms .firm-name.is-typing .firm-typed { border-right: 1px solid currentColor; animation: firm-caret .7s steps(1) infinite; }
@keyframes firm-caret { 50% { border-color: transparent; } }
.contact-hero p:not(.eyebrow) { max-width: 880px; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.contact-hero .lead { margin-bottom: 22px; }
.contact-grid article { min-height: 310px; }
.contact-grid article p { margin-bottom: 32px; }
.contact-grid .button { margin-top: auto; }
.general-enquiries { margin-top: 48px; padding: 32px 0 0; border-top: 1px solid var(--line); }
.general-enquiries h3 { margin-bottom: 12px; }
.general-enquiries a { color: var(--steel); font-size: 1.3rem; font-weight: 600; overflow-wrap: anywhere; border-bottom: 1px solid currentColor; }
.site-footer { padding: 65px 0 30px; background: var(--navy); color: white; }
.footer-inner { width: min(100% - 10vw, 1440px); margin-inline: auto; }
.footer-brand { padding: 10px 16px 10px 10px; margin-bottom: 32px; background: white; }
.site-footer p { max-width: 1000px; color: #d0dde5; font-size: .8rem; line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #537089; color: #d0dde5; font-size: .82rem; }
.footer-bottom a { overflow-wrap: anywhere; }
.footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
  .site-header nav { gap: 17px; }
  .brand span { font-size: 1.05rem; }
}
@media (max-width: 760px) {
  .site-header { min-height: 76px; padding-inline: 5%; flex-wrap: wrap; }
  .brand img { width: 51px; height: 38px; }
  .menu { display: none; }
  .site-header nav { display: flex; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 5px 0 12px; }
  .js-enabled .menu { display: block; }
  .js-enabled .site-header nav { display: none; }
  .js-enabled .site-header nav.open { display: flex; }
  .site-header nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .site-header nav .nav-contact { margin-top: 12px; text-align: center; }
  .wrap, .footer-inner { width: min(100% - 12vw, 1440px); }
  .split-section, .expertise-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-hero { margin-top: -76px; padding-top: 76px; }
  .home-hero .hero-layout { display: flex; flex-direction: column; }
  .hero-photo { order: 1; min-height: 270px; }
  .hero-content { order: 2; padding: 52px 6% 60px; background: rgba(16,44,67,.95); }
  .hero-content h1 { font-size: clamp(2.75rem, 10vw, 4.8rem); }
  .hero-content .lead { margin-top: 26px; }
  .page-hero h1 { font-size: clamp(2.75rem, 9vw, 4.8rem); }
  .capability-grid, .contact-grid, .leadership-grid { grid-template-columns: minmax(0, 1fr); }
  .capability-grid article, .contact-grid article { min-height: 0; }
  .expertise-layout .card-number { margin-bottom: 14px; }
  .closing-band .wrap { align-items: flex-start; flex-direction: column; }
  .profile-card img { height: clamp(300px, 75vw, 450px); }
}
@media (max-width: 440px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.15rem; }
  .hero-content h1, .page-hero h1 { font-size: 2.55rem; overflow-wrap: break-word; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .button { width: 100%; }
  .site-header { gap: 12px; }
  .brand { gap: 7px; }
  .brand span { font-size: .94rem; }
  .brand small { font-size: .45rem; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .home-hero::before { animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header { transition: transform .42s cubic-bezier(.2,.7,.2,1); }
  .site-header.is-hidden { transform: translateY(calc(-100% - 1px)); }
  .site-header:focus-within, .site-header:has(nav.open) { transform: translateY(0); }
  body.motion-enhanced .reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  body.motion-enhanced .reveal-item.is-visible { opacity: 1; transform: none; }
}
@media (hover:hover) and (pointer:fine) {
  .pointer-title { position: relative; isolation: isolate; }
  .pointer-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px; background: radial-gradient(140px 10px at var(--pointer-x,50%) center,currentColor 0,transparent 100%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
  .pointer-title.is-pointed::after { opacity: .6; }
  .page-home .capability-grid article { background-image: linear-gradient(var(--navy),var(--navy)); background-position: right center; background-repeat: no-repeat; background-size: 0% 100%; transition: background-size .38s cubic-bezier(.22,1,.36,1),color .22s ease; }
  .page-home .capability-grid article:hover, .page-home .capability-grid article:focus-within { background-size: 100% 100%; color: white; }
  .page-home .capability-grid article:hover p, .page-home .capability-grid article:focus-within p, .page-home .capability-grid article:hover .card-number, .page-home .capability-grid article:focus-within .card-number { color: #e1eaf0; }
}
@media (max-width: 640px) { .home-hero::before { animation: none; } }

/* Mobile: stable lines for typing; no hover or pointer dependency. */
@media (max-width: 640px) {
  .experience-section .background-firms { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; font-size: clamp(1.1rem, 5.2vw, 1.45rem); line-height: 1.6; margin-bottom: 28px; }
  .background-firms .firm-name { margin-right: 0; min-width: 0; }
  .background-firms .firm-name:not(:last-child)::after { content: none; }
  body.motion-enhanced .reveal-item { transform: translateY(12px); transition-duration: .45s; }
  .experience-section { padding-top: 48px; padding-bottom: 48px; }
}
