/* Phase E: opening experience (5-second "plot, build, approve" intro), pitch block, trust strip, pointer parallax, section-line handle. Additive. */
.pitch { margin: 18px 0 20px; max-width: 34em; }
.pitch-h { margin: 0 0 10px; font: 700 clamp(1.25rem, 2.6vw, 1.85rem)/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.pitch-h mark { background: none; color: var(--mark); position: relative; white-space: nowrap; }
.pitch-h mark::after { content: ""; position: absolute; inset-inline: 0; bottom: -.12em; height: .16em; background: var(--mark); opacity: .85; transform-origin: left center; }
[dir="rtl"] .pitch-h mark::after { transform-origin: right center; }
.pitch-s { margin: 0; color: var(--ink-2); font-size: clamp(.95rem, 1.4vw, 1.06rem); line-height: 1.55; }
[lang="ar"] .pitch-h { line-height: 1.5; letter-spacing: 0; }
.cta { align-items: center; }
.cta-link { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; border-bottom: 1px dashed var(--rule); padding-bottom: 2px; }
.cta-link:hover { color: var(--mark); border-color: var(--mark); }
[lang="ar"] .cta-link { letter-spacing: 0; text-transform: none; font-size: 14px; }
/* trust strip under the hero, laid out like a revision table */
.trust { border-block: 1.5px solid var(--rule); background: rgba(6, 32, 68, .35); }
.trust ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 14px 20px; border-inline-start: 1px solid var(--rule-soft); display: grid; gap: 3px; align-content: start; }
.trust li:first-child { border-inline-start: 0; }
.trust .rev { font: 700 10px/1 var(--mono); letter-spacing: .2em; color: var(--mark); }
.trust b { font: 700 15px/1.3 var(--sans); }
.trust li > span:last-child { font-size: 12.5px; color: var(--ink-3); }
.trust a { color: var(--ink-2); text-decoration: underline dotted; text-underline-offset: 3px; }
.trust a:hover { color: var(--mark); }
@media (max-width: 820px) { .trust ul { grid-template-columns: 1fr 1fr; } .trust li:nth-child(odd) { border-inline-start: 0; } .trust li:nth-child(n+3) { border-top: 1px solid var(--rule-soft); } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } .trust li { border-inline-start: 0; border-top: 1px solid var(--rule-soft); } .trust li:first-child { border-top: 0; } }

