/* =========================================================
   Division marketing sites — themed public pages per portal
   ========================================================= */

.div-site {
  --div-accent: #FFBF00;
  --div-accent-2: #38bdf8;
  --div-ink: #e2e8f0;
  --div-muted: #94a3b8;
  --div-surface: #0f172a;
  --div-deep: #06101f;
  --div-hero-glow: rgba(255, 191, 0, 0.14);
  --div-card-border: rgba(148, 163, 184, 0.22);
  min-height: 100vh;
  background: var(--div-deep);
  color: var(--div-ink);
}

/* —— Distinct business themes (same family ownership, separate ops feel) —— */
.div-site.theme-dojo {
  --div-accent: #fbbf24;
  --div-accent-2: #f59e0b;
  --div-deep: #0c0a04;
  --div-surface: #1a1408;
  --div-hero-glow: rgba(251, 191, 36, 0.2);
  --div-card-border: rgba(251, 191, 36, 0.28);
}
.div-site.theme-tactical {
  --div-accent: #a3e635;
  --div-accent-2: #4d7c0f;
  --div-deep: #050805;
  --div-surface: #0c1408;
  --div-hero-glow: rgba(163, 230, 53, 0.14);
  --div-card-border: rgba(163, 230, 53, 0.25);
}
.div-site.theme-manufacturing {
  --div-accent: #f97316;
  --div-accent-2: #d4af37;
  --div-deep: #0a0402;
  --div-surface: #1a0c08;
  --div-hero-glow: rgba(249, 115, 22, 0.16);
  --div-card-border: rgba(220, 38, 38, 0.35);
}
.div-site.theme-recreation {
  --div-accent: #34d399;
  --div-accent-2: #38bdf8;
  --div-deep: #021510;
  --div-surface: #0a1f1a;
  --div-hero-glow: rgba(52, 211, 153, 0.16);
  --div-card-border: rgba(52, 211, 153, 0.28);
}
.div-site.theme-camps {
  --div-accent: #f59e0b;
  --div-accent-2: #22c55e;
  --div-deep: #0c0a04;
  --div-surface: #1a1608;
  --div-hero-glow: rgba(245, 158, 11, 0.18);
  --div-card-border: rgba(245, 158, 11, 0.3);
}
.div-site.theme-ranges {
  --div-accent: #fb7185;
  --div-accent-2: #fbbf24;
  --div-deep: #120508;
  --div-surface: #1f0a10;
  --div-hero-glow: rgba(251, 113, 133, 0.16);
  --div-card-border: rgba(251, 113, 133, 0.3);
}
.div-site.theme-garden {
  --div-accent: #86efac;
  --div-accent-2: #a3e635;
  --div-deep: #040a06;
  --div-surface: #0c1810;
  --div-hero-glow: rgba(134, 239, 172, 0.16);
  --div-card-border: rgba(134, 239, 172, 0.28);
}
.div-site.theme-izakaya {
  --div-accent: #fb923c;
  --div-accent-2: #fbbf24;
  --div-deep: #120804;
  --div-surface: #1f1208;
  --div-hero-glow: rgba(251, 146, 60, 0.18);
  --div-card-border: rgba(251, 146, 60, 0.3);
}
.div-site.theme-security {
  --div-accent: #60a5fa;
  --div-accent-2: #94a3b8;
  --div-deep: #04060c;
  --div-surface: #0c121c;
  --div-hero-glow: rgba(96, 165, 250, 0.16);
  --div-card-border: rgba(96, 165, 250, 0.28);
}
.div-site.theme-trust {
  --div-accent: #c4b5fd;
  --div-accent-2: #fbbf24;
  --div-deep: #12081f;
  --div-surface: #1a1030;
  --div-hero-glow: rgba(196, 181, 253, 0.18);
  --div-card-border: rgba(196, 181, 253, 0.28);
}
.div-site.theme-manufacturing .div-hero::before {
  background:
    radial-gradient(ellipse 70% 60% at 15% 10%, rgba(220, 38, 38, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(249, 115, 22, 0.12), transparent 50%),
    linear-gradient(180deg, #1a0804, #0a0402);
}

.div-site .site-header {
  border-bottom-color: color-mix(in srgb, var(--div-accent) 22%, transparent);
  background: color-mix(in srgb, var(--div-deep) 88%, transparent);
}

.div-site .brand-mark {
  background: var(--div-accent) !important;
  color: var(--div-deep) !important;
}

.div-site .eyebrow {
  color: var(--div-accent);
}

.div-site .btn-div-accent,
.div-site .btn-gold {
  background: var(--div-accent) !important;
  color: var(--div-deep) !important;
  border-color: transparent !important;
}

.div-site .btn-div-accent:hover,
.div-site .btn-gold:hover {
  filter: brightness(1.06);
}

.div-site .btn-div-ghost,
.div-site .btn-ghost {
  border-color: color-mix(in srgb, var(--div-accent) 45%, transparent) !important;
  color: var(--div-ink) !important;
}

.div-site .btn-div-ghost:hover,
.div-site .btn-ghost:hover {
  background: color-mix(in srgb, var(--div-accent) 12%, transparent) !important;
}

/* Hero — denser on mobile, full-width efficient on desktop */
.div-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(1.75rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--div-card-border);
}

.div-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 10%, var(--div-hero-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, color-mix(in srgb, var(--div-accent-2) 12%, transparent), transparent 50%),
    linear-gradient(180deg, color-mix(in srgb, var(--div-surface) 55%, transparent), var(--div-deep));
  pointer-events: none;
}

