/* Final visual polish: softer periwinkle balance, refined footer, editorial blog/publication layouts. */
:root {
  --final-periwinkle: #8f96ff;
  --final-periwinkle-dark: #5159c9;
  --final-periwinkle-soft: #f4f5ff;
  --final-ink: #25201d;
  --final-muted: #6f6863;
  --final-line: rgba(38, 31, 27, .10);
  --footer-bg: #fff7ed;
  --footer-panel: #ffffff;
  --footer-text: #2f2722;
  --footer-muted: #766b63;
}

body.portfolio-page .footer,
.footer.portfolio-footer {
  background: var(--footer-bg) !important;
  background-image: linear-gradient(180deg, #fffaf4 0%, #fff4e9 100%) !important;
  color: var(--footer-text) !important;
  border-top: 0 !important;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.25rem 1.4rem !important;
}
.footer.portfolio-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(199,90,26,.12), rgba(199,90,26,.72), rgba(199,90,26,.12)) !important;
  opacity: 1 !important;
}
.footer.portfolio-footer::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -180px;
  top: -210px;
  background: rgba(199,90,26,.075) !important;
  filter: blur(4px);
  opacity: .72 !important;
}
.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(280px, 1.5fr) auto;
  gap: 1.5rem;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}
.footer__brand {
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(199,90,26,.12) !important;
  box-shadow: 0 18px 45px rgba(38,31,27,.055) !important;
  border-radius: 22px;
  padding: 1.2rem;
}
.footer__brand img {
  width: min(190px, 78vw);
  height: auto;
  display: block;
  margin-bottom: .9rem;
  filter: none !important;
}
.footer__brand p,
.footer p,
.footer__copy {
  color: var(--footer-muted) !important;
  line-height: 1.7;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.footer__links a,
.footer__quicklinks a,
.footer__links a[data-open-cookie-preferences] {
  background: rgba(255,255,255,.82) !important;
  border: 1px solid rgba(199,90,26,.14) !important;
  color: var(--footer-text) !important;
  border-radius: 999px;
  padding: .55rem .8rem;
  text-decoration: none !important;
  font-weight: 700;
  font-size: .85rem;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.footer__links a:hover,
.footer__quicklinks a:hover,
.footer__links a[data-open-cookie-preferences]:hover {
  color: var(--final-periwinkle-dark) !important;
  background: #fff !important;
  border-color: rgba(199,90,26,.28) !important;
  box-shadow: 0 12px 28px rgba(199,90,26,.10) !important;
  transform: translateY(-2px);
}
.footer__socials {
  display: flex;
  gap: .65rem;
  justify-content: flex-end;
}
.footer__socials a,
.footer__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,.84) !important;
  border: 1px solid rgba(199,90,26,.16) !important;
  color: var(--final-periwinkle-dark) !important;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(38,31,27,.055) !important;
}
.footer__socials a:hover,
.footer__icon:hover {
  color: #fff !important;
  background: var(--final-periwinkle) !important;
  border-color: rgba(199,90,26,.35) !important;
}
.footer__copy {
  position: relative;
  z-index: 1;
  margin: 1.5rem auto 0 !important;
  max-width: 1320px;
  padding-top: 1rem;
  border-top: 1px solid rgba(199,90,26,.16);
}

.editorial-page-hero {
  padding-bottom: 1.5rem;
}
.editorial-page-hero.page-hero {
  background: linear-gradient(135deg, #f7f8ff 0%, #fff 72%) !important;
  color: var(--final-ink) !important;
  border: 1px solid rgba(199,90,26,.10);
  box-shadow: 0 18px 48px rgba(38,31,27,.06);
}
.editorial-page-hero.page-hero h1,
.editorial-page-hero.page-hero p {
  color: var(--final-ink) !important;
}
.editorial-page-hero .page-hero__eyebrow {
  background: rgba(199,90,26,.10) !important;
  color: var(--final-periwinkle-dark) !important;
  border-color: rgba(199,90,26,.14) !important;
}
.editorial-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
  margin-bottom: 1.8rem;
}
.editorial-overview__card {
  padding: 1.25rem;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(38,31,27,.055) !important;
}
.editorial-overview__card span {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 34px;
  border-radius: 999px;
  background: var(--final-periwinkle-soft);
  color: var(--final-periwinkle-dark);
  font-weight: 900;
  font-size: .8rem;
  margin-bottom: .85rem;
}
.editorial-overview__card h3 {
  color: var(--final-ink);
  font-size: 1.05rem;
  margin-bottom: .45rem;
}
.editorial-overview__card p {
  color: var(--final-muted);
  line-height: 1.65;
  margin: 0;
}
.editorial-filter {
  justify-content: flex-start !important;
  margin-bottom: 2rem;
}

