/* Inner pages: shared motion layer (word reveals, staggered rising cards, section HUD, light leak)
   plus the pinned scroll scenes. Grey stage, ink UI, gold only as light. */

/* soft window light drifting across the grey stage */
.leak { position: fixed; inset: -20vh -20vw; z-index: 0; pointer-events: none; opacity: .55; mix-blend-mode: soft-light;
  background:
    linear-gradient(118deg, transparent 0 28%, rgba(255,255,255,.9) 31%, transparent 35%, transparent 41%, rgba(255,255,255,.7) 43.5%, transparent 46.5%,
                    transparent 55%, rgba(255,255,255,.6) 57%, transparent 60%);
  filter: blur(26px); will-change: transform; }

/* nav: the current page carries a gold underline glow */
header nav a.nav-on { position: relative; color: #0B0B0A !important; }
header nav a.nav-on::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -9px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #D9B866, transparent); box-shadow: 0 0 12px 2px rgba(217,184,102,.55); }

/* headings: words arrive out of a blur, one after another */
.wr .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.28em);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), filter .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i) * 60ms); }
.wr.in .w { opacity: 1; filter: none; transform: none; }

/* cards rise in a stagger, each from a different depth */
.rise { opacity: 0; transform: translateY(var(--o, 80px)); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
  transition-delay: calc(var(--d) * 110ms); }
.rise-in > .rise { opacity: 1; transform: none; }
.rise-in > .rise:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(11,11,10,.45); transition-delay: 0s; }

