/* Inner pages: page heroes, split blocks, card grids, FAQ, team, contact and blog. Builds on the tokens and components in site.css. */

/* ---------- Page heroes ---------- */
.hero.hero-page, .hero.hero-simple { min-height: 0; }
.hero-page .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 68px) clamp(56px, 6vw, 84px); }
.hero-page.has-stats .hero-grid { padding-bottom: clamp(128px, 12vw, 156px); }
.hero-page .hero-copy { align-items: flex-start; text-align: left; max-width: none; gap: 22px; }
.hero-page h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.08; }
.hero-page .hero-actions { justify-content: flex-start; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero-tags li { padding: 8px 14px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--on-night-line); color: var(--on-night); font: 500 0.84rem/1 var(--font-display); }
.hero-tagline { color: var(--on-night-muted); font: 600 0.8rem/1 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; }
.hero-simple .hero-grid { padding-block: clamp(48px, 7vw, 92px) clamp(56px, 7vw, 96px); }
.hero-simple.has-stats .hero-grid { padding-bottom: clamp(136px, 13vw, 168px); }
.hero-simple h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.92rem; color: var(--on-night-muted); }
.crumbs a { display: inline-block; padding-block: 2px; text-decoration: none; color: var(--on-night-muted); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: 62%; margin: 0; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 62%); mask-image: linear-gradient(to right, transparent 0%, #000 62%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(130, 87, 255, 0.28) 0%, rgba(8, 10, 28, 0) 45%, rgba(8, 10, 28, 0.45) 100%); }

/* ---------- Split text and photo ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split .section-head { margin-bottom: 20px; }
.split .photo img { aspect-ratio: 4 / 3; }
.split.reverse .photo { order: -1; }
.split-action { margin-top: 26px; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose p { color: var(--muted); }
.checks { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; }
.checks li::before { content: "\2713"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 0.85rem/1 var(--font-body); }
.checks strong { font-family: var(--font-display); font-weight: 600; }

/* ---------- Card grids ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile .kicker, .post-body .kicker { font: 600 0.78rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); }
.tile .tags { margin-top: auto; padding-top: 14px; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote::before { content: "\201C"; display: block; height: 30px; font: 700 3.4rem/1 var(--font-display); color: var(--violet); }
.quote blockquote p { color: var(--ink); font-size: 1.04rem; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.quote figcaption img { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.quote figcaption strong { font: 600 1rem/1.2 var(--font-display); }
.quote figcaption span { color: var(--muted); font-size: 0.9rem; }
.tile .tags li { font-size: 0.8rem; padding: 7px 12px; }
.minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.minis li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.minis li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.minis .icon { margin: 0; width: 52px; height: 52px; border-radius: 16px; }
.minis strong { display: block; font: 600 1.02rem/1.3 var(--font-display); }
.minis span { display: block; color: var(--muted); font-size: 0.94rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips-note { margin-top: 22px; text-align: center; color: var(--muted); font: 600 0.95rem/1.4 var(--font-display); }
.growth-action { margin-top: 26px; text-align: center; }
.intro-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(26px, 4vw, 56px); border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid var(--line); }
.intro-panel.single { grid-template-columns: minmax(0, 1fr); max-width: 920px; margin-inline: auto; text-align: center; }
.intro-lead { display: flex; flex-direction: column; gap: 16px; }
.intro-panel.single .intro-lead { align-items: center; }
.intro-lead h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }
.intro-lead .lead { color: var(--ink); font: 500 clamp(1.12rem, 1.55vw, 1.38rem)/1.5 var(--font-display); letter-spacing: -0.01em; }
.intro-points { display: flex; flex-direction: column; gap: 14px; }
.intro-points li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 16px; padding: 18px 22px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 34px -26px rgba(14, 17, 48, 0.35); }
.intro-points li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--grad); }
.intro-points p { color: var(--muted); }
.band { margin-top: clamp(20px, 2.4vw, 32px); padding-block: 18px; overflow: hidden; background: var(--card); border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.band-track { display: flex; width: max-content; animation: band-scroll 40s linear infinite; }
.band.long .band-track { animation-duration: 70s; }
.band:hover .band-track, .band:focus-within .band-track, .band:active .band-track { animation-play-state: paused; }
.band ul { flex: none; display: flex; }
.band li { display: flex; align-items: center; gap: 28px; padding-left: 28px; white-space: nowrap; font: 500 0.98rem/1 var(--font-display); }
.band li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); opacity: 0.6; }
.band a { display: inline-flex; align-items: center; gap: 10px; padding-block: 13px; margin-block: -13px; color: inherit; text-decoration: none; transition: color .2s; }
.band a:hover { color: var(--violet); }
.band a svg { width: 18px; height: 18px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.band .band-label { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); }
@keyframes band-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .band { -webkit-mask-image: none; mask-image: none; }
  .band-track { width: auto; }
  .band ul { flex: 1; flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  .band ul[aria-hidden] { display: none; }
}
.chips li { padding: 13px 22px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 500 0.98rem/1 var(--font-display); transition: transform .25s, border-color .25s, color .25s; }
.chips li:hover { transform: translateY(-3px); border-color: var(--violet); color: var(--violet); }

/* ---------- Process with more than four steps ---------- */
.process.multi { row-gap: 36px; }
.process.multi::before { display: none; }

/* ---------- Outcomes ---------- */
.stats.flat { box-shadow: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font: 600 1.05rem/1.35 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); color: var(--violet); font: 500 1.4rem/1 var(--font-body); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 70ch; }
.faq-note { max-width: 880px; margin: 26px auto 0; text-align: center; color: var(--muted); }
.faq-note a { display: inline-block; padding-block: 10px; color: var(--blue); font-weight: 600; text-decoration: none; }
.faq-note a:hover { text-decoration: underline; }
.faq-facts { max-width: 880px; margin: 18px auto 0; }

