/* Greyrock v1: the live site, refined. Palette, type and section order are the client's. */

/* 1. Tokens ----------------------------------------------------------------- */
:root {
  --cyan: #00A8CB;
  --cyan-2: #00C6EF;
  --teal: #185460;
  --teal-2: #01687F;
  --teal-3: #017D97;
  --navy: #203A53;
  --ink: #1f2727;
  --text: #5C5C5C;
  --grey: #959595;
  --line: #E3E7EB;
  --light: #F8F9FB;
  --white: #fff;
  --wrap: 1200px;
  --gut: 40px;
  --hdr: 84px;
  --card-shadow: 0 1px 2px rgba(16, 40, 56, .05), 0 6px 18px rgba(16, 40, 56, .08);
  --card-shadow-hover: 0 2px 4px rgba(16, 40, 56, .06), 0 14px 32px rgba(16, 40, 56, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.2; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec { padding: 96px 0; }
.sec--light { background: var(--light); }
.h2 { font-size: 32px; margin-bottom: 40px; color: var(--navy); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 2px; font-size: 14px; font-weight: 500; letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; background: none; transition: background .2s, color .2s, border-color .2s; }
.btn--line { border-color: var(--teal-2); color: var(--teal-2); }
.btn--line:hover { background: var(--teal-2); color: var(--white); }
.ico { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.ico img { width: 30px; height: 30px; object-fit: contain; }
.ico--b { background: var(--cyan); }

/* reveal (JS-gated: no-JS state is the readable one) */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* 3. Header ------------------------------------------------------------------ */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: background .25s, box-shadow .25s, height .25s; }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.hdr__logo { display: block; position: relative; }
.hdr__logo img { height: 40px; width: auto; transition: opacity .25s; }
.hdr__logo .logo-dark { position: absolute; inset: 0 auto auto 0; opacity: 0; height: 36px; top: 2px; }
.hdr__nav ul { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; }
.hdr__nav a { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; position: relative; transition: color .2s; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); }
.hdr__toggle { display: none; }
.hdr.solid { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); height: 72px; -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.hdr.solid .logo-light { opacity: 0; }
.hdr.solid .logo-dark { opacity: 1; }
.hdr.solid .hdr__nav a { color: var(--navy); }

/* 4. Home hero ----------------------------------------------------------------- */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 960px; background: #222 center/cover no-repeat; color: var(--white); display: flex; overflow: hidden; }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero__vid.is-on { opacity: 1; }
.hero__shade { background: linear-gradient(180deg, rgba(10, 25, 35, .55) 0%, rgba(10, 25, 35, .15) 30%, rgba(10, 25, 35, .2) 55%, rgba(10, 25, 35, .65) 100%); }
.hero__in { position: relative; width: 100%; margin-top: auto; margin-bottom: auto; padding-top: 18vh; }
.hero h1 { color: var(--white); font-size: 52px; font-weight: 600; letter-spacing: -.02em; max-width: 14em; }
.hero__sub { font-size: 22px; font-weight: 400; margin-top: 18px; color: rgba(255, 255, 255, .92); }
.hero__sub::before { content: ""; display: block; width: 56px; height: 3px; background: var(--cyan); margin-bottom: 18px; }

/* 5. At a glance stats ---------------------------------------------------------- */
.glance { background: var(--teal) url("../../../images/live/home/counter_banner.png") center/cover no-repeat; color: var(--white); padding: 72px 0; position: relative; }
.glance::before { content: ""; position: absolute; inset: 0; background: rgba(24, 84, 96, .9); }
.glance .wrap { position: relative; }
.glance__h { color: var(--white); font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 36px; opacity: .85; }
.stats { display: grid; gap: 32px; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.stat { min-width: 0; border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 24px; }
.stat__n { font-size: 46px; font-weight: 600; color: var(--white); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__pre, .stat__suf { color: var(--cyan-2); }
.stat__l { font-size: 15px; margin-top: 8px; color: rgba(255, 255, 255, .85); }

/* 6. We provide ----------------------------------------------------------------- */
.provide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); color: var(--white); }
.provide > * { min-width: 0; }
.provide__lead { background: var(--navy); display: flex; align-items: center; justify-content: center; padding: 64px var(--gut); }
.provide__lead h2 { color: var(--white); font-size: 34px; }
.provide__card { padding: 72px 56px; text-decoration: none; display: flex; flex-direction: column; gap: 14px; transition: background .25s; }
.provide__card--a { background: var(--teal-2); }
.provide__card--b { background: var(--teal-3); }
.provide__card:hover { background: var(--teal); }
.provide__card h3 { color: var(--white); font-size: 26px; }
.provide__card p { font-size: 17px; color: rgba(255, 255, 255, .9); max-width: 22em; }
.more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--white); display: inline-flex; align-items: center; gap: 8px; }
.more::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.provide__card:hover .more::after { width: 30px; }

