/*
Theme Name: Yourdo
Author: Laura
Version: 1.0
*/

:root{
  --bg: #1B8B8C;
  --brand: #0B8C83;

  --w: rgba(255,255,255,.98);
  --m: rgba(255,255,255,.84);
  --m2: rgba(255,255,255,.62);

  --shadow: 0 34px 160px rgba(0,0,0,.36);
  --shadow2: 0 14px 72px rgba(0,0,0,.20);

  --max: 1320px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:"Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--w);

  /* Desktop gets the “app-like” locked viewport.
     Mobile overrides later to allow scrolling. */
  overflow:hidden;
  overflow-x:hidden;
}

/* ===== PORTAL BACKGROUND ===== */
.portal{ position:fixed; inset:0; pointer-events:none; z-index:0; }
.portal__vignette{
  position:absolute; inset:-2px;
  background: radial-gradient(circle at 50% 40%, rgba(0,0,0,0) 0%, rgba(0,0,0,.16) 62%, rgba(0,0,0,.30) 100%);
  opacity:.72;
}
.portal__spotlight{
  position:absolute; inset:-30%;
  background: radial-gradient(circle at var(--sx,50%) var(--sy,40%), rgba(255,255,255,.26), rgba(255,255,255,0) 50%);
  opacity:.22;
  mix-blend-mode: overlay;
}
.portal__grid{
  position:absolute;
  inset:-28%;
  opacity:.17;
  background:
    linear-gradient(to right, rgba(255,255,255,.42) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 68px 68px;

  transform-origin: 50% 50%;
  transform:
    perspective(1020px)
    rotateX(58deg)
    rotateZ(var(--rz, -18deg))
    translate3d(var(--gx,0px), var(--gy,0px), 0);

  animation: gridDrift 16s linear infinite;
  mask-image: radial-gradient(circle at 50% 35%, rgba(0,0,0,1), rgba(0,0,0,.55) 55%, rgba(0,0,0,0) 86%);
}
@keyframes gridDrift{
  0%{ background-position: 0 0, 0 0; }
  100%{ background-position: -68px -68px, -68px -68px; }
}
.portal__orbs{ position:absolute; inset:0; transform: translate3d(var(--ox,0px), var(--oy,0px),0); }
.orb{
  position:absolute;
  width: 820px; height: 820px;
  border-radius: 999px;
  filter: blur(110px);
  opacity:.14;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,.12), transparent 55%);
  mix-blend-mode: overlay;
  animation: floaty 40s ease-in-out infinite;
}
.orb--a{ top:-460px; left:-460px; animation-duration: 46s; opacity:.12; }
.orb--b{ top: 0%; right:-560px; width: 980px; height: 980px; animation-duration: 56s; opacity:.10; }
.orb--c{ bottom:-620px; left: 14%; width: 1120px; height: 1120px; animation-duration: 64s; opacity:.09; }

@keyframes floaty{
  0%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(96px,-54px,0) scale(1.07); }
  100%{ transform: translate3d(0,0,0) scale(1); }
}
.portal__noise{
  position:absolute; inset:0;
  opacity:.10;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.40) 1px, transparent 0);
  background-size: 30px 30px;
  mix-blend-mode: overlay;
  mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,1), rgba(0,0,0,.35) 62%, rgba(0,0,0,0) 88%);
}
.portal__glints::before{
  content:"";
  position:absolute; inset:-40%;
  background: linear-gradient(120deg, transparent 44%, rgba(255,255,255,.30) 50%, transparent 56%);
  transform: translateX(-40%);
  opacity:.20;
  animation: glint 9.5s ease-in-out infinite;
}
@keyframes glint{
  0%{ transform: translateX(-40%); opacity:.10; }
  45%{ opacity:.18; }
  100%{ transform: translateX(40%); opacity:.10; }
}
body[data-scene="0"]{ --rz:-18deg; }
body[data-scene="1"]{ --rz:-10deg; }
body[data-scene="2"]{ --rz:-22deg; }