.editorial-feature,
.publication-feature {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  background: #fff !important;
}
.editorial-feature__image,
.publication-feature__cover {
  min-height: 360px;
  background: #f8f3ef;
  overflow: hidden;
}
.editorial-feature__image img,
.publication-feature__cover img,
.editorial-card__media img,
.refined-publication-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.editorial-feature:hover .editorial-feature__image img,
.publication-feature:hover .publication-feature__cover img,
.editorial-card:hover .editorial-card__media img,
.refined-publication-card:hover .refined-publication-card__cover img {
  transform: scale(1.035);
}
.editorial-feature__body,
.publication-feature__body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editorial-feature__body h3,
.publication-feature__body h3 {
  color: var(--final-ink);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
  margin: .8rem 0 1rem;
}
.editorial-feature__body p,
.publication-feature__body p {
  color: var(--final-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.publication-feature__body small,
.refined-publication-card small {
  color: var(--final-muted);
  display: block;
  margin-top: .4rem;
}
.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0;
}
.editorial-meta span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(199,90,26,.13);
  background: #f7f8ff;
  color: var(--final-periwinkle-dark);
  border-radius: 999px;
  padding: .45rem .7rem;
  font-weight: 800;
  font-size: .84rem;
}
.editorial-actions {
  margin-top: .8rem;
}
.editorial-grid,
.refined-publication-grid {
  align-items: stretch;
}
.editorial-card,
.refined-publication-card {
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--final-line) !important;
  box-shadow: 0 13px 36px rgba(38,31,27,.06) !important;
}
.editorial-card::after,
.refined-publication-card::after {
  display: none !important;
}
.editorial-card__media,
.refined-publication-card__cover {
  display: block;
  height: 210px;
  background: #f7f1ed;
  overflow: hidden;
}
.editorial-card__body,
.refined-publication-card__body {
  padding: 1.25rem;
}
.editorial-card__topline {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  margin-bottom: .9rem;
}
.editorial-card__topline small {
  color: var(--final-muted);
  font-weight: 700;
  white-space: nowrap;
}
.editorial-card h3,
.refined-publication-card h3 {
  font-size: 1.12rem;
  line-height: 1.3;
  margin: .2rem 0 .65rem;
}
.editorial-card h3 a,
.refined-publication-card h3 a {
  color: var(--final-ink) !important;
  text-decoration: none !important;
}
.editorial-card h3 a:hover,
.refined-publication-card h3 a:hover {
  color: var(--final-periwinkle-dark) !important;
}
.editorial-card p,
.refined-publication-card p {
  color: var(--final-muted) !important;
  line-height: 1.65;
  margin-bottom: .9rem;
}
.card-engagement-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .85rem 0 1rem;
}
.card-engagement-summary span {
  background: #faf7f5 !important;
  border: 1px solid rgba(38,31,27,.08);
  color: var(--final-muted) !important;
  border-radius: 999px;
  padding: .32rem .58rem;
  font-weight: 700;
  font-size: .78rem;
}
.card-actions,
.publication-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}
.blog__read-more,
.muted-link {
  background: transparent !important;
  color: var(--final-periwinkle-dark) !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}
.muted-link {
  color: var(--final-muted) !important;
}
.editorial-empty {
  padding: 1.5rem;
}

.refined-article-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.4rem;
  align-items: center;
  padding-top: 8rem !important;
}
.refined-article-hero__content {
  background: linear-gradient(135deg, #f7f8ff, #fff) !important;
  border: 1px solid rgba(199,90,26,.12);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 18px 48px rgba(38,31,27,.06);
}
.refined-article-hero h1 {
  color: var(--final-ink) !important;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
}
.refined-article-hero p {
  color: var(--final-muted) !important;
  line-height: 1.7;
}
.refined-article-hero__image {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 28px;
}
.refined-article-hero__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
}
.editorial-meta--light span {
  background: #fff !important;
}
.refined-article-body {
  margin-top: 1.5rem;
  color: var(--final-ink);
  box-shadow: 0 14px 38px rgba(38,31,27,.06) !important;
}
.refined-article-body h2,
.refined-article-body h3,
.refined-article-body h4 {
  color: var(--final-ink);
  margin-top: 1.4rem;
}
.refined-source-callout {
  margin-top: 2rem;
  border-radius: 20px;
  padding: 1.2rem;
  background: #f7f8ff !important;
  border: 1px solid rgba(199,90,26,.14) !important;
}
.refined-publication-detail {
  grid-template-columns: .85fr 1.15fr;
  align-items: stretch;
}
.refined-publication-detail .publication-detail__cover,
.refined-publication-detail .publication-detail__content {
  box-shadow: 0 16px 44px rgba(38,31,27,.06) !important;
}
.publication-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.2rem 0;
}
.publication-detail__meta span {
  border-radius: 999px;
  border: 1px solid rgba(38,31,27,.08);
  background: #faf7f5;
  padding: .45rem .7rem;
  color: var(--final-muted);
  font-weight: 700;
  font-size: .84rem;
}

body.portfolio-page .button--primary,
body.portfolio-page .contact__button,
body.portfolio-page .join-button,
body.portfolio-page .subscribe__button {
  background: var(--final-periwinkle) !important;
  border-color: var(--final-periwinkle) !important;
  box-shadow: 0 10px 24px rgba(199,90,26,.16) !important;
}
body.portfolio-page .button--ghost {
  color: var(--final-periwinkle-dark) !important;
  border-color: rgba(199,90,26,.18) !important;
  background: #fff !important;
}

