/* Hydro Modern — shared design tokens and reusable static components. */
:root {
  --navy: #123047; --blue: #087e9a; --blue-hover: #06657c;
  --blue-ink: #07758e; --slate-ink: #5e6e84; --teal: #32a6a0; --ice: #f5f9fc; --slate: #64748b;
  --body: #4b6172; --border: #dce5eb; --white: #fff;
  --radius: 12px; --shadow: 0 8px 28px rgb(18 48 71 / 5%);
  --container: 1248px; --font-heading: "Manrope", sans-serif; --font-body: "Inter", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--body); background: var(--white); font: 400 15px/1.75 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--navy); font-family: var(--font-heading); }
h4 { font-size: 15px; line-height: 1.45; font-weight: 600; letter-spacing: -.2px; }
h1, h2 { font-weight: 600; letter-spacing: -2.2px; line-height: 1.17; }
h2 { font-size: clamp(32px, 3.2vw, 44px); }
h3 { font-size: 23px; line-height: 1.4; font-weight: 600; letter-spacing: -.6px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: #d2ecee; color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 84px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skiplink { position: absolute; z-index: 100; left: 16px; top: -100px; padding: 10px 20px; background: var(--navy); color: white; }
.skiplink:focus { top: 10px; }
.eyebrow, .small-label { color: var(--blue-ink); font-size: 11px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.7; }
.eyebrow { margin-bottom: 20px; }
.eyebrow-line { display: inline-block; width: 25px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--teal); }
.section-heading { margin-bottom: 44px; }
.heading-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-intro { font-size: 15px; line-height: 1.85; max-width: 390px; }
.section-footnote { margin-top: 22px; font-size: 11px; color: var(--slate); line-height: 1.8; }
.section-footnote a, .contact-fine-print a { text-decoration: underline; text-underline-offset: 3px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 13px 23px; border: 1px solid var(--blue); border-radius: 6px; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 500; line-height: 1.5; transition: background .2s, border-color .2s, transform .15s; }
.button:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.button:active:not(:disabled) { transform: scale(.985); }
.button .icon { width: 18px; height: 18px; transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.button:hover:not(:disabled) .icon { transform: translateX(3px); }
.button-small { min-height: 43px; padding: 10px 18px; gap: 16px; }
.button-outline { background: transparent; color: var(--navy); border-color: #bdcdd7; }
.button-outline:hover { background: #edf5f8; color: var(--navy); border-color: var(--blue-ink); }
.button-disabled, .button-disabled:hover { background: #e8eff3; border-color: #d7e1e7; color: #526b7c; cursor: not-allowed; }
.text-link { min-height: 32px; display: inline-flex; align-items: center; gap: 14px; color: var(--blue-ink); font-size: 12px; font-weight: 600; }
.text-link .icon { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.icon-box { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: var(--blue-ink); background: #edf6f9; border: 1px solid #e0edf1; border-radius: 9px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid #e8edf1; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgb(18 48 71 / 7%); border-bottom-color: #d5e0e7; }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--navy); }
.brand-mark { width: 38px; height: 42px; }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linejoin: round; }
.brand-mark .brand-wave { stroke: var(--teal); }
.brand-name { font: 700 17px/1.5 var(--font-heading); letter-spacing: -.4px; }
.brand-name > span { display: block; color: var(--slate); font: 500 11px/1.6 var(--font-body); letter-spacing: .8px; }
.site-nav { display: flex; align-items: center; gap: 31px; }
.site-nav > a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.site-nav > a:not(.button):hover, .site-nav > a:not(.button).is-active { color: var(--blue-ink); }
.site-nav > a:not(.button).is-active { font-weight: 600; box-shadow: inset 0 -2px 0 var(--teal); }
.nav-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: 60px; background: var(--ice); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 53px; }
.hero-copy { padding-block: 12px 20px; position: relative; z-index: 1; }
.hero-copy .eyebrow { font-size: 11px; letter-spacing: 1.4px; margin-bottom: 27px; }
h1 { font-size: clamp(42px, 4.3vw, 64px); letter-spacing: -2.8px; line-height: 1.15; }
h1 > span { color: var(--blue-ink); }
.hero-description { max-width: 460px; margin-top: 25px; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 31px; }
.hero-signature { display: flex; align-items: center; gap: 13px; margin-top: 36px; }
.signature-rule { width: 28px; height: 1px; background: var(--teal); }
.hero-signature strong { display: block; color: var(--navy); font-size: 12px; font-weight: 600; }
.hero-signature div > span { display: block; font-size: 11px; color: var(--slate); margin-top: 3px; }

.image-badge { display: inline-flex; align-items: center; gap: 12px; position: absolute; top: 24px; right: 24px; padding: 13px 17px; background: var(--white); border-radius: 7px; border-left: 3px solid var(--teal); box-shadow: 0 12px 28px rgb(18 48 71 / 14%); color: var(--blue-ink); }
.image-badge .icon { width: 25px; height: 25px; }
.image-badge span { font-size: 11px; line-height: 1.6; letter-spacing: .8px; }
.image-badge strong { color: var(--navy); font: 600 12px/1.7 var(--font-heading); letter-spacing: 0; }

.caption-dot, .status-dot { width: 5px; height: 5px; background: var(--teal); flex-shrink: 0; border-radius: 50%; }
.track-record { background: var(--navy); color: white; border-top: 3px solid var(--teal); }
.metrics-grid { display: grid; grid-template-columns: .9fr 1.1fr 1.1fr 1.1fr; padding-block: 39px; }
.metric { padding-inline: 32px; border-left: 1px solid #385265; }
.metric:first-child { padding-left: 0; border-left: none; }
.metric:last-child { padding-right: 0; }
.metric > strong { font: 600 clamp(26px, 2.7vw, 38px)/1.15 var(--font-heading); letter-spacing: -1.1px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.metric > strong span { font-size: .62em; color: #8fd5d1; }
.metric p { margin-top: 10px; font-size: 10px; color: #c2d1dc; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar-card { padding: 26px 23px; border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .24s cubic-bezier(.22, 1, .36, 1), border-color .2s, box-shadow .24s; }
.pillar-card:hover { transform: translateY(-2px); border-color: #9fc9d0; box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 27px; }
.card-number { font: 500 11px var(--font-heading); color: var(--slate); }
.pillar-card h3 { font-size: 18px; line-height: 1.5; letter-spacing: -.5px; margin-bottom: 15px; }
.pillar-card > p { font-size: 13px; line-height: 1.85; }
.check-list { list-style: none; padding: 0; margin: 19px 0 25px; }
.check-list > li { font-size: 11px; padding-left: 16px; position: relative; margin-bottom: 7px; }
.check-list > li::before { content: ""; position: absolute; width: 6px; height: 3px; border-bottom: 1.4px solid var(--blue); border-left: 1.4px solid var(--blue); transform: rotate(-45deg); top: 7px; left: 0; }
.pillar-card .text-link { margin-top: auto; font-size: 11px; gap: 7px; }
.engagement-note { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 31px; font-size: 10px; }
.engagement-note strong { font-weight: 500; color: var(--navy); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.project-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: transform .2s, border-color .2s, box-shadow .2s; }
.project-card:hover { transform: translateY(-2px); border-color: #9fc9d0; box-shadow: var(--shadow); }
.project-visual { height: 233px; overflow: hidden; position: relative; color: #468392; background-color: #e6eff2; background-image: linear-gradient(to right, rgb(18 48 71 / 4.5%) 1px, transparent 1px), linear-gradient(to bottom, rgb(18 48 71 / 4.5%) 1px, transparent 1px); background-size: 28px 28px; border-bottom: 1px solid var(--border); }
.project-visual-tunnel { background-color: #e9edf1; color: #547288; }
.project-visual > svg { position: absolute; width: 100%; height: 200px; bottom: 15px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.project-visual .terrain { stroke: #9fb8c1; stroke-dasharray: 3 5; }
.project-visual .datum { stroke: #b4c8d0; stroke-width: .75; stroke-dasharray: 2 3; }
.project-visual .water-line { stroke: #6eb3b8; stroke-width: .9; }
.project-visual .structure { fill: #cbe0e6; stroke-width: 1.7; }
.project-visual-tunnel .structure { fill: #d4dfe7; }
.project-type { position: absolute; top: 18px; left: 22px; z-index: 1; padding: 4px 10px; border-radius: 4px; background: rgb(255 255 255 / 90%); border: 1px solid rgb(18 48 71 / 10%); color: var(--navy); font-size: 11px; letter-spacing: 1px; font-weight: 600; }
.drawing-label { position: absolute; bottom: 10px; right: 20px; color: #45616d; font-size: 11px; letter-spacing: .6px; }
.project-content { padding: 26px 30px 0; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: .8px; color: var(--blue-ink); }
.project-meta > span:last-child { padding: 2px 8px; border-radius: 4px; background: #edf6f9; border: 1px solid #d7e8ee; color: var(--navy); font-variant-numeric: tabular-nums; }
.project-content h3 { font-size: 25px; line-height: 1.35; }
.project-content > p { font-size: 13px; line-height: 1.9; margin-top: 15px; max-width: 440px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 20px 25px; }
.project-tags span { background: var(--ice); border: 1px solid #e4ebef; border-radius: 4px; padding: 3px 8px; font-size: 8px; color: var(--body); }
.case-study { border-top: 1px solid var(--border); }
.case-study > summary { min-height: 48px; list-style: none; padding-block: 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; color: var(--navy); font-size: 11px; font-weight: 600; }
.case-study > summary::-webkit-details-marker { display: none; }
.case-study > summary .icon { width: 17px; height: 17px; color: var(--blue-ink); transition: transform .2s ease; }
.case-study[open] > summary .icon { transform: rotate(45deg); }
.case-study-body { padding-block: 0 24px; font-size: 12px; }
.case-study-body dl { margin: 0; }
.case-study-body dt { font-weight: 600; color: var(--navy); margin-top: 15px; }
.case-study-body dd { margin: 5px 0 0; }
.source-link { display: inline-block; color: var(--blue-ink); margin-top: 18px; text-decoration: underline; text-underline-offset: 3px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-intro .about-lead { margin-top: 26px; font: 600 21px var(--font-heading); color: var(--navy); }
.about-role { margin-top: 9px; color: var(--blue-ink); font-size: 11px; line-height: 1.9; }
.about-intro > p:not(.eyebrow, .about-lead, .about-role) { font-size: 13px; line-height: 1.9; margin-top: 21px; }
.about-intro .text-link { margin-top: 24px; }
.leadership-card { background: var(--white); padding: 31px; border: 1px solid var(--border); border-top: 4px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.leadership-card-top { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.leadership-card-top .small-label { font-size: 11px; }
.tenure { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: .6px; color: var(--slate); margin-bottom: 11px; }
.leadership-card h3 { font-size: 25px; }
.leadership-company { margin-top: 5px; font-size: 15px; color: var(--blue-ink); }
.leadership-card > p:not(.leadership-company, .leadership-note) { margin-top: 18px; font-size: 11px; line-height: 1.9; }
.scheme-list { margin-top: 19px; padding-top: 8px; border-top: 1px solid var(--border); }
.scheme-list > div { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 10px 0 13px; border-bottom: 1px solid #eaf0f4; font-size: 12px; }
.scheme-list > div::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: var(--bar, 0%); background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 2px; }
.scheme-list strong { color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.leadership-note { font-size: 11px; line-height: 1.75; margin-top: 17px; color: var(--slate); }
.career-footprint { margin-top: 67px; border-top: 1px solid var(--border); padding-top: 29px; }
.career-footprint > .small-label { font-size: 11px; letter-spacing: 1.5px; color: var(--slate-ink); }
.career-footprint ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; justify-content: space-between; }
.career-footprint li { color: #4a6173; font: 700 12px var(--font-heading); }
.career-footprint .section-footnote { font-size: 11px; }
.approach-section { background: var(--navy); padding-block: 51px; color: white; }
.approach-inner { display: flex; align-items: center; gap: 30px; }
.quote-mark { font: 90px/.8 Georgia, serif; color: var(--teal); align-self: flex-start; }
.approach-inner p { font: 500 clamp(20px, 2.1vw, 28px)/1.6 var(--font-heading); letter-spacing: -.5px; }
.approach-inner div > span { display: block; margin-top: 16px; color: #b0c6d5; font-size: 11px; letter-spacing: 1.6px; }
.approach-inner > .icon { color: #5c879e; width: 64px; height: 64px; margin-left: auto; stroke-width: .7; }
.contact-heading { text-align: center; margin-bottom: 47px; }
.contact-heading .section-intro { max-width: none; margin-top: 20px; font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1020px; margin-inline: auto; }
.contact-card { padding: 34px; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.contact-card-heading .small-label { font-size: 8px; letter-spacing: 1.2px; }
.contact-card h3 { font-size: 29px; line-height: 1.3; }
.contact-card > p:not(.contact-fine-print) { font-size: 13px; line-height: 1.9; margin-top: 15px; }
.email-template { margin-block: 26px 22px; }
.email-template label { color: var(--navy); font-size: 11px; font-weight: 600; display: block; margin-bottom: 8px; }
.email-template select { width: 100%; min-height: 46px; font-size: 12px; padding: 10px 32px 10px 12px; border: 1px solid #cbd7e0; border-radius: 5px; color: var(--navy); background: var(--ice); }
.subject-preview { font-size: 10px; margin-top: 10px; color: var(--slate); overflow-wrap: anywhere; }
.contact-card > .button { width: 100%; justify-content: space-between; }
.email-address { display: block; text-align: center; font-size: 11px; color: var(--blue-ink); margin-top: 13px; }
.email-address:hover { text-decoration: underline; }
.contact-fine-print { margin-top: 20px; font-size: 11px; line-height: 1.8; color: var(--slate); }
.scheduler-card { background: var(--ice); }
.scheduler-card .icon-box { background: white; }
.session-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 19px; }
.session-meta > span { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; color: var(--navy); }
.session-meta .icon { width: 15px; height: 15px; color: var(--blue-ink); }
.scheduler-placeholder { padding: 23px 18px 18px; margin-top: 24px; border: 1px dashed #bdced8; border-radius: 8px; text-align: center; background: white; }
.scheduler-placeholder > .icon { width: 26px; height: 26px; margin: 0 auto 13px; color: var(--blue-ink); }
.scheduler-placeholder > strong { display: block; font-size: 11px; font-weight: 600; color: var(--navy); }
.scheduler-placeholder > p { font-size: 10px; margin-top: 5px; }
.scheduler-placeholder .button { margin-top: 20px; width: 100%; min-height: 44px; padding: 10px 14px; font-size: 11px; justify-content: space-between; }
.site-footer { border-top: 1px solid var(--border); background: var(--ice); }
.footer-main { display: flex; gap: 35px; justify-content: space-between; align-items: center; padding-block: 42px; }
.footer-main > p { color: var(--navy); font-size: 11px; line-height: 1.9; }
.footer-main > p > span { color: var(--slate); font-size: 10px; }
.footer-link { display: flex; align-items: center; gap: 13px; font-size: 11px; color: var(--navy); }
.footer-link .icon { width: 17px; height: 17px; }
.footer-link:hover { color: var(--blue-ink); }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 20px; display: flex; gap: 20px; font-size: 11px; color: var(--slate); }
.footer-bottom > a:last-child { margin-left: auto; }
@media (min-width: 1500px) { .hero { padding-top: 70px; }}
@media (max-width: 1150px) {
  .container { width: calc(100% - 72px); }
  .site-nav { gap: 22px; } .hero-grid { gap: 33px; }
  h1 { font-size: clamp(40px, 4.7vw, 57px); }
.hero-description { font-size: 13px; }

  .pillar-grid { grid-template-columns: 1fr 1fr; } .pillar-card { padding: 27px; }
  .pillar-card h3 { font-size: 22px; }
  .pillar-card > p { font-size: 13px; } .check-list > li, .pillar-card .text-link { font-size: 11px; }
  .about-grid { gap: 55px; }
  .metric { padding-inline: 22px; } .metric > strong { font-size: 24px; }
  .contact-card { padding: 28px; } .project-content { padding-inline: 24px; } .project-content h3 { font-size: 23px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 88px; } .container { width: calc(100% - 48px); } .section { padding-block: 72px; }
  .header-inner { min-height: 80px; } .brand-name { font-size: 16px; } .brand-name > span { font-size: 11px; letter-spacing: .3px; } .brand-mark { width: 33px; height: 38px; }
  .hero { padding-top: 40px; } .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-copy { padding-block: 0; }
  .hero-copy .eyebrow { font-size: 11px; letter-spacing: 1px; margin-bottom: 23px; }
  h1 { font-size: clamp(45px, 7.6vw, 60px); line-height: 1.13; letter-spacing: -2.3px; }
  .hero-description { max-width: 520px; font-size: 14px; } .hero-signature { margin-top: 26px; }

  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 29px 0; padding-block: 30px; }
  .metric { padding-inline: 23px; } .metric:nth-child(3) { border-left: 0; padding-left: 0; } .metric > strong { font-size: 28px; }
  .heading-split { display: block; } .heading-split .section-intro { margin-top: 23px; max-width: 500px; font-size: 14px; }
  .section-heading { margin-bottom: 33px; } h2 { font-size: 35px; letter-spacing: -1.5px; }
  .pillar-card { padding: 24px; } .pillar-card h3 { font-size: 19px; } .pillar-card > p { font-size: 13px; } .check-list > li { font-size: 11px; }
  .engagement-note { align-items: baseline; text-align: center; }
  .project-grid { grid-template-columns: 1fr; } .project-visual { height: 250px; } .project-visual > svg { height: 240px; bottom: 0; }
  .project-content { padding-inline: 27px; } .project-content h3 { font-size: 26px; } .project-content > p { font-size: 13px; }
  .case-study > summary { font-size: 12px; padding-block: 20px; } .case-study-body { font-size: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-intro > p:not(.eyebrow, .about-lead, .about-role) { font-size: 13px; } .leadership-card { max-width: 600px; }
  .leadership-card > p:not(.leadership-company, .leadership-note), .scheme-list > div { font-size: 12px; }
  .career-footprint { margin-top: 45px; } .career-footprint ul { justify-content: flex-start; gap: 21px 30px; }
  .approach-inner { gap: 17px; } .approach-inner p { font-size: 21px; } .approach-inner > .icon { display: none; }
  .contact-grid { grid-template-columns: 1fr; max-width: 600px; }
  .contact-card { padding: 30px; } .contact-card > p:not(.contact-fine-print) { font-size: 13px; } .contact-fine-print { font-size: 11px; }
  .footer-main { flex-wrap: wrap; gap: 24px; } .footer-main > p { margin-left: auto; } .footer-link { width: 100%; } .footer-bottom { flex-wrap: wrap; gap: 12px 20px; }
}
@media (max-width: 500px) {
  .container { width: calc(100% - 40px); } .section { padding-block: 60px; }
  .brand { gap: 10px; } .brand-name { font-size: 15px; } .brand-name > span { letter-spacing: .2px; } .brand-mark { width: 30px; }
  .hero-copy .eyebrow { font-size: 11px; letter-spacing: .6px; } .eyebrow-line { width: 18px; margin-right: 6px; }
  h1 { font-size: clamp(36px, 10.4vw, 49px); letter-spacing: -2px; }
  .hero-description { font-size: 13px; line-height: 1.85; margin-top: 23px; }
  .hero-actions { gap: 10px; margin-top: 25px; } .hero-actions .button { padding: 12px 17px; gap: 14px; font-size: 11px; min-height: 47px; }
.image-badge { top: 18px; right: 18px; padding: 10px 13px; }
  .metric > strong { font-size: 23px; letter-spacing: -.7px; } .metric { padding-inline: 15px; }
  h2 { font-size: 31px; letter-spacing: -1.3px; } .eyebrow { font-size: 11px; margin-bottom: 16px; } .section-intro { font-size: 13px; }
  .pillar-grid { grid-template-columns: 1fr; gap: 15px; } .pillar-card { padding: 25px; } .card-top { margin-bottom: 20px; }
  .pillar-card h3 { font-size: 22px; } .pillar-card > p { font-size: 13px; } .check-list > li { font-size: 11px; } .check-list { margin-block: 17px 20px; } .pillar-card .text-link { font-size: 12px; }
  .engagement-note { text-align: left; } .project-visual { height: 200px; } .project-visual > svg { height: 185px; }
  .project-content { padding: 23px 22px 0; } .project-content h3 { font-size: 23px; }
  .project-content > p { font-size: 13px; }
  .leadership-card { padding: 25px; } .leadership-card h3 { font-size: 22px; } .leadership-card-top { gap: 11px; }
  .approach-section { padding-block: 40px; } .approach-inner p { font-size: 18px; } .quote-mark { font-size: 66px; }
  .contact-card { padding: 25px; } .contact-card-heading { gap: 10px; }
  .contact-card h3 { font-size: 27px; } .contact-heading h2 { font-size: 30px; }
  .footer-main { display: grid; gap: 22px; } .footer-main > p { margin-left: 0; } .footer-bottom > p { width: 100%; }
}

/* Text inks preserve the palette while meeting small-text contrast on Ice White. */
.hero .hero-signature div > span, .section-ice .section-footnote, .section-ice .contact-fine-print, .section-ice .subject-preview, .leadership-note, .site-footer .brand-name > span, .footer-bottom { color: var(--slate-ink); }

/* ==========================================================================
   PKC Infra merge — components added for the consolidated consultancy site.
   All new text is 11px or larger and uses the existing Hydro Modern tokens.
   ========================================================================== */
.section-ice { background: var(--ice); border-block: 1px solid #e9eff3; }
.section-ice .pillar-card, .section-ice .contact-card { background: var(--white); }
html:not(.js) .js-only, html.js .no-js-only { display: none !important; }
.subheading { font-size: clamp(22px, 2.2vw, 29px); line-height: 1.3; letter-spacing: -.9px; }
.subsection-heading { margin-top: 84px; }
.heading-link { margin-top: 14px; }
.heading-split > div:last-child:not(:first-child) { max-width: 390px; }

/* Utility bar and language switch */
.topbar { background: var(--navy); color: #c9d8e2; font-size: 11px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.topbar a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.topbar a:hover { color: #8fd5d1; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-switch a { min-height: 34px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 4px 11px; font-size: 12px; font-weight: 600; color: var(--slate-ink); }
.lang-switch a + a { border-left: 1px solid var(--border); }
.lang-switch a:hover { color: var(--blue-ink); background: var(--ice); }
.lang-switch a[aria-current] { background: var(--navy); color: var(--white); }
.lang-switch a:focus-visible { outline-offset: -3px; }

/* Hero additions */
.hero h1 { font-size: clamp(33px, 3.35vw, 50px); letter-spacing: -1.8px; line-height: 1.18; }
.hero-description { max-width: 520px; }
.chip-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { padding: 5px 12px; border: 1px solid #cfdde5; border-radius: 999px; background: var(--white); color: var(--navy); font-size: 11.5px; font-weight: 500; line-height: 1.6; }
.hero-actions .button { gap: 14px; }
.hero-secondary-link { min-height: 44px; font-size: 13px; gap: 8px; }
.image-badge span { font-size: 11px; }
.image-badge strong { display: block; font-size: 17px; }
.lens-callout { margin-top: 40px; padding: 26px 0 34px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 190px 1fr; gap: 12px 40px; align-items: start; }
.lens-callout > p:not(.small-label) { font-size: 14px; line-height: 1.8; color: var(--navy); max-width: 760px; }
.lens-list { grid-column: 2; list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: lens; }
.lens-list li { counter-increment: lens; display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 7px; border-radius: 999px; background: #e3f0f3; color: var(--navy); font-size: 12px; font-weight: 600; }
.lens-list li::before { content: counter(lens); display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 11px; }
.metrics-grid { grid-template-columns: repeat(4, 1fr); }
.metric p { font-size: 11px; line-height: 1.6; max-width: 240px; }

/* About */
.about-grid { align-items: start; }
.statement-grid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.statement { padding: 28px 30px; border-left: 4px solid var(--teal); background: var(--ice); border: 1px solid var(--border); border-left-width: 4px; border-left-color: var(--teal); border-radius: 0 var(--radius) var(--radius) 0; }
.statement > p:not(.small-label) { margin-top: 10px; color: var(--navy); font-size: 14.5px; line-height: 1.85; }
.about-section .subheading { margin-top: 60px; }
.value-grid { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-grid li { padding-top: 18px; border-top: 2px solid var(--navy); transition: border-color .2s; }
.value-grid li:hover { border-top-color: var(--teal); }
.value-grid .card-number { display: block; font: 700 22px/1 var(--font-heading); color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.value-grid h4 { margin-top: 12px; }
.value-grid p { margin-top: 8px; font-size: 12.5px; line-height: 1.75; }

/* Services */
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.practice-card { padding: 30px; }
.practice-card h3 { font-size: 21px; }
.card-number { letter-spacing: .6px; }
.check-list-columns { columns: 2; column-gap: 26px; }
.check-list-columns > li { break-inside: avoid; }
.check-list > li { font-size: 12px; line-height: 1.6; }
.check-list > li::before { top: 6px; }
.principle { margin-top: 26px; padding: 28px 32px; border: 1px solid var(--navy); border-radius: var(--radius); background: var(--navy); color: var(--white); display: grid; grid-template-columns: 1fr; gap: 12px; }
.principle > .small-label { color: #8fd5d1; }
.principle > p:not(.small-label) { font-size: 14px; color: #dbe6ee; max-width: 680px; }
.principle-flow { list-style: none; padding: 8px 0 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; counter-reset: step; }
.principle-flow li { counter-increment: step; display: flex; flex-direction: column; gap: 4px; padding: 11px 13px; border-radius: 7px; background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 15%); font: 600 12.5px/1.35 var(--font-heading); color: var(--white); }
.principle-flow li::before { content: "0" counter(step); color: #8fd5d1; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pillar-card > .card-top:only-child { margin-bottom: 0; }

/* Projects */
.filter-bar, .preset-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-bar { margin-bottom: 26px; }
.filter-button { min-height: 40px; padding: 8px 16px; border: 1px solid #bdcdd7; border-radius: 999px; background: var(--white); color: var(--navy); font-size: 12px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.filter-button:hover { border-color: var(--blue-ink); background: #edf5f8; }
.filter-button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-status { margin-bottom: 20px; font-size: 13px; color: var(--navy); }
.project-content > p { max-width: none; }
.project-meta { font-size: 11px; letter-spacing: .6px; }
.project-tags span { font-size: 11px; }
.project-type { font-size: 11px; } .drawing-label { font-size: 11px; }
.exposure-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 18px; }
.exposure-card { padding: 24px 24px 8px; border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--radius); background: var(--white); transition: transform .2s, border-color .2s, box-shadow .2s; }
.exposure-card[data-category~="psp"] { border-top-color: var(--teal); }
.exposure-card[data-category~="tunnel"] { border-top-color: var(--navy); }
.exposure-card:hover { transform: translateY(-2px); border-color: #9fc9d0; box-shadow: var(--shadow); }
.exposure-card .small-label { margin-top: 2px; color: var(--slate-ink); letter-spacing: 1.2px; }
.exposure-card h3 { margin-top: 6px; font-size: 19px; line-height: 1.35; }
.exposure-card > p:not(.small-label) { margin-top: 10px; font-size: 13px; line-height: 1.8; }
.exposure-card .check-list { margin: 16px 0 18px; }
.project-grid:not(:has(> :not([hidden]))) { display: none; }
.project-grid:not(:has(> :not([hidden]))) + .exposure-grid { margin-top: 0; }
.project-grid:has(> [hidden]) { grid-template-columns: 1fr; }
@media (min-width: 801px) {
  .project-grid:has(> [hidden]) > .project-card:not([hidden]) { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
  .project-grid:has(> [hidden]) .project-visual { height: 100%; min-height: 260px; }
}

/* Specialist, manpower, engagement models */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid-3 .check-list, .model-grid .check-list, #manpower .check-list { margin-bottom: 0; }
.model-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.model-grid .card-top { margin-bottom: 14px; }
.model-grid .card-number, #manpower .card-number, .practice-card .card-number { color: var(--blue-ink); font-weight: 600; text-align: right; }
.model-card-complete { background: var(--navy) !important; color: #dbe6ee; border-color: var(--navy); }
.model-card-complete:hover { border-color: var(--teal); }
.model-card-complete .card-number { color: #8fd5d1 !important; }
.model-card-complete h3 { color: var(--white); }
.model-card-complete .check-list > li::before { border-color: var(--teal); }
.client-types { margin-top: 34px; }
.client-types .chip-list { margin-top: 12px; }
.engagement-note { font-size: 12px; }

/* Credentials */
.membership-list { list-style: none; padding: 0; margin: 0; }
.membership-list li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid #eaf0f4; font-size: 13px; }
.membership-list strong { color: var(--navy); font: 700 13px var(--font-heading); letter-spacing: .4px; }
.career-footprint > .small-label { font-size: 11px; }
.career-footprint ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
.career-footprint li { display: flex; align-items: center; font-size: 13px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--ice); color: var(--navy); }
.career-footprint .section-footnote { font-size: 11px; }

/* Engagement scoper */
.scoper-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; align-items: start; }
html:not(.js) .scoper-panel { grid-template-columns: 1fr; }
.scoper-form { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); display: grid; gap: 14px; }
.scoper-form label, .inquiry-form label { color: var(--navy); font-size: 12px; font-weight: 600; }
.scoper-form .button { justify-self: start; gap: 14px; }
.scope-results { display: grid; gap: 16px; }
html:not(.js) .scope-results { grid-template-columns: 1fr 1fr; }
html:not(.js) .scope-results > .small-label { grid-column: 1 / -1; }
.scope-brief { padding: 28px; border: 1px solid var(--border); border-left: 3px solid var(--teal); border-radius: var(--radius); background: var(--white); }
.scope-brief h3 { margin-top: 6px; font-size: 20px; line-height: 1.4; }
.scope-brief h4 { margin-top: 18px; font-size: 12px; letter-spacing: .3px; color: var(--blue-ink); }
.scope-brief p:not(.small-label) { margin-top: 8px; font-size: 13px; line-height: 1.8; }
.scope-brief .check-list { margin: 8px 0 0; }
.scope-results > .button { justify-self: start; gap: 14px; }
.scope-empty { padding: 28px; border: 1px dashed #bdced8; border-radius: var(--radius); font-size: 13px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-list .case-study { transition: background-color .2s, border-color .2s; }
.faq-list .case-study:last-child { border-bottom: 1px solid var(--border); }
.faq-list .case-study[open] { background: var(--ice); border-left: 3px solid var(--teal); padding-inline: 18px; border-radius: 0 8px 8px 0; }
.faq-list .case-study > summary { font: 600 15px/1.5 var(--font-heading); padding-block: 20px; gap: 20px; }
.faq-list .case-study-body { font-size: 13.5px; line-height: 1.85; max-width: 640px; }

/* Contact */
.contact-grid { grid-template-columns: 1.15fr .85fr; max-width: none; align-items: start; }
.contact-heading .section-intro { margin-inline: auto; max-width: 620px; }
.contact-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.contact-grid > *, .inquiry-form > *, .scoper-panel > *, .faq-grid > *, .credentials-strip > * { min-width: 0; }
.detail-list dd, .email-address { overflow-wrap: anywhere; }
.contact-card h3 { font-size: 25px; }
.contact-card-heading .small-label { font-size: 11px; }
.inquiry-form { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea, .scoper-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b9c9d4; border-radius: 5px; background: var(--ice); color: var(--navy); font-size: 13px; line-height: 1.5; }
.inquiry-form textarea, .scoper-form textarea { resize: vertical; }
.inquiry-form :is(input, select, textarea):focus-visible, .scoper-form textarea:focus-visible { outline-offset: 1px; background: var(--white); }
.inquiry-form .button { justify-content: space-between; }
.inquiry-fallback { padding: 16px; border: 1px solid var(--border); border-radius: 6px; background: var(--ice); display: grid; gap: 12px; }
.inquiry-fallback > p { font-size: 12px; color: var(--navy); line-height: 1.7; }
.inquiry-fallback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.copy-status { font-size: 12px; font-weight: 600; color: var(--blue-ink); }
.inquiry-preview { margin: 0; padding: 12px; border: 1px solid #cbd7e0; border-radius: 5px; background: var(--white); color: var(--navy); font: 12px/1.6 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow-y: auto; }
.subject-preview { margin-top: 0; font-size: 11px; }
.email-address { font-size: 13px; }
.detail-list { margin: 18px 0 0; }
.detail-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid #eaf0f4; font-size: 13px; }
.detail-list dt { color: var(--slate-ink); font-size: 11.5px; }
.detail-list dd { margin: 0; color: var(--navy); }
.detail-list a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.scheduler-card { background: var(--white); }
.scheduler-card .icon-box { background: #edf6f9; }
.session-meta > span { font-size: 12px; }
.scheduler-placeholder > strong { font-size: 13px; } .scheduler-placeholder > p { font-size: 12px; }
.scheduler-placeholder .button { font-size: 12px; }

/* Footer */
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 50px; align-items: start; }
.footer-brand > p { margin-top: 16px; max-width: 380px; color: var(--slate-ink); font-size: 12px; line-height: 1.8; }
.footer-nav ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 12.5px; color: var(--body); }
.footer-nav a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-nav .footer-link { margin-top: 16px; font-size: 13px; }
.footer-bottom { font-size: 11px; }

/* 404 page */
.notfound { min-height: 100vh; display: grid; place-items: center; padding: 40px 24px; background: var(--ice); text-align: center; }
.notfound .brand { margin-bottom: 30px; }
.notfound h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -1.4px; }
.notfound p { margin-top: 14px; font-size: 15px; }
.notfound .hero-actions { justify-content: center; }

/* Hindi: Devanagari needs its own font, no negative tracking and taller lines. */
:lang(hi) { --font-heading: "Noto Sans Devanagari", "Manrope", sans-serif; --font-body: "Noto Sans Devanagari", "Inter", sans-serif; }
html:lang(hi) body { font-size: 16px; line-height: 1.85; }
html:lang(hi) :is(h1, h2, h3, h4, .subheading, .approach-inner p, .brand-name, .metric > strong) { letter-spacing: 0; line-height: 1.45; }
html:lang(hi) :is(.eyebrow, .small-label, .card-number, .project-meta, .project-type, .drawing-label, .tenure, .brand-name > span, .image-badge span, .hero-caption, .approach-inner div > span) { letter-spacing: 0; }
html:lang(hi) :is(.eyebrow, .small-label, .hero-copy .eyebrow, .tenure, .leadership-card-top .small-label, .approach-inner div > span) { font-size: 12.5px; }
html:lang(hi) :is(.brand-name > span, .hero-caption, .drawing-label, .hero-signature div > span, .leadership-note) { font-size: 11px; }
html:lang(hi) .hero h1 { font-size: clamp(30px, 3vw, 44px); }
html:lang(hi) [lang="en"] { font-family: "Inter", sans-serif; }

@media (max-width: 1320px) {
  .model-grid, .value-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1150px) {
  .site-nav { gap: 16px; }
  .topbar p:first-child span:last-child { display: none; }
  .practice-card h3 { font-size: 20px; }
  .exposure-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .principle-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-grid { gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .career-footprint ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; background: none; border: 1px solid var(--border); border-radius: 5px; }
  .nav-toggle > span { display: block; width: 22px; height: 1.5px; background: var(--navy); }
  .site-nav { display: none; position: absolute; inset: 94px 0 auto; padding: 20px 24px 26px; background: white; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 5px; max-height: calc(100dvh - 94px); overflow-y: auto; }
  .site-nav > a { font-size: 14px; padding: 10px 12px; } .site-nav > .button { margin-top: 9px; }
  .site-nav > a:not(.button).is-active { box-shadow: inset 3px 0 0 var(--teal); background: var(--ice); border-radius: 4px; }
  .site-nav .lang-switch { align-self: flex-start; margin: 8px 12px; }
  .site-header:not(.nav-enhanced) .site-nav { display: flex; position: static; padding: 0 0 15px; box-shadow: none; border: none; flex-wrap: wrap; gap: 4px; }
  .site-header:not(.nav-enhanced) .header-inner { flex-wrap: wrap; padding-top: 15px; } .site-header:not(.nav-enhanced) .nav-toggle { display: none; }
  .site-header:not(.nav-enhanced) .site-nav .lang-switch { margin: 0; }
}
@media (max-width: 800px) {
  .topbar { display: none; }
  .site-nav { inset: 80px 0 auto; }
  .site-nav.open { max-height: calc(100dvh - 80px); }
  .metrics-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .metric > strong { white-space: normal; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(31px, 6vw, 44px); letter-spacing: -1.4px; }
  .lens-callout { grid-template-columns: 1fr; margin-top: 30px; } .lens-list { grid-column: 1; }
  .metric p { font-size: 11px; }
  .statement-grid, .practice-grid, .credentials-strip, .scoper-panel, .faq-grid, html:not(.js) .scope-results { grid-template-columns: 1fr; }
  .statement-grid { margin-top: 45px; } .value-grid { grid-template-columns: 1fr 1fr; }
  .subsection-heading { margin-top: 60px; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .heading-split > div:last-child:not(:first-child) { max-width: 500px; }
  .contact-grid { max-width: none; }
  .career-footprint li { font-size: 13px; }
  .footer-main { display: grid; }
}
@media (max-width: 500px) {
  .principle { padding: 22px; } .principle-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-footprint ul { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(28px, 8.2vw, 36px); letter-spacing: -1.1px; }
  .hero-actions .button { font-size: 12px; }
  .chip-list li { font-size: 11px; }
  .value-grid, .exposure-grid, .card-grid-3, .model-grid, .inquiry-form { grid-template-columns: 1fr; }
  .check-list-columns { columns: 1; }
  .practice-card { padding: 25px; } .practice-card h3 { font-size: 20px; }
  .exposure-card { padding: 22px 22px 6px; }
  .scoper-form, .scope-brief { padding: 22px; }
  .detail-list > div { grid-template-columns: 1fr; gap: 2px; }
  .faq-list .case-study > summary { font-size: 14px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .eyebrow, .hero-copy .eyebrow { font-size: 11px; }
  .hero-caption { font-size: 11px; }
  .contact-card-heading .small-label { font-size: 11px; }
}

/* Motion & scroll reveals */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroImageIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes waterFlow {
  to { stroke-dashoffset: -56; }
}
@keyframes beaconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(50 166 160 / 45%); }
  50% { box-shadow: 0 0 0 6px rgb(50 166 160 / 0%); }
}
@keyframes panelFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy > .eyebrow { animation: fadeUp .5s cubic-bezier(.22, 1, .36, 1) both; }
.hero-copy > h1 { animation: fadeUp .55s cubic-bezier(.22, 1, .36, 1) .06s both; }
.hero-copy > .hero-description { animation: fadeUp .55s cubic-bezier(.22, 1, .36, 1) .12s both; }
.hero-copy > .chip-list { animation: fadeUp .55s cubic-bezier(.22, 1, .36, 1) .17s both; }
.hero-copy > .hero-actions { animation: fadeUp .55s cubic-bezier(.22, 1, .36, 1) .22s both; }
.hero-copy > .hero-signature { animation: fadeUp .55s cubic-bezier(.22, 1, .36, 1) .27s both; }

.image-badge { animation: fadeUp .55s cubic-bezier(.22, 1, .36, 1) .3s both, badgeFloat 6s ease-in-out 1s infinite; }

.project-visual-hydro .water-line { stroke-dasharray: 18 10; animation: waterFlow 6s linear infinite; }
.status-dot { animation: beaconPulse 2.4s ease-in-out infinite; }
.case-study[open] .case-study-body, .scope-brief:not([hidden]), .inquiry-fallback:not([hidden]), .filter-enter { animation: panelFade .28s cubic-bezier(.22, 1, .36, 1); }

html.js.anim-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.22, 1, .36, 1) var(--delay, 0ms), transform .55s cubic-bezier(.22, 1, .36, 1) var(--delay, 0ms); }
html.js.anim-ready [data-reveal].is-visible { opacity: 1; transform: none; }
html.js.anim-ready .leadership-card:not(.is-visible) .scheme-list > div::after { width: 0; }
html.js.anim-ready .leadership-card.is-visible .scheme-list > div::after { transition: width .85s cubic-bezier(.22, 1, .36, 1) .15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js.anim-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Trim pass — disclosures that shorten the page without removing content.
   .more-details            always collapsible (services scope, project scope)
   .more-details.open-desktop  collapsed on phones only; main.js opens it on
                            wider screens and the toggle is hidden there.
   ========================================================================== */
.more-details { margin-top: 18px; }
.more-details > summary { min-height: 44px; padding-block: 12px; font-size: 12px; }
.more-details > .check-list { margin: 4px 0 18px; }
.pillar-card .more-details { margin-bottom: 14px; }
.pillar-card .more-details:last-child { margin-bottom: 0; border-bottom: 0; }
.exposure-card .more-details { margin-top: 16px; }
.exposure-card .more-details > .check-list { margin: 2px 0 16px; }
.card-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pillar-card .card-links .text-link { margin-top: 0; }
@media (min-width: 801px) {
  html.js .open-desktop { border-top: 0; margin-top: 0; }
  html.js .open-desktop > summary { display: none; }
  html.js .open-desktop > .check-list { margin: 19px 0 0; }
}

/* Qualification, memberships and career footprint, now part of About. */
.credentials-strip { margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--border); display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; scroll-margin-top: 110px; }
.credentials-strip .membership-list { margin-top: 14px; }
.credentials-strip .career-footprint { margin-top: 0; padding-top: 0; border-top: 0; }
.credentials-strip .career-footprint ul { margin-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1150px) { .credentials-strip { gap: 40px; } }
@media (max-width: 800px) { .credentials-strip { grid-template-columns: 1fr; margin-top: 45px; } }
@media (max-width: 500px) { .credentials-strip .career-footprint ul { grid-template-columns: 1fr; } }

/* Phone-specific shortening: smaller decorative visuals, compact card headers,
   and the vision / mission / value block behind one disclosure. */
@media (min-width: 801px) { html.js .block-details > .statement-grid { margin-top: 64px; } }
@media (max-width: 800px) {
  .block-details { margin-top: 36px; border-bottom: 1px solid var(--border); }
  .block-details > summary { font: 600 15px/1.5 var(--font-heading); min-height: 56px; }
  .block-details > .statement-grid { margin-top: 6px; }
  .block-details > .value-grid { margin-bottom: 26px; }
  .about-section .block-details .subheading { margin-top: 36px; }
}
@media (max-width: 500px) {

  .project-visual { height: 132px; } .project-visual > svg { height: 124px; bottom: 4px; }
  .card-top { margin-bottom: 14px; } .card-top .icon-box { width: 38px; height: 38px; }
  .credentials-strip .career-footprint ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .credentials-strip .career-footprint li { padding: 7px 11px; font-size: 12px; }
}


/* ==========================================================================
   Hero background. The illustration fills the whole hero panel. A veil over
   the text side blurs it and lays a light tint so the copy stays readable;
   the far side is left sharp. On stacked layouts there is no free side, so
   the whole backdrop is blurred and the sharp picture is shown in .hero-picture,
   with the badge above it rather than on top of it.
   ========================================================================== */
.hero { --hero-tint: rgb(245 249 252 / 86%); --hero-veil-mask: linear-gradient(to right, #000 0, #000 43%, transparent 66%); }
/* Two copies of the picture: .hero-media's own background is the unshifted copy
   that sits (blurred by the veil) behind the text; the <img> is the sharp copy,
   slid right by --hero-shift so the dam itself lands in the clear area, with a
   feathered left edge so it merges into the blurred copy. */
.hero { --hero-shift: 28%; --hero-sharp-mask: linear-gradient(to right, transparent 0, transparent 13%, #000 36%); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: url("../img/hero-dam.webp") center 44% / cover no-repeat; }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; transform: translateX(var(--hero-shift)); -webkit-mask-image: var(--hero-sharp-mask); mask-image: var(--hero-sharp-mask); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-tint); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15); -webkit-mask-image: var(--hero-veil-mask); mask-image: var(--hero-veil-mask); }
.hero-description { color: #3d5263; }
.hero-aside { align-self: stretch; min-height: 440px; padding-block: 12px 6px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 16px; }
.hero-aside .image-badge { position: static; }
.hero-picture { display: flex; justify-content: flex-end; align-items: flex-end; }
.hero-caption { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; padding: 8px 14px; border-radius: 999px; background: rgb(18 48 71 / 80%); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .8px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lens-callout { margin: 36px 0 40px; padding: 24px 28px; border: 1px solid rgb(255 255 255 / 70%); border-radius: var(--radius); background: rgb(255 255 255 / 88%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 34px rgb(18 48 71 / 12%); }
@media (max-width: 1150px) { .hero { --hero-veil-mask: linear-gradient(to right, #000 0, #000 48%, transparent 70%); } .hero-aside { min-height: 400px; } }
@media (max-width: 800px) {
  .hero { --hero-veil-mask: none; }
  .hero::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-media { background: none; }
  .hero-media > img { filter: blur(16px) saturate(1.15); transform: scale(1.12); -webkit-mask-image: none; mask-image: none; }
  .hero-aside { min-height: 0; padding-block: 0; align-items: stretch; gap: 14px; }
  .hero-aside .image-badge { align-self: flex-start; }
  .hero-picture { min-height: 240px; padding: 14px; border: 1px solid rgb(255 255 255 / 65%); border-radius: var(--radius); background: var(--navy) url("../img/hero-dam.webp") 56% 58% / cover no-repeat; box-shadow: 0 16px 36px rgb(18 48 71 / 16%); }
  .lens-callout { margin: 28px 0 32px; padding: 22px; }
}
@media (max-width: 500px) {
  .hero-picture { min-height: 210px; padding: 12px; }
  .hero-caption { padding: 7px 12px; letter-spacing: .3px; }
}

/* ==========================================================================
   Motion pass 2. Decoration only: every element is fully visible without it.
   Keyframes end on the element's normal style, the staged states sit behind
   html.js.anim-ready (set by main.js only when motion is allowed), and the
   prefers-reduced-motion block above switches all of it off.
   ========================================================================== */
@keyframes heroSettle { from { opacity: .2; scale: 1.07; } to { opacity: 1; scale: 1; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes accentDraw { from { background-size: 0% 2px; } to { background-size: 100% 2px; } }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lensPop {
  0%, 100% { transform: none; background-color: #e3f0f3; box-shadow: 0 0 0 0 rgb(50 166 160 / 0%); }
  40% { transform: translateY(-3px) scale(1.05); background-color: #cfe8ec; box-shadow: 0 0 0 4px rgb(50 166 160 / 28%); }
}

/* Hero: the picture eases in from slightly zoomed, the eyebrow rule and the
   accent underline draw themselves, and the focus chips arrive one by one. */
.hero-media > img { transform-origin: 72% 50%; animation: heroSettle 1.6s cubic-bezier(.22, 1, .36, 1) both; }
.eyebrow-line { transform-origin: 0 50%; animation: lineGrow .6s cubic-bezier(.22, 1, .36, 1) .25s both; }
.hero h1 > span { padding-bottom: 2px; background: linear-gradient(90deg, rgb(50 166 160 / 60%), rgb(7 117 142 / 60%)) no-repeat 0 100% / 100% 2px; animation: accentDraw .9s cubic-bezier(.22, 1, .36, 1) .75s both; }
.hero-copy .chip-list li { animation: chipIn .45s cubic-bezier(.22, 1, .36, 1) backwards; }
.hero-copy .chip-list li:nth-child(1) { animation-delay: .30s; }
.hero-copy .chip-list li:nth-child(2) { animation-delay: .36s; }
.hero-copy .chip-list li:nth-child(3) { animation-delay: .42s; }
.hero-copy .chip-list li:nth-child(4) { animation-delay: .48s; }
.hero-copy .chip-list li:nth-child(5) { animation-delay: .54s; }
.hero-copy .chip-list li:nth-child(n+6) { animation-delay: .60s; }
.caption-dot { animation: beaconPulse 2.4s ease-in-out infinite; }

/* Five-lens callout: each seat lights up once, in order, when it scrolls in. */
html.js.anim-ready .lens-callout.is-visible .lens-list li { animation: lensPop .7s cubic-bezier(.22, 1, .36, 1) both; }
html.js.anim-ready .lens-callout.is-visible .lens-list li:nth-child(1) { animation-delay: .45s; }
html.js.anim-ready .lens-callout.is-visible .lens-list li:nth-child(2) { animation-delay: .67s; }
html.js.anim-ready .lens-callout.is-visible .lens-list li:nth-child(3) { animation-delay: .89s; }
html.js.anim-ready .lens-callout.is-visible .lens-list li:nth-child(4) { animation-delay: 1.11s; }
html.js.anim-ready .lens-callout.is-visible .lens-list li:nth-child(5) { animation-delay: 1.33s; }

/* Scroll-linked: a reading-progress line under the header, and the hero
   picture drifting more slowly than the page. Browsers without scroll-driven
   animations simply show neither. */
@supports (animation-timeline: scroll()) {
  @keyframes scrollProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes heroParallax { to { translate: 0 110px; } }
  .site-header::after { content: ""; position: absolute; inset: auto 0 -2px 0; height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue-ink)); transform-origin: 0 50%; pointer-events: none; animation: scrollProgress linear both; animation-timeline: scroll(root block); }
  .hero-media { animation: heroParallax linear both; animation-timeline: scroll(root block); animation-range: 80px 980px; }
}

/* Project drawings assemble in layers when their card scrolls in. */
html.js.anim-ready .project-card[data-reveal] .project-visual > svg > * { opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1); }
html.js.anim-ready .project-card[data-reveal].is-visible .project-visual > svg > * { opacity: 1; transform: none; }
html.js.anim-ready .project-card.is-visible .project-visual > svg > :nth-child(1) { transition-delay: .20s; }
html.js.anim-ready .project-card.is-visible .project-visual > svg > :nth-child(2) { transition-delay: .32s; }
html.js.anim-ready .project-card.is-visible .project-visual > svg > :nth-child(3) { transition-delay: .44s; }
html.js.anim-ready .project-card.is-visible .project-visual > svg > :nth-child(4) { transition-delay: .56s; }
html.js.anim-ready .project-card.is-visible .project-visual > svg > :nth-child(n+5) { transition-delay: .68s; }

/* Hover and focus feedback. */
.icon-box { transition: background-color .25s, border-color .25s, color .25s, transform .3s cubic-bezier(.22, 1, .36, 1); }
:is(.pillar-card, .contact-card, .leadership-card):hover .icon-box { background: var(--blue-ink); border-color: var(--blue-ink); color: var(--white); transform: translateY(-2px) rotate(-4deg); }
.project-visual > svg { transition: scale .6s cubic-bezier(.22, 1, .36, 1); transform-origin: 50% 80%; }
.project-card:hover .project-visual > svg { scale: 1.035; }
.lens-list li, .chip-list li { transition: transform .25s cubic-bezier(.22, 1, .36, 1), border-color .2s, background-color .2s; }
.hero-copy .chip-list li:hover { transform: translateY(-2px); border-color: #9fc9d0; }
@media (min-width: 961px) {
  .site-nav > a:not(.button) { position: relative; }
  .site-nav > a:not(.button)::after { content: ""; position: absolute; inset: auto 0 6px 0; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
  .site-nav > a:not(.button):is(:hover, :focus-visible, .is-active)::after { transform: scaleX(1); }
  .site-nav > a:not(.button).is-active { box-shadow: none; }
}
@media (max-width: 800px) {
  /* The phone backdrop is a blurred copy; keep it still apart from the fade. */
  .hero-media > img { transform-origin: 50% 50%; }
}

/* Discovery session card: the briefing is arranged by WhatsApp, so the box is
   a solid panel with a live button rather than a dashed placeholder. */
.scheduler-placeholder { border-style: solid; border-color: #d7e1e7; }
