/* C05 multi-page + footer */

.c05-main {
  padding-bottom: 4rem;
}

.c05-page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
}

.c05-page-hero h1 {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin: 0.4rem 0 0.8rem;
  color: #1a1224;
}

.c05-lead {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #3d3550;
}

.c05-kicker,
.c05-scope,
.c05-for,
.c05-role {
  color: #5a5168;
}

.c05-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
  color: #6b6280;
}

.c05-crumbs li:not(:last-child)::after {
  content: "/";
  margin-inline-start: 0.6rem;
  opacity: 0.5;
}

.c05-crumbs a {
  color: inherit;
}

.c05-section {
  padding: 2.5rem 0;
}

.c05-section--soft {
  background: linear-gradient(180deg, #f7f4fb 0%, #fff 100%);
}

.c05-hub-grid,
.c05-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.c05-hub-tile,
.c05-card,
.c05-service-row,
.c05-founder,
.c05-blog-empty {
  border: 1px solid rgba(116, 67, 182, 0.14);
  border-radius: 18px;
  background: #fff;
  padding: 1.25rem 1.35rem;
}

.c05-hub-tile h2,
.c05-card h3,
.c05-service-row h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.c05-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.c05-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #1a1224;
  overflow: hidden;
}

.c05-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c05-card__body {
  padding: 1rem 1.15rem 1.25rem;
}

.c05-card__domain {
  margin: 0;
  font-size: 0.8rem;
  color: #7443b6;
}

.c05-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 160px;
  background:
    radial-gradient(circle at 30% 20%, rgba(116, 67, 182, 0.35), transparent 45%),
    linear-gradient(145deg, #2a1f3a, #120c1a);
  color: #fff;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.35rem;
  text-align: center;
  padding: 1rem;
}

.c05-card__placeholder--lg {
  min-height: 280px;
  border-radius: 18px;
}

.c05-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.c05-tags li {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(116, 67, 182, 0.1);
  color: #4b3470;
}

.c05-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.c05-filter {
  border: 1px solid rgba(116, 67, 182, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.875rem;
  color: #3d3550;
  text-decoration: none;
}

.c05-filter.is-active,
.c05-filter:hover,
.c05-filter:focus-visible {
  background: #7443b6;
  border-color: #7443b6;
  color: #fff;
}

.c05-prose {
  max-width: 44rem;
}

.c05-prose h2 {
  margin-top: 2rem;
}

.c05-steps {
  display: grid;
  gap: 0.5rem;
  padding-inline-start: 1.2rem;
}

.c05-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #2a1a40, #7443b6);
  color: #fff;
}

.c05-cta-band h2 {
  margin: 0;
  flex: 1 1 14rem;
}

.c05-cta-band .c03-text-link {
  color: #f3e9ff;
}

.c05-founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.c05-founder__mono {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.c05-project-media {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 1.25rem;
  align-items: end;
}

@media (max-width: 800px) {
  .c05-project-media {
    grid-template-columns: 1fr;
  }
}

.c05-device {
  margin: 0;
}

.c05-device img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 18px 40px rgba(26, 18, 36, 0.18);
}

.c05-device--mobile {
  max-width: 240px;
}

.c05-device figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b6280;
}

.c05-honest {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #f7f4fb;
  border-inline-start: 3px solid #7443b6;
}

.c05-form {
  display: grid;
  gap: 0.9rem;
  max-width: 32rem;
}

.c05-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.c05-form input,
.c05-form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 67, 182, 0.28);
  background: #fff;
}

.c05-form input:focus-visible,
.c05-form textarea:focus-visible,
.c05-filter:focus-visible,
.c03-nav a:focus-visible,
.c03-nav-cta:focus-visible {
  outline: 2px solid #7443b6;
  outline-offset: 2px;
}

.c05-qa-note {
  font-size: 0.85rem;
  color: #6b6280;
}

.c05-footer {
  padding: 3rem 0 1.5rem;
  background: #140f1c;
  color: #efe8f8;
}

.c05-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .c05-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .c05-footer__grid {
    grid-template-columns: 1fr;
  }
}

.c05-footer__heading {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #cbb6ea;
}

.c05-footer__nav {
  display: grid;
  gap: 0.45rem;
}

.c05-footer__nav a,
.c05-footer__contact a,
.c05-footer__brand a.c03-wordmark {
  color: #efe8f8;
  text-decoration: none;
}

