/* ===== About page redesign (preview) — same system as the home page: deep teal #14323A, mint #24DBAB, Zodiak headings ===== */
:root { --xa-deep: #14323a; --xa-deep2: #1a4145; --xa-mint: #24dbab; --xa-acc: #1ca684; --xa-ink: #10161d; --xa-text: #3c4650; }
main#main-content { font-family: 'Inter', system-ui, sans-serif; color: var(--xa-text); }
.xa-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.xa-h2 { margin: 0; font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: clamp(34px, 3vw, 54px); line-height: 1.08; letter-spacing: -0.02em; color: var(--xa-ink); }
.xa-center { text-align: center; }
.xa-sub { margin: 12px 0 0; font-size: 17px; color: #4a5560; }

/* 1 HERO: photo flush to the top and right edge; text sits on a frosted copy of the same photo */
.xa-hero { --xa-hd: 96px; --xa-gut: 40px; position: relative; min-height: clamp(520px, 43vw, 660px); display: flex; background: #14323a; color: #fff; overflow: hidden; isolation: isolate; }
.xa-hero-bg { position: absolute; inset: -60px; z-index: 0; background: url(/images/about-team.webp) 30% 45% / cover no-repeat; filter: blur(30px) saturate(1.05); transform: scale(1.1); }
.xa-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,50,58,.62) 0%, rgba(20,50,58,.38) 60%, rgba(20,50,58,.2) 100%); }
.xa-hero::before { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: calc(var(--xa-hd) + 40px); background: linear-gradient(180deg, rgba(12,30,36,.7) 0%, rgba(12,30,36,.3) 60%, rgba(12,30,36,0) 100%); pointer-events: none; }
.xa-hero-media { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 62%; margin: 0; }
.xa-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 14% 35%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%); mask-image: linear-gradient(90deg, transparent 0%, #000 7%); }
/* text column ends well before the photo; heading and first line share the same width */
.xa-hero-in { position: relative; z-index: 2; display: flex; align-items: center; width: 38%; padding: calc(var(--xa-hd) + 24px) var(--xa-gut) 40px; }
.xa-hero-text { display: block; }
.xa-h1 { margin: 0; white-space: nowrap; font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: clamp(38px, 4.5vw, 68px); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.xa-hero-sub, .xa-hero-foot { font: 500 clamp(12px, 1vw, 15.5px)/1.5 'Inter', sans-serif; letter-spacing: 0; color: #fff; }
.xa-hero-sub { margin: 32px 0 0; white-space: nowrap; }
.xa-hero-sub span { color: inherit; }
.xa-hero-foot { margin: 14px 0 0; }

/* 3 REVIEWS: clean, no frame; one quote at a time, arrows as on the home page */
.xa-quote { background: #fff; padding: clamp(44px, 4vw, 60px) 0; }
.xa-rev-h { text-align: center; font-size: clamp(32px, 2.9vw, 44px); margin-bottom: clamp(40px, 4vw, 56px); }
.xa-rvs { display: grid; align-items: center; max-width: 860px; margin: 0 auto; text-align: center; }
.xa-rcard { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.xa-rcard.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.xa-q { margin: 0; font: 400 clamp(19px, 1.65vw, 23px)/1.65 'Spectral', Georgia, serif; color: #22272e; }
.xa-by { margin-top: 22px; font: 600 14px/1.4 'Inter', sans-serif; letter-spacing: .02em; color: #66727d; }
.xa-src { margin-left: 8px; font-weight: 400; color: var(--xa-acc); }
.xa-rnav { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.xa-rbtn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: #66727d; cursor: pointer; transition: color .2s ease; }
.xa-rbtn:hover, .xa-rbtn:focus-visible { color: var(--xa-acc); }
/* 7 OFFICES: centred two-line heading, full-width glass cards */
.xa-map { position: relative; overflow: hidden; isolation: isolate; color: #f6f5f3; background: #14323a; padding: clamp(52px, 5vw, 72px) 0; }
.xa-map-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.xa-map-in { position: relative; }
.xa-map-h { margin: 0 auto; text-align: center; font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: clamp(28px, 2.7vw, 42px); line-height: 1.25; letter-spacing: -0.015em; color: #fff; }
.xa-offices { list-style: none; margin: clamp(44px, 4.5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.xa-offices a { display: block; height: 100%; padding: 30px 32px 28px; background: rgba(214,224,236,.1); border: 1px solid rgba(255,255,255,.08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #f4efe6; text-decoration: none; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: background-color .3s ease, transform .3s ease; }
.xa-offices a:hover { background: rgba(214,224,236,.18); transform: translateY(-3px); }
.xa-offices b { display: block; margin-bottom: 10px; font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: 22px; color: var(--xa-mint); }
.xa-offices span { display: block; font-size: 15px; line-height: 1.6; }
.xa-offices em { display: inline-block; margin-top: 14px; font-style: normal; font: 500 14px/1 'Inter', sans-serif; color: var(--xa-mint); }
/* A: glass towers photo in teal duotone */
.xm-a .xa-map-bg { background: linear-gradient(180deg, rgba(20,50,58,.55) 0%, rgba(20,50,58,.35) 45%, rgba(15,38,44,.85) 100%), url(/images/home-offices-bg.webp) center 40% / cover no-repeat; }
.xm-a .xa-map-bg::after { content: ''; position: absolute; inset: 0; background: #1a5a55; mix-blend-mode: color; }
/* B: architectural perspective grid with a horizon glow */
.xm-b { background: linear-gradient(180deg, #0f262c 0%, #14323a 55%, #1a4145 100%); }
.xm-b .xa-map-bg::before { content: ''; position: absolute; left: -50%; right: -50%; top: 30%; bottom: -80%; background-image: linear-gradient(rgba(124,233,204,.26) 1px, transparent 1px), linear-gradient(90deg, rgba(124,233,204,.26) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(520px) rotateX(62deg); transform-origin: 50% 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%); }
.xm-b .xa-map-bg::after { content: ''; position: absolute; left: 0; right: 0; top: 16%; height: 30%; background: radial-gradient(50% 50% at 50% 50%, rgba(36,219,171,.3) 0%, rgba(36,219,171,0) 70%); }
/* C: aurora light field */
.xm-c { background: #0f262c; }
.xm-c .xa-map-bg { background: radial-gradient(40% 55% at 15% 20%, rgba(36,219,171,.35) 0%, rgba(36,219,171,0) 70%), radial-gradient(45% 60% at 85% 30%, rgba(67,140,180,.38) 0%, rgba(67,140,180,0) 70%), radial-gradient(60% 50% at 50% 110%, rgba(45,92,90,.9) 0%, rgba(45,92,90,0) 70%), linear-gradient(180deg, #10282e 0%, #14323a 100%); filter: saturate(1.1); }

/* shooting line (same as home) */
.pv-sep { position: relative; height: 14px; }
.pv-sep i { position: absolute; display: block; }
.pv-sep i:nth-child(1) { left: 0; right: 0; top: 6px; height: 2px; background: linear-gradient(90deg, #24dbab, #2a9c80 60%, rgba(36,219,171,0)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.65,0,.35,1); }
.pv-sep i:nth-child(2) { top: 3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #24dbab; box-shadow: 0 0 14px 4px rgba(36,219,171,.55); opacity: 0; }
.pv-sep.in i:nth-child(1) { transform: scaleX(1); }
.pv-sep.in i:nth-child(2) { animation: xaComet 1.4s cubic-bezier(.65,0,.35,1); }
@keyframes xaComet { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: calc(70% - 4px); opacity: 0; } }

/* 2 WHO WE ARE: two-tone statement (Reevo) + body */
.xa-who { background: #fdfdfd; padding: clamp(64px, 7vw, 110px) 0; }
.xa-who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.xa-who-body p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.75; text-align: justify; hyphens: auto; }
.xa-who-body a { color: #1f4f55; text-decoration: none; transition: color .2s ease; }
.xa-who-body a:hover { color: var(--xa-acc); }

/* 3 QUOTE: framed serif quote with inline badge (Runlayer) */

/* 4 COURTS: tiles (Clarasight) */
.xa-courts { background: #f2f6f5; padding: clamp(44px, 4vw, 60px) 0; }
.xa-courts-h { font-size: clamp(30px, 2.9vw, 44px); line-height: 1.15; }
.xa-courts-h .xa-acc { color: var(--xa-acc); }
.xa-courts .xa-sub { margin: 16px 0 0; font: 400 clamp(17px, 1.4vw, 20px)/1.5 'Spectral', Georgia, serif; color: #4a5560; }
.xa-tiles { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.xa-tiles li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 34px 26px 30px; background: #fff; border-radius: 16px; box-shadow: 0 1px 0 rgba(16,22,29,.04); transition: transform .3s ease, box-shadow .3s ease; }
.xa-tiles li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16,22,29,.08); }
.xa-mono { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 64px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--xa-deep); font: 600 16px/1 'Inter', sans-serif; letter-spacing: .06em; color: var(--xa-deep); margin-bottom: 6px; }
.xa-tiles b { font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: 21px; color: var(--xa-ink); }
.xa-tiles span:last-child { font-size: 14.5px; line-height: 1.5; color: #4a5560; }

/* 5 WHAT WE DO: heading left, three ruled columns */
.xa-do { background: #fff; padding: clamp(44px, 4vw, 60px) 0; }
.xa-do-grid { display: grid; grid-template-columns: 1fr 3fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.xa-do-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.xa-do-cols h3 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #e6eaea; font: 600 14px/1.2 'Inter', sans-serif; letter-spacing: .01em; color: var(--xa-ink); }
.xa-do-cols ul { list-style: none; margin: 0; padding: 0; }
.xa-do-cols li + li { margin-top: 12px; }
.xa-do-cols a { font-size: 16px; color: var(--xa-text); text-decoration: none; transition: color .2s ease; }
.xa-do-cols a:hover { color: var(--xa-acc); }

/* 6 FAQ: question left in serif, answer right, hairlines */
.xa-state { background: #fff; padding: clamp(44px, 4vw, 60px) 0; }
.xa-state-q { margin: 0 auto; max-width: 860px; text-align: center; font: 400 clamp(19px, 1.65vw, 23px)/1.65 'Spectral', Georgia, serif; color: #22272e; }
.xa-state-q .xa-acc { color: var(--xa-acc); }
.xa-faq { background: #fdfdfd; padding: clamp(44px, 4vw, 60px) 0; }
.xa-faq .xa-h2 { text-align: center; font-size: clamp(32px, 2.9vw, 44px); margin-bottom: clamp(36px, 3.6vw, 52px); }
.xa-faq .xa-wrap { max-width: 1100px; }
.xa-qa { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 64px); padding: 34px 0; border-top: 1px solid #e3e8e8; }
.xa-qa:last-child { border-bottom: 1px solid #e3e8e8; }
.xa-qa h3 { margin: 0; font: 400 clamp(22px, 1.9vw, 28px)/1.2 'Zodiak', Georgia, serif; letter-spacing: -0.01em; color: var(--xa-ink); }
.xa-qa p { margin: 0; font: 400 18.5px/1.75 'Spectral', Georgia, serif; color: #22272e; text-align: justify; hyphens: auto; }

/* 7 OFFICES MAP BAND: dotted map with glowing pins (Rbbecon) */

/* 8 CTA: gradient band (same as the home band) */
.xa-cta { background: #fdfdfd; padding: 0 0 clamp(44px, 4vw, 60px); }
.xa-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(32px, 4vw, 56px) clamp(26px, 4vw, 60px); background: radial-gradient(60% 140% at 100% 0%, rgba(36,219,171,.55) 0%, rgba(36,219,171,0) 60%), radial-gradient(50% 120% at 0% 100%, rgba(10,30,36,.55) 0%, rgba(10,30,36,0) 70%), linear-gradient(115deg, #14323a 0%, #1a4145 30%, #1f6b5e 62%, #2a9c80 100%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%); }
.xa-band-h { margin: 0; max-width: none; font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.xa-call { flex: none; display: inline-flex; align-items: center; height: 54px; padding: 0 26px; border-radius: 999px; background: #fff; color: var(--xa-deep); font: 600 18px/1 'Inter', sans-serif; text-decoration: none; letter-spacing: .02em; transition: background-color .2s ease, color .2s ease; }
.xa-call:hover { background: var(--xa-mint); color: #0b2a2a; }

/* reveal on scroll */
.xa-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.xa-rv.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .xa-hero { display: block; min-height: 0; }
  .xa-hero-media { position: relative; top: auto; width: 100%; height: 62vw; margin-top: var(--xa-hd); }
  .xa-hero-media img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .xa-hero-in { width: 100%; padding: 8px 20px 40px; justify-content: center; }
  .xa-hero-text { display: block; }
  .xa-v2 .xa-hero-text { margin-left: 0; padding: 24px; }
  .xa-v2 .xa-hero-in { padding-left: var(--xa-gut); }
  .xa-hero-text { width: auto; max-width: 100%; text-align: center; }
  .xa-hero-sub { white-space: normal; font-size: clamp(10.5px, calc((100vw - 40px) / 29.6), 12px); }
  .xa-who-grid, .xa-do-grid, .xa-qa { grid-template-columns: 1fr; }
  .xa-tiles { grid-template-columns: 1fr 1fr; }
  .xa-do-cols { grid-template-columns: 1fr 1fr; }
  .xa-offices { grid-template-columns: 1fr; }
  .xa-map-h br { display: none; }
  .xa-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .xa-tiles, .xa-do-cols { grid-template-columns: 1fr; }
  .xa-who-body p { text-align: left; }
  .xa-h1 { font-size: clamp(30px, 8.6vw, 40px); }
}
@media (prefers-reduced-motion: reduce) { .xa-rv { opacity: 1; transform: none; transition: none; } .pv-sep i { transition: none !important; animation: none !important; } .pv-sep i:nth-child(1) { transform: none; } }

/* WHO WE ARE options (preview) */
.xw-label { padding: 16px 40px; background: #fff; border-top: 1px solid #e6eaea; font: 600 13px/1 'Inter', sans-serif; letter-spacing: .14em; color: #14323a; }
.xw-h { text-align: center; font-size: clamp(32px, 2.9vw, 44px); margin-bottom: clamp(36px, 3.6vw, 52px); }
/* 1: home "The Firm" treatment: centred title, one Spectral column, drop cap, emblem watermark */
.xw1 { background: #fdfdfd; padding: clamp(64px, 6vw, 96px) 32px clamp(72px, 7vw, 100px); overflow: hidden; }
.xw1-in { max-width: 1000px; margin: 0 auto; }
.xw1-body { position: relative; }
.xw1-mark { position: absolute; top: 50%; left: 50%; width: 620px; max-width: 90%; transform: translate(-50%, -50%); opacity: .15; filter: grayscale(1); z-index: 0; pointer-events: none; }
.xw1-body p { position: relative; z-index: 1; margin: 0 0 24px; font: 400 20px/34px 'Spectral', Georgia, serif; color: #22272e; text-align: justify; hyphens: auto; }
.xw1-body p:last-child { margin-bottom: 0; }
.xw1-drop { float: left; font: 600 81.6px/63.6px 'Cormorant Garamond', Georgia, serif; color: #1ca684; padding: 8px 12px 0 0; }
/* 2: three labelled rows */
.xw2 { background: #fdfdfd; padding: clamp(44px, 4vw, 60px) 32px; }
.xw2-in { max-width: 1100px; margin: 0 auto; }
.xw2-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 64px); padding: 34px 0; border-top: 1px solid #e3e8e8; }
.xw2-row:last-child { border-bottom: 1px solid #e3e8e8; }
.xw2-row h3 { margin: 0; font: 400 clamp(22px, 1.9vw, 28px)/1.2 'Zodiak', Georgia, serif; letter-spacing: -0.01em; color: #10161d; }
.xw2-row p { margin: 0; font: 400 18.5px/1.75 'Spectral', Georgia, serif; color: #22272e; text-align: justify; hyphens: auto; }
@media (max-width: 760px) {
  .xw2-row { grid-template-columns: 1fr; gap: 12px; }
  .xw1-body p, .xw2-row p { text-align: left; font-size: 17.5px; line-height: 1.7; }
}


/* hero: "Team" in the logo mint; heading width is matched to the subline by about.js */
.xa-h1 .xa-team { color: var(--xa-mint); }
