/* ===========================================================
   Rev 6 — Pilar's 25 Jun edits
   Loaded last; overrides rev4 + rev5.
   =========================================================== */

/* About — "Freyja by Pilar Workman" credit line in blush, sized to match the eyebrow */
.page-banner h1 .brand-credit {
  display: inline-block;
  color: var(--blush) !important;
  font-size: 20px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 14px;
  font-weight: 500;
}

/* Mirrored split layouts — photo on the left, text on the right */
.approach-split--reverse {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
}
.contact-split--reverse {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
}

/* Standalone Handover phase — same width as other phases, just centered */
.phase--full {
  max-width: 760px;
  margin: 0 auto;
}

/* Mobile collapse */
@media (max-width: 900px) {
  .approach-split,
  .approach-split--reverse,
  .contact-split,
  .contact-split--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .approach-split--reverse .approach-photo,
  .contact-split--reverse .contact-photo {
    order: -1;
  }
}

/* ===========================================================
   Rev 8 — DesignLOGIC integration
   =========================================================== */

/* Nav link — make DesignLOGIC subtly distinct */
.nav-designlogic {
  letter-spacing: 0.02em;
}
.nav-designlogic::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blush);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  margin-bottom: 2px;
}

/* DesignLOGIC promo section — full-width section before footer */
.designlogic-promo {
  background: var(--cream-2);
  padding: 80px 0;
  border-top: 1px solid rgba(186, 145, 139, 0.18);
  border-bottom: 1px solid rgba(186, 145, 139, 0.18);
}

.designlogic-link {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 6px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.designlogic-link:hover {
  background: rgba(253, 249, 237, 0.6);
  transform: translateY(-2px);
}

.designlogic-lockup {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.10em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.dl-freyja  { color: var(--ink); }
.dl-divider { color: var(--stone); font-weight: 100; opacity: 0.6; padding: 0 2px; }
.dl-design  { color: var(--blush); }
.dl-logic   { color: var(--silver); }

.designlogic-tag {
  font-size: 16px;
  line-height: 1.6;
  color: var(--walnut);
  max-width: 540px;
  margin: 0 auto 24px;
}

.designlogic-cta {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--blush);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--blush);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.designlogic-link:hover .designlogic-cta {
  color: var(--camel);
  border-color: var(--camel);
}

@media (max-width: 640px) {
  .designlogic-promo { padding: 56px 0; }
  .designlogic-lockup { font-size: 32px; gap: 8px; }
  .designlogic-lockup .dl-divider { padding: 0; }
}

/* ── Client-portal promo (unnamed) — home page, above footer ── */
.client-portal-promo {
  background: var(--cream-2);
  padding: 84px 0;
  border-top: 1px solid rgba(186, 145, 139, 0.18);
  border-bottom: 1px solid rgba(186, 145, 139, 0.18);
  text-align: center;
}
.cpp-inner { max-width: 680px; margin: 0 auto; }
.cpp-eyebrow {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blush);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 22px;
}
.cpp-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(30px, 4.5vw, 44px);
  letter-spacing: 0.05em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 20px;
}
.cpp-title::after {
  content: "";
  display: block;
  width: 100px; height: 1px;
  background: var(--blush);
  margin: 26px auto 0;
}
.cpp-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--walnut);
  margin: 0 0 30px;
}
.cpp-flag { color: var(--stone); font-size: 12px; font-style: italic; }
.cpp-cta {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--blush);
  transition: color .2s, border-color .2s;
}
.cpp-cta:hover { color: var(--camel); border-color: var(--camel); }
@media (max-width: 640px) { .client-portal-promo { padding: 56px 0; } }

/* Contrast fix v2 (24 Jul 2026) — small uppercase labels use blush-deep #99635B:
   same rose hue as the brand blush, darkened to pass WCAG AA (4.65:1 on cream).
   Large 20px eyebrows and photo-overlay labels keep the original blush tones. */
.eyebrow { color: var(--blush-deep); font-size: 12px; }
.service-copy h3 { color: var(--blush-deep); font-size: 12px; letter-spacing: .24em; font-weight: 500; }
.project-card .project-eyebrow { color: var(--blush-deep); font-size: 12px; }
.cpp-eyebrow { color: var(--blush-deep); }
/* restore original sizes/colours where larger display eyebrows apply */
#services .section-head .eyebrow, #about .eyebrow, #approach .eyebrow { color: var(--blush); font-size: 20px; }
.page-banner .eyebrow, .page-banner > .container > .eyebrow { color: var(--blush); font-size: 20px; }
.tri-card-overlay .eyebrow, .project-banner .eyebrow { color: var(--blush-light); }
