.hub-home-hero {
  --hero-background: #101c2a;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hero-background);
}

.hub-home-hero .hub-herogrid {
  grid-template-columns: 1fr;
  min-height: 440px;
}

.hub-home-hero .hub-hero-copy {
  position: relative;
  z-index: 1;
  width: min(730px, 64%);
  padding: 56px 0 75px;
}

.hub-home-hero .hub-home-positioning {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f3c5ae;
  font-size: clamp(.85rem, 1.28vw, 1.12rem);
  font-weight: 700;
  letter-spacing: .035em;
}

.hub-home-positioning::before {
  content: "";
  flex: 0 0 26px;
  height: 2px;
  background: linear-gradient(90deg, #e4574b, #f2c59e);
  box-shadow: 0 0 12px #ff957c70;
}

.hub-page .hub-home-hero h1 {
  margin-block: 14px 24px;
  color: #fff9ef;
  font-size: clamp(1.75rem, 4vw, 3.15rem);
  font-weight: 820;
  line-height: 1.16;
  letter-spacing: -.045em;
  white-space: normal;
}

.hub-home-hero h1 span {
  white-space: nowrap;
  color: #ffc49e;
  background: linear-gradient(105deg, #ffe1ad, #ffa58f);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hub-home-hero .hub-search {
  gap: 6px;
  max-width: 460px;
  margin-top: 21px;
  padding: 4px;
  border: 1px solid #ffffff42;
  border-radius: 8px;
  background: #111c2cc7;
}

.hub-home-hero .hub-search input {
  min-height: 40px;
  border-color: transparent;
  background: transparent;
  color: #fff;
}

.hub-home-hero .hub-search input::placeholder { color: #c6cfdb; }
.hub-home-hero .hub-search button { min-height: 40px; background: #a8372c; }
.hub-home-hero .hub-search button:hover { background: #8f2b23; }
.hub-home-hero .hub-hero-links { margin-top: 5px; }

.hub-home-hero .hub-city {
  position: absolute;
  inset: 0 0 0 34%;
  margin: 0;
  background: var(--hero-background);
}

.hub-home-hero .hub-city img { object-position: 49% 53%; }

.hub-home-hero .hub-city::after {
  background:
    linear-gradient(90deg, var(--hero-background) 1%, #101c2aee 13%, #101c2a50 46%, transparent 72%),
    linear-gradient(0deg, #101c2acd, transparent 38%);
}

.hub-home-hero .hub-city-controls {
  right: max(32px, calc((100vw - 1220px) / 2));
  left: auto;
  bottom: 53px;
}

.hub-home-hero .hub-city figcaption {
  right: max(32px, calc((100vw - 1220px) / 2));
  bottom: 96px;
  max-width: calc(100% - 24px);
}

.hub-home-language { font-size: .85rem; }
.hub-home-mobile-subscribe { display: none; }
.hub-gateways { position: relative; z-index: 2; margin-top: -32px; }
.hub-gateways-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.hub-gateway {
  --gateway-accent: #943b30;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px 16px;
  border: 1px solid #e0d9d0;
  border-top: 3px solid var(--gateway-accent);
  border-radius: 5px;
  background: #fffefa;
  box-shadow: 0 7px 22px #17232e0a;
}

.hub-gateway-visit { --gateway-accent: #866023; }
.hub-gateway-capital { --gateway-accent: #28516e; }
.hub-gateway-ai { --gateway-accent: #5c477e; }

.hub-gateway .hub-gateway-label {
  color: var(--gateway-accent);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .035em;
}

.hub-gateway h3 {
  align-self: stretch;
  margin-top: 5px;
  font-size: clamp(1rem, 1.72vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
}

.hub-gateway h3 a { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.hub-gateway h3 a span { flex: none; color: var(--gateway-accent); font-size: .87em; }
.hub-gateway .hub-gateway-description { margin-block: 9px 13px; font-size: .86rem; line-height: 1.55; }

.hub-gateway .hub-gateway-secondary {
  margin-top: auto;
  color: var(--gateway-accent);
  font-size: .81rem;
  font-weight: 700;
}

.hub-gateway-secondary::after { content: " ›"; }
.hub-home-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:14px; }
.hub-home-actions .hub-home-partner { display:inline-flex; align-items:center; min-height:43px; padding:7px 13px; border:1px solid #eac4b590; border-radius:6px; background:#17243799; color:#fff5e9; font-size:.91rem; font-weight:700; }
.hub-ecosystem { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--hub-line); border-radius:10px; margin-top:20px; background:#fff; overflow:hidden; }
.hub-ecosystem > a { display:flex; flex-direction:column; gap:2px; padding:13px 17px; }
.hub-ecosystem > a + a { border-inline-start:1px solid var(--hub-line); }
.hub-ecosystem > a:hover { background:#f7f1eb; text-decoration:none; }
.hub-ecosystem > a:focus-visible { outline-offset:-3px; }
.hub-ecosystem strong { font-size:clamp(1.12rem,2.1vw,1.6rem); line-height:1.28; font-variant-numeric:tabular-nums; }
.hub-ecosystem span { color:var(--hub-muted); font-size:.83rem; line-height:1.35; }
.hub-page:has(.hub-home-hero) .hub-themes { grid-template-columns:repeat(3,minmax(0,1fr)); }

@media (max-width: 960px) {
  .hub-gateways-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-gateway h3 { font-size: 1.26rem; }
}

@media (max-width: 700px) {
  .hub-header:has(.hub-home-language) .hub-subscribe { display: none; }
  .hub-home-mobile-subscribe { display: inline; }
  .hub-home-hero .hub-herogrid { min-height: auto; }
  .hub-home-hero .hub-hero-copy { width: 100%; padding: 24px 0 11px; }
  .hub-home-hero .hub-home-positioning { gap: 7px; font-size: clamp(.71rem, 3.2vw, .95rem); }
  .hub-home-positioning::before { flex-basis: 14px; }
  .hub-page .hub-home-hero h1 { margin-block: 10px 14px; font-size: clamp(1.18rem, 5.7vw, 2.3rem); }
  .hub-home-hero .hub-search { margin-top: 12px; }
  .hub-home-hero .hub-hero-links { margin-top: 4px; font-size: .79rem; }
  .hub-home-actions { margin-top:8px; }
  .hub-home-actions .hub-button, .hub-home-actions .hub-home-partner { min-height:38px; padding-inline:11px; font-size:.83rem; }
  .hub-home-hero .hub-city { position: relative; inset: auto; min-height: clamp(122px, 34vw, 220px); }
  .hub-home-hero .hub-city img { object-position: 50% 56%; }
  .hub-home-hero .hub-city::after { background: linear-gradient(0deg, #101c2aab, transparent 60%); }
  .hub-home-hero .hub-city-controls { left: 10px; right: auto; bottom: 10px; }
  .hub-home-hero .hub-city figcaption { right: 10px; bottom: 10px; max-width: calc(100% - 160px); }
  .hub-gateways { margin-top: 12px; }
  .hub-gateways-grid { gap: 8px; }
  .hub-gateway { padding: 12px 10px 10px; }
  .hub-gateway h3 { font-size: clamp(.93rem, 3.75vw, 1.16rem); }
  .hub-gateway .hub-gateway-label { font-size: .68rem; }
  .hub-gateway .hub-gateway-description { margin-block: 6px 8px; font-size: .79rem; }
  .hub-gateway .hub-gateway-secondary { font-size: .75rem; }
  .hub-ecosystem { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:13px; }
  .hub-ecosystem > a { padding:10px; }
  .hub-ecosystem > a:nth-child(3) { border-inline-start:0; }
  .hub-ecosystem > a:nth-child(n+3) { border-top:1px solid var(--hub-line); }
  .hub-page:has(.hub-home-hero) .hub-themes { grid-template-columns:1fr; }
}