.div-hero .container {
  position: relative;
  z-index: 1;
}

.div-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .div-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

.div-hero h1 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(1.85rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.85rem;
  color: #fff;
  max-width: min(22ch, 100%);
}

.div-hero .lead {
  color: var(--div-muted);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.6;
  max-width: min(48rem, 100%);
  margin: 0 0 1.25rem;
}

.div-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.div-hero-panel {
  border-radius: 1rem;
  border: 1px solid var(--div-card-border);
  background: color-mix(in srgb, var(--div-surface) 80%, transparent);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.65);
}

.div-hero-panel img {
  width: 100%;
  height: min(18rem, 42vw);
  object-fit: cover;
}
@media (min-width: 900px) {
  .div-hero-panel img { height: min(22rem, 36vw); }
}
@media (max-width: 639px) {
  .div-hero-panel img { height: min(12rem, 55vw); }
}

.div-hero-panel-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.div-hero-panel-body strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.div-hero-panel-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--div-muted);
  line-height: 1.55;
}

/* Trust strip */
.div-strip {
  border-bottom: 1px solid var(--div-card-border);
  background: color-mix(in srgb, var(--div-surface) 70%, transparent);
}

.div-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0.95rem 0;
  font-size: 0.82rem;
  color: var(--div-muted);
}

.div-strip-inner strong {
  color: var(--div-accent);
  font-weight: 700;
}

/* Sections — tighter vertical rhythm so more content fits on screen */
.div-section {
  padding: clamp(1.75rem, 4vw, 3.25rem) 0;
}

.div-section.alt {
  background: color-mix(in srgb, var(--div-surface) 55%, transparent);
  border-block: 1px solid var(--div-card-border);
}

.div-section-head {
  max-width: min(48rem, 100%);
  margin-bottom: 1.25rem;
}

.div-section-head h2 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  color: #fff;
  margin: 0.35rem 0 0.65rem;
  line-height: 1.1;
}

.div-section-head p {
  margin: 0;
  color: var(--div-muted);
  line-height: 1.65;
}

.div-grid-3 {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .div-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .div-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1400px) {
  .div-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.div-card {
  border-radius: 0.85rem;
  border: 1px solid var(--div-card-border);
  background: color-mix(in srgb, var(--div-deep) 65%, var(--div-surface));
  padding: 1.05rem 1.1rem;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
@media (min-width: 768px) {
  .div-card { padding: 1.2rem 1.25rem; }
}

.div-card:hover {
  border-color: color-mix(in srgb, var(--div-accent) 50%, transparent);
  transform: translateY(-2px);
}

.div-card .icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--div-accent) 16%, transparent);
  color: var(--div-accent);
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.div-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #fff;
}

.div-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--div-muted);
  line-height: 1.6;
}

.div-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.div-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--div-ink);
  line-height: 1.5;
}

.div-list li::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--div-accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--div-accent) 20%, transparent);
}

/* Membership / pricing band */
.div-pricing {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .div-pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

.div-price-card {
  border-radius: 1rem;
  border: 1px solid var(--div-card-border);
  padding: 1.35rem 1.4rem;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--div-accent) 10%, var(--div-surface)),
    var(--div-deep)
  );
}

.div-price-card.is-featured {
  border-color: color-mix(in srgb, var(--div-accent) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--div-accent) 20%, transparent);
}

.div-price-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--div-deep);
  background: var(--div-accent);
  padding: 0.25rem 0.5rem;
  border-radius: 0.3rem;
  margin-bottom: 0.75rem;
}

.div-price-card h3 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.2rem;
}

.div-price-card .amount {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.85rem;
  color: var(--div-accent);
  margin: 0.4rem 0 0.65rem;
}

.div-price-card p {
  margin: 0;
  color: var(--div-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* CTA band */
.div-cta {
  margin: 0;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--div-card-border);
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, var(--div-hero-glow), transparent 60%),
    var(--div-surface);
  text-align: center;
}

.div-cta h2 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff;
  margin: 0 0 0.65rem;
}

.div-cta p {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  color: var(--div-muted);
  line-height: 1.6;
}

.div-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.div-footer {
  border-top: 1px solid var(--div-card-border);
  padding: 1.5rem 0 2rem;
  color: var(--div-muted);
  font-size: 0.82rem;
}

.div-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.div-footer a {
  color: var(--div-accent);
  font-weight: 600;
}

.div-footer a:hover {
  text-decoration: underline;
}

.div-site .nav-desktop a[aria-current="page"] {
  color: var(--div-accent);
}

/* Path hub CTAs fallback — thick borders, cool silver vs warm gold */
.path-card-actions .path-card-cta.is-site {
  background: linear-gradient(180deg, #f8f7f5, #d0cfcb);
  color: #0a0a0a;
  border: 3px solid #b8b7b4;
  box-shadow: 0 0 0 2px rgba(184, 183, 180, 0.5);
}

.path-card-actions .path-card-cta.is-portal {
  background: linear-gradient(180deg, #fff8e7, #e5d9a8);
  color: #0a0a0a;
  border: 3px solid #FFBF00;
  box-shadow: 0 0 0 2px rgba(255, 191, 0, 0.55);
}