@media (max-width: 1024px) {
  .footer__inner,
  .editorial-feature,
  .publication-feature,
  .refined-article-hero,
  .refined-publication-detail {
    grid-template-columns: 1fr;
  }
  .footer__socials { justify-content: flex-start; }
  .editorial-overview { grid-template-columns: 1fr 1fr; }
  .editorial-feature__image,
  .publication-feature__cover { min-height: 280px; }
}
@media (max-width: 700px) {
  .editorial-overview { grid-template-columns: 1fr; }
  .editorial-card__topline { align-items: flex-start; flex-direction: column; }
  .refined-article-hero { padding-top: 6.5rem !important; }
  .refined-article-hero__image img { height: 280px; }
  .footer__links { gap: .5rem; }
  .footer__links a { font-size: .78rem; padding: .48rem .65rem; }
}

/* Refined development timeline */
.timeline-experience {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background:
    radial-gradient(circle at 18% 8%, rgba(199,90,26,.08), transparent 28%),
    linear-gradient(180deg, #fff, #fbfbff 48%, #fff);
}
.timeline-experience::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto -10rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(199,90,26,.045);
  pointer-events: none;
}
.timeline-experience__head {
  position: relative;
  text-align: center;
  margin-bottom: 1rem;
}
.timeline-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  color: var(--final-periwinkle-dark, #5159c9);
  background: rgba(199,90,26,.08);
  border: 1px solid rgba(199,90,26,.12);
  border-radius: 999px;
  padding: .45rem .85rem;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .03em;
  margin-bottom: .85rem;
}
.timeline-roadmap {
  position: relative;
  display: grid;
  gap: 1.35rem;
  max-width: 1120px !important;
  margin-top: 2.4rem;
}
.timeline-roadmap::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(199,90,26,.05), rgba(199,90,26,.34), rgba(199,90,26,.05));
}
.timeline-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr);
  align-items: center;
  min-height: 170px;
}
.timeline-stage__marker {
  grid-column: 2;
  justify-self: center;
  width: 4.25rem;
  height: 4.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(199,90,26,.18);
  box-shadow: 0 16px 34px rgba(38,31,27,.08);
  color: var(--final-periwinkle-dark, #5159c9);
  z-index: 2;
}
.timeline-stage__marker span {
  position: absolute;
  transform: translateY(-1.75rem);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--final-periwinkle, #8f96ff);
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(199,90,26,.18);
  font-weight: 900;
  font-size: .78rem;
}
.timeline-stage__marker i {
  font-size: 1.72rem;
}
.timeline-stage__card {
  position: relative;
  padding: 1.45rem;
  border-radius: 24px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(38,31,27,.07) !important;
  box-shadow: 0 18px 46px rgba(38,31,27,.055) !important;
}
.timeline-stage--left .timeline-stage__card {
  grid-column: 1;
  margin-right: 1rem;
}
.timeline-stage--right .timeline-stage__card {
  grid-column: 3;
  margin-left: 1rem;
}
.timeline-stage__card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  background: #fff;
  border-top: 1px solid rgba(38,31,27,.07);
  border-right: 1px solid rgba(38,31,27,.07);
}
.timeline-stage--left .timeline-stage__card::after {
  right: -.52rem;
  transform: translateY(-50%) rotate(45deg);
}
.timeline-stage--right .timeline-stage__card::after {
  left: -.52rem;
  transform: translateY(-50%) rotate(225deg);
}
.timeline-stage__meta {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  align-items: center;
  margin-bottom: .9rem;
}
.timeline-stage__meta span,
.timeline-stage__meta strong {
  display: inline-flex;
  border-radius: 999px;
  padding: .38rem .66rem;
  font-size: .76rem;
  font-weight: 850;
}
.timeline-stage__meta span {
  background: rgba(199,90,26,.08);
  color: var(--final-periwinkle-dark, #5159c9);
}
.timeline-stage__meta strong {
  background: #faf7f5;
  color: var(--final-muted, #625852);
  border: 1px solid rgba(38,31,27,.06);
}
.timeline-stage__card h3 {
  color: var(--final-ink, #241f1b) !important;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  margin: .2rem 0 .65rem;
}
.timeline-stage__card p {
  color: var(--final-muted, #625852) !important;
  line-height: 1.72;
  margin-bottom: 1rem;
}
.timeline-stage__items {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.timeline-stage__items span {
  background: #fff7f1;
  border: 1px solid rgba(199,90,26,.12);
  border-radius: 999px;
  color: var(--final-periwinkle-dark, #5159c9);
  padding: .42rem .68rem;
  font-weight: 800;
  font-size: .78rem;
}
.timeline-stage__card:hover {
  transform: translateY(-5px);
  border-color: rgba(199,90,26,.18) !important;
  box-shadow: 0 24px 60px rgba(38,31,27,.08) !important;
}
.timeline-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px !important;
  margin-top: 2rem;
}
.timeline-assurance article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .15rem .75rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(38,31,27,.07);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(38,31,27,.045);
}
.timeline-assurance i {
  grid-row: span 2;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(199,90,26,.09);
  color: var(--final-periwinkle-dark, #5159c9);
  font-size: 1.25rem;
}
.timeline-assurance span {
  color: var(--final-ink, #241f1b);
  font-weight: 900;
}
.timeline-assurance p {
  margin: 0;
  color: var(--final-muted, #625852);
  line-height: 1.45;
  font-size: .9rem;
}
@media (max-width: 900px) {
  .timeline-roadmap::before { left: 2.15rem; }
  .timeline-stage {
    grid-template-columns: 4.3rem minmax(0, 1fr);
    min-height: auto;
  }
  .timeline-stage__marker {
    grid-column: 1;
    align-self: start;
    margin-top: .25rem;
  }
  .timeline-stage--left .timeline-stage__card,
  .timeline-stage--right .timeline-stage__card {
    grid-column: 2;
    margin: 0;
  }
  .timeline-stage--left .timeline-stage__card::after,
  .timeline-stage--right .timeline-stage__card::after {
    left: -.52rem;
    right: auto;
    transform: translateY(-50%) rotate(225deg);
  }
  .timeline-assurance { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .timeline-experience { padding-top: 3rem; }
  .timeline-stage { grid-template-columns: 1fr; gap: .8rem; }
  .timeline-roadmap::before { display: none; }
  .timeline-stage__marker { grid-column: 1; justify-self: start; margin-left: .2rem; }
  .timeline-stage--left .timeline-stage__card,
  .timeline-stage--right .timeline-stage__card { grid-column: 1; }
  .timeline-stage__card::after { display: none; }
  .timeline-stage__meta { align-items: flex-start; flex-direction: column; }
}

/* Premium development timeline redesign */
.timeline-experience {
  background: linear-gradient(180deg, #fff 0%, #fff8f2 52%, #fff 100%) !important;
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
  overflow: hidden;
}
.timeline-experience::before,
.timeline-roadmap::before,
.timeline-stage__card::after {
  display: none !important;
}
.timeline-shell {
  position: relative;
  max-width: 1280px !important;
}
.timeline-shell::before {
  content: "";
  position: absolute;
  right: -6rem;
  top: -3rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(199, 90, 26, .055);
  pointer-events: none;
}
.timeline-intro-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .9fr);
  gap: 1.25rem;
  align-items: stretch;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(36,31,27,.075);
  border-radius: 30px;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  box-shadow: 0 22px 65px rgba(36,31,27,.065);
}
.timeline-intro-copy {
  text-align: left;
}
.timeline-intro-copy .section-title {
  text-align: left !important;
  margin-bottom: .7rem;
}
.timeline-intro-copy .section-title::after {
  margin-left: 0 !important;
  margin-right: auto !important;
}
.timeline-intro-copy .section-kicker {
  text-align: left !important;
  margin: 0 !important;
  max-width: 760px !important;
}
.timeline-eyebrow {
  background: #f4f5ff !important;
  color: #8c3513 !important;
  border-color: rgba(199,90,26,.18) !important;
}
.timeline-intro-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
}
.timeline-intro-metrics article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(36,31,27,.075);
  border-radius: 18px;
  padding: .95rem 1rem;
}
.timeline-intro-metrics strong {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #8f96ff;
  color: #fff;
  font-size: .85rem;
  letter-spacing: .03em;
  box-shadow: 0 12px 22px rgba(199,90,26,.18);
}
.timeline-intro-metrics span {
  color: #342720;
  font-weight: 850;
  line-height: 1.35;
}
.timeline-pathway {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding: 5.3rem 1.15rem 2rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,250,247,.96)),
    repeating-linear-gradient(90deg, rgba(199,90,26,.04) 0 1px, transparent 1px 90px);
  border: 1px solid rgba(36,31,27,.075);
  box-shadow: 0 26px 80px rgba(36,31,27,.07);
}
.timeline-pathway__rail {
  position: absolute;
  top: 3.8rem;
  left: 7%;
  right: 7%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fde3cf, #8f96ff 16%, #8f96ff 84%, #fde3cf);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), 0 12px 24px rgba(199,90,26,.13);
}
.timeline-pathway__rail::before,
.timeline-pathway__rail::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #8f96ff;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(199,90,26,.18);
}
.timeline-pathway__rail::before { left: -.35rem; }
.timeline-pathway__rail::after { right: -.35rem; }
.timeline-step-card {
  position: relative;
  min-height: 100%;
  padding: 1.25rem 1.15rem 1.15rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(36,31,27,.08);
  box-shadow: 0 16px 42px rgba(36,31,27,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  isolation: isolate;
}
.timeline-step-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2.9rem;
  width: 2px;
  height: 2.9rem;
  background: linear-gradient(180deg, rgba(199,90,26,.7), rgba(199,90,26,.05));
  transform: translateX(-50%);
}
.timeline-step-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3.28rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #8f96ff;
  transform: translateX(-50%);
  box-shadow: 0 10px 22px rgba(199,90,26,.2);
}
.timeline-step-card--1 { margin-top: 0; }
.timeline-step-card--2 { margin-top: 1.65rem; }
.timeline-step-card--3 { margin-top: .35rem; }
.timeline-step-card--4 { margin-top: 1.85rem; }
.timeline-step-card--5 { margin-top: .15rem; }
.timeline-step-card:hover {
  transform: translateY(-7px);
  border-color: rgba(199,90,26,.22);
  box-shadow: 0 28px 70px rgba(36,31,27,.09);
}
.timeline-step-card__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.timeline-step-card__number {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: #8f96ff;
  color: #fff;
  font-weight: 950;
  letter-spacing: .03em;
  box-shadow: 0 14px 28px rgba(199,90,26,.18);
}
.timeline-step-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 16px;
  background: #f4f5ff;
  color: #8c3513;
  border: 1px solid rgba(199,90,26,.14);
  font-size: 1.35rem;
}
.timeline-step-card__phase {
  display: inline-flex;
  margin-bottom: .65rem;
  color: #8c3513;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .72rem;
}
.timeline-step-card h3 {
  margin: 0 0 .65rem;
  color: #241f1b !important;
  font-size: 1.15rem;
  line-height: 1.25;
}
.timeline-step-card p {
  margin: 0 0 1rem;
  color: #625852 !important;
  line-height: 1.62;
  font-size: .95rem;
}
.timeline-step-card__deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
}
.timeline-step-card__deliverables span {
  display: inline-flex;
  border-radius: 999px;
  background: #f7f8ff;
  border: 1px solid rgba(199,90,26,.12);
  color: #8c3513;
  padding: .36rem .58rem;
  font-size: .72rem;
  font-weight: 850;
}
.timeline-step-card__outcome {
  margin-top: auto;
  border-top: 1px solid rgba(36,31,27,.07);
  padding-top: .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.timeline-step-card__outcome small {
  color: #857a73;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .68rem;
}
.timeline-step-card__outcome strong {
  color: #2d211b;
  font-size: .86rem;
  text-align: right;
}
.timeline-assurance--premium {
  margin-top: 1.4rem !important;
}
.timeline-assurance--premium article {
  background: rgba(255,255,255,.95) !important;
  border-color: rgba(36,31,27,.075) !important;
}

@media (max-width: 1180px) {
  .timeline-pathway { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 2rem; }
  .timeline-pathway__rail,
  .timeline-step-card::before,
  .timeline-step-card::after { display: none; }
  .timeline-step-card { margin-top: 0 !important; }
}
@media (max-width: 820px) {
  .timeline-intro-panel { grid-template-columns: 1fr; }
  .timeline-intro-copy,
  .timeline-intro-copy .section-title,
  .timeline-intro-copy .section-kicker { text-align: center !important; }
  .timeline-intro-copy .section-title::after { margin-left: auto !important; }
  .timeline-pathway { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .timeline-experience { padding-top: 3.25rem !important; }
  .timeline-intro-panel { border-radius: 24px; }
  .timeline-pathway { grid-template-columns: 1fr; padding: 1rem; border-radius: 24px; }
  .timeline-step-card { border-radius: 20px; }
}

/* Client display refresh: ensures newly added clients appear clearly on the public homepage. */
.clients-grid {
  align-items: stretch;
}
.client-card--dynamic {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 1.45rem !important;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,247,.92)) !important;
  border: 1px solid rgba(36,31,27,.08) !important;
}
.client-card--dynamic::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(199,90,26,.85), rgba(232,139,80,.35));
}
.client-card__mark {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(36,31,27,.08);
  box-shadow: 0 16px 35px rgba(36,31,27,.08);
  margin-bottom: 1rem;
  overflow: hidden;
}
.client-card__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .6rem;
}
.client-card__mark span {
  background: transparent !important;
  color: #8f96ff !important;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.client-card__sector {
  display: inline-flex !important;
  width: fit-content;
  background: #f4f5ff !important;
  color: #8f3a15 !important;
  border: 1px solid rgba(199,90,26,.14);
  border-radius: 999px;
  padding: .32rem .65rem;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .055em;
  margin-bottom: .7rem;
}
.client-card--dynamic h3 {
  margin: 0 0 .5rem !important;
  color: #241f1b !important;
  font-size: 1.1rem !important;
}
.client-card--dynamic p {
  color: #665b53 !important;
  line-height: 1.62 !important;
  margin: 0 !important;
}
.client-card__link {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: #a64616 !important;
  font-weight: 850;
  text-decoration: none !important;
}
.client-card__link:hover {
  color: #6f2b0f !important;
}