/* ===== CORNER ICONS ===== */
.corner{
  position:fixed; top:18px; right:18px;
  z-index:8;
  display:flex; gap:10px;
}
.iconLink{
  width:54px; height:54px;
  display:grid; place-items:center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  text-decoration:none;
  box-shadow: 0 18px 70px rgba(0,0,0,.12);
  backdrop-filter: blur(14px);
  transition: transform 120ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.iconLink svg{ width:22px; height:22px; }
.iconLink:hover{ background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }
.iconLink:active{ transform: translateY(1px); }
.iconLink--ghost{ background: rgba(255,255,255,.06); box-shadow:none; }
.iconLink[aria-disabled="true"]{ opacity:.55; pointer-events:none; }

/* ===== LAYOUT ===== */
.shell{
  position:relative;
  z-index:2;
  height:100vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 18px 12px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.top{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 16px;
  padding-top: 22px;
}
.logo{
  width: min(120px, 24vw);
  height:auto;
  display:block;
  object-fit: contain;
  user-select:none;
  -webkit-user-drag:none;
}
.wordmark{
  display:flex;
  flex-direction:column;
  gap: 4px;
  align-items:flex-start;
}
.wordmark__line{
  font-weight: 990;
  letter-spacing: -0.5px;
  font-size: 28px;
  line-height: 1;
}
.wordmark__tag{
  color: rgba(255,255,255,.86);
  font-weight: 850;
  letter-spacing: .18px;
  font-size: 14px;
}

/* stage: console + preview column */
.stage{
  flex: 1;
  min-height:0;
  width:100%;
  display:grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 14px;
  align-items:stretch;
}

/* ===== CONSOLE ===== */
.console{ width:100%; height:100%; }
.console__frame{
  width: 100%;
  height: 100%;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.console__shine{
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.24), transparent 58%);
  opacity:.22;
  pointer-events:none;
}
.console__scan{
  position:absolute; inset:-40%;
  background: linear-gradient(120deg, transparent 45%, rgba(255,255,255,.14) 50%, transparent 55%);
  transform: translateX(-40%);
  opacity:.18;
  animation: scan 8s ease-in-out infinite;
  pointer-events:none;
}
@keyframes scan{
  0%{ transform: translateX(-40%); opacity:.08; }
  45%{ opacity:.20; }
  100%{ transform: translateX(40%); opacity:.08; }
}

/* Embedded dock */
.dock{
  position:absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 72px;
  display:flex;
  gap: 12px;
  padding: 10px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow2);
  overflow:hidden;
  z-index: 5;
}
.dock__hi{
  position:absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  width: 240px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 60px rgba(0,0,0,.20);
  transform: translate3d(0,0,0);
  transition: transform 680ms cubic-bezier(.18,.9,.18,1), width 680ms cubic-bezier(.18,.9,.18,1);
}
.dock__btn{
  position:relative;
  z-index:2;
  flex: 1;
  min-width: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 0;
  padding: 18px 14px;
  border-radius: 18px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.88);
  font-weight: 990;
  letter-spacing: .25px;
  cursor:pointer;
  transition: transform 140ms ease, color 220ms ease;
}
.dock__btn:hover{ color: rgba(255,255,255,.98); }
.dock__btn:active{ transform: translateY(1px); }
.dock__btn.is-active{ color: rgba(6,58,54,.98); }

/* safe to keep even if icons removed */
.dock__icon{ display:none; }
.dock__label{ font-size: 16px; line-height: 1; }

/* content area under dock (desktop slider) */
.rail{
  position:absolute;
  left:0; right:0;
  top: 102px;
  bottom: 0;
  width:300%;
  display:flex;
  transform: translate3d(0,0,0);
  transition: transform 820ms cubic-bezier(.18,.9,.18,1);

  /* NEW: scroll whole content area under dock (desktop) */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 28px;
}
.rail::-webkit-scrollbar{ width:0; height:0; }


.panel{
  width: calc(100% / 3);
  height:100%;
  padding: 26px 30px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap: 18px;
  text-align:center;

}
.panel::-webkit-scrollbar{ width:0; height:0; }

.panel__head{
  display:grid;
  gap: 10px;
  max-width: 92ch;
  padding-top: 6px;
}

.h{
  margin:0;
  font-size: clamp(26px, 2.6vw, 44px);
  font-weight: 990;
  letter-spacing: -0.8px;
  line-height: 1.08;
}
.sub{
  margin:0;
  color: var(--m);
  font-size: clamp(16.5px, 1.2vw, 18.5px);
  line-height: 1.75;
}
.strong{ font-weight: 990; color: rgba(255,255,255,.96); }

