/* =========================================================================
   Top by Ten: international, international-country, location, contact,
   privacy and terms (page fork P5). Shared tokens and components come from
   site.css / components.css; only page patterns live here.
   ========================================================================= */

/* ---------- Light split hero: crumbs, heading left, intro right ---------- */
.p5-hero { padding: 7.25rem var(--gutter) 3rem; }
@media (min-width: 1280px) { .p5-hero { padding-top: 8.5rem; padding-bottom: 5rem; } }
.p5-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .75rem; color: var(--grey-300); margin-bottom: 2rem; }
.p5-crumbs a { color: var(--grey-300); }
.p5-crumbs span:last-child { color: var(--grey-900); }
.p5-crumbs i { display: inline-block; width: .4rem; height: .4rem; border-right: 1px solid var(--grey-300); border-top: 1px solid var(--grey-300); transform: rotate(45deg); }
@media (min-width: 1280px) { .p5-crumbs { margin-bottom: 3.5rem; } }
.p5-hero__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .p5-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); } }
.p5-hero__aside { display: grid; gap: 1.25rem; justify-items: start; }
@media (min-width: 1024px) { .p5-hero__title { grid-column: span 7; } .p5-hero__aside { grid-column: 8 / span 5; } }
.p5-hero__aside p { font-size: 1.125rem; line-height: 1.15; font-weight: 500; letter-spacing: var(--tracking-tight); max-width: 26rem; }
@media (min-width: 1280px) { .p5-hero__aside p { font-size: 1.5rem; } }
/* Label-left / statement-right variant (country + location heroes) */
.p5-hero--label .p5-hero__label { font-size: 1.063rem; font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.2; max-width: 14rem; }
@media (min-width: 1280px) { .p5-hero--label .p5-hero__label { font-size: 1.375rem; } }
@media (min-width: 1024px) { .p5-hero--label .p5-hero__label { grid-column: span 4; } .p5-hero--label .p5-hero__title { grid-column: 5 / span 8; } }
.p5-statement { font-size: 2.25rem; line-height: 1; font-weight: 500; letter-spacing: var(--tracking-tight); text-wrap: balance; }
@media (min-width: 1024px) { .p5-statement { font-size: 2.75rem; } }
@media (min-width: 1280px) { .p5-statement { font-size: 3.75rem; line-height: .95; } }

/* ---------- Country collapse stack (international) ---------- */
.p5-stack { position: relative; }
.p5-stack [data-cs-stack] { display: flex; flex-direction: column; align-items: stretch; top: 0; }
@media (pointer: fine) and (min-width: 1024px) and (prefers-reduced-motion: no-preference) { .p5-stack [data-cs-stack] { position: sticky; } }
.p5-country { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
  padding-inline: var(--gutter); background: var(--grey-100); border-top: 1px solid var(--grey-200); }
.p5-country:last-child { border-bottom: 1px solid var(--grey-200); }
.p5-country__main { grid-column: span 12; height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
@media (min-width: 768px) { .p5-country__main { grid-column: span 6; } }
@media (min-width: 1920px) { .p5-country__main { grid-column: span 8; } }
.p5-country__head { display: flex; align-items: center; gap: .75rem; padding: 1.75rem 0 1rem; }
@media (min-width: 1024px) { .p5-country__head { padding-bottom: 2.25rem; } }
.p5-country__thumb { position: relative; width: 3rem; height: 3rem; border-radius: var(--r-lg); overflow: hidden; flex: none; }
.p5-country__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .p5-country__thumb { display: none; } }
.p5-country__head h3 { font-size: 1.875rem; line-height: 1; font-weight: 500; letter-spacing: var(--tracking-tight); text-wrap: balance; }
@media (min-width: 1024px) { .p5-country__head h3 { font-size: 3rem; } }
@media (min-width: 1280px) { .p5-country__head h3 { font-size: 3.75rem; } }
.p5-country__foot { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding-bottom: 1.75rem; }
@media (min-width: 1024px) { .p5-country__foot { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.p5-country__foot p { max-width: 36rem; font-size: 1.063rem; line-height: 1.2; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1024px) { .p5-country__foot p { font-size: 1.125rem; padding-right: 2.5rem; } }
@media (min-width: 1280px) { .p5-country__foot p { font-size: 1.375rem; } }
.p5-tags { display: flex; flex-wrap: wrap; gap: .25rem; flex: none; }
@media (min-width: 1024px) { .p5-tags { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; } }
.p5-tags span { display: inline-flex; align-items: center; min-height: 1.75rem; padding: .25rem .75rem; border-radius: 999px; background: var(--white); color: var(--grey-600); font-size: .875rem; font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1; }
@media (min-width: 1280px) { .p5-tags span { min-height: 2rem; font-size: 1rem; } }
.p5-country__media { display: none; grid-column: span 6; padding-block: 1.75rem; }
@media (min-width: 768px) { .p5-country__media { display: block; } }
@media (min-width: 1920px) { .p5-country__media { grid-column: span 4; } }
.p5-country__media .cm-card { aspect-ratio: 16/10; border-radius: var(--r-2xl); }
.p5-country__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-smooth); }
@media (pointer: fine) { .p5-country:hover .p5-country__media img { transform: scale(1.05); } }
.p5-country__media .chip { position: relative; z-index: 30; align-self: center; justify-self: center; }