/* Final hero profile and cookie interaction fixes */
.home .home__img.dynamic-profile-frame {
  position: absolute !important;
  right: clamp(1rem, 5vw, 5.2rem) !important;
  bottom: clamp(1.2rem, 6vh, 4.4rem) !important;
  width: clamp(285px, 32vw, 430px) !important;
  height: clamp(285px, 32vw, 430px) !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  padding: clamp(12px, 1.9vw, 24px) !important;
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 42%, #ffffff 0 43%, rgba(255,244,236,.96) 44% 66%, rgba(199,90,26,.14) 67% 100%) !important;
  border: 1px solid rgba(199,90,26,.16) !important;
  box-shadow: 0 30px 80px rgba(55,38,28,.14), inset 0 0 0 12px rgba(255,255,255,.72) !important;
  filter: none !important;
  animation: heroFloat 6s ease-in-out infinite !important;
}
.home .home__img.dynamic-profile-frame::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,248,243,.72)) !important;
  border: 1px solid rgba(199,90,26,.10);
  z-index: 0;
}
.home .home__img.dynamic-profile-frame::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 42%;
  border-radius: 999px;
  right: 6%;
  top: 8%;
  background: rgba(199,90,26,.12);
  filter: blur(18px);
  z-index: 0;
}
.home .home__img.dynamic-profile-frame img {
  width: 88% !important;
  height: 88% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  margin: 0 auto !important;
  transform: translateY(4px) !important;
  filter: drop-shadow(0 22px 28px rgba(48,32,22,.18)) !important;
}
.cookie-consent {
  z-index: 22000 !important;
  pointer-events: auto !important;
}
.cookie-panel {
  z-index: 23000 !important;
}
.cookie-consent__card,
.cookie-panel__dialog,
.cookie-btn,
.cookie-panel__close,
.cookie-option {
  pointer-events: auto !important;
}
.cookie-btn {
  position: relative;
  z-index: 2;
  user-select: none;
  touch-action: manipulation;
}
@media screen and (max-width: 992px) {
  .home .home__img.dynamic-profile-frame {
    right: -2.5rem !important;
    width: min(44vw, 360px) !important;
    height: min(44vw, 360px) !important;
    opacity: .92 !important;
  }
}
@media screen and (max-width: 767px) {
  .home .home__img.dynamic-profile-frame {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: min(82vw, 340px) !important;
    height: min(82vw, 340px) !important;
    margin: 2rem auto 0 !important;
    opacity: 1 !important;
  }
}