.c05-footer__nav a:hover,
.c05-footer__contact a:hover {
  color: #fff;
}

.c05-footer__brand p {
  color: #c9bddb;
  line-height: 1.55;
}

.c05-footer__contact {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
}

.c05-footer__cta {
  display: inline-flex;
}

.c05-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #9d90b3;
}

.c05-contact-direct {
  margin-top: 1rem;
}

.c05-blog-shell {
  max-width: 40rem;
}

.c05-related {
  display: grid;
  gap: 0.4rem;
}

/* CX-V2 contact + project enrichment */
.c05-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}
.c05-contact-aside { max-width: 42ch; }
.c05-tags {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0;
}
.c05-tags li {
  font-size: 13px; font-weight: 600; color: #7443b6;
  background: #f4f1f8; border-radius: 999px; padding: 6px 12px;
}
.c05-project-media--featured-deep,
.c05-project-media--brand-commerce,
.c05-project-media--split-brand-commerce {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  align-items: end;
}
.c05-project-media--short-honest { max-width: 920px; }
@media (max-width: 900px) {
  .c05-contact-layout,
  .c05-project-media--featured-deep,
  .c05-project-media--brand-commerce,
  .c05-project-media--split-brand-commerce {
    grid-template-columns: 1fr;
  }
}

/**
 * Stream C — UX patch 02
 * Target: append to assets/css/c05.css (or c06.css after footer rules)
 * Issues:
 *  1) Footer column H2s compute near-ink on dark footer (UserWay / theme
 *     heading color wins over `.c05-footer__heading { color:#cbb6ea }`).
 *  2) Depth templates feel sparse: page-hero padding + missing current-nav cue.
 *  3) c06 forces Heebo on `.c05-page-hero h1`, killing C05 Frank display.
 * Do not change: C06.1 mega [hidden] rules, guide logo sizes, purple token.
 */

/* Footer headings — beat third-party / theme h2 color */
.c05-footer h2.c05-footer__heading,
.c06-site .c05-footer .c05-footer__heading {
  color: #d8c6f0 !important;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.85rem;
}

.c05-footer__nav {
  gap: 0.55rem;
}

.c05-footer__nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

/* Current page in primary nav (aria-current already set by C06.1) */
.c06-site .c03-nav a[aria-current="page"],
.c06-site .c06-nav > .c06-nav__item > a[aria-current="page"] {
  color: #7443b6;
  font-weight: 700;
}

