/* ==========================================================================
   Global Propertunities Group — Components
   ========================================================================== */

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease),
              border-color var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(11,12,16,.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.02rem; letter-spacing: -.025em; }
.brand__sub {
  font-size: .575rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-dim);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__list a {
  display: block;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__list a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav__list a.is-active { color: var(--text); background: var(--accent-soft); }
.header__cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    margin: 0;
    background: rgba(9,10,14,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__list a {
    padding: .95rem 1rem;
    border-radius: var(--r-sm);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
  }
  .nav__cta-mobile { margin-top: 1rem; }
  html.nav-open, html.nav-open body { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid;
  align-items: center;
  padding-top: clamp(7rem, 5rem + 8vw, 10rem);
  padding-bottom: clamp(3.5rem, 2rem + 6vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroPan 28s var(--ease) infinite alternate;
}
@keyframes heroPan {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 70% at 18% 25%, rgba(11,12,16,.92), rgba(11,12,16,.62) 45%, transparent 78%),
    linear-gradient(180deg, rgba(11,12,16,.88) 0%, rgba(11,12,16,.5) 35%, rgba(11,12,16,.9) 88%, var(--bg) 100%);
}
.hero__glow {
  position: absolute; z-index: -1;
  width: 60vw; aspect-ratio: 1; border-radius: 50%;
  top: -18%; right: -14%;
  background: radial-gradient(circle, rgba(34,167,208,.3), transparent 62%);
  filter: blur(42px);
  pointer-events: none;
}
.hero__inner { max-width: 900px; }
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -.045em;
  margin-top: 1.25rem;
}
.hero__lede { margin-top: 1.5rem; max-width: 60ch; font-size: clamp(1.05rem, .97rem + .45vw, 1.3rem); }
.hero__actions {
  display: flex; flex-wrap: wrap; gap: .85rem;
  margin-top: 2.25rem;
}
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; gap: .5rem;
  font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll i {
  display: block; width: 1px; height: 38px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .35; transform: scaleY(.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}
@media (max-width: 760px) { .hero__scroll { display: none; } }

/* ---------- Stat bar ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg-raised);
  padding: clamp(1.4rem, 1rem + 1.2vw, 2.1rem) clamp(1rem, .8rem + .8vw, 1.6rem);
  text-align: center;
}
.stat__num {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff, var(--brand-cyan-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label {
  margin-top: .6rem;
  font-size: var(--fs-xs);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 600;
}

/* ---------- Section head ---------- */
.section-head { max-width: 680px; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Service cards ---------- */
.services { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 3.5rem; }
.service { display: flex; flex-direction: column; }
.service::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.service:hover::before { opacity: 1; }
.service__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 { font-size: var(--fs-xl); }
.service p { margin-top: .85rem; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.75; }
.service__list { margin-top: 1.4rem; display: grid; gap: .6rem; }
.service__list li {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--text-muted);
}
.service__list svg { width: 17px; height: 17px; flex: none; margin-top: .3rem; color: var(--accent); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(2rem, 1.2rem + 3.5vw, 4.5rem);
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.2;
  background: var(--surface);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover img { transform: scale(1.04); }
.split__badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem;
  background: rgba(10,11,15,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
}

/* ---------- Process / steps ---------- */
.steps {
  counter-reset: step;
  display: grid; gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 3.5rem;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--bg-raised); padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); position: relative; }
.step__num {
  counter-increment: step;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em;
  color: var(--accent); display: block; margin-bottom: 1rem;
}
.step__num::before { content: '0' counter(step); }
.step h3 { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.02em; }
.step p { margin-top: .6rem; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.quotes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 3.5rem; }
.quote blockquote { font-size: var(--fs-lg); line-height: 1.6; letter-spacing: -.015em; }
.quote__mark { color: var(--accent); font-size: 3rem; line-height: .6; display: block; margin-bottom: .5rem; opacity: .5; }
.quote__by { margin-top: 1.5rem; display: flex; align-items: center; gap: .85rem; }
.quote__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-cyan-deep), var(--brand-cyan-bright));
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #04121A; flex: none;
}
.quote__name { font-weight: 700; font-size: var(--fs-sm); }
.quote__role { font-size: var(--fs-xs); color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq { margin-top: 3rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__trigger {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0;
  font-weight: 700; font-size: var(--fs-lg); letter-spacing: -.02em;
  transition: color var(--t-fast) var(--ease);
}
.faq__trigger:hover { color: var(--accent); }
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 2px; border-radius: 2px;
  background: var(--accent); transform: translateY(-50%);
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.faq__icon::after { transform: translateY(-50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translateY(-50%) rotate(0); opacity: 0; }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) var(--ease); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding-bottom: 1.5rem; color: var(--text-muted); max-width: 72ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(2.5rem, 1.8rem + 4vw, 5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  background: linear-gradient(135deg, #0D1A22, #0A1218 55%, #0B0C10);
  border: 1px solid var(--accent-line);
  text-align: center;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute; inset: auto -10% -60% -10%; height: 90%;
  background: radial-gradient(ellipse at center, rgba(34,167,208,.3), transparent 70%);
  filter: blur(38px); z-index: -1;
}
.cta-band h2 { font-size: var(--fs-h2); }
.cta-band p { margin: 1.2rem auto 0; max-width: 55ch; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }

.contact-list { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); color: var(--accent);
}
.contact-item__icon svg { width: 19px; height: 19px; }
.contact-item__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); font-weight: 600; }
.contact-item__value { font-weight: 600; margin-top: .15rem; }
.contact-item a { transition: color var(--t-fast) var(--ease); }
.contact-item a:hover { color: var(--accent); }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  background: var(--bg-sunken);
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  font-size: var(--fs-sm);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--surface);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.form__note { font-size: var(--fs-xs); color: var(--text-dim); }
.form__status { font-size: var(--fs-sm); padding: .85rem 1rem; border-radius: var(--r-sm); display: none; }
.form__status.is-ok { display: block; background: rgba(48,209,88,.1); border: 1px solid rgba(48,209,88,.35); color: #7BE495; }
.form__status.is-err { display: block; background: rgba(238,126,116,.1); border: 1px solid rgba(238,126,116,.35); color: #EE9A94; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-sunken); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--text-dim); margin-bottom: 1.1rem; font-weight: 700; }
.footer__links { display: grid; gap: .65rem; }
.footer__links a { font-size: var(--fs-sm); color: var(--text-muted); transition: color var(--t-fast) var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__blurb { margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--text-muted); max-width: 42ch; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: var(--text-dim);
}
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--text-muted);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.socials a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-top: clamp(8rem, 6rem + 6vw, 11rem);
  padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  position: relative;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(70% 120% at 70% 0%, rgba(34,167,208,.14), transparent 62%);
}
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); margin-top: 1rem; }
.page-hero p { margin-top: 1.25rem; max-width: 62ch; }