/* ---------- Logo / platform strip without a label ---------- */
.p5-logos { position: relative; overflow: hidden; }
.p5-logos .logos__drift { width: 110vw; }

/* ---------- Global split: cycling list + mint ticker ---------- */
.p5-global { display: grid; gap: 1.75rem; }
@media (min-width: 1024px) { .p5-global { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; } }

.p5-global__copy .t-label { padding-bottom: 1rem; border-bottom: 1px solid var(--grey-200); }
.p5-global__copy h2 { padding-block: 1.25rem; border-bottom: 1px solid var(--grey-200); font-size: 2.25rem; line-height: 1; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .p5-global__copy h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .p5-global__copy { grid-column: span 5; } .p5-global__panel { grid-column: 7 / span 6; } }

/* Auto-cycling list: one item open at a time, a bar fills under the open item
   (reference: interval of 10s across three items). Pure CSS so it survives page
   transitions; hovering the list pauses it. */
.p5-cycle { --cycle: 30s; }
.p5-cycle__item { border-bottom: 1px solid var(--grey-200); padding-block: 1.25rem; }
.p5-cycle__item h3 { font-size: 1.25rem; line-height: 1.15; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .p5-cycle__item h3 { font-size: 1.375rem; } }
.p5-cycle__body { display: grid; grid-template-rows: 0fr; overflow: hidden; }
.p5-cycle__body > div { min-height: 0; }
.p5-cycle__body p { padding-top: .75rem; max-width: 30rem; color: var(--grey-300); font-size: .9375rem; line-height: 1.4; }
.p5-cycle__bar { display: block; position: relative; height: 2px; width: 60%; margin-top: 1rem; background: transparent; overflow: hidden; }
.p5-cycle__bar::after { content: ""; position: absolute; inset: 0; background: var(--grey-900); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .p5-cycle__body { animation: p5-open var(--cycle) infinite both; }
  .p5-cycle__bar::after { animation: p5-fill var(--cycle) linear infinite both; }
  .p5-cycle__item:nth-child(2) .p5-cycle__body, .p5-cycle__item:nth-child(2) .p5-cycle__bar::after { animation-delay: calc(var(--cycle) / -1.5); }
  .p5-cycle__item:nth-child(3) .p5-cycle__body, .p5-cycle__item:nth-child(3) .p5-cycle__bar::after { animation-delay: calc(var(--cycle) / -3); }
  .p5-cycle:hover .p5-cycle__body, .p5-cycle:hover .p5-cycle__bar::after { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .p5-cycle__body { grid-template-rows: 1fr; } }
@keyframes p5-open { 0%, 32% { grid-template-rows: 1fr; } 34.5%, 98% { grid-template-rows: 0fr; } 100% { grid-template-rows: 1fr; } }
@keyframes p5-fill { 0% { transform: scaleX(0); } 33.3% { transform: scaleX(1); opacity: 1; } 33.4%, 100% { transform: scaleX(0); opacity: 0; } }

.p5-ticker { position: relative; overflow: hidden; height: 24rem; padding: 1.25rem 1.75rem; border-radius: var(--r-3xl); background: var(--mint); color: var(--grey-900); }
@media (min-width: 1280px) { .p5-ticker { height: 32rem; padding: 1.75rem 2.25rem; } }
.p5-ticker [data-c~="vloop"] { position: absolute; inset: 0 1.75rem; overflow: hidden; }
.p5-ticker [data-c~="vloop"] > div { display: grid; }
.p5-ticker__word { font-size: 3.5rem; line-height: .95; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .p5-ticker__word { font-size: 5rem; } }
.p5-ticker__mark { position: absolute; top: 1.5rem; right: 1.75rem; z-index: 2; width: 2.25rem; height: 2.25rem; border-radius: var(--r-lg); background: var(--grey-900); color: var(--mint); display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.p5-ticker__note { position: absolute; right: 1.75rem; bottom: 1.25rem; z-index: 2; font-size: .75rem; font-weight: 500; }
.p5-ticker::before, .p5-ticker::after { content: ""; position: absolute; left: 0; width: 100%; height: 18%; z-index: 1; pointer-events: none; }
.p5-ticker::before { top: 0; background: linear-gradient(var(--mint), rgba(178,246,227,0)); }
.p5-ticker::after { bottom: 0; background: linear-gradient(rgba(178,246,227,0), var(--mint)); }

/* ---------- Work grid (2 wide + 3 narrow rows) ---------- */
.p5-work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 1024px) { .p5-work-grid { gap: 1rem; } }
.p5-work-grid > * { grid-column: span 12; margin: 0; }
@media (min-width: 768px) { .p5-work-grid > .is-half { grid-column: span 6; } .p5-work-grid > .is-third { grid-column: span 4; } }
.p5-work-grid .work-card { border-radius: var(--r-2xl); color: var(--white); }
.p5-work-grid .work-card__media { aspect-ratio: auto; height: 100%; min-height: 15rem; }
.p5-work-grid .is-half .work-card__media { min-height: 18rem; }
@media (min-width: 1024px) { .p5-work-grid .is-half .work-card__media { min-height: 30rem; } .p5-work-grid .is-third .work-card__media { min-height: 22rem; } }
.p5-work-grid .work-card__mobile { display: flex; pointer-events: none; }
.p5-work-grid .work-card__mobile small { opacity: .8; }
.p5-work-grid .work-card__mask { color: var(--grey-900); }

/* ---------- Package cards (hover reveals the detail) ---------- */
.p5-pack-card { height: 100%; display: flex; flex-direction: column; gap: 1rem; padding: .75rem .75rem 1.25rem; border-radius: var(--r-2xl); background: var(--white); }
.p5-pack-card .media { aspect-ratio: 1; border-radius: var(--r-xl); display: grid; }
.p5-pack-card .media > * { grid-area: 1 / 1; }
.p5-pack-card__more { position: relative; z-index: 2; align-self: end; margin: .5rem; padding: .875rem 1rem; border-radius: var(--r-xl); background: rgba(17,18,18,.75); color: var(--white); font-size: .875rem; line-height: 1.35;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: translateY(1rem); transition: opacity .5s, transform .7s var(--ease-smooth); }
@media (pointer: fine) { .p5-pack-card:hover .p5-pack-card__more { opacity: 1; transform: none; } .p5-pack-card:hover .media img { transform: scale(1.05); } }
@media (pointer: coarse) { .p5-pack-card__more { position: static; opacity: 1; transform: none; background: none; color: var(--grey-300); padding: 0 .25rem; margin: 0; -webkit-backdrop-filter: none; backdrop-filter: none; } .p5-pack-card .media { display: block; } }
.p5-pack-card .media img { transition: transform .7s var(--ease-smooth); }
.p5-pack-card h3 { padding-inline: .25rem; font-size: 1.375rem; line-height: 1.05; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .p5-pack-card h3 { font-size: 1.5rem; } }
.p5-center { display: flex; justify-content: center; margin-top: 2rem; }

/* ---------- FAQ (title left, boxed accordion right) ---------- */
.p5-faq { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .p5-faq { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); } .p5-faq > :first-child { grid-column: span 4; } .p5-faq > :last-child { grid-column: 5 / span 8; } }
.p5-faq h2 { font-size: 2.25rem; line-height: 1; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .p5-faq h2 { font-size: 3rem; } }
.acc--box { border: 0; display: grid; gap: .5rem; }
.acc--box details { border: 0; background: var(--white); border-radius: var(--r-xl); padding-inline: 1rem; }
@media (min-width: 1024px) { .acc--box details { padding-inline: 1.25rem; } }
.acc--box summary { padding-block: 1rem; font-size: 1rem; }
@media (min-width: 1280px) { .acc--box summary { font-size: 1.125rem; } }
.acc--box .acc__body { padding-bottom: 1.25rem; font-size: .9375rem; line-height: 1.45; }

