/* insights.css — Our Insights page only. Shared structure comes from site.css. */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- hero: sign-up form + tilted "in progress" teaser cards ---- */
.ix-hero {
  position: relative;
  isolation: isolate;
}
.ix-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  top: -6%;
  width: min(40vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(242, 101, 34, 0.18),
    transparent 68%
  );
}
.signup {
  max-width: 580px;
  align-items: center;
}
.signup .signup-consent {
  display: flex;
  flex: 1 1 100%;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.signup .signup-consent input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: var(--orange);
}
.signup-consent:focus-within {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
.signup input {
  flex: 1 1 240px;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--ink-dark);
  border-radius: var(--r-pill);
  background: var(--bg-card);
  color: var(--ink);
  font: 600 1rem var(--font);
}
.signup input::placeholder {
  color: var(--mute);
}
.signup input:focus-visible {
  border-color: var(--orange);
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.signup-note {
  flex-basis: 100%;
  min-height: 1.5em;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.signup-note.is-ok {
  color: var(--success);
  font-weight: 700;
}
.signup-note.is-err {
  color: var(--error);
  font-weight: 700;
}
@keyframes ix-drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(22px, -18px);
  }
}

/* ---- marquee ---- */
.ix-marquee {
  overflow: hidden;
  padding-block: 18px;
  background: var(--orange);
  color: var(--navy-deep);
  border-block: 2px solid var(--navy-deep);
}
.ix-marquee__track {
  display: flex;
  width: max-content;
  animation: ix-marquee 40s linear infinite;
}
.ix-marquee span {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
  font: 800 clamp(1.5rem, 3.5vw, 2.6rem)/1 var(--font-head);
  letter-spacing: -0.02em;
}
.ix-marquee span::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy-deep);
}
@keyframes ix-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---- what to expect ---- */
.ix-expect {
  padding-block: var(--section-pad);
  color: #fff;
  background:
    radial-gradient(60% 80% at 100% 0%, var(--navy-light), transparent),
    linear-gradient(160deg, var(--navy-deep), var(--navy-mid));
}
.ix-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.ix-head .badge {
  margin-bottom: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}
.ix-head h2 {
  margin-bottom: 14px;
  color: #fff;
}
.ix-head p:last-child {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.86);
}
.ix-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.ix-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 380px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-2xl);
  transition:
    translate 0.35s var(--ease),
    box-shadow 0.35s;
}
.ix-card:hover {
  translate: 0 -8px;
  box-shadow: var(--shadow-xl);
}
.ix-card > img {
  transition: transform 1s var(--ease);
}
.ix-card:hover > img {
  transform: scale(1.06);
}
.ix-card h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}
.ix-card p {
  color: rgba(255, 255, 255, 0.9);
}
.ix-num {
  position: absolute;
  top: 14px;
  right: 22px;
  font: 800 clamp(3rem, 7vw, 5.5rem)/1 var(--font-head);
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6);
}

/* ---- CTA ---- */
.cta-card h2 {
  max-width: 14em;
}
.checks {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.checks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-deep);
  font-weight: 800;
}

@media (max-width: 899px) {
  .assemble {
    height: 420px;
  }
}
@media (max-width: 480px) {
  .signup .btn {
    width: 100%;
  }
}

