/* ============================================================
   MRCO Advocates — Page-Specific Styles
   Phase 3: Styles unique to individual pages.
   Keep minimal — prefer component styles in components.css.
   ============================================================ */


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(540px, 80svh, 780px);
  background-color: var(--color-navy-dark);
  background-image: url('/assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: center;
}

.hero--short {
  min-height: 40vh;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(14, 27, 51, 0.82) 0%,
      rgba(14, 27, 51, 0.68) 40%,
      rgba(14, 27, 51, 0.78) 100%);
  z-index: 1;
}

/* Gold accent bottom border */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, var(--color-gold) 50%, transparent 95%);
  z-index: 3;
  opacity: 0.7;
}

/* Geometric dot pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-dots);
  background-size: var(--pattern-dots-size);
  z-index: 2;
  pointer-events: none;
  opacity: 0.3;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
}

.hero__content {
  position: relative;
  max-width: 800px;
  padding: var(--space-20) 0;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-5);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--lh-display);
  font-weight: var(--fw-bold);
  color: var(--color-cream);
  margin-bottom: var(--space-5);
  letter-spacing: var(--ls-display);
  text-shadow: 0 2px 24px rgba(14, 27, 51, 0.3);
}

.hero__title + .gold-rule {
  margin-bottom: var(--space-6);
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle {
  font-size: var(--text-body-lg);
  line-height: var(--lh-body-lg);
  color: rgba(250, 247, 240, 0.88);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* Hide the visual panel — using full-width hero now */
.hero__visual { display: none; }

.hero__actions .btn--primary {
  box-shadow: var(--shadow-gold-glow);
}

.hero__actions .btn--primary:hover {
  box-shadow: 0 6px 24px rgba(176, 141, 63, 0.35),
              0 2px 8px rgba(176, 141, 63, 0.2);
}

@media (max-width: 767px) {
  .hero { min-height: auto; }
  .hero__content { padding: var(--space-16) 0 var(--space-12); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}


/* =========================================================
   TRUST STRIP
   ========================================================= */

.trust-strip {
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(22, 41, 77, 0.08);
  padding: var(--space-5) 0;
  position: relative;
}

/* Subtle top gold accent */
.trust-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--color-gold-light) 50%, transparent 90%);
  opacity: 0.3;
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(var(--space-6), 5vw, var(--space-12));
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-small);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--ease-default);
}

.trust-strip__item:hover {
  color: var(--color-gold-dark);
}

.trust-strip__item img {
  width: 24px;
  height: 24px;
  opacity: 0.45;
  transition: opacity var(--ease-default);
}

.trust-strip__item:hover img {
  opacity: 0.75;
}

.trust-strip__divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, var(--color-gold-light), transparent);
  opacity: 0.4;
}

@media (max-width: 767px) {
  .trust-strip__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    overflow: visible;
    justify-items: center;
  }
  .trust-strip__inner::-webkit-scrollbar { display: none; }
  .trust-strip__divider { display: none; }
  .trust-strip__item {
    white-space: normal;
    text-align: center;
  }
}


/* =========================================================
   CONTACT STRIP (Home)
   ========================================================= */

.contact-strip {
  background-color: var(--color-navy-dark);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

/* Gold top accent */
.contact-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, var(--color-gold) 50%, transparent 95%);
  opacity: 0.7;
}

/* Dot pattern */
.contact-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-dots);
  background-size: var(--pattern-dots-size);
  pointer-events: none;
  opacity: 0.6;
}

.contact-strip .container {
  position: relative;
  z-index: 1;
}

.contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.contact-strip__item {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color var(--ease-default),
              border-color var(--ease-default);
}

.contact-strip__item:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(176, 141, 63, 0.2);
}

.contact-strip__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto var(--space-4);
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.contact-strip .section__title {
  color: var(--color-cream);
}

.contact-strip__label {
  font-size: var(--text-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-3);
}

.contact-strip__value {
  font-size: var(--text-body);
  color: var(--color-cream);
  line-height: var(--lh-body);
}

.contact-strip__value a {
  color: var(--color-cream);
  text-decoration: none;
  transition: color var(--ease-default);
}

.contact-strip__value a:hover {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .contact-strip__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .contact-strip {
    padding: var(--space-16) 0;
  }
}


/* =========================================================
   PAGE HEADER (interior pages)
   ========================================================= */