/* ---------- Testimonials (dark panel, centred carousel + sector row) ---------- */
.p5-recs { padding: 3rem 0 2.5rem; overflow: hidden; border-radius: var(--r-3xl); }
@media (min-width: 1280px) { .p5-recs { padding-top: 4.5rem; } }
.p5-recs__head { display: grid; justify-items: center; gap: 1rem; text-align: center; padding-inline: var(--gutter); margin-bottom: 2rem; }
.p5-stars { letter-spacing: .15em; font-size: .875rem; }
.p5-recs__main.swiper { overflow: visible; }
.p5-recs__main .swiper-slide { transition: opacity .7s var(--ease-smooth), filter .7s var(--ease-smooth); }
.p5-recs__main .swiper-slide:not(.swiper-slide-active) { opacity: .35; filter: blur(4px); }
.p5-quote { display: grid; overflow: hidden; border-radius: var(--r-2xl); background: var(--white); color: var(--grey-900); }
@media (min-width: 768px) { .p5-quote { grid-template-columns: 1fr 1fr; min-height: 24rem; } }
.p5-quote__text { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.25rem; }
@media (min-width: 1280px) { .p5-quote__text { padding: 1.75rem; } }
.p5-quote blockquote { font-size: 1.375rem; line-height: 1.1; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .p5-quote blockquote { font-size: 1.75rem; } }
.p5-quote__who { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; line-height: 1.3; }
.p5-quote__who b { display: block; font-weight: 500; }
.p5-quote__avatar { width: 2.25rem; height: 2.25rem; border-radius: var(--r-md); background: var(--grey-150); display: grid; place-items: center; font-size: .625rem; font-weight: 700; color: var(--grey-300); }
.p5-quote .media { min-height: 14rem; display: grid; }
.p5-quote .media > * { grid-area: 1 / 1; }
.p5-quote .media .btn { position: relative; z-index: 2; align-self: end; justify-self: end; margin: 1rem; }
.p5-recs .swiper-pagination { position: relative; inset: auto; margin-top: 1.5rem; display: flex; justify-content: center; gap: .375rem; }
.p5-recs .swiper-pagination-bullet { width: .5rem; height: .5rem; margin: 0 !important; border-radius: 999px; background: rgba(255,255,255,.35); opacity: 1; transition: width .5s var(--ease-smooth), background .3s; }
.p5-recs .swiper-pagination-bullet-active { width: 1.75rem; background: var(--white); }
.p5-recs .logos__track { margin-top: 1.5rem; }
.p5-recs .logo-slot span { color: var(--white); }
.p5-recs .edge-blur--left { background: linear-gradient(90deg, var(--grey-900) 20%, rgba(17,18,18,0)); }
.p5-recs .edge-blur--right { background: linear-gradient(270deg, var(--grey-900) 20%, rgba(17,18,18,0)); }