/* Final hero portrait bubble alignment */
.home::before {
  right: clamp(1rem, 5vw, 5.5rem) !important;
  top: clamp(6.2rem, 12vh, 8.8rem) !important;
  width: clamp(320px, 34vw, 470px) !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 46%, rgba(143, 150, 255, .24) 0%, rgba(143, 150, 255, .16) 44%, rgba(143, 150, 255, .08) 72%, rgba(143, 150, 255, .03) 100%) !important;
  border: 1px solid rgba(143, 150, 255, .12) !important;
  filter: blur(.2px) !important;
  z-index: 0 !important;
}

.home .home__img.dynamic-profile-frame {
  right: clamp(1rem, 5vw, 5.5rem) !important;
  top: clamp(6.2rem, 12vh, 8.8rem) !important;
  bottom: auto !important;
  width: clamp(320px, 34vw, 470px) !important;
  height: clamp(320px, 34vw, 470px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 47%, rgba(255,255,255,.72) 0 31%, rgba(255,238,226,.52) 32% 58%, rgba(143,150,255,.16) 59% 100%) !important;
  border: 1px solid rgba(143, 150, 255, .18) !important;
  box-shadow: 0 28px 72px rgba(70, 42, 24, .12), inset 0 0 0 14px rgba(255, 255, 255, .38) !important;
  isolation: isolate !important;
}