/* ---- hero illustration: pages fly in and assemble into a report cover (text-free, looping) ---- */
.assemble {
  position: relative;
  height: clamp(400px, 42vw, 540px);
}
.assemble::before {
  content: "";
  position: absolute;
  left: 22%;
  top: 14%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  animation: ix-drift 9s ease-in-out infinite alternate;
}
.as-bar {
  position: absolute;
  right: -2%;
  bottom: -4%;
  width: 38%;
  aspect-ratio: 1;
  background: var(--navy);
  opacity: 0.12;
  clip-path: polygon(17.9% 0, 0 21.2%, 54.3% 84.3%, 100% 100%);
}
.sheet {
  --fx: 0%;
  --fy: 0%;
  --fr: 0deg;
  --tx: 0px;
  --ty: 0px;
  --tr: 0deg;
  position: absolute;
  z-index: 1;
  left: 24%;
  top: 9%;
  width: 52%;
  aspect-ratio: 3/4;
  padding: 8%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-xl);
  transform: translate(var(--tx), var(--ty)) rotate(var(--tr));
  animation: sheet-in 9s var(--ease) var(--d, 0s) infinite;
}
.sheet i {
  display: block;
  height: 7px;
  margin-top: 9px;
  border-radius: 4px;
  background: var(--line);
}
.sheet i:nth-child(2) {
  width: 86%;
}
.sheet i:nth-child(3) {
  width: 64%;
}
.sheet i:nth-child(4) {
  width: 78%;
}
.sheet--1 {
  --fx: -170%;
  --fy: -60%;
  --fr: -40deg;
  --tx: -62px;
  --ty: 26px;
  --tr: -9deg;
  --d: 0s;
}
.sheet--2 {
  --fx: 170%;
  --fy: -40%;
  --fr: 40deg;
  --tx: 58px;
  --ty: 14px;
  --tr: 7deg;
  --d: 0.5s;
}
.sheet--3 {
  --fx: -150%;
  --fy: 90%;
  --fr: -25deg;
  --tx: -14px;
  --ty: 6px;
  --tr: -2deg;
  --d: 1s;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 46%;
  margin-bottom: 12px;
}
.bars b {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--navy);
  transform-origin: bottom;
  animation: bar-grow 9s var(--ease) 1.2s infinite;
}
.bars b:nth-child(odd) {
  background: var(--orange);
}
.bars b:nth-child(1) {
  height: 40%;
}
.bars b:nth-child(2) {
  height: 65%;
}
.bars b:nth-child(3) {
  height: 50%;
}
.bars b:nth-child(4) {
  height: 85%;
}
.bars b:nth-child(5) {
  height: 100%;
}
.sheet--cover {
  --fy: -140%;
  --fr: 12deg;
  --ty: -8px;
  --tr: 1deg;
  --d: 1.6s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-color: transparent;
  background: var(--navy-deep);
}
.sheet--cover i {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.35);
}
.cv-dot {
  position: absolute;
  right: 10%;
  top: 9%;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
}
.cv-bar {
  position: absolute;
  left: 8%;
  top: 34%;
  width: 46%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.9);
  clip-path: polygon(17.9% 0, 0 21.2%, 54.3% 84.3%, 100% 100%);
}
.spark {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  animation: spark-pop 9s ease-out infinite;
}
.spark--1 {
  left: 18%;
  top: 14%;
  animation-delay: 0.1s;
}
.spark--2 {
  right: 12%;
  top: 30%;
  animation-delay: 0.25s;
  background: var(--navy);
}
.spark--3 {
  left: 30%;
  bottom: 6%;
  animation-delay: 0.4s;
}
@keyframes sheet-in {
  0% {
    opacity: 0;
    transform: translate(var(--fx), var(--fy)) rotate(var(--fr));
  }
  14% {
    opacity: 1;
  }
  32%,
  84% {
    opacity: 1;
    transform: translate(var(--tx), var(--ty)) rotate(var(--tr));
  }
  94%,
  100% {
    opacity: 0;
    transform: translate(var(--tx), calc(var(--ty) - 24px)) rotate(var(--tr));
  }
}
@keyframes bar-grow {
  0%,
  30% {
    transform: scaleY(0);
  }
  46%,
  100% {
    transform: scaleY(1);
  }
}
@keyframes spark-pop {
  0%,
  40% {
    opacity: 0;
    transform: scale(0);
  }
  46% {
    opacity: 1;
    transform: scale(1.7);
  }
  60%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* ---- LinkedIn feed ("Latest from Konsalta") ---- */
.ix-feed {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-pad);
  color: #f4f7fb;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 101, 34, 0.16), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(22, 72, 126, 0.45), transparent 42%),
    linear-gradient(160deg, #061a32 0%, #0b2d53 56%, #103866 100%);
  border-top: 3px solid var(--orange);
}
.ix-feed::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(212, 228, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 228, 247, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.ix-feed > .wrap {
  position: relative;
  z-index: 1;
}
.ix-feed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.ix-feed-head .badge {
  margin-bottom: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 228, 247, 0.26);
}
.ix-feed-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  color: #fff;
}
.linkedin-follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1.5px solid rgba(212, 228, 247, 0.34);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.linkedin-follow svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.linkedin-follow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #061a32;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 101, 34, 0.28);
}
.linkedin-feed {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.linkedin-post {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(212, 228, 247, 0.16);
  border-radius: var(--r-xl);
  background: linear-gradient(
    170deg,
    rgba(16, 56, 102, 0.72) 0%,
    rgba(6, 26, 50, 0.92) 100%
  );
  color: rgba(232, 237, 242, 0.9);
  box-shadow: 0 18px 44px rgba(3, 12, 24, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    translate 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s ease;
}
.linkedin-post:hover {
  translate: 0 -6px;
  border-color: rgba(242, 101, 34, 0.65);
  box-shadow: 0 24px 56px rgba(3, 12, 24, 0.42);
}
.linkedin-post-head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 20px 22px 14px;
}
.linkedin-avatar {
  width: 48px;
  height: 48px;
  padding: 6px;
  object-fit: contain;
  border: 1px solid rgba(212, 228, 247, 0.28);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(3, 12, 24, 0.24);
}
.linkedin-author-meta strong,
.linkedin-author-meta > span {
  display: block;
}
.linkedin-author-meta strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.linkedin-author-meta > span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(212, 228, 247, 0.74);
}
.linkedin-post-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.linkedin-public {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.linkedin-public svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.linkedin-more {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 228, 247, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(212, 228, 247, 0.85);
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.linkedin-more:hover {
  background: rgba(242, 101, 34, 0.16);
  border-color: rgba(242, 101, 34, 0.55);
  color: #fff;
}
.linkedin-post-copy {
  flex: 1 1 auto;
  padding: 2px 22px 18px;
  font-size: 0.96875rem;
  line-height: 1.65;
  white-space: pre-line;
  color: rgba(226, 234, 244, 0.88);
}
.linkedin-post-copy strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.015em;
}
.linkedin-post-media {
  position: relative;
  display: block;
  margin: 0 20px 18px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(212, 228, 247, 0.16);
  border-radius: var(--r-md);
  background: #061a32;
}
.linkedin-post-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 26, 50, 0.35));
}
.linkedin-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.9s var(--ease);
}
.linkedin-post:hover .linkedin-post-media img {
  transform: scale(1.04);
}
.linkedin-post-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(212, 228, 247, 0.12);
  background: rgba(6, 26, 50, 0.45);
}
.linkedin-post-actions--single {
  grid-template-columns: 1fr;
}
.linkedin-feed-status {
  grid-column: 1 / -1;
  color: rgba(226, 234, 244, 0.88);
}
.linkedin-post-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-right: 1px solid rgba(212, 228, 247, 0.08);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(212, 228, 247, 0.84);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.linkedin-post-actions a:last-child {
  border-right: 0;
}
.linkedin-post-actions svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.linkedin-post-actions a:hover {
  background: rgba(242, 101, 34, 0.16);
  color: #fff;
}
@media (max-width: 899px) {
  .linkedin-feed {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .linkedin-follow {
    width: 100%;
    justify-content: center;
  }
  .linkedin-post-head {
    padding: 18px 18px 12px;
  }
  .linkedin-post-copy {
    padding: 2px 18px 16px;
  }
  .linkedin-post-media {
    margin: 0 16px 16px;
  }
}