/* ---------- Text split (big heading left, copy right) ---------- */
.p5-split { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .p5-split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); } .p5-split > :first-child { grid-column: span 6; } .p5-split > :last-child { grid-column: 7 / span 5; } }
.p5-split h2 { font-size: 2.25rem; line-height: 1; font-weight: 500; letter-spacing: var(--tracking-tight); text-wrap: balance; }
@media (min-width: 1280px) { .p5-split h2 { font-size: 3.5rem; line-height: .95; } }
.p5-copy { display: grid; gap: 1rem; font-size: .9375rem; line-height: 1.45; color: var(--grey-400); max-width: 34rem; }
.p5-copy strong { font-weight: 600; color: var(--grey-900); }

/* ---------- Media + copy row (country expertise, location HQ / visit) ---------- */
.p5-mediarow { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 1024px) { .p5-mediarow { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); } .p5-mediarow > :first-child { grid-column: span 5; } .p5-mediarow > :last-child { grid-column: 7 / span 5; } }
.p5-mediarow--flip > :first-child { order: 0; }
.p5-mediarow .media { border-radius: var(--r-2xl); }
.p5-kicker { padding-bottom: .75rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--grey-200); font-size: .875rem; font-weight: 500; letter-spacing: var(--tracking-tight); }
.p5-mediarow h2 { font-size: 2rem; line-height: 1; font-weight: 500; letter-spacing: var(--tracking-tight); margin-bottom: 1.25rem; }
@media (min-width: 1280px) { .p5-mediarow h2 { font-size: 2.75rem; } }
.p5-mediarow .btn-row { margin-top: 1.5rem; gap: .5rem 1rem; align-items: center; }
.p5-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; letter-spacing: var(--tracking-tightish); }
.p5-link .ic { font-size: .75rem; }
.p5-ph { color: var(--grey-300); background: var(--grey-150); border-radius: var(--r-sm); padding: 0 .3em; font-style: normal; }
.p5-mint-chip { display: inline-block; padding: 0 .4em; border-radius: var(--r-sm); background: var(--mint); color: var(--grey-900); }