/* 7. Greyrock difference ---------------------------------------------------------- */
.diff__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.diff__item { display: flex; gap: 24px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--line); }
.diff__item:last-child { border-bottom: 1px solid var(--line); }
.diff__item h3 { font-size: 19px; margin-bottom: 6px; }
.diff__item p { font-size: 15.5px; }
.diff__cycle { margin: 0; text-align: center; }
.cycle { width: min(380px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: var(--navy); padding: 6%; }
.cycle img { width: 100%; height: 100%; object-fit: contain; }
.diff__cycle figcaption { margin: 28px auto 0; max-width: 26em; font-size: 18px; font-weight: 500; color: var(--navy); line-height: 1.5; }

/* 8. Portfolio ticker -------------------------------------------------------------- */
.port-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.port-home__head .h2 { margin: 0; }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: flex; width: max-content; animation: tick var(--dur, 90s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { flex: none; width: 210px; height: 120px; margin-right: 20px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; padding: 20px 26px; transition: border-color .2s; }
.ticker__item:hover { border-color: var(--cyan); }
.ticker__item img { width: 100%; height: 100%; object-fit: contain; }
@keyframes tick { to { transform: translateX(-50%); } }

/* 9. Page head --------------------------------------------------------------------- */
.phead { position: relative; height: 380px; color: var(--white); display: flex; overflow: hidden; background: var(--navy); }
.phead__img { position: absolute; inset: 0; background-size: cover; }
.phead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 35, .6) 0%, rgba(10, 25, 35, .25) 45%, rgba(10, 25, 35, .55) 100%); }
.phead__in { position: relative; z-index: 1; width: 100%; margin-top: auto; padding-bottom: 56px; }
.phead h1 { color: var(--white); font-size: 48px; letter-spacing: -.02em; }
.phead h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--cyan); margin-top: 18px; }

