/* Legacy UK Investment Consultancy — site styles
   From "Legacy UK Brand Guideline_updated.pdf": UK division palette of Oxford Blue #0E2544,
   greyish blue #475971, light greyish blue #CDCED5 and white (a cooler, corporate look, deliberately
   different from Legacy Elite's navy and gold). Headings: Cormorant Garamond, with a key word in italics
   (<em>, first letter capitalised). Body: Inter. */
:root {
  --oxford: #0e2544;
  --oxford-deep: #091a31;
  --slate: #475971;
  --mist: #cdced5;
  --paper: #f4f5f8;
  --white: #ffffff;
  --ink: #0e2544;
  --muted: #56647a;
  --line: #dcdee4;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 36px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16.5px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oxford); text-decoration-color: var(--mist); text-underline-offset: 4px; }
a:hover { color: var(--slate); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--oxford); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
/* Cormorant defaults to old-style figures; prices and statistics read better with even (lining) numbers. */
h1, h2, h3 { font-variant-numeric: lining-nums; }
/* Numbers (prices, figures, statistics, payment steps) in Inter: clearer at a glance than the serif. */
.hero__facts dd, .stats dd, .card__facts dd, .facts li, .price-table td, .plan b, .dev-hero__price, .aside-box__price,
.figures dd, .contact-lines--large a, .steps li::before, .update__date {
  font-family: var(--font-body) !important; font-style: normal; font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: lining-nums tabular-nums;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden-field { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.mt { margin-top: 44px; }
.eyebrow { margin: 0 0 16px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate); }
.eyebrow--light { color: rgba(255, 255, 255, 0.8); }

/* ---------- Buttons: square-edged, quiet and confident ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 28px;
  border: 1px solid var(--oxford); border-radius: 2px; background: var(--oxford); color: #fff;
  font: 600 0.78rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--slate); border-color: var(--slate); color: #fff; }
.btn--outline { background: transparent; color: var(--oxford); }
.btn--outline:hover { background: var(--oxford); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--oxford); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); color: var(--oxford); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--oxford); }
.btn--sm { min-height: 42px; padding: 10px 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--oxford); text-decoration: none; border-bottom: 1px solid var(--mist); padding-bottom: 3px; }
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
a:hover > .link-arrow::after, .link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-top { position: sticky; top: 0; z-index: 50; }
.site-header { position: relative; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.nav a:not(.btn) { color: var(--oxford); font-size: 0.9rem; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-color: var(--oxford); }
.nav__featured span { margin-left: 8px; padding: 3px 7px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--slate); border-radius: 2px; vertical-align: 2px; }
.nav-toggle { display: none; }
@media (max-width: 1260px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; color: var(--oxford); border-radius: 2px; cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .brand img { height: 44px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: 18px 0 0; }
.section--tight-top { padding-top: 40px; }
.section--mist { background: var(--paper); }
.section--navy { background: var(--oxford); color: rgba(255, 255, 255, 0.82); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section-head--light p:not(.eyebrow) { color: rgba(255, 255, 255, 0.75); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Home hero (London House; plus a webinar slide while one is on) ---------- */
.hero { position: relative; display: grid; color: #fff; overflow: hidden; background: var(--oxford); }
.hero__slide { grid-area: 1 / 1; position: relative; min-height: calc(100svh - 84px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__slide.is-active .hero__bg { animation: slow-zoom 24s ease-out both; }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 26, 49, 0.88) 0%, rgba(9, 26, 49, 0.55) 45%, rgba(9, 26, 49, 0.1) 100%), linear-gradient(0deg, rgba(9, 26, 49, 0.7) 0%, rgba(9, 26, 49, 0) 40%); }
.hero__inner { padding-top: 80px; padding-bottom: 56px; }
.hero h1, .hero__title { color: #fff; font-size: clamp(3.4rem, 9vw, 7rem); line-height: 0.95; margin-bottom: 24px; }
.hero__lead { max-width: 520px; font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__facts { border-top: 1px solid rgba(255, 255, 255, 0.25); background: rgba(9, 26, 49, 0.55); backdrop-filter: blur(6px); }
.hero__facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.hero__facts dl > div { padding: 22px 0; }
.hero__facts dl > div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.hero__facts dt { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.hero__facts dd { margin: 4px 0 0; font-size: clamp(1.2rem, 2vw, 1.6rem); color: #fff; }
@media (max-width: 760px) {
  .hero__facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__facts dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__facts dl > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.18); }
}
@keyframes slow-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.yield-note { margin: 0; font-size: 0.78rem; line-height: 1.55; color: var(--muted); }

/* ---------- Intro + stats ---------- */
.intro h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.intro__text p { color: var(--muted); font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats dt { order: 2; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stats > div { display: flex; flex-direction: column; }
.stats dd { order: 1; margin: 0 0 6px; font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1; color: var(--oxford); }

/* ---------- London House spotlight ---------- */
.spotlight__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .spotlight__grid { grid-template-columns: minmax(0, 1fr); } }
.spotlight__media { position: relative; padding: 0 12% 12% 0; }
.spotlight__main { overflow: hidden; }
.spotlight__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.spotlight__inset { position: absolute; right: 0; bottom: 0; width: 44%; border: 8px solid var(--paper); overflow: hidden; }
.spotlight__inset img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.spotlight__text > p { color: var(--muted); }
.spotlight__list { list-style: none; margin: 24px 0 32px; padding: 0; }
.spotlight__list li { padding: 14px 0 14px 28px; border-top: 1px solid var(--line); position: relative; color: var(--muted); }
.spotlight__list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 1px; background: var(--oxford); }
.spotlight__list b { color: var(--oxford); font-weight: 600; }
.spotlight__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* ---------- Development cards ---------- */
.card { display: flex; flex-direction: column; background: #fff; text-decoration: none; color: inherit; border: 1px solid var(--line); transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease); }
.card:hover { color: inherit; border-color: var(--mist); box-shadow: 0 22px 44px rgba(14, 37, 68, 0.1); transform: translateY(-4px); }
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__tag { position: absolute; left: 0; top: 18px; padding: 6px 12px; background: var(--oxford); color: #fff; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.card__city { margin: 0 0 6px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }
.card__title { font-size: 1.7rem; margin: 0 0 10px; }
.card__summary { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.card__facts { display: flex; gap: 28px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.card__facts dt { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.card__facts dd { margin: 2px 0 0; font-size: 1.05rem; color: var(--oxford); }
.city-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 36px; }
.city-filter button { min-height: 40px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--oxford); font: 500 0.85rem var(--font-body); cursor: pointer; transition: all 0.2s; }
.city-filter button:hover { border-color: var(--oxford); }
.city-filter button[aria-pressed="true"] { background: var(--oxford); border-color: var(--oxford); color: #fff; }
.feature-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-bottom: 56px; background: var(--oxford); color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.feature-card:hover { color: rgba(255, 255, 255, 0.82); }
.feature-card__img { overflow: hidden; min-height: 320px; }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-card:hover .feature-card__img img { transform: scale(1.04); }
.feature-card__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.feature-card h2 { color: #fff; }
.feature-card .eyebrow { color: var(--mist); }
.feature-card .card__facts { border-color: rgba(255, 255, 255, 0.2); margin: 18px 0 28px; }
.feature-card .card__facts dt { color: var(--mist); }
.feature-card .card__facts dd { color: #fff; }
.feature-card .link-arrow { color: #fff; border-color: rgba(255, 255, 255, 0.4); align-self: flex-start; }
@media (max-width: 860px) { .feature-card { grid-template-columns: minmax(0, 1fr); } }
.price-note { margin: 40px 0 0; font-size: 0.8rem; color: var(--muted); }

/* ---------- Process ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.steps li { counter-increment: step; padding: 28px 24px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.25); position: relative; }
.steps li::before { content: "0" counter(step); display: block; font-size: 2rem; line-height: 1; color: var(--mist); margin-bottom: 18px; }
.steps b { display: block; color: #fff; font-weight: 600; margin-bottom: 8px; }
.steps span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; } .steps li { padding-bottom: 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms & contact ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 7px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oxford); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); font: 400 1rem var(--font-body); letter-spacing: 0; text-transform: none; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--slate); outline-offset: 0; border-color: var(--slate); }
.form__note { margin: 0; font-size: 0.8rem; color: var(--muted); }
.contact-lines { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-lines li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-lines span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); padding-top: 3px; }
.contact-lines a { text-decoration: none; font-weight: 500; }
.contact-lines--large a { font-size: 1.2rem; line-height: 1.4; }
.contact-lines--large li:last-child a { font-family: var(--font-body); font-size: 1rem; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--oxford); color: #fff; }
.page-head .wrap { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(52px, 7vw, 84px); }
.page-head h1 { color: #fff; max-width: 900px; }
.page-head .eyebrow { color: var(--mist); }
.page-head__intro { max-width: 640px; font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); margin: 0; }
.dev-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: var(--oxford); }
.dev-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: slow-zoom 24s ease-out both; }
.dev-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9, 26, 49, 0.92) 0%, rgba(9, 26, 49, 0.35) 55%, rgba(9, 26, 49, 0.15) 100%); }
.dev-hero__inner { padding-top: 120px; padding-bottom: 56px; }
.dev-hero h1 { color: #fff; margin-bottom: 14px; }
.dev-hero__lead { max-width: 640px; color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; }
.dev-hero__price { font-size: 1.6rem; margin: 18px 0 0; }
.dev-hero__price small { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); margin-right: 8px; }
.crumbs { font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 28px; }
.crumbs a { color: rgba(255, 255, 255, 0.85); }
.lh-banner { background: var(--slate); color: #fff; }
.lh-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; padding-bottom: 16px; }
.lh-banner p { margin: 0; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .detail { grid-template-columns: minmax(0, 1fr); } }
.detail__main h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 56px 0 18px; }
.prose { color: var(--muted); font-size: 1.04rem; max-width: 720px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts li { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.98rem; line-height: 1.4; color: var(--oxford); }
.facts span { display: block; font-family: var(--font-body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.price-table th, .price-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.price-table th { white-space: normal; vertical-align: bottom; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-table td:nth-child(2) { font-size: 1.05rem; color: var(--oxford); }
.yield-line { font-size: 1.05rem; margin-bottom: 6px; }
.plan { list-style: none; margin: 0 0 12px; padding: 0; }
.plan li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.plan b { font-size: 1.2rem; color: var(--oxford); }
.plan span { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: var(--paper); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nearby { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.nearby li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nearby span { color: var(--muted); white-space: nowrap; }
.aside-box { position: sticky; top: 108px; padding: 30px; background: var(--paper); border-top: 3px solid var(--oxford); }
.aside-box__title { font-size: 2rem; margin-bottom: 4px; }
.aside-box__price { font-size: 1.25rem; margin-bottom: 20px; }
.aside-box__price small { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.aside-box .form__row { grid-template-columns: 1fr; }

/* ---------- Construction updates (Instagram films) ---------- */
.updates { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .updates { grid-template-columns: 1fr; } }
.update { display: grid; grid-template-columns: 40% 1fr; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s; }
.update:hover { color: var(--ink); border-color: var(--mist); box-shadow: 0 14px 32px rgba(14, 37, 68, 0.1); }
.update__img { position: relative; aspect-ratio: 9 / 14; overflow: hidden; background: var(--oxford); }
.update__img img { width: 100%; height: 100%; object-fit: cover; }
.update__img::after { content: "▶"; position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--oxford); display: flex; align-items: center; justify-content: center; font-size: 1rem; padding-left: 3px; }
.update__body { padding: 18px; display: flex; flex-direction: column; }
.update__date { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.update__body h3 { font-size: 1.25rem; }
.update__cta { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--oxford); }
.spotlight__update { margin: 20px 0 0; font-size: 0.9rem; }

/* ---------- YouTube film ---------- */
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: var(--oxford); aspect-ratio: 16 / 9; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.yt:hover img { transform: scale(1.03); }
.yt__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); transition: transform 0.3s var(--ease); }
.yt__play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--oxford); }
.yt:hover .yt__play { transform: scale(1.08); }
.yt:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }
.yt__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.film { margin-bottom: 8px; }

/* ---------- Site search (static/js/search.js) ---------- */
.search-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--oxford); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.search-toggle:hover { border-color: var(--oxford); }
@media (min-width: 1261px) { .site-header .nav { margin-left: auto; } .site-header .wrap { justify-content: flex-start; } .search-toggle { margin-left: 4px; } }
@media (max-width: 1260px) { .brand { margin-right: auto; } .search-toggle { order: 2; width: 46px; height: 46px; } .nav-toggle { order: 3; } .site-header .wrap { gap: 10px; } }
.search { position: fixed; inset: 0; z-index: 150; display: flex; justify-content: center; align-items: flex-start; padding: clamp(16px, 8vh, 90px) 16px 16px; background: rgba(9, 26, 49, 0.72); backdrop-filter: blur(3px); }
.search__panel { width: min(720px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); overflow: hidden; animation: search-in 0.25s var(--ease); }
@keyframes search-in { from { opacity: 0; transform: translateY(-12px); } }
.search__box { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--slate); }
.search__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 1.15rem var(--font-body); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__close { border: 1px solid var(--line); background: var(--paper); color: var(--muted); padding: 4px 8px; font-size: 0.75rem; cursor: pointer; }
.search__suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 18px; font-size: 0.9rem; color: var(--muted); }
.search__suggest button { border: 1px solid var(--line); background: #fff; color: var(--oxford); padding: 6px 14px; font: 500 0.85rem var(--font-body); cursor: pointer; }
.search__suggest button:hover { border-color: var(--oxford); }
.search__results { overflow-y: auto; padding: 0 8px 8px; }
.search__results:empty { display: none; }
.search__note { margin: 0; padding: 14px 10px 8px; font-size: 0.85rem; color: var(--muted); }
.search__hit { display: flex; gap: 14px; align-items: flex-start; padding: 12px 10px; color: var(--ink); text-decoration: none; transition: background 0.15s; }
.search__hit:hover, .search__hit:focus { background: var(--paper); color: var(--ink); outline: none; }
.search__hit:focus-visible { box-shadow: inset 0 0 0 2px var(--slate); }
.search__hit img, .search__icon { flex: none; width: 64px; height: 48px; object-fit: cover; }
.search__icon { display: flex; align-items: center; justify-content: center; background: var(--oxford); color: #fff; font-family: var(--font-display); font-size: 1.3rem; }
.search__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search__type { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.search__title { font-weight: 600; color: var(--oxford); line-height: 1.35; }
.search__snippet { font-size: 0.88rem; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.search mark { background: var(--mist); color: inherit; padding: 0 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--oxford-deep); color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 220px; height: auto; margin-bottom: 20px; }
.footer-title { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.socials { grid-auto-flow: column; justify-content: start; gap: 10px !important; }
.socials a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; color: #fff; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }
.socials a:hover { background: #fff; border-color: #fff; color: var(--oxford); transform: translateY(-2px); text-decoration: none; }
.socials a svg { display: block; }
@media (prefers-reduced-motion: reduce) { .socials a:hover { transform: none; } }
.footer-form { display: grid; gap: 10px; }
.footer-form input { width: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 2px; background: transparent; color: #fff; font: inherit; }
.footer-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.footer-sister { margin-top: 22px; font-size: 0.85rem; }
.footer-risk { margin: 48px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); transition: transform 0.25s var(--ease); }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 56px 72px; background: rgba(9, 26, 49, 0.95); }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; object-fit: contain; }
.lightbox__caption { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.lightbox__nav, .lightbox__close { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, 0.1); width: 48px; height: 48px; font-size: 2rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 14px; }
.lightbox__next { right: 14px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox button:hover { background: #fff; color: var(--oxford); }
@media (max-width: 620px) { .lightbox { padding: 56px 8px 80px; } .lightbox__nav { top: auto; bottom: 16px; transform: none; } .lightbox__prev { left: calc(50% - 60px); } .lightbox__next { right: calc(50% - 60px); } }

/* ---------- Motion: gentle reveals (site.js); off for reduced-motion visitors ---------- */
main { overflow-x: clip; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.is-active .hero__main > *, .is-active .hero__speakers li { animation: rise 1.1s var(--ease) both; }
.is-active .hero__main > :nth-child(2) { animation-delay: 0.1s; }
.is-active .hero__main > :nth-child(3) { animation-delay: 0.25s; }
.is-active .hero__main > :nth-child(4) { animation-delay: 0.4s; }
.is-active .hero__speakers li { animation-delay: 0.35s; }
.is-active .hero__speakers li + li { animation-delay: 0.5s; }
.is-active .hero__facts { animation: fade 1.2s 0.6s both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Why the UK ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; }
.reasons article { padding-top: 24px; border-top: 1px solid var(--oxford); }
.reasons h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.reasons p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .reasons { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.considerations { list-style: none; margin: 0; padding: 0; }
.considerations li { padding: 16px 0 16px 28px; border-top: 1px solid var(--line); position: relative; color: var(--muted); }
.considerations li::before { content: ""; position: absolute; left: 0; top: 27px; width: 14px; height: 1px; background: var(--oxford); }
.considerations b { color: var(--oxford); font-weight: 600; }
.city-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; text-decoration: none; background: var(--oxford); }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 26, 49, 0.85), rgba(9, 26, 49, 0) 60%); }
.city-card:hover { color: #fff; }
.city-card:hover img { transform: scale(1.06); }
.city-card__name { position: absolute; left: 24px; bottom: 44px; z-index: 1; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.city-card__count { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
.cta-lead { max-width: 560px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; }

/* ---------- City guides ---------- */
.dev-hero--city { min-height: 60vh; }
.city-tagline em { font-family: var(--font-display); }
.city-tagline { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem) !important; line-height: 1.2; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0; border-top: 1px solid var(--oxford); }
.figures > div { display: flex; flex-direction: column; padding: 26px 24px 0 0; }
.figures > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.figures dd { margin: 0 0 10px; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1; color: var(--oxford); }
.figures dt { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figures > div:nth-child(3) { padding-left: 0; border-left: 0; } .figures > div { padding-bottom: 24px; } }
.regen { list-style: none; margin: 0; padding: 0; }
.regen li { padding: 16px 0; border-top: 1px solid var(--line); }
.regen b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--oxford); }
.regen span { color: var(--muted); font-size: 0.95rem; }
.nearby--single { grid-template-columns: minmax(0, 1fr); }

/* ---------- About ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services li { background: #fff; padding: 30px; }
.services b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--oxford); margin-bottom: 8px; }
.services span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .services { grid-template-columns: minmax(0, 1fr); } }
.quote { margin: 0; padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--oxford); }
.quote figcaption { font-weight: 600; font-size: 0.92rem; }
.quote figcaption span { display: block; font-weight: 400; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.leader { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: #fff; padding: clamp(20px, 3vw, 40px); margin-bottom: 48px; }
.leader__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.leader__name { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.leader--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.leader--flip .leader__photo { order: 2; }
.leader__quote { margin: 20px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--oxford); font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--oxford); }
.leader__text p:not(.eyebrow) { color: var(--muted); }
.leader__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
@media (max-width: 860px) { .leader, .leader--flip { grid-template-columns: minmax(0, 1fr); } .leader--flip .leader__photo { order: 0; } .leader__photo img { aspect-ratio: 1 / 1; } }
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.person { width: min(100%, 240px); text-align: center; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 16px; }
.person h3 { font-size: 1.5rem; margin: 0 0 2px; }
.person p { margin: 0 0 14px; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 801px) { .team { align-items: flex-start; padding-top: 28px; } .person--raised { margin-top: -28px; } }
.wa-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1px solid #25d366; border-radius: 2px; color: #128c4a; background: #fff; font-weight: 600; font-size: 0.85rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.wa-btn svg { width: 18px; height: 18px; }
.wa-btn:hover { background: #25d366; color: #fff; }
.leader__actions .wa-btn { min-height: 50px; }

/* ---------- Insights ---------- */
.post { max-width: 820px; }
.post__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 40px; }
.post__body h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.4em; }
.post__body h3 { font-size: 1.35rem; margin-top: 1.2em; color: var(--oxford); }
.post__body ul { padding-left: 1.2em; }
.post__body li { margin-bottom: 0.5em; }
.post__figure { margin: 2em 0; }
.post__figure img { display: block; width: 100%; height: auto; }
.post__figure figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.post__figure--pair > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.post__figure--pair img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 560px) { .post__figure--pair > div { grid-template-columns: 1fr; } }
.post__body .source { font-size: 0.85rem; font-style: italic; }
.post__back { margin-top: 40px; }
.footer-title--gap { margin-top: 30px; }
.footer-cities { grid-template-columns: 1fr 1fr; }

.grid > *, .split > *, .detail > *, .leader > * { min-width: 0; }

/* ---------- Live webinar (content/webinar.json): top bar, home hero card, /webinar/ page ---------- */
.wb-dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 0 rgba(126, 226, 168, 0.6); animation: wb-pulse 2s infinite; vertical-align: middle; }
@keyframes wb-pulse { 70% { box-shadow: 0 0 0 8px rgba(126, 226, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 226, 168, 0); } }

.wb-bar { background: var(--oxford-deep); color: #fff; font-size: 0.86rem; }
.wb-bar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; position: relative; padding-right: 56px; }
.wb-bar a { color: #fff; text-decoration: none; padding: 10px 0; text-align: center; }
.wb-bar a b { font-family: var(--font-body); font-weight: 600; }
.wb-bar__tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); margin-right: 6px; }
.wb-bar__topic { color: rgba(255, 255, 255, 0.82); }
.wb-bar__cta { margin-left: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.wb-bar a:hover .wb-bar__cta { border-color: #fff; }
.wb-bar__close { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: rgba(255, 255, 255, 0.7); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.wb-bar__close:hover { color: #fff; }
@media (max-width: 760px) { .wb-bar__topic, .wb-bar__tag { display: none; } .wb-bar__inner { justify-content: flex-start; } }

/* Home hero: London House on the left, the webinar card on the right (below on phones). */
.hero__inner--webinar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 40px 56px; align-items: end; }
@media (max-width: 960px) { .hero__inner--webinar { grid-template-columns: minmax(0, 1fr); } }
.wb-card { padding: 26px 26px 22px; background: rgba(9, 26, 49, 0.78); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px); color: #fff; }
.is-active .wb-card { animation: rise 1.1s 0.5s var(--ease) both; }
.wb-card__tag { margin: 0 0 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); }
.wb-card__title { margin: 0 0 14px; font: 500 1.9rem/1.1 var(--font-display); color: #fff; }
.wb-card__title em { font-weight: 400; }
.wb-card__people { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.82); }
.wb-faces { display: flex; flex-shrink: 0; }
.wb-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--oxford-deep); }
.wb-faces .wb-face + .wb-face { margin-left: -10px; }
.wb-card .wb-sessions { margin-bottom: 18px; }
.wb-card .wb-sessions li { border-color: rgba(255, 255, 255, 0.16); }
.wb-card .wb-sessions li:last-child { border-bottom-color: rgba(255, 255, 255, 0.16); }
.wb-card .wb-sessions li.is-past { display: none; }
.wb-card .wb-sessions__time small, .wb-card .wb-sessions__local { color: rgba(255, 255, 255, 0.6); }
.wb-card .wb-sessions li.is-live .wb-sessions__state { color: #7ee2a8; }
.wb-card__btn { width: 100%; }
.wb-card__more { display: inline-block; margin-top: 12px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.85); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.wb-card__more:hover { color: #fff; border-color: #fff; }

/* Session list (numbers and dates in Inter). */
.wb-sessions { list-style: none; margin: 0; padding: 0; font-family: var(--font-body); font-variant-numeric: lining-nums tabular-nums; }
.wb-sessions li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.wb-sessions li:last-child { border-bottom: 1px solid var(--line); }
.wb-sessions__day, .wb-sessions__time { font-weight: 600; white-space: nowrap; }
.wb-sessions__time small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); margin-left: 4px; }
.wb-sessions__state { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 8px; border: 1px solid currentColor; opacity: 0.85; justify-self: end; }
.wb-sessions li.is-live .wb-sessions__state { color: #1f8a4c; opacity: 1; }
.wb-sessions__local { grid-column: 1 / -1; font-size: 0.78rem; color: var(--muted); }
.wb-sessions li.is-past { opacity: 0.5; }

.wb-sessions--full { max-width: 760px; margin: 0 auto; }
.wb-sessions--full li { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 128px 116px; padding: 22px 0; }
.wb-sessions--full .wb-sessions__btn { grid-column: 4; grid-row: 1; }
.wb-sessions--full .wb-sessions__state { grid-column: 3; grid-row: 1; }
.wb-sessions--full .wb-sessions__day { font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--oxford); }
.wb-sessions--full .wb-sessions__time { font-size: 1.05rem; }
.wb-sessions__btn[aria-disabled] { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
@media (max-width: 600px) {
  .wb-sessions--full li { grid-template-columns: minmax(0, 1fr) auto; }
  .wb-sessions--full .wb-sessions__day { grid-column: 1; grid-row: 1; }
  .wb-sessions--full .wb-sessions__time { grid-column: 1; grid-row: 2; }
  .wb-sessions--full .wb-sessions__state { grid-column: 2; grid-row: 1; }
  .wb-sessions--full .wb-sessions__btn { grid-column: 2; grid-row: 2; }
}
.wb-note { max-width: 760px; margin: 18px auto 0; font-size: 0.86rem; color: var(--muted); text-align: center; }

/* /webinar/ page */
.wb-hero { background: radial-gradient(120% 90% at 85% 10%, #1d3a63 0%, var(--oxford) 55%, var(--oxford-deep) 100%); color: #fff; }
.wb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
@media (max-width: 900px) { .wb-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.wb-hero__tagline { margin: 0 0 10px; font: italic 400 1.35rem/1.3 var(--font-display); color: var(--mist); }
.wb-hero h1 em { white-space: nowrap; }
.wb-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
.wb-hero__intro { max-width: 600px; font-size: 1.08rem; color: rgba(255, 255, 255, 0.84); }
.wb-ended { margin-top: 24px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.3); }
.wb-ended a { color: #fff; }
.wb-speakers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 460px; justify-self: center; width: 100%; }
.wb-speaker { margin: 0; text-align: center; }
.wb-speaker__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.85); }
.wb-speaker figcaption { margin-top: 14px; }
.wb-speaker b { display: block; font: 500 1.45rem/1.2 var(--font-display); color: #fff; }
.wb-speaker span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); }
.wb-learn { list-style: none; margin: 8px 0 0; padding: 0; }
.wb-learn li { position: relative; padding: 14px 0 14px 40px; border-top: 1px solid var(--line); font-size: 1.08rem; }
.wb-learn li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 16px; height: 9px; border-left: 2px solid var(--oxford); border-bottom: 2px solid var(--oxford); transform: rotate(-45deg); }
.wb-facts { background: #fff; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.wb-facts dl { margin: 0; }
.wb-facts dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.wb-facts dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.wb-facts dd { margin: 2px 0 0; }
.wb-facts__cta { margin: 24px 0 0; }

/* Home hero slides: the next slide moves in from the right; tabs show which is on and how long until the next.
   The tab's progress bar is the timer (site.js moves on when it finishes), so pausing it pauses the slideshow. */
.hero--slides .hero__slide { transform: translateX(100%); visibility: hidden; transition: transform 1s var(--ease), visibility 0s 1s; }
.hero--slides .hero__slide.is-active { transform: none; visibility: visible; transition: transform 1s var(--ease), visibility 0s; }
.hero--slides .hero__slide.is-leaving { transform: translateX(-100%); }
.hero--slides .hero__slide.no-anim { transition: none; }
.hero__slide--webinar::before { background: linear-gradient(90deg, rgba(9, 26, 49, 0.94) 0%, rgba(9, 26, 49, 0.75) 50%, rgba(9, 26, 49, 0.45) 100%), linear-gradient(0deg, rgba(9, 26, 49, 0.8) 0%, rgba(9, 26, 49, 0) 45%); }
.hero__slide--webinar .eyebrow { display: flex; align-items: center; }
.hero__inner--split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.hero__speakers { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.hero__speakers li { width: 170px; text-align: center; }
.hero__speakers img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, 0.85); margin-bottom: 12px; }
.hero__speakers b { display: block; font: 500 1.3rem/1.2 var(--font-display); }
.hero__speakers span { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); }
@media (max-width: 900px) {
  .hero__inner--split { grid-template-columns: minmax(0, 1fr); }
  .hero__speakers { order: -1; gap: 20px; }
  .hero__speakers li { width: auto; display: grid; grid-template-columns: 56px auto; column-gap: 12px; align-items: center; text-align: left; }
  .hero__speakers img { width: 56px; height: 56px; margin: 0; grid-row: span 2; border-width: 2px; }
  .hero__speakers b { font-size: 1.1rem; }
}
.hero__nav { position: absolute; top: 22px; left: 0; right: 0; z-index: 2; pointer-events: none; }
.hero__tabs { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.hero__tab, .hero__pause { pointer-events: auto; border: 0; background: rgba(9, 26, 49, 0.45); backdrop-filter: blur(6px); color: rgba(255, 255, 255, 0.75); cursor: pointer; }
.hero__tab { position: relative; min-width: 130px; padding: 12px 14px 14px; font: 600 0.66rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; text-align: left; }
.hero__tab:hover, .hero__tab.is-active { color: #fff; }
.hero__bar { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.hero__bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__tab.is-active .hero__bar::after { transform: scaleX(1); }
.hero__tab.is-timing .hero__bar::after { animation: hero-timer var(--hero-delay, 6s) linear both; }
.hero.is-paused .hero__bar::after { animation-play-state: paused; }
@keyframes hero-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause { width: 40px; height: 40px; display: grid; place-items: center; }
.hero__pause:hover { color: #fff; }
.hero__pause .i-play, .hero.is-stopped .hero__pause .i-pause { display: none; }
.hero.is-stopped .hero__pause .i-play { display: inline; }
@media (max-width: 760px) { .hero__nav { top: 14px; } .hero__tabs { justify-content: flex-start; } .hero__tab { min-width: 0; flex: 1; max-width: 150px; } }
.hero__title { font-size: clamp(2.6rem, 5.2vw, 4.8rem); }
.hero__subtitle { margin: -6px 0 14px; font: italic 400 clamp(1.3rem, 2.2vw, 1.7rem)/1.3 var(--font-display); color: var(--mist); }
.is-active .hero__main > :nth-child(5) { animation-delay: 0.5s; }

/* ---------- Property brief (/start/, the social bio link) ---------- */
.brief-wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); }
.brief-top { background: #fff; border-bottom: 1px solid var(--line); }
.brief-top .brief-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brief-top__logo img { width: 150px; height: auto; }
.brief-top__link { font-weight: 600; font-size: 0.9rem; }

.brief { background: var(--paper); padding: clamp(28px, 6vw, 56px) 0 40px; min-height: calc(100vh - 140px); min-height: calc(100svh - 140px); }
.brief-intro h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); margin-bottom: 0.4em; }
.brief-intro__lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 0.5em; }
.brief-intro__time { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }

