/* ===========================================================
   OGRE — Pillar subpage system
   Reusable styles for Acquire / Rent / Maintain / Sell pages.
   Inherits all tokens & components from styles.css.
   =========================================================== */

/* ---------------- Sub-page hero (navy depth) ---------------- */
.subhero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--on-dark);
  padding: clamp(150px, 22vh, 220px) 0 clamp(72px, 10vh, 120px);
  background:
    radial-gradient(78% 120% at 88% -8%, rgba(233,78,27,0.26) 0%, transparent 50%),
    radial-gradient(64% 96% at 4% 6%, rgba(233,78,27,0.16) 0%, transparent 46%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.subhero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
.subhero .wrap { position: relative; }

/* breadcrumb back to lifecycle */
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 30px;
}
.crumb a { color: var(--on-dark-soft); transition: color .25s; }
.crumb a:hover { color: var(--orange-soft); }
.crumb .sep { color: var(--on-dark-faint); }
.crumb .here { color: var(--orange-soft); }

.subhero .eyebrow { color: var(--orange-soft); }
.subhero .eyebrow::before { background: var(--orange-soft); }

.subhero h1 {
  color: #fff;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 17ch;
  margin-top: 24px;
  text-shadow: 0 2px 40px rgba(15,16,38,0.34);
}
.subhero h1 .accent { color: var(--orange-soft); }
.subhero .lead {
  margin-top: 28px;
  color: rgba(255,255,255,0.84);
  max-width: 64ch;
}
.subhero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