.home .home__img.dynamic-profile-frame::before {
  inset: 6.5% !important;
  background: rgba(255,255,255,.52) !important;
  border: 1px solid rgba(143,150,255,.13) !important;
  box-shadow: inset 0 0 50px rgba(143,150,255,.09) !important;
  z-index: 0 !important;
}

.home .home__img.dynamic-profile-frame::after {
  width: 70% !important;
  height: 70% !important;
  top: 9% !important;
  right: 8% !important;
  background: rgba(143,150,255,.13) !important;
  filter: blur(28px) !important;
  opacity: .9 !important;
}

.home .home__img.dynamic-profile-frame img {
  width: 86% !important;
  height: 86% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  align-self: end !important;
  transform: translateY(6%) !important;
  filter: drop-shadow(0 22px 30px rgba(47, 31, 21, .2)) !important;
}

@media screen and (max-width: 992px) {
  .home::before {
    right: -1.5rem !important;
    top: 7.5rem !important;
    width: min(48vw, 380px) !important;
  }
  .home .home__img.dynamic-profile-frame {
    right: -1.5rem !important;
    top: 7.5rem !important;
    width: min(48vw, 380px) !important;
    height: min(48vw, 380px) !important;
  }
}

@media screen and (max-width: 767px) {
  .home::before {
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 1.6rem !important;
    width: min(82vw, 340px) !important;
    transform: translateX(-50%) !important;
  }
  .home .home__img.dynamic-profile-frame {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: min(82vw, 340px) !important;
    height: min(82vw, 340px) !important;
    margin: 2rem auto 0 !important;
  }
}


/* Production hero profile bubble correction: keeps the image declared in index.php inside the visible periwinkle bubble. */
body.portfolio-page .home {
  min-height: clamp(720px, 100vh, 920px) !important;
}
body.portfolio-page .home::before {
  display: none !important;
  content: none !important;
}
body.portfolio-page .home .home__img.dynamic-profile-frame {
  position: absolute !important;
  right: clamp(1.25rem, 6vw, 6rem) !important;
  top: clamp(6.4rem, 12vh, 8.7rem) !important;
  bottom: auto !important;
  width: clamp(330px, 34vw, 500px) !important;
  height: clamp(330px, 34vw, 500px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  display: block !important;
  isolation: isolate !important;
  opacity: 1 !important;
  background:
    radial-gradient(circle at 48% 35%, rgba(255,255,255,.82) 0 24%, rgba(255,247,240,.74) 25% 45%, rgba(143,150,255,.28) 46% 76%, rgba(143,150,255,.18) 77% 100%) !important;
  border: 1px solid rgba(143,150,255,.28) !important;
  box-shadow:
    0 34px 86px rgba(92, 54, 31, .18),
    inset 0 0 0 18px rgba(255,255,255,.38),
    inset 0 -32px 70px rgba(143,150,255,.16) !important;
  filter: none !important;
  animation: heroFloat 6s ease-in-out infinite !important;
}
body.portfolio-page .home .home__img.dynamic-profile-frame::before {
  content: "" !important;
  position: absolute !important;
  inset: 7% !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.72), rgba(255,245,237,.46) 56%, rgba(143,150,255,.16) 100%) !important;
  border: 1px solid rgba(143,150,255,.20) !important;
  box-shadow: inset 0 0 42px rgba(143,150,255,.11) !important;
  z-index: 0 !important;
}
body.portfolio-page .home .home__img.dynamic-profile-frame::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,0) 44%),
    radial-gradient(circle at 72% 22%, rgba(143,150,255,.22), rgba(143,150,255,0) 34%) !important;
  opacity: 1 !important;
  filter: none !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
