/* ─── The Standard Page ───────────────────────────────────────────────────── */

/* ── Kill WP block gap above and below the page content block ── */
body:has(#the-standard) .wp-site-blocks > .wp-block-html,
.wp-block-html:has(#the-standard) {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* ── Kill WP block gap between page content and footer ── */
body:has(#the-standard) .wp-site-blocks > .wp-block-template-part:last-child {
  margin-block-start: 0 !important;
}

/* The page content is authored as full-width sections, so remove core block
   spacing on the content wrapper itself. */
body:has(#the-standard) .entry-content.wp-block-post-content {
  padding: 0 !important;
  margin: 0 !important;
}

body:has(#the-standard) .entry-content.wp-block-post-content > * {
  margin-block: 0 !important;
}

/* ── Shared layout tokens ── */
.standard-page {
  background: #F7F6F2;
  margin-top: 0 !important;
}

.standard-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Shared eyebrow / label ── */
.standard-eyebrow {
  margin: 0 0 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9898B0;
}

.standard-label {
  margin: 0 0 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #606078;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════════ */

.standard-hero {
  position: relative;
  background: var(--norrma-hero-bg, #11111A);
  overflow: hidden;
  padding: 72px 0 96px;
  --standard-hero-image-opacity: 0;
}

.standard-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--standard-hero-image);
  background-size: cover;
  background-position: center;
  opacity: var(--standard-hero-image-opacity);
  pointer-events: none;
}

.standard-hero {
  isolation: isolate;
}

/* Mauve radial glow — same pattern as homepage hero */
.standard-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 0% 100%, rgba(91, 75, 196, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

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

.standard-hero__headline {
  margin: 0 0 40px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: #F7F6F2;
}

.standard-hero__accent {
  color: #5B4BC4;
}

.standard-hero__divider {
  width: 48px;
  height: 2px;
  background: #5B4BC4;
  margin-bottom: 40px;
}

.standard-hero__body {
  margin: 0 0 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #9898B0;
  max-width: 600px;
}

.standard-hero__body:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHARED SECTION
═══════════════════════════════════════════════════════════════════════════ */

.standard-section {
  padding: 96px 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   5 NON-NEGOTIABLES
═══════════════════════════════════════════════════════════════════════════ */

.standard-nn {
  background: #F7F6F2;
  border-bottom: 1px solid rgba(232, 230, 224, 0.55);
}

.standard-nn__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.standard-nn__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 32px;
  padding: 48px 0;
  border-top: 1px solid rgba(232, 230, 224, 0.55);
  align-items: start;
}

.standard-nn__item:first-child {
  border-top: none;
}

.standard-nn__index {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5B4BC4;
  padding-top: 8px;
}

.standard-nn__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.standard-nn__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: #11111A;
  transition: color 240ms ease;
}

.standard-nn__item:hover .standard-nn__title {
  color: #5B4BC4;
}

.standard-nn__body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #606078;
  max-width: 680px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   THE NORRMA CODE (Mauve Brand Section)
═══════════════════════════════════════════════════════════════════════════ */

.standard-code {
  background: #5B4BC4;
  padding: 96px 0;
}

.standard-code__eyebrow {
  margin: 0 0 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.standard-code__equation {
  margin: 0 0 48px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.standard-code__op,
.standard-code__eq {
  color: rgba(255, 255, 255, 0.4);
}

.standard-code__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 48px;
}

/* Equation words transition together */
.standard-code__word {
  transition: color 220ms ease, opacity 220ms ease;
}

/* When any pillar is hovered: dim all words */
.standard-code:has(.standard-code__pillar:hover) .standard-code__word {
  color: rgba(255, 255, 255, 0.25);
}

/* Brighten the matching word */
.standard-code:has(.standard-code__pillar--space:hover) .standard-code__word--space,
.standard-code:has(.standard-code__pillar--material:hover) .standard-code__word--material,
.standard-code:has(.standard-code__pillar--time:hover) .standard-code__word--time {
  color: #FFFFFF;
}

.standard-code__pillars {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.standard-code__pillar-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
  margin: 0 28px;
}

.standard-code__pillar {
  padding: 20px 8px;
  border-radius: 2px;
  cursor: default;
  transition: background 220ms ease;
}

.standard-code__pillar:hover {
  background: rgba(255, 255, 255, 0.07);
}

.standard-code__pillar-title {
  margin: 0 0 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.standard-code__pillar-body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   WHAT A NORRMA PROJECT IS NOT
═══════════════════════════════════════════════════════════════════════════ */

.standard-not {
  background: #EAE8E4;
}

.standard-not__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.standard-not__headline {
  margin: 16px 0 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #11111A;
}

.standard-not__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 44px;
}

.standard-not__item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid #D8D6D1;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #11111A;
  cursor: default;
}

.standard-not__item:first-child {
  border-top: 1px solid #D8D6D1;
}

.standard-not__dash {
  flex-shrink: 0;
  color: #5B4BC4;
  font-weight: 600;
  line-height: 28px;
}

/* Strikethrough slides in from left on hover */
.standard-not__item span:last-child {
  position: relative;
  transition: color 250ms ease;
}

.standard-not__item span:last-child::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 300ms ease;
}

.standard-not__item:hover span:last-child {
  color: #606078;
}

.standard-not__item:hover span:last-child::after {
  transform: translateY(-50%) scaleX(1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   STRATEGIC PILLARS
═══════════════════════════════════════════════════════════════════════════ */

.standard-pillars {
  background: #F7F6F2;
  border-top: 1px solid #E8E6E0;
}

.standard-pillars__headline {
  margin: 0 0 64px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #11111A;
  max-width: 480px;
}

.standard-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: transparent;
  border: 1px solid rgba(232, 230, 224, 0.28);
  border-radius: 2px;
  overflow: hidden;
}

.standard-pillar {
  background: #F7F6F2;
  padding: 32px 24px;
  transition: background 200ms ease;
}

.standard-pillar:hover {
  background: #FFFFFF;
}

.standard-pillar--span {
  grid-column: 3;
  grid-row: 1 / 3;
}

.standard-pillar--span .standard-pillar__body + .standard-pillar__body {
  margin-top: 16px;
}

.standard-pillar__title {
  margin: 0 0 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.01em;
  color: #11111A;
}

.standard-pillar__body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #606078;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CLOSING CTA
═══════════════════════════════════════════════════════════════════════════ */

.standard-cta {
  background: #11111A;
  padding: 96px 0;
}

.standard-cta__label {
  margin: 0 0 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9898B0;
}

.standard-cta__row {
  display: grid;
  grid-template-columns: minmax(0, 640px) auto;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
}

.standard-cta__headline {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #F7F6F2;
  max-width: 640px;
}

.standard-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  background: #43C7F4;
  color: #11111A;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 150ms ease;
}

.standard-cta__btn:hover {
  background: #2AAED8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1023px)
═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .standard-container {
    padding: 0 24px;
  }

  .standard-section {
    padding: 64px 0;
  }

  .standard-hero {
    padding: 56px 0 80px;
  }

  .standard-hero__headline {
    margin-bottom: 32px;
  }

  .standard-nn__item {
    grid-template-columns: 56px 1fr;
    gap: 0 24px;
    padding: 40px 0;
  }

  .standard-nn__title {
    font-size: 28px;
    line-height: 36px;
  }

  .standard-code__pillars {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .standard-code__pillar-sep {
    width: 100%;
    height: 1px;
    margin: 0;
    align-self: auto;
  }

  .standard-not__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .standard-not__list {
    padding-top: 0;
  }

  .standard-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standard-pillar--span {
    grid-column: auto;
    grid-row: auto;
  }

  .standard-cta {
    padding: 64px 0;
  }

  .standard-cta__row {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-content: start;
  }

  .standard-cta__btn {
    justify-self: start;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 767px)
═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  .standard-container {
    padding: 0 20px;
  }

  .standard-section {
    padding: 48px 0;
  }

  .standard-hero {
    padding: 48px 0 64px;
  }

  .standard-hero__headline {
    font-size: clamp(38px, 10vw, 56px);
    margin-bottom: 24px;
  }

  .standard-hero__body {
    font-size: 16px;
    line-height: 26px;
  }

  .standard-nn__item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .standard-nn__index {
    padding-top: 0;
  }

  .standard-nn__title {
    font-size: 24px;
    line-height: 32px;
  }

  .standard-nn__body {
    font-size: 16px;
    line-height: 26px;
  }

  .standard-code {
    padding: 64px 0;
  }

  .standard-code__equation {
    font-size: clamp(24px, 7vw, 38px);
  }

  .standard-code__pillar-sep {
    display: none;
  }

  .standard-not__headline {
    font-size: 32px;
  }

  .standard-not__item {
    font-size: 16px;
    line-height: 26px;
  }

  .standard-pillars__grid {
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .standard-pillar {
    padding: 28px 0;
    border-top: 1px solid rgba(232, 230, 224, 0.55);
    border-radius: 0;
  }

  .standard-pillar:first-child {
    border-top: none;
  }

  .standard-cta {
    padding: 48px 0;
  }

  .standard-cta__headline {
    font-size: 32px;
  }
}

/* ─── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .standard-cta__btn {
    transition: none;
  }
}