/* Slideshow with progress bars (location HQ image) */
.p5-show { position: relative; border-radius: var(--r-2xl); overflow: hidden; }
.p5-show .swiper { aspect-ratio: 4/5; }
@media (min-width: 1024px) { .p5-show .swiper { aspect-ratio: auto; height: 38rem; } }
.p5-show .swiper-slide { position: relative; }
.p5-show .swiper-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p5-show__ui { position: absolute; left: 0; bottom: 0; z-index: 5; width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1rem; }
.p5-show__bars { flex: 1; display: flex; gap: .375rem; max-width: 12rem; }
.p5-show__bars > div { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.4); overflow: hidden; }
.p5-show__bars [data-progress] { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--white); }
.p5-show__toggle { margin-left: auto; width: 2rem; height: 2rem; border-radius: 999px; background: var(--mint); color: var(--grey-900); display: grid; place-items: center; font-size: .75rem; }
.p5-show__toggle .ic-play { display: none; }
.p5-show__toggle.is-paused .ic-play { display: block; } .p5-show__toggle.is-paused .ic-pause { display: none; }

/* Team strip with a giant overlaid title (location) */
.p5-teamstrip { position: relative; overflow: hidden; }
.p5-teamstrip .swiper-slide { padding-inline: .375rem; }
.p5-teamstrip .media { aspect-ratio: 3/4; border-radius: var(--r-2xl); }
.p5-teamstrip__title { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; align-content: center; gap: 1rem; pointer-events: none; color: var(--white); text-align: center; }
.p5-teamstrip__title .t { text-shadow: 0 4px 40px rgba(0,0,0,.25); }
.p5-teamstrip__title .btn { pointer-events: auto; }
.p5-teamstrip::after { content: ""; position: absolute; inset: 0; z-index: 5; background: rgba(17,18,18,.15); pointer-events: none; }

/* Office image glide */
.p5-glide .swiper-slide { padding-inline: .5rem; }
.p5-glide .media { aspect-ratio: 1; border-radius: var(--r-lg); }
@media (min-width: 1024px) { .p5-glide .media { aspect-ratio: 9/10; } }

/* Big centred work carousel (country hero) */
.p5-centerglide { overflow: hidden; }
.p5-centerglide .swiper-slide { padding-inline: .375rem; }
.p5-centerglide .work-card { margin: 0; color: var(--white); border-radius: var(--r-2xl); }
.p5-centerglide .work-card__media { aspect-ratio: 16/10; }
.p5-centerglide .work-card__mobile { display: flex; }

/* Coverage cards (country) */
.p5-cover-card { display: flex; flex-direction: column; gap: 1rem; padding: .75rem .75rem 1.25rem; border-radius: var(--r-2xl); background: var(--white); height: 100%; }
.p5-cover-card .media { aspect-ratio: 5/4; border-radius: var(--r-xl); }
.p5-cover-card h3 { padding-inline: .25rem; font-size: 1.375rem; line-height: 1.05; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .p5-cover-card h3 { font-size: 1.5rem; } }
.p5-cover-card p { padding-inline: .25rem; font-size: .875rem; line-height: 1.4; color: var(--grey-300); }