/* ABOUT signal */
.signal{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-bottom: 2px;
}
.signal__dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(11,140,131,.95);
  box-shadow: 0 0 0 7px rgba(11,140,131,.16);
  animation: pulse 2.2s ease-in-out infinite;
}
.signal__dot--2{ animation-delay: .6s; opacity:.88; }
.signal__line{
  height: 2px;
  width: 160px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11,140,131,0), rgba(11,140,131,.95), rgba(11,140,131,0));
  opacity:.7;
  animation: sweep 3.2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); box-shadow: 0 0 0 7px rgba(11,140,131,.16); }
  50%{ transform: scale(1.18); box-shadow: 0 0 0 12px rgba(11,140,131,.10); }
}
@keyframes sweep{
  0%,100%{ transform: translateX(-12px); opacity:.55; }
  50%{ transform: translateX(12px); opacity:.85; }
}

/* === BEFORE / AFTER CONTRAST === */
.contrast{
  width: min(1100px, 100%);
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  margin-top: 12px;
}

.contrast__side{
  border-radius: 26px;
  padding: 22px 22px;
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  position:relative;
  overflow:hidden;
  text-align:left;
}

.contrast__side::before{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), transparent 60%);
  opacity:.26;
  pointer-events:none;
}

.contrast__side--before{
  background: rgba(255,255,255,.045);
  opacity:.92;
}

.contrast__side--after{
  background: rgba(255,255,255,.10);
  box-shadow: 0 30px 120px rgba(0,0,0,.22);
}

.contrast__title{
  font-weight: 990;
  font-size: 14px;
  letter-spacing:.22px;
  opacity:.88;
  margin-bottom: 16px;
}

.contrast__stream{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-bottom: 14px;
}

.noiseLine{
  font-weight: 860;
  font-size: 15px;
  opacity:.62;
  animation: jitter 2.8s infinite ease-in-out;
}
.noiseLine:nth-child(odd){ animation-delay:.35s; }
.noiseLine.muted{ opacity:.42; }

@keyframes jitter{
  0%,100%{ transform: translateX(0); }
  50%{ transform: translateX(2px); }
}

.clarityLine{
  font-weight: 930;
  font-size: 16px;
  opacity:.96;
  transform: translateY(6px);
  animation: rise 680ms cubic-bezier(.2,.9,.2,1) forwards;
}
.clarityLine:nth-child(2){ animation-delay: 80ms; }
.clarityLine:nth-child(3){ animation-delay: 160ms; }
.clarityLine:nth-child(4){ animation-delay: 240ms; }
.clarityLine:nth-child(5){ animation-delay: 320ms; }

.clarityLine.do{ color: #CFF7F3; }
.clarityLine.dont{ color: rgba(255,255,255,.78); }
.clarityLine.strong{
  font-size: 18px;
  font-weight: 990;
  letter-spacing: -0.2px;
}

@keyframes rise{ to{ transform: translateY(0); } }

.contrast__caption{
  color: rgba(255,255,255,.78);
  font-weight: 850;
  font-size: 13.5px;
  line-height: 1.55;
}

.contrast__divider{
  display:flex;
  align-items:center;
  justify-content:center;
}
.contrast__divider span{
  width: 2px;
  height: 210px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.6), transparent);
  opacity:.55;
}

/* small manifesto line */
.manifesto{
  width: min(980px, 100%);
  color: rgba(255,255,255,.84);
  font-weight: 900;
  font-size: 14.5px;
  line-height: 1.6;
  opacity:.95;
  padding-top: 2px;
}
.manifesto__em{
  color: rgba(255,255,255,.98);
  font-weight: 990;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 4px;
}

/* FEATURES */
.nodeWrap{
  width: min(980px, 100%);
  flex: 1;
  display:grid;
  place-items:center;
  margin-top: 6px;
}
.nodeCard{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
  overflow:hidden;
  padding: 18px;
  width: 100%;
  box-shadow: 0 22px 110px rgba(0,0,0,.18);
}
.nodeCard--solo{ max-width: 980px; }
.nodeCard__title{
  font-weight: 990;
  letter-spacing:.2px;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  opacity:.95;
  margin-bottom: 10px;
}
.graph{ width: 100%; height: 260px; display:block; }
.graph--big{ height: 320px; }

.nodeCard__legend{
  display:flex;
  align-items:center;
  gap: 8px;
  margin-top: 10px;
  color: rgba(255,255,255,.72);
  font-weight: 850;
  font-size: 12px;
}
.legendDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(11,140,131,.95);
  box-shadow: 0 0 0 6px rgba(11,140,131,.14);
}

