/* Wyvern Innovations — 2026 design preview
   Source Sans 3 is the current release of Source Sans Pro. */
:root {
  --purple: #500279;
  --magenta: #BF0252;
  --ink: #231A2A;
  --white: #ffffff;
  --tint: #F6F2F8;
  --muted: #655E6C;
  --line: #E4DCE8;
  --max: 1120px;
  --font: "Source Sans 3", "Source Sans Pro", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
.skip {
  position: absolute; left: 12px; top: 8px; transform: translateY(-140%);
  background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50;
}
.skip:focus { transform: none; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.032em;
  font-weight: 700;
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.024em;
  font-weight: 700;
  margin-bottom: 12px;
}
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; margin-bottom: 8px; }

.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
}
.muted { color: var(--muted); }
.lede { font-size: 18.5px; max-width: 62ch; color: var(--ink); }
.position {
  font-size: 22px;
  font-weight: 600;
  color: var(--purple);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--magenta);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--magenta);
}
.btn:hover { background: #9d0143; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #cfc6d4; }
.btn-ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-light { background: #fff; color: var(--purple); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2);
}
.nav { display: flex; align-items: center; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 42px; width: auto; }
.nav-links {
  display: flex; align-items: center; justify-content: center; gap: 2px;
  margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0;
}
.nav-links > li > a, .menu-btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-size: 15.5px; font-weight: 600;
  padding: 10px 12px; background: none; border: 0; color: var(--ink); cursor: pointer;
}
.nav-links a[aria-current="page"] { color: var(--purple); box-shadow: inset 0 -2px 0 var(--magenta); }
.header .nav-cta { margin-left: 8px; }
.burger {
  display: none; margin-left: auto; width: 42px; height: 42px;
  border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 0;
}
.burger span, .burger span::before, .burger span::after {
  display: block; height: 1.5px; width: 18px; background: var(--ink); position: relative;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.menu { position: relative; }
.menu-panel {
  display: none;
  position: absolute; top: calc(100% + 14px); left: 0; width: 680px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(35,26,42,.08);
  padding: 8px;
  grid-template-columns: 1fr 1fr;
}
.menu:hover .menu-panel, .menu:focus-within .menu-panel, .nav-open .menu-panel { display: grid; }
.nav-open .menu-panel { position: static; width: auto; box-shadow: none; margin: 8px 0 28px; }
.menu-panel a {
  display: block; text-decoration: none; padding: 16px 16px 18px;
}
.menu-panel a:hover { background: var(--tint); }
.menu-panel small { display: block; color: var(--muted); font-weight: 400; font-size: 14.5px; margin-top: 4px; line-height: 1.4; }
.menu-panel strong { font-weight: 600; font-size: 16px; }
.menu-panel em { font-style: normal; color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: .12em; }

.mobile-panel { display: none; }

/* Hero A */
.hero { padding: 84px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
.index-card { border-top: 2px solid var(--purple); }
.index-card a {
  display: grid; grid-template-columns: 36px 1fr; gap: 8px;
  text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.index-card a span { color: var(--purple); font-size: 13px; letter-spacing: .08em; padding-top: 3px; }
.index-card a:hover { color: var(--magenta); }

.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: 28px;
}
.section-head p { margin: 0; max-width: 42ch; color: var(--muted); }

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.intro p { color: var(--ink); }
.rule { width: 48px; height: 3px; background: linear-gradient(45deg, var(--purple), var(--magenta)); margin-bottom: 18px; }

.caps { display: block; }
.cap {
  display: grid; grid-template-columns: 56px 1.1fr 1.4fr 24px; gap: 18px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none;
}
.cap:last-child { border-bottom: 1px solid var(--line); }
.cap .n { color: var(--purple); font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.cap:hover h3 { color: var(--magenta); }
.cap p { margin: 0; color: var(--muted); font-size: 16.5px; }
.cap h3 { margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature.flip .frame { order: 2; }
.suite { display: grid; gap: 64px; }
.product-index { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 48px; }
.product-index a { text-decoration: none; text-align: center; font-size: 14px; font-weight: 600; }
.product-index img { width: 100%; border: 1px solid var(--line); margin-bottom: 8px; }
.frame { background: var(--tint); border: 1px solid var(--line); padding: 18px; }
.frame img { width: 100%; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.product {
  text-decoration: none; border: 1px solid var(--line); background: #fff;
}
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product div { padding: 16px 16px 18px; }
.product h3 { font-size: 18px; }
.product p { margin: 0; color: var(--muted); font-size: 15.5px; }
.product:hover { border-color: var(--purple); }

.industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.industry { padding: 22px 0; border-top: 1px solid var(--line); }
.industry p { margin: 0; color: var(--muted); font-size: 16.5px; }

.cred-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 18px; align-items: stretch; }
.cred {
  border: 1px solid var(--line); padding: 20px 18px; background: #fff; min-height: 140px;
}
.cred span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); font-weight: 700; margin-bottom: 8px; }
.cred strong { display: block; font-size: 20px; letter-spacing: -0.02em; font-weight: 700; }
.cred p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.partner-row { display: flex; align-items: center; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.partner-row img { height: 36px; width: auto; }

.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.insight, .blog-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .18s ease;
}
.insight:hover, .blog-card:hover { border-color: #c9b3d6; }
.card-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 16px 16px 18px;
}
.insight .meta, .blog-card .meta {
  margin: 0;
  color: var(--magenta);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.insight h3, .blog-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: normal;
  min-height: 2.6em;
}
.insight .excerpt, .blog-card .excerpt, .blog-card .clamp {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5em;
}
.insight .more, .blog-card .more {
  margin-top: auto;
  padding-top: 8px;
  color: var(--magenta);
  font-weight: 600;
  font-size: 15px;
}

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
label.full { grid-column: 1 / -1; }
input, textarea {
  border: 1px solid #d9d0df; border-radius: 4px; padding: 12px 12px; font-size: 16px; color: var(--ink); background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.consent { font-weight: 400; color: var(--muted); font-size: 14.5px; flex-direction: row; align-items: flex-start; gap: 10px; }
.consent input { margin-top: 4px; }
.note { grid-column: 1 / -1; color: var(--muted); font-size: 14px; margin: 0; }
.touch { background: var(--tint); padding: 28px; }
.touch a { color: var(--purple); }
.touch p { margin: 0 0 14px; }

.band {
  background: var(--purple); color: #fff; padding: 36px 0;
}
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.band h2 { color: #fff; margin: 0 0 6px; font-size: 32px; }
.band p { margin: 0; max-width: 52ch; color: #f3e9f8; }

.footer { background: var(--ink); color: #fff; padding: 56px 0 24px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr .9fr; gap: 32px; }
.footer h2 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; color: #d9d0df; font-size: 15.5px; }
.footer .brand img { height: 48px; margin-bottom: 14px; }
.footer .tag { color: #d9d0df; max-width: 32ch; }
.legal { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 16px; color: #b7adbf; font-size: 14px; }
.legal nav { display: flex; gap: 16px; }

/* Interior */
.page-hero { padding: 72px 0 28px; }
.page-hero .lede { font-size: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.photo figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.photo img { width: 100%; border: 1px solid var(--line); }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px;
  border: 2px solid var(--purple); background: #fff; border-radius: 50%;
}
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); }

.practice { display: grid; gap: 0; }
.practice article { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.practice article:last-child { border-bottom: 1px solid var(--line); }
.practice .n { font-size: 28px; font-weight: 700; color: var(--purple); letter-spacing: -0.04em; }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; padding: 0; margin: 18px 0 0; list-style: none; }
.scope li { padding-top: 10px; border-top: 1px solid var(--line); }
.scope + p { margin-top: 28px; max-width: 68ch; }

.values { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.values li { border: 1px solid var(--line); padding: 10px 14px; font-weight: 600; background: #fff; }

.cap-list a {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  text-decoration: none; padding: 26px 0; border-top: 1px solid var(--line);
}
.cap-list a:last-child { border-bottom: 1px solid var(--line); }
.cap-list .n { font-size: 20px; font-weight: 700; color: var(--purple); }
.cap-list p { margin: 4px 0 0; color: var(--muted); }
.cap-list:hover h3 { color: var(--magenta); }

/* Concept B */
.theme-b { background: #fff; }
.theme-b .header { background: #1a1022; border-bottom-color: transparent; }
.theme-b .nav-links > li > a, .theme-b .menu-btn-link { color: #fff; }
.theme-b .nav-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--magenta); }
.theme-b .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.theme-b .hero {
  background:
    linear-gradient(45deg, rgba(80,2,121,.92), rgba(26,16,34,.88) 55%, rgba(191,2,82,.55)),
    url("/images/hero-bg.png") center/cover no-repeat;
  color: #fff; padding: 108px 0 88px;
}
.theme-b .hero h1, .theme-b .position { color: #fff; }
.theme-b .lede { color: #f6f2f8; }
.theme-b .hero-grid { grid-template-columns: 1fr; max-width: 820px; }
.theme-b .index-card { display: none; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cards article { background: #fff; border-top: 3px solid var(--purple); padding: 18px 16px 20px; min-height: 220px; }
.cards .n { color: var(--magenta); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.cards h3 { font-size: 18px; }
.cards p { color: var(--muted); font-size: 15px; margin: 0; }
.cards a { text-decoration: none; }

/* Concept C */
.theme-c .hero { padding-bottom: 0; }
.theme-c .hero h1 { font-size: clamp(48px, 6vw, 84px); max-width: 16ch; }
.essay { font-size: 22px; line-height: 1.45; max-width: 38ch; font-weight: 400; }
.pull {
  font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.03em;
  font-weight: 600; color: var(--purple); margin: 0; max-width: 22ch;
}
.photo-band { margin-top: 36px; display: grid; grid-template-columns: 1.4fr .6fr; min-height: 360px; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; max-height: 460px; }
.photo-band aside { background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.photo-band aside p { color: #d9d0df; margin: 0; }

.board { padding: 48px 0 72px; }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.board a.card {
  display: block; text-decoration: none; border: 1px solid var(--line); padding: 18px; min-height: 140px; background: #fff;
}
.board a.card strong { display: block; font-size: 18px; margin-bottom: 6px; }
.board a.card span { color: var(--muted); font-size: 15px; }
.recommend { border-left: 3px solid var(--magenta); padding: 4px 0 4px 16px; }

@media (max-width: 980px) {
  .hero-grid, .intro, .feature, .contact-grid, .split, .photo-band,
  .cred-grid, .foot-grid, .cards, .product-grid, .board-grid {
    grid-template-columns: 1fr;
  }
  .insight-grid, .blog-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .cap { grid-template-columns: 40px 1fr; }
  .cap p, .cap .go { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .section-head, .band-inner { flex-direction: column; align-items: flex-start; }
  .nav-links, .header .nav-cta { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-open .nav { height: auto; flex-wrap: wrap; align-items: center; padding-bottom: 12px; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: static; width: 100%; order: 3; margin: 8px 0 0; padding: 8px 0 0;
    border-top: 1px solid var(--line);
    max-height: calc(100vh - 160px); overflow: auto;
  }
  .nav-open .nav-cta {
    display: inline-flex; order: 4; width: 100%; justify-content: center; margin: 12px 0 4px;
  }
  body.nav-open { overflow: hidden; }
  .menu-panel { grid-template-columns: 1fr; }
  .menu-panel small { display: none; }
  .menu-panel a { padding: 12px 8px; }
  .menu-panel em { display: inline-block; min-width: 1.8em; margin-right: 8px; }
  .theme-b.nav-open .nav-links { background: #1a1022; }
  .menu-panel { position: static; width: auto; box-shadow: none; border: 0; }
  .industry-grid { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  h1 { font-size: 40px; }
  .hero { padding-top: 40px; }
  .section { padding: 56px 0; }
  .legal { flex-direction: column; }
}
@media (max-width: 700px) {
  .insight-grid, .blog-grid, .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .product-grid, .cred-grid, .cards, .scope, form { grid-template-columns: 1fr; }
  .practice article { grid-template-columns: 1fr; gap: 4px; }
}

/* Reference layout — recommended direction */
.hero-band {
  background: linear-gradient(45deg, #500279 0%, #7a0264 52%, #BF0252 100%);
  color: #fff;
  padding: 64px 0 60px;
}
.hero-home { position: relative; overflow: hidden; padding: 52px 0 48px; }
.hero-home::before, .hero-home::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  pointer-events: none;
}
.hero-home::before { width: 560px; height: 560px; right: -220px; top: -280px; }
.hero-home::after { width: 360px; height: 360px; left: -160px; bottom: -210px; border-color: rgba(255,255,255,.12); }
.hero-copy { position: relative; width: min(740px, 100%); margin: 0 auto; text-align: center; }
.hero-copy h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; margin-bottom: 12px; }
.hero-copy .position { margin-bottom: 10px; }
.hero-copy .lede { margin-left: auto; margin-right: auto; }
.hero-copy .actions { justify-content: center; margin-top: 22px; }
.editorial { width: min(68ch, 100%); margin: 0 auto; }
.editorial h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.editorial p { margin: 0 0 16px; line-height: 1.65; }
.hero-band h1, .hero-band .position { color: #fff; }
.hero-band .position { font-weight: 600; font-size: clamp(20px, 2vw, 26px); margin-bottom: 14px; }
.hero-band .lede { color: rgba(255,255,255,.94); max-width: 58ch; }
.hero-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-band .btn-ghost:hover { background: #fff; color: var(--purple); }
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.hero-visual { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); padding: 14px; }
.hero-visual img { width: 100%; }
.hero-band.compact { padding: 56px 0 48px; }
.hero-band.compact h1 { font-size: clamp(40px, 4.5vw, 60px); }

.card-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.svc {
  background: #fff; border: 1px solid #efe8f3; border-radius: 12px;
  padding: 20px 16px 16px; text-decoration: none; display: flex; flex-direction: column; min-height: 100%;
}
.svc:hover { border-color: #d7c6e4; }
.svc .ico { width: 36px; height: 36px; color: var(--purple); margin-bottom: 14px; }
.svc h3 { font-size: 16.5px; letter-spacing: -0.015em; }
.svc p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; flex: 1; }
.svc .more { margin-top: 14px; color: var(--magenta); font-weight: 700; font-size: 18px; }

.icon-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; }
.icon-row a { text-decoration: none; padding: 8px 4px; }
.icon-row .ico { width: 28px; height: 28px; margin: 0 auto 8px; color: var(--purple); }
.icon-row strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--tint); border-radius: 10px; padding: 16px 18px; margin-top: 28px;
}
.callout strong { color: var(--purple); }

.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 22px; }
.step .dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--purple); margin-top: 4px;
  box-shadow: 0 18px 0 0 #fff, 0 20px 0 0 var(--line);
}
.step:last-child .dot { box-shadow: none; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: #fff; border: 1px solid var(--line); padding: 28px; }
.panel.tint { background: var(--tint); border: 0; }

.cred-line {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: center;
}
.cred-line article {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  min-height: 92px; display: flex; flex-direction: column; justify-content: center; padding: 14px 16px;
}
.cred-line span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.cred-line strong { font-size: 16px; letter-spacing: -0.01em; }
.logo-pills { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.logo-pills img { height: 34px; width: auto; }

.static-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: #fff; }
.static-menu a { text-decoration: none; padding: 18px 18px; border-bottom: 1px solid var(--line); }
.static-menu a:hover { background: var(--tint); }
.static-menu small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; }

.topic-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.topic { background: #fff; border-top: 3px solid var(--purple); padding: 16px; }
.topic.alt { border-top-color: var(--magenta); }

@media (max-width: 980px) {
  .hero-split, .card-row, .two, .cred-line, .icon-row, .topic-grid, .static-menu, .product-index { grid-template-columns: 1fr 1fr; }
  .product-index { grid-template-columns: 1fr 1fr 1fr; }
  .card-row { grid-template-columns: 1fr; }
  .icon-row { grid-template-columns: 1fr 1fr; text-align: left; }
  .icon-row a { display: flex; gap: 10px; align-items: center; }
  .icon-row .ico { margin: 0; }
  .hero-band { padding: 48px 0; }
}
@media (max-width: 640px) {
  .hero-split, .two, .cred-line, .topic-grid, .static-menu { grid-template-columns: 1fr; }
}

.story-media {
  position: relative;
  background: #161018;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  width: 100%;
  flex: none;
}

.story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media.contain { background: #f3f1f4; }
.story-media.contain img { object-fit: contain; }
.journal-grid .story-media.contain { background: #6d1468; }

.journal-grid .story h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.journal-grid .story > p:not(.meta) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.8em;
}

.story h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: normal; line-height: 1.3; }
.story p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.meta { color: var(--magenta); font-size: 13px; font-weight: 500; letter-spacing: normal; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }

.filters button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

.filters button.is-active,
.filters button[aria-selected="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  margin-bottom: 42px;
}

.featured h2 { margin: 8px 0 10px; font-size: clamp(28px, 3vw, 40px); letter-spacing: normal; font-weight: 700; }
.blog-grid, .related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.blog-card:hover { border-color: #c9b3d6; }
.insight .story-media, .blog-card .story-media { border-radius: 0; }
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty-note { display: none; color: var(--muted); }

.article-page { padding: calc(var(--header) + 36px) 0 80px; background: var(--paper); }
.article-shell { width: min(980px, calc(100% - 40px)); margin: 0 auto; }
.back { font-weight: 500; font-size: 14px; color: var(--magenta); }
.article-shell h1 {
  margin: 12px 0;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: normal;
  font-weight: 700;
  line-height: 1.15;
}
.byline { color: var(--muted); margin-bottom: 22px; }
.article-photo {
  width: 100%;
  border-radius: 24px;
  background: #efeef2;
  max-height: 640px;
  object-fit: contain;
  margin-bottom: 28px;
}
.prose { width: min(720px, 100%); }
.prose p { font-size: 18px; line-height: 1.75; color: #333; }
.related { margin-top: 54px; }

.prose h2, .prose h3, .prose h4 { letter-spacing: normal; line-height: 1.25; margin: 1.3em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.2em; color: #333; font-size: 18px; line-height: 1.7; }
.prose li { margin: 0.3em 0; }
.prose blockquote { margin: 1.2em 0; padding-left: 16px; border-left: 3px solid var(--magenta); color: #333; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose figure { margin: 1.4em 0; }
.prose figure img, .prose img { width: 100%; border-radius: 16px; }
.prose figcaption, .tags { color: var(--muted); font-size: 14px; margin-top: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #111; }
.prose a { color: var(--magenta); }
.form-error{color:#9d0143}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.blog-search { margin: 0 0 18px; }
.blog-search input {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  color: var(--ink);
}

@media (max-width: 980px) {
  .insight-grid, .blog-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 36px; }
}
@media (max-width: 700px) {
  .insight-grid, .blog-grid, .related-grid { grid-template-columns: 1fr; }
  .hero-copy .actions { flex-direction: column; align-items: stretch; }
  .hero-copy .actions .btn { justify-content: center; }
}