/* 10. About ------------------------------------------------------------------------- */
.intro { padding: 80px 0 72px; }
.lede { font-size: 28px; line-height: 1.45; font-weight: 500; color: var(--teal); max-width: 38em; }
.pillars { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pillar { min-width: 0; padding: 80px var(--gut); scroll-margin-top: 72px; }
.pillar--a { background: #F1F3F5; }
.pillar--b { background: var(--light); }
.pillar__in { max-width: 520px; margin-left: auto; }
.pillar--b .pillar__in { margin-left: 0; }
.pillar h2 { font-size: 28px; color: var(--teal); }
.pillar__sub { font-size: 15px; margin: 8px 0 36px; color: var(--text); }
.pillar__item { display: flex; gap: 22px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.pillar__item h4 { font-size: 17px; color: var(--teal); margin-bottom: 6px; }
.pillar__item p { font-size: 15px; }
.pillar .ico { width: 56px; height: 56px; }
.pillar .ico img { width: 28px; height: 28px; }
.glance--about { padding: 88px 0; }
.glance--about .stat__l { font-size: 16px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 2px; background: var(--line); }
.timeline li { min-width: 0; position: relative; padding-right: 12px; }
.timeline__y { display: block; font-size: 26px; font-weight: 600; color: var(--teal); letter-spacing: -.01em; }
.timeline__dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--cyan); margin: 10px 0 18px; position: relative; }
.timeline li:last-child .timeline__dot { background: var(--cyan); }
.timeline p { font-size: 15px; font-weight: 500; color: var(--navy); line-height: 1.45; }
.timeline p span { font-weight: 400; color: var(--grey); font-size: 14px; }

/* 11. Criteria ------------------------------------------------------------------------ */
.inds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.inds li { min-width: 0; display: flex; align-items: center; gap: 20px; padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; color: var(--navy); }
.inds img { width: 56px; height: 56px; flex: none; }
.quals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.quals .h2 { margin: 0; font-size: 30px; line-height: 1.3; color: var(--teal); }
.quals__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
.quals__list li { min-width: 0; padding: 18px 0 18px 26px; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--navy); position: relative; }
.quals__list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 10px; height: 10px; background: var(--cyan); }
.kfc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.kfc__item { min-width: 0; background: var(--teal); color: var(--white); padding: 44px 48px; }
.kfc__item + .kfc__item { background: var(--teal-2); }
.kfc__n { font-size: 46px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.kfc__l { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-top: 12px; color: rgba(255, 255, 255, .85); }

/* 12. Filters + grids ------------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--white); color: var(--navy); padding: 9px 18px; border-radius: 2px; font-size: 14px; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--teal-2); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.chip .n { opacity: .6; margin-left: 6px; font-weight: 400; }
.filters__select select { -webkit-appearance: none; appearance: none; border: 1px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23203A53' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") right 16px center no-repeat; padding: 10px 44px 10px 16px; font: 500 14px Inter, sans-serif; color: var(--navy); border-radius: 2px; min-width: 260px; }
#filters { position: sticky; top: 72px; z-index: 20; margin-bottom: 0; padding: 14px 0; }
#filters::before { content: ""; position: absolute; inset: 0 -100vmax; z-index: -1; background: var(--white); }
#filters::after { content: ""; position: absolute; left: -100vmax; right: -100vmax; bottom: 0; height: 1px; background: var(--line); box-shadow: 0 6px 14px rgba(16, 40, 56, .08); opacity: 0; transition: opacity .2s; pointer-events: none; }
#filters.stuck::after { opacity: 1; }
#filters + .count { margin-top: 6px; }
.sec:has(#filters) { overflow-x: clip; }
.count { font-size: 14px; color: var(--grey); margin-bottom: 24px; }

.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.logos li { min-width: 0; }
.logos li.off { display: none; }
.logo-card { position: relative; width: 100%; height: 168px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; padding: 28px 34px; text-align: left; box-shadow: var(--card-shadow); transition: border-color .2s, box-shadow .2s; }
.logo-card:hover, .logo-card:focus-visible { box-shadow: var(--card-shadow-hover); }
.logo-card img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.logo-card__meta { position: absolute; inset: 0; background: var(--teal); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px; opacity: 0; transition: opacity .2s; }
.logo-card__meta strong { font-size: 16px; font-weight: 600; line-height: 1.3; }
.logo-card__meta span { font-size: 13px; color: rgba(255, 255, 255, .8); margin-top: 6px; }
.logo-card:hover .logo-card__meta, .logo-card:focus-visible .logo-card__meta { opacity: 1; }
.logo-card__fit { position: absolute; inset: 0; padding: inherit; container-type: size; display: grid; place-items: center; pointer-events: none; }
.logo-card__fit > span { position: relative; display: block; overflow: hidden; width: min(calc(var(--h) * var(--a) * 100cqh), 100cqw); aspect-ratio: var(--a); }
.logo-card .logo-card__fit img { position: absolute; max-width: none; object-fit: fill; }
.logo-card__tag { position: absolute; top: 12px; right: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.people li { min-width: 0; }
.people li.off { display: none; }
.person { display: block; width: 100%; padding: 0; border: 0; background: var(--white); text-align: left; color: inherit; box-shadow: var(--card-shadow); transition: box-shadow .2s; }
.person:hover, .person:focus-visible { box-shadow: var(--card-shadow-hover); }
.person__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--light); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: filter .25s; }
.person__body { padding: 16px 18px 14px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.person__title { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); font-weight: 500; display: block; }
.person__name { font-size: 20px; font-weight: 600; color: var(--navy); display: block; margin-top: 4px; }
.person:hover .person__body, .person:focus-visible .person__body { border-color: var(--cyan); }

/* 13. Dialog ------------------------------------------------------------------------------ */
body.lock { position: fixed; left: 0; right: 0; overflow: hidden; }
.dlg { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 32px; }
.dlg[hidden] { display: none; }
.dlg__scrim { position: absolute; inset: 0; background: rgba(15, 30, 40, .62); animation: fade .2s ease; }
.dlg__box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 64px); background: var(--white); display: flex; flex-direction: column; animation: rise .28s var(--ease); outline: none; }
.dlg__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--navy); border-radius: 50%; outline: none; }
.dlg__x:hover { background: var(--light); }
.dlg__x:focus-visible { box-shadow: 0 0 0 2px var(--cyan); }
.dlg__body { overflow: auto; padding: 56px 56px 40px; }
.dlg__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 14px 24px; }
.dlg__nav { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--teal-2); font-size: 14px; font-weight: 500; padding: 8px 10px; }
.dlg__nav:hover { color: var(--navy); }
.dlg__count { font-size: 13px; color: var(--grey); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.pd { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; }
.pd__logo { height: 96px; display: flex; align-items: center; margin-bottom: 28px; }
.pd__logo img { max-width: 260px; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.pd h2 { font-size: 30px; margin-bottom: 18px; }
.pd__desc p { font-size: 16px; margin-bottom: 14px; }
.pd__desc a { color: var(--teal-2); }
.pd__facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); align-self: start; margin-top: 124px; }
.pd__facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pd__facts span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.pd__facts strong { font-size: 16px; font-weight: 500; color: var(--navy); }
.pd .btn { margin-top: 10px; }

