.hub-body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(184, 148, 88, .11), transparent 30rem),
    radial-gradient(circle at 18% 44%, rgba(241, 234, 220, .025), transparent 34rem),
    linear-gradient(180deg, #0d0c09 0%, #080806 56%, #0d0c09 100%);
}

.hub-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 110;
  height: 2px;
  background: var(--chx-gold-300);
  transform: scaleX(0);
  transform-origin: left;
}

.hub-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(241, 234, 220, .1);
}

.hub-header__inner {
  display: grid;
  min-height: 86px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.hub-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  font-family: var(--chx-serif);
  font-size: 1.24rem;
  letter-spacing: .01em;
  text-decoration: none;
}

.hub-brand__mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--chx-gold-300);
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .28));
  perspective: 90px;
  transform-style: preserve-3d;
  transition: filter 320ms var(--chx-ease), transform 320ms var(--chx-ease);
}

.hub-brand__mark svg {
  display: block;
  width: 27px;
  height: 27px;
  animation: hub-emblem-orbit 26s linear infinite;
  backface-visibility: visible;
  transform-origin: center;
  transform-style: preserve-3d;
}

.hub-brand:hover .hub-brand__mark,
.hub-brand:focus-visible .hub-brand__mark {
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .34)) brightness(1.08);
  transform: translateY(-.5px) scale(1.02);
}

@keyframes hub-emblem-orbit {
  0%, 100% { transform: rotateX(2deg) rotateY(-8deg) rotateZ(-1deg); }
  25% { transform: rotateX(-5deg) rotateY(10deg) rotateZ(.8deg); }
  50% { transform: rotateX(4deg) rotateY(6deg) rotateZ(1.4deg); }
  75% { transform: rotateX(-2deg) rotateY(-10deg) rotateZ(-.6deg); }
}

@keyframes hub-emblem-orbit-mobile {
  0%, 100% { transform: rotateX(1deg) rotateY(-5deg) rotateZ(-.6deg); }
  33% { transform: rotateX(-3deg) rotateY(6deg) rotateZ(.5deg); }
  66% { transform: rotateX(2deg) rotateY(4deg) rotateZ(.8deg); }
}

.hub-nav { display: flex; align-items: center; gap: 30px; }

.hub-nav a,
.hub-header__contact {
  color: var(--chx-limestone-200);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

.hub-nav a { position: relative; padding-block: 8px; }
.hub-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--chx-gold-300);
  content: "";
  transform: scaleX(0);
  transition: transform 260ms var(--chx-ease);
}
.hub-nav a:hover::after { transform: scaleX(1); }
.hub-header__contact { justify-self: end; color: var(--chx-gold-300); }

.hub-menu-button { display: none; }

.hub-hero {
  position: relative;
  display: grid;
  min-height: min(940px, 100svh);
  padding-top: 86px;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid var(--chx-line);
  isolation: isolate;
}

.hub-hero::before {
  position: absolute;
  inset: 86px 0 auto;
  z-index: 4;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--chx-line-strong), transparent);
  content: "";
  pointer-events: none;
}

.hub-hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 8, 6, .98) 0%, rgba(8, 8, 6, .91) 22%, rgba(8, 8, 6, .6) 39%, rgba(8, 8, 6, .14) 57%, transparent 69%),
    linear-gradient(180deg, rgba(8, 8, 6, .34) 0%, transparent 23%, transparent 78%, rgba(8, 8, 6, .42) 100%);
  content: "";
  pointer-events: none;
}

.hub-hero__inner {
  position: relative;
  z-index: 3;
  padding-block: 96px 62px;
}

.hub-hero__copy {
  position: relative;
  width: min(55vw, 760px);
  z-index: 3;
}

.hub-hero h1 {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(4.1rem, 6.65vw, 7.25rem);
  line-height: .88;
}

.hub-hero h1 em {
  display: block;
  color: var(--chx-gold-300);
  font-weight: 300;
}

.hub-hero__lead { max-width: 650px; margin: 32px 0 0; }
.hub-hero__actions { margin-top: 36px; }

.hub-visual {
  position: absolute;
  top: calc(50% + 36px);
  right: 0;
  z-index: 0;
  width: min(64vw, 1355px);
  height: min(82svh, 737px);
  margin: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  pointer-events: none;
  transform: translateY(-50%);
}

