/* Directive v10 · AWAY · look D (Bold, orbit around the logo) · round 5. Scoped under .away-d.
   Reads tokens: --bg --ink --ink-2 --ink-3 --line --cobalt --display --sans --mono --gut. */
.away-d{padding:clamp(48px,6vw,88px) 0;overflow:hidden}

/* head: huge title, side line "Get notified." in the logo's cobalt (point 63) */
.away-d .away-title{position:relative;margin-top:clamp(12px,1.6vw,20px)}
.away-d .away-big{font-size:clamp(60px,15vw,220px);line-height:.84;letter-spacing:-.055em}
.away-d .away-note{position:absolute;right:0;bottom:.12em;font-size:clamp(22px,2.2vw,32px);line-height:1;letter-spacing:-.025em;color:#3F63FF;white-space:nowrap}
@media (max-width:1100px){.away-d .away-note{position:static;margin-top:.5em}}

/* stage. Static (no JS / reduced motion): the logo and its chip first, then the cards in a row (nothing overlaps).
   Orbit (JS, .is-3d): the cards travel on a tilted ellipse around the logo, front ones lower and larger, back ones
   higher, smaller and dimmer; the ellipse is sized from the real sizes so that no card ever crosses the logo. */
.away-d .away-stage{--cw:clamp(150px,20vw,290px);position:relative;display:flex;flex-direction:column;align-items:center;gap:28px;margin-top:clamp(28px,4vw,56px);padding:0 var(--gut,20px)}
.away-d .away-ring{order:2;align-self:stretch;display:flex;justify-content:center;gap:12px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.away-d .away-card{position:relative;flex:none;width:var(--cw);aspect-ratio:4/5;margin:0;border-radius:14px;overflow:hidden;background:#d9cdb8;box-shadow:0 26px 50px -28px rgba(13,11,10,.5)}
.away-d .away-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.away-d.is-3d .away-stage{display:block;height:var(--away-h,640px)}
.away-d.is-3d .away-ring{position:absolute;left:50%;top:50%;width:0;height:0;display:block;overflow:visible}
.away-d .away-orbit{position:absolute;left:50%;pointer-events:none;border:1px solid var(--line-2,rgba(13,11,10,.22));border-radius:50%;transform:translate(-50%,-50%);opacity:.7}
.away-d.is-3d .away-card{position:absolute;left:calc(var(--cw) / -2);top:calc(var(--cw) * -.625);will-change:transform,opacity}

/* ?awayset=a|b|c (round 5b) and d|e (round 5c), direction mock-ups: one abstract image per direction, recropped per card by JS */
.away-d[data-awayset] .away-card{background:#FAF8F5;box-shadow:inset 0 0 0 1px rgba(10,13,24,.07),0 26px 50px -28px rgba(13,11,10,.5)}
.away-d[data-awayset] .away-card::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(10,13,24,.07);pointer-events:none}
.away-d[data-awayset] .away-card img{transform-origin:var(--ox,50%) var(--oy,50%);transform:scale(var(--z,1)) scaleX(var(--fx,1))}
.away-d[data-awayset="c"] .away-card{background:#0A0D18}

/* centre: the logo on the master logo's own ground (#070910), its i arms, then the ARMED chip (smaller, closer) */
.away-d .away-core{order:1;position:relative;z-index:20;display:flex;flex-direction:column;align-items:center;gap:8px}
.away-d.is-3d .away-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.away-d .away-plate{display:block;padding:clamp(12px,1.1vw,16px) clamp(16px,1.4vw,20px);border-radius:14px;background:#070910;box-shadow:0 24px 50px -26px rgba(13,11,10,.65)}
.away-d .away-logo{display:block;width:clamp(140px,12vw,180px);height:auto;overflow:visible}
.away-d .away-armed{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px 0 12px;border-radius:7px;background:#3F63FF;color:#fff;font:800 15px/1 var(--display);letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;
  box-shadow:0 14px 30px -14px rgba(13,11,10,.55)}
.away-d .away-i{display:block;width:auto;height:19px;overflow:visible}
/* variant ?armed=white (to compare with the ARMED v2 default, cobalt fill): white chip, the logo's cobalt for the i and the text */
.away-d[data-armed="white"] .away-armed{background:#fff;color:#3F63FF;box-shadow:0 0 0 1px rgba(63,99,255,.22),0 14px 30px -14px rgba(13,11,10,.4)}
.away-d[data-armed="white"] .away-i path{stroke:#fff}

/* arming sequence (JS adds .is-seq, then .is-s1 plate → .is-s2 the i arms → .is-s3 chip, once in view; slow, plays once) */
.away-d.is-seq .away-plate{opacity:0;transform:translateY(8px) scale(.98)}
.away-d.is-seq .away-lg-i-armed-knob{transform:translateY(53.06px)}
.away-d.is-seq .away-armed{opacity:0;transform:translateY(8px)}
.away-d.is-seq .away-plate,.away-d.is-seq .away-armed{transition:opacity 1s ease,transform 1.2s cubic-bezier(.2,.8,.2,1)}
.away-d.is-seq .away-lg-i-armed-knob{transition:transform 1.3s cubic-bezier(.65,0,.25,1)}
.away-d.is-s1 .away-plate{opacity:1;transform:none}
.away-d.is-s2 .away-lg-i-armed-knob{transform:none}
.away-d.is-s2 .away-lg-i-armed-body{animation:away-tick 1.4s ease 1.1s both}
.away-d.is-s3 .away-armed{opacity:1;transform:none}
@keyframes away-tick{0%,100%{filter:none}30%{filter:drop-shadow(0 0 7px rgba(111,139,255,.85))}}

/* foot: Any hour. / Any place. / Your setups. + short text */
.away-d .away-foot{display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px clamp(28px,5vw,72px);align-items:end;margin-top:clamp(16px,2.4vw,32px);padding-top:24px;border-top:2px solid var(--ink)}
.away-d .away-fig{font-size:clamp(40px,6vw,88px);line-height:.9;letter-spacing:-.045em;color:var(--cobalt,#3F63FF)}
.away-d .away-fig-k{color:var(--ink)}
.away-d .say{font-size:clamp(18px,1.6vw,22px);line-height:1.45;color:var(--ink);max-width:26em;font-weight:600}
.away-d .away-sub{margin-top:10px;font-size:clamp(15px,1.25vw,17px);line-height:1.55;color:var(--ink-2);max-width:32em}
.away-d .away-honest{margin-top:12px;color:var(--ink-3);font-size:10px}
@media (max-width:700px){
  .away-d .away-stage{--cw:120px;margin-top:8px}
  .away-d .away-ring{justify-content:flex-start}
  .away-d .away-core{gap:6px}
  .away-d .away-plate{padding:10px 13px;border-radius:11px}
  .away-d .away-logo{width:122px}
  .away-d .away-armed{height:28px;font-size:12.5px;padding:0 11px 0 9px;gap:6px;border-radius:6px}
  .away-d .away-i{height:15px}
  .away-d .away-card{border-radius:10px}
  .away-d .away-foot{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .away-d.is-seq .away-plate,.away-d.is-seq .away-armed,.away-d.is-seq .away-lg-i-armed-knob{opacity:1;transform:none;transition:none;animation:none}
}

/* ── round 5d · PRODUCT MOMENTS (Caroline point 92): the orbit shows Directive working while you are away, drawn in
   HTML/CSS/SVG. Every size inside a card is in em of a base tied to the card width (container units), so a card reads
   the same at 290 px (front, desktop) and at 136 px (mobile): nothing reflows, nothing overflows. Ink and light glass
   alternate around the ring; the front card is "lit" (soft cobalt glow, its key line fades in once, slowly). */
.away-d .away-card.pc::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;background:var(--bg,#FAF8F5);opacity:calc(var(--fade,0) * .62);pointer-events:none}
.away-d .away-card.pc-ink::after{opacity:calc(var(--fade,0) * .42)}
.away-d .away-defs{position:absolute;width:0;height:0;overflow:hidden}
.away-d .away-card.pc{container-type:inline-size;border-radius:16px;background:#FBFAF7;
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 0 0 1px rgba(10,13,24,.07),0 30px 60px -34px rgba(13,11,10,.42),0 10px 22px -16px rgba(13,11,10,.18);
  transition:box-shadow 1.8s ease}
.away-d .away-card.pc-glass{background:linear-gradient(165deg,#FFFFFF 0%,#FAF8F5 58%,#F1EEEA 100%);color:#0D0B0A}
.away-d .away-card.pc-ink{background:linear-gradient(165deg,#161A2A 0%,#0C0F1B 55%,#070910 100%);color:#F7F2EC;
  box-shadow:0 1px 0 rgba(255,255,255,.07) inset,0 0 0 1px rgba(255,255,255,.06) inset,0 30px 60px -30px rgba(7,9,16,.6),0 10px 22px -16px rgba(7,9,16,.35)}
.away-d .away-card.pc-ink.is-lit{box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 0 0 1px rgba(111,139,255,.42) inset,0 0 0 1px rgba(63,99,255,.35),0 30px 70px -26px rgba(63,99,255,.55),0 10px 22px -16px rgba(7,9,16,.35)}
.away-d .away-card.pc-glass.is-lit{box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 0 0 1px rgba(63,99,255,.32),0 30px 70px -28px rgba(63,99,255,.45),0 10px 22px -16px rgba(13,11,10,.16)}
.away-d .pc-in{position:absolute;inset:0;display:flex;flex-direction:column;gap:.78em;padding:1.25em 1.3em 1.2em;font:500 calc(100cqw / 18.6)/1.35 var(--sans);overflow:hidden}
.away-d .pc-in p,.away-d .pc-in dl,.away-d .pc-in ul{margin:0}
/* header: the logo's own symbol, a name, the time (mono = micro-data) */
.away-d .pc-hd{display:flex;align-items:center;gap:.5em;font-size:.82em;font-weight:700;letter-spacing:-.005em;opacity:.92}
.away-d .pc-sym{flex:none;width:1.35em;height:1.35em}
.away-d .pc-tm{margin-left:auto;font:500 .95em/1 var(--mono);letter-spacing:0;opacity:.62}
/* status line: Archivo, normal case */
.away-d .pc-live{display:flex;flex-direction:column;align-items:flex-start;gap:.4em}
.away-d .pc-t{font:700 1.5em/1.08 var(--display);letter-spacing:-.025em;text-wrap:balance}
.away-d .pc-in p{text-wrap:pretty}
.away-d .pc-s{font-size:.9em;line-height:1.4;opacity:.7}
.away-d .pc-end{margin-top:auto!important}
.away-d .pc-big{font:800 3.1em/.95 var(--display);letter-spacing:-.04em;color:#3F63FF;margin-top:.1em!important}
/* rows: label (Manrope) / value (mono for prices and times) */
.away-d .pc-rows{display:flex;flex-direction:column;border-top:1px solid currentColor;border-color:rgba(127,127,140,.22)}
.away-d .pc-rows>div{display:flex;justify-content:space-between;align-items:baseline;gap:.8em;padding:.42em 0;border-bottom:1px solid rgba(127,127,140,.16)}
.away-d .pc-rows dt{font-size:.8em;opacity:.62;white-space:nowrap}
.away-d .pc-rows dd{margin:0;font:500 .82em/1.2 var(--mono);letter-spacing:-.01em;white-space:nowrap;text-align:right}
.away-d .pc-rows dd.pc-w,.away-d .pc-rows dd.pc-yes{font:700 .84em/1.2 var(--sans);letter-spacing:0}
.away-d .pc-yes{display:inline-flex;align-items:center;gap:.3em;color:#3F63FF}
.away-d .pc-ink .pc-yes{color:#9DB0FF}
.away-d .pc-yes svg{width:1.1em;height:1.1em}
/* footer */
.away-d .pc-ft{margin-top:auto!important;display:flex;align-items:center;justify-content:space-between;gap:.6em}
.away-d .pc-pill{display:inline-flex;align-items:center;gap:.35em;height:2em;padding:0 .8em 0 .6em;border-radius:999px;font-size:.8em;font-weight:700;background:rgba(127,127,140,.14)}
.away-d .pc-pill svg{width:1.15em;height:1.15em}
.away-d .pc-pill.on{background:#3F63FF;color:#fff}
.away-d .pc-note{font-size:.74em;opacity:.55;white-space:nowrap}
.away-d .pc-k{font-size:.8em;opacity:.62}
.away-d .pc-num{font:500 .9em/1 var(--mono);color:#2A47D6}
.away-d .pc-btn{display:inline-flex;align-items:center;gap:.45em;height:2.3em;padding:0 1.05em;border-radius:9px;background:#0D0B0A;color:#F7F2EC;font-size:.84em;font-weight:700}
.away-d .pc-btn svg{width:1.1em;height:1.1em}
/* ARMED chip (ARMED v2: cobalt fill, the master logo's exact i) */
.away-d .pc-armed{display:inline-flex;align-items:center;gap:.45em;height:1.9em;padding:0 .75em 0 .6em;border-radius:.42em;background:#3F63FF;color:#fff;font:800 .82em/1 var(--display);letter-spacing:.03em;text-transform:uppercase;box-shadow:0 8px 18px -10px rgba(63,99,255,.8)}
.away-d .pc-armed svg{width:auto;height:1.15em;overflow:visible}
/* feed dropped: neutral icon (no amber), checks for "paused / nothing sent" */
.away-d .pc-ico{display:grid;place-items:center;width:2.3em;height:2.3em;border-radius:.6em;background:rgba(247,242,236,.08);box-shadow:0 0 0 1px rgba(247,242,236,.1) inset;color:#C9CFDC}
.away-d .pc-ico svg{width:1.35em;height:1.35em}
.away-d .pc-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:.45em;font-size:.92em;font-weight:700}
.away-d .pc-list li{display:flex;align-items:center;gap:.45em}
.away-d .pc-list svg{flex:none;width:1.2em;height:1.2em;padding:.12em;border-radius:50%;background:rgba(157,176,255,.16);color:#9DB0FF}
/* mini charts (vector, no axis): level, price path, entry / moved stop */
.away-d .pc-viz{display:block;width:100%;height:auto;flex:none;aspect-ratio:240/92;overflow:visible}
.away-d .pc-viz line,.away-d .pc-viz polyline,.away-d .pc-viz path{fill:none;vector-effect:non-scaling-stroke}
.away-d .pc-viz .pc-lvl{stroke:#3F63FF;stroke-width:1.4;stroke-dasharray:4 4}
.away-d .pc-viz .pc-px{stroke:#0D0B0A;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;opacity:.78}
.away-d .pc-viz .pc-dot{fill:#3F63FF;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.away-d .pc-viz .pc-tgt{stroke:rgba(13,11,10,.28);stroke-width:1;stroke-dasharray:2 4}
.away-d .pc-viz .pc-entry{stroke:rgba(13,11,10,.3);stroke-width:1}
.away-d .pc-viz .pc-old{stroke:rgba(13,11,10,.28);stroke-width:1.2;stroke-dasharray:3 4}
.away-d .pc-viz .pc-mv{stroke:#3F63FF;stroke-width:1.8;stroke-linecap:round}
/* lit: the front card's key line appears once, slowly (JS restarts it when a card comes to the front) */
.away-d.is-3d .pc.is-lit .pc-live{animation:away-pop 1.4s cubic-bezier(.2,.8,.2,1) .35s both}
@keyframes away-pop{from{opacity:0;transform:translateY(.5em)}to{opacity:1;transform:none}}
@media (max-width:700px){
  /* product cards: a little wider than the photos (132 vs 120 px, text legible) and a smaller logo (92 px), so the ellipse stays compact (≈ 600 px) and the side cards stay inside the screen */
  .away-d:not([data-awayset]) .away-stage{--cw:132px}
  .away-d:not([data-awayset]) .away-logo{width:92px}
  .away-d .away-card.pc{border-radius:11px}
}
@media (prefers-reduced-motion:reduce){
  .away-d .away-card.pc{transition:none}
  .away-d .pc.is-lit .pc-live{animation:none!important}
}
/* 5d additions: feed gap (line stops, dotted = paused), plan window (09:30 → 11:30), ink-card strokes */
.away-d .pc-ink .pc-viz .pc-px{stroke:#EDF0F8;opacity:.7}
.away-d .pc-viz .pc-gap{stroke:rgba(237,240,248,.35);stroke-width:1.4;stroke-dasharray:2 5}
.away-d .pc-viz .pc-dot.off{fill:#9AA3B5;stroke:#0C0F1B}
.away-d .pc-track{position:relative;display:flex;justify-content:space-between;padding-top:.9em;font:500 .74em/1 var(--mono);color:rgba(237,240,248,.55)}
.away-d .pc-track span{position:absolute;left:0;right:0;top:0;height:.34em;border-radius:99px;background:linear-gradient(90deg,rgba(157,176,255,.25),rgba(157,176,255,.6))}
.away-d .pc-track i{font-style:normal}
/* static row (no JS / reduced motion): the cards wrap and stay centred, nothing hidden off screen */
.away-d:not(.is-3d) .away-ring{flex-wrap:wrap;overflow:visible}

/* Marketing 2026-10-29 · visible condition (Math rule 2026-10-26) */
.away-d .away-cond{margin-top:clamp(14px,1.6vw,22px);font-size:14px;line-height:1.5;color:var(--ink-3)}

/* Math 2026-10-30 [DESKTOP + MOBILE]: one object — logo on a white plate (lifts off the paper), ARMED as a small
   cobalt tab fused underneath, shown the moment the i's knob reaches the top. The block floats at the centre of the
   orbit and sends a slow ripple across the orbit plane, so it belongs to the motion instead of sitting still. */
.away-d .away-core{gap:0}
.away-d .away-plate{background:#fff;border-radius:14px;position:relative;z-index:1;box-shadow:0 0 0 1px rgba(13,11,10,.06),0 26px 50px -22px rgba(13,11,10,.35)}
.away-d .away-lg-letters-irect,.away-d .away-lg-letters-ve{fill:#070910;stroke:#070910}
.away-d .away-armed{height:24px;padding:0 12px 0 10px;gap:6px;border-radius:0 0 8px 8px;background:#3F63FF;color:#fff;font-size:11.5px;letter-spacing:.08em;box-shadow:0 12px 24px -14px rgba(31,52,160,.7)}
.away-d .away-i{height:13px}
.away-d.is-seq .away-armed{transform:translateY(-100%)}
.away-d.is-seq .away-armed{transition:opacity .5s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.away-d.is-s2 .away-armed{opacity:1;transform:none;transition-delay:1s}
.away-d .away-core{animation:away-float 6s ease-in-out infinite}
.away-d .away-core::before,.away-d .away-core::after{content:"";position:absolute;left:50%;top:62%;z-index:-1;border-radius:50%;pointer-events:none}
.away-d .away-core::before{width:300px;height:86px;margin:-43px 0 0 -150px;border:1.5px solid rgba(63,99,255,.45);animation:away-ripple 6s cubic-bezier(.2,.6,.3,1) infinite}
.away-d .away-core::after{width:200px;height:40px;margin:-4px 0 0 -100px;background:radial-gradient(closest-side,rgba(63,99,255,.28),rgba(63,99,255,0));animation:away-shade 6s ease-in-out infinite}
@keyframes away-float{0%,100%{translate:0 0;rotate:-1.2deg}50%{translate:0 -9px;rotate:1.2deg}}
@keyframes away-ripple{0%{transform:scale(.35);opacity:0}15%{opacity:1}100%{transform:scale(1.9);opacity:0}}
@keyframes away-shade{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.82);opacity:.6}}
@media (max-width:700px){
  .away-d .away-plate{border-radius:11px}
  .away-d .away-armed{height:20px;font-size:9.5px;padding:0 9px 0 8px;gap:5px;border-radius:0 0 6px 6px}
  .away-d .away-i{height:11px}
  .away-d .away-core::before{width:220px;height:90px;margin:-45px 0 0 -110px}
  .away-d .away-core::after{width:150px;height:34px;margin-left:-75px}
}
@media (prefers-reduced-motion:reduce){.away-d .away-core,.away-d .away-core::before,.away-d .away-core::after{animation:none}.away-d .away-core::before{display:none}}