.bio { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; }
.bio__img { aspect-ratio: 4 / 5; background: var(--light); }
.bio__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bio__facts { list-style: none; margin: 20px 0 0; padding: 0; }
.bio__facts li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.bio__facts span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.bio__facts strong { font-size: 15px; font-weight: 500; color: var(--navy); }
.bio__title { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); font-weight: 500; }
.bio h2 { font-size: 32px; margin: 6px 0 14px; }
.bio__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.bio__contact a { font-size: 15px; color: var(--teal-2); text-decoration: none; }
.bio__contact a:hover { text-decoration: underline; }
.bio__text p { font-size: 16px; margin-bottom: 14px; }

/* 14. News ------------------------------------------------------------------------------------ */
.news__year { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.news__year h2 { font-size: 30px; color: var(--teal); }
.news__items { list-style: none; margin: 0; padding: 0; }
.news__item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.news__items li:last-child .news__item { border-bottom: 0; }
.news__logo { height: 76px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; padding: 12px 16px; }
.news__logo img { width: 100%; height: 100%; object-fit: contain; }
.news__date { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); font-weight: 500; }
.news__title { font-size: 17px; color: var(--navy); font-weight: 500; line-height: 1.45; margin-top: 4px; }
a.news__item:hover .news__title { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }
.news__ext { font-size: 13px; color: var(--teal-2); margin-top: 6px; display: inline-block; }
.news__more { text-align: center; margin-top: 40px; }
.news__more[hidden] { display: none; }

