/* Homepage-only premium refinement pass. */
.home-page {
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 96px;
  --space-5xl: 120px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.home-page .container { width: min(calc(100% - 48px), 1240px); max-width: none; padding-inline: 0; }
.home-page [data-lucide],
.home-page .lucide { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; stroke-width: 1.7; vertical-align: middle; }

/* Header */
.home-page .site-navigation__bar { min-height: 72px; gap: 20px; }
.home-page .site-logo { width: 115px; }
.home-page .primary-nav__trigger,
.home-page .primary-nav__link { padding-inline: 9px; font-size: 13px; font-weight: 500; }
.home-page .site-navigation__cta { min-height: 38px; padding: 0 18px; font-size: 13px; }
.home-page .primary-nav__trigger .lucide { width: 14px; height: 14px; }
.home-page .primary-nav__trigger .lucide { transition: transform 180ms ease; }
.home-page .primary-nav__item.is-open .primary-nav__trigger .lucide { transform: rotate(180deg); }
.home-page .nav-backdrop { inset-block-start: 72px; }

/* Hero */
.home-page .home-hero.home-hero--image { min-height: clamp(620px, calc(100svh - 72px), 760px); background-position: right center; background-size: auto 118%; }
.home-page .home-hero--image .home-hero__content { max-width: 570px; padding-block: 96px 104px; }
.home-page .home-hero__eyebrow { margin-bottom: 18px; font-size: 11px; line-height: 1.4; letter-spacing: 0.1em; font-weight: 600; }
.home-page .home-hero h1 { max-width: 560px; font-size: clamp(48px, 5vw, 64px); line-height: 0.98; font-weight: 750; letter-spacing: -0.045em; }
.home-page .home-hero__lead { max-width: 500px; margin-top: 24px; font-size: 16px; line-height: 1.6; }
.home-page .home-hero--image .home-hero__actions { margin-top: 30px; gap: 12px; }
.home-page .home-hero__actions .btn { min-height: 44px; padding-inline: 20px; gap: 10px; border-radius: 8px; font-size: 13px; }
.home-page .home-hero__actions .lucide { width: 16px; height: 16px; }
.home-page .home-hero__benefits { margin-top: 32px; padding-top: 20px; }
.home-page .home-hero__benefits li { gap: 10px; }
.home-page .home-hero__benefit-icon .lucide { width: 19px; height: 19px; stroke-width: 1.65; }
.home-page .home-hero__benefits strong { font-size: 13px; line-height: 1.35; }
.home-page .home-hero__benefits small { margin-top: 4px; font-size: 12px; line-height: 1.5; }

/* Shared homepage hierarchy */
.home-page :is(.confidence-section, .capabilities-section, .industries-section, .insights-section) { padding-block: 96px; }
.home-page :is(.shield-section, .why-section) { padding-block: 112px; }
.home-page :is(.confidence-section, .capabilities-section, .industries-section, .why-section, .insights-section) h2 { font-size: clamp(38px, 4vw, 48px); line-height: 1.02; font-weight: 750; letter-spacing: -0.04em; }
.home-page :is(.shield-section, .why-section) h2 { font-size: clamp(40px, 4vw, 50px); }
.home-page :is(.capabilities-section__header, .industries-section__header, .why-section__header, .insights-section__header) > p { font-size: 15px; line-height: 1.65; }

/* Confidence */
.home-page .confidence-section__grid { grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr); gap: clamp(48px, 6vw, 76px); }
.home-page .confidence-section__content { max-width: 560px; }
.home-page .confidence-section__lead { margin-top: 24px; font-size: 15px; line-height: 1.65; }
.home-page .confidence-section__link { margin-top: 26px; font-size: 13px; }
.home-page .confidence-architecture { min-height: 570px; }
.home-page .confidence-architecture__label,
.home-page .confidence-architecture__layer small,
.home-page .confidence-architecture__flow { font-size: 11px; }
.home-page .confidence-architecture__layer strong { font-size: 14px; }
.home-page .confidence-architecture__layer em { font-size: 12px; }
.home-page .confidence-pillar { padding-top: 28px; }
.home-page .confidence-pillar__top,
.home-page .confidence-pillar__name { font-size: 11px; }
.home-page .confidence-pillar h3 { font-size: 20px; line-height: 1.3; }
.home-page .confidence-pillar > p:last-child { font-size: 13.5px; line-height: 1.6; }