/* ---------- Brand logo ---------- */
.brand__logo { height: 44px; width: auto; }
@media (max-width: 899px) { .brand__logo { height: 36px; } }

/* ---------- Hero video ---------- */
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__video.is-ready { opacity: 1; }

/* ---------- Fact pairs ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.fact { display: grid; gap: .3rem; }
.fact__label {
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.fact__value { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.02em; }

/* ---------- Projects mosaic ---------- */
.projects {
  display: grid;
  gap: clamp(1rem, .7rem + 1vw, 1.5rem);
  margin-top: 3.5rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
@media (min-width: 900px) {
  .projects { grid-template-columns: repeat(4, 1fr); }
  .project--wide { grid-column: span 2; grid-row: span 2; }
  .project--wide img { aspect-ratio: auto; }
}
.project {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  min-height: 250px;
  display: flex;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.project:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.project picture { position: absolute; inset: 0; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project:hover img { transform: scale(1.06); }
.project::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,12,.15) 0%, rgba(8,9,12,.55) 55%, rgba(8,9,12,.92) 100%);
  z-index: 1;
}
.project__body {
  position: relative; z-index: 2;
  margin-top: auto;
  padding: clamp(1.25rem, 1rem + .8vw, 1.9rem);
  width: 100%;
}
.project__tag {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(34,167,208,.14);
  border: 1px solid var(--accent-line);
  padding: .25rem .65rem; border-radius: 999px;
  margin-bottom: .75rem;
}
.project h3 { font-size: var(--fs-xl); letter-spacing: -.03em; }
.project--wide h3 { font-size: var(--fs-h3); }
.project p { margin-top: .35rem; font-size: var(--fs-sm); }