.hub-visual::before,
.hub-visual::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.hub-visual::before {
  background:
    linear-gradient(90deg, #080806 0%, rgba(8, 8, 6, .7) 13%, rgba(8, 8, 6, .18) 34%, transparent 52%),
    linear-gradient(180deg, #080806 0%, rgba(8, 8, 6, .9) 4%, rgba(8, 8, 6, .4) 13%, transparent 24%, transparent 80%, rgba(8, 8, 6, .58) 92%, #080806 100%);
}

.hub-visual::after {
  z-index: 3;
  background: radial-gradient(circle at 73% 48%, rgba(241, 234, 220, .055), transparent 40%);
  box-shadow: inset -10px 0 52px rgba(8, 8, 6, .28), inset 0 0 100px rgba(8, 8, 6, .28);
}

.hub-visual__media {
  position: absolute;
  inset: 0;
  display: block;
}

.hub-visual__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  filter: sepia(.07) saturate(.82) contrast(1.075) brightness(.88);
}

.hub-section { padding-block: clamp(90px, 12vw, 170px); }

.hub-intro {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: clamp(48px, 9vw, 150px);
  align-items: start;
}

.hub-intro h2 { max-width: 900px; }
.hub-intro__copy { max-width: 750px; margin: 34px 0 0 auto; }

.hub-houses {
  margin-top: 72px;
  border-top: 1px solid var(--chx-line);
}

.hub-house {
  display: grid;
  min-height: 190px;
  grid-template-columns: 90px .8fr 1.2fr auto;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid var(--chx-line);
  text-decoration: none;
  transition: background 320ms var(--chx-ease), padding 320ms var(--chx-ease);
}

.hub-house:hover {
  padding-inline: 22px;
  background: linear-gradient(90deg, rgba(209, 179, 122, .075), transparent 72%);
}

.hub-house__num { color: #71695e; font: 500 .65rem/1 var(--chx-mono); letter-spacing: .16em; }
.hub-house h3 { margin: 0; font: 400 clamp(2.25rem, 4vw, 4.5rem)/1 var(--chx-serif); letter-spacing: -.04em; }
.hub-house h3 em { color: var(--chx-gold-300); font-weight: 300; }
.hub-house p { max-width: 510px; margin: 0; color: var(--chx-limestone-400); font-size: .94rem; }
.hub-house__arrow { color: var(--chx-gold-300); font-size: 1.4rem; transition: transform 260ms var(--chx-ease); }
.hub-house:hover .hub-house__arrow { transform: translateX(8px); }

.hub-principle {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--chx-line);
  background: #ece3d4;
  color: #17140f;
}

.hub-principle::after {
  position: absolute;
  top: -45%;
  right: -8%;
  width: min(50vw, 690px);
  aspect-ratio: 1;
  border: 1px solid rgba(23, 20, 15, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(23, 20, 15, .025), 0 0 0 140px rgba(23, 20, 15, .018);
  content: "";
}

.hub-principle__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: clamp(50px, 9vw, 150px);
  padding-block: clamp(90px, 11vw, 150px);
}

.hub-principle .chx-eyebrow { color: #725932; }
.hub-principle h2 { max-width: 900px; }
.hub-principle__copy { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; margin-top: 40px; }
.hub-principle__copy p { margin: 0; color: #5f574c; line-height: 1.8; }

.hub-cta { text-align: center; }
.hub-cta .chx-eyebrow { justify-content: center; }
.hub-cta h2 { max-width: 920px; margin: 30px auto 0; }
.hub-cta p { max-width: 610px; margin: 30px auto 0; }
.hub-cta .chx-actions { justify-content: center; margin-top: 36px; }

.hub-footer { border-top: 1px solid var(--chx-line); }
.hub-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  padding-block: 36px 48px;
  color: #756e63;
  font-size: .72rem;
}
.hub-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.hub-footer a { text-decoration: none; }
.hub-footer a:hover { color: var(--chx-gold-300); }

@media (max-width: 1000px) {
  .hub-header__inner { grid-template-columns: 1fr auto; }
  .hub-nav { display: none; }
  .hub-hero__copy { width: min(62vw, 690px); }
  .hub-visual { width: min(72vw, 1100px); }
  .hub-house { grid-template-columns: 60px .8fr 1.2fr auto; gap: 24px; }
}

@media (max-width: 1000px) and (min-width: 761px) {
  .hub-header__contact { display: none; }
  .hub-menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    justify-self: end;
    border: 1px solid var(--chx-line);
    border-radius: 50%;
    color: var(--chx-limestone-100);
    background: rgba(8, 8, 6, .34);
  }
  .hub-menu-button span,
  .hub-menu-button span::before {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 220ms ease;
  }
  .hub-menu-button span::before { transform: translateY(5px); }
  .hub-menu-button[aria-expanded="true"] span { transform: rotate(45deg); }
  .hub-menu-button[aria-expanded="true"] span::before { transform: rotate(-90deg); }
  .hub-nav[data-open] {
    position: fixed;
    inset: 86px 0 auto;
    display: flex;
    height: calc(100svh - 86px);
    padding: 46px clamp(32px, 7vw, 72px);
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    background: rgba(8, 8, 6, .98);
    overflow-y: auto;
  }
  .hub-nav[data-open] a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--chx-line);
    font: 400 2rem/1 var(--chx-serif);
    letter-spacing: -.02em;
    text-transform: none;
  }
  .chx-menu-open .hub-header { background: rgba(8, 8, 6, .98); }
}