/* 15. Contact ------------------------------------------------------------------------------------ */
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.office { min-width: 0; border: 1px solid var(--line); background: var(--white); }
.office__map { background: var(--light); aspect-ratio: 315 / 166; }
.office__map img { width: 100%; height: 100%; object-fit: cover; }
.office__body { padding: 28px 30px 30px; }
.office h3 { font-size: 22px; color: var(--teal); margin-bottom: 12px; }
.office address { font-style: normal; font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.office__people { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.office__people li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.office__people strong { font-weight: 500; color: var(--navy); }
.office__people a { color: var(--teal-2); text-decoration: none; white-space: nowrap; }

/* 16. Footer ------------------------------------------------------------------------------------- */
.ft { background: var(--light); border-top: 1px solid var(--line); padding: 72px 0 32px; font-size: 15px; }
.ft__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.ft__logo img { height: 40px; width: auto; }
.ft__offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft__office { min-width: 0; }
.ft__office h4 { font-size: 15px; color: var(--teal); margin-bottom: 8px; }
.ft__office p { line-height: 1.6; }
.ft__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13.5px; color: var(--grey); }
.ft__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.ft__nav a { text-decoration: none; color: var(--text); }
.ft__nav a:hover { color: var(--teal-2); }

/* 17. Responsive --------------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --gut: 32px; }
  .hdr__nav ul { gap: 24px; }
  .logos, .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .provide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .provide__lead { grid-column: 1 / -1; padding: 40px var(--gut); }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
  .timeline::before { display: none; }
  .ft__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  :root { --gut: 20px; --hdr: 68px; }
  #filters { top: var(--hdr); }
  .sec { padding: 64px 0; }
  .h2 { font-size: 26px; margin-bottom: 28px; }
  .hdr__toggle { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 0; background: none; padding: 0; }
  .hdr__toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform .25s, opacity .25s, background .25s; }
  .hdr.solid .hdr__toggle span, .hdr.open .hdr__toggle span { background: var(--navy); }
  .hdr.open .hdr__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hdr.open .hdr__toggle span:nth-child(2) { opacity: 0; }
  .hdr.open .hdr__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hdr__nav { position: fixed; inset: var(--hdr) 0 auto; background: var(--white); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); display: none; }
  .hdr.open { background: var(--white); }
  .hdr.open .logo-light { opacity: 0; }
  .hdr.open .logo-dark { opacity: 1; }
  .hdr.open .hdr__nav { display: block; }
  .hdr__nav ul { flex-direction: column; gap: 0; padding: 8px var(--gut) 20px; }
  .hdr__nav a { color: var(--navy); display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hdr__nav a::after { display: none; }
  .hdr.solid { height: var(--hdr); }
  .hdr__logo img { height: 32px; }
  .hdr__logo .logo-dark { height: 29px; top: 1px; }
  .hero { min-height: 520px; height: 88vh; }
  .hero h1 { font-size: 34px; }
  .hero__sub { font-size: 18px; }
  .stats--4, .stats--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .stat { padding-left: 16px; }
  .stat__n { font-size: 34px; }
  .stat__l { font-size: 14px; }
  .provide { grid-template-columns: minmax(0, 1fr); }
  .provide__card { padding: 44px var(--gut); }
  .diff__grid, .quals, .pillars, .pd, .bio { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pillar__in { margin: 0; max-width: none; }
  .pillar { padding: 56px var(--gut); }
  .lede { font-size: 21px; }
  .phead { height: 280px; }
  .phead h1 { font-size: 36px; }
  .phead__in { padding-bottom: 36px; }
  .inds { grid-template-columns: minmax(0, 1fr); }
  .quals__list { grid-template-columns: minmax(0, 1fr); }
  .kfc { grid-template-columns: minmax(0, 1fr); }
  .kfc__item { padding: 32px 28px; }
  .kfc__n { font-size: 36px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .logo-card { height: 120px; padding: 18px 20px; }
  .logo-card__tag { display: none; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .person__name { font-size: 16px; }
  .person__title { font-size: 11px; }
  .filters__select, .filters__select select { width: 100%; min-width: 0; }
  .dlg { padding: 0; place-items: end stretch; }
  .dlg__box { max-height: 92vh; width: 100%; }
  .dlg__body { padding: 52px 22px 28px; }
  .pd__facts { margin-top: 0; }
  .bio__img { max-width: 220px; }
  .news__year { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .news__item { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .news__logo { height: 56px; padding: 8px; }
  .news__title { font-size: 15.5px; }
  .offices { grid-template-columns: minmax(0, 1fr); }
  .ft__offices { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .port-home__head { flex-direction: column; align-items: flex-start; }
  .ticker__item { width: 160px; height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker__item[aria-hidden] { display: none; }
  .hero__vid { transition: none; }
}
