/* Pandya Management Consultancy — one stylesheet for all four pages.
   Logo: the firm's own file, never redrawn. Company name and tagline: Plus Jakarta Sans,
   the letterhead's font, weights and colours. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --navy-950: #0a0f1e;
  --navy-900: #111a2c;
  --navy-800: #1f2a44;
  --navy-700: #2a3757;
  --sky-300: #a9b4c9;
  --sky-200: #d0d7e4;
  --line: #dfe4ec;
  --mist: #f6f7fa;
  --orange: #e8913a;
  --brand-orange: #f04e23;
  --vermilion: #d4593a;
  --red: #a93236;
  --ink: #1a1f2b;
  --muted: #5b6472;
  --white: #ffffff;
  --ember: linear-gradient(180deg, #e8913a 0%, #d4593a 55%, #a93236 100%);

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: var(--white); padding: 12px 16px; z-index: 20; }
.skip:focus { left: 0; }

/* Draft markers: remove class "draft" from <html> to hide them all. */
.draft-bar { display: none; }
.draft .draft-bar { display: block; margin: 0; padding: 8px 16px; background: #ffe98a; color: #3a2e00; font-size: 14px; text-align: center; }
.draft .tbc { background: #ffe98a; color: #3a2e00; box-shadow: 0 0 0 3px #ffe98a; }

/* Buttons */
.btn { display: inline-block; padding: 14px 24px; font: 700 15.5px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; border-radius: 3px; transition: background-color .15s, border-color .15s, color .15s; }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-accent { background: var(--orange); color: var(--navy-950); }
.btn-accent:hover { background: #f2a552; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.more { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 14px; }

/* Header: logo file as supplied; name and tagline as on the letterhead */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(17,26,44,.06); }
.header-row { display: flex; align-items: center; gap: 30px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; margin-right: auto; }
.brand-logo { height: 22px; width: auto; }
.brand-text { display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid var(--line); }
.brand-name { font: 800 13.5px/1.3 var(--sans); letter-spacing: .1px; color: var(--navy-800); }
.brand-tag { font: 700 11px/1.4 var(--sans); color: var(--brand-orange); }
.site-nav { display: flex; gap: 30px; }
.site-nav a { font: 600 15px/1.2 var(--sans); color: var(--navy-800); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--vermilion); }
.header-cta { padding: 11px 18px; font-size: 14.5px; }

/* Shared type */
h1, h2 { font-family: var(--serif); letter-spacing: -0.018em; text-wrap: balance; }
.pillars h2, .mandate h2, .method h2, .firm h2, .office-view h2, .journey h2, .journey h1 { font-weight: 600; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; color: var(--navy-900); }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.section-head p { font-size: 17.5px; max-width: 54ch; color: var(--muted); }
.rule { position: relative; width: 150px; height: 2px; margin-top: clamp(22px, 2.4vw, 32px); background: var(--orange); }
.rule::after { content: ""; position: absolute; left: 62%; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--navy-900); }

/* Dark bands share one backdrop */
.hero, .page-hero, .closing { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(1000px 640px at 0% 0%, #2a3757 0%, rgba(42,55,87,0) 62%), linear-gradient(180deg, #0f1728 0%, #111a2c 100%); }
.hero::before, .page-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ember); }
.hero-watermark { position: absolute; right: -30px; bottom: -0.2em; font: 700 clamp(260px, 34vw, 540px)/0.8 var(--serif); letter-spacing: -0.02em; color: rgba(255,255,255,.03); pointer-events: none; user-select: none; }

/* Home hero */
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 6vw, 92px) clamp(44px, 4.4vw, 64px); }
.hero h1 { font-weight: 700; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.06; }
.hero h1 span { display: block; color: var(--orange); }
.hero-sub { margin-top: 22px; font: italic 400 clamp(19px, 1.6vw, 23px)/1.35 var(--serif); color: #f3ddc0; }
.lede { margin-top: 18px; font-size: clamp(16.5px, 1.25vw, 18.5px); line-height: 1.6; color: var(--sky-200); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 2.8vw, 40px); }