/* pillar lifecycle rail in hero */
.pillar-rail {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.rail-step {
  background: rgba(255,255,255,0.02);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .35s var(--ease);
}
.rail-step .rn { font-family: 'Hanken Grotesk', sans-serif; font-size: 0.78rem; font-weight: 500; color: var(--on-dark-faint); letter-spacing: 0.1em; }
.rail-step .rl { font-family: var(--head); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; color: var(--on-dark-soft); }
.rail-step.is-active { background: rgba(233,78,27,0.16); }
.rail-step.is-active .rn { color: var(--orange-soft); }
.rail-step.is-active .rl { color: #fff; }
a.rail-step:hover { background: rgba(255,255,255,0.06); }

/* ---------------- Category sections ---------------- */
.cat { padding: clamp(74px, 10vh, 130px) 0; }
.cat--light { background: var(--white); }
.cat--tint { background: var(--slate-pale); }

.cat-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.cat-aside { position: sticky; top: 116px; }
.cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.cat-tag .pip {
  width: 26px; height: 26px;
  border: 1.5px solid currentColor;
  border-radius: 7px;
  display: grid; place-items: center;
  font-weight: 600;
}
.cat-aside h2 {
  font-family: var(--head);
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  margin-top: 20px;
}
.cat-aside p { margin-top: 18px; font-size: 1.02rem; color: var(--ink-soft); line-height: 1.6; max-width: 40ch; }
.cat-count {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Hanken Grotesk', sans-serif; font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.cat-count .bar { width: 34px; height: 2px; background: var(--orange); border-radius: 2px; }

/* feature cards */
.fcard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px 30px;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.cat--tint .fcard { box-shadow: var(--shadow-sm); }
.fcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fcard:hover::before { transform: scaleX(1); }
.fcard .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--slate-pale);
  border: 1px solid var(--line);
  color: var(--orange);
  margin-bottom: 20px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.cat--tint .fcard .ic { background: var(--paper); }
.fcard:hover .ic { background: var(--orange); color: #fff; border-color: var(--orange); }
.fcard .ic svg { width: 22px; height: 22px; }
.fcard h4 {
  font-family: var(--head);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.fcard p { margin-top: 11px; font-size: 0.96rem; color: var(--ink-soft); line-height: 1.55; }

/* AI-flagged feature card (purple intelligence accent) */
.fcard--ai .ic { color: var(--purple); background: rgba(233,78,27,0.08); border-color: rgba(233,78,27,0.2); }
.fcard--ai:hover .ic { background: var(--purple); color: #fff; border-color: var(--purple); }
.fcard--ai::before { background: linear-gradient(90deg, var(--purple), var(--purple-soft)); }
.fcard .ai-flag {
  position: absolute;
  top: 26px; right: 24px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Hanken Grotesk', sans-serif; font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--purple);
  background: rgba(233,78,27,0.1);
  border: 1px solid rgba(233,78,27,0.26);
  padding: 4px 9px 3px;
  border-radius: 999px;
}
.fcard .ai-flag svg { width: 11px; height: 11px; }

/* ---------------- Self-service portal band (navy) ---------------- */
.portal {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--on-dark);
  padding: clamp(80px, 11vh, 150px) 0;
  background:
    radial-gradient(72% 110% at 90% 0%, rgba(233,78,27,0.2) 0%, transparent 50%),
    radial-gradient(60% 90% at 4% 100%, rgba(233,78,27,0.14) 0%, transparent 48%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.portal .eyebrow { color: var(--orange-soft); }
.portal .eyebrow::before { background: var(--orange-soft); }
.portal .section-head { max-width: 760px; }
.portal .section-title { color: #fff; }
.portal .lead { color: var(--on-dark-soft); }

.portal-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.pitem {
  background: rgba(255,255,255,0.015);
  padding: 30px 28px 32px;
  transition: background .4s var(--ease);
}
.pitem:hover { background: rgba(255,255,255,0.055); }
.pitem .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: var(--orange-soft);
  margin-bottom: 18px;
}
.pitem .ic svg { width: 20px; height: 20px; }
.pitem h4 { font-family: var(--head); font-size: 1.1rem; color: #fff; font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; }
.pitem p { margin-top: 10px; font-size: 0.92rem; color: var(--on-dark-soft); line-height: 1.5; }

@media (max-width: 1080px) { .portal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .portal-grid { grid-template-columns: 1fr; } }

/* ---------------- Pre-footer demo CTA ---------------- */
.demo-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--on-dark);
  padding: clamp(80px, 12vh, 150px) 0;
  background:
    radial-gradient(70% 120% at 92% 0%, rgba(233,78,27,0.26) 0%, transparent 52%),
    radial-gradient(60% 100% at 6% 100%, rgba(233,78,27,0.22) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.demo-cta::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,78,27,0.3), transparent 70%);
  z-index: -1;
}
.demo-inner { max-width: 880px; }
.demo-cta .eyebrow { color: var(--orange-soft); }
.demo-cta .eyebrow::before { background: var(--orange-soft); }
.demo-cta h2 {
  font-family: var(--head);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: #fff;
  margin-top: 22px;
  max-width: 18ch;
}
.demo-cta p {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  color: var(--on-dark-soft);
  line-height: 1.6;
  max-width: 58ch;
}
.demo-cta .demo-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------------- responsive ---------------- */
@media (max-width: 920px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-aside { position: static; }
  .pillar-rail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fcard-grid { grid-template-columns: 1fr; }
  .pillar-rail { grid-template-columns: 1fr; }
  .subhero-cta { width: 100%; }
  .subhero-cta .btn { flex: 1; justify-content: center; }
}

/* ===========================================================
   Bridge helpers — shared layout/utility classes used by the
   System-B subpages (Acquire, etc.). Safe additions: they fill
   in classes the markup references that were not yet defined.
   =========================================================== */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 992px) { .wrap { padding: 0 30px; } }

.rel { position: relative; z-index: 1; }

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.glow-purple { background: radial-gradient(circle, rgba(233, 78, 27, 0.5), transparent 70%); }

.btn-lg { padding: 16px 32px; font-size: 15px; }

.eyebrow {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-purple);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

/* white capability band on subpages — scoped heading/body ink */
.pillar-white { background: var(--bg-pure-white); }
.pillar-white .section-heading { color: var(--text-dark-primary); }
.pillar-white .section-desc { color: var(--text-dark-secondary); }

/* ==========================================================================
   OGRE — Pillar Subpage Structural Framework (Acquire / Rent / Maintain / Sell)
   ========================================================================== */

/* Sub-page Dark Hero Zone Layout */
.subhero-zone-fixed {
  background-color: var(--bg-light) !important;
  border-bottom: 1px solid var(--border-muted-light);
  position: relative;
  padding-top: clamp(150px, 18vh, 210px);
  padding-bottom: clamp(72px, 10vh, 110px);
  overflow: hidden;
  isolation: isolate;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--grid-line) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 92% 78% at 60% 0%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 92% 78% at 60% 0%, #000 0%, transparent 76%);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

/* Breadcrumb Layout Engine */
.breadcrumb-trail-fixed {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.crumb-link-fixed {
  color: var(--text-dark-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.crumb-link-fixed:hover {
  color: var(--accent-purple);
}
.crumb-separator-fixed {
  color: var(--text-muted-metadata);
}
.crumb-current-fixed {
  color: var(--text-dark-primary);
}

/* Grid Layout Splitting Modules */
.subhero-split-grid-fixed {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 56px;
  align-items: center;
}
.asymmetric-split-fixed {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

/* Subpage Typography Setup */
.subhero-display-fixed {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.12;
  color: var(--text-dark-primary);
  letter-spacing: -0.025em;
  margin: 16px 0 0 0;
}
.subhero-lead-fixed {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  color: var(--text-dark-secondary);
  max-width: 52ch;
  margin: 24px 0 0 0;
}

/* Contact page CTA hero buttons (on dark) */
.subhero-cta-block { max-width: 720px; }
.subhero-zone-fixed .btn-primary {
  background: var(--orange);
  color: #FFFFFF;
  border-color: var(--orange);
}
.subhero-zone-fixed .btn-primary:hover { background: var(--orange-strong); border-color: var(--orange-strong); color: #FFFFFF; }
.subhero-zone-fixed .btn-secondary { color: var(--text-dark-primary); border-color: var(--border-muted-light); }
.subhero-zone-fixed .btn-secondary:hover { background: var(--bg-wash); border-color: var(--text-dark-primary); }

/* Right Column Action Glass Dashboard Badge Panel */
.subhero-action-panel-fixed {
  background: var(--bg-pure-white);
  border: 1px solid var(--border-muted-light);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 30px 64px -28px rgba(69, 85, 101, 0.30), 0 12px 28px -22px rgba(69, 85, 101, 0.20);
}
.mini-metric-badge-fixed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-muted-light);
  padding-bottom: 14px;
}
.mini-metric-badge-fixed:last-of-type {
  border-bottom: none;
}
.mini-metric-badge-fixed .metric-label-fixed {
  font-size: 13.5px;
  color: var(--text-dark-secondary);
}
.mini-metric-badge-fixed .metric-value-fixed {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark-primary);
}
.status-live-fixed {
  color: #15803D;
  font-weight: bold;
}
.btn-full-fixed {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Asymmetric Vertical Bento Grid Framework */
.bento-layout-grid-fixed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.bento-card-fixed {
  background: var(--bg-pure-white);
  border: 1px solid var(--border-muted-light);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.6s ease;
}
.bento-card-fixed:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 78, 27, 0.25);
  box-shadow: 0 30px 60px rgba(30, 34, 41, 0.04);
}
.bento-card-fixed.stagger-down-fixed {
  margin-top: 32px;
}
.bento-card-fixed h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dark-primary);
  margin: 0 0 12px 0;
  letter-spacing: -0.015em;
}
.bento-card-fixed p {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dark-secondary);
  margin: 0;
}

/* Checklist Verification System Tokens */
.checks-list-fixed {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checks-list-fixed li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark-secondary);
}
.checks-list-fixed li b {
  color: var(--text-dark-primary);
}
.check-circle-fixed {
  width: 22px;
  height: 22px;
  background: var(--accent-lavender-tint);
  color: var(--accent-purple);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive Adaptive Fluid Queries Layout Overrides */
@media (max-width: 992px) {
  .subhero-split-grid-fixed,
  .asymmetric-split-fixed {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 620px) {
  .bento-layout-grid-fixed {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-card-fixed.stagger-down-fixed {
    margin-top: 0;
  }
}