/* graph styling */
.gLine{
  fill:none;
  stroke: rgba(255,255,255,.76);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 540;
  stroke-dashoffset: 540;
  opacity:.88;
}
.gNode{
  fill: rgba(255,255,255,.96);
  opacity: 0;
  transform-origin: center;
  transform: scale(.7);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}
.gNode--core{
  fill: rgba(255,255,255,.98);
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.22));
}
.gPacket{
  fill: rgba(11,140,131,.95);
  opacity: 0;
  filter: drop-shadow(0 10px 18px rgba(11,140,131,.35));
}
.gPacket--2{ fill: rgba(255,255,255,.88); }
.gPacket--3{ fill: rgba(11,140,131,.90); }
.gPacket--4{ fill: rgba(255,255,255,.78); }

.gTag{
  fill: rgba(255,255,255,.10);
  stroke: rgba(255,255,255,.16);
  stroke-width: 1;
  opacity: 0;
  transform: translateY(6px);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.16));
}
.gTxt{
  fill: rgba(255,255,255,.92);
  font-size: 15px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
}
.gLabel{ pointer-events:none; }

/* animations only when Features panel is active */
.panel.is-active .gLine{ animation: draw 980ms cubic-bezier(.2,.9,.2,1) forwards; }
.panel.is-active .gLine:nth-of-type(2){ animation-delay: 140ms; }
.panel.is-active .gLine:nth-of-type(3){ animation-delay: 280ms; }
.panel.is-active .gLine:nth-of-type(4){ animation-delay: 420ms; }

.panel.is-active .gNode{ animation: pop 520ms cubic-bezier(.2,.9,.2,1) forwards; }
.panel.is-active .gNode:nth-of-type(1){ animation-delay: 560ms; }
.panel.is-active .gNode:nth-of-type(2){ animation-delay: 600ms; }
.panel.is-active .gNode:nth-of-type(3){ animation-delay: 640ms; }
.panel.is-active .gNode:nth-of-type(4){ animation-delay: 680ms; }
.panel.is-active .gNode:nth-of-type(5){ animation-delay: 720ms; }

.panel.is-active .gTag,
.panel.is-active .gTxt{ animation: label 520ms cubic-bezier(.2,.9,.2,1) forwards; }
.panel.is-active .gLabel:nth-of-type(1) .gTag,
.panel.is-active .gLabel:nth-of-type(1) .gTxt{ animation-delay: 820ms; }
.panel.is-active .gLabel:nth-of-type(2) .gTag,
.panel.is-active .gLabel:nth-of-type(2) .gTxt{ animation-delay: 880ms; }
.panel.is-active .gLabel:nth-of-type(3) .gTag,
.panel.is-active .gLabel:nth-of-type(3) .gTxt{ animation-delay: 940ms; }
.panel.is-active .gLabel:nth-of-type(4) .gTag,
.panel.is-active .gLabel:nth-of-type(4) .gTxt{ animation-delay: 1000ms; }
.panel.is-active .gLabel:nth-of-type(5) .gTag,
.panel.is-active .gLabel:nth-of-type(5) .gTxt{ animation-delay: 1060ms; }

.panel.is-active .gPacket{ animation: packetOn 520ms ease forwards; animation-delay: 820ms; }
@keyframes draw{ to{ stroke-dashoffset: 0; } }
@keyframes pop{ to{ opacity:1; transform: scale(1); } }
@keyframes label{ to{ opacity:1; transform: translateY(0); } }
@keyframes packetOn{ to{ opacity:.95; } }

/* CONTACT */
.contactGrid{
  width: min(980px, 100%);
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 6px;
}

.cCard{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
  padding: 12px 14px;
  position:relative;
  overflow:hidden;
  text-align:left;
}
.cCard::before{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), transparent 60%);
  opacity:.35;
  pointer-events:none;
}

.cIcon{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 8px;
}

.cTitle{
  font-weight: 990;
  letter-spacing:-0.2px;
  margin: 0;
}

.cBody{
  margin-top: 4px;
  color: rgba(255,255,255,.84);
  font-weight: 820;
  font-size: 13px;
  line-height: 1.45;
}

.contactBar{
  display:flex;
  justify-content:center;
  margin-top: 12px;
  padding-bottom: 14px;
}