@media (max-width: 760px) {
  .hub-header { position: fixed; background: rgba(8, 8, 6, .86); backdrop-filter: blur(16px); }
  .hub-header__inner { min-height: 70px; }
  .hub-brand__mark svg { animation-name: hub-emblem-orbit-mobile; }
  .hub-header__contact { display: none; }
  .hub-menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    justify-self: end;
    border: 1px solid var(--chx-line);
    border-radius: 50%;
    color: var(--chx-limestone-100);
    background: transparent;
  }
  .hub-menu-button span,
  .hub-menu-button span::before {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 220ms ease;
  }
  .hub-menu-button span::before { transform: translateY(5px); }
  .hub-menu-button[aria-expanded="true"] span { transform: rotate(45deg); }
  .hub-menu-button[aria-expanded="true"] span::before { transform: rotate(-90deg); }
  .hub-nav[data-open] {
    position: fixed;
    inset: 70px 0 auto;
    display: flex;
    height: calc(100svh - 70px);
    padding: 42px 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    background: rgba(8, 8, 6, .98);
    overflow-y: auto;
  }
  .hub-nav[data-open] a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--chx-line); font: 400 2rem/1 var(--chx-serif); letter-spacing: -.02em; text-transform: none; }
  .hub-hero {
    min-height: max(780px, 100svh);
    padding-top: 70px;
  }
  .hub-hero::before { inset: 70px 0 auto; }
  .hub-hero::after {
    background:
      linear-gradient(90deg, rgba(8, 8, 6, .9) 0%, rgba(8, 8, 6, .69) 52%, rgba(8, 8, 6, .24) 100%),
      linear-gradient(180deg, rgba(8, 8, 6, .58) 0%, rgba(8, 8, 6, .1) 24%, rgba(8, 8, 6, .18) 65%, rgba(8, 8, 6, .88) 100%);
  }
  .hub-hero__inner { padding-block: 94px 70px; }
  .hub-hero__copy { width: 100%; }
  .hub-hero h1 { font-size: clamp(3.35rem, 15vw, 4.8rem); }
  .hub-hero__lead { margin-top: 26px; }
  .hub-visual {
    top: calc(50% + 34px);
    width: 100%;
    height: min(82svh, 737px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 86%, transparent 100%);
  }
  .hub-visual::before {
    background:
      linear-gradient(90deg, rgba(8, 8, 6, .8) 0%, rgba(8, 8, 6, .38) 52%, rgba(8, 8, 6, .08) 100%),
      linear-gradient(180deg, #080806 0%, rgba(8, 8, 6, .78) 8%, transparent 22%, transparent 76%, rgba(8, 8, 6, .95) 100%);
  }
  .hub-visual__media {
    inset: 0;
  }
  .hub-visual__media img { object-position: 72% 50%; }
  .hub-intro,
  .hub-principle__inner { grid-template-columns: 1fr; gap: 32px; }
  .hub-intro__copy { margin-left: 0; }
  .hub-houses { margin-top: 48px; }
  .hub-house { min-height: 0; grid-template-columns: 34px 1fr auto; gap: 14px; padding-block: 28px; }
  .hub-house:hover { padding-inline: 0; background: transparent; }
  .hub-house p { grid-column: 2 / -1; }
  .hub-principle__copy { grid-template-columns: 1fr; gap: 20px; }
  .hub-footer__inner { grid-template-columns: 1fr; }
  .hub-footer__links { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .hub-house h3 { font-size: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-brand__mark svg { animation: none; transform: none; }
  .hub-visual__media img { animation: none; }
}
