
:root {
  --bg:       #0D0D0D;
  --bg-2:     #141414;
  --bg-3:     #1C1C1C;
  --gold:     #C9A84C;
  --gold-lt:  #D9BE72;
  --gold-dim: #A8892E;
  --text:     #F5F0E8;
  --text-dim: #9E9890;
  --text-muted:#5C5650;
  --border:   rgba(201,168,76,0.12);
  --border-h: rgba(201,168,76,0.28);
  --font-display: 'Instrument Serif', serif;
  --font-body:    'Inter', sans-serif;
  --sp-4:1rem;--sp-5:1.25rem;--sp-6:1.5rem;--sp-8:2rem;
  --sp-10:2.5rem;--sp-12:3rem;--sp-16:4rem;--sp-20:5rem;--sp-24:6rem;
  --radius:8px;--radius-lg:12px;--transition:0.2s ease;
  --ease:cubic-bezier(0.4,0,0.2,1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{font-size:16px;scroll-behavior:smooth;}
body{background:var(--bg);color:var(--text);font-family:var(--font-body);
     line-height:1.6;overflow-x:hidden;}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
button{cursor:pointer;border:none;background:none;font-family:inherit;}

.skip-link{position:absolute;top:-100%;left:1rem;background:var(--gold);
           color:#0D0D0D;padding:.5rem 1rem;border-radius:0 0 8px 8px;
           font-size:.875rem;font-weight:700;z-index:9999;transition:top .2s;}
.skip-link:focus{top:0;}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px;}

/* Nav */
.hub-nav{position:fixed;top:0;left:0;right:0;z-index:100;
         padding:1.25rem 0;transition:background .2s,padding .2s;}
.hub-nav.scrolled{background:rgba(13,13,13,.95);padding:.75rem 0;
                  border-bottom:1px solid var(--border);
                  backdrop-filter:blur(20px);}
.hub-nav__inner{max-width:1100px;margin:0 auto;padding:0 2rem;
                display:flex;align-items:center;justify-content:space-between;}
.hub-nav__logo{display:flex;align-items:center;gap:.5rem;}
.hub-nav__wordmark{font-family:var(--font-display);font-size:1.4rem;
                   font-style:italic;color:var(--text);letter-spacing:.01em;}
.hub-nav__wordmark span{color:var(--gold);}
.hub-nav__links{display:flex;gap:2rem;}
.hub-nav__links a{font-size:.85rem;color:var(--text-dim);
                  transition:color var(--transition);}
.hub-nav__links a:hover{color:var(--gold);}

/* Container */
.container{max-width:1100px;margin:0 auto;padding:0 2rem;}

/* Hero */
.hub-hero{min-height:100vh;display:flex;align-items:center;
          padding:120px 0 80px;position:relative;overflow:hidden;}
.hub-hero__bg{position:absolute;inset:0;pointer-events:none;}
.hub-hero__line{position:absolute;top:50%;left:0;right:0;height:1px;
                background:linear-gradient(90deg,transparent,rgba(201,168,76,.15),transparent);}
.hub-hero__content{position:relative;z-index:1;max-width:800px;}
.hub-hero__eyebrow{font-family:var(--font-body);font-size:.72rem;font-weight:600;
                   letter-spacing:.18em;text-transform:uppercase;
                   color:var(--gold);margin-bottom:var(--sp-6);}
.hub-hero__title{font-family:var(--font-display);font-size:clamp(3rem,7vw,6rem);
                 font-style:italic;line-height:1.05;letter-spacing:-.01em;
                 margin-bottom:var(--sp-6);color:var(--text);}
.hub-hero__title em{font-style:normal;color:var(--gold);}
.hub-hero__body{font-size:1.1rem;color:var(--text-dim);line-height:1.8;
                max-width:560px;margin-bottom:var(--sp-8);}
.hub-hero__divider{width:60px;height:2px;background:var(--gold);margin-bottom:var(--sp-8);}
.hub-hero__scroll{font-size:.75rem;color:var(--text-muted);letter-spacing:.1em;
                  text-transform:uppercase;display:flex;align-items:center;gap:.75rem;}
.hub-hero__scroll::before{content:'';display:block;width:40px;height:1px;background:var(--text-muted);}

/* Business cards */
.hub-businesses{padding:var(--sp-24) 0;background:var(--bg-2);}
.hub-businesses__header{text-align:center;margin-bottom:var(--sp-16);}
.hub-businesses__tag{font-size:.7rem;font-weight:600;letter-spacing:.14em;
                     text-transform:uppercase;color:var(--gold);margin-bottom:var(--sp-4);
                     display:block;}
.hub-businesses__title{font-family:var(--font-display);font-size:clamp(1.75rem,3vw,2.5rem);
                       font-style:italic;color:var(--text);}
.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.hub-card{background:var(--bg-3);border:1px solid var(--border);border-radius:12px;
          padding:2.5rem 2rem;transition:border-color .2s,transform .2s;
          display:flex;flex-direction:column;}
.hub-card:hover{border-color:var(--border-h);transform:translateY(-4px);}
.hub-card__num{font-family:var(--font-display);font-size:3.5rem;font-style:italic;
               color:rgba(201,168,76,.12);line-height:1;margin-bottom:var(--sp-5);}
.hub-card__icon{width:48px;height:48px;border-radius:8px;
                background:rgba(201,168,76,.08);border:1px solid var(--border);
                display:flex;align-items:center;justify-content:center;
                font-size:1.4rem;margin-bottom:var(--sp-5);}
.hub-card__name{font-family:var(--font-display);font-size:1.3rem;font-style:italic;
                color:var(--text);margin-bottom:.5rem;}
.hub-card__sub{font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
               color:var(--gold);margin-bottom:var(--sp-4);}
.hub-card__desc{font-size:.875rem;color:var(--text-dim);line-height:1.7;flex:1;
                margin-bottom:var(--sp-6);}
.hub-card__link{display:inline-flex;align-items:center;gap:.5rem;
                font-size:.82rem;font-weight:600;color:var(--gold);
                transition:gap .2s;}
.hub-card:hover .hub-card__link{gap:.75rem;}
.hub-card__coming{font-size:.78rem;color:var(--text-muted);
                  background:rgba(255,255,255,.04);border:1px solid var(--border);
                  padding:.3rem .75rem;border-radius:100px;display:inline-block;}

/* Standard section */
.hub-standard{padding:var(--sp-24) 0;}
.hub-standard__header{margin-bottom:var(--sp-12);}
.hub-standard__tag{font-size:.7rem;font-weight:600;letter-spacing:.14em;
                   text-transform:uppercase;color:var(--gold);display:block;margin-bottom:var(--sp-4);}
.hub-standard__title{font-family:var(--font-display);font-size:clamp(1.75rem,3vw,2.25rem);
                     font-style:italic;color:var(--text);max-width:480px;line-height:1.2;}
.hub-principles{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;}
.hub-principle{padding:var(--sp-6) 0;border-top:1px solid var(--border);}
.hub-principle__num{font-family:var(--font-display);font-size:1.75rem;font-style:italic;
                    color:var(--gold);margin-bottom:var(--sp-4);}
.hub-principle__title{font-family:var(--font-body);font-size:.9rem;font-weight:600;
                      color:var(--text);margin-bottom:.5rem;}
.hub-principle__text{font-size:.82rem;color:var(--text-dim);line-height:1.65;}

/* Footer */
.hub-footer{background:var(--bg-2);border-top:1px solid var(--border);padding:var(--sp-10) 0 var(--sp-6);}
.hub-footer__inner{display:flex;justify-content:space-between;align-items:flex-start;
                   gap:var(--sp-8);flex-wrap:wrap;margin-bottom:var(--sp-8);}
.hub-footer__brand-name{font-family:var(--font-display);font-size:1.1rem;font-style:italic;
                         color:var(--text);margin-bottom:.4rem;}
.hub-footer__brand-name span{color:var(--gold);}
.hub-footer__tagline{font-size:.8rem;color:var(--text-muted);}
.hub-footer__links{display:flex;flex-direction:column;gap:.5rem;}
.hub-footer__links a{font-size:.82rem;color:var(--text-dim);transition:color .2s;}
.hub-footer__links a:hover{color:var(--gold);}
.hub-footer__links h4{font-size:.68rem;font-weight:700;letter-spacing:.1em;
                       text-transform:uppercase;color:var(--text-muted);margin-bottom:.5rem;}
.hub-footer__bottom{display:flex;justify-content:space-between;align-items:center;
                    padding-top:var(--sp-5);border-top:1px solid var(--border);flex-wrap:wrap;gap:1rem;}
.hub-footer__copy{font-size:.78rem;color:var(--text-muted);}
.hub-footer__legal{display:flex;gap:1.5rem;}
.hub-footer__legal a{font-size:.78rem;color:var(--text-muted);transition:color .2s;}
.hub-footer__legal a:hover{color:var(--gold);}

/* Animations */
.fade-up{opacity:0;transform:translateY(20px);
         transition:opacity .65s var(--ease),transform .65s var(--ease);}
.js-ready .fade-up{opacity:0;transform:translateY(20px);}
.fade-up.visible{opacity:1;transform:none;}
.js-ready .fade-up.visible{opacity:1;transform:none;}

/* Responsive */
@media(max-width:900px){
  .hub-grid{grid-template-columns:1fr;}
  .hub-principles{grid-template-columns:1fr 1fr;}
  .hub-nav__links{display:none;}
}
@media(max-width:600px){
  .hub-principles{grid-template-columns:1fr;}
  .hub-footer__inner{flex-direction:column;}
}

/* ── Mobile navigation ─────────────────────────────────── */
.hub-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  padding: 7px;
  cursor: pointer;
  background: none;
  border: none;
  transition: background 0.2s;
}
.hub-nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}
.hub-nav__burger:hover { background: rgba(201,168,76,0.1); }
.hub-nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hub-nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hub-nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hub-nav__mobile {
  position: fixed;
  top: 64px;
  left: 0; right: 0; bottom: 0;
  background: rgba(13,13,13,0.99);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.hub-nav__mobile.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}