/* ---------- Inline arrow link ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: var(--fs-sm); color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}
.link-arrow:hover { border-bottom-color: var(--accent); gap: .75rem; }
.steps__more { margin-top: 2rem; }

/* ---------- Quote wall (masonry) ---------- */
.quote-wall { margin-top: 3.5rem; columns: 1; column-gap: clamp(1rem, .7rem + 1vw, 1.5rem); }
@media (min-width: 680px)  { .quote-wall { columns: 2; } }
@media (min-width: 1040px) { .quote-wall { columns: 3; } }
.quote-wall > * {
  break-inside: avoid;
  margin-bottom: clamp(1rem, .7rem + 1vw, 1.5rem);
  display: inline-block;
  width: 100%;
}
.quote blockquote { font-size: var(--fs-sm); line-height: 1.75; color: var(--text-muted); letter-spacing: 0; }
.quote blockquote::before { content: '\201C'; }
.quote blockquote::after { content: '\201D'; }

.stars { display: flex; gap: .2rem; margin-bottom: 1rem; }
.stars span {
  width: 15px; height: 15px; flex: none;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ---------- Footer extras ---------- */
.footer__disclaimer {
  margin-top: 3rem; padding: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: rgba(255,255,255,.02);
}
.footer__disclaimer p { font-size: var(--fs-xs); line-height: 1.8; color: var(--text-dim); max-width: 100ch; }
.footer__disclaimer h4 { margin-bottom: .6rem; }
.footer__legal { display: flex; gap: 1.25rem; }
.footer__legal a { transition: color var(--t-fast) var(--ease); }
.footer__legal a:hover { color: var(--accent); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(1rem, .5rem + 1.5vw, 2rem); bottom: clamp(1rem, .5rem + 1.5vw, 2rem);
  z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(21,24,31,.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease),
              visibility var(--t), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Jump links (inner page hero) ---------- */
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.jump a {
  font-size: var(--fs-sm); font-weight: 600;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-muted);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.jump a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Brand cards ---------- */
.brands { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 3.5rem; }
.brand-card__logo {
  background: #fff;
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: grid; place-items: center;
  min-height: 108px;
  margin-bottom: 1.5rem;
}
.brand-card__logo img { max-height: 46px; width: auto; }
.brand-card__year {
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}
.brand-card p:not(.brand-card__year) { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.75; }

/* ---------- People ---------- */
.people {
  display: grid;
  gap: clamp(1rem, .7rem + 1vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin-top: 3.5rem;
}
.person__photo {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1.4rem;
  background: var(--surface-2);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.person:hover .person__photo img { transform: scale(1.05); }
.person h3 { font-size: var(--fs-xl); }
.person__role {
  color: var(--accent); font-weight: 700; font-size: var(--fs-sm);
  margin-top: .3rem; margin-bottom: 1rem;
}
.person p:not(.person__role) { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.75; }
.person p + p { margin-top: .85rem; }

/* ---------- Notice ---------- */
.notice {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
}
.notice--warn { border-color: rgba(216,180,106,.3); background: rgba(216,180,106,.05); }
.notice__icon { flex: none; width: 24px; height: 24px; color: var(--gold); margin-top: .15rem; }
.notice__icon svg { width: 100%; height: 100%; }
.notice__title { font-size: var(--fs-base); font-weight: 700; margin-bottom: .5rem; letter-spacing: -.01em; }
.notice p { font-size: var(--fs-sm); line-height: 1.8; color: var(--text-muted); }

/* ---------- Timeline ---------- */
.timeline { margin-top: 3.5rem; position: relative; display: grid; gap: 0; }
.timeline__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  position: relative;
  padding-bottom: 2.25rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: 23px; top: 48px; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-line), var(--line));
}
.timeline__item:last-child::before { display: none; }
.timeline__marker {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: var(--fs-sm);
  background: var(--bg-raised);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  position: relative; z-index: 1;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.timeline__item.is-visible .timeline__marker { box-shadow: 0 0 0 6px rgba(34,167,208,.07); }
.timeline__marker--end { background: var(--accent); color: #04121A; border-color: var(--accent); }
.timeline__body { padding-top: .6rem; }
.timeline__body h3 { font-size: var(--fs-xl); }
.timeline__body p { margin-top: .6rem; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.75; max-width: 68ch; }

@media (min-width: 900px) {
  .timeline__item { grid-template-columns: 48px minmax(0, 1fr); gap: 2rem; padding-bottom: 2.75rem; }
}

/* ---------- Lists ---------- */
.bullets { margin-top: .75rem; display: grid; gap: .45rem; }
.bullets li {
  position: relative; padding-left: 1.1rem;
  font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.75;
}
.bullets li::before {
  content: ''; position: absolute; left: 0; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.ticks { margin-top: 1.75rem; display: grid; gap: .75rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: .25rem; color: var(--accent); }

/* ---------- Form bits ---------- */
.req { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

/* ---------- Split reverse ---------- */
@media (min-width: 761px) {
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Page hero logo (Proper Unions) ---------- */
.page-hero__logo { height: 42px; width: auto; margin-bottom: 1.5rem; }

/* ---------- Guide benefits ---------- */
.benefits { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.benefit { display: flex; gap: 1rem; align-items: flex-start; }
.benefit__icon {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); color: var(--accent);
}
.benefit__icon svg { width: 20px; height: 20px; }
.benefit h3 { font-size: var(--fs-base); font-weight: 700; letter-spacing: -.01em; }
.benefit p { margin-top: .25rem; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Press ---------- */
.press-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 3.5rem; }
.press-card__logo {
  background: #fff; border-radius: var(--r-md);
  padding: 1.1rem; margin-bottom: 1.5rem;
  display: grid; place-items: center; min-height: 86px;
}
.press-card__logo img { max-height: 44px; width: auto; }
.press-card p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.75; }

/* ---------- Legal documents ---------- */
.legal { max-width: 74ch; }
.legal h2 {
  font-size: var(--fs-h3);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p { margin-top: 1.1rem; color: var(--text-muted); line-height: 1.85; font-size: var(--fs-sm); }
.legal a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.legal a:hover { border-bottom-color: var(--accent); }

.legal__list { margin-top: 1.1rem; display: grid; gap: .6rem; }
.legal__list li {
  position: relative; padding-left: 1.25rem;
  color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.8;
}
.legal__list li::before {
  content: ''; position: absolute; left: 0; top: .75em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

.legal__data {
  margin-top: 1.25rem;
  columns: 2;
  column-gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.02);
}
@media (min-width: 720px) { .legal__data { columns: 3; } }
.legal__data li {
  break-inside: avoid;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
  padding: .3rem 0;
}
.legal__note { font-size: var(--fs-xs) !important; color: var(--text-dim) !important; }
.legal__address {
  margin-top: 1.25rem; font-style: normal;
  color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.9;
}

/* ---------- Desktop nav corrections ---------- */
@media (min-width: 900px) {
  .nav__cta-mobile { display: none; }
}

/* ---------- Hero fallback imagery ----------
   The <video> fades in over this. If the video never loads — reduced motion,
   save-data, blocked autoplay, JS off — the hero still has a background. */
.hero {
  background-image: url('/assets/img/hero-poster.jpg');
  background-size: cover;
  background-position: center 40%;
  background-color: var(--bg-sunken);
}

/* ---------- People: horizontal cards, always an even grid ---------- */
.people { grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)); }
@media (min-width: 560px) {
  .person {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    column-gap: 1.5rem;
    align-content: start;
  }
  .person__photo {
    grid-column: 1;
    /* The grid has no explicit rows, so `1 / -1` would collapse to a single
       row and force it to the photo's height. Span generously instead. */
    grid-row: 1 / span 20;
    margin-bottom: 0;
    align-self: start;
  }
  .person > :not(.person__photo) { grid-column: 2; }
  .person h3 { margin-top: -.2rem; }
}
@media (max-width: 559px) {
  .person__photo { max-width: 180px; }
}

/* ---------- Page-level suppressions ---------- */
/* The investors page already ends with the booking form — the global
   "book a call" band underneath it would just repeat the same CTA. */
body.no-footer-cta > main + section { display: none; }

/* ---------- Mobile button sizing ---------- */
@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .cta-band .hero__actions { align-items: stretch; }
}

/* ---------- <picture> is an inline wrapper by default, so height:100% on the
   inner <img> resolves against nothing and the ratio box shows through. ---------- */
.split__media picture,
.person__photo picture,
.project picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Non-link line inside a footer link list */
.footer__hours { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Legal page extras ---------- */
.legal__updated {
  font-size: var(--fs-xs) !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim) !important;
  margin-bottom: 2.5rem;
}
/* Deliberately loud: a placeholder that must not reach production unnoticed. */
.legal__todo {
  background: rgba(216,180,106,.18);
  border: 1px dashed var(--gold);
  color: var(--gold);
  padding: .05em .45em;
  border-radius: 4px;
  font-weight: 700;
  font-size: .9em;
}