/* ---- opening sequence: only while html.intro; every animation ends in the normal final state ---- */
.skip-intro { position: fixed; inset-block-start: 14px; inset-inline-end: 14px; z-index: 60; font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; color: var(--ink); background: rgba(6, 32, 68, .8); border: 1px solid var(--rule); cursor: pointer; }
.skip-intro:hover, .skip-intro:focus-visible { color: var(--mark-ink); background: var(--mark); outline: none; }
[lang="ar"] .skip-intro { letter-spacing: 0; text-transform: none; font-size: 13px; }
.blog { list-style: none; margin: 0; padding: 10px 14px; position: absolute; inset-block-start: 6%; inset-inline-start: 56px; z-index: 5; font: 400 12px/1.7 var(--mono); color: var(--ink-2); background: rgba(6, 32, 68, .55); border-inline-start: 2px solid var(--mark); }
@media (max-width: 900px) { .blog { display: none; } }
.blog li { opacity: 0; }
.blog li::first-letter { color: var(--mark); }
html:not(.motion) .blog { display: none; }
html.motion .blog li { opacity: 1; }
html.intro .blog li { opacity: 0; animation: fx5-log .4s steps(14, end) both; }
html.intro .blog li:nth-child(1) { animation-delay: 1.9s; } html.intro .blog li:nth-child(2) { animation-delay: 2.4s; }
html.intro .blog li:nth-child(3) { animation-delay: 2.9s; } html.intro .blog li:nth-child(4) { animation-delay: 3.4s; }
@keyframes fx5-log { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
html.intro .iso .face { animation: fx5-draw 1.1s cubic-bezier(.65, 0, .35, 1) both, fx5-fill .35s ease both; stroke-dasharray: var(--len, 400); }
html.intro .iso .layer[data-layer="0"] .face { animation-delay: 0s, 1.6s; } html.intro .iso .layer[data-layer="1"] .face { animation-delay: .08s, 1.95s; }
html.intro .iso .layer[data-layer="2"] .face { animation-delay: .16s, 2.3s; } html.intro .iso .layer[data-layer="3"] .face { animation-delay: .24s, 2.65s; }
html.intro .iso .plan { animation: fx5-fill .35s ease both; }
html.intro .iso .layer[data-layer="0"] .plan { animation-delay: 1.75s; } html.intro .iso .layer[data-layer="1"] .plan { animation-delay: 2.1s; }
html.intro .iso .layer[data-layer="2"] .plan { animation-delay: 2.45s; } html.intro .iso .layer[data-layer="3"] .plan { animation-delay: 2.8s; }
@keyframes fx5-draw { from { stroke-dashoffset: var(--len, 400); } to { stroke-dashoffset: 0; } }
@keyframes fx5-fill { from { fill-opacity: 0; opacity: 0; } to { fill-opacity: 1; opacity: 1; } }
html.intro .pitch-s, html.intro .cta, html.intro .steps { animation: fx5-rise .6s cubic-bezier(.22, 1, .36, 1) both; }
html.intro .pitch-s { animation-delay: .35s; } html.intro .steps { animation-delay: .6s; } html.intro .cta { animation-delay: 3.7s; }
@keyframes fx5-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.intro .pitch-h mark::after { animation: fx5-sweep .55s cubic-bezier(.65, 0, .35, 1) 3.5s both; }
@keyframes fx5-sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.intro .trust { animation: fx5-rise .7s ease 4.1s both; }
/* the stamp that thunks onto the sheet in beat 3 */
.intro-stamp { position: absolute; inset-block-start: 6%; inset-inline-end: 4%; z-index: 20; pointer-events: none; padding: 10px 16px 9px; border: 3px double var(--mark); color: var(--mark); font: 700 clamp(13px, 1.5vw, 19px)/1.15 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-align: center; background: rgba(12, 58, 112, .55); transform: rotate(-5deg); opacity: 0; animation: fx5-stamp 3.4s cubic-bezier(.3, 1.6, .5, 1) 3.6s both; }
[lang="ar"] .intro-stamp { letter-spacing: 0; text-transform: none; font-size: clamp(15px, 1.7vw, 22px); }
.intro-stamp small { display: block; font-size: .62em; letter-spacing: .1em; opacity: .85; margin-top: 3px; }
@keyframes fx5-stamp { 0% { opacity: 0; transform: rotate(-8deg) scale(1.45); } 7% { opacity: 1; transform: rotate(-5deg) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: rotate(-5deg) scale(1); } }
html:not(.intro) .intro-stamp { display: none; }
/* ---- pointer parallax (desktop, fine pointer only; variables are written by enhance5.js) ---- */
@media (hover: hover) and (pointer: fine) {
  html.motion .iso { perspective: 1200px; }
  html.motion .iso svg { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transform-style: preserve-3d; will-change: transform; }
  html.motion .iso .layer[data-layer="1"] { translate: calc(var(--px, 0) * 4px) calc(var(--py, 0) * 3px); }
  html.motion .iso .layer[data-layer="2"] { translate: calc(var(--px, 0) * 8px) calc(var(--py, 0) * 6px); }
  html.motion .iso .layer[data-layer="3"] { translate: calc(var(--px, 0) * 12px) calc(var(--py, 0) * 9px); }
}
@media (hover: none), (pointer: coarse) { html.motion .iso svg { animation: fx5-float 6s ease-in-out infinite alternate; } }
@keyframes fx5-float { from { transform: translateY(0); } to { transform: translateY(-3px); } }
/* ---- section-line handle "A-A": drag to explode the drawing ---- */
.iso { position: relative; }
.sect { position: absolute; inset-inline-start: 0; inset-block: 8% 12%; width: 34px; display: none; touch-action: none; }
@media (min-width: 901px) { html.motion .sect { display: block; } }
.sect::before { content: ""; position: absolute; inset-block: 0; left: 50%; border-left: 1.5px dashed var(--rule); }
.sect-h { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 34px; height: 24px; display: grid; place-items: center; font: 700 10px var(--mono); letter-spacing: .06em; color: var(--mark-ink); background: var(--mark); border: 0; cursor: grab; touch-action: none; }
.sect-h:active { cursor: grabbing; }
.sect-h:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[dir="rtl"] .sect-h { direction: ltr; }
@media (prefers-reduced-motion: reduce) { html .sect { display: none; } .intro-stamp { display: none; } }