/* ---------- CTA contact list ---------- */
.places a { display: inline-block; padding-block: 6px; margin-block: -6px; color: inherit; text-decoration: none; }
.places a:hover { text-decoration: underline; }
.cta-note { font-size: 0.92rem; opacity: 0.8; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.member { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 28px; text-align: center; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; margin-bottom: 18px; }
.member span { color: var(--violet); font: 600 0.82rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.hero-contact .hero-grid { flex: none; padding-block: clamp(40px, 5vw, 68px) clamp(20px, 2.5vw, 32px); }
.hero-contact > .wrap { width: 100%; }
.world-stage { position: relative; max-width: 1040px; margin: 0 auto clamp(110px, 10vw, 140px); }
.world-stage img { width: 100%; height: auto; opacity: 0.7; }
/* Short laptop screens (1366 by 768): shrink the heading and the map so the whole map and the top of the office cards fit on the first screen. */
@media (min-width: 1081px) and (max-height: 720px) {
  .hero-contact .hero-grid { padding-block: 22px 10px; }
  .hero-contact h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
  .hero-contact .lede { font-size: 1.05rem; }
  .hero-contact .hero-actions { margin-top: 2px; }
  .world-stage { max-width: clamp(420px, calc((100vh - 440px) * 2.54), 1040px); margin: 34px auto 104px; }
}
.world-arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.world-pin { position: absolute; width: 0; height: 0; }
.pin-uk { left: 49.84%; top: 22.88%; }
.pin-in { left: 71.8%; top: 46.91%; }
.world-pin .dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(130, 87, 255, 0.55), 0 0 22px 6px rgba(130, 87, 255, 0.8); }
.world-pin .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #b79bff; animation: ping 2.4s ease-out infinite; }
.world-pin .label { position: absolute; white-space: nowrap; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.96); color: var(--ink); font-size: 0.82rem; line-height: 1.35; box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6); }
.world-pin .label strong { display: block; font: 600 0.95rem/1.3 var(--font-display); }
.pin-uk .label { right: 18px; bottom: 14px; }
.pin-in .label { left: 18px; top: 14px; }
@keyframes ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.4); opacity: 0; } }
.offices-wrap { position: relative; z-index: 2; margin-top: clamp(-104px, -8vw, -84px); }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1040px; margin-inline: auto; }
.office { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 32px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px -28px rgba(14, 17, 48, 0.45); transition: transform .3s, box-shadow .3s; }
.office:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -28px rgba(14, 17, 48, 0.55); }
.office-head { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.office-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.office .flag { flex: none; width: 60px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -6px rgba(14, 17, 48, 0.4); }
.office-time { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); font: 500 0.82rem/1 var(--font-display); }
.office-time[hidden] { display: none; }
.office-time time { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.office-time .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: office-pulse 2s ease-in-out infinite; }
@keyframes office-pulse { 50% { opacity: 0.35; } }
.office .flag svg { width: 100%; height: auto; }
.office .kicker { font: 600 0.78rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); }
.office h3 { font-size: 1.55rem; letter-spacing: -0.02em; }
.office-rows { align-self: stretch; display: flex; flex-direction: column; margin-top: 10px; }
.office-rows li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 16px; border-top: 1px solid var(--line); }
.office-rows .icon { margin: 0; width: 44px; height: 44px; border-radius: 14px; }
.office-rows .icon svg { width: 21px; height: 21px; }
.office-rows .label { display: block; margin-bottom: 2px; color: var(--muted); font: 600 0.78rem/1.6 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
.office-rows a { display: inline-block; padding-block: 2px; color: var(--blue); text-decoration: none; font-weight: 500; }
.office-rows a:hover { text-decoration: underline; }
.office-foot { align-self: stretch; margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 16px; }

/* ---------- Point of contact ---------- */
.person { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--grad-soft); }
.person img { width: 200px; height: 200px; border-radius: 28px; object-fit: cover; object-position: top; box-shadow: var(--shadow); }
.person-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.person-copy .role { color: var(--violet); font: 600 0.82rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
.person-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.person-links a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: var(--card); text-decoration: none; font: 600 0.95rem/1 var(--font-display); box-shadow: 0 10px 26px -14px rgba(14, 17, 48, 0.4); transition: transform .2s, color .2s; }
.person-links a:hover { transform: translateY(-3px); color: var(--blue); }
.person-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.posts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .cover { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.post-card:hover .cover img { transform: scale(1.06); }
.post-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 26px 28px; }
.post-body p { color: var(--muted); font-size: 0.98rem; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font: 500 0.84rem/1.3 var(--font-display); }
.meta span + span::before { content: "\00b7"; margin-right: 14px; }
.article { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 28px; }
.article .photo img { aspect-ratio: 16 / 9; }
.article .lead { font-size: 1.3rem; line-height: 1.6; color: var(--ink); }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: inline-flex; flex-direction: column; gap: 6px; max-width: 46%; text-decoration: none; font: 600 1rem/1.35 var(--font-display); }
.post-nav a:hover { color: var(--blue); }
.post-nav small { color: var(--muted); font: 600 0.76rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
.post-nav .next { margin-left: auto; text-align: right; align-items: flex-end; }

/* ---------- Footer contact ---------- */
.site-footer .footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-page .hero-grid, .split, .intro-panel { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { left: 0; width: auto; opacity: 0.36; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 78%); mask-image: linear-gradient(to bottom, transparent 0%, #000 78%); }
  .split.reverse .photo { order: 0; }
  .cards, .cards.four, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .cards, .cards.two, .cards.four, .posts, .posts.two, .team, .offices, .minis { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 1fr); }
  .world-stage { margin-top: 54px; }
  .world-pin .label { padding: 6px 10px; font-size: 0.75rem; border-radius: 10px; }
  .world-pin .label strong { font-size: 0.8rem; }
  .pin-in .label { left: auto; right: -34px; top: 14px; }
  .world-pin .dot { left: -5px; top: -5px; width: 10px; height: 10px; }
  .person img { width: 150px; height: 150px; }
  .office { padding: 30px 22px 24px; }
  .office .btn { width: 100%; }
  .office-foot { justify-content: center; }
  .post-nav a { max-width: 100%; }
  .hero-page .hero-actions .btn { width: 100%; }
}
