/* ============================================================
   AAAnow · page standard v2
   One exact standard for use case, service and legal pages:
   contained rounded hero (never a full-width band), article
   column with numbered sections and an On-this-page rail,
   emphasis always in rounded containers, Funnel type.
   ============================================================ */
.page-std { --ink: #14140f; --body-c: #55534a; --muted: #6f6c62; --accent: #715316; --rule: #dedbcd; background: #f8f7f0; font-family: 'Funnel Display', 'Avenir Next', Candara, sans-serif; font-weight: 400; color: var(--ink); }
.page-std .lp { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 clamp(24px, 4.5vw, 60px); }
.page-std main a { color: inherit; }

/* header pin (shared with the rest of the site) */
.page-std .site-header { position: sticky; top: 0; z-index: 60; transition: background .35s ease, box-shadow .35s ease; }
.page-std .site-header.pinned { background: rgba(248,247,240,.68); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 1px 0 rgba(20,20,15,.06), 0 14px 34px -22px rgba(20,20,15,.4); }
.page-std .top-cta { display: none; align-items: center; gap: 28px; flex-wrap: wrap; }
.page-std .site-header.pinned .top-cta { display: flex; animation: stdCtaIn .45s ease; }
@keyframes stdCtaIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.page-std .top-cta a, .page-std .top-cta a:hover { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13.5px; letter-spacing: .1px; text-decoration: none; }
.page-std .top-cta svg { flex: none; opacity: .8; }
.page-std .lp-u { position: relative; text-decoration: none; }
.page-std .lp-u::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0; background: #9a7328; transition: width .5s cubic-bezier(.22,.61,.36,1); }
.page-std .lp-u:hover::after { width: 100%; }

/* ---- the hero container · a rounded card, never a band ---- */
.std-hero { position: relative; background: #124b49; border-radius: clamp(16px, 1.8vw, 26px); overflow: hidden; margin: clamp(96px, 12vh, 122px) 0 0; padding: clamp(34px, 4.6vh, 54px) clamp(30px, 4vw, 58px) clamp(24px, 3vh, 36px); box-shadow: 0 24px 60px -32px rgba(20,20,15,.4); }
.std-hero::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(244,241,234,.12); pointer-events: none; }
.std-hero .kk { font-weight: 600; font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; color: #e8c56b; margin: 0 0 20px; }
.std-hero h1 { font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.3px; color: #f4f1ea; margin: 0 0 18px; max-width: 26ch; text-wrap: pretty; }
.std-hero h1 b { font-weight: 600; }
.std-hero .sf { font-size: 15px; line-height: 1.66; color: #b9cbc6; margin: 0 0 12px; max-width: 66ch; text-wrap: pretty; }
.std-hero .sf:last-of-type { margin-bottom: 0; }
.std-meta { display: flex; align-items: baseline; gap: 18px clamp(28px, 3.4vw, 48px); flex-wrap: wrap; border-top: 1px solid rgba(244,241,234,.15); margin-top: clamp(22px, 3.4vh, 34px); padding-top: 18px; }
.std-meta .pair { display: flex; flex-direction: column; gap: 5px; }
.std-meta .l { font-weight: 600; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #a3c0ba; }
.std-meta .v { font-size: 13px; font-weight: 500; color: #f4f1ea; }
.std-meta .v.mono { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .4px; }

/* ---- body · article column + rail ---- */
.std-body { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: clamp(40px, 5vw, 84px); padding: clamp(36px, 5vh, 60px) 0 clamp(56px, 7vh, 88px); }
.std-art { min-width: 0; max-width: 760px; }
.std-sec { margin: 0 0 clamp(36px, 5vh, 54px); }
.std-sec:last-child { margin-bottom: 0; }
.std-sec h2 { display: flex; align-items: baseline; gap: 14px; font-weight: 600; font-size: clamp(20px, 2vw, 24px); line-height: 1.25; color: var(--ink); margin: 0 0 14px; scroll-margin-top: 120px; }
.std-sec h2 .num { flex: none; font: 500 12px "SF Mono", Menlo, Consolas, monospace; color: var(--accent); letter-spacing: .4px; }
.std-sec p { font-size: 14.5px; line-height: 1.75; font-weight: 400; color: #3d3b33; margin: 0 0 14px; max-width: 66ch; text-wrap: pretty; }
.std-sec p:last-child { margin-bottom: 0; }
.std-def { border-top: 1px solid var(--rule); margin-top: 22px; }
.std-def .row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.std-def .t { font-weight: 600; font-size: 10px; letter-spacing: 2.1px; text-transform: uppercase; color: var(--accent); margin: 2px 0 0; }
.std-def .x { font-size: 14px; line-height: 1.65; color: #3d3b33; margin: 0; text-wrap: pretty; }

/* ---- emphasis · always a rounded container ---- */
.std-card { position: relative; background: #0b3b3b; border-radius: clamp(14px, 1.6vw, 22px); overflow: hidden; padding: clamp(28px, 3.8vh, 42px) clamp(26px, 3.4vw, 46px); }
.std-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(244,241,234,.12); pointer-events: none; }
.std-card .kk { font-weight: 600; font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; color: #e8c56b; margin: 0 0 14px; }
.std-card h2, .std-card .h { display: block; font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; color: #f4f1ea; margin: 0 0 12px; }
.std-card h2 b, .std-card .h b { font-weight: 600; }
.std-card p { font-size: 14px; line-height: 1.68; color: #b9cbc6; margin: 0; max-width: 60ch; text-wrap: pretty; }
.std-card .links { display: flex; align-items: center; gap: clamp(24px, 3vw, 40px); flex-wrap: wrap; margin-top: 22px; }
.std-card .links a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: #f4f1ea; }
.std-card .links svg { flex: none; opacity: .85; }
.std-card .links .lp-u::after { background: #e8c56b; }
.std-card .note { font-size: 11.5px; line-height: 1.6; color: #9db8b3; margin: 20px 0 0; }

/* ---- rail ---- */
.std-rail { position: sticky; top: 118px; align-self: start; }
.std-rail .rl { font-weight: 600; font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; color: #0c4a4e; margin: 0 0 16px; }
.std-rail nav { display: flex; flex-direction: column; gap: 11px; border-left: 1px solid var(--rule); padding-left: 18px; }
.std-rail a { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px; color: var(--body-c); text-decoration: none; }
.std-rail a .n { font: 500 10px "SF Mono", Menlo, Consolas, monospace; color: var(--accent); }
.std-rail a:hover { color: var(--ink); }
.std-rail .back { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); }

@media (max-width: 1080px) {
  .std-body { grid-template-columns: minmax(0, 1fr); }
  .std-rail { display: none; }
  .page-std .top-cta { gap: 18px; }
}
@media (max-width: 640px) {
  .std-def .row { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .std-hero { padding: 26px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-std .lp-u::after { transition: none; }
  .page-std .site-header.pinned .top-cta { animation: none; }
}

/* ---- hero, aubergine family · Service and Platform · added 23 Aug 2026 ---- */
.std-hero.aubergine { background: #351729; padding-top: clamp(38px, 5vh, 58px); }
.std-hero.aubergine::before { border-color: rgba(232,197,107,.22); }
.std-hero.aubergine .kk { color: #f4f1ea; letter-spacing: 3px; }
.std-hero.aubergine h1 { color: #f4f1ea; padding-bottom: 20px; border-bottom: 1px solid rgba(232,197,107,.45); max-width: 22ch; }
.std-hero.aubergine .sf { color: #c8b3c1; margin-top: 18px; }
.std-hero.aubergine .std-meta { border-top-color: rgba(244,241,234,.14); }
.std-hero.aubergine .std-meta .l { color: #e8c56b; }
.std-hero.aubergine .std-meta .v { color: #f4f1ea; }

/* ---- hero, graphite family · Sector assessments · added 23 Aug 2026 ---- */
.std-hero.graphite { background: #2b3238; padding-top: clamp(38px, 5vh, 58px); }
.std-hero.graphite::before { border-color: rgba(232,197,107,.22); }
.std-hero.graphite .kk { color: #f4f1ea; letter-spacing: 3px; }
.std-hero.graphite h1 { color: #f4f1ea; padding-bottom: 20px; border-bottom: 1px solid rgba(232,197,107,.45); max-width: 22ch; }
.std-hero.graphite .sf { color: #b6bfc3; margin-top: 18px; }
.std-hero.graphite .std-meta { border-top-color: rgba(244,241,234,.14); }
.std-hero.graphite .std-meta .l { color: #e8c56b; }
.std-hero.graphite .std-meta .v { color: #f4f1ea; }