/* Flagship SHIELD */
.home-page .shield-section__grid { grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr); gap: clamp(48px, 6vw, 76px); }
.home-page .shield-section__content { max-width: 540px; }
.home-page .shield-section__brand span { font-size: 11px; line-height: 1.4; }
.home-page .shield-section__lead { margin-top: 24px; font-size: 15px; line-height: 1.65; }
.home-page .shield-section__cta { min-height: 42px; margin-top: 28px; padding-inline: 20px; font-size: 13px; }
.home-page .shield-section__note { font-size: 12px; }
.home-page .shield-framework { margin: -18px; border-radius: 16px; }
.home-page .shield-dimensions { margin-top: 64px; }
.home-page .shield-dimension h3 { font-size: 13px; }
.home-page .shield-dimension p { font-size: 13px; line-height: 1.55; }
.home-page .shield-outcome > div { font-size: 14px; line-height: 1.65; }

/* Consulting cards */
.home-page .capabilities-section__header { margin-bottom: 48px; }
.home-page .capability-architecture { gap: 24px; }
.home-page .capability-card { min-height: 220px; padding: 28px; border-radius: 12px; }
.home-page .capability-card::before { left: 28px; }
.home-page .capability-card__icon { width: 44px; height: 44px; border-radius: 10px; }
.home-page .capability-card__icon .lucide { width: 20px; height: 20px; stroke-width: 1.6; }
.home-page .capability-card h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.025em; }
.home-page .capability-card__description { font-size: 13.5px; line-height: 1.6; }
.home-page .capability-card__services a,
.home-page .capability-card__link,
.home-page .capabilities-section__footer :is(span, a) { font-size: 13px; }

/* Industries */
.home-page .industry-context-path :is(strong, span) { font-size: 11px; }
.home-page .industry-ecosystem { gap: 20px; }
.home-page .industry-card { min-height: 190px; padding: 26px; border-radius: 12px; }
.home-page .industry-card::before { left: 26px; }
.home-page .industry-card__top .lucide { width: 20px; height: 20px; stroke-width: 1.6; }
.home-page .industry-card h3 { font-size: 17px; line-height: 1.3; }
.home-page .industry-card > p { font-size: 13.5px; line-height: 1.6; }
.home-page .industry-card__focus span { font-size: 11px; }
.home-page .industry-card > a,
.home-page .industries-section__footer :is(span, a) { font-size: 13px; }

/* Different by Design */
.home-page .why-section__composition { grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr); gap: clamp(48px, 6vw, 76px); }
.home-page .why-editorial__support { font-size: 13.5px; line-height: 1.65; }
.home-page .why-journey li { font-size: 11px; }
.home-page .why-editorial__link { font-size: 13px; }
.home-page .why-architecture { border-radius: 14px; }
.home-page .why-principle { min-height: 104px; padding: 20px 24px; }
.home-page .why-principle h3 { font-size: 17px; }
.home-page .why-principle__content > div { font-size: 13.5px; line-height: 1.6; }
.home-page .why-section__closing small { font-size: 11px; }
.home-page .why-section__closing strong { font-size: 14px; }

/* Insights */
.home-page .insight-card { min-height: 220px; border-radius: 12px; }
.home-page .insight-card__body { padding: 26px; }
.home-page .insight-card__meta span { font-size: 11px; line-height: 1.4; }
.home-page .insight-card h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.025em; }
.home-page .insight-card__body > p { font-size: 13.5px; line-height: 1.6; }
.home-page .insight-card__body > a,
.home-page .insights-section__footer :is(span, a) { font-size: 13px; }

