.content-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 88% 12%, rgba(223, 55, 127, .2), transparent 24rem),
    linear-gradient(180deg, rgba(253, 226, 237, .52), rgba(255, 250, 251, 0));
}

.content-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(152, 22, 80, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(152, 22, 80, .06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.content-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
}

.content-hero h1 {
  max-width: 920px;
  margin-bottom: 22px;
}

.content-hero p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.12rem;
}

.content-hero-actions {
  display: grid;
  gap: 10px;
}

.content-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 251, .92);
  backdrop-filter: blur(18px);
}

.content-toolbar-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.content-search {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.content-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 44px 0 16px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  outline: 0;
}

.content-search input:focus {
  border-color: var(--rose-400);
  box-shadow: 0 0 0 4px rgba(223, 55, 127, .09);
}

.content-search span {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--rose-700);
}

.content-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.content-filters::-webkit-scrollbar {
  display: none;
}

.content-filter {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  font-size: .76rem;
  font-weight: 750;
  cursor: pointer;
}

.content-filter.active,
.content-filter:hover {
  color: var(--white);
  border-color: var(--rose-600);
  background: var(--rose-600);
}

.insights-section {
  padding: 72px 0 110px;
}

.insights-featured {
  margin-bottom: 58px;
}

.content-section-head {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.content-section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.content-count {
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 700;
}

.featured-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 16px;
}

.featured-post,
.content-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s var(--ease);
}

.featured-post:hover,
.content-card:hover {
  transform: translateY(-5px);
  border-color: var(--rose-200);
  box-shadow: var(--shadow-md);
}

.featured-post {
  display: grid;
  min-height: 470px;
  grid-template-columns: minmax(0, .82fr) minmax(330px, 1.18fr);
  border-radius: var(--radius-lg);
}

.featured-post-visual,
.content-card-visual {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.34), transparent 18%),
    linear-gradient(145deg, var(--berry-950), var(--rose-700));
}

.featured-post-visual::before,
.content-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

.featured-post-visual::after,
.content-card-visual::after {
  content: "MN";
  position: absolute;
  right: -8%;
  bottom: -14%;
  color: rgba(255,255,255,.08);
  font-size: clamp(7rem, 16vw, 14rem);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: 1;
}

.cover-now {
  background: linear-gradient(145deg, #260716, #7b1748 62%, #e23d84);
}

.cover-insurance {
  background: linear-gradient(145deg, #321021, #9f1958 62%, #f073a7);
}

.cover-legacy {
  background: linear-gradient(145deg, #21101a, #6b2545 58%, #d65389);
}

.cover-evidence {
  background: linear-gradient(145deg, #3c0a25, #82113f 58%, #e05a91);
}

.cover-architecture {
  background: linear-gradient(145deg, #240916, #71143f 55%, #cb2a70);
}

.visual-label {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 22px;
  padding: 8px 11px;
  color: var(--rose-100);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.visual-node {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 110px;
  height: 125px;
  place-items: center;
  transform: translate(-50%, -50%);
  color: var(--white);
  background: linear-gradient(145deg, var(--rose-300), var(--rose-600));
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
  box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 80px rgba(242,141,181,.3);
  font-size: 1.2rem;
  font-weight: 900;
}

.featured-post-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 17px;
  color: var(--rose-700);
  font-size: .72rem;
  font-weight: 760;
}

.post-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: var(--rose-300);
}

.featured-post h2,
.content-card h3 {
  margin-bottom: 15px;
}

.featured-post h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
}

.featured-post p,
.content-card p {
  margin-bottom: 24px;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  border-radius: var(--radius-md);
}

.content-card-visual {
  min-height: 205px;
}

.content-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.content-card h3 {
  font-size: 1.48rem;
}

.content-card .text-link {
  margin-top: auto;
}

.content-empty {
  padding: 60px 20px;
  border: 1px dashed var(--rose-200);
  border-radius: var(--radius-md);
  text-align: center;
  background: var(--rose-050);
}

.content-empty h3 {
  margin-bottom: 8px;
}

.author-cta {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  color: var(--white);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(242,141,181,.28), transparent 18rem),
    linear-gradient(145deg, var(--berry-950), var(--berry-800));
  box-shadow: var(--shadow-lg);
}

.author-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.author-cta p {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255,255,255,.66);
}

.author-cta .button-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

.article-hero {
  padding: 90px 0 52px;
}

.article-hero-inner {
  max-width: 980px;
}

.article-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.5vw, 7rem);
}