/* Optional: if your HTML uses contactBar--inline + contactInline */
.contactBar--inline{
  align-items:center;
  justify-content:center;
}
.contactInline{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight: 900;
}
.contactInline__label{ opacity:.78; font-weight: 950; }
.contactInline__value{ font-weight: 990; }

/* buttons */
.ctaBtn{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.92);
  color: rgba(6,58,54,.98);
  border-radius: 18px;
  padding: 13px 15px;
  font-weight: 990;
  cursor:pointer;
  text-decoration:none;
}
.ctaBtn--ghost{ background: rgba(255,255,255,.08); color: rgba(255,255,255,.90); }
.ctaBtn[disabled]{ opacity:.6; cursor:not-allowed; }

/* Make contact cards a bit smaller on desktop so buttons stay visible */
@media (min-width: 1021px){
  .cCard{ padding: 14px 16px; }
  .cIcon{ margin-bottom: 8px; }
  .cBody{ font-size: 13px; }
}

/* ===== LIVE PREVIEW ===== */
.preview{ width:100%; height:100%; }
.preview__frame{
  width:100%;
  height:100%;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow2);
  position:relative;
  overflow:hidden;
}
.preview__top{
  padding: 18px 18px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.preview__pill{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  padding: 10px 12px;
  font-weight: 950;
  letter-spacing:.18px;
  font-size: 12px;
}
.preview__hint{
  color: rgba(255,255,255,.72);
  font-weight: 900;
  font-size: 12px;
}

.preview__viewport{
  position:absolute;
  left:0; right:0;
  top: 62px;
  bottom: 0;
  padding: 16px 18px 42px;
  overflow:hidden;
}
.preview__rail{
  display:flex;
  flex-direction:column;
  gap: 14px;
  transform: translateY(0);
  will-change: transform;
}

.preview__fadeTop, .preview__fadeBot{
  position:absolute;
  left:0; right:0;
  height: 70px;
  pointer-events:none;
  z-index:2;
}
.preview__fadeTop{
  top: 62px;
  background: linear-gradient(to bottom, rgba(27,139,140,.95), rgba(27,139,140,0));
}
.preview__fadeBot{
  bottom:0;
  background: linear-gradient(to top, rgba(27,139,140,.95), rgba(27,139,140,0));
}

.pDivider{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

/* preview post card */
.pCard{
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  padding: 14px 14px;
  box-shadow: 0 22px 80px rgba(0,0,0,.12);
  position:relative;
  overflow:hidden;
}
.pCard::before{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), transparent 60%);
  opacity:.35;
  pointer-events:none;
}
.pHead{
  display:flex; align-items:center; gap:10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.pAvatar{
  width: 34px; height: 34px;
  border-radius: 14px;
  background: rgba(255,255,255,.22);
}
.pWho{ flex:1; }
.pName{ font-weight: 990; font-size: 13.5px; }
.pMeta{ color: rgba(255,255,255,.62); font-weight: 900; font-size: 12px; margin-top:2px; }
.pMore{ opacity:.85; }

.pTitle{
  margin: 12px 0 10px;
  font-weight: 990;
  letter-spacing: -0.2px;
  font-size: 15px;
}

.pRow{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin-bottom: 10px;
}
.pPill{
  width: 54px;
  padding: 7px 8px;
  border-radius: 999px;
  font-weight: 990;
  font-size: 12px;
  text-align:center;
  border: 1px solid rgba(255,255,255,.14);
}
.pPill--do{ background: rgba(11,140,131,.26); border-color: rgba(11,140,131,.42); }
.pPill--dont{ background: rgba(255,255,255,.10); }
.pTxt{
  color: rgba(255,255,255,.90);
  font-weight: 820;
  font-size: 13.5px;
  line-height: 1.45;
}

.pNeed{ margin-top: 6px; }
.pNeedK{
  color: rgba(255,255,255,.62);
  font-weight: 950;
  font-size: 12px;
  margin-bottom: 8px;
}
.pNeedList{ display:flex; flex-wrap:wrap; gap: 8px; }
.pChip{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  padding: 8px 10px;
  font-weight: 900;
  font-size: 12px;
}

.pMedia{
  margin-top: 12px;
  height: 88px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.10));
  position:relative;
  overflow:hidden;
}
.pMedia--img::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 45%, rgba(255,255,255,.16) 50%, transparent 55%);
  transform: translateX(-40%);
  animation: mediaScan 6.6s ease-in-out infinite;
  opacity:.22;
}
@keyframes mediaScan{
  0%{ transform: translateX(-40%); opacity:.10; }
  45%{ opacity:.22; }
  100%{ transform: translateX(40%); opacity:.10; }
}
.pMedia--vid .play{
  position:absolute;
  inset:auto auto 12px 12px;
  width: 36px; height: 36px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  display:grid; place-items:center;
  font-weight: 990;
}