.brief-progress { margin-bottom: 26px; }
.brief-progress__labels { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.brief-progress__bar { height: 3px; background: var(--line); overflow: hidden; }
.brief-progress__bar span { display: block; width: 20%; height: 100%; background: var(--oxford); transition: width 0.35s var(--ease); }

.brief-form { margin: 0; }
.brief-step { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.brief-step legend { padding: 0; width: 100%; }
.brief-step h2 { font-size: clamp(1.8rem, 6.4vw, 2.3rem); margin-bottom: 0.35em; }
.brief-step h2:focus { outline: none; }
.brief-step__hint { color: var(--muted); margin-bottom: 18px; }
.brief-step legend + .brief-opt { margin-top: 14px; }

.brief-opt {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 64px; padding: 14px 20px; margin-bottom: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  font-size: 1.04rem; color: var(--oxford); cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.brief-opt:hover { border-color: var(--slate); box-shadow: 0 6px 18px rgba(14, 37, 68, 0.08); }
.brief-opt input { position: absolute; opacity: 0; pointer-events: none; }
.brief-opt__text small { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 2px; }
.brief-opt__arrow { flex: none; color: var(--slate); }
.brief-opt:has(input:checked) { border-color: var(--oxford); box-shadow: inset 0 0 0 1px var(--oxford); }
.brief-opt:has(input:focus-visible) { outline: 2px solid var(--slate); outline-offset: 2px; }
.brief-opt:active { transform: scale(0.99); }
.brief-opt--link { justify-content: center; background: none; border: 0; min-height: 48px; text-decoration: underline; text-decoration-color: var(--mist); text-underline-offset: 4px; }
.brief-opt--link:hover { box-shadow: none; color: var(--slate); }
.brief-opt--link:has(input:checked) { box-shadow: none; font-weight: 600; }
.brief-opt, .brief-done__matches span { font-variant-numeric: lining-nums; }

.brief-step--details .eyebrow { margin-bottom: 8px; }
.brief-optional { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 0.82rem; }
.brief-consent { font-size: 0.82rem; color: var(--muted); margin: 4px 0 0; }
.brief-error { color: #a12b1f; font-weight: 600; margin: 0; }
.brief-submit { width: 100%; min-height: 54px; }
.brief-submit:disabled { opacity: 0.7; cursor: wait; }

.brief-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
.brief-back { background: none; border: 0; padding: 10px 0; font: 600 0.95rem var(--font-body); color: var(--oxford); text-decoration: underline; text-decoration-color: var(--mist); text-underline-offset: 4px; cursor: pointer; }
.brief-back:hover { color: var(--slate); }
.brief-talk { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 10px 0; font-weight: 600; font-size: 0.95rem; }
.brief-talk svg { fill: #25d366; }

.brief-done:focus { outline: none; }
.brief-done__title { font-size: clamp(2rem, 7vw, 2.8rem); }
.brief-done__summary { font-size: 1.05rem; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brief-done__note { background: #fff4e5; padding: 12px 16px; font-weight: 600; }
.brief-done__matches { margin: 24px 0; }
.brief-done__matches ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.brief-done__matches a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--oxford); text-decoration: none; }
.brief-done__matches a:hover { border-color: var(--slate); }
.brief-done__matches b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.brief-done__matches span { font-size: 0.9rem; font-weight: 600; color: var(--slate); }
.brief-done__small { font-size: 0.8rem; color: var(--muted); }
.brief-done__next { color: var(--muted); }
.brief-done__actions { display: grid; gap: 12px; margin-top: 24px; }
.brief-done__actions .btn { width: 100%; min-height: 54px; }

.brief-foot { background: #fff; border-top: 1px solid var(--line); padding: 20px 0; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* Without JavaScript every question shows as one long form. */
.brief:not(.is-steps) .brief-step { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) {
  .brief-progress__bar span, .brief-opt { transition: none; }
}

/* ---------- Investment guide (/uk-investment-guide/) ---------- */
.guide-hero__lead { font-size: 1.1rem; color: var(--muted); }
.guide-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.guide-points li { position: relative; padding-left: 28px; }
.guide-points li::before { content: "✓"; position: absolute; left: 0; color: var(--slate); font-weight: 600; }
.guide-cover { max-width: 460px; justify-self: center; }
.guide-cover img { box-shadow: 0 24px 60px rgba(14, 37, 68, 0.28); }
.guide-previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-previews img { box-shadow: 0 14px 34px rgba(14, 37, 68, 0.12); width: 100%; }
@media (max-width: 760px) { .guide-previews { grid-template-columns: minmax(0, 1fr); } }
.guide-form-wrap { max-width: 760px; }
.guide-form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 5vw, 48px); }
.guide-submit { width: 100%; min-height: 54px; }
.guide-submit:disabled { opacity: 0.7; cursor: wait; }
.guide-done:focus { outline: none; }
.guide-done__next { margin: 20px 0 0; color: var(--muted); }
.guide-note { font-size: 0.85rem; color: var(--muted); margin-top: 20px; }
@media (max-width: 600px) { .guide-form .form__row { grid-template-columns: minmax(0, 1fr); } }

/* Cookie consent banner (static/js/consent.js) and legal pages */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px; background: var(--oxford); color: rgba(255, 255, 255, 0.88); box-shadow: 0 16px 40px rgba(9, 26, 49, 0.35); font-size: 0.92rem; }
.cc[hidden] { display: none; }
.cc__text { flex: 1 1 320px; margin: 0; }
.cc__text a { color: #fff; text-decoration: underline; }
.cc__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cc__btn { min-height: 44px; padding: 10px 22px; border: 1px solid rgba(255, 255, 255, 0.7); background: transparent; color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.cc__btn--accept { background: #fff; color: var(--oxford); border-color: #fff; }
.cc__btn:focus-visible { outline: 3px solid var(--mist); outline-offset: 2px; }
@media (max-width: 560px) { .cc { left: 10px; right: 10px; bottom: 10px; } .cc__actions { width: 100%; } .cc__btn { flex: 1; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer-legal a, .footer-legal button { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal button[hidden] { display: none; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 8px 0 0; }
.form-note a { color: inherit; text-decoration: underline; }
.site-footer .form-note { color: rgba(255, 255, 255, 0.6); }
.legal-updated { color: var(--muted); font-size: 0.95rem; }
.faq { max-width: 820px; margin: 0 auto; }
.faq + .faq { margin-top: 48px; }
.faq__group { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 40px 20px 0; font-weight: 500; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--slate); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--oxford); outline-offset: 2px; }
.faq .answer { padding: 0 0 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { color: var(--oxford); text-decoration: underline; }