.framework { position: relative; padding: 30px 30px 28px 34px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.framework::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--ember); }
.framework h2 { font: 600 25px/1.2 var(--serif); letter-spacing: -0.01em; color: var(--white); }
.framework > p { margin-top: 4px; font: italic 400 16.5px/1.4 var(--serif); color: #f3ddc0; }
.framework ol { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); counter-reset: fw; columns: 2; column-gap: 28px; }
.framework li { counter-increment: fw; break-inside: avoid; display: flex; gap: 10px; padding: 5px 0; font-size: 14px; line-height: 1.35; }
.framework li::before { content: counter(fw, decimal-leading-zero); font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; }
.framework li a { color: var(--sky-200); text-decoration: none; }
.framework li a:hover { color: var(--white); text-decoration: underline; }
.framework-link { display: inline-block; margin-top: 18px; font: 700 14.5px/1.2 var(--sans); color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.hero-facts { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: clamp(44px, 5vw, 72px); }
.hero-facts > div { position: relative; display: flex; flex-direction: column-reverse; padding: 18px 22px 20px 26px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.14); }
.hero-facts > div::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--orange); }
.hero-facts dt { font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-300); }
.hero-facts dd { font: 700 clamp(30px, 3vw, 42px)/1.15 var(--serif); color: var(--orange); font-variant-numeric: lining-nums; }

/* Inner page hero */
.page-hero { padding: clamp(56px, 6vw, 92px) 0 clamp(52px, 5.4vw, 80px); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-weight: 700; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.06; max-width: 16em; }
.page-hero p { margin-top: 24px; font-size: clamp(17px, 1.3vw, 19px); color: var(--sky-200); max-width: 60ch; }

/* Four pillars */
.pillars { padding: var(--section) 0; background: linear-gradient(180deg, #ffffff 0%, var(--mist) 100%); }
.pillar-grid { margin-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { position: relative; background: var(--white); border: 1px solid var(--line); margin-left: -1px; padding: 38px 28px 32px; transition: box-shadow .2s, transform .2s; }
.pillar:first-child { margin-left: 0; }
.pillar::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px; background: var(--c); }
.pillar:hover { z-index: 1; box-shadow: 0 24px 48px rgba(17,26,44,.14); transform: translateY(-4px); }
.p-finance { --c: #e8913a; } .p-legal { --c: #d4593a; } .p-compliance { --c: #a93236; } .p-management { --c: #1f2a44; }
.pillar-icon { width: 38px; height: 38px; fill: none; stroke: var(--c); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-top: 20px; font: 600 30px/1.1 var(--serif); letter-spacing: -0.01em; color: var(--navy-900); }
.pillar > p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--muted); min-height: 4.6em; }
.pillar ul { margin-top: 18px; }
.pillar li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }

/* The listing line */
.journey { position: relative; background: var(--navy-950); color: var(--white); padding: clamp(64px, 7vw, 100px) 0 clamp(68px, 7.4vw, 108px); overflow: hidden; }
.journey.page-top::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ember); }
.journey-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.journey h2, .journey h1 { color: var(--white); }
.journey.page-top h1 { font-weight: 700; font-size: clamp(36px, 4.2vw, 60px); }
.journey-head p { font-size: 17.5px; color: var(--sky-200); max-width: 50ch; }
.track { position: relative; margin-top: clamp(52px, 6vw, 84px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 168px minmax(0, 1.55fr); }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 40px; height: 1px; background: linear-gradient(to right, rgba(255,255,255,.6) 0, rgba(255,255,255,.6) 82%, rgba(255,255,255,0) 100%); transform-origin: left center; animation: draw 1.4s cubic-bezier(.2,.7,.2,1) both; }
.track > li { position: relative; padding: 68px 26px 0 0; }
.track h3 { font: 700 19px/1.25 var(--sans); color: var(--white); }
.track p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--sky-200); max-width: 24ch; }
.when { position: absolute; left: 0; top: 0; font-size: 13.5px; font-weight: 600; color: var(--sky-300); }
.phase::before { content: ""; position: absolute; left: 0; top: 35px; width: 11px; height: 11px; border-radius: 50%; background: var(--navy-950); border: 2px solid var(--white); }
.track > .day { padding: 68px 0 0; text-align: center; }
.day h3 { font: 600 23px/1.2 var(--serif); color: var(--orange); }
.day-bar { position: absolute; left: calc(50% - 2.5px); top: -30px; width: 5px; height: 92px; background: var(--ember); transform-origin: center top; animation: drop .5s ease-out 1s both; }
.track > .after { padding: 68px 0 0 4px; }
.after p { max-width: 38ch; }
.quarters { position: absolute; left: 4px; right: 0; top: 8px; padding-bottom: 24px; display: flex; justify-content: space-between; -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%); mask-image: linear-gradient(to right, #000 55%, transparent 100%); }
.quarters li { position: relative; width: 28px; text-align: center; font-size: 13px; font-weight: 600; line-height: 20px; color: var(--sky-300); font-variant-numeric: tabular-nums; }
.quarters li::after { content: ""; position: absolute; left: 50%; top: 26px; width: 1px; height: 13px; background: rgba(255,255,255,.75); }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drop { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* Before / after listing */
.mandate { padding: var(--section) 0; }
.mandate-tint { background: var(--mist); }
.mandate-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.mandate-intro { position: sticky; top: 124px; }
.mandate-intro h2::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 22px; background: linear-gradient(90deg, #e8913a, #d4593a 55%, #a93236); }
.mandate-intro p { margin-top: 24px; font-size: 17.5px; max-width: 38ch; }
.mandate-intro .aside { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.phases { counter-reset: phase; border-bottom: 1px solid var(--line); }
.phases > li { counter-increment: phase; display: grid; grid-template-columns: 60px minmax(0, 180px) minmax(0, 1fr); column-gap: 16px; padding: 30px 0 34px; border-top: 1px solid var(--line); }
.phases > li::before { content: counter(phase); font: 600 40px/0.9 var(--serif); color: var(--vermilion); }
.phases h3, .group h3 { font: 700 19px/1.3 var(--sans); color: var(--navy-900); }
.phases ul li, .group ul li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.5; }
.phases ul li + li, .group ul li + li { margin-top: 10px; }
.phases ul li::before, .group ul li::before, .domain li::before { content: ""; position: absolute; left: 0; top: .66em; width: 6px; height: 6px; background: var(--vermilion); }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.group { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy-800); padding: 26px 28px 30px; box-shadow: 0 10px 30px rgba(17,26,44,.05); }
.group h3 { margin-bottom: 18px; max-width: 18em; }

/* Service catalog */
.catalog { padding: clamp(40px, 5vw, 72px) 0 var(--section); }
.domains { border-bottom: 1px solid var(--line); }
.domain { border-top: 1px solid var(--line); }
.domain summary { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 28px; gap: 16px; align-items: center; padding: 22px 12px 22px 0; cursor: pointer; list-style: none; }
.domain summary::-webkit-details-marker { display: none; }
.domain summary:hover { background: var(--mist); }
.d-num { font: 600 28px/1 var(--serif); color: var(--vermilion); font-variant-numeric: lining-nums tabular-nums; padding-left: 12px; }
.d-title { display: flex; flex-direction: column; gap: 3px; }
.d-name { font: 600 23px/1.2 var(--serif); letter-spacing: -0.01em; color: var(--navy-900); }
.d-sub { font-size: 15px; color: var(--muted); }
.d-count { font: 600 13.5px/1 var(--sans); color: var(--navy-800); background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; white-space: nowrap; }
.d-icon { position: relative; width: 28px; height: 28px; }
.d-icon::before, .d-icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 13px; height: 2px; background: var(--navy-800); transition: transform .2s; }
.d-icon::after { transform: rotate(90deg); }
.domain[open] .d-icon::after { transform: rotate(0deg); }
.domain[open] summary { background: var(--mist); }
.domain ul { columns: 3; column-gap: 44px; padding: 22px 12px 34px 80px; background: var(--mist); }
.domain li { position: relative; break-inside: avoid; padding: 6px 0 6px 18px; font-size: 15px; line-height: 1.45; }

/* How the work is done */
.method { padding: var(--section) 0; background: var(--mist); }
.method-grid { margin-top: clamp(36px, 4.6vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.method-grid > div { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--orange); padding: 30px 30px 34px; box-shadow: 0 10px 30px rgba(17,26,44,.05); }
.method-grid > div:nth-child(2) { border-top-color: var(--vermilion); }
.method-grid > div:nth-child(3) { border-top-color: var(--red); }
.method h3 { font: 600 24px/1.2 var(--serif); letter-spacing: -0.01em; color: var(--navy-900); }
.method p { margin-top: 12px; font-size: 16px; color: var(--muted); }

/* Closing band */
.closing { padding: clamp(72px, 8vw, 116px) 0; text-align: center; }
.closing .wrap { position: relative; }
.closing h2 { font-weight: 700; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.04; color: var(--white); }
.closing h2 span { color: var(--orange); }
.closing p { margin-top: 18px; font: italic 400 clamp(19px, 1.6vw, 23px)/1.35 var(--serif); color: #f3ddc0; }
.closing .btn { margin-top: 34px; }

/* The firm and contact */
.firm { padding: var(--section) 0; }
.firm-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.firm-about > p { margin-top: 24px; font-size: 17.5px; max-width: 58ch; }
.firm-about > p + p { margin-top: 16px; }
.offices { margin-top: 40px; border-bottom: 1px solid var(--line); }
.offices li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--line); padding: 20px 0 22px; }
.offices h3 { font: 700 18px/1.3 var(--sans); color: var(--navy-900); }
.office-note { display: block; font-weight: 500; font-size: 13.5px; color: var(--muted); }
.offices p { font-size: 16px; line-height: 1.55; }
.office-map { display: inline-block; margin-top: 8px; font: 700 14px/1.3 var(--sans); color: var(--navy-800); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.office-map:hover { text-decoration-color: var(--vermilion); }
.contact { position: relative; overflow: hidden; color: var(--white); padding: 42px 38px 44px 42px; background: radial-gradient(520px 360px at 100% 0%, rgba(212,89,58,.26) 0%, rgba(212,89,58,0) 70%), linear-gradient(180deg, #1f2a44, #111a2c); box-shadow: 0 30px 60px rgba(17,26,44,.22); }
.contact::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ember); }
.contact-mark { display: none; }
.firm .contact h2 { color: var(--white); font-size: clamp(28px, 2.6vw, 38px); }
.contact > p { margin-top: 14px; font-size: 16.5px; color: var(--sky-200); }
.contact .contact-lines { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--white); }
.contact-lines a { font: 600 30px/1.2 var(--serif); color: var(--white); text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.contact-lines a.mail { font: 600 17px/1.3 var(--sans); overflow-wrap: anywhere; }
.contact .btn { margin-top: 28px; }

/* Office photographs: the firm's own, as taken */
.office-view { padding: 0 0 var(--section); }
.office-photos { margin-top: clamp(28px, 3.4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.office-photos img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; background: var(--mist); }
.office-photos .lead { grid-column: 1 / -1; aspect-ratio: 5 / 2; object-position: 50% 38%; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--sky-300); padding: 56px 0 64px; font-size: 14px; line-height: 1.65; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 7vw, 112px); align-items: end; }
.footer-logo { height: 22px; width: auto; margin-bottom: 20px; }
.footer-name { font: 800 14.5px/1.3 var(--sans); color: var(--white); margin-bottom: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.footer-nav a { color: var(--white); font-weight: 600; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.site-footer p + p { margin-top: 10px; }
.site-footer p a { color: var(--white); text-decoration: none; }
.site-footer p a:hover { text-decoration: underline; }
.site-footer p { max-width: 58ch; }

/* Narrow screens */
@media (max-width: 1120px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3) { margin-left: 0; }
  .pillar:nth-child(n+3) { margin-top: -1px; }
  .domain ul { columns: 2; }
}
@media (max-width: 960px) {
  .site-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero-grid, .section-head, .journey-head, .mandate-grid, .firm-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mandate-intro { position: static; }
  .method-grid { grid-template-columns: 1fr; }

  .track { grid-template-columns: 1fr; margin-top: 40px; }
  .track::before { left: 5px; right: auto; top: 6px; bottom: 0; width: 1px; height: auto; background: rgba(255,255,255,.5); transform-origin: center top; animation-name: draw-down; }
  .track > li, .track > .day, .track > .after { padding: 0 0 32px 32px; text-align: left; }
  .when { position: static; display: block; margin-bottom: 2px; }
  .phase::before { top: 6px; }
  .day-bar { left: -2px; top: 12px; width: 16px; height: 4px; animation: none; }
  .quarters { position: static; margin-bottom: 12px; padding-bottom: 0; max-width: 320px; }
  .quarters li::after { display: none; }
  .track p, .after p { max-width: 46ch; }
}
@keyframes draw-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand { flex-wrap: wrap; gap: 8px 14px; flex-basis: 100%; }
  .brand-text { padding-left: 0; border-left: 0; flex-basis: 100%; }
  .header-row { gap: 10px 14px; min-height: 64px; flex-wrap: wrap; padding-block: 12px 8px; }
  .site-nav a { font-size: 14px; }
  .framework ol { columns: 1; }
  .pillar-grid, .groups { grid-template-columns: 1fr; }
  .pillar { margin-left: 0; margin-top: -1px; }
  .pillar > p { min-height: 0; }
  .phases > li { grid-template-columns: 44px minmax(0, 1fr); row-gap: 14px; }
  .phases > li > ul { grid-column: 2; }
  .domain summary { grid-template-columns: 44px minmax(0, 1fr) 28px; }
  .d-count { display: none; }
  .domain ul { columns: 1; padding-left: 60px; }
  .offices li { grid-template-columns: 1fr; gap: 6px; }
  .office-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .office-photos .lead { aspect-ratio: 16 / 9; }
  .office-photos img:nth-child(2) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .contact { padding: 34px 26px 36px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track::before, .day-bar { animation: none; }
  .btn, .pillar, .d-icon::before, .d-icon::after { transition: none; }
  .pillar:hover { transform: none; }
}