body.portfolio-page .home .home__img.dynamic-profile-frame img {
  position: absolute !important;
  z-index: 2 !important;
  left: 50% !important;
  right: auto !important;
  bottom: -4% !important;
  top: auto !important;
  width: auto !important;
  height: 104% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  display: block !important;
  filter: drop-shadow(0 24px 26px rgba(47,31,21,.22)) !important;
}
@media screen and (max-width: 992px) {
  body.portfolio-page .home .home__img.dynamic-profile-frame {
    right: -1.8rem !important;
    top: 7.4rem !important;
    width: min(48vw, 390px) !important;
    height: min(48vw, 390px) !important;
  }
}
@media screen and (max-width: 767px) {
  body.portfolio-page .home {
    min-height: auto !important;
  }
  body.portfolio-page .home .home__img.dynamic-profile-frame {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: min(84vw, 360px) !important;
    height: min(84vw, 360px) !important;
    margin: 2rem auto 0 !important;
  }
  body.portfolio-page .home .home__img.dynamic-profile-frame img {
    height: 104% !important;
    bottom: -4% !important;
  }
}


/* Featured content detail-link refinement */
.publication-card__media,
.blog__header,
.editorial-card__media,
.publication-feature__cover,
.refined-publication-card__cover {
    display: block;
    text-decoration: none;
    color: inherit;
}
.publication-card h3 a,
.blog__title a,
.refined-publication-card h3 a {
    color: inherit;
    text-decoration: none;
}
.publication-card h3 a:hover,
.blog__title a:hover,
.refined-publication-card h3 a:hover {
    color: var(--brand-periwinkle-dark, #5159c9);
}
.publication-detail__full-content {
    margin: 1.1rem 0;
    padding: 1.1rem 1.25rem;
    background: #f7f8ff;
    border: 1px solid rgba(143,150,255,.18);
    border-radius: 18px;
    color: var(--brand-ink, #202124);
    line-height: 1.78;
}
.publication-file-preview {
    margin-top: 1.25rem;
    padding: 1.25rem;
}
.publication-file-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.publication-file-preview__header h2 {
    margin: 0;
    font-size: 1.3rem;
}
.publication-file-preview iframe {
    width: 100%;
    min-height: 640px;
    border: 1px solid rgba(32,33,36,.12);
    border-radius: 18px;
    background: #fff;
}
@media (max-width: 760px) {
    .publication-file-preview iframe { min-height: 420px; }
}

/* Blog video / cover media upgrade */
.media-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: max-content;
    margin: .4rem 0 .65rem;
    border-radius: 999px;
    padding: .42rem .75rem;
    background: rgba(143,150,255,.10);
    color: #5159c9;
    border: 1px solid rgba(143,150,255,.22);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .01em;
}
.blog-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 22px;
    background: #1f2937;
    box-shadow: 0 18px 50px rgba(31,41,55,.16);
}
.blog-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.refined-article-hero__video {
    padding: .55rem;
    background: #f7f8ff;
    border: 1px solid rgba(143,150,255,.18);
}
.video-card-placeholder {
    min-height: 220px;
    width: 100%;
    display: grid;
    place-items: center;
    gap: .6rem;
    text-align: center;
    border-radius: inherit;
    color: #5159c9;
    background:
        radial-gradient(circle at 50% 44%, rgba(143,150,255,.18), transparent 35%),
        linear-gradient(135deg, #f7f8ff, #ffffff);
    border: 1px solid rgba(143,150,255,.16);
    font-weight: 800;
}
.video-card-placeholder i {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #8f96ff;
    color: #fff;
    box-shadow: 0 12px 30px rgba(143,150,255,.26);
}
.video-card-placeholder--home {
    min-height: 170px;
    border-radius: 18px;
}
.editorial-feature__image,
.editorial-card__media,
.blog__header {
    position: relative;
    overflow: hidden;
}
.editorial-feature__image .media-badge,
.editorial-card__media .media-badge,
.blog__header .media-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    margin: 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
}

/* Compact professional FAQ section */
.faq-section--compact {
    position: relative;
    overflow: hidden;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(143,150,255,.075), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}