.hub-nav__mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-dim);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  text-decoration: none;
}
.hub-nav__mobile-link:hover { color: var(--gold); }
.hub-nav__mobile-footer {
  margin-top: auto;
  padding-top: 1.5rem;
}
.hub-nav__mobile-footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hub-nav__mobile-footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.hub-nav__mobile-footer-legal a:hover { color: var(--gold); }

@media (max-width: 720px) {
  .hub-nav__links { display: none; }
  .hub-nav__burger { display: flex; }
}
@media (max-width: 480px) {
  .hub-hero__title { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .hub-hero { padding: 100px 0 60px; }
  .hub-principle { padding: var(--sp-4) 0; }
  .hub-footer__inner { flex-direction: column; gap: 2rem; }
  .hub-footer__links { gap: 0.4rem; }
}
@media (max-width: 768px) {
  .hub-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .hub-principles { grid-template-columns: 1fr 1fr; }
  .hub-card { padding: 1.75rem 1.5rem; }
  .hub-hero__body { font-size: 1rem; }
  .hub-footer__inner { flex-wrap: wrap; gap: 2rem; }
}

.hub-footer__col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ── About section link hover ─────────────────────────── */
.hub-about-link { transition: border-color 0.2s; }
.hub-about-link:hover { border-color: rgba(201,168,76,0.3) !important; }

/* ── About section responsive ─────────────────────────── */
@media (max-width: 700px) {
  .hub-about-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* ── Theme toggle button ────────────────────────────────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-dim);
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(255,255,255,0.12); color: var(--text); }
.theme-toggle svg   { width: 16px; height: 16px; display: block; pointer-events: none; }
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none; }
html.light .theme-toggle .icon-sun  { display: none; }
html.light .theme-toggle .icon-moon { display: block; }
html.light .theme-toggle { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.14); color: var(--text-muted); }
html.light .theme-toggle:hover { background: rgba(0,0,0,0.10); }
/* Hub specific */
.hub-theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-dim);
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.hub-theme-toggle:hover { background: rgba(201,168,76,0.15); color: var(--gold); }
.hub-theme-toggle svg   { width: 16px; height: 16px; display: block; pointer-events: none; }
.hub-theme-toggle .icon-sun  { display: block; }
.hub-theme-toggle .icon-moon { display: none; }
html.light .hub-theme-toggle .icon-sun  { display: none; }
html.light .hub-theme-toggle .icon-moon { display: block; }
html.light .hub-theme-toggle { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.12); }