.page-header {
  position: relative;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) var(--container-pad) var(--space-14);
  isolation: isolate;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background-image: url('/assets/images/kampala-skyline.png');
  background-size: cover;
  background-position: center 30%;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 27, 51, 0.88) 0%, rgba(14, 27, 51, 0.78) 60%, rgba(14, 27, 51, 0.92) 100%);
  border-bottom: 3px solid rgba(176, 141, 63, 0.72);
}

.page-header__title {
  margin-bottom: var(--space-3);
  max-width: 780px;
  color: var(--color-cream);
}

.page-header__lead {
  font-size: var(--text-body-lg);
  color: rgba(250, 247, 240, 0.82);
  max-width: 680px;
}

.page-header .gold-rule {
  background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
}

.breadcrumb {
  padding-block: var(--space-4);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-slate);
  font-size: var(--text-small);
}

.breadcrumb__item a {
  color: var(--color-navy-mid);
}

.breadcrumb__separator {
  color: rgba(89, 98, 116, 0.45);
}

.prose {
  max-width: 760px;
}

.prose > h2 {
  color: var(--color-navy);
  position: relative;
}

.prose > h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin-top: var(--space-3);
  background: var(--color-gold);
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section__header {
  margin-bottom: var(--space-8);
}

.section__title {
  margin-bottom: var(--space-3);
}

.bg-cream {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(246, 247, 244, 0.86) 18%, rgba(246, 247, 244, 1));
}

.section__lead {
  font-size: var(--text-body-lg);
  color: var(--color-slate);
  max-width: 640px;
  line-height: var(--lh-body-lg);
}

.section__cta {
  margin-top: var(--space-10);
}


/* =========================================================
   ABOUT — VALUES GRID
   ========================================================= */

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.value-item {
  display: flex;
  gap: var(--space-4);
}

.value-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.value-item__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.value-item__text {
  font-size: var(--text-body);
  color: var(--color-slate);
}

@media (max-width: 767px) {
  .values-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   ABOUT / CONTACT — MAP
   ========================================================= */

.map-section {
  margin-top: var(--space-8);
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-mist);
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-size: var(--text-small);
  font-weight: var(--fw-medium);
  color: var(--color-navy-mid);
}

.map-link:hover {
  color: var(--color-gold-dark);
}

.map-link img {
  width: 16px;
  height: 16px;
}


/* =========================================================
   CONTACT — METHODS GRID
   ========================================================= */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.contact-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
  color: var(--color-gold);
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.contact-card__text {
  font-size: var(--text-body);
  color: var(--color-slate);
  margin-bottom: var(--space-4);
}

.contact-card__link {
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--ease-default);
}

.contact-card__link:hover {
  color: var(--color-gold-dark);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .contact-methods { grid-template-columns: 1fr; }
}


/* =========================================================
   FORM VALIDATION STATES
   ========================================================= */

.form-input--error,
.form-textarea--error,
.form-select--error {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.form-error {
  display: block;
  font-size: var(--text-small);
  color: var(--color-error);
  margin-top: var(--space-2);
  animation: fadeIn 200ms ease-out;
}


/* =========================================================
   CONTACT — HOURS
   ========================================================= */

.hours-block {
  background-color: var(--color-navy-soft);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-top: var(--space-8);
}

.hours-block__title {
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.hours-block__text {
  font-size: var(--text-body);
  color: var(--color-slate);
}

.hours-block__note {
  font-size: var(--text-small);
  color: var(--color-slate);
  margin-top: var(--space-3);
  font-style: italic;
}


/* =========================================================
   ABOUT SNAPSHOT (Home)
   ========================================================= */

.snapshot {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: var(--space-12);
  align-items: center;
}

.snapshot__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-mist);
  aspect-ratio: 4 / 3;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.snapshot__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.snapshot__image--editorial {
  position: relative;
}

.snapshot__image--editorial .snapshot__plaque {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 2;
}

/* Editorial overlay removed — using real images now */

.snapshot__plaque {
  position: relative;
  z-index: 2;
  width: min(360px, 100%);
  padding: var(--space-6);
  background: rgba(246, 247, 244, 0.94);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.snapshot__plaque span {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.snapshot__plaque strong {
  display: block;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
}

/* Decorative gold corner accent on snapshot image */
.snapshot__image::before {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--color-gold-light);
  border-radius: var(--radius-lg);
  opacity: 0.25;
  z-index: -1;
}

@media (max-width: 767px) {
  .snapshot {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}


/* =========================================================
   CTA STRIP (full-width dark)
   ========================================================= */

.cta-strip {
  position: relative;
  padding: var(--space-16) 0;
  text-align: center;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/handshake-cta.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(14, 27, 51, 0.92), rgba(22, 41, 77, 0.88));
  z-index: 1;
}

.cta-strip .container {
  position: relative;
  z-index: 2;
}

.cta-strip__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--color-cream);
  margin-bottom: var(--space-6);
  position: relative;
}