/* card icons: crisp ink line icons in a small frosted tile (gold on dark cards) */
svg.emb { width: 48px !important; height: 48px !important; padding: 11px; box-sizing: border-box; border-radius: 12px; flex: 0 0 auto;
  background: rgba(255,255,255,.62); border: 1px solid rgba(26,26,26,.1); box-shadow: 0 8px 18px -12px rgba(11,11,10,.4);
  stroke: #1A1A1A !important; stroke-width: 1.7 !important; transition: background .3s, transform .3s; }
svg.emb.emb-d { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; stroke: #D9B866 !important; }
.rise-in > .rise:hover svg.emb { transform: translateY(-2px); }

/* section HUD, same voice as the homepage */
.ihud { position: fixed; left: 28px; bottom: 28px; z-index: 40; display: flex; gap: 14px; pointer-events: none;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #4F4F49; transition: color .4s, opacity .4s; }
.ihud b { color: #0B0B0A; font-weight: 500; transition: color .4s; }
.ihud .ihud-l { color: #0B0B0A; transition: color .4s; }
.ihud.dark, .ihud.dark b, .ihud.dark .ihud-l { color: #EDECE6; }
.ihud-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 2px; z-index: 40; pointer-events: none; background: rgba(26,26,26,.08); }
.ihud-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #8A5E22, #D9B866); }

/* ---------- pinned scroll scene ---------- */
.scene { position: relative; }
.scene-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scene-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene-copy { position: absolute; left: max(28px, calc((100vw - 1240px) / 2 + 28px)); top: 50%; transform: translateY(-46%); width: min(400px, 36vw); }
.scene-eyebrow { display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #4F4F49; margin-bottom: 18px; }
.scene-title { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -0.035em; margin: 0 0 34px; }
.scene-title em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.scene-steps { position: relative; list-style: none; margin: 0; padding: 0; min-height: 280px; }
.scene-step { position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.scene-step.on { pointer-events: auto; }
.scene-n { display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em; color: #8A5E22; margin-bottom: 12px;
  opacity: 0; transition: opacity .5s; }
.scene-step h3 { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; text-transform: none; }
.scene-step p { font-size: 16px; line-height: 1.6; color: #3C3C37; margin: 0 0 14px; }
.scene-step small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #55554E; }
.scene-step ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: #1A1A1A; }
.scene-step ul li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px 0; background: #B58B35; }
.scene-step .w2 { display: block; opacity: 0; filter: blur(8px); transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), filter .6s, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 70ms); }
.scene-step.on .w2, .scene-step.on .scene-n { opacity: 1; filter: none; transform: none; }
.scene-step.done .w2 { transform: translateY(-14px); transition-delay: 0s; }
.scene-foot { position: absolute; left: max(28px, calc((100vw - 1240px) / 2 + 28px)); right: max(28px, calc((100vw - 1240px) / 2 + 28px)); bottom: 34px;
  display: flex; align-items: center; gap: 18px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #4F4F49; }
.scene-ticks { display: flex; gap: 6px; margin-top: 26px; }
.scene-ticks i { width: 26px; height: 2px; background: rgba(26,26,26,.15); transition: background .4s, width .4s; }
.scene-ticks i.on { background: #B58B35; width: 44px; }
.scene-cue { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.scene-cue::before { content: "↓"; font-size: 14px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(4px); } }

/* security hero: the cage sits under the headline */
.cage-host { position: relative; overflow: hidden; }
.cage-host > div { position: relative; z-index: 1; }
.cage-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* industries: three sector cards with embossed marks */
.sect-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 14px; }
.sect-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; border-radius: 18px; border: 1px solid rgba(26,26,26,.12);
  background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,.18)); color: inherit; }
.sect-card b { font-family: 'Inter Tight', sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.sect-card span { font-size: 14px; line-height: 1.5; color: #3C3C37; }
.sect-card small { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #55554E; margin-top: 6px; }
/* sector images: graded into the stage (ink-grey, subject in gold). Each frame wipes open as its card rises,
   then the picture drifts slowly; scroll adds a little parallax, hover leans in. */
.sect-card { padding: 12px 12px 22px; }
.sect-card > b, .sect-card > span, .sect-card > small { padding: 0 12px; }
.sect-img { position: relative; height: 300px; border-radius: 12px; overflow: hidden; margin-bottom: 10px; background: #1A1A18;
  clip-path: inset(100% 0 0 0 round 12px); transition: clip-path 1.3s cubic-bezier(.7,0,.2,1); transition-delay: calc(var(--d) * 150ms + .35s); }
.sect-img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(250,232,176,.22) 45%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 120% 0;
  transition: background-position 1.6s cubic-bezier(.3,.6,.2,1); transition-delay: calc(var(--d) * 150ms + 1.2s); }
.sect-img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; display: block;
  transform: translateY(var(--py, 0px)) scale(1.14); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.rise-in .sect-img { clip-path: inset(0 0 0 0 round 12px); }
.rise-in .sect-img::after { background-position: -40% 0; }
.rise-in .sect-img img { transform: translateY(var(--py, 0px)) scale(1.04); animation: drift 16s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -5s); }
.sect-card:hover .sect-img img { transform: translateY(var(--py, 0px)) scale(1.09); }
@keyframes drift { from { object-position: 46% 44%; } to { object-position: 54% 56%; } }

/* build & transfer: four nested phase rings sharing one top point, drawn as you scroll */
.rings-sec { position: relative; overflow: hidden; max-width: 1240px; margin: 0 auto; padding: 96px 28px 120px; }
.rings-head { max-width: 1000px; margin: 0 auto 10px; text-align: center; }
.rings-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #4F4F49; }
.rings-title { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -0.04em; margin: 16px 0 18px; }
.rings-title em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.rings-sub { max-width: 560px; margin: 0 auto; font-size: 17px; line-height: 1.6; color: #3C3C37; }
.rings-sub span { display: block; margin-top: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #55554E; }
svg.rings { display: block; width: min(980px, 100%); height: auto; margin: 30px auto 0; overflow: visible; }
.rings .rg-bg { fill: none; stroke: rgba(26,26,26,.16); stroke-width: 1; }
.rings .rg-c { fill: none; stroke: #1A1A1A; stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: var(--o, 1); }
.rings .rg-c.rg-gold { stroke: #A07A2C; stroke-width: 1.6; }
.rings .rg-ch { stroke: #1A1A1A; stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: var(--o, 1); }
.rings .rg-n { fill: #D9D8D5; stroke: #1A1A1A; stroke-width: 1.1; opacity: var(--a, 0); transition: fill .4s; }
.rings .rg-n.rg-top { fill: #D9B866; stroke: #8A5E22; opacity: 1; }
.rings .rg-n.on { fill: #D9B866; stroke: #8A5E22; }
.rings text { text-anchor: middle; font-family: 'Inter', sans-serif; fill: #1A1A1A; }
.rings .rg-steps { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em; fill: #4F4F49; }
.rings .rg-t { opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 10px)); }
.rings .rg-num { font-family: 'JetBrains Mono', monospace; font-size: 14px; letter-spacing: .1em; }
.rings .rg-name { font-family: 'Inter Tight', sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.rings .rg-txt { font-size: 16px; fill: #3C3C37; }
.rings .rg-t[data-k="3"] .rg-name { fill: #8A5E22; }
.rings-list { display: none; }
@media (max-width: 700px) {
  svg.rings .rg-t, svg.rings .rg-steps { display: none; }
  .rings-list { display: flex; flex-direction: column; gap: 14px; list-style: none; padding: 0; margin: 24px 0 0; }
  .rings-list li { border-top: 1px solid rgba(26,26,26,.15); padding-top: 12px; }
  .rings-list span { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #8A5E22; }
  .rings-list b { display: block; font-family: 'Inter Tight', sans-serif; font-size: 20px; margin: 4px 0; }
  .rings-list p { margin: 0; color: #3C3C37; }
}

/* how we partner: one pinned story (ribbon hero -> plate -> board -> zoom), after the reference recording */
.pt-scene { position: relative; }
.pt-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.pt-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pt-hero { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.pt-hero a { pointer-events: auto; }
.pt-tl { position: absolute; left: max(28px, calc((100vw - 1240px) / 2 + 28px)); top: 34px; }
.pt-count { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; color: #4F4F49; margin-bottom: 22px; }
.pt-tl h1 { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: clamp(48px, 6vw, 96px); line-height: .95; letter-spacing: -0.045em; margin: 0; color: #0B0B0A; }
.pt-tl h1 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.pt-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #1A1A1A; }
.pt-tag i { width: 6px; height: 6px; border-radius: 50%; background: #B58B35; box-shadow: 0 0 0 3px rgba(181,139,53,.2); }
.pt-tr { position: absolute; right: max(28px, calc((100vw - 1240px) / 2 + 28px)); top: 92px; width: min(330px, 30vw); margin: 0; font-size: 15px; line-height: 1.6; color: #3C3C37; }
.pt-bc { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); text-align: center; }
.pt-bc p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: #3C3C37; }
.pt-pill { display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 8px; background: #1A1A1A; color: #fff; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500; }
.pt-bl { position: absolute; left: max(28px, calc((100vw - 1240px) / 2 + 28px)); bottom: 120px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #4F4F49; }
/* hero without the ribbon: two columns, vertically centred in the visible area */
.pt-tl { top: 16vh; }

.pt-tr { top: calc(16vh + 46px); width: min(380px, 32vw); font-size: 17px; }
.pt-bc { left: auto !important; right: max(28px, calc((100vw - 1240px) / 2 + 28px)); bottom: auto !important; top: calc(16vh + 170px); transform: none !important;
  width: min(380px, 32vw); text-align: left !important; }
.pt-bc p { margin-bottom: 14px; }
.pt-bl { display: none; }
/* entrance */
.pt-tl, .pt-tr, .pt-bc, .pt-bl { animation: ptIn 1.2s cubic-bezier(.2,.7,.2,1) both; }
.pt-tr { animation-delay: .25s; } .pt-bc { animation-delay: 1.1s; } .pt-bl { animation-delay: 1.3s; }
@keyframes ptIn { from { opacity: 0; filter: blur(8px); transform: translateY(14px); } }
.pt-bc { animation-name: ptIn; } @keyframes ptInC { from { opacity: 0; filter: blur(8px); transform: translate(-50%, 14px); } }
/* final copy, revealed word by word on the left */
.pt-veil { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .8s;
  background: linear-gradient(90deg, rgba(196,196,195,.78) 0, rgba(198,198,197,.6) 50%, rgba(198,198,197,0) 70%);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(90deg, #000 0 52%, transparent 72%); mask-image: linear-gradient(90deg, #000 0 52%, transparent 72%); }
.pt-final.on ~ .pt-veil, .pt-veil.on { opacity: 1; }
.pt-final { position: absolute; left: max(28px, calc((100vw - 1240px) / 2 + 28px)); top: 50%; transform: translateY(-50%); width: min(540px, 42vw); pointer-events: none; }
.pt-final ol { list-style: none; margin: 0; padding: 0; position: relative; min-height: 500px; }
.pt-step { position: absolute; inset: 0 0 auto 0; }
.pt-step > * { opacity: 0; filter: blur(8px); transform: translateY(12px); transition: opacity .6s, filter .6s, transform .7s cubic-bezier(.2,.7,.2,1); }
.pt-step.on > * { opacity: 1; filter: none; transform: none; }
.pt-step.on > :nth-child(2) { transition-delay: .08s; } .pt-step.on > :nth-child(3) { transition-delay: .18s; } .pt-step.on > :nth-child(4) { transition-delay: .26s; }
.pt-step.on > :nth-child(5) { transition-delay: .34s; } .pt-step.on > :nth-child(6) { transition-delay: .42s; }
.pt-step.on { pointer-events: auto; }
.pt-n { display: block; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #8A5E22; margin-bottom: 14px; }
.pt-step h2 { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: clamp(46px, 4.6vw, 72px); line-height: .98; letter-spacing: -0.04em; text-transform: none; margin: 0 0 16px; }
.pt-step p { font-size: 20px; line-height: 1.55; color: #2C2C28; margin: 0 0 20px; }
.pt-step ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 17.5px; }
.pt-step ul li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 12px 2px 0; background: #B58B35; }
.pt-step b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.pt-ghost { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 8px; border: 1px solid rgba(26,26,26,.25); background: rgba(255,255,255,.45); font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; }
@media (max-width: 900px) {
  .pt-tr { left: 20px; right: 20px; top: auto; bottom: 260px; width: auto; }
  .pt-final { left: 20px; right: 20px; width: auto; top: auto; bottom: 40px; transform: none; }
  .pt-final ol { min-height: 330px; }
}
@media (prefers-reduced-motion: reduce) { .pt-tl, .pt-tr, .pt-bc, .pt-bl { animation: none; } .pt-step > * { transition: none; } }

/* customers: proof strip that counts up */
.proof { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid rgba(26,26,26,.13); border-bottom: 1px solid rgba(26,26,26,.13); width: 100%; }
.proof div { padding: 22px 14px; display: flex; flex-direction: column; gap: 6px; text-align: left; border-right: 1px solid rgba(26,26,26,.1); }
.proof div:last-child { border-right: 0; }
.proof b { font-family: 'Inter Tight', sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.proof span { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #55554E; }

@media (max-width: 900px) {
  .scene-copy { left: 20px; right: 20px; width: auto; top: auto; bottom: 90px; transform: none; }
  .scene-title { font-size: 28px; margin-bottom: 20px; }
  .scene-steps { min-height: 230px; }
  .sect-cards, .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ihud { left: 20px; bottom: 20px; }
  .ihud .ihud-l { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sect-img { clip-path: none; transition: none; } .sect-img img { animation: none !important; transform: none !important; }
  .wr .w, .rise, .scene-step .w2 { transition: none !important; opacity: 1; filter: none; transform: none; }
  .leak { display: none; }
}

/* readability: class-styled mono labels match the homepage kicker (13px, weight 500, ink) */
.scene-eyebrow, .rings-eyebrow, .pt-bl, .pt-count { font-size: 13px; font-weight: 500; color: #1A1A1A; }
.scene-step small, .rings-sub span { font-size: 12.5px; font-weight: 500; color: #2E2E2A; }
.sect-card small { font-size: 12px; font-weight: 500; color: #2E2E2A; }
.pt-tag { font-size: 12px; }
.proof span { font-size: 12px; font-weight: 500; color: #2E2E2A; }
.cov-top, .cov-bot small { font-size: 11.5px; font-weight: 500; opacity: .85; }
.rings-eyebrow { display: inline-flex; align-items: center; gap: 10px; width: fit-content; background: #FFFFFF; color: #0B0B0A; font-size: 13px; font-weight: 500;
  border: 1px solid rgba(26,26,26,.14); border-radius: 999px; padding: 7px 14px 7px 11px;
  box-shadow: 0 1px 2px rgba(18,17,15,.06), 0 4px 14px -6px rgba(18,17,15,.18); }
.rings-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1A1A1A; box-shadow: 0 0 0 4px rgba(232,205,120,.4); flex: 0 0 auto; }