/* Restore display serif on depth H1 (override c06 Heebo rule) */
.c06-site .c05-page-hero h1 {
  font-family: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Tighter first screen on hubs / depth */
.c05-page-hero {
  padding: clamp(1.75rem, 4vw, 3rem) 0 1.1rem;
}

.c05-section {
  padding: 2rem 0;
}

/* Hub tiles: accent rail so cards are not empty text boxes */
.c05-hub-tile {
  position: relative;
  padding: 1.15rem 1.25rem 1.2rem;
  border-inline-start: 3px solid #7443b6;
}

.c05-hub-tile h2 {
  margin-top: 0;
}

.c05-hub-tile .c03-text-link,
.c05-hub-tile > a.c03-text-link {
  margin-top: auto;
}

.c05-hub-grid > .c05-hub-tile {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Breadcrumb contrast (was #6b6280 @ 14px — OK, nudge darker for long trails) */
.c05-crumbs {
  color: #4f4760;
  font-size: 0.8125rem;
}

/**
 * Stream C — UX patch 03
 * Target: append to assets/css/c05.css + c06.css as noted
 * Focus: work index, project, blog, process, contact, policy readability
 */

/* Work cards — domain + title rhythm */
.c05-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.c05-card__domain {
  font-weight: 600;
}

.c05-card__body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.c05-card__body > p {
  margin: 0;
  color: #3d3550;
  line-height: 1.55;
}

.c05-tags {
  margin-top: auto;
  padding-top: 0.65rem;
}

/* Project device media — less dead air under hero */
.c05-project-media {
  margin-top: 1.5rem;
}

.c05-section--soft .c05-project-media {
  padding-block: 0.5rem;
}

/* Process steps — denser vertical list, clearer number */
.c06-process-list {
  gap: 0.75rem;
  max-width: 52rem;
}

.c06-process-step {
  padding: 1.05rem 1.15rem;
}

.c06-process-step h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.c06-process-step p {
  margin: 0;
  color: #3d3550;
  line-height: 1.55;
}

/* Blog cards */
.c06-blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}

.c06-blog-card .c05-kicker {
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  color: #5a5168;
}

.c06-blog-card h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.c06-blog-card h2 a {
  color: inherit;
  text-decoration: none;
}

.c06-blog-card h2 a:hover,
.c06-blog-card h2 a:focus-visible {
  color: #7443b6;
}

.c06-blog-card > p {
  margin: 0;
  color: #3d3550;
  line-height: 1.5;
  flex: 1;
}

.c06-blog-card .c03-text-link {
  margin-top: 0.5rem;
}

/* Contact form — readable column, not half-empty desktop */
.c05-form {
  max-width: 28rem;
}

.c05-contact-direct {
  margin: 1.25rem 0 1.5rem;
  display: grid;
  gap: 0.45rem;
}

.c05-contact-direct a {
  color: #7443b6;
  font-weight: 600;
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

/* Policy / sitemap prose */
.c05-prose {
  max-width: 42rem;
}

.c05-prose p,
.c05-prose li {
  line-height: 1.7;
  color: #2a2436;
}

.c06-sitemap-list {
  max-width: 48rem;
}

/* Depth CTA band spacing */
.c05-cta-band {
  margin-top: 1.5rem;
}

@media (min-width: 1100px) {
  .c05-page-hero .c05-lead {
    max-width: 38rem;
  }
}

/* CX-V2b — about method + hub depth */
.c06-process-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-family: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
}

.c05-hub-depth ul {
  margin: 0.5rem 0 1rem;
}

.c06-blog-card .c03-text-link + .c03-text-link {
  margin-inline-start: 0.75rem;
}

/* PORTFOLIO-DEPTH-V1 */
.c05-page-hero--project-featured {
  padding-bottom: 0.5rem;
}
.c05-project-logo {
  margin: 0 0 0.85rem;
}
.c05-project-logo img {
  max-height: 56px;
  width: auto;
  display: block;
}
.c05-featured-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #efe8f8;
  color: #5a2f8f;
  font-size: 0.82rem;
  font-weight: 700;
}
.c05-section--opening {
  padding-top: 0;
}
.c05-project-opening {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(26, 18, 36, 0.16);
}
.c05-project-opening img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(62vh, 640px);
  object-fit: cover;
}
.c05-project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.c05-project-gallery figure {
  margin: 0;
}
.c05-project-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #f4f1f8;
}
.c05-project-gallery figcaption,
.c05-source {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #6b6280;
}
.c05-design-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.c05-design-notes li {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #faf8fc;
  border: 1px solid rgba(116, 67, 182, 0.12);
}
.c05-design-notes strong {
  display: block;
  margin-bottom: 0.25rem;
}
.c05-work-grid--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
.c05-work-grid--varied {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.c05-card--featured {
  grid-column: span 1;
}
.c05-card--featured .c05-card__media {
  position: relative;
  min-height: 220px;
}
.c05-card__mobile-peek {
  position: absolute;
  inset-inline-start: 12px;
  bottom: -18px;
  width: 72px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(26, 18, 36, 0.28);
  border: 2px solid #fff;
  background: #fff;
}
.c05-card__logo {
  max-height: 28px;
  width: auto;
  margin-bottom: 0.45rem;
  display: block;
}
.c05-card--wide {
  grid-column: span 1;
}
.c05-card--compact .c05-card__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.c05-work-a11y-note {
  margin-top: 1.25rem;
}
.c05-page-hero--blog .c05-blog-count {
  margin-top: 0.75rem;
  font-weight: 600;
  color: #5a2f8f;
}
.c06-blog-grid--designed {
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.c06-blog-card--lead {
  background: linear-gradient(145deg, #faf8fc 0%, #f3edf9 100%);
  border-color: rgba(116, 67, 182, 0.22);
}
.c06-blog-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 0.85rem;
}
.c03-nav-cta--small {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}
@media (min-width: 900px) {
  .c06-blog-grid--designed {
    grid-template-columns: 1.2fr 1fr;
  }
  .c06-blog-card--lead {
    grid-row: span 2;
  }
}
@media (max-width: 800px) {
  .c05-work-grid--featured {
    grid-template-columns: 1fr;
  }
  .c05-card__mobile-peek {
    width: 58px;
    bottom: -12px;
  }
  .c05-project-opening img {
    max-height: 42vh;
  }
  .c05-device--mobile {
    max-width: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-c03-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