/* CTA and footer */
.home-page .final-cta-section { padding-block: 64px; }
.home-page .final-cta__panel { min-height: 125px; padding: 30px 36px; border-radius: 8px; }
.home-page .final-cta__panel h2 { font-size: 28px; font-weight: 700; }
.home-page .final-cta__panel p { font-size: 14px; }
.home-page .final-cta__button { min-height: 42px; padding-inline: 22px; font-size: 13px; }
.home-page .site-footer { padding-block: 72px 24px; }
.home-page .site-footer h3 { font-size: 11px; letter-spacing: 0.08em; }
.home-page .footer-intro p,
.home-page .footer-list a,
.home-page .footer-connect :is(p, a) { font-size: 13px; line-height: 1.6; }

@media (max-width: 1199.98px) {
  .home-page .site-navigation__bar { min-height: 72px; }
  .home-page .mobile-nav,
  .home-page .nav-backdrop { inset-block-start: 72px; }
  .home-page .confidence-section__grid,
  .home-page .shield-section__grid,
  .home-page .why-section__composition { grid-template-columns: 1fr; }
  .home-page .confidence-architecture,
  .home-page .shield-framework,
  .home-page .why-architecture { width: 100%; max-width: 720px; margin-inline: auto; }
  .home-page .shield-framework { margin-block: 0; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .home-page .home-hero h1 { font-size: clamp(46px, 7vw, 52px); }
  .home-page :is(.confidence-section, .capabilities-section, .industries-section, .why-section, .insights-section, .shield-section) h2 { font-size: clamp(36px, 5vw, 42px); }
  .home-page .home-hero--image .home-hero__content { padding-block: 80px 88px; }
  .home-page :is(.confidence-section, .capabilities-section, .industries-section, .insights-section) { padding-block: 80px; }
  .home-page :is(.shield-section, .why-section) { padding-block: 96px; }
}

@media (max-width: 767.98px) {
  .home-page { font-size: 14px; }
  .home-page .container { width: min(calc(100% - 40px), 1240px); }
  .home-page .home-hero.home-hero--image { min-height: auto; background: #f7fbff; }
  .home-page .home-hero.home-hero--image::before { background: linear-gradient(180deg, #fff, #f7fbff); }
  .home-page .home-hero--image .home-hero__main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
  .home-page .home-hero--image .home-hero__content { min-width: 0; width: 100%; }
  .home-page .home-hero--image .home-hero__main::after { width: 100%; aspect-ratio: 1.35; background: url("/assets/images/hero/atjoin-cyber-resilience-hero.png") 69% center / cover no-repeat; content: ""; }
  .home-page .home-hero--image .home-hero__content { padding-block: 64px 48px; }
  .home-page .home-hero h1 { font-size: clamp(40px, 12vw, 46px); line-height: 0.99; }
  .home-page .home-hero__lead { font-size: 14px; }
  .home-page .home-hero__actions { display: grid; }
  .home-page .home-hero__actions .btn { width: 100%; min-height: 44px; }
  .home-page .home-hero__benefits { grid-template-columns: 1fr; gap: 16px; }
  .home-page .home-hero__benefits li + li { padding-left: 0; border-left: 0; }
  .home-page :is(.confidence-section, .capabilities-section, .industries-section, .why-section, .insights-section, .shield-section) { padding-block: 64px; }
  .home-page :is(.confidence-section, .capabilities-section, .industries-section, .why-section, .insights-section, .shield-section) h2 { font-size: clamp(32px, 9.5vw, 38px); line-height: 1.04; }
  .home-page .confidence-architecture { min-height: 620px; }
  .home-page .capability-card,
  .home-page .industry-card { min-height: 0; padding: 22px; }
  .home-page .capability-card::before,
  .home-page .industry-card::before { left: 22px; }
  .home-page .capability-card h3,
  .home-page .industry-card h3,
  .home-page .insight-card h3,
  .home-page .why-principle h3 { font-size: 17px; }
  .home-page .insight-card__body { padding: 22px; }
  .home-page .final-cta-section { padding-block: 48px; }
  .home-page .final-cta__panel { grid-template-columns: 1fr; min-height: 125px; padding: 28px 22px; }
  .home-page .site-footer { padding-block: 56px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .capability-card,
  .home-page .industry-card,
  .home-page .insight-card,
  .home-page .shield-framework,
  .home-page .confidence-architecture { transform: none !important; }
}