.article-deck {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.article-shell {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
}

.article-cover {
  position: relative;
  overflow: hidden;
  min-height: min(60vw, 520px);
  margin-bottom: 58px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.article-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 52px 52px;
}

.article-cover::after {
  content: "MANDISO / FIELD NOTES";
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: rgba(255,255,255,.62);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.article-cover-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 150px;
  height: 170px;
  place-items: center;
  transform: translate(-50%, -50%);
  color: var(--white);
  background: linear-gradient(145deg, var(--rose-200), var(--rose-600));
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
  box-shadow: 0 0 0 48px rgba(255,255,255,.035), 0 0 0 96px rgba(255,255,255,.02), 0 0 100px rgba(242,141,181,.36);
  font-size: 1.35rem;
  font-weight: 900;
}

.article-body {
  padding-bottom: 90px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.82;
}

.article-body > p:first-child {
  font-size: 1.24rem;
  color: #553142;
}

.article-body h2 {
  margin: 58px 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article-body h3 {
  margin: 36px 0 14px;
}

.article-body p,
.article-body li {
  color: #5f3d4d;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body li {
  margin: 10px 0;
}

.article-body blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--rose-500);
  border-radius: 0 16px 16px 0;
  background: var(--rose-050);
  color: var(--berry-900);
  font-size: 1.2rem;
  font-weight: 650;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-tags span {
  padding: 8px 11px;
  color: var(--rose-700);
  border: 1px solid var(--rose-200);
  border-radius: 999px;
  background: var(--rose-050);
  font-size: .72rem;
  font-weight: 720;
}

.article-next {
  padding: 0 0 100px;
}

.article-next-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.article-next-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.studio-page {
  background: var(--rose-050);
}

.studio-hero {
  padding: 72px 0 42px;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 22px;
  padding-bottom: 100px;
}

.studio-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.studio-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.studio-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--berry-900);
  font-size: .78rem;
  font-weight: 780;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--pearl);
  outline: 0;
}

.field textarea {
  min-height: 260px;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--rose-400);
  box-shadow: 0 0 0 4px rgba(223,55,127,.09);
}

.field small {
  color: var(--ink-soft);
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.studio-aside {
  display: grid;
  align-content: start;
  gap: 18px;
}

.studio-guide {
  padding: 24px;
  color: var(--white);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--berry-950), var(--berry-800));
  box-shadow: var(--shadow-md);
}

.studio-guide h3 {
  color: var(--white);
}

.studio-guide p,
.studio-guide li {
  color: rgba(255,255,255,.68);
}

.studio-guide ol {
  padding-left: 20px;
}

.studio-guide li {
  margin: 10px 0;
}

.studio-preview {
  min-height: 320px;
  padding: 24px;
  border: 1px dashed var(--rose-300);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.68);
}

.studio-preview .content-card {
  min-height: 0;
}

.studio-status {
  margin-top: 14px;
  color: var(--success);
  font-size: .8rem;
  font-weight: 720;
}

@media (max-width: 980px) {
  .content-hero-inner,
  .featured-content-grid,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .content-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .author-cta {
    grid-template-columns: 1fr;
  }

  .content-hero-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .content-toolbar-inner,
  .content-section-head,
  .article-next-card {
    display: grid;
  }

  .content-search {
    max-width: none;
  }

  .content-card-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .featured-post {
    min-height: 0;
  }

  .content-hero-actions,
  .studio-actions {
    display: grid;
  }

  .content-hero-actions .button,
  .studio-actions .button {
    width: 100%;
  }

  .article-shell {
    width: min(calc(100% - 26px), 860px);
  }
}