.cta-strip__text {
  font-size: var(--text-body-lg);
  color: rgba(250, 247, 240, 0.8);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  position: relative;
}


/* =========================================================
   PEOPLE — FILTER CHIPS
   ========================================================= */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  align-items: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-small);
  font-weight: var(--fw-medium);
  color: var(--color-navy);
  background-color: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--ease-default);
  min-height: 36px;
}

.filter-chip:hover {
  border-color: var(--color-navy-mid);
  background-color: var(--color-navy-soft);
}

.filter-chip--active {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}


/* =========================================================
   PERSON DETAIL — HEADER
   ========================================================= */

.person-header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-10);
  align-items: start;
}

.person-header__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-mist);
}

.person-header__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-header__name {
  margin-bottom: var(--space-2);
}

.person-header__role {
  font-size: var(--text-body-lg);
  color: var(--color-slate);
  margin-bottom: var(--space-4);
}

.person-header__contact {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.person-header__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-small);
  font-weight: var(--fw-medium);
  color: var(--color-navy-mid);
  text-decoration: none;
}

.person-header__contact a:hover {
  color: var(--color-gold-dark);
}

@media (max-width: 767px) {
  .person-header {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .person-header__photo {
    max-width: 240px;
  }
}


/* =========================================================
   PERSON DETAIL — CREDENTIALS
   ========================================================= */

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin: var(--space-10) 0;
  padding: var(--space-8);
  background-color: var(--color-navy-soft);
  border-radius: var(--radius-md);
}

.credential__title {
  font-size: var(--text-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-3);
}

.credential__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.credential__list li {
  font-size: var(--text-body);
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

@media (max-width: 767px) {
  .credentials { grid-template-columns: 1fr; }
}


/* =========================================================
   INSIGHTS — FEATURED ARTICLE
   ========================================================= */

.featured-insight {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-8), 4vw, var(--space-14));
  align-items: center;
  margin-bottom: var(--space-12);
  padding: clamp(var(--space-6), 3.2vw, var(--space-10));
  background-color: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(22, 41, 77, 0.06);
}

.featured-insight:hover {
  box-shadow: 0 24px 64px rgba(22, 41, 77, 0.12);
  border-color: rgba(176, 141, 63, 0.26);
}

.featured-insight__image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(22, 41, 77, 0.96), rgba(35, 66, 119, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 42px);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(250, 247, 240, 0.08);
}

.featured-insight__image::before {
  content: '';
  position: absolute;
  inset: 15% 12% 22% 18%;
  border: 1px solid rgba(212, 178, 107, 0.34);
  background: linear-gradient(135deg, rgba(250, 247, 240, 0.1), rgba(250, 247, 240, 0.02));
}

.featured-insight__image::after {
  content: 'MRCO Briefing';
  position: absolute;
  left: var(--space-6);
  bottom: var(--space-6);
  color: var(--color-gold-light);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

.featured-insight__content {
  max-width: 620px;
}

.featured-insight__title {
  margin: var(--space-3) 0 var(--space-4);
  color: var(--color-navy);
}

.featured-insight__excerpt {
  color: var(--color-slate);
  font-size: var(--text-body-lg);
  line-height: var(--lh-body-lg);
  margin-bottom: var(--space-5);
}

.featured-insight__meta {
  font-size: var(--text-small);
  color: var(--color-slate);
  margin: 0;
}

.featured-insight__meta a {
  color: var(--color-navy-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767px) {
  .featured-insight {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .featured-insight__excerpt {
    font-size: var(--text-body);
  }
}


/* =========================================================
   ARTICLE
   ========================================================= */

.article-header {
  max-width: 720px;
  margin-bottom: var(--space-8);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-small);
  color: var(--color-slate);
  margin-top: var(--space-4);
}

.article-body {
  max-width: 720px;
}

.article-disclaimer {
  max-width: 720px;
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: var(--border-hairline);
  font-size: var(--text-small);
  color: var(--color-slate);
  font-style: italic;
}

/* Author bio block */
.author-card {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-6);
  background-color: var(--color-navy-soft);
  border-radius: var(--radius-md);
  max-width: 720px;
  margin: var(--space-10) 0;
}

.author-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-mist);
  flex-shrink: 0;
}