/* ---------- Contact ---------- */
.p5-contact { display: grid; gap: .75rem; padding: 6.75rem var(--gutter) 0; }
@media (min-width: 1024px) { .p5-contact { grid-template-columns: 1fr 1fr; gap: 1.25rem; padding-top: 7.25rem; } }
.p5-contact__img { position: relative; display: grid; min-height: 28rem; overflow: hidden; border-radius: var(--r-3xl); color: var(--white); }
.p5-contact__img > * { grid-area: 1 / 1; }
.p5-contact__img .bg { position: relative; overflow: hidden; }
.p5-contact__img .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(6px); transform: scale(1.06); }
.p5-contact__img .bg::after { content: ""; position: absolute; inset: 0; background: rgba(17,18,18,.25); }
.p5-contact__img .in { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.25rem 1.75rem 1.75rem; }
.p5-contact__img .p5-crumbs, .p5-contact__img .p5-crumbs a, .p5-contact__img .p5-crumbs span:last-child { color: rgba(255,255,255,.85); margin-bottom: 1rem; }
.p5-contact__img .p5-crumbs i { border-color: rgba(255,255,255,.85); }
.p5-contact__img h1 { max-width: 12ch; }
.p5-contact__img .foot { display: grid; gap: 1rem; justify-items: start; }
.p5-contact__img .foot p { max-width: 24rem; font-size: 1.125rem; line-height: 1.15; font-weight: 500; letter-spacing: var(--tracking-tight); }
.p5-form { display: grid; gap: 1rem; align-content: start; padding: 1.25rem; border-radius: var(--r-3xl); background: var(--white); }
@media (min-width: 1280px) { .p5-form { padding: 1.75rem 2.25rem; } }
.p5-form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .p5-form .row { grid-template-columns: 1fr 1fr; } }
.p5-form .field label { font-size: .75rem; }
.p5-form .field label b { color: #e5484d; font-weight: 600; }
.p5-form .input { background: var(--grey-50); border-color: var(--grey-150); border-radius: var(--r-xl); padding: .75rem 1rem; font-size: .9375rem; }
.p5-form select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111212' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: .875rem; padding-right: 2.5rem; }
.p5-form textarea.input { min-height: 8rem; resize: vertical; }
.p5-form .btn { width: 100%; }
.p5-form [data-status] { font-size: .875rem; color: var(--grey-300); min-height: 1.25em; }
.p5-form .note { font-size: .75rem; color: var(--grey-300); line-height: 1.4; }

.p5-offices { padding: 4rem var(--gutter) 5rem; }
.p5-offices > h2 { font-size: 1.063rem; font-weight: 500; letter-spacing: var(--tracking-tight); margin-bottom: 1rem; }
@media (min-width: 1280px) { .p5-offices > h2 { font-size: 1.375rem; } }
.p5-office { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding: 1rem .75rem; border-bottom: 1px solid var(--grey-200); transition: background .5s, color .5s, border-radius .5s var(--ease-smooth); }
.p5-office:last-child { border-bottom: 0; }
.p5-office .t { font-size: 2.5rem; line-height: 1; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1024px) { .p5-office .t { font-size: 4.5rem; } }
.p5-office address { font-style: normal; text-align: right; font-size: 1rem; line-height: 1.2; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .p5-office address { font-size: 1.375rem; } }
@media (pointer: fine) { .p5-office:hover { background: var(--grey-900); color: var(--white); border-radius: var(--r-2xl); } }

/* ---------- Legal pages ---------- */
.p5-draft { margin: 0 var(--gutter) 2rem; padding: .75rem 1rem; border-radius: var(--r-xl); background: var(--mint); font-size: .875rem; font-weight: 600; letter-spacing: var(--tracking-tight); }
.p5-legal-hero h1 { font-size: 3.5rem; line-height: .95; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .p5-legal-hero h1 { font-size: 6.25rem; } }
.p5-jump { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.p5-jump > span { font-size: .75rem; color: var(--grey-300); margin-right: .25rem; }
.p5-legal { padding: 2rem var(--gutter) 6rem; }
@media (min-width: 1024px) { .p5-legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 4rem; } .p5-legal > div { grid-column: 4 / span 6; } }
.p5-legal section { scroll-margin-top: 7rem; }
.p5-legal section + section { margin-top: 3.5rem; }
.p5-legal h2 { font-size: 2.25rem; line-height: 1; font-weight: 500; letter-spacing: var(--tracking-tight); margin-bottom: 1.75rem; max-width: 14ch; }
@media (min-width: 1280px) { .p5-legal h2 { font-size: 3.125rem; } }
.p5-legal h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: var(--tracking-tight); margin: 1.5rem 0 .5rem; }
.p5-legal p, .p5-legal li { font-size: .9375rem; line-height: 1.5; color: var(--grey-400); }
.p5-legal p + p { margin-top: .75rem; }
.p5-legal ul { display: grid; gap: .375rem; margin-top: .75rem; }
.p5-legal li { padding-left: 1rem; position: relative; }
.p5-legal li::before { content: ""; position: absolute; left: 0; top: .65em; width: .35rem; height: .35rem; border-radius: 999px; background: var(--grey-900); }
.p5-legal a { text-decoration: underline; text-underline-offset: .2em; }
.p5-office--static { border-bottom: 0; } .p5-office--static:hover { background: none; color: inherit; border-radius: 0; }
.p5-updated { margin: 0 var(--gutter) 2rem; font-size: .875rem; color: var(--grey-300); letter-spacing: var(--tracking-tight); }
