:root {
  --navy: #061a2b;
  --navy-mid: #082338;
  --navy-deep: #03111d;
  --gold: #c99538;
  --gold-light: #dfa946;
  --ivory: #f7f5f0;
  --white: #ffffff;
  --ink: #07182a;
  --muted: #66707a;
  --line: rgba(6, 26, 43, 0.14);
  --shadow: 0 10px 28px rgba(3, 17, 29, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; min-width: 320px; overflow-x: clip; color: var(--ink); background: var(--white); font-family: "Manrope", Arial, sans-serif; line-height: 1.45; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1700px, calc(100% - 120px)); margin-inline: auto; }
.skip-link, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { z-index: 1000; width: auto; height: auto; clip: auto; top: 10px; left: 10px; padding: 10px 14px; background: var(--gold); color: var(--navy); }
.desktop-only { display: inline; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lucide, .brand-icon { width: 1em; height: 1em; display: inline-block; flex: 0 0 auto; }
.lucide { stroke-width: 2; }
.brand-icon { fill: currentColor; }
.btn > .lucide, .btn > .brand-icon { width: 20px; height: 20px; }

.topbar { position: absolute; inset: 0 0 auto; z-index: 50; height: 52px; color: rgba(255,255,255,.92); background: rgba(3,17,29,.97); border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.topbar__inner { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.topbar__meta, .topbar__actions, .topbar__item { display: flex; align-items: center; }
.topbar__meta { gap: 24px; }
.topbar__item { gap: 10px; white-space: nowrap; }
.topbar__item > .lucide, .topbar__phone > .lucide { width: 18px; height: 18px; color: var(--gold-light); stroke-width: 2.3; }
.topbar__divider, .contact__divider { width: 1px; height: 17px; display: inline-block; margin: 0 5px; background: rgba(255,255,255,.58); }
.topbar__actions { align-self: stretch; gap: 28px; }
.topbar__phone { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.topbar__cta { min-width: 200px; display: flex; align-items: center; justify-content: center; gap: 14px; padding-inline: 26px; color: var(--white); background: linear-gradient(110deg, #b77d25, #d7a34e); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.topbar__cta .lucide { width: 21px; height: 21px; stroke-width: 1.9; }

.site-header { position: fixed; top: 52px; left: 0; right: 0; z-index: 45; height: 104px; color: var(--white); background: rgba(3,17,29,.14); border-bottom: 1px solid rgba(255,255,255,.1); transition: top .24s ease, background-color .24s ease, box-shadow .24s ease; }
.site-header.is-scrolled { top: 0; height: 88px; background: rgba(3,17,29,.97); box-shadow: 0 12px 32px rgba(3,17,29,.24); }
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: flex; align-items: center; flex: 0 1 430px; min-width: 290px; }
.brand img { width: 430px; max-height: 76px; object-fit: contain; object-position: left center; }
.main-nav { height: 100%; display: flex; align-items: stretch; gap: 46px; }
.main-nav a { position: relative; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.93); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.main-nav a .lucide { width: 16px; height: 16px; stroke-width: 2.4; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 25px; height: 2px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.36); background: rgba(3,17,29,.5); color: var(--white); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 20px; height: 2px; background: currentColor; }

.hero { min-height: 660px; position: relative; color: var(--white); background: image-set(url("../assets/images/hero-office.webp") type("image/webp"), url("../assets/images/hero-office.png") type("image/png")) center center / cover no-repeat; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,17,29,.96) 0%, rgba(3,17,29,.83) 28%, rgba(3,17,29,.35) 54%, rgba(3,17,29,.04) 78%); }
.hero__inner { position: relative; z-index: 1; min-height: 660px; display: flex; align-items: center; padding-top: 118px; }
.hero__copy { width: min(900px, 66vw); }
.hero h1 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 52px; line-height: 1.08; font-weight: 700; }
.hero h1 span { color: var(--gold-light); }
.gold-rule, .heading-rule { display: block; width: 58px; height: 2px; margin-top: 22px; background: var(--gold); }
.hero p { margin: 20px 0 0; color: rgba(255,255,255,.95); font-size: 18px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.btn { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 30px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: 13px; font-weight: 800; text-transform: uppercase; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn--gold { color: var(--white); background: linear-gradient(110deg, #bc8129, #d9a850); }
.btn--gold:hover { background: var(--gold-light); }
.btn--outline { color: var(--white); border-color: var(--gold); background: rgba(3,17,29,.12); }
.btn--outline:hover { background: rgba(201,149,56,.18); }
.btn--navy { color: var(--white); background: var(--navy); }
.wa-mark { color: var(--gold-light); }

.stats { color: var(--white); background: linear-gradient(100deg, #041a2b, #08263d 50%, #031521); }
.stats__grid { min-height: 130px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats article { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 20px 34px; border-right: 1px solid rgba(255,255,255,.2); }
.stats article:last-child { border-right: 0; }
.stat-icon { width: 48px; height: 48px; color: var(--gold-light); stroke-width: 1.9; }
.stats strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 46px; line-height: .92; font-weight: 600; color: var(--white); }
.stats p { margin: 10px 0 0; font-size: 12px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }

.trusted { padding: 24px 0 24px; background: linear-gradient(#fff, #f8f8f7); border-bottom: 1px solid var(--line); }
.trusted__title { margin: 0 0 22px; text-align: center; color: var(--navy); font-size: 15px; font-weight: 800; text-transform: uppercase; }
.slider { --items-per-view: 4; --slider-gap: 22px; position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; gap: var(--slider-gap); transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.slider__control { position: absolute; z-index: 3; top: 50%; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(201,149,56,.72); border-radius: 50%; color: var(--gold); background: rgba(255,255,255,.96); box-shadow: 0 7px 20px rgba(3,17,29,.14); cursor: pointer; transform: translateY(-50%); transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.slider__control:hover, .slider__control:focus-visible { color: var(--white); background: var(--navy); transform: translateY(-50%) scale(1.06); }
.slider__control .lucide { width: 21px; height: 21px; }
.slider__control--prev { left: 0; }
.slider__control--next { right: 0; }
.slider__dots { position: absolute; left: 50%; bottom: 4px; display: flex; align-items: center; justify-content: center; gap: 7px; transform: translateX(-50%); }
.slider__dot { width: 8px; height: 8px; padding: 0; border: 1px solid var(--gold); border-radius: 50%; background: transparent; cursor: pointer; }
.slider__dot.is-active { width: 24px; border-radius: 6px; background: var(--gold); }
.slider__dots.is-counter { min-width: 68px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.slider__dots--light .slider__dot { border-color: var(--gold-light); }
.slider__dots--light .slider__dot.is-active { background: var(--gold-light); }
.slider__dots--light.is-counter { color: rgba(255,255,255,.76); }
.trusted-slider { --items-per-view: 6; --slider-gap: 24px; padding: 0 48px 12px; }
.trusted__item { flex: 0 0 calc((100% - 120px) / 6); min-width: 0; min-height: 58px; display: grid; place-items: center; padding: 4px 8px; color: #777b7e; text-align: center; font-family: Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1.15; transition: color .2s ease, transform .2s ease; }
.trusted__item:hover { color: var(--navy); transform: scale(1.04); }
.trusted__item--sans { font-family: Arial, sans-serif; font-size: 22px; }
.trusted__item--compact { font-family: Arial, sans-serif; font-size: 14px; }
.trusted-slider .slider__control { width: 34px; height: 34px; }
.slider__meter { position: absolute; left: 48px; right: 48px; bottom: 0; height: 2px; overflow: hidden; background: rgba(6,26,43,.1); }
.slider__meter span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .45s ease; }

.section { padding: 58px 0; }
.section-heading { margin: 0 auto 34px; text-align: center; }
.section-heading h2, .about h2, .blog h2, .contact h2, .newsletter h2 { margin: 0; color: var(--navy); font-family: "Cormorant Garamond", Georgia, serif; font-size: 42px; line-height: 1.05; font-weight: 700; }
.section-heading > p:first-child { margin: 0 0 8px; color: var(--navy); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.section-heading .heading-rule { width: 46px; margin: 10px auto 0; }
.section-subtitle { margin: 10px 0 0; color: var(--muted); font-size: 16px; font-weight: 400; text-transform: none; }
.section-heading--light h2, .section-heading--light .section-subtitle { color: var(--white); }

.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1.08fr 1.3fr .9fr; gap: 38px; align-items: center; }
.about__image { margin: 0; }
.about__image picture { display: block; }
.about__image img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; border-radius: 4px; }
.about__copy .gold-rule { margin: 14px 0 22px; }
.about__copy p { margin: 0; color: #24303b; font-size: 15px; line-height: 1.7; }
.about__copy .btn { margin-top: 26px; min-width: 250px; }
.about__quote { min-height: 270px; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 24px 0 10px 34px; border-left: 1px solid var(--gold); color: #1d2a38; font-family: "Cormorant Garamond", Georgia, serif; font-size: 25px; font-style: italic; line-height: 1.52; }
.about__quote [data-reflection-text] { display: block; }
.about__quote cite { display: block; margin-top: 22px; color: #b27e32; font-family: "Manrope", Arial, sans-serif; font-size: 13px; font-style: normal; text-align: right; }

.practice { padding-top: 42px; background: linear-gradient(#fbfbfb, #f5f6f6); border-top: 1px solid var(--line); }
.practice-slider { --items-per-view: 5; --slider-gap: 22px; padding: 0 58px 42px; }
.practice__grid { display: flex; gap: var(--slider-gap); }
.practice__grid article { flex: 0 0 calc((100% - 88px) / 5); min-width: 0; min-height: 220px; color: var(--white); background: linear-gradient(145deg, #061a2b, #08253c); border-radius: 8px; box-shadow: 0 8px 22px rgba(3,17,29,.08); text-align: center; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.practice__grid article:hover, .practice__grid article:focus-within { z-index: 2; transform: translateY(-7px) scale(1.035); box-shadow: 0 18px 34px rgba(3,17,29,.22); }
.practice__grid article > a { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.practice__icon { width: 54px; height: 54px; margin-bottom: 18px; color: var(--gold-light); stroke-width: 1.7; }
.practice__grid h3 { min-height: 50px; display: grid; place-items: center; margin: 0; font-size: 18px; line-height: 1.3; }
.practice__grid article span, .team-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--gold-light); font-size: 14px; font-weight: 600; }
.practice__grid article span .lucide, .team-card a .lucide { width: 17px; height: 17px; }
.practice-slider .slider__dots { bottom: 5px; }

.process { background: var(--white); }
.process__timeline { --process-progress: 0%; position: relative; }
.process__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 34px; }
.process__grid article { position: relative; text-align: center; }
.process__rail { position: absolute; z-index: 1; top: 46px; left: 8.333%; right: 8.333%; height: 3px; background: #e8ddc9; }
.process__progress { display: block; width: var(--process-progress); height: 100%; background: linear-gradient(90deg, #b77d25, var(--gold-light)); transition: width .7s ease, height .7s ease; }
.process__marker { position: absolute; top: 50%; left: var(--process-progress); width: 18px; height: 18px; border: 4px solid var(--white); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px rgba(183,125,37,.34), 0 4px 12px rgba(3,17,29,.2); transform: translate(-50%, -50%); transition: left .7s ease, top .7s ease; }
.process__icon { width: 94px; height: 94px; margin: 0 auto 18px; display: grid; place-items: center; border: 2px solid transparent; border-radius: 50%; color: var(--navy); background: radial-gradient(circle at 35% 25%, #d9b46d, #b88434); font-family: "Cormorant Garamond", Georgia, serif; font-size: 27px; font-weight: 700; box-shadow: 0 8px 20px rgba(3,17,29,.08); transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.process__icon .lucide { width: 42px; height: 42px; stroke-width: 1.8; }
.process__grid article.is-complete .process__icon { color: var(--white); background: var(--navy); }
.process__grid article.is-active .process__icon { border-color: var(--gold); color: var(--navy); background: var(--white); box-shadow: 0 0 0 8px rgba(201,149,56,.13), 0 12px 28px rgba(3,17,29,.14); transform: scale(1.08); }
.process__grid h3 { margin: 0 0 10px; color: #111d2b; font-size: 16px; }
.process__grid p { margin: 0; color: #606973; font-size: 14px; line-height: 1.55; }

.team { color: var(--white); background: linear-gradient(110deg, #061c2f, #031421 60%, #061d31); }
.team > .shell { width: min(1900px, calc(100% - 80px)); }
.team-carousel { --cards-per-view: 4; position: relative; padding: 0 58px 42px; }
.team-carousel__viewport { overflow: hidden; padding: 1px; }
.team__track { display: flex; gap: 22px; transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.team-card { min-width: 0; flex: 0 0 calc((100% - 66px) / 4); overflow: hidden; border: 1px solid rgba(223,169,70,.46); border-radius: 5px; background: rgba(255,255,255,.02); }
.team-card picture { display: block; }
.team-card img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; object-position: center; }
.team-card > div { min-height: 176px; display: flex; flex-direction: column; align-items: center; padding: 20px 14px; text-align: center; }
.team-card h3 { min-height: 42px; display: grid; place-items: center; margin: 0; color: var(--white); font-size: 18px; line-height: 1.25; }
.team-card p { min-height: 42px; display: grid; place-items: start center; margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.35; }
.team-card a { margin-top: auto; }
.team-carousel__control { position: absolute; z-index: 2; top: calc(50% - 46px); width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(223,169,70,.72); border-radius: 50%; color: var(--gold-light); background: rgba(3,17,29,.92); box-shadow: 0 8px 22px rgba(0,0,0,.22); cursor: pointer; transform: translateY(-50%); transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.team-carousel__control:hover, .team-carousel__control:focus-visible { color: var(--navy); background: var(--gold-light); border-color: var(--gold-light); }
.team-carousel__control .lucide { width: 24px; height: 24px; stroke-width: 2; }
.team-carousel__control--prev { left: 0; }
.team-carousel__control--next { right: 0; }
.team-carousel__dots { position: absolute; left: 50%; bottom: 5px; display: flex; align-items: center; justify-content: center; gap: 9px; transform: translateX(-50%); }
.team-carousel__dot { width: 9px; height: 9px; padding: 0; border: 1px solid var(--gold-light); border-radius: 50%; background: transparent; cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.team-carousel__dot.is-active { width: 28px; border-radius: 6px; background: var(--gold-light); }
.team__action { display: flex; justify-content: center; margin-top: 24px; }
.team__action .btn { min-width: 390px; min-height: 48px; }

.success { background: #fbfbfb; }
.content-slider { padding: 0 58px 42px; }
.success-carousel { --items-per-view: 4; --slider-gap: 22px; }
.success__track { gap: var(--slider-gap); padding: 4px 1px 10px; }
.success-card { flex: 0 0 calc((100% - 66px) / 4); min-width: 0; min-height: 280px; padding: 25px 24px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); box-shadow: 0 5px 16px rgba(3,17,29,.08); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.success-card:hover { transform: translateY(-4px); box-shadow: 0 13px 26px rgba(3,17,29,.13); }
.success-card img { width: 68px; height: 68px; margin: 0 auto 13px; border: 3px solid #f0dfbf; border-radius: 50%; object-fit: cover; }
.success-card > span { display: block; margin-bottom: 8px; color: #a87427; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.success-card h3 { min-height: 44px; display: grid; place-items: center; margin: 0 0 9px; color: var(--navy); font-size: 16px; line-height: 1.3; }
.success-card p { margin: 0; color: #4f5a66; font-size: 13px; line-height: 1.48; }

.testimonials { padding-top: 30px; color: var(--white); background: linear-gradient(rgba(3,17,29,.93), rgba(3,17,29,.93)), url("../assets/images/hero-office.png") center / cover; }
.testimonial-carousel { --items-per-view: 3; --slider-gap: 24px; }
.testimonial__track { gap: var(--slider-gap); padding: 1px; }
.testimonial-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; min-height: 248px; display: flex; flex-direction: column; margin: 0; padding: 22px 30px; border: 1px solid rgba(255,255,255,.28); border-radius: 4px; background: rgba(7,32,50,.66); }
.stars { display: flex; justify-content: center; gap: 3px; color: #f3a900; }
.stars::before { content: "★★★★★"; font-size: 18px; letter-spacing: 0; }
.testimonial-card > p { margin: 13px 0 18px; color: rgba(255,255,255,.96); font-size: 14px; line-height: 1.5; }
.testimonial-card cite { display: flex; align-items: center; gap: 12px; margin-top: auto; color: rgba(255,255,255,.75); font-size: 12px; font-style: normal; }
.testimonial-card cite img { width: 48px; height: 48px; border: 2px solid var(--gold); border-radius: 50%; object-fit: cover; }
.testimonial-card cite > span { display: grid; }
.testimonial-card cite strong { color: var(--white); font-size: 13px; }
.testimonials .slider__control { color: var(--gold-light); background: rgba(3,17,29,.9); }
.testimonials .slider__control:hover, .testimonials .slider__control:focus-visible { color: var(--navy); background: var(--gold-light); }
.prototype-note { margin: 3px 0 0; color: rgba(255,255,255,.56); font-size: 10px; text-align: center; }

.blog { background: var(--white); }
.blog__head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.blog__head .heading-rule { width: 65px; margin: 7px 0 2px; }
.blog__head p { margin: 0; color: #7b838d; font-size: 12px; }
.blog__head .btn { min-height: 42px; padding-inline: 26px; }
.blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.blog__grid article { min-width: 0; min-height: 142px; display: grid; grid-template-columns: 42% 58%; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 3px 12px rgba(3,17,29,.08); transition: transform .22s ease, box-shadow .22s ease; }
.blog__grid article:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(3,17,29,.12); }
.blog__grid img { width: 100%; height: 100%; min-height: 122px; object-fit: cover; }
.blog__grid div { display: flex; flex-direction: column; align-items: flex-start; padding: 13px 15px; }
.blog__grid h3 { margin: 0; color: var(--navy); font-size: 13px; line-height: 1.35; }
.blog__grid time { margin-top: 9px; color: #7a838b; font-size: 10px; }
.blog__grid a { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; color: #c0852f; font-size: 11px; font-weight: 700; }
.blog__grid a .lucide { width: 14px; height: 14px; }

.faq { padding-top: 8px; background: var(--white); }
.faq .section-heading { margin-bottom: 14px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.faq__column { min-width: 0; }
.faq-item { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 6px; padding: 0 20px; border: 1px solid var(--line); border-radius: 2px; color: var(--navy); background: #fff; box-shadow: 0 2px 8px rgba(3,17,29,.06); text-align: left; font-size: 12px; font-weight: 700; cursor: pointer; }
.faq-item > .lucide { width: 17px; height: 17px; color: var(--navy); stroke-width: 2.3; }
.faq-panel { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .22s ease; border-inline: 1px solid transparent; }
.faq-panel.is-open { grid-template-rows: 1fr; border-color: var(--line); border-bottom: 1px solid var(--line); }
.faq-panel p { min-height: 0; overflow: hidden; margin: 0; padding: 0 20px; color: var(--muted); font-size: 12px; }
.faq-panel.is-open p { padding-block: 14px; }

.contact { color: var(--white); background: var(--navy); }
.contact__grid { min-height: 320px; display: grid; grid-template-columns: 34% 32% 34%; }
.contact__form { padding: 18px max(50px, calc((100vw - 1700px) / 2)) 18px max(50px, calc((100vw - 1700px) / 2)); background: linear-gradient(110deg, #061c2f, #031522); }
.contact__form h2 { color: var(--white); font-size: 30px; }
.contact__form > p { margin: 0 0 10px; font-size: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact__form label { display: block; }
.contact__form input, .contact__form select, .contact__form textarea, .newsletter input { width: 100%; min-height: 37px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; color: var(--white); background: rgba(255,255,255,.03); font-size: 11px; }
.contact__form select { margin-top: 7px; }
.contact__form option { color: var(--ink); }
.contact__form textarea { min-height: 72px; margin-top: 7px; resize: vertical; }
.contact__form input::placeholder, .contact__form textarea::placeholder { color: rgba(255,255,255,.62); opacity: 1; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.form-actions .btn { min-height: 45px; padding-inline: 12px; font-size: 11px; }
.form-status { min-height: 18px; margin: 4px 0 0; color: var(--gold-light); font-size: 10px; }
.contact__map { position: relative; min-height: 320px; overflow: hidden; background: #e8ecef; }
.contact__map iframe { width: 100%; height: 100%; min-height: 320px; display: block; border: 0; }
.contact__map > a { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 3px; color: var(--white); background: rgba(3,17,29,.9); box-shadow: 0 5px 16px rgba(3,17,29,.22); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.contact__map > a .lucide { width: 14px; height: 14px; }
.contact__details { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 32px max(50px, calc((100vw - 1700px) / 2)) 32px 70px; background: linear-gradient(135deg, #061b2e, #03131f); }
.contact__detail { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 14px; }
.contact__detail > .lucide, .contact__detail > .brand-icon { width: 21px; height: 21px; margin-top: 1px; color: var(--gold-light); stroke-width: 2; }
.contact__details address, .contact__details p { margin: 0; color: rgba(255,255,255,.94); font-size: 13px; font-style: normal; line-height: 1.55; }
.contact__divider { vertical-align: middle; }

.newsletter { padding: 26px 0; color: var(--navy); background: #e0b157; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.newsletter p { margin: 0; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.newsletter h2 { font-size: 28px; }
.newsletter form { width: min(520px, 46vw); display: flex; }
.newsletter input { margin: 0; min-height: 48px; color: var(--ink); background: var(--white); border: 0; border-radius: 2px 0 0 2px; }
.newsletter .btn { min-height: 48px; }

.footer { padding: 38px 0 16px; color: rgba(255,255,255,.76); background: var(--navy-deep); }
.footer__grid { display: grid; grid-template-columns: 1.3fr .5fr .9fr; gap: 60px; }
.footer img { width: 360px; max-height: 74px; object-fit: contain; object-position: left; margin-bottom: 14px; }
.footer h3 { margin: 0 0 12px; color: var(--gold-light); font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; }
.footer a { display: block; margin-bottom: 7px; }
.footer p { margin: 0 0 7px; font-size: 13px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }

.whatsapp-float, .back-to-top { position: fixed; z-index: 60; right: 18px; width: 50px; height: 50px; border: 0; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.24); font-weight: 800; cursor: pointer; }
.whatsapp-float { bottom: 18px; color: var(--white); background: #1faf5b; }
.whatsapp-float .brand-icon { width: 27px; height: 27px; }
.back-to-top { bottom: 78px; color: var(--navy); background: var(--gold); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.back-to-top .lucide { width: 23px; height: 23px; stroke-width: 2.4; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1380px) {
  .shell { width: min(100% - 70px, 1700px); }
  .topbar__cta { min-width: 170px; }
  .brand { flex-basis: 370px; }
  .brand img { width: 370px; }
  .main-nav { gap: 30px; }
  .hero h1 { font-size: 46px; }
  .stats article { padding-inline: 20px; gap: 17px; }
  .practice-slider { --slider-gap: 14px; }
  .practice__grid article { flex-basis: calc((100% - 56px) / 5); }
  .practice__grid h3 { font-size: 16px; }
  .team-carousel { padding-inline: 52px; }
  .team__track { gap: 18px; }
  .team-card { flex-basis: calc((100% - 54px) / 4); }
  .team-card h3 { font-size: 16px; }
  .process__grid { gap: 24px; }
  .contact__form { padding-inline: 35px; }
  .contact__details { padding-left: 42px; padding-right: 35px; }
}

@media (max-width: 1080px) {
  .topbar__meta .topbar__item:first-child { display: none; }
  .site-header { height: 92px; }
  .brand { flex-basis: 330px; min-width: 250px; }
  .brand img { width: 330px; }
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 12px; }
  .hero, .hero__inner { min-height: 640px; }
  .hero h1 { font-size: 42px; }
  .hero__copy { width: 720px; max-width: 72vw; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats article:nth-child(2) { border-right: 0; }
  .stats article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .about__grid { grid-template-columns: 1fr 1.2fr; }
  .about__quote { grid-column: 1 / -1; }
  .trusted-slider { --items-per-view: 4; --slider-gap: 18px; }
  .trusted__item { flex-basis: calc((100% - 54px) / 4); }
  .practice-slider { --items-per-view: 3; --slider-gap: 16px; }
  .practice__grid article { flex-basis: calc((100% - 32px) / 3); }
  .process__timeline { max-width: 720px; margin-inline: auto; }
  .process__grid { grid-template-columns: 1fr; gap: 18px; }
  .process__grid article { min-height: 92px; display: grid; grid-template-columns: 86px 1fr; align-items: center; text-align: left; }
  .process__rail { top: 36px; bottom: 36px; left: 35px; right: auto; width: 3px; height: auto; }
  .process__progress { width: 100%; height: var(--process-progress); }
  .process__marker { top: var(--process-progress); left: 50%; }
  .process__icon { width: 72px; height: 72px; margin: 0; }
  .process__icon .lucide { width: 32px; height: 32px; }
  .process__grid h3 { margin-bottom: 5px; }
  .process__grid p br { display: block; }
  .success-carousel, .testimonial-carousel { --items-per-view: 2; --slider-gap: 18px; }
  .success-card, .testimonial-card { flex-basis: calc((100% - 18px) / 2); }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__form { padding: 30px 35px; }
  .contact__map { min-height: 350px; }
  .contact__details { grid-column: 1 / -1; padding: 30px 7%; display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 82px; }
  .shell { width: min(100% - 36px, 1700px); }
  .topbar { display: none; }
  .site-header, .site-header.is-scrolled { top: 0; height: 82px; background: rgba(3,17,29,.94); }
  .brand { min-width: 0; flex-basis: 300px; }
  .brand img { width: 300px; max-height: 62px; }
  .menu-toggle { display: flex; flex: 0 0 44px; }
  .main-nav { position: fixed; inset: 82px 0 auto; height: auto; display: grid; gap: 0; padding: 10px 28px 24px; background: rgba(3,17,29,.99); border-top: 1px solid rgba(255,255,255,.14); transform: translateY(-125%); transition: transform .24s ease; }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { min-height: 50px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; }
  .main-nav a::after { bottom: 6px; }
  .hero, .hero__inner { min-height: 610px; }
  .hero { background-position: 59% center; }
  .hero__inner { padding-top: 72px; }
  .hero__copy { width: 620px; max-width: 86vw; }
  .hero h1 { font-size: 46px; }
  .trusted-slider { --items-per-view: 3; }
  .trusted__item { flex-basis: calc((100% - 36px) / 3); }
  .about__grid { grid-template-columns: 1fr; }
  .about__image img { max-height: 420px; }
  .about__quote { grid-column: auto; }
  .practice-slider { --items-per-view: 2; }
  .practice__grid article { flex-basis: calc((100% - 16px) / 2); }
  .testimonial-carousel { --items-per-view: 1; }
  .testimonial-card { flex-basis: 100%; }
  .faq__grid { grid-template-columns: 1fr; gap: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__details { grid-column: auto; grid-template-columns: 1fr; }
  .newsletter__inner { align-items: stretch; flex-direction: column; }
  .newsletter form { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .team-carousel { --cards-per-view: 2; padding-inline: 50px; }
  .team__track { gap: 18px; }
  .team-card { flex-basis: calc((100% - 18px) / 2); }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1700px); }
  .brand { flex-basis: 230px; }
  .brand img { width: 230px; }
  .hero { background-position: 63% center; }
  .hero, .hero__inner { min-height: 600px; }
  .hero__overlay { background: linear-gradient(90deg, rgba(3,17,29,.97), rgba(3,17,29,.78) 72%, rgba(3,17,29,.45)); }
  .hero__copy { width: 100%; max-width: 100%; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 15px; }
  .desktop-only { display: none; }
  .hero__actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .btn { width: 100%; padding-inline: 15px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats article { min-height: 98px; justify-content: flex-start; padding-left: 20%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stats article:last-child { border-bottom: 0; }
  .trusted-slider { --items-per-view: 2; --slider-gap: 14px; padding-inline: 38px; }
  .trusted__item { flex-basis: calc((100% - 14px) / 2); font-size: 16px; }
  .trusted__item--sans { font-size: 18px; }
  .trusted__item--compact { font-size: 12px; }
  .slider__meter { left: 38px; right: 38px; }
  .section { padding: 46px 0; }
  .section-heading h2, .about h2, .blog h2 { font-size: 36px; }
  .about__quote { min-height: 0; padding-left: 22px; font-size: 22px; }
  .practice-slider { --items-per-view: 1; padding-inline: 46px; }
  .practice__grid article { flex-basis: 100%; }
  .blog__grid { grid-template-columns: 1fr; }
  .practice__grid article { min-height: 190px; }
  .practice__grid article > a { min-height: 190px; }
  .process__grid { gap: 14px; }
  .process__grid article { grid-template-columns: 70px 1fr; min-height: 80px; }
  .process__rail { left: 29px; }
  .process__icon { width: 60px; height: 60px; }
  .process__icon .lucide { width: 27px; height: 27px; }
  .team > .shell { width: min(100% - 28px, 1900px); }
  .team-carousel { --cards-per-view: 1; padding: 0 0 42px; }
  .team__track { gap: 14px; }
  .team-card { flex-basis: 100%; }
  .team-card img { aspect-ratio: 1 / 1; }
  .team-carousel__control { top: calc(50% - 42px); width: 42px; height: 42px; background: rgba(3,17,29,.82); }
  .team-carousel__control--prev { left: 8px; }
  .team-carousel__control--next { right: 8px; }
  .team__action .btn { min-width: 0; }
  .content-slider { padding: 0 46px 42px; }
  .success-carousel { --items-per-view: 1; }
  .success-card { flex-basis: 100%; }
  .testimonial-card { padding-inline: 22px; }
  .blog__head { align-items: stretch; flex-direction: column; }
  .blog__head .btn { width: 100%; }
  .blog__grid article { grid-template-columns: 39% 61%; }
  .form-row, .form-actions { grid-template-columns: 1fr; }
  .contact__map { min-height: 280px; }
  .contact__details { padding-inline: 24px; }
  .newsletter form { display: grid; grid-template-columns: 1fr; }
  .newsletter input { border-radius: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > div:first-child { grid-column: auto; }
  .footer img { width: 100%; max-width: 330px; }
  .footer__bottom { flex-direction: column; }
  .whatsapp-float, .back-to-top { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* WordPress compatibility */
.admin-bar .site-header.is-scrolled { top: 32px; }
.wp-content-shell { padding-top: 190px; min-height: 70vh; background: var(--ivory); }
.percival-singular { max-width: 980px; }
.percival-singular h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(42px, 6vw, 72px); line-height: 1; }
.entry-content { font-size: 17px; line-height: 1.8; }
.entry-content > * + * { margin-top: 1.2em; }
.wp-featured { margin: 32px 0; }
.wp-featured img { width: 100%; height: auto; }
.wp-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.wp-post-card { overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.wp-post-card > a img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.wp-post-card__body { padding: 24px; }
.wp-post-card h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; line-height: 1.05; }
.wp-post-meta { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { padding: 10px 14px; background: #fff; border: 1px solid var(--line); }
.page-numbers.current { background: var(--gold); color: var(--navy); }
@media (max-width: 782px) { .admin-bar .site-header.is-scrolled { top: 46px; } }
@media (max-width: 900px) { .wp-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .wp-post-grid { grid-template-columns: 1fr; } .wp-content-shell { padding-top: 150px; } }


/* =========================================================
   VERSION 2 — PROFESSIONAL PROFILES
========================================================= */

.profile-page,
.team-directory {
  background: var(--ivory);
}

.profile-hero,
.directory-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(201,149,56,.18), transparent 28%),
    linear-gradient(115deg, var(--navy-deep), var(--navy-mid));
}

.profile-hero {
  padding: 205px 0 78px;
}

.profile-hero::after,
.directory-hero::after {
  position: absolute;
  inset: auto -8% -52% 38%;
  width: 820px;
  height: 520px;
  border: 1px solid rgba(201,149,56,.16);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.profile-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 470px) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

.profile-hero__photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.01));
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.profile-hero__photo::before {
  position: absolute;
  inset: 20px;
  z-index: 1;
  border: 1px solid rgba(201,149,56,.38);
  content: "";
  pointer-events: none;
}

.profile-hero__photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: top center;
}

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-back:hover {
  color: var(--gold-light);
}

.profile-back .lucide {
  width: 17px;
  height: 17px;
}

.profile-kicker {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.profile-hero h1,
.directory-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.025em;
}

.profile-tagline {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.55;
}

.profile-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 32px;
}

.profile-contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 700;
}

.profile-contact-row a:hover {
  color: var(--gold-light);
}

.profile-contact-row .lucide {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

.profile-contact-row span {
  padding-left: 8px;
  color: var(--gold-light);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 35px;
}

.profile-main {
  padding: 95px 0;
}

.profile-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: start;
}

.section-heading--left {
  align-items: flex-start;
  text-align: left;
}

.profile-biography .entry-content {
  max-width: 800px;
  color: #33404b;
  font-size: 18px;
  line-height: 1.85;
}

.profile-biography .entry-content p + p {
  margin-top: 1.3em;
}

.profile-sidebar {
  display: grid;
  gap: 22px;
}

.profile-panel {
  padding: 30px;
  border: 1px solid rgba(6,26,43,.11);
  background: var(--white);
  box-shadow: 0 15px 38px rgba(3,17,29,.07);
}

.profile-panel h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.profile-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-panel li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: #40505d;
  font-size: 14px;
  line-height: 1.5;
}

.profile-panel li .lucide {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold);
}

.profile-panel--contact {
  color: var(--white);
  background: var(--navy);
}

.profile-panel--contact h2 {
  color: var(--white);
}

.profile-panel--contact p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.7;
}

.profile-panel--contact p:last-child {
  margin-bottom: 0;
}

.profile-panel--contact a {
  color: var(--gold-light);
  overflow-wrap: anywhere;
}

.profile-cta {
  padding: 56px 0;
  color: var(--white);
  background: linear-gradient(110deg, #082338, #03111d);
}

.profile-cta__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.profile-cta p {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.profile-cta h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.directory-hero {
  padding: 210px 0 90px;
  text-align: center;
}

.directory-hero .shell {
  position: relative;
  z-index: 1;
}

.directory-hero p:last-child {
  width: min(760px, 100%);
  margin: 22px auto 0;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  line-height: 1.7;
}

.directory-main {
  padding: 86px 0 105px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.directory-card {
  overflow: hidden;
  border: 1px solid rgba(6,26,43,.09);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(3,17,29,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.directory-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 23px 55px rgba(3,17,29,.13);
}

.directory-card__photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: #d8d6d2;
}

.directory-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .45s ease;
}

.directory-card:hover .directory-card__photo img {
  transform: scale(1.025);
}

.directory-card__body {
  position: relative;
  min-height: 315px;
  padding: 27px 25px 30px;
}

.directory-card__body > p:first-child {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.directory-card h2 {
  min-height: 58px;
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: .98;
}

.directory-card__excerpt {
  min-height: 72px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.directory-card__excerpt p {
  margin: 0;
}

.directory-card__email {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.directory-card__ext {
  display: inline-block;
  margin-top: 7px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.directory-card .text-link {
  position: absolute;
  right: 25px;
  bottom: 25px;
  left: 25px;
}

.team-card h3 {
  min-height: 44px;
}

.team-card > div > p {
  min-height: 36px;
}

@media (max-width: 1180px) {
  .directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .profile-hero { padding-top: 180px; }
  .profile-hero__grid { grid-template-columns: minmax(250px, 360px) minmax(0, 1fr); gap: 40px; }
  .profile-hero__photo,
  .profile-hero__photo img { min-height: 460px; }
  .profile-main__grid { grid-template-columns: 1fr; }
  .profile-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-panel--contact { grid-column: 1 / -1; }
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .profile-hero { padding: 145px 0 58px; }
  .profile-hero__grid { grid-template-columns: 1fr; }
  .profile-hero__photo { min-height: 0; aspect-ratio: 4 / 4.7; }
  .profile-hero__photo img { min-height: 0; height: 100%; }
  .profile-hero h1 { font-size: clamp(49px, 15vw, 70px); }
  .profile-main { padding: 65px 0; }
  .profile-sidebar { grid-template-columns: 1fr; }
  .profile-panel--contact { grid-column: auto; }
  .profile-cta__inner { align-items: flex-start; flex-direction: column; }
  .directory-hero { padding: 155px 0 68px; }
  .directory-grid { grid-template-columns: 1fr; }
  .directory-card__body { min-height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  .directory-card,
  .directory-card__photo img {
    transition: none;
  }
}


/* =========================================================
   Percival Page WordPress Version 11
   Mobile refinement and updated professional roles
========================================================= */

section[id] {
  scroll-margin-top: 104px;
}

.trusted__mobile-grid {
  display: none;
}

.team-card > div {
  min-height: 218px;
}

.team-card > div > p {
  min-height: 74px;
  max-width: 95%;
  font-size: 12px;
  line-height: 1.45;
}

.team-card h3 {
  min-height: 48px;
}

@media (max-width: 820px) {
  section[id] {
    scroll-margin-top: 94px;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 94px;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .site-header,
  .site-header.is-scrolled {
    height: 82px;
  }

  /* The first viewport is reserved for the welcome message. */
  .hero,
  .hero__inner {
    min-height: 100svh;
  }

  .hero {
    background-position: 61% center;
  }

  .hero__inner {
    align-items: center;
    padding-top: 106px;
    padding-bottom: 38px;
  }

  .hero__copy {
    max-width: 390px;
    margin-right: auto;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(31px, 9.1vw, 38px);
    line-height: 1.05;
    letter-spacing: -.018em;
  }

  .hero .gold-rule {
    width: 54px;
    margin-top: 20px;
  }

  .hero p {
    max-width: 350px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero__actions {
    max-width: 390px;
    margin-top: 25px;
  }

  .hero__actions .btn--gold {
    display: none;
  }

  .hero__actions .btn--outline {
    min-height: 60px;
    border-width: 1.5px;
    background: rgba(3,17,29,.42);
    font-size: 13px;
  }

  /* Statistics become visible only after the user scrolls. */
  .stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats article {
    min-height: 142px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    justify-content: center;
    gap: 12px;
    padding: 20px 12px;
    border-right: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);
  }

  .stats article:nth-child(2n) {
    border-right: 0;
  }

  .stats article:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
  }

  .stats strong {
    font-size: 38px;
  }

  .stats p {
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.35;
    white-space: normal;
  }

  /* A stable 2 x 2 trust panel is easier to read than a moving strip. */
  .trusted-slider {
    display: none;
  }

  .trusted__mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .trusted__mobile-item {
    min-height: 74px;
    display: grid;
    place-items: center;
    padding: 12px 8px;
    border: 1px solid rgba(6,26,43,.1);
    border-radius: 4px;
    color: #70767a;
    background: #fff;
    box-shadow: 0 4px 14px rgba(3,17,29,.06);
    text-align: center;
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 700;
  }

  .trusted__mobile-item--sans {
    font-family: Arial, sans-serif;
    font-size: 19px;
  }

  .trusted__mobile-item--compact {
    font-family: Arial, sans-serif;
    font-size: 13px;
  }

  .trusted__title {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.45;
  }

  /* Four articles in an orderly 2 x 2 presentation. */
  .blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .blog__grid article {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .blog__grid img {
    width: 100%;
    height: 112px;
    min-height: 112px;
  }

  .blog__grid div {
    min-height: 164px;
    padding: 12px;
  }

  .blog__grid h3 {
    font-size: 11px;
    line-height: 1.35;
  }

  .blog__grid time,
  .blog__grid a {
    font-size: 9px;
  }

  /* Ten questions maximum; refined vertical rhythm. */
  .faq {
    padding-top: 38px;
  }

  .faq .section-heading {
    margin-bottom: 22px;
  }

  .faq__grid {
    gap: 0;
  }

  .faq-item {
    min-height: 58px;
    padding: 10px 15px;
    font-size: 12px;
    line-height: 1.35;
  }

  /* Contact information and footer are arranged in two columns. */
  .contact__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    padding: 28px 18px;
  }

  .contact__detail {
    align-items: flex-start;
    min-width: 0;
  }

  .contact__detail:first-child,
  .contact__detail:last-child {
    grid-column: 1 / -1;
  }

  .contact__detail p,
  .contact__detail address,
  .contact__detail a {
    overflow-wrap: anywhere;
    font-size: 10px;
    line-height: 1.5;
  }

  .newsletter {
    padding: 22px 0;
  }

  .newsletter__inner {
    gap: 16px;
  }

  .newsletter h2 {
    font-size: 25px;
    line-height: 1.05;
  }

  .newsletter form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .newsletter input {
    min-width: 0;
    min-height: 48px;
    border-radius: 2px 0 0 2px;
  }

  .newsletter .btn {
    width: auto;
    min-width: 132px;
    padding-inline: 14px;
    border-radius: 0 2px 2px 0;
    font-size: 11px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .footer__grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer img {
    max-width: 310px;
  }

  .footer nav,
  .footer__grid > div:last-child {
    min-width: 0;
  }

  .footer a,
  .footer p {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .footer__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 9px;
  }

  .footer__bottom span:last-child {
    text-align: right;
  }

  .whatsapp-float {
    right: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .back-to-top {
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .team-card > div {
    min-height: 230px;
    padding: 19px 14px;
  }

  .team-card > div > p {
    min-height: 86px;
    font-size: 12px;
    line-height: 1.42;
  }

  .team-card h3 {
    min-height: 46px;
    font-size: 17px;
  }
}

@media (max-width: 390px) {
  .brand {
    flex-basis: 218px;
  }

  .brand img {
    width: 218px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .stats article {
    grid-template-columns: 36px minmax(0, 1fr);
    padding-inline: 9px;
  }

  .stat-icon {
    width: 33px;
    height: 33px;
  }

  .stats strong {
    font-size: 34px;
  }

  .newsletter .btn {
    min-width: 118px;
    font-size: 10px;
  }
}