.author-card__name {
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
}

.author-card__role {
  font-size: var(--text-small);
  color: var(--color-slate);
}


/* =========================================================
   CAREERS
   ========================================================= */

.positions-block {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(231, 236, 246, 0.94)),
    var(--color-navy-soft);
  border: 1px solid rgba(22, 41, 77, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin: var(--space-8) 0;
  box-shadow: 0 16px 42px rgba(22, 41, 77, 0.06);
}

.positions-block__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.careers-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: var(--space-10);
  align-items: start;
}

.career-proof {
  display: grid;
  gap: var(--space-4);
  position: sticky;
  top: calc(var(--header-h-desktop) + var(--space-6));
}

.career-proof__item,
.career-application-card {
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(22, 41, 77, 0.08);
  box-shadow: 0 14px 34px rgba(22, 41, 77, 0.055);
}

.career-proof__label {
  margin-bottom: var(--space-2);
  color: var(--color-gold-dark);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

.career-proof__text {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
}

.careers-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.55fr);
  gap: var(--space-8);
  align-items: start;
}

.career-application-card {
  background:
    radial-gradient(circle at 90% 8%, rgba(176, 141, 63, 0.12), transparent 30%),
    var(--color-white);
}

.career-application-card h3 {
  margin-bottom: var(--space-3);
}

.career-application-card ul {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.career-application-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--space-3);
  color: var(--color-slate);
}

.career-application-card li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(176, 141, 63, 0.12);
}

@media (max-width: 900px) {
  .careers-grid,
  .careers-form-layout {
    grid-template-columns: 1fr;
  }

  .career-proof {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-header {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }

  .page-header__title {
    font-size: 2.2rem;
    line-height: 1.08;
  }

  .career-proof {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   LEGAL PAGES
   ========================================================= */

.legal-page .prose {
  max-width: 720px;
}

.legal-page .prose h2 {
  margin-top: var(--space-10);
}

.legal-updated {
  font-size: var(--text-small);
  color: var(--color-slate);
  margin-bottom: var(--space-8);
}


/* =========================================================
   ERROR PAGES
   ========================================================= */

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: var(--fw-bold);
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-page__title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-4);
}

.error-page__text {
  font-size: var(--text-body-lg);
  color: var(--color-slate);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}


/* =========================================================
   WHATSAPP BUTTON (Contact page only)
   ========================================================= */

.whatsapp-btn {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  transition: transform var(--ease-default);
}

/* Old card image gradient placeholders removed — using real <img> tags now */

.whatsapp-btn:hover {
  transform: scale(1.08);
}

.whatsapp-btn img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}


/* =========================================================
   TAG CHIPS (person cards, practice areas)
   ========================================================= */

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy);
  background-color: var(--color-navy-soft);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}


/* =========================================================
   PEOPLE — GROUP HEADING
   ========================================================= */

.people-group__heading {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--color-navy);
  margin-bottom: var(--space-6);
  margin-top: var(--space-10);
  padding-bottom: var(--space-3);
  border-bottom: var(--border-hairline);
}

.people-group__heading:first-child {
  margin-top: 0;
}

.grid--people {
  margin-bottom: var(--space-6);
}

.card--person {
  min-height: 100%;
}

.card--person .card__body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 247, 0.98));
}

@media (max-width: 767px) {
  .filter-bar {
    gap: var(--space-2);
  }

  .filter-chip {
    min-height: 40px;
    padding-inline: var(--space-4);
  }
}


/* =========================================================
   PRACTICE DETAIL — SIDEBAR LAYOUT
   ========================================================= */

.sidebar-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

.sidebar-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: var(--border-hairline);
}

.sidebar-card__people {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.person-chip {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background-color var(--ease-default);
}

.person-chip:hover {
  background-color: var(--color-navy-soft);
}

.person-chip__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: var(--fw-bold);
  color: var(--color-navy-mid);
  flex-shrink: 0;
}

.person-chip__name {
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  font-size: var(--text-body);
}

.person-chip__role {
  font-size: var(--text-small);
  color: var(--color-slate);
}

.sidebar-card__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sidebar-card__links li a {
  font-size: var(--text-small);
  color: var(--color-navy-mid);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  text-decoration: none;
}

.sidebar-card__links li a:hover {
  color: var(--color-gold-dark);
  text-decoration: underline;
}