.faq-section--compact::before {
    content: "";
    position: absolute;
    inset: 2rem auto auto -6rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(143,150,255,.08);
    pointer-events: none;
}
.faq-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.35fr);
    gap: 1.6rem;
    align-items: start;
}
.faq-intro,
.faq-panel {
    border-radius: 28px;
    border: 1px solid rgba(143,150,255,.13);
    box-shadow: 0 18px 46px rgba(40,24,14,.065);
}
.faq-intro {
    position: sticky;
    top: 6.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff 0%, #f7f8ff 100%);
}
.faq-intro h2 {
    margin: .5rem 0 .75rem;
    color: #25170f;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.1;
}
.faq-intro p {
    color: #6b5b52;
    line-height: 1.75;
    margin: 0;
}
.faq-intro__meta {
    display: grid;
    gap: .65rem;
    margin: 1.35rem 0 1.5rem;
}
.faq-intro__meta span {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #3f332c;
    font-weight: 750;
    font-size: .94rem;
}
.faq-intro__meta i {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(143,150,255,.12);
    color: #b84f19;
}
.faq-intro__button {
    width: 100%;
    justify-content: center;
    text-align: center;
}
.faq-panel {
    padding: 1.15rem;
    background: rgba(255,255,255,.94);
}
.faq-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem .85rem 1.05rem;
    border-bottom: 1px solid rgba(143,150,255,.12);
    margin-bottom: .8rem;
}
.faq-panel__top h3 {
    margin: .2rem 0 0;
    color: #25170f;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
}
.faq-count {
    white-space: nowrap;
    border-radius: 999px;
    padding: .45rem .8rem;
    background: #fff3e8;
    color: #a34717;
    font-size: .82rem;
    font-weight: 850;
}
.faq-list--compact {
    display: grid;
    gap: .72rem;
    max-height: 620px;
    overflow: auto;
    padding: .35rem .35rem .35rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(143,150,255,.35) transparent;
}
.faq-list--compact::-webkit-scrollbar { width: 7px; }
.faq-list--compact::-webkit-scrollbar-thumb {
    background: rgba(143,150,255,.32);
    border-radius: 999px;
}
.faq-item {
    border: 1px solid rgba(143,150,255,.12);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.faq-item:hover {
    transform: translateY(-1px);
    border-color: rgba(143,150,255,.24);
    box-shadow: 0 12px 28px rgba(40,24,14,.065);
}
.faq-item[open] {
    border-color: rgba(143,150,255,.28);
    box-shadow: 0 16px 34px rgba(40,24,14,.075);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .85rem;
    align-items: center;
    padding: 1rem 1rem;
    color: #2f241e;
    font-weight: 850;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__number {
    display: inline-grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 12px;
    background: #eef0ff;
    color: #b84f19;
    font-size: .78rem;
    font-weight: 900;
}
.faq-item__question {
    line-height: 1.35;
}
.faq-item__icon {
    color: #b84f19;
    font-size: 1.45rem;
    transition: transform .2s ease;
}
.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
}
.faq-item__answer {
    padding: 0 1rem 1rem 4rem;
    color: #67584f;
    line-height: 1.72;
}
.faq-item__answer p {
    margin: 0;
}
@media (max-width: 980px) {
    .faq-shell { grid-template-columns: 1fr; }
    .faq-intro { position: relative; top: auto; }
    .faq-list--compact { max-height: none; overflow: visible; padding-right: 0; }
}
@media (max-width: 560px) {
    .faq-section--compact { padding-top: 3.4rem; padding-bottom: 3.4rem; }
    .faq-intro, .faq-panel { border-radius: 22px; }
    .faq-intro { padding: 1.4rem; }
    .faq-panel { padding: .85rem; }
    .faq-panel__top { align-items: flex-start; flex-direction: column; }
    .faq-item summary { grid-template-columns: auto 1fr; }
    .faq-item__icon { grid-column: 2; justify-self: end; margin-top: -.5rem; }
    .faq-item__answer { padding: 0 1rem 1rem 1rem; }
}

/* Homepage latest writing video previews */
.blog-preview-section .blog__article.cms-card {
    display: flex;
    flex-direction: column;
}
.blog-preview-section .blog__header {
    display: block;
    position: relative;
    margin: 0 0 1rem;
    border-radius: 20px;
    overflow: hidden;
    min-height: 190px;
    background: linear-gradient(135deg, #f7f8ff, #ffffff);
    border: 1px solid rgba(143,150,255,.13);
    text-decoration: none;
}
.blog-preview-section .blog__header .blog__photo--cover {
    width: 100% !important;
    height: 205px !important;
    border-radius: 20px !important;
    margin: 0 !important;
    object-fit: cover;
    display: block;
}
.blog-video-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 190px;
    overflow: hidden;
    border-radius: 20px;
    background: #151515;
    isolation: isolate;
}
.blog-video-preview iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    transform: scale(1.01);
}
.blog-video-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.36));
}
.blog-video-preview__hint {
    position: absolute;
    left: .85rem;
    bottom: .85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.54);
    backdrop-filter: blur(10px);
    font-size: .78rem;
    font-weight: 800;
}
.blog-preview-section .blog__header .blog__author {
    position: absolute;
    top: .85rem;
    left: .85rem;
    z-index: 3;
    margin: 0;
    max-width: calc(100% - 1.7rem);
    padding: .42rem .7rem;
    border-radius: 999px;
    color: #7c2d12;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    font-size: .76rem;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15,23,42,.08);
}
.blog-preview-section .blog__header .media-badge {
    right: .85rem;
    left: auto;
    bottom: .85rem;
    z-index: 3;
}
.blog-preview-section .blog-video-preview + .blog__author + .media-badge {
    bottom: 3.35rem;
}
@media (max-width: 760px) {
    .blog-preview-section .blog__header,
    .blog-video-preview {
        min-height: 170px;
    }
    .blog-preview-section .blog__header .blog__photo--cover {
        height: 185px !important;
    }
}