.pFoot{
  display:flex;
  gap: 10px;
  justify-content:flex-start;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.pTag{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding: 8px 10px;
  font-weight: 920;
  font-size: 12px;
}

/* footer */
.footer{
  color: rgba(255,255,255,.62);
  font-weight: 820;
  font-size: 12.5px;
  text-align:center;
  padding-bottom: 2px;
}

/* ===== RESPONSIVE ===== */

/* Tablet/phone: convert slider into single active panel */
@media (max-width: 1020px){
  body{ overflow:auto !important; }

  .shell{
    height:auto !important;
    min-height:100vh;
    padding: 14px 14px 18px;
  }

  .stage{ grid-template-columns: 1fr; }
  .preview{ display:none; }

  .top{ flex-direction:column; gap: 10px; padding-top: 18px; }
  .wordmark{ align-items:center; text-align:center; }

  .console, .console__frame{ height:auto !important; }
  .console__frame{
    min-height: 720px;
    border-radius: 28px;
  }

  /* kill 300% rail layout */
  .rail{
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    transform: none !important;
    transition: none !important;
    /* IMPORTANT: give content room below the dock */
    margin-top: 92px !important;
  }

  /* show only active panel */
  .panel{
    width: 100% !important;
    height: auto !important;
    display: none;
  }
  .panel.is-active{ display:flex; }

  .contrast{ grid-template-columns: 1fr; gap: 14px; }
  .contrast__divider{ display:none; }
}

/* Small phones */
@media (max-width: 560px){
  .corner{ top:12px; right:12px; }
  .iconLink{ width:46px; height:46px; border-radius: 16px; }
  .iconLink svg{ width:20px; height:20px; }

  .logo{ width: min(120px, 44vw); }

  .dock{
    left: 12px;
    right: 12px;
    top: 12px;
    height: 58px;
    padding: 8px;
    gap: 8px;
    border-radius: 20px;
  }
  .dock__hi{
  top: 8px;
  bottom: 8px;
  left: 0;
  width: calc(100% / 3);
  border-radius: 16px;
}

.dock{
  justify-content: space-between;
}


  .dock__btn{
    padding: 12px 10px;
    border-radius: 16px;
  }
  .dock__label{ font-size: 14px; letter-spacing: .1px; }

  .rail{ margin-top: 74px !important; }

  .panel{
    padding: 18px 16px 20px;
    gap: 14px;
  }
  .h{
    font-size: 26px;
    line-height: 1.15;
  }
  .sub{
    font-size: 15.5px;
    line-height: 1.65;
  }

  .contrast__side{ padding: 16px 16px; border-radius: 22px; }
  .manifesto{ font-size: 13.5px; }

  /* if using inline contact row on mobile, stack it */
  .contactBar--inline{ flex-direction:column; gap: 10px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

.shareShell{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.shareCard{
  width: 100%;
  max-width: 460px;
  border-radius: 30px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px rgba(0,0,0,.22);
}

.shareLogo{
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
}

.shareEyebrow{
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.shareTitle{
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.98);
}

.shareText{
  margin: 0 0 22px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.65;
}

.shareActions{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shareBtn{
  min-height: 50px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 120ms ease, opacity 160ms ease, background 180ms ease;
}

.shareBtn:hover{
  opacity: .96;
}

.shareBtn:active{
  transform: translateY(1px);
}

.shareBtnPrimary{
  background: rgba(255,255,255,.94);
  color: rgba(6,58,54,.98);
}

.shareBtnSecondary{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.94);
}

@media (max-width: 560px){
  .shareShell{
    padding: 16px;
  }

  .shareCard{
    border-radius: 24px;
    padding: 22px 18px;
  }

  .shareLogo{
    width: 82px;
    height: 82px;
  }
}

.shareSpinner{
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.18);
  border-top-color: rgba(255,255,255,.92);
  animation: shareSpin 0.9s linear infinite;
}

@keyframes shareSpin{
  to{
    transform: rotate(360deg);
  }
}

.shareActionsHidden{
  display: none;
}