/* ── LIGHT MODE — Hub ───────────────────────────────────── */
html.light {
  --bg:        #F8F5EE;
  --bg-2:      #F0EBE0;
  --bg-3:      #E8E1D4;
  --text:      #1A1508;
  --text-dim:  #4A3E28;
  --text-muted:#6A5E48;
  --border:    rgba(201,168,76,0.18);
  --border-h:  rgba(201,168,76,0.40);
}
html.light body                   { background: var(--bg); color: var(--text); }
html.light .hub-nav               { background: rgba(248,245,238,0.94); border-bottom-color: rgba(201,168,76,0.18); }
html.light .hub-nav.scrolled      { background: rgba(248,245,238,0.98); }
html.light .hub-nav__mobile       { background: #F0EBE0; }
html.light .hub-nav__wordmark     { color: var(--text); }
html.light .hub-nav__links a      { color: var(--text-dim); }
html.light .hub-nav__links a:hover{ color: var(--gold-dim); }
html.light .hub-businesses        { background: var(--bg-2); }
html.light .hub-card              { background: rgba(255,255,255,0.75); }
html.light .hub-about             { background: var(--bg-2); }
html.light .hub-footer            { background: var(--bg-2); border-top-color: var(--border); }
html.light .hub-footer__brand-name,
html.light .hub-footer__bottom    { color: var(--text); }
html.light .hub-footer__links a   { color: var(--text-dim); }
html.light .hub-footer__tagline,
html.light .hub-footer__copy,
html.light .hub-footer__legal a,
html.light .hub-footer__col-title { color: var(--text-muted); }
html.light .hub-standard          { background: var(--bg); }
html.light .hub-principle         { border-top-color: var(--border); }

/* ── Corporate Hub Nav Updates ─────────────────────── */
.hub-nav__inner { gap: 0; }
.hub-nav__links a {
  font-size: .88rem;
  letter-spacing: .01em;
  font-weight: 500;
  padding: .4rem .85rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.hub-nav__links a:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.07);
}
.hub-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.2rem;
  background: transparent;
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.hub-nav__cta:hover {
  background: rgba(201,168,76,0.10);
  border-color: var(--gold);
}
.hub-nav__actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}
html.light .hub-nav__cta {
  border-color: var(--gold-dim);
  color: var(--gold-dim);
}
html.light .hub-nav__links a:hover {
  background: rgba(201,168,76,0.10);
}
/* Corporate hero update */
.hub-hero__location {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
